diff --git a/bundle.js b/bundle.js index 7e77618a..7fa2afb8 100644 --- a/bundle.js +++ b/bundle.js @@ -1,12 +1,12 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){e.exports=n(105)},function(e,t){function n(){l&&a&&(l=!1,a.length?u=a.concat(u):c=-1,u.length&&r())}function r(){if(!l){var e=setTimeout(n);l=!0;for(var t=u.length;t;){for(a=u,u=[];++c1)for(var n=1;n2?n-2:0),i=2;n>i;i++)r[i-2]=arguments[i];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){var o=0,a="Warning: "+t.replace(/%s/g,function(){return r[o++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(s){}}}),e.exports=i}).call(t,n(1))},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function i(e){return e?e.nodeType===q?e.documentElement:e.firstChild:null}function o(e){var t=i(e);return t&&ee.getID(t)}function a(e){var n=s(e);if(n)if(H.hasOwnProperty(n)){var r=H[n];r!==e&&(p(r,n)?"production"!==t.env.NODE_ENV?R(!1,"ReactMount: Two valid but unequal nodes with the same `%s`: %s",W,n):R(!1):void 0,H[n]=e)}else H[n]=e;return n}function s(e){return e&&e.getAttribute&&e.getAttribute(W)||""}function u(e,t){var n=s(e);n!==t&&delete H[n],e.setAttribute(W,t),H[t]=e}function l(e){return H.hasOwnProperty(e)&&p(H[e],e)||(H[e]=ee.findReactNodeByID(e)),H[e]}function c(e){var t=_.get(e)._rootNodeID;return w.isNullComponentID(t)?null:(H.hasOwnProperty(t)&&p(H[t],t)||(H[t]=ee.findReactNodeByID(t)),H[t])}function p(e,n){if(e){s(e)!==n?"production"!==t.env.NODE_ENV?R(!1,"ReactMount: Unexpected modification of `%s`",W):R(!1):void 0;var r=ee.findReactContainerForID(n);if(r&&M(r,e))return!0}return!1}function f(e){delete H[e]}function d(e){var t=H[e];return t&&p(t,e)?void(Q=t):!1}function h(e){Q=null,S.traverseAncestors(e,d);var t=Q;return Q=null,t}function m(e,n,r,i,o,a){if(C.useCreateElement&&(a=O({},a),r.nodeType===q?a[Y]=r:a[Y]=r.ownerDocument),"production"!==t.env.NODE_ENV){a===I&&(a={});var s=r.nodeName.toLowerCase();a[V.ancestorInfoContextKey]=V.updatedAncestorInfo(null,s,null)}var u=k.mountComponent(e,n,i,a);e._renderedComponent._topLevelWrapper=e,ee._mountImageIntoNode(u,r,o,i)}function v(e,t,n,r,i){var o=P.ReactReconcileTransaction.getPooled(r);o.perform(m,null,e,t,n,o,r,i),P.ReactReconcileTransaction.release(o)}function g(e,t){for(k.unmountComponent(e),t.nodeType===q&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function y(e){var t=o(e);return t?t!==S.getReactRootIDFromNodeID(t):!1}function E(e){for(;e&&e.parentNode!==e;e=e.parentNode)if(1===e.nodeType){var t=s(e);if(t){var n,r=S.getReactRootIDFromNodeID(t),i=e;do if(n=s(i),i=i.parentNode,null==i)return null;while(n!==r);if(i===J[r])return e}}return null}var b=n(16),x=n(28),D=n(13),C=n(75),A=n(7),w=n(82),S=n(19),_=n(23),F=n(85),N=n(8),k=n(17),T=n(44),P=n(10),O=n(3),I=n(20),M=n(59),B=n(51),R=n(2),L=n(35),j=n(54),V=n(56),U=n(4),W=b.ID_ATTRIBUTE_NAME,H={},G=1,q=9,z=11,Y="__ReactMount_ownerDocument$"+Math.random().toString(36).slice(2),K={},J={};if("production"!==t.env.NODE_ENV)var X={};var $=[],Q=null,Z=function(){};Z.prototype.isReactComponent={},"production"!==t.env.NODE_ENV&&(Z.displayName="TopLevelWrapper"),Z.prototype.render=function(){return this.props};var ee={TopLevelWrapper:Z,_instancesByReactRootID:K,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,n,r,a){return ee.scrollMonitor(r,function(){T.enqueueElementInternal(e,n),a&&T.enqueueCallbackInternal(e,a)}),"production"!==t.env.NODE_ENV&&(X[o(r)]=i(r)),e},_registerComponent:function(e,n){!n||n.nodeType!==G&&n.nodeType!==q&&n.nodeType!==z?"production"!==t.env.NODE_ENV?R(!1,"_registerComponent(...): Target container is not a DOM element."):R(!1):void 0,x.ensureScrollValueMonitoring();var r=ee.registerContainer(n);return K[r]=e,r},_renderNewRootComponent:function(e,n,r,o){"production"!==t.env.NODE_ENV?U(null==D.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",D.current&&D.current.getName()||"ReactCompositeComponent"):void 0;var a=B(e,null),s=ee._registerComponent(a,n);return P.batchedUpdates(v,a,s,n,r,o),"production"!==t.env.NODE_ENV&&(X[s]=i(n)),a},renderSubtreeIntoContainer:function(e,n,r,i){return null==e||null==e._reactInternalInstance?"production"!==t.env.NODE_ENV?R(!1,"parentComponent must be a valid React Component"):R(!1):void 0,ee._renderSubtreeIntoContainer(e,n,r,i)},_renderSubtreeIntoContainer:function(e,n,r,a){A.isValidElement(n)?void 0:"production"!==t.env.NODE_ENV?R(!1,"ReactDOM.render(): Invalid component element.%s","string"==typeof n?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":"function"==typeof n?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":null!=n&&void 0!==n.props?" This may be caused by unintentionally loading two independent copies of React.":""):R(!1),"production"!==t.env.NODE_ENV?U(!r||!r.tagName||"BODY"!==r.tagName.toUpperCase(),"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app."):void 0;var u=new A(Z,null,null,null,null,null,n),l=K[o(r)];if(l){var c=l._currentElement,p=c.props;if(j(p,n)){var f=l._renderedComponent.getPublicInstance(),d=a&&function(){a.call(f)};return ee._updateRootComponent(l,u,r,d),f}ee.unmountComponentAtNode(r)}var h=i(r),m=h&&!!s(h),v=y(r);if("production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?U(!v,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."):void 0,!m||h.nextSibling))for(var g=h;g;){if(s(g)){"production"!==t.env.NODE_ENV?U(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup."):void 0;break}g=g.nextSibling}var E=m&&!l&&!v,b=ee._renderNewRootComponent(u,r,E,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):I)._renderedComponent.getPublicInstance();return a&&a.call(b),b},render:function(e,t,n){return ee._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var t=o(e);return t&&(t=S.getReactRootIDFromNodeID(t)),t||(t=S.createReactRootID()),J[t]=e,t},unmountComponentAtNode:function(e){"production"!==t.env.NODE_ENV?U(null==D.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",D.current&&D.current.getName()||"ReactCompositeComponent"):void 0,!e||e.nodeType!==G&&e.nodeType!==q&&e.nodeType!==z?"production"!==t.env.NODE_ENV?R(!1,"unmountComponentAtNode(...): Target container is not a DOM element."):R(!1):void 0;var n=o(e),r=K[n];if(!r){var i=y(e),a=s(e),u=a&&a===S.getReactRootIDFromNodeID(a);return"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?U(!i,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",u?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."):void 0),!1}return P.batchedUpdates(g,r,e),delete K[n],delete J[n],"production"!==t.env.NODE_ENV&&delete X[n],!0},findReactContainerForID:function(e){var n=S.getReactRootIDFromNodeID(e),r=J[n];if("production"!==t.env.NODE_ENV){var i=X[n];if(i&&i.parentNode!==r){"production"!==t.env.NODE_ENV?U(s(i)===n,"ReactMount: Root element ID differed from reactRootID."):void 0;var o=r.firstChild;o&&n===s(o)?X[n]=o:"production"!==t.env.NODE_ENV?U(!1,"ReactMount: Root element has been removed from its original container. New container: %s",i.parentNode):void 0}}return r},findReactNodeByID:function(e){var t=ee.findReactContainerForID(e);return ee.findComponentRoot(t,e)},getFirstReactDOM:function(e){return E(e)},findComponentRoot:function(e,n){var r=$,i=0,o=h(n)||e;for("production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?U(null!=o,"React can't find the root component node for data-reactid value `%s`. If you're seeing this message, it probably means that you've loaded two copies of React on the page. At this time, only a single copy of React can be loaded at a time.",n):void 0),r[0]=o.firstChild,r.length=1;i when using tables, nesting tags like
,

, or , or using non-SVG elements in an parent. Try inspecting the child nodes of the element with React ID `%s`.",n,ee.getID(e)):R(!1)},_mountImageIntoNode:function(e,n,o,a){if(!n||n.nodeType!==G&&n.nodeType!==q&&n.nodeType!==z?"production"!==t.env.NODE_ENV?R(!1,"mountComponentIntoNode(...): Target container is not valid."):R(!1):void 0,o){var s=i(n);if(F.canReuseMarkup(e,s))return;var u=s.getAttribute(F.CHECKSUM_ATTR_NAME);s.removeAttribute(F.CHECKSUM_ATTR_NAME);var l=s.outerHTML;s.setAttribute(F.CHECKSUM_ATTR_NAME,u);var c=e;if("production"!==t.env.NODE_ENV){var p;n.nodeType===G?(p=document.createElement("div"),p.innerHTML=e,c=p.innerHTML):(p=document.createElement("iframe"),document.body.appendChild(p),p.contentDocument.write(e),c=p.contentDocument.documentElement.outerHTML,document.body.removeChild(p))}var f=r(c,l),d=" (client) "+c.substring(f-20,f+20)+"\n (server) "+l.substring(f-20,f+20);n.nodeType===q?"production"!==t.env.NODE_ENV?R(!1,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s",d):R(!1):void 0,"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?U(!1,"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\n%s",d):void 0)}if(n.nodeType===q?"production"!==t.env.NODE_ENV?R(!1,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See ReactDOMServer.renderToString() for server rendering."):R(!1):void 0,a.useCreateElement){for(;n.lastChild;)n.removeChild(n.lastChild);n.appendChild(e)}else L(n,e)},ownerDocumentContextKey:Y,getReactRootID:o,getID:a,setID:u,getNode:l,getNodeFromInstance:c,isValid:p,purgeID:f};N.measureMethods(ee,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),e.exports=ee}).call(t,n(1))},function(e,t,n){(function(t){"use strict";var r=n(13),i=n(3),o=n(33),a="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,s={key:!0,ref:!0,__self:!0,__source:!0},u=function(e,n,r,i,s,u,l){var c={$$typeof:a,type:e,key:n,ref:r,props:l,_owner:u};return"production"!==t.env.NODE_ENV&&(c._store={},o?(Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s})):(c._store.validated=!1,c._self=i,c._source=s),Object.freeze(c.props),Object.freeze(c)),c};u.createElement=function(e,t,n){var i,o={},a=null,l=null,c=null,p=null;if(null!=t){l=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,c=void 0===t.__self?null:t.__self,p=void 0===t.__source?null:t.__source;for(i in t)t.hasOwnProperty(i)&&!s.hasOwnProperty(i)&&(o[i]=t[i])}var f=arguments.length-2;if(1===f)o.children=n;else if(f>1){for(var d=Array(f),h=0;f>h;h++)d[h]=arguments[h+2];o.children=d}if(e&&e.defaultProps){var m=e.defaultProps;for(i in m)"undefined"==typeof o[i]&&(o[i]=m[i])}return u(e,a,l,c,p,r.current,o)},u.createFactory=function(e){var t=u.createElement.bind(null,e);return t.type=e,t},u.cloneAndReplaceKey=function(e,t){var n=u(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},u.cloneAndReplaceProps=function(e,n){var r=u(e.type,e.key,e.ref,e._self,e._source,e._owner,n);return"production"!==t.env.NODE_ENV&&(r._store.validated=e._store.validated),r},u.cloneElement=function(e,t,n){var o,a=i({},e.props),l=e.key,c=e.ref,p=e._self,f=e._source,d=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,d=r.current),void 0!==t.key&&(l=""+t.key);for(o in t)t.hasOwnProperty(o)&&!s.hasOwnProperty(o)&&(a[o]=t[o])}var h=arguments.length-2;if(1===h)a.children=n;else if(h>1){for(var m=Array(h),v=0;h>v;v++)m[v]=arguments[v+2];a.children=m}return u(e.type,l,c,p,f,d,a)},u.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},e.exports=u}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function n(e,t,n){return n}var r={enableMeasure:!1,storedMeasure:n,measureMethods:function(e,n,i){if("production"!==t.env.NODE_ENV)for(var o in i)i.hasOwnProperty(o)&&(e[o]=r.measure(n,i[o],e[o]))},measure:function(e,n,i){if("production"!==t.env.NODE_ENV){var o=null,a=function(){return r.enableMeasure?(o||(o=r.storedMeasure(e,n,i)),o.apply(this,arguments)):i.apply(this,arguments)};return a.displayName=e+"_"+n,a}return i},injection:{injectMeasure:function(e){r.storedMeasure=e}}};e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";e.exports=n(155)},function(e,t,n){(function(t){"use strict";function r(){S.ReactReconcileTransaction&&b?void 0:"production"!==t.env.NODE_ENV?v(!1,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):v(!1)}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=c.getPooled(),this.reconcileTransaction=S.ReactReconcileTransaction.getPooled(!1)}function o(e,t,n,i,o,a){r(),b.batchedUpdates(e,t,n,i,o,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var n=e.dirtyComponentsLength;n!==g.length?"production"!==t.env.NODE_ENV?v(!1,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",n,g.length):v(!1):void 0,g.sort(a);for(var r=0;n>r;r++){var i=g[r],o=i._pendingCallbacks;if(i._pendingCallbacks=null,d.performUpdateIfNecessary(i,e.reconcileTransaction),o)for(var s=0;s=s;s++)if(i(e,s)&&i(n,s))a=s;else if(e.charAt(s)!==n.charAt(s))break;var u=e.substr(0,a);return o(u)?void 0:"production"!==t.env.NODE_ENV?f(!1,"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,n,u):f(!1),u}function c(e,n,r,i,o,l){e=e||"",n=n||"",e===n?"production"!==t.env.NODE_ENV?f(!1,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e):f(!1):void 0;var c=a(n,e);c||a(e,n)?void 0:"production"!==t.env.NODE_ENV?f(!1,"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,n):f(!1);for(var p=0,d=c?s:u,h=e;;h=d(h,n)){var v;if(o&&h===e||l&&h===n||(v=r(h,c,i)),v===!1||h===n)break;p++1){var t=e.indexOf(d,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,i){var o=l(e,t);o!==e&&c(e,o,n,r,!1,!0),o!==t&&c(o,t,n,i,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(c("",e,t,n,!0,!1),c(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(c("",e,t,n,!0,!0),c(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){c("",e,t,n,!0,!1)},getFirstCommonAncestorID:l,_getNextDescendantID:u,isAncestorIDOf:a,SEPARATOR:d};e.exports=v}).call(t,n(1))},function(e,t,n){(function(t){"use strict";var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(){var e=v&&v.traverseTwoPhase&&v.traverseEnterLeave;"production"!==t.env.NODE_ENV?c(e,"InstanceHandle not injected before use!"):void 0}var i=n(70),o=n(152),a=n(83),s=n(92),u=n(93),l=n(2),c=n(4),p={},f=null,d=function(e,t){e&&(o.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return d(e,!0)},m=function(e){return d(e,!1)},v=null,g={injection:{injectMount:o.injection.injectMount,injectInstanceHandle:function(e){v=e,"production"!==t.env.NODE_ENV&&r()},getInstanceHandle:function(){return"production"!==t.env.NODE_ENV&&r(),v},injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},eventNameDispatchConfigs:i.eventNameDispatchConfigs,registrationNameModules:i.registrationNameModules,putListener:function(e,n,r){"function"!=typeof r?"production"!==t.env.NODE_ENV?l(!1,"Expected %s listener to be a function, instead got type %s",n,typeof r):l(!1):void 0;var o=p[n]||(p[n]={});o[e]=r;var a=i.registrationNameModules[n];a&&a.didPutListener&&a.didPutListener(e,n,r)},getListener:function(e,t){var n=p[t];return n&&n[e]},deleteListener:function(e,t){var n=i.registrationNameModules[t]; -n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=p[t];r&&delete r[e]},deleteAllListeners:function(e){for(var t in p)if(p[t][e]){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete p[t][e]}},extractEvents:function(e,t,n,r,o){for(var a,u=i.plugins,l=0;lbo&&setTimeout(function(){u.display.input.reset(!0)},20),Wt(this),Ji(),bt(this),this.curOp.forceUpdate=!0,Xr(this,i),r.autofocus&&!No||u.hasFocus()?setTimeout(Li(gn,this),20):yn(this);for(var c in ta)ta.hasOwnProperty(c)&&ta[c](this,r[c],na);D(this),r.finishInit&&r.finishInit(this);for(var p=0;pbo&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),xo||vo&&No||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,n.init(r)}function n(t){t.doc.mode=e.getMode(t.options,t.doc.modeOption),r(t)}function r(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.frontier=e.doc.first,je(e,100),e.state.modeGen++,e.curOp&&Mt(e)}function i(e){e.options.lineWrapping?(Qa(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):($a(e.display.wrapper,"CodeMirror-wrap"),f(e)),a(e),Mt(e),st(e),setTimeout(function(){y(e)},100)}function o(e){var t=yt(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Et(e.display)-3);return function(i){if(Dr(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;at.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function d(e){var t=Oi(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function h(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Ge(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+ze(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function m(e,t,n){this.cm=n;var r=this.vert=Wi("div",[Wi("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=Wi("div",[Wi("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),ka(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),ka(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Eo&&8>bo&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function v(){}function g(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&$a(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new e.scrollbarModel[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),ka(e,"mousedown",function(){t.state.focused&&setTimeout(function(){t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,n){"horizontal"==n?on(t,e):rn(t,e)},t),t.display.scrollbars.addClass&&Qa(t.display.wrapper,t.display.scrollbars.addClass)}function y(e,t){t||(t=h(e));var n=e.display.barWidth,r=e.display.barHeight;E(e,t);for(var i=0;4>i&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&T(e),E(e,h(e)),n=e.display.barWidth,r=e.display.barHeight}function E(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function b(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-He(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=ni(t,r),a=ni(t,i);if(n&&n.ensure){var s=n.ensure.from.line,u=n.ensure.to.line;o>s?(o=s,a=ni(t,ri($r(t,s))+e.wrapper.clientHeight)):Math.min(u,t.lastLine())>=a&&(o=ni(t,ri($r(t,u))-e.wrapper.clientHeight),a=u)}return{from:o,to:Math.max(a,o+1)}}function x(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=A(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Ut(e))return!1;D(e)&&(Rt(e),t.dims=O(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ro&&(o=br(e.doc,o),a=xr(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Vt(e,o,a),n.viewOffset=ri($r(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var u=Ut(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var l=qi();return u>4&&(n.lineDiv.style.display="none"),I(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,l&&qi()!=l&&l.offsetHeight&&l.focus(),Hi(n.cursorDiv),Hi(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,je(e,400)),n.updateLineNumbers=null,!0}function F(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Ye(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Ge(e.display)-Ke(e),n.top)}),t.visible=b(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&_(e,t);r=!1){T(e);var i=h(e);Ie(e),y(e,i),k(e,i)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function N(e,t){var n=new w(e,t);if(_(e,n)){T(e),F(e,n);var r=h(e);Ie(e),y(e,r),k(e,r),n.finish()}}function k(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+ze(e)+"px"}function T(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;rbo){var a=o.node.offsetTop+o.node.offsetHeight;i=a-n,n=a}else{var s=o.node.getBoundingClientRect();i=s.bottom-s.top}var u=o.line.height-i;if(2>i&&(i=yt(t)),(u>.001||-.001>u)&&(ei(o.line,i),P(o.line),o.rest))for(var l=0;l=t&&p.lineNumber;p.changes&&(Oi(p.changes,"gutter")>-1&&(f=!1),M(e,p,l,n)),f&&(Hi(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(C(e.options,l)))),s=p.node.nextSibling}else{var d=H(e,p,l,n);a.insertBefore(d,s)}l+=p.size}for(;s;)s=r(s)}function M(e,t,n,r){for(var i=0;ibo&&(e.node.style.zIndex=2)),e.node}function R(e){var t=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(t&&(t+=" CodeMirror-linebackground"),e.background)t?e.background.className=t:(e.background.parentNode.removeChild(e.background),e.background=null);else if(t){var n=B(e);e.background=n.insertBefore(Wi("div",null,t),n.firstChild)}}function L(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Lr(e,t)}function j(e,t){var n=t.text.className,r=L(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,V(t)):n&&(t.text.className=n)}function V(e){R(e),e.line.wrapClass?B(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var t=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=t||""}function U(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=B(t);t.gutterBackground=Wi("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var i=B(t),a=t.gutter=Wi("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(a),i.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(Wi("div",C(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var s=0;s1)if(Vo&&Vo.text.join("\n")==t){if(r.ranges.length%Vo.text.length==0){u=[];for(var l=0;l=0;l--){var c=r.ranges[l],p=c.from(),f=c.to();c.empty()&&(n&&n>0?p=Lo(p.line,p.ch-n):e.state.overwrite&&!a?f=Lo(f.line,Math.min($r(o,f.line).text.length,f.ch+Pi(s).length)):Vo&&Vo.lineWise&&Vo.text.join("\n")==t&&(p=f=Lo(p.line,0)));var d=e.curOp.updateInput,h={from:p,to:f,text:u?u[l%u.length]:s,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};Sn(e.doc,h),Ai(e,"inputRead",e,h)}t&&!a&&Z(e,t),Ln(e),e.curOp.updateInput=d,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Q(e,t){var n=e.clipboardData&&e.clipboardData.getData("text/plain");return n?(e.preventDefault(),t.isReadOnly()||t.options.disableInput||Nt(t,function(){$(t,n,0,null,"paste")}),!0):void 0}function Z(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Vn(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test($r(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Vn(e,i.head.line,"smart"));a&&Ai(e,"electricInput",e,i.head.line)}}}function ee(e){for(var t=[],n=[],r=0;ri?l.map:c[i],a=0;ai?e.line:e.rest[i]),p=o[a]+r;return(0>r||s!=t)&&(p=o[a+(r?1:0)]),Lo(u,p)}}}var i=e.text.firstChild,o=!1;if(!t||!Ka(i,t))return ae(Lo(ti(e.line),0),!0);if(t==i&&(o=!0,t=i.childNodes[n],n=0,!t)){var a=e.rest?Pi(e.rest):e.line;return ae(Lo(ti(a),a.text.length),o)}var s=3==t.nodeType?t:null,u=t;for(s||1!=t.childNodes.length||3!=t.firstChild.nodeType||(s=t.firstChild,n&&(n=s.nodeValue.length));u.parentNode!=i;)u=u.parentNode;var l=e.measure,c=l.maps,p=r(s,u,n);if(p)return ae(p,o);for(var f=u.nextSibling,d=s?s.nodeValue.length-n:0;f;f=f.nextSibling){if(p=r(f,f.firstChild,0))return ae(Lo(p.line,p.ch-d),o);d+=f.textContent.length}for(var h=u.previousSibling,d=n;h;h=h.previousSibling){if(p=r(h,h.firstChild,-1))return ae(Lo(p.line,p.ch+d),o);d+=f.textContent.length}}function le(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return""==n&&(n=t.textContent.replace(/\u200b/g,"")),void(s+=n);var c,p=t.getAttribute("cm-marker");if(p){var f=e.findMarks(Lo(r,0),Lo(i+1,0),o(+p));return void(f.length&&(c=f[0].find())&&(s+=Qr(e.doc,c.from,c.to).join(l)))}if("false"==t.getAttribute("contenteditable"))return;for(var d=0;d=0){var a=J(o.from(),i.from()),s=K(o.to(),i.to()),u=o.empty()?i.from()==i.head:o.from()==o.head;t>=r&&--t,e.splice(--r,2,new pe(u?s:a,u?a:s))}}return new ce(e,t)}function de(e,t){return new ce([new pe(e,t||e)],0)}function he(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function me(e,t){if(t.linen?Lo(n,$r(e,n).text.length):ve(t,$r(e,t.line).text.length)}function ve(e,t){var n=e.ch;return null==n||n>t?Lo(e.line,t):0>n?Lo(e.line,0):e}function ge(e,t){return t>=e.first&&t=t.ch:s.to>t.ch))){if(i&&(Oa(u,"beforeCursorEnter"),u.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!u.atomic)continue;if(n){var l,c=u.find(0>r?1:-1);if((0>r?u.inclusiveRight:u.inclusiveLeft)&&(c=Oe(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(l=jo(c,n))&&(0>r?0>l:l>0))return Te(e,c,t,r,i)}var p=u.find(0>r?-1:1);return(0>r?u.inclusiveLeft:u.inclusiveRight)&&(p=Oe(e,p,r,p.line==t.line?o:null)),p?Te(e,p,t,r,i):null}}return t}function Pe(e,t,n,r,i){var o=r||1,a=Te(e,t,n,o,i)||!i&&Te(e,t,n,o,!0)||Te(e,t,n,-o,i)||!i&&Te(e,t,n,-o,!0);return a?a:(e.cantEdit=!0,Lo(e.first,0))}function Oe(e,t,n,r){return 0>n&&0==t.ch?t.line>e.first?me(e,Lo(t.line-1)):null:n>0&&t.ch==(r||$r(e,t.line)).text.length?t.line=e.display.viewTo||s.to().linet&&(t=0),t=Math.round(t),r=Math.round(r),s.appendChild(Wi("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px; top: "+t+"px; width: "+(null==n?c-e:n)+"px; height: "+(r-t)+"px"))}function i(t,n,i){function o(n,r){return ft(e,Lo(t,n),"div",p,r)}var s,u,p=$r(a,t),f=p.text.length;return eo(ii(p),n||0,null==i?f:i,function(e,t,a){var p,d,h,m=o(e,"left");if(e==t)p=m,d=h=m.left;else{if(p=o(t-1,"right"),"rtl"==a){var v=m;m=p,p=v}d=m.left,h=p.right}null==n&&0==e&&(d=l),p.top-m.top>3&&(r(d,m.top,null,m.bottom),d=l,m.bottomu.bottom||p.bottom==u.bottom&&p.right>u.right)&&(u=p),l+1>d&&(d=l),r(d,p.top,h-d,p.bottom)}),{start:s,end:u}}var o=e.display,a=e.doc,s=document.createDocumentFragment(),u=qe(e.display),l=u.left,c=Math.max(o.sizerWidth,Ye(e)-o.sizer.offsetLeft)-u.right,p=t.from(),f=t.to();if(p.line==f.line)i(p.line,p.ch,f.ch);else{var d=$r(a,p.line),h=$r(a,f.line),m=yr(d)==yr(h),v=i(p.line,p.ch,m?d.text.length+1:null).end,g=i(f.line,m?0:null,f.ch).start;m&&(v.top0?t.blinker=setInterval(function(){t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function je(e,t){e.doc.mode.startState&&e.doc.frontier=e.display.viewTo)){var n=+new Date+e.options.workTime,r=ua(t.mode,We(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength,u=Ir(e,o,s?ua(t.mode,r):r,!0);o.styles=u.styles;var l=o.styleClasses,c=u.classes;c?o.styleClasses=c:l&&(o.styleClasses=null);for(var p=!a||a.length!=o.styles.length||l!=c&&(!l||!c||l.bgClass!=c.bgClass||l.textClass!=c.textClass),f=0;!p&&fn?(je(e,e.options.workDelay),!0):void 0}),i.length&&Nt(e,function(){for(var t=0;ta;--s){if(s<=o.first)return o.first;var u=$r(o,s-1);if(u.stateAfter&&(!n||s<=o.frontier))return s;var l=Va(u.text,null,e.options.tabSize);(null==i||r>l)&&(i=s-1,r=l)}return i}function We(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return!0; -var o=Ue(e,t,n),a=o>r.first&&$r(r,o-1).stateAfter;return a=a?ua(r.mode,a):la(r.mode),r.iter(o,t,function(n){Br(e,n.text,a);var s=o==t-1||o%5==0||o>=i.viewFrom&&o2&&o.push((u.bottom+l.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Xe(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function $e(e,t){t=yr(t);var n=ti(t),r=e.display.externalMeasured=new Ot(e.doc,t,n);r.lineN=n;var i=r.built=Lr(e,r);return r.text=i.pre,Gi(e.display.lineMeasure,i.pre),r}function Qe(e,t,n,r){return tt(e,et(e,t),n,r)}function Ze(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt?(i=0,o=1,a="left"):l>t?(i=t-u,o=i+1):(s==e.length-3||t==l&&e[s+3]>t)&&(o=l-u,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[s+2],u==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;s&&e[s-2]==e[s-3]&&e[s-1].insertLeft;)r=e[(s-=3)+2],a="left";if("right"==n&&i==l-u)for(;sc;c++){for(;s&&Ui(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+ubo&&0==s&&u==o.coverEnd-o.coverStart)i=a.parentNode.getBoundingClientRect();else if(Eo&&e.options.lineWrapping){var p=Ga(a,s,u).getClientRects();i=p.length?p["right"==r?p.length-1:0]:Go}else i=Ga(a,s,u).getBoundingClientRect()||Go;if(i.left||i.right||0==s)break;u=s,s-=1,l="right"}Eo&&11>bo&&(i=it(e.display.measure,i))}else{s>0&&(l=r="right");var p;i=e.options.lineWrapping&&(p=a.getClientRects()).length>1?p["right"==r?p.length-1:0]:a.getBoundingClientRect()}if(Eo&&9>bo&&!s&&(!i||!i.left&&!i.right)){var f=a.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+Et(e.display),top:f.top,bottom:f.bottom}:Go}for(var d=i.top-t.rect.top,h=i.bottom-t.rect.top,m=(d+h)/2,v=t.view.measure.heights,c=0;cn.from?a(e-1):a(e,r)}r=r||$r(e.doc,t.line),i||(i=et(e,r));var u=ii(r),l=t.ch;if(!u)return a(l);var c=lo(u,l),p=s(l,c);return null!=as&&(p.other=s(l,as)),p}function ht(e,t){var n=0,t=me(e.doc,t);e.options.lineWrapping||(n=Et(e.display)*t.ch);var r=$r(e.doc,t.line),i=ri(r)+He(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function mt(e,t,n,r){var i=Lo(e,t);return i.xRel=r,n&&(i.outside=!0),i}function vt(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,0>n)return mt(r.first,0,!0,-1);var i=ni(r,n),o=r.first+r.size-1;if(i>o)return mt(r.first+r.size-1,$r(r,o).text.length,!0,1);0>t&&(t=0);for(var a=$r(r,i);;){var s=gt(e,a,i,t,n),u=vr(a),l=u&&u.find(0,!0);if(!u||!(s.ch>l.from.ch||s.ch==l.from.ch&&s.xRel>0))return s;i=ti(a=l.to.line)}}function gt(e,t,n,r,i){function o(r){var i=dt(e,Lo(n,r),"line",t,l);return s=!0,a>i.bottom?i.left-u:av)return mt(n,d,g,1);for(;;){if(c?d==f||d==po(t,f,1):1>=d-f){for(var y=h>r||v-r>=r-h?f:d,E=r-(y==f?h:v);Ui(t.text.charAt(y));)++y;var b=mt(n,y,y==f?m:g,-1>E?-1:E>1?1:0);return b}var x=Math.ceil(p/2),D=f+x;if(c){D=f;for(var C=0;x>C;++C)D=po(t,D,1)}var A=o(D);A>r?(d=D,v=A,(g=s)&&(v+=1e3),p=x):(f=D,h=A,m=s,p-=x)}}function yt(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Uo){Uo=Wi("pre");for(var t=0;49>t;++t)Uo.appendChild(document.createTextNode("x")),Uo.appendChild(Wi("br"));Uo.appendChild(document.createTextNode("x"))}Gi(e.measure,Uo);var n=Uo.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),Hi(e.measure),n||1}function Et(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=Wi("span","xxxxxxxxxx"),n=Wi("pre",[t]);Gi(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function bt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++zo},qo?qo.ops.push(e.curOp):e.curOp.ownsGroup=qo={ops:[e.curOp],delayedCallbacks:[]}}function xt(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new w(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function wt(e){e.updatedDisplay=e.mustUpdate&&_(e.cm,e.update)}function St(e){var t=e.cm,n=t.display;e.updatedDisplay&&T(t),e.barMeasure=h(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Qe(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+ze(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Ye(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection(e.focus))}function _t(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLefto;o=r){var a=new Ot(e.doc,$r(e.doc,o),o);r=o+a.size,i.push(a)}return i}function Mt(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&nt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ro&&br(e.doc,t)i.viewFrom?Rt(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Rt(e);else if(t<=i.viewFrom){var o=jt(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Rt(e)}else if(n>=i.viewTo){var o=jt(e,t,t,-1);o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):Rt(e)}else{var a=jt(e,t,t,-1),s=jt(e,n,n+r,1);a&&s?(i.view=i.view.slice(0,a.index).concat(It(e,a.lineN,s.lineN)).concat(i.view.slice(s.index)),i.viewTo+=r):Rt(e)}var u=i.externalMeasured;u&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Lt(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==Oi(a,n)&&a.push(n)}}}function Rt(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Lt(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,0>t)return null;for(var n=e.display.view,r=0;rt)return r}function jt(e,t,n,r){var i,o=Lt(e,t),a=e.display.view;if(!Ro||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=0,u=e.display.viewFrom;o>s;s++)u+=a[s].size;if(u!=t){if(r>0){if(o==a.length-1)return null;i=u+a[o].size-t,o++}else i=u-t;t+=i,n+=i}for(;br(e.doc,n)!=n;){if(o==(0>r?0:a.length-1))return null;n+=r*a[o-(0>r?1:0)].size,o+=r}return{index:o,lineN:n}}function Vt(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=It(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=It(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Lt(e,n)))),r.viewTo=n}function Ut(e){for(var t=e.display.view,n=0,r=0;r400}var i=e.display;ka(i.scroller,"mousedown",kt(e,Yt)),Eo&&11>bo?ka(i.scroller,"dblclick",kt(e,function(t){if(!Si(e,t)){var n=zt(e,t);if(n&&!Qt(e,t)&&!qt(e.display,t)){_a(t);var r=e.findWordAt(n);be(e.doc,r.anchor,r.head)}}})):ka(i.scroller,"dblclick",function(t){Si(e,t)||_a(t)}),Mo||ka(i.scroller,"contextmenu",function(t){En(e,t)});var o,a={end:0};ka(i.scroller,"touchstart",function(t){if(!Si(e,t)&&!n(t)){clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-a.end<=300?a:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),ka(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),ka(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!qt(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,s=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new pe(s,s):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(s):new pe(Lo(s.line,0),me(e.doc,Lo(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),_a(n)}t()}),ka(i.scroller,"touchcancel",t),ka(i.scroller,"scroll",function(){i.scroller.clientHeight&&(rn(e,i.scroller.scrollTop),on(e,i.scroller.scrollLeft,!0),Oa(e,"scroll",e))}),ka(i.scroller,"mousewheel",function(t){an(e,t)}),ka(i.scroller,"DOMMouseScroll",function(t){an(e,t)}),ka(i.wrapper,"scroll",function(){i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(t){Si(e,t)||Na(t)},over:function(t){Si(e,t)||(tn(e,t),Na(t))},start:function(t){en(e,t)},drop:kt(e,Zt),leave:function(t){Si(e,t)||nn(e)}};var s=i.input.getField();ka(s,"keyup",function(t){hn.call(e,t)}),ka(s,"keydown",kt(e,fn)),ka(s,"keypress",kt(e,mn)),ka(s,"focus",Li(gn,e)),ka(s,"blur",Li(yn,e))}function Ht(t,n,r){var i=r&&r!=e.Init;if(!n!=!i){var o=t.display.dragFunctions,a=n?ka:Pa;a(t.display.scroller,"dragstart",o.start),a(t.display.scroller,"dragenter",o.enter),a(t.display.scroller,"dragover",o.over),a(t.display.scroller,"dragleave",o.leave),a(t.display.scroller,"drop",o.drop)}}function Gt(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function qt(e,t){for(var n=xi(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function zt(e,t,n,r){var i=e.display;if(!n&&"true"==xi(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var u,l=vt(e,o,a);if(r&&1==l.xRel&&(u=$r(e.doc,l.line).text).length==l.ch){var c=Va(u,u.length,e.options.tabSize)-u.length;l=Lo(l.line,Math.max(0,Math.round((o-qe(e.display).left)/Et(e.display))-c))}return l}function Yt(e){var t=this,n=t.display;if(!(Si(t,e)||n.activeTouch&&n.input.supportsTouch())){if(n.shift=e.shiftKey,qt(n,e))return void(xo||(n.scroller.draggable=!1,setTimeout(function(){n.scroller.draggable=!0},100)));if(!Qt(t,e)){var r=zt(t,e);switch(window.focus(),Di(e)){case 1:t.state.selectingText?t.state.selectingText(e):r?Kt(t,e,r):xi(e)==n.scroller&&_a(e);break;case 2:xo&&(t.state.lastMiddleDown=+new Date),r&&be(t.doc,r),setTimeout(function(){n.input.focus()},20),_a(e);break;case 3:Mo?En(t,e):vn(t)}}}}function Kt(e,t,n){Eo?setTimeout(Li(X,e),0):e.curOp.focus=qi();var r,i=+new Date;Ho&&Ho.time>i-400&&0==jo(Ho.pos,n)?r="triple":Wo&&Wo.time>i-400&&0==jo(Wo.pos,n)?(r="double",Ho={time:i,pos:n}):(r="single",Wo={time:i,pos:n});var o,a=e.doc.sel,s=ko?t.metaKey:t.ctrlKey;e.options.dragDrop&&es&&!e.isReadOnly()&&"single"==r&&(o=a.contains(n))>-1&&(jo((o=a.ranges[o]).from(),n)<0||n.xRel>0)&&(jo(o.to(),n)>0||n.xRel<0)?Jt(e,t,n,s):Xt(e,t,n,r,s)}function Jt(e,t,n,r){var i=e.display,o=+new Date,a=kt(e,function(s){xo&&(i.scroller.draggable=!1),e.state.draggingText=!1,Pa(document,"mouseup",a),Pa(i.scroller,"drop",a),Math.abs(t.clientX-s.clientX)+Math.abs(t.clientY-s.clientY)<10&&(_a(s),!r&&+new Date-200=h;h++){var g=$r(l,h).text,y=Ua(g,u,o);u==d?i.push(new pe(Lo(h,y),Lo(h,y))):g.length>y&&i.push(new pe(Lo(h,y),Lo(h,Ua(g,d,o))))}i.length||i.push(new pe(n,n)),Se(l,fe(f.ranges.slice(0,p).concat(i),p),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var E=c,b=E.anchor,x=t;if("single"!=r){if("double"==r)var D=e.findWordAt(t);else var D=new pe(Lo(t.line,0),me(l,Lo(t.line+1,0)));jo(D.anchor,b)>0?(x=D.head,b=J(E.from(),D.anchor)):(x=D.anchor,b=K(E.to(),D.head))}var i=f.ranges.slice(0);i[p]=new pe(me(l,b),x),Se(l,fe(i,p),La)}}function a(t){var n=++y,i=zt(e,t,!0,"rect"==r);if(i)if(0!=jo(i,v)){e.curOp.focus=qi(),o(i);var s=b(u,l);(i.line>=s.to||i.lineg.bottom?20:0;c&&setTimeout(kt(e,function(){y==n&&(u.scroller.scrollTop+=c,a(t))}),50)}}function s(t){e.state.selectingText=!1,y=1/0,_a(t),u.input.focus(),Pa(document,"mousemove",E),Pa(document,"mouseup",x),l.history.lastSelOrigin=null}var u=e.display,l=e.doc;_a(t);var c,p,f=l.sel,d=f.ranges;if(i&&!t.shiftKey?(p=l.sel.contains(n),c=p>-1?d[p]:new pe(n,n)):(c=l.sel.primary(),p=l.sel.primIndex),To?t.shiftKey&&t.metaKey:t.altKey)r="rect",i||(c=new pe(n,n)),n=zt(e,t,!0,!0),p=-1;else if("double"==r){var h=e.findWordAt(n);c=e.display.shift||l.extend?Ee(l,c,h.anchor,h.head):h}else if("triple"==r){var m=new pe(Lo(n.line,0),me(l,Lo(n.line+1,0)));c=e.display.shift||l.extend?Ee(l,c,m.anchor,m.head):m}else c=Ee(l,c,n);i?-1==p?(p=d.length,Se(l,fe(d.concat([c]),p),{scroll:!1,origin:"*mouse"})):d.length>1&&d[p].empty()&&"single"==r&&!t.shiftKey?(Se(l,fe(d.slice(0,p).concat(d.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),f=l.sel):De(l,p,c,La):(p=0,Se(l,new ce([c],0),La),f=l.sel);var v=n,g=u.wrapper.getBoundingClientRect(),y=0,E=kt(e,function(e){Di(e)?a(e):s(e)}),x=kt(e,s);e.state.selectingText=x,ka(document,"mousemove",E),ka(document,"mouseup",x)}function $t(e,t,n,r){try{var i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&_a(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Fi(e,n))return bi(t);o-=s.top-a.viewOffset;for(var u=0;u=i){var c=ni(e.doc,o),p=e.options.gutters[u];return Oa(e,n,e,c,p,t),bi(t)}}}function Qt(e,t){return $t(e,t,"gutterClick",!0)}function Zt(e){var t=this;if(nn(t),!Si(t,e)&&!qt(t.display,e)){_a(e),Eo&&(Yo=+new Date);var n=zt(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),a=0,s=function(e,r){if(!t.options.allowDropFileTypes||-1!=Oi(t.options.allowDropFileTypes,e.type)){var s=new FileReader;s.onload=kt(t,function(){var e=s.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[r]=e,++a==i){n=me(t.doc,n);var u={from:n,to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};Sn(t.doc,u),we(t.doc,de(n,Zo(u)))}}),s.readAsText(e)}},u=0;i>u;++u)s(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){t.display.input.focus()},20);try{var o=e.dataTransfer.getData("Text");if(o){if(t.state.draggingText&&!(ko?e.altKey:e.ctrlKey))var l=t.listSelections();if(_e(t.doc,de(n,n)),l)for(var u=0;ua.clientWidth,u=a.scrollHeight>a.clientHeight;if(r&&s||i&&u){if(i&&ko&&xo)e:for(var l=t.target,c=o.view;l!=a;l=l.parentNode)for(var p=0;pf?d=Math.max(0,d+f-50):h=Math.min(e.doc.height,h+f+50),N(e,{top:d,bottom:h})}20>Ko&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,n=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,n&&(Jo=(Jo*Ko+n)/(Ko+1),++Ko)}},200)):(o.wheelDX+=r,o.wheelDY+=i))}}function sn(e,t,n){if("string"==typeof t&&(t=ca[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Ba}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function un(e,t,n){for(var r=0;rbo&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=cn(t,e);Ao&&(Qo=r?n:null,!r&&88==n&&!rs&&(ko?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||dn(t)}}function dn(e){function t(e){18!=e.keyCode&&e.altKey||($a(n,"CodeMirror-crosshair"),Pa(document,"keyup",t),Pa(document,"mouseover",t))}var n=e.display.lineDiv;Qa(n,"CodeMirror-crosshair"),ka(document,"keyup",t),ka(document,"mouseover",t)}function hn(e){16==e.keyCode&&(this.doc.sel.shift=!1),Si(this,e)}function mn(e){var t=this;if(!(qt(t.display,e)||Si(t,e)||e.ctrlKey&&!e.altKey||ko&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(Ao&&n==Qo)return Qo=null,void _a(e);if(!Ao||e.which&&!(e.which<10)||!cn(t,e)){var i=String.fromCharCode(null==r?n:r);pn(t,e,i)||t.display.input.onKeyPress(e)}}}function vn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,yn(e))},100)}function gn(e){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Oa(e,"focus",e),e.state.focused=!0,Qa(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),xo&&setTimeout(function(){e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Le(e))}function yn(e){e.state.delayingBlurEvent||(e.state.focused&&(Oa(e,"blur",e),e.state.focused=!1,$a(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function En(e,t){qt(e.display,t)||bn(e,t)||Si(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function bn(e,t){return Fi(e,"gutterContextMenu")?$t(e,t,"gutterContextMenu",!1):!1}function xn(e,t){if(jo(e,t.from)<0)return e;if(jo(e,t.to)<=0)return Zo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Zo(t).ch-t.to.ch),Lo(n,r)}function Dn(e,t){for(var n=[],r=0;r=0;--i)_n(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text});else _n(e,t)}}function _n(e,t){if(1!=t.text.length||""!=t.text[0]||0!=jo(t.from,t.to)){var n=Dn(e,t);li(e,t,n,e.cm?e.cm.curOp.id:NaN),kn(e,t,n,or(e,t));var r=[];Jr(e,function(e,n){n||-1!=Oi(r,e.history)||(Ei(e.history,t),r.push(e.history)),kn(e,t,null,or(e,t))})}}function Fn(e,t,n){if(!e.cm||!e.cm.state.suppressEdits){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,u=0;u=0;--u){var p=r.changes[u];if(p.origin=t,c&&!wn(e,p,!1))return void(a.length=0);l.push(ai(e,p));var f=u?Dn(e,p):Pi(a);kn(e,p,f,sr(e,p)),!u&&e.cm&&e.cm.scrollIntoView({from:p.from,to:Zo(p)});var d=[];Jr(e,function(e,t){t||-1!=Oi(d,e.history)||(Ei(e.history,p),d.push(e.history)),kn(e,p,null,sr(e,p))})}}}}function Nn(e,t){if(0!=t&&(e.first+=t,e.sel=new ce(Ii(e.sel.ranges,function(e){return new pe(Lo(e.anchor.line+t,e.anchor.ch),Lo(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Mt(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Lo(o,$r(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qr(e,t.from,t.to),n||(n=Dn(e,t)),e.cm?Tn(e.cm,t,r):zr(e,t,r),_e(e,n,Ra)}}function Tn(e,t,n){var r=e.doc,i=e.display,a=t.from,s=t.to,u=!1,l=a.line;e.options.lineWrapping||(l=ti(yr($r(r,a.line))),r.iter(l,s.line+1,function(e){return e==i.maxLine?(u=!0,!0):void 0})),r.sel.contains(t.from,t.to)>-1&&_i(e),zr(r,t,n,o(e)),e.options.lineWrapping||(r.iter(l,a.line+t.text.length,function(e){ -var t=p(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,u=!1)}),u&&(e.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,a.line),je(e,400);var c=t.text.length-(s.line-a.line)-1;t.full?Mt(e):a.line!=s.line||1!=t.text.length||qr(e.doc,t)?Mt(e,a.line,s.line+1,c):Bt(e,a.line,"text");var f=Fi(e,"changes"),d=Fi(e,"change");if(d||f){var h={from:a,to:s,text:t.text,removed:t.removed,origin:t.origin};d&&Ai(e,"change",e,h),f&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function Pn(e,t,n,r,i){if(r||(r=n),jo(r,n)<0){var o=r;r=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),Sn(e,{from:n,to:r,text:t,origin:i})}function On(e,t){if(!Si(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!_o){var o=Wi("div","​",null,"position: absolute; top: "+(t.top-n.viewOffset-He(e.display))+"px; height: "+(t.bottom-t.top+ze(e)+n.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function In(e,t,n,r){null==r&&(r=0);for(var i=0;5>i;i++){var o=!1,a=dt(e,t),s=n&&n!=t?dt(e,n):a,u=Bn(e,Math.min(a.left,s.left),Math.min(a.top,s.top)-r,Math.max(a.left,s.left),Math.max(a.bottom,s.bottom)+r),l=e.doc.scrollTop,c=e.doc.scrollLeft;if(null!=u.scrollTop&&(rn(e,u.scrollTop),Math.abs(e.doc.scrollTop-l)>1&&(o=!0)),null!=u.scrollLeft&&(on(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-c)>1&&(o=!0)),!o)break}return a}function Mn(e,t,n,r,i){var o=Bn(e,t,n,r,i);null!=o.scrollTop&&rn(e,o.scrollTop),null!=o.scrollLeft&&on(e,o.scrollLeft)}function Bn(e,t,n,r,i){var o=e.display,a=yt(e.display);0>n&&(n=0);var s=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:o.scroller.scrollTop,u=Ke(e),l={};i-n>u&&(i=n+u);var c=e.doc.height+Ge(o),p=a>n,f=i>c-a;if(s>n)l.scrollTop=p?0:n;else if(i>s+u){var d=Math.min(n,(f?c:i)-u);d!=s&&(l.scrollTop=d)}var h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:o.scroller.scrollLeft,m=Ye(e)-(e.options.fixedGutter?o.gutters.offsetWidth:0),v=r-t>m;return v&&(r=t+m),10>t?l.scrollLeft=0:h>t?l.scrollLeft=Math.max(0,t-(v?0:10)):r>m+h-3&&(l.scrollLeft=r+(v?0:10)-m),l}function Rn(e,t,n){null==t&&null==n||jn(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function Ln(e){jn(e);var t=e.getCursor(),n=t,r=t;e.options.lineWrapping||(n=t.ch?Lo(t.line,t.ch-1):t,r=Lo(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:r,margin:e.options.cursorScrollMargin,isCursor:!0}}function jn(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=ht(e,t.from),r=ht(e,t.to),i=Bn(e,Math.min(n.left,r.left),Math.min(n.top,r.top)-t.margin,Math.max(n.right,r.right),Math.max(n.bottom,r.bottom)+t.margin);e.scrollTo(i.scrollLeft,i.scrollTop)}}function Vn(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=We(e,t):n="prev");var a=e.options.tabSize,s=$r(o,t),u=Va(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var l,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(l=o.mode.indent(i,s.text.slice(c.length),s.text),l==Ba||l>150)){if(!r)return;n="prev"}}else l=0,n="not";"prev"==n?l=t>o.first?Va($r(o,t-1).text,null,a):0:"add"==n?l=u+e.options.indentUnit:"subtract"==n?l=u-e.options.indentUnit:"number"==typeof n&&(l=u+n),l=Math.max(0,l);var p="",f=0;if(e.options.indentWithTabs)for(var d=Math.floor(l/a);d;--d)f+=a,p+=" ";if(l>f&&(p+=Ti(l-f)),p!=c)return Pn(o,p,Lo(t,0),Lo(t,c.length),"+input"),s.stateAfter=null,!0;for(var d=0;d=0;t--)Pn(e.doc,"",r[t].from,r[t].to,"+delete");Ln(e)})}function Hn(e,t,n,r,i){function o(){var t=s+n;return t=e.first+e.size?!1:(s=t,c=$r(e,t))}function a(e){var t=(i?po:fo)(c,u,n,!0);if(null==t){if(e||!o())return!1;u=i?(0>n?io:ro)(c):0>n?c.text.length:0}else u=t;return!0}var s=t.line,u=t.ch,l=n,c=$r(e,s);if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var p=null,f="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;!(0>n)||a(!h);h=!1){var m=c.text.charAt(u)||"\n",v=ji(m,d)?"w":f&&"\n"==m?"n":!f||/\s/.test(m)?null:"p";if(!f||h||v||(v="s"),p&&p!=v){0>n&&(n=1,a());break}if(v&&(p=v),n>0&&!a(!h))break}var g=Pe(e,Lo(s,u),t,l,!0);return jo(t,g)||(g.hitSide=!0),g}function Gn(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);i=t.top+n*(s-(0>n?1.5:.5)*yt(e.display))}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){var u=vt(e,a,i);if(!u.outside)break;if(0>n?0>=i:i>=o.height){u.hitSide=!0;break}i+=5*n}return u}function qn(t,n,r,i){e.defaults[t]=n,r&&(ta[t]=i?function(e,t,n){n!=na&&r(e,t,n)}:r)}function zn(e){for(var t,n,r,i,o=e.split(/-(?!$)/),e=o[o.length-1],a=0;a0||0==a&&o.clearWhenEmpty!==!1)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=Wi("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(gr(e,t.line,t,n,o)||t.line!=n.line&&gr(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ro=!0}o.addToHistory&&li(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,u=t.line,l=e.cm;if(e.iter(u,n.line+1,function(e){l&&o.collapsed&&!l.options.lineWrapping&&yr(e)==l.display.maxLine&&(s=!0),o.collapsed&&u!=t.line&&ei(e,0),nr(e,new Zn(o,u==t.line?t.ch:null,u==n.line?n.ch:null)),++u}),o.collapsed&&e.iter(t.line,n.line+1,function(t){Dr(e,t)&&ei(t,0)}),o.clearOnEnter&&ka(o,"beforeCursorEnter",function(){o.clear()}),o.readOnly&&(Bo=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++va,o.atomic=!0),l){if(s&&(l.curOp.updateMaxLine=!0),o.collapsed)Mt(l,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var c=t.line;c<=n.line;c++)Bt(l,c,"text");o.atomic&&Ne(l.doc),Ai(l,"markerAdded",l,o)}return o}function Jn(e,t,n,r,i){r=Ri(r),r.shared=!1;var o=[Kn(e,t,n,r,i)],a=o[0],s=r.widgetNode;return Jr(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Kn(e,me(e,t),me(e,n),r,i));for(var u=0;u=t:o.to>t);(r||(r=[])).push(new Zn(a,o.from,u?null:o.to))}}return r}function ir(e,t,n){if(e)for(var r,i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var u=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var p=0;pp;++p)h.push(m);h.push(u)}return h}function ar(e){for(var t=0;t0)){var c=[u,1],p=jo(l.from,s.from),f=jo(l.to,s.to);(0>p||!a.inclusiveLeft&&!p)&&c.push({from:l.from,to:s.from}),(f>0||!a.inclusiveRight&&!f)&&c.push({from:s.to,to:l.to}),i.splice.apply(i,c),u+=c.length-1}}return i}function lr(e){var t=e.markedSpans;if(t){for(var n=0;n=0&&0>=p||0>=c&&p>=0)&&(0>=c&&(u.marker.inclusiveRight&&i.inclusiveLeft?jo(l.to,n)>=0:jo(l.to,n)>0)||c>=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?jo(l.from,r)<=0:jo(l.from,r)<0)))return!0}}}function yr(e){for(var t;t=mr(e);)e=t.find(-1,!0).line;return e}function Er(e){for(var t,n;t=vr(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function br(e,t){var n=$r(e,t),r=yr(n);return n==r?t:ti(r)}function xr(e,t){if(t>e.lastLine())return t;var n,r=$r(e,t);if(!Dr(e,r))return t;for(;n=vr(r);)r=n.find(1,!0).line;return ti(r)+1}function Dr(e,t){var n=Ro&&t.markedSpans;if(n)for(var r,i=0;io;o++){i&&(i[0]=e.innerMode(t,r).mode);var a=t.token(n,r);if(n.pos>n.start)return a}throw new Error("Mode "+t.name+" failed to advance stream.")}function Pr(e,t,n,r){function i(e){return{start:p.start,end:p.pos,string:p.current(),type:o||null,state:e?ua(a.mode,c):c}}var o,a=e.doc,s=a.mode;t=me(a,t);var u,l=$r(a,t.line),c=We(e,t.line,n),p=new ma(l.text,e.options.tabSize);for(r&&(u=[]);(r||p.pose.options.maxHighlightLength?(s=!1,a&&Br(e,t,r,p.pos),p.pos=t.length,u=null):u=Nr(Tr(n,p,r,f),o),f){var d=f[0].name;d&&(u="m-"+(u?d+" "+u:d))}if(!s||c!=u){for(;ll;){var r=i[u];r>e&&i.splice(u,1,e,i[u+1],r),u+=2,l=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,u-n,e,"cm-overlay "+t),u=n+2;else for(;u>n;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"cm-overlay "+t}},o)}return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Mr(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=We(e,ti(t)),i=Ir(e,t,t.text.length>e.options.maxHighlightLength?ua(e.doc.mode,r):r);t.stateAfter=r,t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function Br(e,t,n,r){var i=e.doc.mode,o=new ma(t,e.options.tabSize);for(o.start=o.pos=r||0,""==t&&kr(i,n);!o.eol();)Tr(i,o,n),o.start=o.pos}function Rr(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Da:xa;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Lr(e,t){var n=Wi("span",null,null,xo?"padding-right: .1px":null),r={pre:Wi("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,splitSpaces:(Eo||xo)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o,a=i?t.rest[i-1]:t.line;r.pos=0,r.addToken=Vr,Qi(e.display.measure)&&(o=ii(a))&&(r.addToken=Wr(r.addToken,o)),r.map=[];var s=t!=e.display.externalMeasured&&ti(a);Gr(a,r,Mr(e,a,s)),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=Yi(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=Yi(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild($i(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(xo){var u=r.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Oa(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=Yi(r.pre.className,r.textClass||"")),r}function jr(e){var t=Wi("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Vr(e,t,n,r,i,o,a){if(t){var s=e.splitSpaces?t.replace(/ {3,}/g,Ur):t,u=e.cm.state.specialChars,l=!1;if(u.test(t))for(var c=document.createDocumentFragment(),p=0;;){u.lastIndex=p;var f=u.exec(t),d=f?f.index-p:t.length-p;if(d){var h=document.createTextNode(s.slice(p,p+d));Eo&&9>bo?c.appendChild(Wi("span",[h])):c.appendChild(h),e.map.push(e.pos,e.pos+d,h),e.col+=d,e.pos+=d}if(!f)break;if(p+=d+1," "==f[0]){var m=e.cm.options.tabSize,v=m-e.col%m,h=c.appendChild(Wi("span",Ti(v),"cm-tab"));h.setAttribute("role","presentation"),h.setAttribute("cm-text"," "),e.col+=v}else if("\r"==f[0]||"\n"==f[0]){var h=c.appendChild(Wi("span","\r"==f[0]?"␍":"␤","cm-invalidchar"));h.setAttribute("cm-text",f[0]),e.col+=1}else{var h=e.cm.options.specialCharPlaceholder(f[0]);h.setAttribute("cm-text",f[0]),Eo&&9>bo?c.appendChild(Wi("span",[h])):c.appendChild(h),e.col+=1}e.map.push(e.pos,e.pos+1,h),e.pos++}else{e.col+=t.length;var c=document.createTextNode(s);e.map.push(e.pos,e.pos+t.length,c),Eo&&9>bo&&(l=!0),e.pos+=t.length}if(n||r||i||l||a){var g=n||"";r&&(g+=r),i&&(g+=i);var y=Wi("span",[c],g,a);return o&&(y.title=o),e.content.appendChild(y)}e.content.appendChild(c)}}function Ur(e){for(var t=" ",n=0;nl&&f.from<=l)break}if(f.to>=c)return e(n,r,i,o,a,s,u);e(n,r.slice(0,f.to-l),i,o,null,s,u),o=null,r=r.slice(f.to-l),l=f.to}}}function Hr(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t}function Gr(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,u,l,c,p,f,d=i.length,h=0,m=1,v="",g=0;;){if(g==h){u=l=c=p=s="",f=null,g=1/0;for(var y,E=[],b=0;bh||D.collapsed&&x.to==h&&x.from==h)?(null!=x.to&&x.to!=h&&g>x.to&&(g=x.to,l=""),D.className&&(u+=" "+D.className),D.css&&(s=(s?s+";":"")+D.css),D.startStyle&&x.from==h&&(c+=" "+D.startStyle),D.endStyle&&x.to==g&&(y||(y=[])).push(D.endStyle,x.to),D.title&&!p&&(p=D.title),D.collapsed&&(!f||dr(f.marker,D)<0)&&(f=x)):x.from>h&&g>x.from&&(g=x.from)}if(y)for(var b=0;b=d)break;for(var C=Math.min(d,g);;){if(v){var A=h+v.length;if(!f){var w=A>C?v.slice(0,C-h):v;t.addToken(t,w,a?a+u:u,c,h+w.length==g?l:"",p,s)}if(A>=C){v=v.slice(C-h),h=C;break}h=A,c=""}v=i.slice(o,o=n[m++]),a=Rr(n[m++],t.cm.options)}}else for(var m=1;mn;++n)o.push(new ba(l[n],i(n),r));return o}var s=t.from,u=t.to,l=t.text,c=$r(e,s.line),p=$r(e,u.line),f=Pi(l),d=i(l.length-1),h=u.line-s.line;if(t.full)e.insert(0,a(0,l.length)),e.remove(l.length,e.size-l.length);else if(qr(e,t)){var m=a(0,l.length-1);o(p,p.text,d),h&&e.remove(s.line,h),m.length&&e.insert(s.line,m)}else if(c==p)if(1==l.length)o(c,c.text.slice(0,s.ch)+f+c.text.slice(u.ch),d);else{var m=a(1,l.length-1);m.push(new ba(f+c.text.slice(u.ch),d,r)),o(c,c.text.slice(0,s.ch)+l[0],i(0)),e.insert(s.line+1,m)}else if(1==l.length)o(c,c.text.slice(0,s.ch)+l[0]+p.text.slice(u.ch),i(0)),e.remove(s.line+1,h);else{o(c,c.text.slice(0,s.ch)+l[0],i(0)),o(p,f+p.text.slice(u.ch),d);var m=a(1,l.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,m)}Ai(e,"change",e,t)}function Yr(e){this.lines=e,this.parent=null;for(var t=0,n=0;tt||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(o>t){n=i;break}t-=o}return n.lines[t]}function Qr(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i}),r}function Zr(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function ei(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function ti(e){if(null==e.parent)return null;for(var t=e.parent,n=Oi(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function ni(e,t){var n=e.first;e:do{for(var r=0;rt){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var r=0;rt)break;t-=s}return n+r}function ri(e){e=yr(e);for(var t=0,n=e.parent,r=0;r1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Pi(e.done)):void 0}function li(e,t,n,r){var i=e.history;i.undone.length=0;var o,a=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>a-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=ui(i,i.lastOp==r))){var s=Pi(o.changes);0==jo(t.from,t.to)&&0==jo(t.from,s.to)?s.to=Zo(t):o.changes.push(ai(e,t))}else{var u=Pi(i.done);for(u&&u.ranges||fi(e.sel,i.done),o={changes:[ai(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,s||Oa(e,"historyAdded")}function ci(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function pi(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ci(e,o,Pi(i.done),t))?i.done[i.done.length-1]=t:fi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&r.clearRedo!==!1&&si(i.undone)}function fi(e,t){var n=Pi(t);n&&n.ranges&&n.equals(e)||t.push(e)}function di(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function hi(e){if(!e)return null;for(var t,n=0;n-1&&(Pi(s)[p]=c[p],delete c[p])}}}return i}function gi(e,t,n,r){n0?r.slice():Ta:r||Ta}function Ai(e,t){function n(e){return function(){e.apply(null,o)}}var r=Ci(e,t,!1);if(r.length){var i,o=Array.prototype.slice.call(arguments,2);qo?i=qo.delayedCallbacks:Ia?i=Ia:(i=Ia=[],setTimeout(wi,0));for(var a=0;a0}function Ni(e){e.prototype.on=function(e,t){ka(this,e,t)},e.prototype.off=function(e,t){Pa(this,e,t)}}function ki(){this.id=null}function Ti(e){for(;Wa.length<=e;)Wa.push(Pi(Wa)+" ");return Wa[e]}function Pi(e){return e[e.length-1]}function Oi(e,t){for(var n=0;n-1&&za(e)?!0:t.test(e):za(e)}function Vi(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function Ui(e){return e.charCodeAt(0)>=768&&Ya.test(e)}function Wi(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o0;--t)e.removeChild(e.firstChild);return e}function Gi(e,t){return Hi(e).appendChild(t)}function qi(){for(var e=document.activeElement;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function zi(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function Yi(e,t){for(var n=e.split(" "),r=0;r2&&!(Eo&&8>bo))}var n=Ja?Wi("span","​"):Wi("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Qi(e){if(null!=Xa)return Xa;var t=Gi(e,document.createTextNode("AخA")),n=Ga(t,0,1).getBoundingClientRect();if(!n||n.left==n.right)return!1;var r=Ga(t,1,2).getBoundingClientRect();return Xa=r.right-n.right<3}function Zi(e){if(null!=is)return is;var t=Gi(e,Wi("span","x")),n=t.getBoundingClientRect(),r=Ga(t,0,1).getBoundingClientRect();return is=Math.abs(n.left-r.left)>1}function eo(e,t,n,r){if(!e)return r(t,n,"ltr");for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),i=!0)}i||r(t,n,"ltr")}function to(e){return e.level%2?e.to:e.from}function no(e){return e.level%2?e.from:e.to}function ro(e){var t=ii(e);return t?to(t[0]):0}function io(e){var t=ii(e);return t?no(Pi(t)):e.text.length}function oo(e,t){var n=$r(e.doc,t),r=yr(n);r!=n&&(t=ti(r));var i=ii(r),o=i?i[0].level%2?io(r):ro(r):0;return Lo(t,o)}function ao(e,t){for(var n,r=$r(e.doc,t);n=vr(r);)r=n.find(1,!0).line,t=null;var i=ii(r),o=i?i[0].level%2?ro(r):io(r):r.text.length;return Lo(null==t?ti(r):t,o)}function so(e,t){var n=oo(e,t.line),r=$r(e.doc,n.line),i=ii(r);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return Lo(n.line,a?0:o)}return n}function uo(e,t,n){var r=e[0].level;return t==r?!0:n==r?!1:n>t}function lo(e,t){as=null;for(var n,r=0;rt)return r;if(i.from==t||i.to==t){if(null!=n)return uo(e,i.level,e[n].level)?(i.from!=i.to&&(as=n),r):(i.from!=i.to&&(as=r),n);n=r}}return n}function co(e,t,n,r){if(!r)return t+n;do t+=n;while(t>0&&Ui(e.text.charAt(t)));return t}function po(e,t,n,r){var i=ii(e);if(!i)return fo(e,t,n,r);for(var o=lo(i,t),a=i[o],s=co(e,t,a.level%2?-n:n,r);;){if(s>a.from&&s0==a.level%2?a.to:a.from);if(a=i[o+=n],!a)return null;s=n>0==a.level%2?co(e,a.to,-1,r):co(e,a.from,1,r)}}function fo(e,t,n,r){var i=t+n; -if(r)for(;i>0&&Ui(e.text.charAt(i));)i+=n;return 0>i||i>e.text.length?null:i}var ho=navigator.userAgent,mo=navigator.platform,vo=/gecko\/\d/i.test(ho),go=/MSIE \d/.test(ho),yo=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ho),Eo=go||yo,bo=Eo&&(go?document.documentMode||6:yo[1]),xo=/WebKit\//.test(ho),Do=xo&&/Qt\/\d+\.\d+/.test(ho),Co=/Chrome\//.test(ho),Ao=/Opera\//.test(ho),wo=/Apple Computer/.test(navigator.vendor),So=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ho),_o=/PhantomJS/.test(ho),Fo=/AppleWebKit/.test(ho)&&/Mobile\/\w+/.test(ho),No=Fo||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ho),ko=Fo||/Mac/.test(mo),To=/\bCrOS\b/.test(ho),Po=/win/i.test(mo),Oo=Ao&&ho.match(/Version\/(\d*\.\d*)/);Oo&&(Oo=Number(Oo[1])),Oo&&Oo>=15&&(Ao=!1,xo=!0);var Io=ko&&(Do||Ao&&(null==Oo||12.11>Oo)),Mo=vo||Eo&&bo>=9,Bo=!1,Ro=!1;m.prototype=Ri({update:function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+o+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var e=ko&&!So?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ki,this.disableVert=new ki},enableZeroWidthBar:function(e,t){function n(){var r=e.getBoundingClientRect(),i=document.elementFromPoint(r.left+1,r.bottom-1);i!=e?e.style.pointerEvents="none":t.set(1e3,n)}e.style.pointerEvents="auto",t.set(1e3,n)},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},m.prototype),v.prototype=Ri({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},v.prototype),e.scrollbarModel={"native":m,"null":v},w.prototype.signal=function(e,t){Fi(e,t)&&this.events.push(arguments)},w.prototype.finish=function(){for(var e=0;e=9&&n.hasSelection&&(n.hasSelection=null),n.poll()}),ka(o,"paste",function(e){Si(r,e)||Q(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),ka(o,"cut",t),ka(o,"copy",t),ka(e.scroller,"paste",function(t){qt(e,t)||Si(r,t)||(r.state.pasteIncoming=!0,n.focus())}),ka(e.lineSpace,"selectstart",function(t){qt(e,t)||_a(t)}),ka(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),ka(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},prepareSelection:function(){var e=this.cm,t=e.display,n=e.doc,r=Me(e);if(e.options.moveInputWithCursor){var i=dt(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},showSelection:function(e){var t=this.cm,n=t.display;Gi(n.cursorDiv,e.cursors),Gi(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,n,r=this.cm,i=r.doc;if(r.somethingSelected()){this.prevInput="";var o=i.sel.primary();t=rs&&(o.to().line-o.from().line>100||(n=r.getSelection()).length>1e3);var a=t?"-":n||r.getSelection();this.textarea.value=a,r.state.focused&&Ha(this.textarea),Eo&&bo>=9&&(this.hasSelection=a)}else e||(this.prevInput=this.textarea.value="",Eo&&bo>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!No||qi()!=this.textarea))try{this.textarea.focus()}catch(e){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},fastPoll:function(){function e(){var r=n.poll();r||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},poll:function(){var e=this.cm,t=this.textarea,n=this.prevInput;if(this.contextMenuPending||!e.state.focused||ns(t)&&!n&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var r=t.value;if(r==n&&!e.somethingSelected())return!1;if(Eo&&bo>=9&&this.hasSelection===r||ko&&/[\uf700-\uf7ff]/.test(r))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var i=r.charCodeAt(0);if(8203!=i||n||(n="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var o=0,a=Math.min(n.length,r.length);a>o&&n.charCodeAt(o)==r.charCodeAt(o);)++o;var s=this;return Nt(e,function(){$(e,r.slice(o),n.length-o,null,s.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?t.value=s.prevInput="":s.prevInput=r,s.composing&&(s.composing.range.clear(),s.composing.range=e.markText(s.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){Eo&&bo>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t="​"+(e?a.value:"");a.value="⇚",a.value=t,r.prevInput=e?"":"​",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=p,a.style.cssText=c,Eo&&9>bo&&o.scrollbars.setScrollTop(o.scroller.scrollTop=u),null!=a.selectionStart){(!Eo||Eo&&9>bo)&&t();var e=0,n=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&"​"==r.prevInput?kt(i,ca.selectAll)(i):e++<10?o.detectingSelectAll=setTimeout(n,500):o.input.reset()};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea,s=zt(i,e),u=o.scroller.scrollTop;if(s&&!Ao){var l=i.options.resetSelectionOnContextMenu;l&&-1==i.doc.sel.contains(s)&&kt(i,Se)(i.doc,de(s),Ra);var c=a.style.cssText,p=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var f=r.wrapper.getBoundingClientRect();if(a.style.cssText="position: absolute; width: 30px; height: 30px; top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px; z-index: 1000; background: "+(Eo?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",xo)var d=window.scrollY;if(o.input.focus(),xo&&window.scrollTo(null,d),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),Eo&&bo>=9&&t(),Mo){Na(e);var h=function(){Pa(window,"mouseup",h),setTimeout(n,20)};ka(window,"mouseup",h)}else setTimeout(n,50)}},readOnlyChanged:function(e){e||this.reset()},setUneditable:Mi,needsContentAttribute:!1},ne.prototype),ie.prototype=Ri({init:function(e){function t(e){if(!Si(r,e)){if(r.somethingSelected())Vo={lineWise:!1,text:r.getSelections()},"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=ee(r);Vo={lineWise:!0,text:t.text},"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,Ra),r.replaceSelection("",null,"cut")})}if(e.clipboardData&&!Fo)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",Vo.text.join("\n"));else{var n=re(),i=n.firstChild;r.display.lineSpace.insertBefore(n,r.display.lineSpace.firstChild),i.value=Vo.text.join("\n");var o=document.activeElement;Ha(i),setTimeout(function(){r.display.lineSpace.removeChild(n),o.focus()},50)}}}var n=this,r=n.cm,i=n.div=e.lineDiv;te(i),ka(i,"paste",function(e){Si(r,e)||Q(e,r)}),ka(i,"compositionstart",function(e){var t=e.data;if(n.composing={sel:r.doc.sel,data:t,startData:t},t){var i=r.doc.sel.primary(),o=r.getLine(i.head.line),a=o.indexOf(t,Math.max(0,i.head.ch-t.length));a>-1&&a<=i.head.ch&&(n.composing.sel=de(Lo(i.head.line,a),Lo(i.head.line,a+t.length)))}}),ka(i,"compositionupdate",function(e){n.composing.data=e.data}),ka(i,"compositionend",function(e){var t=n.composing;t&&(e.data==t.startData||/\u200b/.test(e.data)||(t.data=e.data),setTimeout(function(){t.handled||n.applyComposition(t),n.composing==t&&(n.composing=null)},50))}),ka(i,"touchstart",function(){n.forceCompositionEnd()}),ka(i,"input",function(){n.composing||!r.isReadOnly()&&n.pollContent()||Nt(n.cm,function(){Mt(r)})}),ka(i,"copy",t),ka(i,"cut",t)},prepareSelection:function(){var e=Me(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),n=se(this.cm,e.anchorNode,e.anchorOffset),r=se(this.cm,e.focusNode,e.focusOffset);if(!n||n.bad||!r||r.bad||0!=jo(J(n,r),t.from())||0!=jo(K(n,r),t.to())){var i=oe(this.cm,t.from()),o=oe(this.cm,t.to());if(i||o){var a=this.cm.display.view,s=e.rangeCount&&e.getRangeAt(0);if(i){if(!o){var u=a[a.length-1].measure,l=u.maps?u.maps[u.maps.length-1]:u.map;o={node:l[l.length-1],offset:l[l.length-2]-l[l.length-3]}}}else i={node:a[0].measure.map[2],offset:0};try{var c=Ga(i.node,i.offset,o.offset,o.node)}catch(p){}c&&(!vo&&this.cm.state.focused?(e.collapse(i.node,i.offset),c.collapsed||e.addRange(c)):(e.removeAllRanges(),e.addRange(c)),s&&null==e.anchorNode?e.addRange(s):vo&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){e.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(e){Gi(this.cm.display.cursorDiv,e.cursors),Gi(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Ka(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():Nt(this.cm,function(){t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var n=se(t,e.anchorNode,e.anchorOffset),r=se(t,e.focusNode,e.focusOffset);n&&r&&Nt(t,function(){Se(t.doc,de(n,r),Ra),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}},pollContent:function(){var e=this.cm,t=e.display,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(r.linet.viewTo-1)return!1;var o;if(r.line==t.viewFrom||0==(o=Lt(e,r.line)))var a=ti(t.view[0].line),s=t.view[0].node;else var a=ti(t.view[o].line),s=t.view[o-1].node.nextSibling;var u=Lt(e,i.line);if(u==t.view.length-1)var l=t.viewTo-1,c=t.lineDiv.lastChild;else var l=ti(t.view[u+1].line)-1,c=t.view[u+1].node.previousSibling;for(var p=e.doc.splitLines(le(e,s,c,a,l)),f=Qr(e.doc,Lo(a,0),Lo(l,$r(e.doc,l).text.length));p.length>1&&f.length>1;)if(Pi(p)==Pi(f))p.pop(),f.pop(),l--;else{if(p[0]!=f[0])break;p.shift(),f.shift(),a++}for(var d=0,h=0,m=p[0],v=f[0],g=Math.min(m.length,v.length);g>d&&m.charCodeAt(d)==v.charCodeAt(d);)++d;for(var y=Pi(p),E=Pi(f),b=Math.min(y.length-(1==p.length?d:0),E.length-(1==f.length?d:0));b>h&&y.charCodeAt(y.length-h-1)==E.charCodeAt(E.length-h-1);)++h;p[p.length-1]=y.slice(0,y.length-h),p[0]=p[0].slice(d);var x=Lo(a,d),D=Lo(l,f.length?Pi(f).length-h:0);return p.length>1||p[0]||jo(x,D)?(Pn(e.doc,p,x,D,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){this.cm.isReadOnly()?kt(this.cm,Mt)(this.cm):e.data&&e.data!=e.startData&&kt(this.cm,$)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.contentEditable="false"},onKeyPress:function(e){e.preventDefault(),this.cm.isReadOnly()||kt(this.cm,$)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},readOnlyChanged:function(e){this.div.contentEditable=String("nocursor"!=e)},onContextMenu:Mi,resetPosition:Mi,needsContentAttribute:!0},ie.prototype),e.inputStyles={textarea:ne,contenteditable:ie},ce.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t=0&&jo(e,r.to())<=0)return n}return-1}},pe.prototype={from:function(){return J(this.anchor,this.head)},to:function(){return K(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var Uo,Wo,Ho,Go={left:0,right:0,top:0,bottom:0},qo=null,zo=0,Yo=0,Ko=0,Jo=null;Eo?Jo=-.53:vo?Jo=15:Co?Jo=-.7:wo&&(Jo=-1/3);var Xo=function(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}};e.wheelEventPixels=function(e){var t=Xo(e);return t.x*=Jo,t.y*=Jo,t};var $o=new ki,Qo=null,Zo=e.changeEnd=function(e){return e.text?Lo(e.from.line+e.text.length-1,Pi(e.text).length+(1==e.text.length?e.from.ch:0)):e.to};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var n=this.options,r=n[e];n[e]==t&&"mode"!=e||(n[e]=t,ta.hasOwnProperty(e)&&kt(this,ta[e])(this,t,r))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Yn(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(Vn(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Ln(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var u=s;n>u;++u)Vn(this,u,e);var l=this.doc.sel.ranges;0==o.ch&&t.length==l.length&&l[r].from().ch>0&&De(this.doc,r,new pe(o,l[r].to()),Ra)}}}),getTokenAt:function(e,t){return Pr(this,e,t)},getLineTokens:function(e,t){return Pr(this,Lo(e),t,!0)},getTokenTypeAt:function(e){e=me(this.doc,e);var t,n=Mr(this,$r(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]s?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!sa.hasOwnProperty(t))return n;var r=sa[t],i=this.getModeAt(e);if("string"==typeof i[t])r[i[t]]&&n.push(r[i[t]]);else if(i[t])for(var o=0;oi&&(e=i,r=!0),n=$r(this.doc,e)}else n=e;return ct(this,n,{top:0,left:0},t||"page").top+(r?this.doc.height-ri(n):0)},defaultTextHeight:function(){return yt(this.display)},defaultCharWidth:function(){return Et(this.display)},setGutterMarker:Tt(function(e,t,n){return Un(this.doc,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&Vi(r)&&(e.gutterMarkers=null),!0})}),clearGutter:Tt(function(e){var t=this,n=t.doc,r=n.first;n.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&(n.gutterMarkers[e]=null,Bt(t,r,"gutter"),Vi(n.gutterMarkers)&&(n.gutterMarkers=null)),++r})}),lineInfo:function(e){if("number"==typeof e){if(!ge(this.doc,e))return null;var t=e;if(e=$r(this.doc,e),!e)return null}else{var t=ti(e);if(null==t)return null}return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=dt(this,me(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var u=Math.max(o.wrapper.clientHeight,this.doc.height),l=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(a=e.bottom),s+t.offsetWidth>l&&(s=l-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&Mn(this,s,a,s+t.offsetWidth,a+t.offsetHeight)},triggerOnKeyDown:Tt(fn),triggerOnKeyPress:Tt(mn),triggerOnKeyUp:hn,execCommand:function(e){return ca.hasOwnProperty(e)?ca[e].call(null,this):void 0},triggerElectric:Tt(function(e){Z(this,e)}),findPosH:function(e,t,n,r){var i=1;0>t&&(i=-1,t=-t);for(var o=0,a=me(this.doc,e);t>o&&(a=Hn(this.doc,a,i,n,r),!a.hitSide);++o);return a},moveH:Tt(function(e,t){var n=this;n.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Hn(n.doc,r.head,e,t,n.options.rtlMoveVisually):0>e?r.from():r.to()},ja)}),deleteH:Tt(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Wn(this,function(n){var i=Hn(r,n.head,e,t,!1);return 0>e?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(e,t,n,r){var i=1,o=r;0>t&&(i=-1,t=-t);for(var a=0,s=me(this.doc,e);t>a;++a){var u=dt(this,s,"div");if(null==o?o=u.left:u.left=o,s=Gn(this,u,i,n),s.hitSide)break}return s},moveV:Tt(function(e,t){var n=this,r=this.doc,i=[],o=!n.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(o)return 0>e?a.from():a.to();var s=dt(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var u=Gn(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Rn(n,null,ft(n,u,"div").top-s.top),u},ja),i.length)for(var a=0;a0&&s(n.charAt(r-1));)--r;for(;i.5)&&a(this),Oa(this,"refresh",this)}),swapDoc:Tt(function(e){var t=this.doc;return t.cm=null,Xr(this,e),st(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Ai(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ni(e);var ea=e.defaults={},ta=e.optionHandlers={},na=e.Init={toString:function(){return"CodeMirror.Init"}};qn("value","",function(e,t){e.setValue(t)},!0),qn("mode",null,function(e,t){e.doc.modeOption=t,n(e)},!0),qn("indentUnit",2,n,!0),qn("indentWithTabs",!1),qn("smartIndent",!0),qn("tabSize",4,function(e){r(e),st(e),Mt(e)},!0),qn("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Lo(r,o))}r++});for(var i=n.length-1;i>=0;i--)Pn(e.doc,t,n[i],Lo(n[i].line,n[i].ch+t.length))}}),qn("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,n,r){t.state.specialChars=new RegExp(n.source+(n.test(" ")?"":"| "),"g"),r!=e.Init&&t.refresh()}),qn("specialCharPlaceholder",jr,function(e){e.refresh()},!0),qn("electricChars",!0),qn("inputStyle",No?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),qn("rtlMoveVisually",!Po),qn("wholeLineUpdateBefore",!0),qn("theme","default",function(e){s(e),u(e)},!0),qn("keyMap","default",function(t,n,r){var i=Yn(n),o=r!=e.Init&&Yn(r);o&&o.detach&&o.detach(t,i),i.attach&&i.attach(t,o||null)}),qn("extraKeys",null),qn("lineWrapping",!1,i,!0),qn("gutters",[],function(e){d(e.options),u(e)},!0),qn("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?A(e.display)+"px":"0",e.refresh()},!0),qn("coverGutterNextToScrollbar",!1,function(e){y(e)},!0),qn("scrollbarStyle","native",function(e){g(e),y(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),qn("lineNumbers",!1,function(e){d(e.options),u(e)},!0),qn("firstLineNumber",1,u,!0),qn("lineNumberFormatter",function(e){return e},u,!0),qn("showCursorWhenSelecting",!1,Ie,!0),qn("resetSelectionOnContextMenu",!0),qn("lineWiseCopyCut",!0),qn("readOnly",!1,function(e,t){"nocursor"==t?(yn(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)}),qn("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),qn("dragDrop",!0,Ht),qn("allowDropFileTypes",null),qn("cursorBlinkRate",530),qn("cursorScrollMargin",0),qn("cursorHeight",1,Ie,!0),qn("singleCursorHeightPerLine",!0,Ie,!0),qn("workTime",100),qn("workDelay",100),qn("flattenSpans",!0,r,!0),qn("addModeClass",!1,r,!0),qn("pollInterval",100),qn("undoDepth",200,function(e,t){e.doc.history.undoDepth=t}),qn("historyEventDelay",1250),qn("viewportMargin",10,function(e){e.refresh()},!0),qn("maxHighlightLength",1e4,r,!0),qn("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),qn("tabindex",null,function(e,t){e.display.input.getField().tabIndex=t||""}),qn("autofocus",null);var ra=e.modes={},ia=e.mimeModes={};e.defineMode=function(t,n){e.defaults.mode||"null"==t||(e.defaults.mode=t),arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)),ra[t]=n},e.defineMIME=function(e,t){ia[e]=t},e.resolveMode=function(t){if("string"==typeof t&&ia.hasOwnProperty(t))t=ia[t];else if(t&&"string"==typeof t.name&&ia.hasOwnProperty(t.name)){var n=ia[t.name];"string"==typeof n&&(n={name:n}),t=Bi(n,t),t.name=n.name}else if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return e.resolveMode("application/xml");return"string"==typeof t?{name:t}:t||{name:"null"}},e.getMode=function(t,n){var n=e.resolveMode(n),r=ra[n.name];if(!r)return e.getMode(t,"text/plain");var i=r(t,n);if(oa.hasOwnProperty(n.name)){var o=oa[n.name];for(var a in o)o.hasOwnProperty(a)&&(i.hasOwnProperty(a)&&(i["_"+a]=i[a]),i[a]=o[a])}if(i.name=n.name,n.helperType&&(i.helperType=n.helperType),n.modeProps)for(var a in n.modeProps)i[a]=n.modeProps[a];return i},e.defineMode("null",function(){return{token:function(e){e.skipToEnd()}}}),e.defineMIME("text/plain","null");var oa=e.modeExtensions={};e.extendMode=function(e,t){var n=oa.hasOwnProperty(e)?oa[e]:oa[e]={};Ri(t,n)},e.defineExtension=function(t,n){e.prototype[t]=n},e.defineDocExtension=function(e,t){Aa.prototype[e]=t},e.defineOption=qn;var aa=[];e.defineInitHook=function(e){aa.push(e)};var sa=e.helpers={};e.registerHelper=function(t,n,r){sa.hasOwnProperty(t)||(sa[t]=e[t]={_global:[]}),sa[t][n]=r},e.registerGlobalHelper=function(t,n,r,i){e.registerHelper(t,n,i),sa[t]._global.push({pred:r,val:i})};var ua=e.copyState=function(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n},la=e.startState=function(e,t,n){return e.startState?e.startState(t,n):!0};e.innerMode=function(e,t){for(;e.innerMode;){var n=e.innerMode(t);if(!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}};var ca=e.commands={selectAll:function(e){e.setSelection(Lo(e.firstLine(),0),Lo(e.lastLine()),Ra)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ra)},killLine:function(e){Wn(e,function(t){if(t.empty()){var n=$r(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new Lo(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Lo(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=$r(e.doc,i.line-1).text;a&&e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Lo(i.line-1,a.length-1),Lo(i.line,1),"+transpose")}n.push(new pe(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){Nt(e,function(){for(var t=e.listSelections().length,n=0;t>n;n++){var r=e.listSelections()[n];e.replaceRange(e.doc.lineSeparator(),r.anchor,r.head,"+input"),e.indentLine(r.from().line+1,null,!0)}Ln(e)})},openLine:function(e){e.replaceSelection("\n","start")},toggleOverwrite:function(e){e.toggleOverwrite()}},pa=e.keyMap={};pa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},pa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},pa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},pa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},pa["default"]=ko?pa.macDefault:pa.pcDefault,e.normalizeKeyMap=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Ii(n.split(" "),zn),o=0;o=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){return this.post},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);return t>-1?(this.pos=t,!0):void 0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos0?null:(r&&t!==!1&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);return i(o)==i(e)?(t!==!1&&(this.pos+=e.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var va=0,ga=e.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++va};Ni(ga),ga.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&bt(e),Fi(this,"clear")){var n=this.find();n&&Ai(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=l,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Mt(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ne(e.doc)),e&&Ai(e,"markerCleared",e,this),t&&Dt(e),this.parent&&this.parent.clear()}},ga.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,r,i=0;in;++n){var i=this.lines[n];this.height-=i.height,Fr(i),Ai(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;re;++e)if(n(this.lines[e]))return!0}},Kr.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;ne){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Yr))){var s=[];this.collapse(s),this.children=[new Yr(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t=e){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;re){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var Ca=0,Aa=e.Doc=function(e,t,n,r){if(!(this instanceof Aa))return new Aa(e,t,n,r);null==n&&(n=0),Kr.call(this,[new Yr([new ba("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var i=Lo(n,0);this.sel=de(i),this.history=new oi(null),this.id=++Ca,this.modeOption=t,this.lineSep=r,this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),zr(this,{from:i,to:i,text:e}),Se(this,de(i),Ra)};Aa.prototype=Bi(Kr.prototype,{constructor:Aa,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r=0;o--)Sn(this,r[o]);s?we(this,s):this.cm&&Ln(this.cm)}),undo:Pt(function(){Fn(this,"undo")}),redo:Pt(function(){Fn(this,"redo")}),undoSelection:Pt(function(){Fn(this,"undo",!0)}),redoSelection:Pt(function(){Fn(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=me(this,e),t=me(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s=u.to||null==u.from&&i!=e.line||null!=u.from&&i==t.line&&u.from>=t.ch||n&&!n(u.marker)||r.push(u.marker.parent||u.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re?(t=e,!0):(e-=o,void++n)}),me(this,Lo(n,t))},indexFromPos:function(e){e=me(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.tos||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}},Ua=e.findColumn=function(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(" ",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}},Wa=[""],Ha=function(e){e.select()};Fo?Ha=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:Eo&&(Ha=function(e){try{e.select()}catch(t){}});var Ga,qa=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,za=e.isWordChar=function(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||qa.test(e))},Ya=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;Ga=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var Ka=e.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do if(11==t.nodeType&&(t=t.host),t==e)return!0;while(t=t.parentNode)};Eo&&11>bo&&(qi=function(){try{return document.activeElement}catch(e){return document.body}});var Ja,Xa,$a=e.rmClass=function(e,t){var n=e.className,r=zi(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}},Qa=e.addClass=function(e,t){var n=e.className;zi(t).test(n)||(e.className+=(n?" ":"")+t)},Za=!1,es=function(){if(Eo&&9>bo)return!1;var e=Wi("div");return"draggable"in e||"dragDrop"in e}(),ts=e.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;r>=t;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},ns=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(n){}return t&&t.parentElement()==e?0!=t.compareEndPoints("StartToEnd",t):!1},rs=function(){var e=Wi("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),is=null,os=e.keyNames={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};!function(){for(var e=0;10>e;e++)os[e+48]=os[e+96]=String(e);for(var e=65;90>=e;e++)os[e]=String.fromCharCode(e);for(var e=1;12>=e;e++)os[e+111]=os[e+63235]="F"+e}();var as,ss=function(){function e(e){return 247>=e?n.charAt(e):e>=1424&&1524>=e?"R":e>=1536&&1773>=e?r.charAt(e-1536):e>=1774&&2220>=e?"r":e>=8192&&8203>=e?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,s=/[Lb1n]/,u=/[1n]/,l="L";return function(n){if(!i.test(n))return!1;for(var r,c=n.length,p=[],f=0;c>f;++f)p.push(r=e(n.charCodeAt(f)));for(var f=0,d=l;c>f;++f){var r=p[f];"m"==r?p[f]=d:d=r}for(var f=0,h=l;c>f;++f){var r=p[f];"1"==r&&"r"==h?p[f]="n":a.test(r)&&(h=r,"r"==r&&(p[f]="R"))}for(var f=1,d=p[0];c-1>f;++f){var r=p[f];"+"==r&&"1"==d&&"1"==p[f+1]?p[f]="1":","!=r||d!=p[f+1]||"1"!=d&&"n"!=d||(p[f]=d),d=r}for(var f=0;c>f;++f){var r=p[f];if(","==r)p[f]="N";else if("%"==r){for(var m=f+1;c>m&&"%"==p[m];++m);for(var v=f&&"!"==p[f-1]||c>m&&"1"==p[m]?"1":"N",g=f;m>g;++g)p[g]=v;f=m-1}}for(var f=0,h=l;c>f;++f){var r=p[f];"L"==h&&"1"==r?p[f]="L":a.test(r)&&(h=r)}for(var f=0;c>f;++f)if(o.test(p[f])){for(var m=f+1;c>m&&o.test(p[m]);++m);for(var y="L"==(f?p[f-1]:l),E="L"==(c>m?p[m]:l),v=y||E?"L":"R",g=f;m>g;++g)p[g]=v;f=m-1}for(var b,x=[],f=0;c>f;)if(s.test(p[f])){var D=f;for(++f;c>f&&s.test(p[f]);++f);x.push(new t(0,D,f))}else{var C=f,A=x.length;for(++f;c>f&&"L"!=p[f];++f);for(var g=C;f>g;)if(u.test(p[g])){g>C&&x.splice(A,0,new t(1,C,g));var w=g;for(++g;f>g&&u.test(p[g]);++g);x.splice(A,0,new t(2,w,g)),C=g}else++g;f>C&&x.splice(A,0,new t(1,C,f))}return 1==x[0].level&&(b=n.match(/^\s+/))&&(x[0].from=b[0].length,x.unshift(new t(0,0,b[0].length))),1==Pi(x).level&&(b=n.match(/\s+$/))&&(Pi(x).to-=b[0].length,x.push(new t(0,c-b[0].length,c))),2==x[0].level&&x.unshift(new t(1,x[0].to,x[0].to)),x[0].level!=Pi(x).level&&x.push(new t(x[0].level,c,c)),x}}();return e.version="5.15.2",e})},function(e,t,n){(function(t){"use strict";var r=n(2),i=function(e){var n,i={};e instanceof Object&&!Array.isArray(e)?void 0:"production"!==t.env.NODE_ENV?r(!1,"keyMirror(...): Argument must be an object."):r(!1);for(n in e)e.hasOwnProperty(n)&&(i[n]=n);return i};e.exports=i}).call(t,n(1))},function(e,t,n){var r;(function(e,i){(function(){function o(e,t){if(e!==t){var n=null===e,r=e===_,i=e===e,o=null===t,a=t===_,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function a(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i-1;);return n}function p(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function f(e,t){return o(e.criteria,t.criteria)||e.index-t.index}function d(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,s=i.length,u=n.length;++r=u)return l;var c=n[r];return l*("asc"===c||c===!0?1:-1)}}return e.index-t.index}function h(e){return ze[e]}function m(e){return Ye[e]}function v(e,t,n){return t?e=Xe[e]:n&&(e=$e[e]),"\\"+e}function g(e){return"\\"+$e[e]}function y(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function x(e,t){for(var n=-1,r=e.length,i=-1,o=[];++nt,i=n?e.length:0,o=zn(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,p=c.length,f=0,d=Ca(u,this.__takeCount__);if(!n||W>i||i==u&&d==u)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;u--&&d>f;){l+=t;for(var m=-1,v=e[l];++m=W?mn(t):null,l=t.length;u&&(o=$e,a=!1,t=u);e:for(;++in&&(n=-n>i?0:i+n),r=r===_||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function _t(e,t){var n=[];return Ba(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Ft(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Nt(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++ir;)e=e[t[r++]];return r&&r==i?e:_}}function Mt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Ii(e)&&!E(t)?e!==e&&t!==t:Bt(e,t,Mt,n,r,i,o)}function Bt(e,t,n,r,i,o,a){var s=Ns(e),u=Ns(t),l=K,c=K;s||(l=ra.call(e),l==Y?l=te:l!=te&&(s=Hi(e))),u||(c=ra.call(t),c==Y?c=te:c!=te&&(u=Hi(t)));var p=l==te,f=c==te,d=l==c;if(d&&!s&&!p)return jn(e,t,l);if(!i){var h=p&&ta.call(e,"__wrapped__"),m=f&&ta.call(t,"__wrapped__");if(h||m)return n(h?e.value():e,m?t.value():t,r,i,o,a)}if(!d)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var g=(s?Ln:Vn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),g}function Rt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=pr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++rt&&(t=-t>i?0:i+t),n=n===_||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Uo(i);++r=W,u=a?mn():null,l=[];u?(r=$e,o=!1):(a=!1,u=t?[]:l);e:for(;++n=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Fo,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,u=t===_;o>i;){var l=ya((i+o)/2),c=n(e[l]),p=c!==_,f=c===c;if(a)var d=f||r;else d=s?f&&p&&(r||null!=c):u?f&&(r||p):null==c?!1:r?t>=c:t>c;d?i=l+1:o=l}return Ca(o,ka)}function an(e,t,n){if("function"!=typeof e)return Fo;if(t===_)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function un(e,t,n){for(var r=n.length,i=-1,o=Da(e.length-r,0),a=-1,s=t.length,u=Uo(s+o);++a2?n[i-2]:_,a=i>2?n[2]:_,s=i>1?n[i-1]:_;for("function"==typeof o?(o=an(o,s,5),i-=2):(o="function"==typeof s?s:_,i-=o?1:0),a&&Zn(n[0],n[1],a)&&(o=3>i?_:o,i=1);++r-1?n[o]:_}return Ft(n,r,e)}}function Dn(e){return function(t,n,r){return t&&t.length?(n=Un(n,r,3),a(t,n,e)):-1}}function Cn(e){return function(t,n,r){return n=Un(n,r,3),Ft(t,n,e,!0)}}function An(e){return function(){for(var t,n=arguments.length,i=e?n:-1,o=0,a=Uo(n);e?i--:++i=W)return t.plant(r).value();for(var i=0,o=n?a[i].apply(this,e):r;++iy){var A=s?et(s):_,w=Da(l-y,0),S=h?C:_,F=h?_:C,T=h?b:_,P=h?_:b;t|=h?I:M,t&=~(h?M:I),m||(t&=~(N|k));var O=[e,t,n,T,S,P,F,A,u,w],B=Pn.apply(_,O);return tr(e)&&Ha(B,O),B.placeholder=D,B}}var R=f?n:this,L=d?R[e]:e;return s&&(b=ur(b,s)),p&&u=t||!ba(t))return"";var i=t-r;return n=null==n?" ":n+"",go(n,va(i/n.length)).slice(0,i)}function In(e,t,n,r){function i(){for(var t=-1,s=arguments.length,u=-1,l=r.length,c=Uo(l+s);++uu))return!1;for(;++s-1&&e%1==0&&t>e}function Zn(e,t,n){if(!Ii(n))return!1;var r=typeof t;if("number"==r?$n(n)&&Qn(t,n.length):"string"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if("string"==n&&_e.test(e)||"number"==n)return!0;if(Ns(e))return!1;var r=!Se.test(e);return r||null!=t&&e in pr(t)}function tr(e){var n=Wn(e);if(!(n in i.prototype))return!1;var r=t[n];if(e===r)return!0;var o=Ua(r);return!!o&&e===o[0]}function nr(e){return"number"==typeof e&&e>-1&&e%1==0&&Pa>=e}function rr(e){return e===e&&!Ii(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=B>i,a=r==B&&n==P||r==B&&n==R&&e[7].length<=t[8]||r==(B|R)&&n==P;if(!o&&!a)return e;r&N&&(e[2]=t[2],i|=n&N?0:T);var s=t[3];if(s){var u=e[3];e[3]=u?un(u,s,t[4]):et(s),e[4]=u?x(e[3],z):et(t[4])}return s=t[5],s&&(u=e[5],e[5]=u?ln(u,s,t[6]):et(s),e[6]=u?x(e[5],z):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&B&&(e[8]=null==e[8]?t[8]:Ca(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===_?t:ks(e,t,or)}function ar(e,t){e=pr(e);for(var n=-1,r=t.length,i={};++nr;)a[++o]=Kt(e,r,r+=t);return a}function mr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++tt?0:t)):[]}function gr(e,t,n){var r=e?e.length:0;return r?((n?Zn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Un(t,n,3),!0,!0):[]}function Er(e,t,n){return e&&e.length?tn(e,Un(t,n,3),!0):[]}function br(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&Zn(e,t,n)&&(n=0,r=i),St(e,t,n,r)):[]}function xr(e){return e?e[0]:_}function Dr(e,t,n){var r=e?e.length:0;return n&&Zn(e,t,n)&&(t=!1),r?Nt(e,t):[]}function Cr(e){var t=e?e.length:0;return t?Nt(e,!0):[]}function Ar(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=0>n?Da(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return s(e,t,n||0)}function wr(e){return gr(e,1)}function Sr(e){var t=e?e.length:0;return t?e[t-1]:_}function _r(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(0>n?Da(r+n,0):Ca(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return y(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Fr(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Hn(),i=e.length;++n-1;)da.call(t,o,1);return t}function Nr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Un(t,n,3);++it?0:t)):[]}function Or(e,t,n){var r=e?e.length:0;return r?((n?Zn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Ir(e,t,n){return e&&e.length?tn(e,Un(t,n,3),!1,!0):[]}function Mr(e,t,n){return e&&e.length?tn(e,Un(t,n,3)):[]}function Br(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&"boolean"!=typeof t&&(r=n,n=Zn(e,t,r)?_:t,t=!1);var o=Un();return null==n&&o===bt||(n=o(n,r,3)),t&&Hn()==s?D(e,n):Zt(e,n)}function Rr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return $n(e)?(n=Da(e.length,n),!0):void 0});for(var r=Uo(n);++tn?Da(i+n,0):n||0,"string"==typeof e||!Ns(e)&&Wi(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Hn(e,t,n)>-1}function ei(e,t,n){var r=Ns(e)?ut:Lt;return t=Un(t,n,3),r(e,t)}function ti(e,t){return ei(e,Io(t))}function ni(e,t,n){var r=Ns(e)?st:_t;return t=Un(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Zn(e,t,n):null==t){e=cr(e);var r=e.length;return r>0?e[zt(0,r-1)]:_}var i=-1,o=Yi(e),r=o.length,a=r-1;for(t=Ca(0>t?0:+t||0,r);++i0&&(n=t.apply(this,arguments)),1>=e&&(t=_),n}}function di(e,t,n){function r(){d&&sa(d),l&&sa(l),m=0,l=d=h=_}function i(t,n){n&&sa(n),l=d=h=_,t&&(m=ms(),c=e.apply(f,u),d||l||(u=f=_))}function o(){var e=t-(ms()-p);0>=e||e>t?i(h,l):d=fa(o,e)}function a(){i(g,d)}function s(){if(u=arguments,p=ms(),f=this,h=g&&(d||!y),v===!1)var n=y&&!d;else{l||y||(m=p);var r=v-(p-m),i=0>=r||r>v;i?(l&&(l=sa(l)),m=p,c=e.apply(f,u)):l||(l=fa(a,r))}return i&&d?d=sa(d):d||t===v||(d=fa(o,t)),n&&(i=!0,c=e.apply(f,u)),!i||d||l||(u=f=_),c}var u,l,c,p,f,d,h,m=0,v=!1,g=!0;if("function"!=typeof e)throw new Xo(q);if(t=0>t?0:+t||0,n===!0){var y=!0;g=!1}else Ii(n)&&(y=!!n.leading,v="maxWait"in n&&Da(+n.maxWait||0,t),g="trailing"in n?!!n.trailing:g);return s.cancel=r,s}function hi(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Xo(q);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function mi(e){if("function"!=typeof e)throw new Xo(q);return function(){return!e.apply(this,arguments)}}function vi(e){return fi(2,e)}function gi(e,t){if("function"!=typeof e)throw new Xo(q);return t=Da(t===_?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=Da(n.length-t,0),o=Uo(i);++rt}function Ai(e,t){return e>=t}function wi(e){return E(e)&&$n(e)&&ta.call(e,"callee")&&!ca.call(e,"callee")}function Si(e){return e===!0||e===!1||E(e)&&ra.call(e)==J}function _i(e){return E(e)&&ra.call(e)==X}function Fi(e){return!!e&&1===e.nodeType&&E(e)&&!Vi(e)}function Ni(e){return null==e?!0:$n(e)&&(Ns(e)||Wi(e)||wi(e)||E(e)&&Oi(e.splice))?!e.length:!Vs(e).length}function ki(e,t,n,r){n="function"==typeof n?an(n,r,3):_;var i=n?n(e,t):_;return i===_?Mt(e,t,n):!!i}function Ti(e){return E(e)&&"string"==typeof e.message&&ra.call(e)==$}function Pi(e){return"number"==typeof e&&ba(e)}function Oi(e){return Ii(e)&&ra.call(e)==Q}function Ii(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Mi(e,t,n,r){return n="function"==typeof n?an(n,r,3):_,Rt(e,Gn(t),n)}function Bi(e){return ji(e)&&e!=+e}function Ri(e){return null==e?!1:Oi(e)?oa.test(ea.call(e)):E(e)&&Be.test(e)}function Li(e){return null===e}function ji(e){return"number"==typeof e||E(e)&&ra.call(e)==ee}function Vi(e){var t;if(!E(e)||ra.call(e)!=te||wi(e)||!ta.call(e,"constructor")&&(t=e.constructor,"function"==typeof t&&!(t instanceof t)))return!1;var n;return kt(e,function(e,t){n=t}),n===_||ta.call(e,n)}function Ui(e){return Ii(e)&&ra.call(e)==ne}function Wi(e){return"string"==typeof e||E(e)&&ra.call(e)==ie}function Hi(e){return E(e)&&nr(e.length)&&!!Ge[ra.call(e)]}function Gi(e){return e===_}function qi(e,t){return t>e}function zi(e,t){return t>=e}function Yi(e){var t=e?Wa(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return Et(e,eo(e))}function Ji(e,t,n){var r=Ma(e);return n&&Zn(e,t,n)&&(t=_),t?gt(r,t):r}function Xi(e){return Ot(e,eo(e))}function $i(e,t,n){var r=null==e?_:It(e,fr(t),t+"");return r===_?n:r}function Qi(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=fr(t),e=1==t.length?e:It(e,Kt(t,0,-1)),null==e)return!1;t=Sr(t),n=ta.call(e,t)}return n||nr(e.length)&&Qn(t,e.length)&&(Ns(e)||wi(e))}function Zi(e,t,n){n&&Zn(e,t,n)&&(t=_);for(var r=-1,i=Vs(e),o=i.length,a={};++r0;++r=Ca(t,n)&&en?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function fo(e){return e=l(e),e&&De.test(e)?e.replace(be,m):e}function ho(e){return e=l(e),e&&ke.test(e)?e.replace(Ne,v):e||"(?:)"}function mo(e,t,n){e=l(e),t=+t;var r=e.length;if(r>=t||!ba(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=On("",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Zn(e,t,n):null==t)?t=0:t&&(t=+t),e=bo(e),wa(e,t||(Me.test(e)?16:10))}function go(e,t){var n="";if(e=l(e),t=+t,1>t||!e||!ba(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=l(e),n=null==n?0:Ca(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function Eo(e,n,r){var i=t.templateSettings;r&&Zn(e,n,r)&&(n=r=_),e=l(e),n=vt(gt({},r||n),i,mt);var o,a,s=vt(gt({},n.imports),i.imports,mt),u=Vs(s),c=en(s,u),p=0,f=n.interpolate||je,d="__p += '",h=Ko((n.escape||je).source+"|"+f.source+"|"+(f===we?Oe:je).source+"|"+(n.evaluate||je).source+"|$","g"),m="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++He+"]")+"\n";e.replace(h,function(t,n,r,i,s,u){return r||(r=i),d+=e.slice(p,u).replace(Ve,g),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),p=u+t.length,t}),d+="';\n";var v=n.variable;v||(d="with (obj) {\n"+d+"\n}\n"), -d=(a?d.replace(ve,""):d).replace(ge,"$1").replace(ye,"$1;"),d="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")+d+"return __p\n}";var y=$s(function(){return Go(u,m+"return "+d).apply(_,c)});if(y.source=d,Ti(y))throw y;return y}function bo(e,t,n){var r=e;return(e=l(e))?(n?Zn(r,t,n):null==t)?e.slice(C(e),A(e)+1):(t+="",e.slice(c(e,t),p(e,t)+1)):e}function xo(e,t,n){var r=e;return e=l(e),e?(n?Zn(r,t,n):null==t)?e.slice(C(e)):e.slice(c(e,t+"")):e}function Do(e,t,n){var r=e;return e=l(e),e?(n?Zn(r,t,n):null==t)?e.slice(0,A(e)+1):e.slice(0,p(e,t+"")+1):e}function Co(e,t,n){n&&Zn(e,t,n)&&(t=_);var r=L,i=j;if(null!=t)if(Ii(t)){var o="separator"in t?t.separator:o;r="length"in t?+t.length||0:r,i="omission"in t?l(t.omission):i}else r=+t||0;if(e=l(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var s=e.slice(0,a);if(null==o)return s+i;if(Ui(o)){if(e.slice(a).search(o)){var u,c,p=e.slice(0,a);for(o.global||(o=Ko(o.source,(Ie.exec(o)||"")+"g")),o.lastIndex=0;u=o.exec(p);)c=u.index;s=s.slice(0,null==c?a:c)}}else if(e.indexOf(o,a)!=a){var f=s.lastIndexOf(o);f>-1&&(s=s.slice(0,f))}return s+i}function Ao(e){return e=l(e),e&&xe.test(e)?e.replace(Ee,w):e}function wo(e,t,n){return n&&Zn(e,t,n)&&(t=_),e=l(e),e.match(t||Ue)||[]}function So(e,t,n){return n&&Zn(e,t,n)&&(t=_),E(e)?No(e):bt(e,t)}function _o(e){return function(){return e}}function Fo(e){return e}function No(e){return jt(xt(e,!0))}function ko(e,t){return Vt(e,xt(t,!0))}function To(e,t,n){if(null==n){var r=Ii(t),i=r?Vs(t):_,o=i&&i.length?Ot(t,i):_;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ot(t,Vs(t)));var a=!0,s=-1,u=Oi(e),l=o.length;n===!1?a=!1:Ii(n)&&"chain"in n&&(a=n.chain);for(;++se||!ba(e))return[];var r=-1,i=Uo(Ca(e,Na));for(t=an(t,n,1);++rr?i[r]=t(r):t(r);return i}function Lo(e){var t=++na;return l(e)+t}function jo(e,t){return(+e||0)+(+t||0)}function Vo(e,t,n){return n&&Zn(e,t,n)&&(t=_),t=Un(t,n,3),1==t.length?dt(Ns(e)?e:cr(e),t):Qt(e,t)}e=e?it.defaults(rt.Object(),e,it.pick(rt,We)):rt;var Uo=e.Array,Wo=e.Date,Ho=e.Error,Go=e.Function,qo=e.Math,zo=e.Number,Yo=e.Object,Ko=e.RegExp,Jo=e.String,Xo=e.TypeError,$o=Uo.prototype,Qo=Yo.prototype,Zo=Jo.prototype,ea=Go.prototype.toString,ta=Qo.hasOwnProperty,na=0,ra=Qo.toString,ia=rt._,oa=Ko("^"+ea.call(ta).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),aa=e.ArrayBuffer,sa=e.clearTimeout,ua=e.parseFloat,la=qo.pow,ca=Qo.propertyIsEnumerable,pa=qn(e,"Set"),fa=e.setTimeout,da=$o.splice,ha=e.Uint8Array,ma=qn(e,"WeakMap"),va=qo.ceil,ga=qn(Yo,"create"),ya=qo.floor,Ea=qn(Uo,"isArray"),ba=e.isFinite,xa=qn(Yo,"keys"),Da=qo.max,Ca=qo.min,Aa=qn(Wo,"now"),wa=e.parseInt,Sa=qo.random,_a=zo.NEGATIVE_INFINITY,Fa=zo.POSITIVE_INFINITY,Na=4294967295,ka=Na-1,Ta=Na>>>1,Pa=9007199254740991,Oa=ma&&new ma,Ia={};t.support={};t.templateSettings={escape:Ce,evaluate:Ae,interpolate:we,variable:"",imports:{_:t}};var Ma=function(){function e(){}return function(t){if(Ii(t)){e.prototype=t;var n=new e;e.prototype=_}return n||{}}}(),Ba=fn(Tt),Ra=fn(Pt,!0),La=dn(),ja=dn(!0),Va=Oa?function(e,t){return Oa.set(e,t),e}:Fo,Ua=Oa?function(e){return Oa.get(e)}:Oo,Wa=Ht("length"),Ha=function(){var e=0,t=0;return function(n,r){var i=ms(),o=U-(i-t);if(t=i,o>0){if(++e>=V)return n}else e=0;return Va(n,r)}}(),Ga=gi(function(e,t){return E(e)&&$n(e)?Ct(e,Nt(t,!1,!0)):[]}),qa=Dn(),za=Dn(!0),Ya=gi(function(e){for(var t=e.length,n=t,r=Uo(p),i=Hn(),o=i==s,a=[];n--;){var u=e[n]=$n(u=e[n])?u:[];r[n]=o&&u.length>=120?mn(n&&u):null}var l=e[0],c=-1,p=l?l.length:0,f=r[0];e:for(;++c2?e[t-2]:_,r=t>1?e[t-1]:_;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):_,r=_),e.length=t,Lr(e,n,r)}),ts=gi(function(e){return e=Nt(e),this.thru(function(t){return Ze(Ns(t)?t:[pr(t)],e)})}),ns=gi(function(e,t){return yt(e,Nt(t))}),rs=cn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=xn(Ba),os=xn(Ra,!0),as=wn(tt,Ba),ss=wn(nt,Ra),us=cn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),ls=cn(function(e,t,n){e[n]=t}),cs=gi(function(e,t,n){var r=-1,i="function"==typeof t,o=er(t),a=$n(e)?Uo(e.length):[];return Ba(e,function(e){var s=i?t:o&&null!=e?e[t]:_;a[++r]=s?s.apply(e,n):Xn(e,t,n)}),a}),ps=cn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),fs=Tn(ct,Ba),ds=Tn(pt,Ra),hs=gi(function(e,t){if(null==e)return[];var n=t[2];return n&&Zn(t[0],t[1],n)&&(t.length=1),$t(e,Nt(t),[])}),ms=Aa||function(){return(new Wo).getTime()},vs=gi(function(e,t,n){var r=N;if(n.length){var i=x(n,vs.placeholder);r|=I}return Rn(e,r,t,n,i)}),gs=gi(function(e,t){t=t.length?Nt(t):Xi(e);for(var n=-1,r=t.length;++n0||0>t)?new i(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==_&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},i.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},i.prototype.toArray=function(){return this.take(Fa)},Tt(i.prototype,function(e,n){var o=/^(?:filter|map|reject)|While$/.test(n),a=/^(?:first|last)$/.test(n),s=t[a?"take"+("last"==n?"Right":""):n];s&&(t.prototype[n]=function(){var t=a?[1]:arguments,n=this.__chain__,u=this.__wrapped__,l=!!this.__actions__.length,c=u instanceof i,p=t[0],f=c||Ns(u);f&&o&&"function"==typeof p&&1!=p.length&&(c=f=!1);var d=function(e){return a&&n?s(e,1)[0]:s.apply(_,lt([e],t))},h={func:Hr,args:[d],thisArg:_},m=c&&!l;if(a&&!n)return m?(u=u.clone(),u.__actions__.push(h),e.call(u)):s.call(_,this.value())[0];if(!a&&f){u=m?u:new i(this);var v=e.apply(u,t);return v.__actions__.push(h),new r(v,n)}return this.thru(d)})}),tt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Zo:$o)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),Tt(i.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Ia[i]||(Ia[i]=[]);o.push({name:n,func:r})}}),Ia[Pn(_,k).name]=[{name:"wrapper",func:_}],i.prototype.clone=b,i.prototype.reverse=Z,i.prototype.value=re,t.prototype.chain=Gr,t.prototype.commit=qr,t.prototype.concat=ts,t.prototype.plant=zr,t.prototype.reverse=Yr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Jr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var _,F="3.10.1",N=1,k=2,T=4,P=8,O=16,I=32,M=64,B=128,R=256,L=30,j="...",V=150,U=16,W=200,H=1,G=2,q="Expected a function",z="__lodash_placeholder__",Y="[object Arguments]",K="[object Array]",J="[object Boolean]",X="[object Date]",$="[object Error]",Q="[object Function]",Z="[object Map]",ee="[object Number]",te="[object Object]",ne="[object RegExp]",re="[object Set]",ie="[object String]",oe="[object WeakMap]",ae="[object ArrayBuffer]",se="[object Float32Array]",ue="[object Float64Array]",le="[object Int8Array]",ce="[object Int16Array]",pe="[object Int32Array]",fe="[object Uint8Array]",de="[object Uint8ClampedArray]",he="[object Uint16Array]",me="[object Uint32Array]",ve=/\b__p \+= '';/g,ge=/\b(__p \+=) '' \+/g,ye=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ee=/&(?:amp|lt|gt|quot|#39|#96);/g,be=/[&<>"'`]/g,xe=RegExp(Ee.source),De=RegExp(be.source),Ce=/<%-([\s\S]+?)%>/g,Ae=/<%([\s\S]+?)%>/g,we=/<%=([\s\S]+?)%>/g,Se=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,_e=/^\w*$/,Fe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Ne=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,ke=RegExp(Ne.source),Te=/[\u0300-\u036f\ufe20-\ufe23]/g,Pe=/\\(\\)?/g,Oe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ie=/\w*$/,Me=/^0[xX]/,Be=/^\[object .+?Constructor\]$/,Re=/^\d+$/,Le=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,je=/($^)/,Ve=/['\n\r\u2028\u2029\\]/g,Ue=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),We=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],He=-1,Ge={};Ge[se]=Ge[ue]=Ge[le]=Ge[ce]=Ge[pe]=Ge[fe]=Ge[de]=Ge[he]=Ge[me]=!0,Ge[Y]=Ge[K]=Ge[ae]=Ge[J]=Ge[X]=Ge[$]=Ge[Q]=Ge[Z]=Ge[ee]=Ge[te]=Ge[ne]=Ge[re]=Ge[ie]=Ge[oe]=!1;var qe={};qe[Y]=qe[K]=qe[ae]=qe[J]=qe[X]=qe[se]=qe[ue]=qe[le]=qe[ce]=qe[pe]=qe[ee]=qe[te]=qe[ne]=qe[ie]=qe[fe]=qe[de]=qe[he]=qe[me]=!0,qe[$]=qe[Q]=qe[Z]=qe[re]=qe[oe]=!1;var ze={"À":"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"},Ye={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ke={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Je={"function":!0,object:!0},Xe={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},$e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qe=Je[typeof t]&&t&&!t.nodeType&&t,Ze=Je[typeof e]&&e&&!e.nodeType&&e,et=Qe&&Ze&&"object"==typeof i&&i&&i.Object&&i,tt=Je[typeof self]&&self&&self.Object&&self,nt=Je[typeof window]&&window&&window.Object&&window,rt=(Ze&&Ze.exports===Qe&&Qe,et||nt!==(this&&this.window)&&nt||tt||this),it=S();rt._=it,r=function(){return it}.call(t,n,t,e),!(r!==_&&(e.exports=r))}).call(this)}).call(t,n(210)(e),function(){return this}())},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=h++,f[e[v]]={}),f[e[v]]}var i=n(12),o=n(21),a=n(70),s=n(169),u=n(8),l=n(91),c=n(3),p=n(52),f={},d=!1,h=0,m={topAbort:"abort",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),g=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),s=a.registrationNameDependencies[e],u=i.topLevelTypes,l=0;l":">","<":"<",'"':""","'":"'"},o=/[&><"']/g;e.exports=r},function(e,t,n){"use strict";var r=n(5),i=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,a=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(a=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(a=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=a},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(){}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(97),a=r(o),s=n(203),u=r(s),l=n(202),c=r(l),p=n(201),f=r(p),d=n(96),h=r(d),m=n(98),v=r(m);"production"!==e.env.NODE_ENV&&"string"==typeof i.name&&"isCrushed"!==i.name&&(0,v["default"])("You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build."),t.createStore=a["default"],t.combineReducers=u["default"],t.bindActionCreators=c["default"],t.applyMiddleware=f["default"],t.compose=h["default"]}).call(t,n(1))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.connect=t.Provider=void 0;var i=n(133),o=r(i),a=n(134),s=r(a);t.Provider=o["default"],t.connect=s["default"]},function(e,t,n){(function(t){"use strict";function r(){this._callbacks=null,this._contexts=null}var i=n(15),o=n(3),a=n(2);o(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,n=this._contexts;if(e){e.length!==n.length?"production"!==t.env.NODE_ENV?a(!1,"Mismatched list of contexts in callback queue"):a(!1):void 0,this._callbacks=null,this._contexts=null;for(var r=0;rt||e.hasOverloadedBooleanValue&&t===!1}var o=n(16),a=n(8),s=n(199),u=n(4),l=/^[a-zA-Z_][\w\.\-]*$/,c={},p={};if("production"!==t.env.NODE_ENV)var f={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},d={},h=function(e){if(!(f.hasOwnProperty(e)&&f[e]||d.hasOwnProperty(e)&&d[e])){d[e]=!0;var n=e.toLowerCase(),r=o.isCustomAttribute(n)?n:o.getPossibleStandardName.hasOwnProperty(n)?o.getPossibleStandardName[n]:null;"production"!==t.env.NODE_ENV?u(null==r,"Unknown DOM property %s. Did you mean %s?",e,r):void 0}};var m={createMarkupForID:function(e){return o.ID_ATTRIBUTE_NAME+"="+s(e)},setAttributeForID:function(e,t){e.setAttribute(o.ID_ATTRIBUTE_NAME,t)},createMarkupForProperty:function(e,n){var r=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(r){if(i(r,n))return"";var a=r.attributeName;return r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?a+'=""':a+"="+s(n)}return o.isCustomAttribute(e)?null==n?"":e+"="+s(n):("production"!==t.env.NODE_ENV&&h(e),null)},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+s(t):""},setValueForProperty:function(e,n,r){var a=o.properties.hasOwnProperty(n)?o.properties[n]:null;if(a){var s=a.mutationMethod;if(s)s(e,r);else if(i(a,r))this.deleteValueForProperty(e,n);else if(a.mustUseAttribute){var u=a.attributeName,l=a.attributeNamespace;l?e.setAttributeNS(l,u,""+r):a.hasBooleanValue||a.hasOverloadedBooleanValue&&r===!0?e.setAttribute(u,""):e.setAttribute(u,""+r)}else{var c=a.propertyName;a.hasSideEffects&&""+e[c]==""+r||(e[c]=r)}}else o.isCustomAttribute(n)?m.setValueForAttribute(e,n,r):"production"!==t.env.NODE_ENV&&h(n)},setValueForAttribute:function(e,t,n){r(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,n){var r=o.properties.hasOwnProperty(n)?o.properties[n]:null;if(r){var i=r.mutationMethod;if(i)i(e,void 0);else if(r.mustUseAttribute)e.removeAttribute(r.attributeName);else{var a=r.propertyName,s=o.getDefaultValueForProperty(e.nodeName,a);r.hasSideEffects&&""+e[a]===s||(e[a]=s)}}else o.isCustomAttribute(n)?e.removeAttribute(n):"production"!==t.env.NODE_ENV&&h(n)}};a.measureMethods(m,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),e.exports=m}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?"production"!==t.env.NODE_ENV?l(!1,"Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don't want to use valueLink and vice versa."):l(!1):void 0}function i(e){r(e),null!=e.value||null!=e.onChange?"production"!==t.env.NODE_ENV?l(!1,"Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don't want to use valueLink."):l(!1):void 0}function o(e){r(e),null!=e.checked||null!=e.onChange?"production"!==t.env.NODE_ENV?l(!1,"Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don't want to use checkedLink"):l(!1):void 0}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(89),u=n(30),l=n(2),c=n(4),p={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},f={value:function(e,t,n){return!e[t]||p[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:s.func},d={},h={checkPropTypes:function(e,n,r){for(var i in f){if(f.hasOwnProperty(i))var o=f[i](n,i,e,u.prop);if(o instanceof Error&&!(o.message in d)){d[o.message]=!0;var s=a(r);"production"!==t.env.NODE_ENV?c(!1,"Failed form propType: %s%s",o.message,s):void 0}}},getValue:function(e){return e.valueLink?(i(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(o(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(i(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(o(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=h}).call(t,n(1))},function(e,t,n){"use strict";var r=n(43),i=n(6),o={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:r.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){i.purgeID(e)}};e.exports=o},function(e,t,n){(function(t){"use strict";var r=n(2),i=!1,o={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){i?"production"!==t.env.NODE_ENV?r(!1,"ReactCompositeComponent: injectEnvironment() can only be called once."):r(!1):void 0,o.unmountIDFromEnvironment=e.unmountIDFromEnvironment,o.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,o.processChildrenUpdates=e.processChildrenUpdates, -i=!0}}};e.exports=o}).call(t,n(1))},function(e,t,n){(function(t){"use strict";var r=n(69),i=n(39),o=n(6),a=n(8),s=n(2),u={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},l={updatePropertyByID:function(e,n,r){var a=o.getNode(e);u.hasOwnProperty(n)?"production"!==t.env.NODE_ENV?s(!1,"updatePropertyByID(...): %s",u[n]):s(!1):void 0,null!=r?i.setValueForProperty(a,n,r):i.deleteValueForProperty(a,n)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=o.getNode(e);r.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return r?!!n[r]:!1}function r(e){return n}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[i]);return"function"==typeof t?t:void 0}var r="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=n},function(e,t,n){(function(t){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function i(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function o(e){var n;if(null===e||e===!1)n=new s(o);else if("object"==typeof e){var a=e;!a||"function"!=typeof a.type&&"string"!=typeof a.type?"production"!==t.env.NODE_ENV?c(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==a.type?a.type:typeof a.type,r(a._owner)):c(!1):void 0,n="string"==typeof a.type?u.createInternalComponent(a):i(a.type)?new a.type(a):new f}else"string"==typeof e||"number"==typeof e?n=u.createInstanceForText(e):"production"!==t.env.NODE_ENV?c(!1,"Encountered invalid React node of type %s",typeof e):c(!1);return"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?p("function"==typeof n.construct&&"function"==typeof n.mountComponent&&"function"==typeof n.receiveComponent&&"function"==typeof n.unmountComponent,"Only React Components can be mounted."):void 0),n.construct(e),n._mountIndex=0,n._mountImage=null,"production"!==t.env.NODE_ENV&&(n._isOwnerNecessary=!1,n._warnedAboutRefsInRender=!1),"production"!==t.env.NODE_ENV&&Object.preventExtensions&&Object.preventExtensions(n),n}var a=n(158),s=n(81),u=n(87),l=n(3),c=n(2),p=n(4),f=function(){};l(f.prototype,a.Mixin,{_instantiateReactComponent:o}),e.exports=o}).call(t,n(1))},function(e,t,n){"use strict";/** +!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){e.exports=n(117)},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}e.exports=r},function(e,t,n){"use strict";var r=n(10),i=r;e.exports=i},function(e,t){"use strict";function n(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,i=1;i1){for(var d=Array(p),h=0;h1){for(var m=Array(h),v=0;v1){var t=e.indexOf(d,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,i){var o=l(e,t);o!==e&&c(e,o,n,r,!1,!0),o!==t&&c(o,t,n,i,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(c("",e,t,n,!0,!1),c(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(c("",e,t,n,!0,!0),c(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){c("",e,t,n,!0,!1)},getFirstCommonAncestorID:l,_getNextDescendantID:u,isAncestorIDOf:a,SEPARATOR:d};e.exports=v},function(e,t){"use strict";function n(e){return"string"==typeof e&&r.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=/-webkit-|-moz-|-ms-/;e.exports=t.default},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=n(80),i=n(206),o=n(93),a=n(102),s=n(103),u=n(1),l=(n(2),{}),c=null,f=function(e,t){e&&(i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},p=function(e){return f(e,!0)},d=function(e){return f(e,!1)},h=null,m={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(e){h=e},getInstanceHandle:function(){return h},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,n){"function"!=typeof n?u(!1):void 0;var i=l[t]||(l[t]={});i[e]=n;var o=r.registrationNameModules[t];o&&o.didPutListener&&o.didPutListener(e,t,n)},getListener:function(e,t){var n=l[t];return n&&n[e]},deleteListener:function(e,t){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var i=l[t];i&&delete i[e]},deleteAllListeners:function(e){for(var t in l)if(l[t][e]){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete l[t][e]}},extractEvents:function(e,t,n,i,o){for(var s,u=r.plugins,l=0;l0;--t)e.removeChild(e.firstChild);return e}function n(e,n){return t(e).appendChild(n)}function r(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}function p(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function h(e){for(;Xa.length<=e;)Xa.push(m(Xa)+" ");return Xa[e]}function m(e){return e[e.length-1]}function v(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||$a.test(e))}function E(e,t){return t?!!(t.source.indexOf("\\w")>-1&&x(e))||t.test(e):x(e)}function A(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function C(e){return e.charCodeAt(0)>=768&&Ja.test(e)}function S(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function w(e,t,n){var o=this;this.input=n,o.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=i("div",null,"CodeMirror-code"),o.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=r("div",null,"CodeMirror-cursors"),o.measure=r("div",null,"CodeMirror-measure"),o.lineMeasure=r("div",null,"CodeMirror-measure"),o.lineSpace=i("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var a=i("div",[o.lineSpace],"CodeMirror-lines");o.mover=r("div",[a],null,"position: relative"),o.sizer=r("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=r("div",null,null,"position: absolute; height: "+Ga+"px; width: 1px;"),o.gutters=r("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=r("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=r("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),xa&&Ea<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),Aa||va&&Pa||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function _(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?I(n,_(e,n).text.length):V(t,_(e,t.line).text.length)}function V(e,t){var n=e.ch;return null==n||n>t?I(e.line,t):n<0?I(e.line,0):e}function G(e,t){for(var n=[],r=0;r=t:o.to>t);(r||(r=[])).push(new q(a,o.from,u?null:o.to))}}return r}function Q(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var u=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var E=0;E0)){var c=[u,1],f=R(l.from,s.from),d=R(l.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:l.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&c.push({from:s.to,to:l.to}),i.splice.apply(i,c),u+=c.length-3}}return i}function ne(e){var t=e.markedSpans;if(t){for(var n=0;n=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?R(l.to,n)>=0:R(l.to,n)>0)||c>=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?R(l.from,r)<=0:R(l.from,r)<0)))return!0}}}function fe(e){for(var t;t=ue(e);)e=t.find(-1,!0).line;return e}function pe(e){for(var t;t=le(e);)e=t.find(1,!0).line;return e}function de(e){for(var t,n;t=le(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function he(e,t){var n=_(e,t),r=fe(n);return n==r?t:P(r)}function me(e,t){if(t>e.lastLine())return t;var n,r=_(e,t);if(!ve(e,r))return t;for(;n=le(r);)r=n.find(1,!0).line;return P(r)+1}function ve(e,t){var n=Za&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function Ee(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}function Ae(e,t,n){var r;es=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:es=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:es=i)}return null!=r?r:es}function Ce(e,t){var n=e.order;return null==n&&(n=e.order=ts(e.text,t)),n}function Se(e,t){return e._handlers&&e._handlers[t]||ns}function De(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=p(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function we(e,t){var n=Se(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function Me(e){e.prototype.on=function(e,t){rs(this,e,t)},e.prototype.off=function(e,t){De(this,e,t)}}function Pe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Fe(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Te(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Be(e){Pe(e),Fe(e)}function Ie(e){return e.target||e.srcElement}function Re(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),Fa&&e.ctrlKey&&1==t&&(t=3),t}function Ne(e){if(null==za){var t=r("span","​");n(e,r("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(za=t.offsetWidth<=1&&t.offsetHeight>2&&!(xa&&Ea<8))}var i=za?r("span","​"):r("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function Le(e){if(null!=Va)return Va;var r=n(e,document.createTextNode("AخA")),i=Ra(r,0,1).getBoundingClientRect(),o=Ra(r,1,2).getBoundingClientRect();return t(e),!(!i||i.left==i.right)&&(Va=o.right-i.right<3)}function je(e){if(null!=us)return us;var t=n(e,r("span","x")),i=t.getBoundingClientRect(),o=Ra(t,0,1).getBoundingClientRect();return us=Math.abs(i.left-o.left)>1}function We(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),ls[e]=t}function Ue(e,t){cs[e]=t}function ze(e){if("string"==typeof e&&cs.hasOwnProperty(e))e=cs[e];else if(e&&"string"==typeof e.name&&cs.hasOwnProperty(e.name)){var t=cs[e.name];"string"==typeof t&&(t={name:t}),e=b(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return ze("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return ze("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ve(e,t){t=ze(t);var n=ls[t.name];if(!n)return Ve(e,"text/plain");var r=n(e,t);if(fs.hasOwnProperty(t.name)){var i=fs[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}function Ge(e,t){var n=fs.hasOwnProperty(e)?fs[e]:fs[e]={};c(t,n)}function He(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Ye(e,t){for(var n;e.innerMode&&(n=e.innerMode(t),n&&n.mode!=e);)t=n.state,e=n.mode;return n||{mode:e,state:t}}function qe(e,t,n){return!e.startState||e.startState(t,n)}function Ke(e,t,n,r){var i=[e.state.modeGen],o={};nt(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],u=1,l=0;n.state=!0,nt(e,t.text,s.mode,n,function(e,t){for(var n=u;le&&i.splice(u,1,e,i[u+1],r),u+=2,l=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,u-n,e,"overlay "+t),u=n+2;else for(;ne.options.maxHighlightLength&&He(e.doc.mode,r.state),o=Ke(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function $e(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new hs(r,!0,t);var o=rt(e,t,n),a=o>r.first&&_(r,o-1).stateAfter,s=a?hs.fromSaved(r,a,o):new hs(r,qe(r.mode),o);return r.iter(o,t,function(n){Je(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function et(e,t,n,r){var i,o=e.doc,a=o.mode;t=z(o,t);var s,u=_(o,t.line),l=$e(e,t.line,n),c=new ps(u.text,e.options.tabSize,l);for(r&&(s=[]);(r||c.pose.options.maxHighlightLength?(s=!1,a&&Je(e,t,r,f.pos),f.pos=t.length,u=null):u=tt(Ze(n,f,r.state,p),o),p){var d=p[0].name;d&&(u="m-"+(u?d+" "+u:d))}if(!s||c!=u){for(;la;--s){if(s<=o.first)return o.first;var u=_(o,s-1),l=u.stateAfter;if(l&&(!n||s+(l instanceof ds?l.lookAhead:0)<=o.modeFrontier))return s;var c=f(u.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}function it(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=_(e,r).stateAfter;if(i&&(!(i instanceof ds)||r+i.lookAhead1&&!/ /.test(e))return e;for(var n=t,r="",i=0;il&&f.from<=l));p++);if(f.to>=c)return e(n,r,i,o,a,s,u);e(n,r.slice(0,f.to-l),i,o,null,s,u),o=null,r=r.slice(f.to-l),l=f.to}}}function dt(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function ht(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,u,l,c,f,p,d=i.length,h=0,m=1,v="",g=0;;){if(g==h){u=l=c=f=s="",p=null,g=1/0;for(var y=[],b=void 0,x=0;xh||A.collapsed&&E.to==h&&E.from==h)?(null!=E.to&&E.to!=h&&g>E.to&&(g=E.to,l=""),A.className&&(u+=" "+A.className),A.css&&(s=(s?s+";":"")+A.css),A.startStyle&&E.from==h&&(c+=" "+A.startStyle),A.endStyle&&E.to==g&&(b||(b=[])).push(A.endStyle,E.to),A.title&&!f&&(f=A.title),A.collapsed&&(!p||ae(p.marker,A)<0)&&(p=E)):E.from>h&&g>E.from&&(g=E.from)}if(b)for(var C=0;C=d)break;for(var D=Math.min(d,g);;){if(v){var w=h+v.length;if(!p){var _=w>D?v.slice(0,D-h):v;t.addToken(t,_,a?a+u:u,c,h+_.length==g?l:"",f,s)}if(w>=D){v=v.slice(D-h),h=D;break}h=w,c=""}v=i.slice(o,o=n[m++]),a=st(n[m++],t.cm.options)}}else for(var k=1;k2&&o.push((u.bottom+l.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Vt(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Gt(e,t){t=fe(t);var r=P(t),i=e.display.externalMeasured=new mt(e.doc,t,r);i.lineN=r;var o=i.built=ut(e,i);return i.text=o.pre,n(e.display.lineMeasure,o.pre),i}function Ht(e,t,n,r){return Kt(e,qt(e,t),n,r)}function Yt(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=u-s,i=o-1,t>=u&&(a="right")),null!=i){if(r=e[l+2],s==u&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)r=e[(l-=3)+2],a="left";if("right"==n&&i==u-s)for(;l=0&&(n=e[i]).left==n.right;i--);return n}function Jt(e,t,n,r){var i,o=Xt(t.map,n,r),a=o.node,s=o.start,u=o.end,l=o.collapse;if(3==a.nodeType){for(var c=0;c<4;c++){for(;s&&C(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+u0&&(l=r="right");var f;i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==r?f.length-1:0]:a.getBoundingClientRect()}if(xa&&Ea<9&&!s&&(!i||!i.left&&!i.right)){var p=a.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+xn(e.display),top:p.top,bottom:p.bottom}:As}for(var d=i.top-t.rect.top,h=i.bottom-t.rect.top,m=(d+h)/2,v=t.view.measure.heights,g=0;g=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!u)return a("before"==c?l-1:l,"before"==c);var f=Ae(u,l,c),p=es,d=s(l,f,"before"==c);return null!=p&&(d.other=s(l,p,"before"!=c)),d}function cn(e,t){var n=0;t=z(e.doc,t),e.options.lineWrapping||(n=xn(e.display)*t.ch);var r=_(e.doc,t.line),i=ye(r)+Rt(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function fn(e,t,n,r,i){var o=I(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function pn(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return fn(r.first,0,null,!0,-1);var i=F(r,n),o=r.first+r.size-1;if(i>o)return fn(r.first+r.size-1,_(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=_(r,i);;){var s=vn(e,a,i,t,n),u=le(a),l=u&&u.find(0,!0);if(!u||!(s.ch>l.from.ch||s.ch==l.from.ch&&s.xRel>0))return s;i=P(a=l.to.line)}}function dn(e,t,n,r){r-=on(t);var i=t.text.length,o=D(function(t){return Kt(e,n,t-1).bottom<=r},i,0);return i=D(function(t){return Kt(e,n,t).top>r},o,i),{begin:o,end:i}}function hn(e,t,n,r){n||(n=qt(e,t));var i=an(e,t,Kt(e,n,r),"line").top;return dn(e,t,n,i)}function mn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function vn(e,t,n,r,i){i-=ye(t);var o=qt(e,t),a=on(t),s=0,u=t.text.length,l=!0,c=Ce(t,e.doc.direction);if(c){var f=(e.options.lineWrapping?yn:gn)(e,t,n,o,c,r,i);l=1!=f.level,s=l?f.from:f.to-1,u=l?f.to:f.from-1}var p,d,h=null,m=null,v=D(function(t){var n=Kt(e,o,t);return n.top+=a,n.bottom+=a,!!mn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)},s,u),g=!1;if(m){var y=r-m.left=x.bottom}return v=S(t.text,v,1),fn(n,v,d,g,r-p)}function gn(e,t,n,r,i,o,a){var s=D(function(s){var u=i[s],l=1!=u.level;return mn(ln(e,I(n,l?u.to:u.from,l?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),u=i[s];if(s>0){var l=1!=u.level,c=ln(e,I(n,l?u.from:u.to,l?"after":"before"),"line",t,r);mn(c,o,a,!0)&&c.top>a&&(u=i[s-1])}return u}function yn(e,t,n,r,i,o,a){var s=dn(e,t,r,a),u=s.begin,l=s.end;/\s/.test(t.text.charAt(l-1))&&l--;for(var c=null,f=null,p=0;p=l||d.to<=u)){var h=1!=d.level,m=Kt(e,r,h?Math.min(l,d.to)-1:Math.max(u,d.from)).right,v=mv)&&(c=d,f=v)}}return c||(c=i[i.length-1]),c.froml&&(c={from:c.from,to:l,level:c.level}),c}function bn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==gs){gs=r("pre");for(var i=0;i<49;++i)gs.appendChild(document.createTextNode("x")),gs.appendChild(r("br"));gs.appendChild(document.createTextNode("x"))}n(e.measure,gs);var o=gs.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),t(e.measure),o||1}function xn(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=r("span","xxxxxxxxxx"),i=r("pre",[t]);n(e.measure,i);var o=t.getBoundingClientRect(),a=(o.right-o.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function En(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:An(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function An(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Cn(e){var t=bn(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/xn(e.display)-3);return function(i){if(ve(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||s.to().line0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Tn(e){e.state.focused||(e.display.input.focus(),In(e))}function Bn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Rn(e))},100)}function In(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(we(e,"focus",e,t),e.state.focused=!0,s(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),Aa&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Fn(e))}function Rn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(we(e,"blur",e,t),e.state.focused=!1,ja(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Nn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||u<-.005)&&(M(i.line,o),Ln(i.line),i.rest))for(var l=0;l=a&&(o=F(t,ye(_(t,u))-e.wrapper.clientHeight),a=u)}return{from:o,to:Math.max(a,o+1)}}function Wn(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=An(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!ka){var a=r("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Rt(e.display))+"px;\n height: "+(t.bottom-t.top+jt(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(o),e.display.lineSpace.removeChild(a)}}}function Vn(e,t,n,r){null==r&&(r=0);var i;e.options.lineWrapping||t!=n||(t=t.ch?I(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?I(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=ln(e,t),u=n&&n!=t?ln(e,n):s;i={left:Math.min(s.left,u.left),top:Math.min(s.top,u.top)-r,right:Math.max(s.left,u.left),bottom:Math.max(s.bottom,u.bottom)+r};var l=Hn(e,i),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=l.scrollTop&&(Qn(e,l.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=l.scrollLeft&&(er(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function Gn(e,t){var n=Hn(e,t);null!=n.scrollTop&&Qn(e,n.scrollTop),null!=n.scrollLeft&&er(e,n.scrollLeft)}function Hn(e,t){var n=e.display,r=bn(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Ut(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Nt(n),u=t.tops-r;if(t.topi+o){var c=Math.min(t.top,(l?s:t.bottom)-o);c!=i&&(a.scrollTop=c)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Wt(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Yn(e,t){null!=t&&($n(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function qn(e){$n(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Kn(e,t,n){null==t&&null==n||$n(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Xn(e,t){$n(e),e.curOp.scrollToPos=t}function $n(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=cn(e,t.from),r=cn(e,t.to);Jn(e,n,r,t.margin)}}function Jn(e,t,n,r){var i=Hn(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Kn(e,i.scrollLeft,i.scrollTop)}function Qn(e,t){Math.abs(e.doc.scrollTop-t)<2||(va||Mr(e,{top:t}),Zn(e,t,!0),va&&Mr(e),Cr(e,100))}function Zn(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function er(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Wn(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function tr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Nt(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+jt(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function nr(e,t){t||(t=tr(e));var n=e.display.barWidth,r=e.display.barHeight;rr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Nn(e),rr(e,tr(e)),n=e.display.barWidth,r=e.display.barHeight}function rr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function ir(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&ja(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ds[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),rs(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?er(e,t):Qn(e,t)},e),e.display.scrollbars.addClass&&s(e.display.wrapper,e.display.scrollbars.addClass)}function or(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ws},gt(e.curOp)}function ar(e){var t=e.curOp;bt(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new _s(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function lr(e){e.updatedDisplay=e.mustUpdate&&kr(e.cm,e.update)}function cr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Nn(t),e.barMeasure=tr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Ht(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+jt(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Wt(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function fr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeftt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Za&&he(e.doc,t)i.viewFrom?br(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)br(e);else if(t<=i.viewFrom){var o=xr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):br(e)}else if(n>=i.viewTo){var a=xr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):br(e)}else{var s=xr(e,t,t,-1),u=xr(e,n,n+r,1);s&&u?(i.view=i.view.slice(0,s.index).concat(vt(e,s.lineN,u.lineN)).concat(i.view.slice(u.index)),i.viewTo+=r):br(e)}var l=i.externalMeasured;l&&(n=i.lineN&&t=r.viewTo)){var o=r.view[wn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);p(a,n)==-1&&a.push(n)}}}function br(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function xr(e,t,n,r){var i,o=wn(e,t),a=e.display.view;if(!Za||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,u=0;u0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;he(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function Er(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=vt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=vt(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,wn(e,n)))),r.viewTo=n}function Ar(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=$e(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?He(t.mode,r.state):null,u=Ke(e,o,r,!0);s&&(r.state=s),o.styles=u.styles;var l=o.styleClasses,c=u.classes;c?o.styleClasses=c:l&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||l!=c&&(!l||!c||l.bgClass!=c.bgClass||l.textClass!=c.textClass),p=0;!f&&pn)return Cr(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&dr(e,function(){for(var t=0;t=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==Ar(e))return!1;Un(e)&&(br(e),n.dims=En(e));var o=i.first+i.size,a=Math.max(n.visible.from-e.options.viewportMargin,i.first),s=Math.min(o,n.visible.to+e.options.viewportMargin);r.viewFroms&&r.viewTo-s<20&&(s=Math.min(o,r.viewTo)),Za&&(a=he(e.doc,a),s=me(e.doc,s));var u=a!=r.viewFrom||s!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;Er(e,a,s),r.viewOffset=ye(_(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var l=Ar(e);if(!u&&0==l&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=wr(e);return l>4&&(r.lineDiv.style.display="none"),Pr(e,r.updateLineNumbers,n.dims),l>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,_r(c),t(r.cursorDiv),t(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,u&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,Cr(e,400)),r.updateLineNumbers=null,!0}function Or(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Wt(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Nt(e.display)-Ut(e),n.top)}),t.visible=jn(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&kr(e,t);r=!1){Nn(e);var i=tr(e);_n(e),nr(e,i),Tr(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Mr(e,t){var n=new _s(e,t);if(kr(e,n)){Nn(e),Or(e,n);var r=tr(e);_n(e),nr(e,r),Tr(e,r),n.finish()}}function Pr(e,n,r){function i(t){var n=t.nextSibling;return Aa&&Fa&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var o=e.display,a=e.options.lineNumbers,s=o.lineDiv,u=s.firstChild,l=o.view,c=o.viewFrom,f=0;f-1&&(h=!1),At(e,d,c,r)),h&&(t(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(B(e.options,c)))),u=d.node.nextSibling}else{var m=Mt(e,d,c,r);s.insertBefore(m,u)}c+=d.size}for(;u;)u=i(u)}function Fr(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function Tr(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+jt(e)+"px"}function Br(e){var n=e.display.gutters,i=e.options.gutters;t(n);for(var o=0;o-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function Rr(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Nr(e){var t=Rr(e);return t.x*=Os,t.y*=Os,t}function Lr(e,t){var n=Rr(t),r=n.x,i=n.y,o=e.display,a=o.scroller,s=a.scrollWidth>a.clientWidth,u=a.scrollHeight>a.clientHeight;if(r&&s||i&&u){if(i&&Fa&&Aa)e:for(var l=t.target,c=o.view;l!=a;l=l.parentNode)for(var f=0;f=0){var a=W(o.from(),i.from()),s=j(o.to(),i.to()),u=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new Ps(u?s:a,u?a:s))}}return new Ms(e,t)}function Wr(e,t){return new Ms([new Ps(e,t||e)],0)}function Ur(e){return e.text?I(e.from.line+e.text.length-1,m(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function zr(e,t){if(R(e,t.from)<0)return e;if(R(e,t.to)<=0)return Ur(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Ur(t).ch-t.to.ch),I(n,r)}function Vr(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,h-1),e.insert(s.line+1,y)}xt(e,"change",e,t)}function $r(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),m(e.done)):void 0}function ii(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>s-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=ri(i,i.lastOp==r)))a=m(o.changes),0==R(t.from,t.to)&&0==R(t.from,a.to)?a.to=Ur(t):o.changes.push(ti(e,t));else{var u=m(i.done);for(u&&u.ranges||si(e.sel,i.done),o={changes:[ti(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||we(e,"historyAdded")}function oi(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function ai(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||oi(e,o,m(i.done),t))?i.done[i.done.length-1]=t:si(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&r.clearRedo!==!1&&ni(i.undone)}function si(e,t){var n=m(t);n&&n.ranges&&n.equals(e)||t.push(e)}function ui(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function li(e){if(!e)return null;for(var t,n=0;n-1&&(m(s)[f]=l[f],delete l[f])}}}return r}function di(e,t,n,r){if(r){var i=e.anchor;if(n){var o=R(t,i)<0;o!=R(n,i)<0?(i=t,t=n):o!=R(t,n)<0&&(t=n)}return new Ps(i,t)}return new Ps(n||t,t)}function hi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),xi(e,new Ms([di(e.sel.primary(),t,n,i)],0),r)}function mi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(we(u,"beforeCursorEnter"),u.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!u.atomic)continue;if(n){var l=u.find(r<0?1:-1),c=void 0;if((r<0?u.inclusiveRight:u.inclusiveLeft)&&(l=_i(e,l,-r,l&&l.line==t.line?o:null)),l&&l.line==t.line&&(c=R(l,n))&&(r<0?c<0:c>0))return Di(e,l,t,r,i)}var f=u.find(r<0?-1:1);return(r<0?u.inclusiveLeft:u.inclusiveRight)&&(f=_i(e,f,r,f.line==t.line?o:null)),f?Di(e,f,t,r,i):null}}return t}function wi(e,t,n,r,i){var o=r||1,a=Di(e,t,n,o,i)||!i&&Di(e,t,n,o,!0)||Di(e,t,n,-o,i)||!i&&Di(e,t,n,-o,!0);return a?a:(e.cantEdit=!0,I(e.first,0))}function _i(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?z(e,I(t.line-1)):null:n>0&&t.ch==(r||_(e,t.line)).text.length?t.line=0;--i)Pi(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Pi(e,t)}}function Pi(e,t){if(1!=t.text.length||""!=t.text[0]||0!=R(t.from,t.to)){var n=Vr(e,t);ii(e,t,n,e.cm?e.cm.curOp.id:NaN),Bi(e,t,n,Z(e,t));var r=[];$r(e,function(e,n){n||p(r,e.history)!=-1||(ji(e.history,t),r.push(e.history)),Bi(e,t,null,Z(e,t))})}}function Fi(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,u="undo"==t?o.undone:o.done,l=0;l=0;--h){var v=d(h);if(v)return v.v}}}}function Ti(e,t){if(0!=t&&(e.first+=t,e.sel=new Ms(v(e.sel.ranges,function(e){return new Ps(I(e.anchor.line+t,e.anchor.ch),I(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){gr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:I(o,_(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=k(e,t.from,t.to),n||(n=Vr(e,t)),e.cm?Ii(e.cm,t,r):Xr(e,t,r),Ei(e,n,Ya)}}function Ii(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,u=o.line;e.options.lineWrapping||(u=P(fe(_(r,o.line))),r.iter(u,a.line+1,function(e){if(e==i.maxLine)return s=!0,!0})),r.sel.contains(t.from,t.to)>-1&&ke(e),Xr(r,t,n,Cn(e)),e.options.lineWrapping||(r.iter(u,o.line+t.text.length,function(e){var t=be(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),it(r,o.line),Cr(e,400);var l=t.text.length-(a.line-o.line)-1;t.full?gr(e):o.line!=a.line||1!=t.text.length||Kr(e.doc,t)?gr(e,o.line,a.line+1,l):yr(e,o.line,"text");var c=Oe(e,"changes"),f=Oe(e,"change");if(f||c){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&xt(e,"change",e,p),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function Ri(e,t,n,r,i){if(r||(r=n),R(r,n)<0){var o;o=[r,n],n=o[0],r=o[1],o}"string"==typeof t&&(t=e.splitLines(t)),Mi(e,{from:n,to:r,text:t,origin:i})}function Ni(e,t,n,r){n0||0==s&&a.clearWhenEmpty!==!1)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=i("span",[a.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(ce(e,t.line,t,n,a)||t.line!=n.line&&ce(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");Y()}a.addToHistory&&ii(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var u,l=t.line,f=e.cm;if(e.iter(l,n.line+1,function(e){f&&a.collapsed&&!f.options.lineWrapping&&fe(e)==f.display.maxLine&&(u=!0),a.collapsed&&l!=t.line&&M(e,0),$(e,new q(a,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),a.collapsed&&e.iter(t.line,n.line+1,function(t){ve(e,t)&&M(t,0)}),a.clearOnEnter&&rs(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(H(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++Ts,a.atomic=!0),f){if(u&&(f.curOp.updateMaxLine=!0),a.collapsed)gr(f,t.line,n.line+1);else if(a.className||a.title||a.startStyle||a.endStyle||a.css)for(var p=t.line;p<=n.line;p++)yr(f,p,"text");a.atomic&&Ci(f.doc),xt(f,"markerAdded",f,a)}return a}function Yi(e,t,n,r,i){r=c(r),r.shared=!1;var o=[Hi(e,t,n,r,i)],a=o[0],s=r.widgetNode;return $r(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(Hi(e,z(e,t),z(e,n),r,i));for(var u=0;u-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var l=e.dataTransfer.getData("Text");if(l){var c;if(t.state.draggingText&&!t.state.draggingText.copy&&(c=t.listSelections()),Ei(t.doc,Wr(n,n)),c)for(var f=0;f=0;t--)Ri(e.doc,"",r[t].from,r[t].to,"+delete");qn(e)})}function po(e,t,n){var r=S(e.text,t+n,n);return r<0||r>e.text.length?null:r}function ho(e,t,n){var r=po(e,t.ch,n);return null==r?null:new I(t.line,r,n<0?"after":"before")}function mo(e,t,n,r,i){if(e){var o=Ce(n,t.doc.direction);if(o){var a,s=i<0?m(o):o[0],u=i<0==(1==s.level),l=u?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=qt(t,n);a=i<0?n.text.length-1:0;var f=Kt(t,c,a).top;a=D(function(e){return Kt(t,c,e).top==f},i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=po(n,a,1))}else a=i<0?s.to:s.from;return new I(r,a,l)}}return new I(r,i<0?n.text.length:0,i<0?"before":"after")}function vo(e,t,n,r){var i=Ce(t,e.doc.direction);if(!i)return ho(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=Ae(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&p>=c.begin)){var d=f?"before":"after";return new I(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new I(n.line,u(e,1),"before"):new I(n.line,e,"after")};e>=0&&e0==(1!=a.level),l=s?r.begin:u(r.end,-1);if(a.from<=l&&l0?c.end:u(c.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,l(v)))?null:m}function go(e,t){var n=_(e.doc,t),r=fe(n);return r!=n&&(t=P(r)),mo(!0,e,r,t,1)}function yo(e,t){var n=_(e.doc,t),r=pe(n);return r!=n&&(t=P(r)),mo(!0,e,n,t,-1)}function bo(e,t){var n=go(e,t.line),r=_(e.doc,n.line),i=Ce(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return I(n.line,a?0:o,n.sticky)}return n}function xo(e,t,n){if("string"==typeof t&&(t=Hs[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=Ha}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function Eo(e,t,n){for(var r=0;r-1&&(R((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(R(i.to(),t)>0||t.xRel<0)?Io(e,r,t,o):No(e,r,t,o)}function Io(e,t,n,r){var i=e.display,o=!1,a=hr(e,function(t){Aa&&(i.scroller.draggable=!1),e.state.draggingText=!1,De(document,"mouseup",a),De(document,"mousemove",s),De(i.scroller,"dragstart",u),De(i.scroller,"drop",a),o||(Pe(t),r.addNew||hi(e.doc,n,null,null,r.extend),Aa||xa&&9==Ea?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),s=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},u=function(){return o=!0};Aa&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),rs(document,"mouseup",a),rs(document,"mousemove",s),rs(i.scroller,"dragstart",u),rs(i.scroller,"drop",a),Bn(e),setTimeout(function(){return i.input.focus()},20)}function Ro(e,t,n){if("char"==n)return new Ps(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Ps(I(t.line,0),z(e.doc,I(t.line+1,0)));var r=n(e,t);return new Ps(r.from,r.to)}function No(e,t,n,r){function i(t){if(0!=R(g,t))if(g=t,"rectangle"==r.unit){for(var i=[],o=e.options.tabSize,a=f(_(l,n.line).text,n.ch,o),s=f(_(l,t.line).text,t.ch,o),u=Math.min(a,s),m=Math.max(a,s),v=Math.min(n.line,t.line),y=Math.min(e.lastLine(),Math.max(n.line,t.line));v<=y;v++){var b=_(l,v).text,x=d(b,u,o);u==m?i.push(new Ps(I(v,x),I(v,x))):b.length>x&&i.push(new Ps(I(v,x),I(v,d(b,m,o))))}i.length||i.push(new Ps(n,n)),xi(l,jr(h.ranges.slice(0,p).concat(i),p),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var E,A=c,C=Ro(e,t,r.unit),S=A.anchor;R(C.anchor,S)>0?(E=C.head,S=W(A.from(),C.anchor)):(E=C.anchor,S=j(A.to(),C.head));var D=h.ranges.slice(0);D[p]=Lo(e,new Ps(z(l,S),E)),xi(l,jr(D,p),qa)}}function o(t){var n=++b,s=Dn(e,t,!0,"rectangle"==r.unit);if(s)if(0!=R(s,g)){e.curOp.focus=a(),i(s);var c=jn(u,l);(s.line>=c.to||s.liney.bottom?20:0;f&&setTimeout(hr(e,function(){b==n&&(u.scroller.scrollTop+=f,o(t))}),50)}}function s(t){e.state.selectingText=!1,b=1/0,Pe(t),u.input.focus(),De(document,"mousemove",x),De(document,"mouseup",E),l.history.lastSelOrigin=null}var u=e.display,l=e.doc;Pe(t);var c,p,h=l.sel,m=h.ranges;if(r.addNew&&!r.extend?(p=l.sel.contains(n),c=p>-1?m[p]:new Ps(n,n)):(c=l.sel.primary(),p=l.sel.primIndex),"rectangle"==r.unit)r.addNew||(c=new Ps(n,n)),n=Dn(e,t,!0,!0),p=-1;else{var v=Ro(e,n,r.unit);c=r.extend?di(c,v.anchor,v.head,r.extend):v}r.addNew?p==-1?(p=m.length,xi(l,jr(m.concat([c]),p),{scroll:!1,origin:"*mouse"})):m.length>1&&m[p].empty()&&"char"==r.unit&&!r.extend?(xi(l,jr(m.slice(0,p).concat(m.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),h=l.sel):vi(l,p,c,qa):(p=0,xi(l,new Ms([c],0),qa),h=l.sel);var g=n,y=u.wrapper.getBoundingClientRect(),b=0,x=hr(e,function(e){Re(e)?o(e):s(e)}),E=hr(e,s);e.state.selectingText=E,rs(document,"mousemove",x),rs(document,"mouseup",E)}function Lo(e,t){var n=t.anchor,r=t.head,i=_(e.doc,n.line);if(0==R(n,r)&&n.sticky==r.sticky)return t;var o=Ce(i);if(!o)return t;var a=Ae(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;var l;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=Ae(o,r.ch,r.sticky),f=c-a||(r.ch-n.ch)*(1==s.level?-1:1);l=c==u-1||c==u?f<0:f>0}var p=o[u+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?"after":"before";return n.ch==h&&n.sticky==m?t:new Ps(new I(n.line,h,m),r)}function jo(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Pe(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Oe(e,n))return Te(t);o-=s.top-a.viewOffset;for(var u=0;u=i){var c=F(e.doc,o),f=e.options.gutters[u];return we(e,n,e,c,f,t),Te(t)}}}function Wo(e,t){return jo(e,t,"gutterClick",!0)}function Uo(e,t){It(e.display,t)||zo(e,t)||_e(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function zo(e,t){return!!Oe(e,"gutterContextMenu")&&jo(e,t,"gutterContextMenu",!1)}function Vo(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),tn(e)}function Go(e){function t(t,r,i,o){e.defaults[t]=r,i&&(n[t]=o?function(e,t,n){n!=Qs&&i(e,t,n)}:i)}var n=e.optionHandlers;e.defineOption=t,e.Init=Qs,t("value","",function(e,t){return e.setValue(t)},!0),t("mode",null,function(e,t){e.doc.modeOption=t,Yr(e)},!0),t("indentUnit",2,Yr,!0),t("indentWithTabs",!1),t("smartIndent",!0),t("tabSize",4,function(e){qr(e),tn(e),gr(e)},!0),t("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(o==-1)break;i=o+t.length,n.push(I(r,o))}r++});for(var i=n.length-1;i>=0;i--)Ri(e.doc,t,n[i],I(n[i].line,n[i].ch+t.length))}}),t("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Qs&&e.refresh()}),t("specialCharPlaceholder",lt,function(e){return e.refresh()},!0),t("electricChars",!0),t("inputStyle",Pa?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),t("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),t("rtlMoveVisually",!Ba),t("wholeLineUpdateBefore",!0),t("theme","default",function(e){Vo(e),Ho(e)},!0),t("keyMap","default",function(e,t,n){var r=co(t),i=n!=Qs&&co(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),t("extraKeys",null),t("configureMouse",null),t("lineWrapping",!1,qo,!0),t("gutters",[],function(e){Ir(e.options),Ho(e)},!0),t("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?An(e.display)+"px":"0",e.refresh()},!0),t("coverGutterNextToScrollbar",!1,function(e){return nr(e)},!0),t("scrollbarStyle","native",function(e){ir(e),nr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),t("lineNumbers",!1,function(e){Ir(e.options),Ho(e)},!0),t("firstLineNumber",1,Ho,!0),t("lineNumberFormatter",function(e){return e},Ho,!0),t("showCursorWhenSelecting",!1,_n,!0),t("resetSelectionOnContextMenu",!0),t("lineWiseCopyCut",!0),t("pasteLinesPerSelection",!0),t("readOnly",!1,function(e,t){"nocursor"==t&&(Rn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),t("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),t("dragDrop",!0,Yo),t("allowDropFileTypes",null),t("cursorBlinkRate",530),t("cursorScrollMargin",0),t("cursorHeight",1,_n,!0),t("singleCursorHeightPerLine",!0,_n,!0),t("workTime",100),t("workDelay",100),t("flattenSpans",!0,qr,!0),t("addModeClass",!1,qr,!0),t("pollInterval",100),t("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),t("historyEventDelay",1250),t("viewportMargin",10,function(e){return e.refresh()},!0),t("maxHighlightLength",1e4,qr,!0),t("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),t("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),t("autofocus",null),t("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}function Ho(e){Br(e),gr(e),Wn(e)}function Yo(e,t,n){var r=n&&n!=Qs;if(!t!=!r){var i=e.display.dragFunctions,o=t?rs:De;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function qo(e){e.options.lineWrapping?(s(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(ja(e.display.wrapper,"CodeMirror-wrap"),xe(e)),Sn(e),gr(e),tn(e),setTimeout(function(){return nr(e)},100)}function Ko(e,t){var n=this;if(!(this instanceof Ko))return new Ko(e,t);this.options=t=t?c(t):{},c(Zs,t,!1),Ir(t);var r=t.value;"string"==typeof r&&(r=new Ns(r,t.mode,null,t.lineSeparator,t.direction)),this.doc=r;var i=new Ko.inputStyles[t.inputStyle](this),o=this.display=new w(e,r,i);o.wrapper.CodeMirror=this,Br(this),Vo(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ir(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new Ua,keySeq:null,specialChars:null},t.autofocus&&!Pa&&o.input.focus(),xa&&Ea<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Xo(this),to(),or(this),this.curOp.forceUpdate=!0,Jr(this,r),t.autofocus&&!Pa||this.hasFocus()?setTimeout(l(In,this),20):Rn(this);for(var a in eu)eu.hasOwnProperty(a)&&eu[a](n,t[a],Qs);Un(this),t.finishInit&&t.finishInit(this);for(var s=0;s400}var i=e.display;rs(i.scroller,"mousedown",hr(e,Po)),xa&&Ea<11?rs(i.scroller,"dblclick",hr(e,function(t){if(!_e(e,t)){var n=Dn(e,t);if(n&&!Wo(e,t)&&!It(e.display,t)){Pe(t);var r=e.findWordAt(n);hi(e.doc,r.anchor,r.head)}}})):rs(i.scroller,"dblclick",function(t){return _e(e,t)||Pe(t)}),La||rs(i.scroller,"contextmenu",function(t){return Uo(e,t)});var o,a={end:0};rs(i.scroller,"touchstart",function(t){if(!_e(e,t)&&!n(t)&&!Wo(e,t)){i.input.ensurePolled(),clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-a.end<=300?a:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),rs(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),rs(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!It(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,s=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new Ps(s,s):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(s):new Ps(I(s.line,0),z(e.doc,I(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),Pe(n)}t()}),rs(i.scroller,"touchcancel",t),rs(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Qn(e,i.scroller.scrollTop),er(e,i.scroller.scrollLeft,!0),we(e,"scroll",e))}),rs(i.scroller,"mousewheel",function(t){return Lr(e,t)}),rs(i.scroller,"DOMMouseScroll",function(t){return Lr(e,t)}),rs(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(t){_e(e,t)||Be(t)},over:function(t){_e(e,t)||(Qi(e,t),Be(t))},start:function(t){return Ji(e,t)},drop:hr(e,$i),leave:function(t){_e(e,t)||Zi(e)}};var s=i.input.getField();rs(s,"keyup",function(t){return ko.call(e,t)}),rs(s,"keydown",hr(e,wo)),rs(s,"keypress",hr(e,Oo)),rs(s,"focus",function(t){return In(e,t)}),rs(s,"blur",function(t){return Rn(e,t)})}function $o(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=$e(e,t).state:n="prev");var a=e.options.tabSize,s=_(o,t),u=f(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var l,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(l=o.mode.indent(i,s.text.slice(c.length),s.text),l==Ha||l>150)){if(!r)return;n="prev"}}else l=0,n="not";"prev"==n?l=t>o.first?f(_(o,t-1).text,null,a):0:"add"==n?l=u+e.options.indentUnit:"subtract"==n?l=u-e.options.indentUnit:"number"==typeof n&&(l=u+n),l=Math.max(0,l);var p="",d=0;if(e.options.indentWithTabs)for(var m=Math.floor(l/a);m;--m)d+=a,p+="\t";if(d1)if(nu&&nu.text.join("\n")==t){if(r.ranges.length%nu.text.length==0){u=[];for(var l=0;l=0;f--){var p=r.ranges[f],d=p.from(),h=p.to();p.empty()&&(n&&n>0?d=I(d.line,d.ch-n):e.state.overwrite&&!a?h=I(h.line,Math.min(_(o,h.line).text.length,h.ch+m(s).length)):nu&&nu.lineWise&&nu.text.join("\n")==t&&(d=h=I(d.line,0))),c=e.curOp.updateInput;var g={from:d,to:h,text:u?u[f%u.length]:s,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};Mi(e.doc,g),xt(e,"inputRead",e,g)}t&&!a&&ea(e,t),qn(e),e.curOp.updateInput=c,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Zo(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||dr(t,function(){return Qo(t,n,0,null,"paste")}),!0}function ea(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=$o(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(_(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=$o(e,i.head.line,"smart"));a&&xt(e,"electricInput",e,i.head.line)}}}function ta(e){for(var t=[],n=[],r=0;r=e.first+e.size)&&(t=new I(r,t.ch,t.sticky),l=_(e,r))}function a(r){var a;if(a=i?vo(e.cm,l,t,n):ho(l,t,n),null==a){if(r||!o())return!1;t=mo(i,e.cm,l,t.line,n)}else t=a;return!0}var s=t,u=n,l=_(e,t.line);if("char"==r)a();else if("column"==r)a(!0);else if("word"==r||"group"==r)for(var c=null,f="group"==r,p=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||a(!d);d=!1){var h=l.text.charAt(t.ch)||"\n",m=E(h,p)?"w":f&&"\n"==h?"n":!f||/\s/.test(h)?null:"p";if(!f||d||m||(m="s"),c&&c!=m){n<0&&(n=1,a(),t.sticky="after");break}if(m&&(c=m),n>0&&!a(!d))break}var v=wi(e,t,s,u,!0);return N(s,v)&&(v.hitSide=!0),v}function oa(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(s-.5*bn(e.display),3);i=(n>0?t.bottom:t.top)+n*u}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var l;l=pn(e,a,i),l.outside;){if(n<0?i<=0:i>=o.height){l.hitSide=!0;break}i+=5*n}return l}function aa(e,t){var n=Yt(e,t.line);if(!n||n.hidden)return null;var r=_(e.doc,t.line),i=Vt(n,r,t.line),o=Ce(r,e.doc.direction),a="left";if(o){var s=Ae(o,t.ch);a=s%2?"right":"left"}var u=Xt(i.map,t.ch,a);return u.offset="right"==u.collapse?u.end:u.start,u}function sa(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function ua(e,t){return t&&(e.bad=!0),e}function la(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(){c&&(l+=f,c=!1)}function s(e){e&&(a(),l+=e)}function u(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void s(n||t.textContent.replace(/\u200b/g,""));var l,p=t.getAttribute("cm-marker");if(p){var d=e.findMarks(I(r,0),I(i+1,0),o(+p));return void(d.length&&(l=d[0].find(0))&&s(k(e.doc,l.from,l.to).join(f)))}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p)$/i.test(t.nodeName);h&&a();for(var m=0;m=15&&(Da=!1,Aa=!0);var Ra,Na=Fa&&(Ca||Da&&(null==Ia||Ia<12.11)),La=va||xa&&Ea>=9,ja=function(t,n){var r=t.className,i=e(n).exec(r);if(i){var o=r.slice(i.index+i[0].length);t.className=r.slice(0,i.index)+(o?i[1]+o:"")}};Ra=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var Wa=function(e){e.select()};Oa?Wa=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:xa&&(Wa=function(e){try{e.select()}catch(e){}});var Ua=function(){this.id=null};Ua.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var za,Va,Ga=30,Ha={toString:function(){return"CodeMirror.Pass"}},Ya={scroll:!1},qa={origin:"*mouse"},Ka={origin:"+move"},Xa=[""],$a=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ja=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Qa=!1,Za=!1,es=null,ts=function(){function e(e){return e<=247?n.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1785?r.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,s=/[Lb1n]/,u=/[1n]/;return function(n,r){var l="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!i.test(n))return!1;for(var c=n.length,f=[],p=0;p=this.string.length},ps.prototype.sol=function(){return this.pos==this.lineStart},ps.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ps.prototype.next=function(){if(this.post},ps.prototype.eatSpace=function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t},ps.prototype.skipToEnd=function(){this.pos=this.string.length},ps.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},ps.prototype.backUp=function(e){this.pos-=e},ps.prototype.column=function(){return this.lastColumnPos0?null:(r&&t!==!1&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return t!==!1&&(this.pos+=e.length),!0},ps.prototype.current=function(){return this.string.slice(this.start,this.pos)},ps.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},ps.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},ps.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ds=function(e,t){this.state=e,this.lookAhead=t},hs=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};hs.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},hs.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)t.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},hs.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},hs.fromSaved=function(e,t,n){return t instanceof ds?new hs(e,He(e.mode,t.state),n,t.lookAhead):new hs(e,He(e.mode,t),n)},hs.prototype.save=function(e){var t=e!==!1?He(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ds(t,this.maxLookAhead):t};var ms=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},vs=function(e,t,n){this.text=e,re(this,t),this.height=n?n(this):1};vs.prototype.lineNo=function(){return P(this)},Me(vs);var gs,ys={},bs={},xs=null,Es=null,As={left:0,right:0,top:0,bottom:0},Cs=function(e,t,n){this.cm=n;var i=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(i),e(o),rs(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),rs(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,xa&&Ea<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Cs.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Cs.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Cs.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Cs.prototype.zeroWidthHack=function(){var e=Fa&&!_a?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ua,this.disableVert=new Ua},Cs.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},Cs.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ss=function(){};Ss.prototype.update=function(){return{bottom:0,right:0}},Ss.prototype.setScrollLeft=function(){},Ss.prototype.setScrollTop=function(){},Ss.prototype.clear=function(){};var Ds={native:Cs,null:Ss},ws=0,_s=function(e,t,n){var r=e.display;this.viewport=t,this.visible=jn(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Wt(e),this.force=n,this.dims=En(e),this.events=[]};_s.prototype.signal=function(e,t){Oe(e,t)&&this.events.push(arguments)},_s.prototype.finish=function(){for(var e=this,t=0;t=0&&R(e,i.to())<=0)return r}return-1};var Ps=function(e,t){this.anchor=e,this.head=t};Ps.prototype.from=function(){return W(this.anchor,this.head)},Ps.prototype.to=function(){return j(this.anchor,this.head)},Ps.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},Ui.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=this,r=e,i=e+t;r1||!(this.children[0]instanceof Ui))){var u=[];this.collapse(u),this.children=[new Ui(u)],this.children[0].parent=this}},collapse:function(e){for(var t=this,n=0;n50){for(var s=o.lines.length%25+25,u=s;u10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=this,i=0;it.display.maxLineLength&&(t.display.maxLine=c,t.display.maxLineLength=f,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&gr(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Ci(t.doc)),t&&xt(t,"markerCleared",t,this,i,o),n&&ar(t),this.parent&&this.parent.clear()}},Bs.prototype.find=function(e,t){var n=this;null==e&&"bookmark"==this.type&&(e=1);for(var r,i,o=0;o=0;l--)Mi(r,i[l]);u?bi(this,u):this.cm&&qn(this.cm)}),undo:vr(function(){Fi(this,"undo")}),redo:vr(function(){Fi(this,"redo")}),undoSelection:vr(function(){Fi(this,"undo",!0)}),redoSelection:vr(function(){Fi(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=z(this,e),t=z(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s=u.to||null==u.from&&i!=e.line||null!=u.from&&i==t.line&&u.from>=t.ch||n&&!n(u.marker)||r.push(u.marker.parent||u.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re?(t=e,!0):(e-=o,void++n)}),z(this,I(n,t))},indexFromPos:function(e){e=z(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to0)i=new I(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),I(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=_(e.doc,i.line-1).text;a&&(i=new I(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),I(i.line-1,a.length-1),i,"+transpose"))}n.push(new Ps(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return dr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;re&&0==R(t,this.pos)&&n==this.button};var $s,Js,Qs={toString:function(){return"CodeMirror.Init"}},Zs={},eu={};Ko.defaults=Zs,Ko.optionHandlers=eu;var tu=[];Ko.defineInitHook=function(e){return tu.push(e)};var nu=null,ru=function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&hr(this,t[e])(this,n,i),we(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](co(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nr&&($o(t,o.head.line,e,!0),r=o.head.line,i==t.doc.sel.primIndex&&qn(t));else{var a=o.from(),s=o.to(),u=Math.max(r,a.line);r=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var l=u;l0&&vi(t.doc,i,new Ps(a,c[i].to()),Ya)}}}),getTokenAt:function(e,t){return et(this,e,t)},getLineTokens:function(e,t){return et(this,I(e),t,!0)},getTokenTypeAt:function(e){e=z(this.doc,e);var t,n=Xe(this,_(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=_(this.doc,e)}else r=e;return an(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-ye(r):0)},defaultTextHeight:function(){return bn(this.display)},defaultCharWidth:function(){return xn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=ln(this,z(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var u=Math.max(o.wrapper.clientHeight,this.doc.height),l=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(a=e.bottom),s+t.offsetWidth>l&&(s=l-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&Gn(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:mr(wo),triggerOnKeyPress:mr(Oo),triggerOnKeyUp:ko,triggerOnMouseDown:mr(Po),execCommand:function(e){if(Hs.hasOwnProperty(e))return Hs[e].call(null,this)},triggerElectric:mr(function(e){ea(this,e)}),findPosH:function(e,t,n,r){var i=this,o=1;t<0&&(o=-1,t=-t);for(var a=z(this.doc,e),s=0;s0&&s(n.charAt(r-1));)--r;for(;i.5)&&Sn(this),we(this,"refresh",this)}),swapDoc:mr(function(e){var t=this.doc;return t.cm=null,Jr(this,e),tn(this),this.display.input.reset(),Kn(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,xt(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Me(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}},iu=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ua,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};iu.prototype.init=function(e){function t(e){if(!_e(i,e)){if(i.somethingSelected())Jo({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=ta(i);Jo({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(function(){i.setSelections(t.ranges,0,Ya),i.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var n=nu.text.join("\n");if(e.clipboardData.setData("Text",n),e.clipboardData.getData("Text")==n)return void e.preventDefault()}var a=ra(),s=a.firstChild;i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild),s.value=nu.text.join("\n");var u=document.activeElement;Wa(s),setTimeout(function(){i.display.lineSpace.removeChild(a),u.focus(),u==o&&r.showPrimarySelection()},50)}}var n=this,r=this,i=r.cm,o=r.div=e.lineDiv;na(o,i.options.spellcheck),rs(o,"paste",function(e){_e(i,e)||Zo(e,i)||Ea<=11&&setTimeout(hr(i,function(){return n.updateFromDOM()}),20)}),rs(o,"compositionstart",function(e){n.composing={data:e.data,done:!1}}),rs(o,"compositionupdate",function(e){n.composing||(n.composing={data:e.data,done:!1})}),rs(o,"compositionend",function(e){n.composing&&(e.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),rs(o,"touchstart",function(){return r.forceCompositionEnd()}),rs(o,"input",function(){n.composing||n.readFromDOMSoon()}),rs(o,"copy",t),rs(o,"cut",t)},iu.prototype.prepareSelection=function(){var e=kn(this.cm,!1);return e.focus=this.cm.state.focused,e},iu.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},iu.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line=t.display.viewFrom&&aa(t,r)||{node:s[0].measure.map[2],offset:0},l=i.linee.firstLine()&&(r=I(r.line-1,_(e.doc,r.line-1).length)),i.ch==_(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var o,a,s;r.line==t.viewFrom||0==(o=wn(e,r.line))?(a=P(t.view[0].line),s=t.view[0].node):(a=P(t.view[o].line),s=t.view[o-1].node.nextSibling);var u,l,c=wn(e,i.line);if(c==t.view.length-1?(u=t.viewTo-1,l=t.lineDiv.lastChild):(u=P(t.view[c+1].line)-1,l=t.view[c+1].node.previousSibling),!s)return!1;for(var f=e.doc.splitLines(la(e,s,l,a,u)),p=k(e.doc,I(a,0),I(u,_(e.doc,u).text.length));f.length>1&&p.length>1;)if(m(f)==m(p))f.pop(),p.pop(),u--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),a++}for(var d=0,h=0,v=f[0],g=p[0],y=Math.min(v.length,g.length);dr.ch&&b.charCodeAt(b.length-h-1)==x.charCodeAt(x.length-h-1);)d--,h++;f[f.length-1]=b.slice(0,b.length-h).replace(/^\u200b+/,""),f[0]=f[0].slice(d).replace(/\u200b+$/,"");var A=I(a,d),C=I(u,p.length?m(p).length-h:0);return f.length>1||f[0]||R(A,C)?(Ri(e.doc,f,A,C,"+input"),!0):void 0},iu.prototype.ensurePolled=function(){this.forceCompositionEnd()},iu.prototype.reset=function(){this.forceCompositionEnd()},iu.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},iu.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},iu.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||dr(this.cm,function(){return gr(e.cm)})},iu.prototype.setUneditable=function(e){e.contentEditable="false"},iu.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||hr(this.cm,Qo)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},iu.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},iu.prototype.onContextMenu=function(){},iu.prototype.resetPosition=function(){},iu.prototype.needsContentAttribute=!0;var ou=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Ua,this.hasSelection=!1,this.composing=null};ou.prototype.init=function(e){function t(e){if(!_e(i,e)){if(i.somethingSelected())Jo({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=ta(i);Jo({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,Ya):(r.prevInput="",a.value=t.text.join("\n"),Wa(a))}"cut"==e.type&&(i.state.cutIncoming=!0)}}var n=this,r=this,i=this.cm,o=this.wrapper=ra(),a=this.textarea=o.firstChild;e.wrapper.insertBefore(o,e.wrapper.firstChild),Oa&&(a.style.width="0px"),rs(a,"input",function(){xa&&Ea>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),rs(a,"paste",function(e){_e(i,e)||Zo(e,i)||(i.state.pasteIncoming=!0,r.fastPoll())}),rs(a,"cut",t),rs(a,"copy",t),rs(e.scroller,"paste",function(t){It(e,t)||_e(i,t)||(i.state.pasteIncoming=!0,r.focus())}),rs(e.lineSpace,"selectstart",function(t){It(e,t)||Pe(t)}),rs(a,"compositionstart",function(){var e=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),rs(a,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},ou.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=kn(e);if(e.options.moveInputWithCursor){var i=ln(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},ou.prototype.showSelection=function(e){var t=this.cm,r=t.display;n(r.cursorDiv,e.cursors),n(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},ou.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&Wa(this.textarea),xa&&Ea>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",xa&&Ea>=9&&(this.hasSelection=null))}},ou.prototype.getField=function(){return this.textarea},ou.prototype.supportsTouch=function(){return!1},ou.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!Pa||a()!=this.textarea))try{this.textarea.focus()}catch(e){}},ou.prototype.blur=function(){this.textarea.blur()},ou.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ou.prototype.receivedFocus=function(){this.slowPoll()},ou.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},ou.prototype.fastPoll=function(){function e(){var r=n.poll();r||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},ou.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||as(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(xa&&Ea>=9&&this.hasSelection===i||Fa&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,s=Math.min(r.length,i.length);a1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ou.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ou.prototype.onKeyPress=function(){xa&&Ea>=9&&(this.hasSelection=null),this.fastPoll()},ou.prototype.onContextMenu=function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t="​"+(e?a.value:"");a.value="⇚",a.value=t,r.prevInput=e?"":"​",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=f,a.style.cssText=c,xa&&Ea<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=u),null!=a.selectionStart){(!xa||xa&&Ea<9)&&t();var e=0,n=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&"​"==r.prevInput?hr(i,ki)(i):e++<10?o.detectingSelectAll=setTimeout(n,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(n,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea,s=Dn(i,e),u=o.scroller.scrollTop;if(s&&!Da){var l=i.options.resetSelectionOnContextMenu;l&&i.doc.sel.contains(s)==-1&&hr(i,xi)(i.doc,Wr(s),Ya);var c=a.style.cssText,f=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var p=r.wrapper.getBoundingClientRect();a.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(xa?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var d;if(Aa&&(d=window.scrollY),o.input.focus(),Aa&&window.scrollTo(null,d),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),xa&&Ea>=9&&t(),La){Be(e);var h=function(){De(window,"mouseup",h),setTimeout(n,20)};rs(window,"mouseup",h)}else setTimeout(n,50)}},ou.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},ou.prototype.setUneditable=function(){},ou.prototype.needsContentAttribute=!1,Go(Ko),ru(Ko);var au="iter insert remove copy getEditor constructor".split(" ");for(var su in Ns.prototype)Ns.prototype.hasOwnProperty(su)&&p(au,su)<0&&(Ko.prototype[su]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ns.prototype[su]));return Me(Ns),Ko.inputStyles={textarea:ou,contenteditable:iu},Ko.defineMode=function(e){Ko.defaults.mode||"null"==e||(Ko.defaults.mode=e),We.apply(this,arguments)},Ko.defineMIME=Ue,Ko.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ko.defineMIME("text/plain","null"),Ko.defineExtension=function(e,t){Ko.prototype[e]=t},Ko.defineDocExtension=function(e,t){Ns.prototype[e]=t},Ko.fromTextArea=pa,da(Ko),Ko.version="5.35.0",Ko})},function(e,t,n){"use strict";var r=n(1),i=function(e){var t,n={};e instanceof Object&&!Array.isArray(e)?void 0:r(!1);for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};e.exports=i},function(e,t,n){var r;(function(e,i){(function(){function o(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function p(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function N(e,t){for(var n=e.length;n--&&A(t,e[n],0)>-1;);return n}function L(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function j(e){return"\\"+er[e]}function W(e,t){return null==e?re:e[t]}function U(e){return Hn.test(e)}function z(e){return Yn.test(e)}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function H(e,t){return function(n){return e(t(n))}}function Y(e,t){for(var n=-1,r=e.length,i=0,o=[];++n>>1,We=[["ary",Ce],["bind",ve],["bindKey",ge],["curry",be],["curryRight",xe],["flip",De],["partial",Ee],["partialRight",Ae],["rearg",Se]],Ue="[object Arguments]",ze="[object Array]",Ve="[object AsyncFunction]",Ge="[object Boolean]",He="[object Date]",Ye="[object DOMException]",qe="[object Error]",Ke="[object Function]",Xe="[object GeneratorFunction]",$e="[object Map]",Je="[object Number]",Qe="[object Null]",Ze="[object Object]",et="[object Promise]",tt="[object Proxy]",nt="[object RegExp]",rt="[object Set]",it="[object String]",ot="[object Symbol]",at="[object Undefined]",st="[object WeakMap]",ut="[object WeakSet]",lt="[object ArrayBuffer]",ct="[object DataView]",ft="[object Float32Array]",pt="[object Float64Array]",dt="[object Int8Array]",ht="[object Int16Array]",mt="[object Int32Array]",vt="[object Uint8Array]",gt="[object Uint8ClampedArray]",yt="[object Uint16Array]",bt="[object Uint32Array]",xt=/\b__p \+= '';/g,Et=/\b(__p \+=) '' \+/g,At=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ct=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,Dt=RegExp(Ct.source),wt=RegExp(St.source),_t=/<%-([\s\S]+?)%>/g,kt=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,Mt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pt=/^\w*$/,Ft=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tt=/[\\^$.*+?()[\]{}|]/g,Bt=RegExp(Tt.source),It=/^\s+|\s+$/g,Rt=/^\s+/,Nt=/\s+$/,Lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,jt=/\{\n\/\* \[wrapped with (.+)\] \*/,Wt=/,? & /,Ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zt=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,Yt=/^0b[01]+$/i,qt=/^\[object .+?Constructor\]$/,Kt=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,$t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jt=/($^)/,Qt=/['\n\r\u2028\u2029\\]/g,Zt="\\ud800-\\udfff",en="\\u0300-\\u036f",tn="\\ufe20-\\ufe2f",nn="\\u20d0-\\u20ff",rn=en+tn+nn,on="\\u2700-\\u27bf",an="a-z\\xdf-\\xf6\\xf8-\\xff",sn="\\xac\\xb1\\xd7\\xf7",un="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ln="\\u2000-\\u206f",cn=" \\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",fn="A-Z\\xc0-\\xd6\\xd8-\\xde",pn="\\ufe0e\\ufe0f",dn=sn+un+ln+cn,hn="['’]",mn="["+Zt+"]",vn="["+dn+"]",gn="["+rn+"]",yn="\\d+",bn="["+on+"]",xn="["+an+"]",En="[^"+Zt+dn+yn+on+an+fn+"]",An="\\ud83c[\\udffb-\\udfff]",Cn="(?:"+gn+"|"+An+")",Sn="[^"+Zt+"]",Dn="(?:\\ud83c[\\udde6-\\uddff]){2}",wn="[\\ud800-\\udbff][\\udc00-\\udfff]",_n="["+fn+"]",kn="\\u200d",On="(?:"+xn+"|"+En+")",Mn="(?:"+_n+"|"+En+")",Pn="(?:"+hn+"(?:d|ll|m|re|s|t|ve))?",Fn="(?:"+hn+"(?:D|LL|M|RE|S|T|VE))?",Tn=Cn+"?",Bn="["+pn+"]?",In="(?:"+kn+"(?:"+[Sn,Dn,wn].join("|")+")"+Bn+Tn+")*",Rn="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ln=Bn+Tn+In,jn="(?:"+[bn,Dn,wn].join("|")+")"+Ln,Wn="(?:"+[Sn+gn+"?",gn,Dn,wn,mn].join("|")+")",Un=RegExp(hn,"g"),zn=RegExp(gn,"g"),Vn=RegExp(An+"(?="+An+")|"+Wn+Ln,"g"),Gn=RegExp([_n+"?"+xn+"+"+Pn+"(?="+[vn,_n,"$"].join("|")+")",Mn+"+"+Fn+"(?="+[vn,_n+On,"$"].join("|")+")",_n+"?"+On+"+"+Pn,_n+"+"+Fn,Nn,Rn,yn,jn].join("|"),"g"),Hn=RegExp("["+kn+Zt+rn+pn+"]"),Yn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qn=["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"],Kn=-1,Xn={};Xn[ft]=Xn[pt]=Xn[dt]=Xn[ht]=Xn[mt]=Xn[vt]=Xn[gt]=Xn[yt]=Xn[bt]=!0,Xn[Ue]=Xn[ze]=Xn[lt]=Xn[Ge]=Xn[ct]=Xn[He]=Xn[qe]=Xn[Ke]=Xn[$e]=Xn[Je]=Xn[Ze]=Xn[nt]=Xn[rt]=Xn[it]=Xn[st]=!1;var $n={};$n[Ue]=$n[ze]=$n[lt]=$n[ct]=$n[Ge]=$n[He]=$n[ft]=$n[pt]=$n[dt]=$n[ht]=$n[mt]=$n[$e]=$n[Je]=$n[Ze]=$n[nt]=$n[rt]=$n[it]=$n[ot]=$n[vt]=$n[gt]=$n[yt]=$n[bt]=!0,$n[qe]=$n[Ke]=$n[st]=!1;var Jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Qn={"&":"&","<":"<",">":">",'"':""","'":"'"},Zn={"&":"&","<":"<",">":">",""":'"',"'":"'"},er={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tr=parseFloat,nr=parseInt,rr="object"==typeof e&&e&&e.Object===Object&&e,ir="object"==typeof self&&self&&self.Object===Object&&self,or=rr||ir||Function("return this")(),ar="object"==typeof t&&t&&!t.nodeType&&t,sr=ar&&"object"==typeof i&&i&&!i.nodeType&&i,ur=sr&&sr.exports===ar,lr=ur&&rr.process,cr=function(){try{return lr&&lr.binding&&lr.binding("util")}catch(e){}}(),fr=cr&&cr.isArrayBuffer,pr=cr&&cr.isDate,dr=cr&&cr.isMap,hr=cr&&cr.isRegExp,mr=cr&&cr.isSet,vr=cr&&cr.isTypedArray,gr=w("length"),yr=_(Jn),br=_(Qn),xr=_(Zn),Er=function e(t){function n(e){if(ou(e)&&!gp(e)&&!(e instanceof y)){if(e instanceof i)return e;if(vc.call(e,"__wrapped__"))return na(e)}return new i(e)}function r(){}function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=re}function y(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ne,this.__views__=[]}function _(){var e=new y(this.__wrapped__);return e.__actions__=Ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ri(this.__views__),e}function $(){if(this.__filtered__){var e=new y(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function ee(){var e=this.__wrapped__.value(),t=this.__dir__,n=gp(e),r=t<0,i=n?e.length:0,o=wo(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,p=0,d=Yc(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return bi(e,this.__actions__);var h=[];e:for(;u--&&p-1}function ln(e,t){var n=this.__data__,r=Pn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function cn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Ln(e,t,n,r,i,o){var a,u=t&fe,l=t&pe,c=t&de;if(n&&(a=i?n(e,r,i,o):n(e)),a!==re)return a;if(!iu(e))return e;var f=gp(e);if(f){if(a=Oo(e),!u)return Ri(e,a)}else{var p=_f(e),d=p==Ke||p==Xe;if(bp(e))return wi(e,u);if(p==Ze||p==Ue||d&&!i){if(a=l||d?{}:Mo(e),!u)return l?ji(e,Bn(a,e)):Li(e,Tn(a,e))}else{if(!$n[p])return i?e:{};a=Po(e,p,u)}}o||(o=new bn);var h=o.get(e);if(h)return h;if(o.set(e,a),Cp(e))return e.forEach(function(r){a.add(Ln(r,t,n,r,e,o))}),a;if(Ep(e))return e.forEach(function(r,i){a.set(i,Ln(r,t,n,i,e,o))}),a;var m=c?l?yo:go:l?Uu:Wu,v=f?re:m(e);return s(v||e,function(r,i){v&&(i=r,r=e[i]),Mn(a,i,Ln(r,t,n,i,e,o))}),a}function jn(e){var t=Wu(e);return function(n){return Wn(n,e,t)}}function Wn(e,t,n){var r=n.length;if(null==e)return!r;for(e=sc(e);r--;){var i=n[r],o=t[i],a=e[i];if(a===re&&!(i in e)||!o(a))return!1}return!0}function Vn(e,t,n){if("function"!=typeof e)throw new cc(se);return Mf(function(){e.apply(re,n)},t)}function Gn(e,t,n,r){var i=-1,o=f,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=d(t,T(n))),r?(o=p,a=!1):t.length>=oe&&(o=I,a=!1,t=new vn(t));e:for(;++ii?0:i+n),r=r===re||r>i?i:Au(r),r<0&&(r+=i),r=n>r?0:Cu(r);n0&&n(s)?t>1?Zn(s,t-1,n,r,i):h(i,s):r||(i[i.length]=s)}return i}function er(e,t){return e&&gf(e,t,Wu)}function rr(e,t){return e&&yf(e,t,Wu)}function ir(e,t){return c(t,function(t){return tu(e[t])})}function ar(e,t){t=Si(t,e);for(var n=0,r=t.length;null!=e&&nt}function gr(e,t){return null!=e&&vc.call(e,t)}function Er(e,t){return null!=e&&t in sc(e)}function Cr(e,t,n){return e>=Yc(t,n)&&e=120&&c.length>=120)?new vn(a&&c):re}c=e[0];var h=-1,m=s[0];e:for(;++h-1;)s!==e&&Mc.call(s,u,1),Mc.call(e,u,1);return e}function Zr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Bo(i)?Mc.call(e,i,1):vi(e,i)}}return e}function ei(e,t){return e+jc(Xc()*(t-e+1))}function ti(e,t,n,r){for(var i=-1,o=Hc(Lc((t-e)/(n||1)),0),a=nc(o);o--;)a[r?o:++i]=e,e+=n;return a}function ni(e,t){var n="";if(!e||t<1||t>Be)return n;do t%2&&(n+=e),t=jc(t/2),t&&(e+=e);while(t);return n}function ri(e,t){return Pf(qo(e,t,Ml),e+"")}function ii(e){return wn(Zu(e))}function oi(e,t){var n=Zu(e);return Qo(n,Nn(t,0,n.length))}function ai(e,t,n,r){if(!iu(e))return e;t=Si(t,e);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++ii?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=nc(i);++r>>1,a=e[o];null!==a&&!vu(a)&&(n?a<=t:a=oe){var l=t?null:Cf(e);if(l)return K(l);a=!1,i=I,u=new vn}else u=t?[]:s;e:for(;++r=r?e:ui(e,t,n)}function wi(e,t){if(t)return e.slice();var n=e.length,r=wc?wc(n):new e.constructor(n);return e.copy(r),r}function _i(e){var t=new e.constructor(e.byteLength);return new Dc(t).set(new Dc(e)),t}function ki(e,t){var n=t?_i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Oi(e){var t=new e.constructor(e.source,Gt.exec(e));return t.lastIndex=e.lastIndex,t}function Mi(e){return pf?sc(pf.call(e)):{}}function Pi(e,t){var n=t?_i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Fi(e,t){if(e!==t){var n=e!==re,r=null===e,i=e===e,o=vu(e),a=t!==re,s=null===t,u=t===t,l=vu(t);if(!s&&!l&&!o&&e>t||o&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!l&&e=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}function Bi(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,u=t.length,l=Hc(o-a,0),c=nc(u+l),f=!r;++s1?n[i-1]:re,a=i>2?n[2]:re;for(o=e.length>3&&"function"==typeof o?(i--,o):re,a&&Io(n[0],n[1],a)&&(o=i<3?re:o,i=1),t=sc(t);++r-1?i[o?t[a]:a]:re}}function $i(e){return vo(function(t){var n=t.length,r=n,o=i.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new cc(se);if(o&&!s&&"wrapper"==bo(a))var s=new i([],!0)}for(r=s?r:n;++r1&&y.reverse(),f&&us))return!1;var l=o.get(e);if(l&&o.get(t))return l==t;var c=-1,f=!0,p=n&me?new vn:re;for(o.set(e,t),o.set(t,e);++c1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Lt,"{\n/* [wrapped with "+t+"] */\n"); +}function To(e){return gp(e)||vp(e)||!!(Pc&&e&&e[Pc])}function Bo(e,t){var n=typeof e;return t=null==t?Be:t,!!t&&("number"==n||"symbol"!=n&&Xt.test(e))&&e>-1&&e%1==0&&e0){if(++t>=ke)return arguments[0]}else t=0;return e.apply(re,arguments)}}function Qo(e,t){var n=-1,r=e.length,i=r-1;for(t=t===re?r:t;++n=this.__values__.length,t=e?re:this.__values__[this.__index__++];return{done:e,value:t}}function ns(){return this}function rs(e){for(var t,n=this;n instanceof r;){var i=na(n);i.__index__=0,i.__values__=re,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t}function is(){var e=this.__wrapped__;if(e instanceof y){var t=e;return this.__actions__.length&&(t=new y(this)),t=t.reverse(),t.__actions__.push({func:Qa,args:[ka],thisArg:re}),new i(t,this.__chain__)}return this.thru(ka)}function os(){return bi(this.__wrapped__,this.__actions__)}function as(e,t,n){var r=gp(e)?l:Hn;return n&&Io(e,t,n)&&(t=re),r(e,Eo(t,3))}function ss(e,t){var n=gp(e)?c:Qn;return n(e,Eo(t,3))}function us(e,t){return Zn(hs(e,t),1)}function ls(e,t){return Zn(hs(e,t),Te)}function cs(e,t,n){return n=n===re?1:Au(n),Zn(hs(e,t),n)}function fs(e,t){var n=gp(e)?s:mf;return n(e,Eo(t,3))}function ps(e,t){var n=gp(e)?u:vf;return n(e,Eo(t,3))}function ds(e,t,n,r){e=Ys(e)?e:Zu(e),n=n&&!r?Au(n):0;var i=e.length;return n<0&&(n=Hc(i+n,0)),mu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&A(e,t,n)>-1}function hs(e,t){var n=gp(e)?d:zr;return n(e,Eo(t,3))}function ms(e,t,n,r){return null==e?[]:(gp(t)||(t=null==t?[]:[t]),n=r?re:n,gp(n)||(n=null==n?[]:[n]),Kr(e,t,n))}function vs(e,t,n){var r=gp(e)?m:k,i=arguments.length<3;return r(e,Eo(t,4),n,i,mf)}function gs(e,t,n){var r=gp(e)?v:k,i=arguments.length<3;return r(e,Eo(t,4),n,i,vf)}function ys(e,t){var n=gp(e)?c:Qn;return n(e,Fs(Eo(t,3)))}function bs(e){var t=gp(e)?wn:ii;return t(e)}function xs(e,t,n){t=(n?Io(e,t,n):t===re)?1:Au(t);var r=gp(e)?_n:oi;return r(e,t)}function Es(e){var t=gp(e)?kn:si;return t(e)}function As(e){if(null==e)return 0;if(Ys(e))return mu(e)?Q(e):e.length;var t=_f(e);return t==$e||t==rt?e.size:jr(e).length}function Cs(e,t,n){var r=gp(e)?g:li;return n&&Io(e,t,n)&&(t=re),r(e,Eo(t,3))}function Ss(e,t){if("function"!=typeof t)throw new cc(se);return e=Au(e),function(){if(--e<1)return t.apply(this,arguments)}}function Ds(e,t,n){return t=n?re:t,t=e&&null==t?e.length:t,uo(e,Ce,re,re,re,re,t)}function ws(e,t){var n;if("function"!=typeof t)throw new cc(se);return e=Au(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=re),n}}function _s(e,t,n){t=n?re:t;var r=uo(e,be,re,re,re,re,re,t);return r.placeholder=_s.placeholder,r}function ks(e,t,n){t=n?re:t;var r=uo(e,xe,re,re,re,re,re,t);return r.placeholder=ks.placeholder,r}function Os(e,t,n){function r(t){var n=p,r=d;return p=d=re,y=t,m=e.apply(r,n)}function i(e){return y=e,v=Mf(s,t),b?r(e):m}function o(e){var n=e-g,r=e-y,i=t-n;return x?Yc(i,h-r):i}function a(e){var n=e-g,r=e-y;return g===re||n>=t||n<0||x&&r>=h}function s(){var e=op();return a(e)?u(e):void(v=Mf(s,o(e)))}function u(e){return v=re,E&&p?r(e):(p=d=re,m)}function l(){v!==re&&Af(v),y=0,p=g=d=v=re}function c(){return v===re?m:u(op())}function f(){var e=op(),n=a(e);if(p=arguments,d=this,g=e,n){if(v===re)return i(g);if(x)return v=Mf(s,t),r(g)}return v===re&&(v=Mf(s,t)),m}var p,d,h,m,v,g,y=0,b=!1,x=!1,E=!0;if("function"!=typeof e)throw new cc(se);return t=Su(t)||0,iu(n)&&(b=!!n.leading,x="maxWait"in n,h=x?Hc(Su(n.maxWait)||0,t):h,E="trailing"in n?!!n.trailing:E),f.cancel=l,f.flush=c,f}function Ms(e){return uo(e,De)}function Ps(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new cc(se);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ps.Cache||cn),n}function Fs(e){if("function"!=typeof e)throw new cc(se);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ts(e){return ws(2,e)}function Bs(e,t){if("function"!=typeof e)throw new cc(se);return t=t===re?t:Au(t),ri(e,t)}function Is(e,t){if("function"!=typeof e)throw new cc(se);return t=null==t?0:Hc(Au(t),0),ri(function(n){var r=n[t],i=Di(n,0,t);return r&&h(i,r),o(e,this,i)})}function Rs(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new cc(se);return iu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Os(e,t,{leading:r,maxWait:t,trailing:i})}function Ns(e){return Ds(e,1)}function Ls(e,t){return fp(Ci(t),e)}function js(){if(!arguments.length)return[];var e=arguments[0];return gp(e)?e:[e]}function Ws(e){return Ln(e,de)}function Us(e,t){return t="function"==typeof t?t:re,Ln(e,de,t)}function zs(e){return Ln(e,fe|de)}function Vs(e,t){return t="function"==typeof t?t:re,Ln(e,fe|de,t)}function Gs(e,t){return null==t||Wn(e,t,Wu(t))}function Hs(e,t){return e===t||e!==e&&t!==t}function Ys(e){return null!=e&&ru(e.length)&&!tu(e)}function qs(e){return ou(e)&&Ys(e)}function Ks(e){return e===!0||e===!1||ou(e)&&lr(e)==Ge}function Xs(e){return ou(e)&&1===e.nodeType&&!du(e)}function $s(e){if(null==e)return!0;if(Ys(e)&&(gp(e)||"string"==typeof e||"function"==typeof e.splice||bp(e)||Sp(e)||vp(e)))return!e.length;var t=_f(e);if(t==$e||t==rt)return!e.size;if(Wo(e))return!jr(e).length;for(var n in e)if(vc.call(e,n))return!1;return!0}function Js(e,t){return Mr(e,t)}function Qs(e,t,n){n="function"==typeof n?n:re;var r=n?n(e,t):re;return r===re?Mr(e,t,re,n):!!r}function Zs(e){if(!ou(e))return!1;var t=lr(e);return t==qe||t==Ye||"string"==typeof e.message&&"string"==typeof e.name&&!du(e)}function eu(e){return"number"==typeof e&&zc(e)}function tu(e){if(!iu(e))return!1;var t=lr(e);return t==Ke||t==Xe||t==Ve||t==tt}function nu(e){return"number"==typeof e&&e==Au(e)}function ru(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Be}function iu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ou(e){return null!=e&&"object"==typeof e}function au(e,t){return e===t||Tr(e,t,Co(t))}function su(e,t,n){return n="function"==typeof n?n:re,Tr(e,t,Co(t),n)}function uu(e){return pu(e)&&e!=+e}function lu(e){if(kf(e))throw new ic(ae);return Br(e)}function cu(e){return null===e}function fu(e){return null==e}function pu(e){return"number"==typeof e||ou(e)&&lr(e)==Je}function du(e){if(!ou(e)||lr(e)!=Ze)return!1;var t=_c(e);if(null===t)return!0;var n=vc.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&mc.call(n)==xc}function hu(e){return nu(e)&&e>=-Be&&e<=Be}function mu(e){return"string"==typeof e||!gp(e)&&ou(e)&&lr(e)==it}function vu(e){return"symbol"==typeof e||ou(e)&&lr(e)==ot}function gu(e){return e===re}function yu(e){return ou(e)&&_f(e)==st}function bu(e){return ou(e)&&lr(e)==ut}function xu(e){if(!e)return[];if(Ys(e))return mu(e)?Z(e):Ri(e);if(Fc&&e[Fc])return V(e[Fc]());var t=_f(e),n=t==$e?G:t==rt?K:Zu;return n(e)}function Eu(e){if(!e)return 0===e?e:0;if(e=Su(e),e===Te||e===-Te){var t=e<0?-1:1;return t*Ie}return e===e?e:0}function Au(e){var t=Eu(e),n=t%1;return t===t?n?t-n:t:0}function Cu(e){return e?Nn(Au(e),0,Ne):0}function Su(e){if("number"==typeof e)return e;if(vu(e))return Re;if(iu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=iu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(It,"");var n=Yt.test(e);return n||Kt.test(e)?nr(e.slice(2),n?2:8):Ht.test(e)?Re:+e}function Du(e){return Ni(e,Uu(e))}function wu(e){return e?Nn(Au(e),-Be,Be):0===e?e:0}function _u(e){return null==e?"":hi(e)}function ku(e,t){var n=hf(e);return null==t?n:Tn(n,t)}function Ou(e,t){return x(e,Eo(t,3),er)}function Mu(e,t){return x(e,Eo(t,3),rr)}function Pu(e,t){return null==e?e:gf(e,Eo(t,3),Uu)}function Fu(e,t){return null==e?e:yf(e,Eo(t,3),Uu)}function Tu(e,t){return e&&er(e,Eo(t,3))}function Bu(e,t){return e&&rr(e,Eo(t,3))}function Iu(e){return null==e?[]:ir(e,Wu(e))}function Ru(e){return null==e?[]:ir(e,Uu(e))}function Nu(e,t,n){var r=null==e?re:ar(e,t);return r===re?n:r}function Lu(e,t){return null!=e&&ko(e,t,gr)}function ju(e,t){return null!=e&&ko(e,t,Er)}function Wu(e){return Ys(e)?Dn(e):jr(e)}function Uu(e){return Ys(e)?Dn(e,!0):Wr(e)}function zu(e,t){var n={};return t=Eo(t,3),er(e,function(e,r,i){In(n,t(e,r,i),e)}),n}function Vu(e,t){var n={};return t=Eo(t,3),er(e,function(e,r,i){In(n,r,t(e,r,i))}),n}function Gu(e,t){return Hu(e,Fs(Eo(t)))}function Hu(e,t){if(null==e)return{};var n=d(yo(e),function(e){return[e]});return t=Eo(t),$r(e,n,function(e,n){return t(e,n[0])})}function Yu(e,t,n){t=Si(t,e);var r=-1,i=t.length;for(i||(i=1,e=re);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Xc();return Yc(e+i*(t-e+tr("1e-"+((i+"").length-1))),t)}return ei(e,t)}function il(e){return $p(_u(e).toLowerCase())}function ol(e){return e=_u(e),e&&e.replace($t,yr).replace(zn,"")}function al(e,t,n){e=_u(e),t=hi(t);var r=e.length;n=n===re?r:Nn(Au(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function sl(e){return e=_u(e),e&&wt.test(e)?e.replace(St,br):e}function ul(e){return e=_u(e),e&&Bt.test(e)?e.replace(Tt,"\\$&"):e}function ll(e,t,n){e=_u(e),t=Au(t);var r=t?Q(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return to(jc(i),n)+e+to(Lc(i),n)}function cl(e,t,n){e=_u(e),t=Au(t);var r=t?Q(e):0;return t&&r>>0)?(e=_u(e),e&&("string"==typeof t||null!=t&&!Ap(t))&&(t=hi(t),!t&&U(e))?Di(Z(e),0,n):e.split(t,n)):[]}function vl(e,t,n){return e=_u(e),n=null==n?0:Nn(Au(n),0,e.length),t=hi(t),e.slice(n,n+t.length)==t}function gl(e,t,r){var i=n.templateSettings;r&&Io(e,t,r)&&(t=re),e=_u(e),t=Op({},t,i,lo);var o,a,s=Op({},t.imports,i.imports,lo),u=Wu(s),l=B(s,u),c=0,f=t.interpolate||Jt,p="__p += '",d=uc((t.escape||Jt).source+"|"+f.source+"|"+(f===Ot?Vt:Jt).source+"|"+(t.evaluate||Jt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Kn+"]")+"\n";e.replace(d,function(t,n,r,i,s,u){return r||(r=i),p+=e.slice(c,u).replace(Qt,j),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t}),p+="';\n";var m=t.variable;m||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(xt,""):p).replace(Et,"$1").replace(At,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Jp(function(){return oc(u,h+"return "+p).apply(re,l)});if(v.source=p,Zs(v))throw v;return v}function yl(e){return _u(e).toLowerCase()}function bl(e){return _u(e).toUpperCase()}function xl(e,t,n){if(e=_u(e),e&&(n||t===re))return e.replace(It,"");if(!e||!(t=hi(t)))return e;var r=Z(e),i=Z(t),o=R(r,i),a=N(r,i)+1;return Di(r,o,a).join("")}function El(e,t,n){if(e=_u(e),e&&(n||t===re))return e.replace(Nt,"");if(!e||!(t=hi(t)))return e;var r=Z(e),i=N(r,Z(t))+1;return Di(r,0,i).join("")}function Al(e,t,n){if(e=_u(e),e&&(n||t===re))return e.replace(Rt,"");if(!e||!(t=hi(t)))return e;var r=Z(e),i=R(r,Z(t));return Di(r,i).join("")}function Cl(e,t){var n=we,r=_e;if(iu(t)){var i="separator"in t?t.separator:i;n="length"in t?Au(t.length):n,r="omission"in t?hi(t.omission):r}e=_u(e);var o=e.length;if(U(e)){var a=Z(e);o=a.length}if(n>=o)return e;var s=n-Q(r);if(s<1)return r;var u=a?Di(a,0,s).join(""):e.slice(0,s);if(i===re)return u+r;if(a&&(s+=u.length-s),Ap(i)){if(e.slice(s).search(i)){var l,c=u;for(i.global||(i=uc(i.source,_u(Gt.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var f=l.index;u=u.slice(0,f===re?s:f)}}else if(e.indexOf(hi(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r}function Sl(e){return e=_u(e),e&&Dt.test(e)?e.replace(Ct,xr):e}function Dl(e,t,n){return e=_u(e),t=n?re:t,t===re?z(e)?ne(e):b(e):e.match(t)||[]}function wl(e){var t=null==e?0:e.length,n=Eo();return e=t?d(e,function(e){if("function"!=typeof e[1])throw new cc(se);return[n(e[0]),e[1]]}):[],ri(function(n){for(var r=-1;++rBe)return[];var n=Ne,r=Yc(e,Ne);t=Eo(t),e-=Ne;for(var i=P(r,t);++n1?e[t-1]:re;return n="function"==typeof n?(e.pop(),n):re,qa(e,n)}),$f=vo(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Rn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof y&&Bo(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Qa,args:[o],thisArg:re}),new i(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(re),e})):this.thru(o)}),Jf=Wi(function(e,t,n){vc.call(e,n)?++e[n]:In(e,n,1)}),Qf=Xi(fa),Zf=Xi(pa),ep=Wi(function(e,t,n){vc.call(e,n)?e[n].push(t):In(e,n,[t])}),tp=ri(function(e,t,n){var r=-1,i="function"==typeof t,a=Ys(e)?nc(e.length):[];return mf(e,function(e){a[++r]=i?o(t,e,n):wr(e,t,n)}),a}),np=Wi(function(e,t,n){In(e,n,t)}),rp=Wi(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ip=ri(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Io(e,t[0],t[1])?t=[]:n>2&&Io(t[0],t[1],t[2])&&(t=[t[0]]),Kr(e,Zn(t,1),[])}),op=Rc||function(){return or.Date.now()},ap=ri(function(e,t,n){var r=ve;if(n.length){var i=Y(n,xo(ap));r|=Ee}return uo(e,r,t,n,i)}),sp=ri(function(e,t,n){var r=ve|ge;if(n.length){var i=Y(n,xo(sp));r|=Ee}return uo(t,r,e,n,i)}),up=ri(function(e,t){return Vn(e,1,t)}),lp=ri(function(e,t,n){return Vn(e,Su(t)||0,n)});Ps.Cache=cn;var cp=Ef(function(e,t){t=1==t.length&&gp(t[0])?d(t[0],T(Eo())):d(Zn(t,1),T(Eo()));var n=t.length;return ri(function(r){for(var i=-1,a=Yc(r.length,n);++i=t}),vp=_r(function(){return arguments}())?_r:function(e){return ou(e)&&vc.call(e,"callee")&&!Oc.call(e,"callee")},gp=nc.isArray,yp=fr?T(fr):kr,bp=Uc||Ul,xp=pr?T(pr):Or,Ep=dr?T(dr):Fr,Ap=hr?T(hr):Ir,Cp=mr?T(mr):Rr,Sp=vr?T(vr):Nr,Dp=io(Ur),wp=io(function(e,t){return e<=t}),_p=Ui(function(e,t){if(Wo(t)||Ys(t))return void Ni(t,Wu(t),e);for(var n in t)vc.call(t,n)&&Mn(e,n,t[n])}),kp=Ui(function(e,t){Ni(t,Uu(t),e)}),Op=Ui(function(e,t,n,r){Ni(t,Uu(t),e,r)}),Mp=Ui(function(e,t,n,r){Ni(t,Wu(t),e,r)}),Pp=vo(Rn),Fp=ri(function(e,t){e=sc(e);var n=-1,r=t.length,i=r>2?t[2]:re;for(i&&Io(t[0],t[1],i)&&(r=1);++n1),t}),Ni(e,yo(e),n),r&&(n=Ln(n,fe|pe|de,fo));for(var i=t.length;i--;)vi(n,t[i]);return n}),Wp=vo(function(e,t){return null==e?{}:Xr(e,t)}),Up=so(Wu),zp=so(Uu),Vp=Yi(function(e,t,n){return t=t.toLowerCase(),e+(n?il(t):t)}),Gp=Yi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Hp=Yi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Yp=Hi("toLowerCase"),qp=Yi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Kp=Yi(function(e,t,n){return e+(n?" ":"")+$p(t)}),Xp=Yi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),$p=Hi("toUpperCase"),Jp=ri(function(e,t){try{return o(e,re,t)}catch(e){return Zs(e)?e:new ic(e)}}),Qp=vo(function(e,t){return s(t,function(t){t=Zo(t),In(e,t,ap(e[t],e))}),e}),Zp=$i(),ed=$i(!0),td=ri(function(e,t){return function(n){return wr(n,e,t)}}),nd=ri(function(e,t){return function(n){return wr(e,n,t)}}),rd=eo(d),id=eo(l),od=eo(g),ad=ro(),sd=ro(!0),ud=Zi(function(e,t){return e+t},0),ld=ao("ceil"),cd=Zi(function(e,t){return e/t},1),fd=ao("floor"),pd=Zi(function(e,t){return e*t},1),dd=ao("round"),hd=Zi(function(e,t){return e-t},0);return n.after=Ss,n.ary=Ds,n.assign=_p,n.assignIn=kp,n.assignInWith=Op,n.assignWith=Mp,n.at=Pp,n.before=ws,n.bind=ap,n.bindAll=Qp,n.bindKey=sp,n.castArray=js,n.chain=$a,n.chunk=ra,n.compact=ia,n.concat=oa,n.cond=wl,n.conforms=_l,n.constant=kl,n.countBy=Jf,n.create=ku,n.curry=_s,n.curryRight=ks,n.debounce=Os,n.defaults=Fp,n.defaultsDeep=Tp,n.defer=up,n.delay=lp,n.difference=Tf,n.differenceBy=Bf,n.differenceWith=If,n.drop=aa,n.dropRight=sa,n.dropRightWhile=ua,n.dropWhile=la,n.fill=ca,n.filter=ss,n.flatMap=us,n.flatMapDeep=ls,n.flatMapDepth=cs,n.flatten=da,n.flattenDeep=ha,n.flattenDepth=ma,n.flip=Ms,n.flow=Zp,n.flowRight=ed,n.fromPairs=va,n.functions=Iu,n.functionsIn=Ru,n.groupBy=ep,n.initial=ba,n.intersection=Rf,n.intersectionBy=Nf,n.intersectionWith=Lf,n.invert=Bp,n.invertBy=Ip,n.invokeMap=tp,n.iteratee=Pl,n.keyBy=np,n.keys=Wu,n.keysIn=Uu,n.map=hs,n.mapKeys=zu,n.mapValues=Vu,n.matches=Fl,n.matchesProperty=Tl,n.memoize=Ps,n.merge=Np,n.mergeWith=Lp,n.method=td,n.methodOf=nd,n.mixin=Bl,n.negate=Fs,n.nthArg=Nl,n.omit=jp,n.omitBy=Gu,n.once=Ts,n.orderBy=ms,n.over=rd,n.overArgs=cp,n.overEvery=id,n.overSome=od,n.partial=fp,n.partialRight=pp,n.partition=rp,n.pick=Wp,n.pickBy=Hu,n.property=Ll,n.propertyOf=jl,n.pull=jf,n.pullAll=Sa,n.pullAllBy=Da,n.pullAllWith=wa,n.pullAt=Wf,n.range=ad,n.rangeRight=sd,n.rearg=dp,n.reject=ys,n.remove=_a,n.rest=Bs,n.reverse=ka,n.sampleSize=xs,n.set=qu,n.setWith=Ku,n.shuffle=Es,n.slice=Oa,n.sortBy=ip,n.sortedUniq=Ra,n.sortedUniqBy=Na,n.split=ml,n.spread=Is,n.tail=La,n.take=ja,n.takeRight=Wa,n.takeRightWhile=Ua,n.takeWhile=za,n.tap=Ja,n.throttle=Rs,n.thru=Qa,n.toArray=xu,n.toPairs=Up,n.toPairsIn=zp,n.toPath=Yl,n.toPlainObject=Du,n.transform=Xu,n.unary=Ns,n.union=Uf,n.unionBy=zf,n.unionWith=Vf,n.uniq=Va,n.uniqBy=Ga,n.uniqWith=Ha,n.unset=$u,n.unzip=Ya,n.unzipWith=qa,n.update=Ju,n.updateWith=Qu,n.values=Zu,n.valuesIn=el,n.without=Gf,n.words=Dl,n.wrap=Ls,n.xor=Hf,n.xorBy=Yf,n.xorWith=qf,n.zip=Kf,n.zipObject=Ka,n.zipObjectDeep=Xa, +n.zipWith=Xf,n.entries=Up,n.entriesIn=zp,n.extend=kp,n.extendWith=Op,Bl(n,n),n.add=ud,n.attempt=Jp,n.camelCase=Vp,n.capitalize=il,n.ceil=ld,n.clamp=tl,n.clone=Ws,n.cloneDeep=zs,n.cloneDeepWith=Vs,n.cloneWith=Us,n.conformsTo=Gs,n.deburr=ol,n.defaultTo=Ol,n.divide=cd,n.endsWith=al,n.eq=Hs,n.escape=sl,n.escapeRegExp=ul,n.every=as,n.find=Qf,n.findIndex=fa,n.findKey=Ou,n.findLast=Zf,n.findLastIndex=pa,n.findLastKey=Mu,n.floor=fd,n.forEach=fs,n.forEachRight=ps,n.forIn=Pu,n.forInRight=Fu,n.forOwn=Tu,n.forOwnRight=Bu,n.get=Nu,n.gt=hp,n.gte=mp,n.has=Lu,n.hasIn=ju,n.head=ga,n.identity=Ml,n.includes=ds,n.indexOf=ya,n.inRange=nl,n.invoke=Rp,n.isArguments=vp,n.isArray=gp,n.isArrayBuffer=yp,n.isArrayLike=Ys,n.isArrayLikeObject=qs,n.isBoolean=Ks,n.isBuffer=bp,n.isDate=xp,n.isElement=Xs,n.isEmpty=$s,n.isEqual=Js,n.isEqualWith=Qs,n.isError=Zs,n.isFinite=eu,n.isFunction=tu,n.isInteger=nu,n.isLength=ru,n.isMap=Ep,n.isMatch=au,n.isMatchWith=su,n.isNaN=uu,n.isNative=lu,n.isNil=fu,n.isNull=cu,n.isNumber=pu,n.isObject=iu,n.isObjectLike=ou,n.isPlainObject=du,n.isRegExp=Ap,n.isSafeInteger=hu,n.isSet=Cp,n.isString=mu,n.isSymbol=vu,n.isTypedArray=Sp,n.isUndefined=gu,n.isWeakMap=yu,n.isWeakSet=bu,n.join=xa,n.kebabCase=Gp,n.last=Ea,n.lastIndexOf=Aa,n.lowerCase=Hp,n.lowerFirst=Yp,n.lt=Dp,n.lte=wp,n.max=Kl,n.maxBy=Xl,n.mean=$l,n.meanBy=Jl,n.min=Ql,n.minBy=Zl,n.stubArray=Wl,n.stubFalse=Ul,n.stubObject=zl,n.stubString=Vl,n.stubTrue=Gl,n.multiply=pd,n.nth=Ca,n.noConflict=Il,n.noop=Rl,n.now=op,n.pad=ll,n.padEnd=cl,n.padStart=fl,n.parseInt=pl,n.random=rl,n.reduce=vs,n.reduceRight=gs,n.repeat=dl,n.replace=hl,n.result=Yu,n.round=dd,n.runInContext=e,n.sample=bs,n.size=As,n.snakeCase=qp,n.some=Cs,n.sortedIndex=Ma,n.sortedIndexBy=Pa,n.sortedIndexOf=Fa,n.sortedLastIndex=Ta,n.sortedLastIndexBy=Ba,n.sortedLastIndexOf=Ia,n.startCase=Kp,n.startsWith=vl,n.subtract=hd,n.sum=ec,n.sumBy=tc,n.template=gl,n.times=Hl,n.toFinite=Eu,n.toInteger=Au,n.toLength=Cu,n.toLower=yl,n.toNumber=Su,n.toSafeInteger=wu,n.toString=_u,n.toUpper=bl,n.trim=xl,n.trimEnd=El,n.trimStart=Al,n.truncate=Cl,n.unescape=Sl,n.uniqueId=ql,n.upperCase=Xp,n.upperFirst=$p,n.each=fs,n.eachRight=ps,n.first=ga,Bl(n,function(){var e={};return er(n,function(t,r){vc.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),s(["drop","take"],function(e,t){y.prototype[e]=function(n){n=n===re?1:Hc(Au(n),0);var r=this.__filtered__&&!t?new y(this):this.clone();return r.__filtered__?r.__takeCount__=Yc(n,r.__takeCount__):r.__views__.push({size:Yc(n,Ne),type:e+(r.__dir__<0?"Right":"")}),r},y.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),s(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Me||n==Fe;y.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Eo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),s(["head","last"],function(e,t){var n="take"+(t?"Right":"");y.prototype[e]=function(){return this[n](1).value()[0]}}),s(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");y.prototype[e]=function(){return this.__filtered__?new y(this):this[n](1)}}),y.prototype.compact=function(){return this.filter(Ml)},y.prototype.find=function(e){return this.filter(e).head()},y.prototype.findLast=function(e){return this.reverse().find(e)},y.prototype.invokeMap=ri(function(e,t){return"function"==typeof e?new y(this):this.map(function(n){return wr(n,e,t)})}),y.prototype.reject=function(e){return this.filter(Fs(Eo(e)))},y.prototype.slice=function(e,t){e=Au(e);var n=this;return n.__filtered__&&(e>0||t<0)?new y(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==re&&(t=Au(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},y.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},y.prototype.toArray=function(){return this.take(Ne)},er(y.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=n[o?"take"+("last"==t?"Right":""):t],s=o||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,u=o?[1]:arguments,l=t instanceof y,c=u[0],f=l||gp(t),p=function(e){var t=a.apply(n,h([e],u));return o&&d?t[0]:t};f&&r&&"function"==typeof c&&1!=c.length&&(l=f=!1);var d=this.__chain__,m=!!this.__actions__.length,v=s&&!d,g=l&&!m;if(!s&&f){t=g?t:new y(this);var b=e.apply(t,u);return b.__actions__.push({func:Qa,args:[p],thisArg:re}),new i(b,d)}return v&&g?e.apply(this,u):(b=this.thru(p),v?o?b.value()[0]:b.value():b)})}),s(["pop","push","shift","sort","splice","unshift"],function(e){var t=fc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var n=this.value();return t.apply(gp(n)?n:[],e)}return this[r](function(n){return t.apply(gp(n)?n:[],e)})}}),er(y.prototype,function(e,t){var r=n[t];if(r){var i=r.name+"",o=of[i]||(of[i]=[]);o.push({name:t,func:r})}}),of[Ji(re,ge).name]=[{name:"wrapper",func:re}],y.prototype.clone=_,y.prototype.reverse=$,y.prototype.value=ee,n.prototype.at=$f,n.prototype.chain=Za,n.prototype.commit=es,n.prototype.next=ts,n.prototype.plant=rs,n.prototype.reverse=is,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=os,n.prototype.first=n.prototype.head,Fc&&(n.prototype[Fc]=ns),n},Ar=Er();or._=Ar,r=function(){return Ar}.call(t,n,t,i),!(r!==re&&(i.exports=r))}).call(this)}).call(t,function(){return this}(),n(111)(e))},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=h++,p[e[v]]={}),p[e[v]]}var i=n(12),o=n(23),a=n(80),s=n(221),u=n(7),l=n(101),c=n(3),f=n(57),p={},d=!1,h=0,m={topAbort:"abort",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),g=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),s=a.registrationNameDependencies[e],u=i.topLevelTypes,l=0;l":">","<":"<",'"':""","'":"'"},o=/[&><"']/g;e.exports=r},function(e,t,n){"use strict";var r=n(4),i=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,a=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(a=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(a=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var i=n(107),o=r(i),a=n(255),s=r(a),u=n(254),l=r(u),c=n(253),f=r(c),p=n(106),d=r(p),h=n(108);r(h);t.createStore=o.default,t.combineReducers=s.default,t.bindActionCreators=l.default,t.applyMiddleware=f.default,t.compose=d.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(145),o=r(i),a=n(148),s=r(a),u=n(147),l=r(u),c=n(149),f=r(c),p=n(150),d=r(p),h=n(151),m=r(h),v=n(152),g=r(v),y=n(153),b=r(y),x=n(154),E=r(x),A=n(155),C=r(A),S=n(156),D=r(S),w=n(158),_=r(w),k=n(146),O=r(k),M=[l.default,s.default,f.default,m.default,g.default,b.default,E.default,C.default,D.default,d.default],P=(0,o.default)({prefixMap:O.default.prefixMap,plugins:M},_.default);t.default=P,e.exports=t.default},function(e,t){"use strict";function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.Provider=void 0;var i=n(181),o=r(i),a=n(182),s=r(a);t.Provider=o.default,t.connect=s.default},function(e,t,n){var r=n(197),i=n(18);e.exports=function(e,t,n){var i=e[t];if(i){var o=[];if(Object.keys(i).forEach(function(e){r.indexOf(e)===-1&&o.push(e)}),o.length)throw new Error("Prop "+t+" passed to "+n+". Has invalid keys "+o.join(", "))}},e.exports.isRequired=function(t,n,r){if(!t[n])throw new Error("Prop "+n+" passed to "+r+" is required");return e.exports(t,n,r)},e.exports.supportingArrays=i.oneOfType([i.arrayOf(e.exports),e.exports])},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var i=n(15),o=n(3),a=n(1);o(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length?a(!1):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return!!r&&!!n[r]}function r(e){return n}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[i]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=n},function(e,t,n){"use strict";function r(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e){var t;if(null===e||e===!1)t=new a(i);else if("object"==typeof e){var n=e;!n||"function"!=typeof n.type&&"string"!=typeof n.type?l(!1):void 0,t="string"==typeof n.type?s.createInternalComponent(n):r(n.type)?new n.type(n):new c}else"string"==typeof e||"number"==typeof e?t=s.createInstanceForText(e):l(!1);return t.construct(e),t._mountIndex=0,t._mountImage=null,t}var o=n(212),a=n(91),s=n(97),u=n(3),l=n(1),c=(n(2),function(){});u(c.prototype,o.Mixin,{_instantiateReactComponent:i}),e.exports=i},function(e,t,n){"use strict";/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, @@ -20,1669 +20,64 @@ i=!0}}};e.exports=o}).call(t,n(1))},function(e,t,n){(function(t){"use strict";va * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ -function r(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=n(5);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";var r=n(5),i=n(34),o=n(35),a=function(e,t){e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){o(e,i(t))})),e.exports=a},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var i=typeof e,o=typeof t;return"string"===i||"number"===i?"string"===o||"number"===o:"object"===o&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){(function(t){"use strict";function r(e){return g[e]}function i(e,t){return e&&null!=e.key?a(e.key):t.toString(36)}function o(e){return(""+e).replace(y,r)}function a(e){return"$"+o(e)}function s(e,n,r,o){var u=typeof e;if("undefined"!==u&&"boolean"!==u||(e=null),null===e||"string"===u||"number"===u||c.isValidElement(e))return r(o,e,""===n?m+i(e,0):n),1;var p,g,y=0,b=""===n?m:n+v;if(Array.isArray(e))for(var x=0;xc&&b[c]===x[c];c++)C=c;var A="(unknown)",w=b.slice(C+1).map(function(e){return e.getName()||A}),S=x.slice(C+1).map(function(e){return e.getName()||A}),_=[].concat(-1!==C?b[C].getName()||A:[],S,f,u?["..."]:[],w,e).join(" > "),F=!!s+"|"+e+"|"+f+"|"+_;if(v[F])return;if(v[F]=!0,s){var N="";"table"===f&&"tr"===e&&(N+=" Add a to your code to match the DOM tree generated by the browser."),"production"!==t.env.NODE_ENV?o(!1,"validateDOMNesting(...): <%s> cannot appear as a child of <%s>. See %s.%s",e,f,_,N):void 0}else"production"!==t.env.NODE_ENV?o(!1,"validateDOMNesting(...): <%s> cannot appear as a descendant of <%s>. See %s.",e,f,_):void 0}},a.ancestorInfoContextKey="__validateDOMNesting_ancestorInfo$"+Math.random().toString(36).slice(2),a.updatedAncestorInfo=f,a.isTagValidInContext=function(e,t){t=t||p;var n=t.parentTag,r=n&&n.tag;return d(e,r)&&!h(e,t)}}e.exports=a}).call(t,n(1))},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DID_UPDATE_CODE="did_update_code"},function(e,t,n){(function(t){"use strict";var r=n(11),i={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,n,i){return e.addEventListener?(e.addEventListener(n,i,!0),{remove:function(){e.removeEventListener(n,i,!0)}}):("production"!==t.env.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:r})},registerDefault:function(){}};e.exports=i}).call(t,n(1))},function(e,t,n){"use strict";function r(e,t){var n=!0;e:for(;n;){var r=e,o=t;if(n=!1,r&&o){if(r===o)return!0;if(i(r))return!1;if(i(o)){e=r,t=o.parentNode,n=!0;continue e}return r.contains?r.contains(o):r.compareDocumentPosition?!!(16&r.compareDocumentPosition(o)):!1}return!1}}var i=n(123);e.exports=r},function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}e.exports=n},function(e,t){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=n},function(e,t,n){(function(t){"use strict";function r(e){return a?void 0:"production"!==t.env.NODE_ENV?o(!1,"Markup wrapping node not initialized"):o(!1),f.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?a.innerHTML="":a.innerHTML="<"+e+">",s[e]=!a.firstChild),s[e]?f[e]:null}var i=n(5),o=n(2),a=i.canUseDOM?document.createElement("div"):null,s={},u=[1,'"],l=[1,"","
"],c=[3,"","
"],p=[1,'',""],f={"*":[1,"?

","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},d=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];d.forEach(function(e){f[e]=p,s[e]=!0}),e.exports=r}).call(t,n(1))},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=r.bind(t),a=0;a=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,r)}var i=n(149),o=n(86),a=n(8),s=n(35),u=n(53),l=n(2),c={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:u,processUpdates:function(e,n){for(var a,c=null,p=null,f=0;f when using tables, nesting tags like ,

, or , or using non-SVG elements in an parent. Try inspecting the child nodes of the element with React ID `%s`.",d,m):l(!1),c=c||{},c[m]=c[m]||[],c[m][d]=h,p=p||[],p.push(h)}var v;if(v=n.length&&"string"==typeof n[0]?i.dangerouslyRenderMarkup(n):n,p)for(var g=0;g-1?void 0:"production"!==t.env.NODE_ENV?a(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):a(!1),!l.plugins[r]){n.extractEvents?void 0:"production"!==t.env.NODE_ENV?a(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):a(!1),l.plugins[r]=n;var o=n.eventTypes;for(var c in o)i(o[c],n,c)?void 0:"production"!==t.env.NODE_ENV?a(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",c,e):a(!1)}}}function i(e,n,r){l.eventNameDispatchConfigs.hasOwnProperty(r)?"production"!==t.env.NODE_ENV?a(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",r):a(!1):void 0,l.eventNameDispatchConfigs[r]=e;var i=e.phasedRegistrationNames;if(i){for(var s in i)if(i.hasOwnProperty(s)){var u=i[s];o(u,n,r)}return!0}return e.registrationName?(o(e.registrationName,n,r),!0):!1}function o(e,n,r){l.registrationNameModules[e]?"production"!==t.env.NODE_ENV?a(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):a(!1):void 0,l.registrationNameModules[e]=n,l.registrationNameDependencies[e]=n.eventTypes[r].dependencies}var a=n(2),s=null,u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s?"production"!==t.env.NODE_ENV?a(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):a(!1):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var n=!1;for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];u.hasOwnProperty(i)&&u[i]===o||(u[i]?"production"!==t.env.NODE_ENV?a(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",i):a(!1):void 0,u[i]=o,n=!0)}n&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=l}).call(t,n(1))},function(e,t,n){"use strict";function r(e){return(""+e).replace(b,"//")}function i(e,t){this.func=e,this.context=t,this.count=0}function o(e,t,n){var r=e.func,i=e.context;r.call(i,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=i.getPooled(t,n);g(e,o,r),i.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var i=e.result,o=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?l(u,i,n,v.thatReturnsArgument):null!=u&&(m.isValidElement(u)&&(u=m.cloneAndReplaceKey(u,o+(u!==t?r(u.key||"")+"/":"")+n)),i.push(u))}function l(e,t,n,i,o){var a="";null!=n&&(a=r(n)+"/");var l=s.getPooled(t,a,i,o);g(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function p(e,t,n){return null}function f(e,t){return g(e,p,null)}function d(e){var t=[];return l(e,t,null,v.thatReturnsArgument),t}var h=n(15),m=n(7),v=n(11),g=n(55),y=h.twoArgumentPooler,E=h.fourArgumentPooler,b=/\/(?!\/)/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(i,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,E);var x={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:f,toArray:d};e.exports=x},function(e,t,n){(function(t){"use strict";function r(){_||(_=!0,"production"!==t.env.NODE_ENV?C(!1,"setProps(...) and replaceProps(...) are deprecated. Instead, call render again at the top level."):void 0)}function i(e,n,r){for(var i in n)n.hasOwnProperty(i)&&("production"!==t.env.NODE_ENV?C("function"==typeof n[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",v[r],i):void 0)}function o(e,n){var r=F.hasOwnProperty(n)?F[n]:null;k.hasOwnProperty(n)&&(r!==w.OVERRIDE_BASE?"production"!==t.env.NODE_ENV?b(!1,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",n):b(!1):void 0),e.hasOwnProperty(n)&&(r!==w.DEFINE_MANY&&r!==w.DEFINE_MANY_MERGED?"production"!==t.env.NODE_ENV?b(!1,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n):b(!1):void 0)}function a(e,n){if(n){"function"==typeof n?"production"!==t.env.NODE_ENV?b(!1,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."):b(!1):void 0,h.isValidElement(n)?"production"!==t.env.NODE_ENV?b(!1,"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object."):b(!1):void 0;var r=e.prototype;n.hasOwnProperty(A)&&N.mixins(e,n.mixins);for(var i in n)if(n.hasOwnProperty(i)&&i!==A){var a=n[i];if(o(r,i),N.hasOwnProperty(i))N[i](e,a);else{var s=F.hasOwnProperty(i),u=r.hasOwnProperty(i),p="function"==typeof a,f=p&&!s&&!u&&n.autobind!==!1;if(f)r.__reactAutoBindMap||(r.__reactAutoBindMap={}),r.__reactAutoBindMap[i]=a,r[i]=a;else if(u){var d=F[i];!s||d!==w.DEFINE_MANY_MERGED&&d!==w.DEFINE_MANY?"production"!==t.env.NODE_ENV?b(!1,"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",d,i):b(!1):void 0,d===w.DEFINE_MANY_MERGED?r[i]=l(r[i],a):d===w.DEFINE_MANY&&(r[i]=c(r[i],a))}else r[i]=a,"production"!==t.env.NODE_ENV&&"function"==typeof a&&n.displayName&&(r[i].displayName=n.displayName+"_"+i)}}}}function s(e,n){if(n)for(var r in n){var i=n[r];if(n.hasOwnProperty(r)){var o=r in N;o?"production"!==t.env.NODE_ENV?b(!1,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',r):b(!1):void 0;var a=r in e;a?"production"!==t.env.NODE_ENV?b(!1,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r):b(!1):void 0,e[r]=i}}}function u(e,n){e&&n&&"object"==typeof e&&"object"==typeof n?void 0:"production"!==t.env.NODE_ENV?b(!1,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."):b(!1);for(var r in n)n.hasOwnProperty(r)&&(void 0!==e[r]?"production"!==t.env.NODE_ENV?b(!1,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",r):b(!1):void 0,e[r]=n[r]);return e}function l(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return u(i,n),u(i,r),i}}function c(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function p(e,n){var r=n.bind(e);if("production"!==t.env.NODE_ENV){r.__reactBoundContext=e,r.__reactBoundMethod=n,r.__reactBoundArguments=null;var i=e.constructor.displayName,o=r.bind;r.bind=function(a){for(var s=arguments.length,u=Array(s>1?s-1:0),l=1;s>l;l++)u[l-1]=arguments[l];if(a!==e&&null!==a)"production"!==t.env.NODE_ENV?C(!1,"bind(): React component methods may only be bound to the component instance. See %s",i):void 0;else if(!u.length)return"production"!==t.env.NODE_ENV?C(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",i):void 0,r;var c=o.apply(r,arguments);return c.__reactBoundContext=e,c.__reactBoundMethod=n,c.__reactBoundArguments=u,c}}return r}function f(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=p(e,n)}}var d=n(73),h=n(7),m=n(30),v=n(29),g=n(88),y=n(3),E=n(20),b=n(2),x=n(26),D=n(14),C=n(4),A=D({mixins:null}),w=x({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),S=[],_=!1,F={mixins:w.DEFINE_MANY,statics:w.DEFINE_MANY,propTypes:w.DEFINE_MANY,contextTypes:w.DEFINE_MANY,childContextTypes:w.DEFINE_MANY,getDefaultProps:w.DEFINE_MANY_MERGED,getInitialState:w.DEFINE_MANY_MERGED,getChildContext:w.DEFINE_MANY_MERGED,render:w.DEFINE_ONCE,componentWillMount:w.DEFINE_MANY,componentDidMount:w.DEFINE_MANY,componentWillReceiveProps:w.DEFINE_MANY,shouldComponentUpdate:w.DEFINE_ONCE,componentWillUpdate:w.DEFINE_MANY,componentDidUpdate:w.DEFINE_MANY,componentWillUnmount:w.DEFINE_MANY,updateComponent:w.OVERRIDE_BASE},N={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)&&console.debug("Download the React DevTools for a better development experience: https://fb.me/react-devtools");var y=document.documentMode&&document.documentMode<8;"production"!==t.env.NODE_ENV?h(!y,'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: '):void 0;for(var E=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],b=0;b must be an array if `multiple` is true.%s",a,i(r)):void 0:"production"!==t.env.NODE_ENV?f(!Array.isArray(n[a]),"The `%s` prop supplied to ',""],l=[1,"","
"],c=[3,"","
"],f=[1,'',""],p={"*":[1,"?

","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},d=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];d.forEach(function(e){p[e]=f,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=r.bind(t),a=0;a=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,r)}var i=n(203),o=n(96),a=n(7),s=n(37),u=n(58),l=n(1),c={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:u,processUpdates:function(e,t){for(var n,a=null,c=null,f=0;f-1?void 0:a(!1),!l.plugins[n]){t.extractEvents?void 0:a(!1),l.plugins[n]=t;var r=t.eventTypes;for(var o in r)i(r[o],t,o)?void 0:a(!1)}}}function i(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?a(!1):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i];o(s,t,n)}return!0}return!!e.registrationName&&(o(e.registrationName,t,n),!0)}function o(e,t,n){l.registrationNameModules[e]?a(!1):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(1),s=null,u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s?a(!1):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];u.hasOwnProperty(n)&&u[n]===i||(u[n]?a(!1):void 0,u[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=l},function(e,t,n){"use strict";function r(e){return(""+e).replace(x,"//")}function i(e,t){this.func=e,this.context=t,this.count=0}function o(e,t,n){var r=e.func,i=e.context;r.call(i,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=i.getPooled(t,n);g(e,o,r),i.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var i=e.result,o=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?l(u,i,n,v.thatReturnsArgument):null!=u&&(m.isValidElement(u)&&(u=m.cloneAndReplaceKey(u,o+(u!==t?r(u.key||"")+"/":"")+n)),i.push(u))}function l(e,t,n,i,o){var a="";null!=n&&(a=r(n)+"/");var l=s.getPooled(t,a,i,o);g(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function f(e,t,n){return null}function p(e,t){return g(e,f,null)}function d(e){var t=[];return l(e,t,null,v.thatReturnsArgument),t}var h=n(15),m=n(6),v=n(10),g=n(60),y=h.twoArgumentPooler,b=h.fourArgumentPooler,x=/\/(?!\/)/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(i,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,b);var E={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:p,toArray:d};e.exports=E},function(e,t,n){"use strict";function r(e,t){var n=A.hasOwnProperty(t)?A[t]:null;S.hasOwnProperty(t)&&(n!==x.OVERRIDE_BASE?v(!1):void 0),e.hasOwnProperty(t)&&(n!==x.DEFINE_MANY&&n!==x.DEFINE_MANY_MERGED?v(!1):void 0)}function i(e,t){if(t){"function"==typeof t?v(!1):void 0,p.isValidElement(t)?v(!1):void 0;var n=e.prototype;t.hasOwnProperty(b)&&C.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==b){var o=t[i];if(r(n,i),C.hasOwnProperty(i))C[i](e,o);else{var a=A.hasOwnProperty(i),l=n.hasOwnProperty(i),c="function"==typeof o,f=c&&!a&&!l&&t.autobind!==!1;if(f)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[i]=o,n[i]=o;else if(l){var d=A[i];!a||d!==x.DEFINE_MANY_MERGED&&d!==x.DEFINE_MANY?v(!1):void 0,d===x.DEFINE_MANY_MERGED?n[i]=s(n[i],o):d===x.DEFINE_MANY&&(n[i]=u(n[i],o))}else n[i]=o}}}}function o(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var i=n in C;i?v(!1):void 0;var o=n in e;o?v(!1):void 0,e[n]=r}}}function a(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:v(!1);for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?v(!1):void 0,e[n]=t[n]);return e}function s(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return a(i,n),a(i,r),i}}function u(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function l(e,t){var n=t.bind(e);return n}function c(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=l(e,n)}}var f=n(83),p=n(6),d=(n(32),n(31),n(98)),h=n(3),m=n(22),v=n(1),g=n(28),y=n(14),b=(n(2),y({mixins:null})),x=g({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),E=[],A={mixins:x.DEFINE_MANY,statics:x.DEFINE_MANY,propTypes:x.DEFINE_MANY,contextTypes:x.DEFINE_MANY,childContextTypes:x.DEFINE_MANY,getDefaultProps:x.DEFINE_MANY_MERGED,getInitialState:x.DEFINE_MANY_MERGED,getChildContext:x.DEFINE_MANY_MERGED,render:x.DEFINE_ONCE,componentWillMount:x.DEFINE_MANY,componentDidMount:x.DEFINE_MANY,componentWillReceiveProps:x.DEFINE_MANY,shouldComponentUpdate:x.DEFINE_ONCE,componentWillUpdate:x.DEFINE_MANY,componentDidUpdate:x.DEFINE_MANY,componentWillUnmount:x.DEFINE_MANY,updateComponent:x.OVERRIDE_BASE},C={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n"+s+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var i=a.getNode(this._rootNodeID);r.updateTextContent(i,n)}}},unmountComponent:function(){o.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=c},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var i=n(8),o=n(34),a=n(3),s=n(10),u={initialize:s,close:function(){p.isBatchingUpdates=!1}},l={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[l,u];a(r.prototype,o.Mixin,{getTransactionWrappers:function(){return c}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,i,o){var a=p.isBatchingUpdates;p.isBatchingUpdates=!0,a?e(t,n,r,i,o):f.perform(e,null,t,n,r,i,o)}};e.exports=p},function(e,t,n){"use strict";function r(){if(!D){D=!0,g.EventEmitter.injectReactEventListener(v),g.EventPluginHub.injectEventPluginOrder(s),g.EventPluginHub.injectInstanceHandle(y),g.EventPluginHub.injectMount(b),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:C,EnterLeaveEventPlugin:u,ChangeEventPlugin:o,SelectEventPlugin:E,BeforeInputEventPlugin:i}),g.NativeComponent.injectGenericComponentClass(h),g.NativeComponent.injectTextComponentClass(m),g.Class.injectMixin(f),g.DOMProperty.injectDOMPropertyConfig(c),g.DOMProperty.injectDOMPropertyConfig(S),g.EmptyComponent.injectEmptyComponent("noscript"),g.Updates.injectReconcileTransaction(x),g.Updates.injectBatchingStrategy(d),g.RootIndex.injectCreateReactRootIndex(l.canUseDOM?a.createReactRootIndex:A.createReactRootIndex),g.Component.injectEnvironment(p)}}var i=n(199),o=n(201),a=n(202),s=n(204),u=n(205),l=n(4),c=n(208),f=n(210),p=n(46),d=n(88),h=n(214),m=n(87),v=n(222),g=n(223),y=n(20),b=n(5),x=n(227),E=n(233),A=n(234),C=n(235),S=n(232),D=!1;e.exports={inject:r}},function(e,t,n){"use strict";function r(){if(f.current){var e=f.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;o("uniqueKey",e,t)}}function o(e,t,n){var i=r();if(!i){var o="string"==typeof n?n:n.displayName||n.name;o&&(i=" Check the top-level render call using <"+o+">.")}var a=h[e]||(h[e]={});if(a[i])return null;a[i]=!0;var s={parentOrOwner:i,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==f.current&&(s.childOwner=" It was passed a child from "+t._owner.getName()+"."),s}function a(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(i," "+o.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var i=r(e);return i===n}};e.exports=o},function(e,t,n){"use strict";var r=n(28),i=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=i},function(e,t,n){"use strict";function r(e){if("function"==typeof e.type)return e.type;var t=e.type,n=f[t];return null==n&&(f[t]=n=l(t)),n}function i(e){return c?void 0:u(!1),new c(e.type,e.props)}function o(e){return new p(e)}function a(e){return e instanceof p}var s=n(3),u=n(1),l=null,c=null,f={},p=null,d={injectGenericComponentClass:function(e){c=e},injectTextComponentClass:function(e){p=e},injectComponentClasses:function(e){s(f,e)}},h={getComponentClassForElement:r,createInternalComponent:i,createInstanceForText:o,isTextComponent:a,injection:d};e.exports=h},function(e,t,n){"use strict";function r(e,t){}var i=(n(2),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")},enqueueSetProps:function(e,t){r(e,"setProps")},enqueueReplaceProps:function(e,t){r(e,"replaceProps")}});e.exports=i},function(e,t,n){"use strict";function r(e){function t(t,n,r,i,o,a){if(i=i||A,a=a||r,null==n[r]){var s=b[o];return t?new Error("Required "+s+" `"+a+"` was not specified in "+("`"+i+"`.")):null}return e(n,r,i,o,a)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,i,o){var a=t[n],s=m(a);if(s!==e){var u=b[i],l=v(a);return new Error("Invalid "+u+" `"+o+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function o(){return r(x.thatReturns(null))}function a(e){function t(t,n,r,i,o){var a=t[n];if(!Array.isArray(a)){var s=b[i],u=m(a);return new Error("Invalid "+s+" `"+o+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l>"}var y=n(6),b=n(31),x=n(10),E=n(55),A="<>",C={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:o(),arrayOf:a,element:s(),instanceOf:u,node:p(),objectOf:c,oneOf:l,oneOfType:f,shape:d};e.exports=C},function(e,t){"use strict";var n={injectCreateReactRootIndex:function(e){r.createReactRootIndex=e}},r={createReactRootIndex:null,injection:n};e.exports=r},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t,n){"use strict";function r(e,t){if(null==t?i(!1):void 0,null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var i=n(1);e.exports=r},function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=n},function(e,t,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(4),o=null;e.exports=r},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&r[e.type]||"textarea"===t)}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.DID_UPDATE_CODE:return t.payload;default:return e}};var r=n(62),i=""},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(38),o=n(118),a=r(o),s=(0,i.combineReducers)({code:a.default});t.default=s},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var _lodash=__webpack_require__(29),_lodash2=_interopRequireDefault(_lodash),_reselect=__webpack_require__(264),_babelStandalone=__webpack_require__(121),_esprima=__webpack_require__(129),_esprima2=_interopRequireDefault(_esprima),codeSelector=function(e){return e.code},OPEN_DELIMITERS=["(","{","[","`"],CLOSE_DELIMITERS=[")","}","]","`"],DELIMITER_MAP={")":"(","}":"{","]":"[","`":"`"},findDelimiters=function(e,t){var n=e.column;return _lodash2.default.intersection(_lodash2.default.takeRight(t,t.length-n),OPEN_DELIMITERS).length},parseExpressions=function parseExpressions(code){var transformedCode=(0,_babelStandalone.transform)(code,{presets:["react"]}).code,codeByLine=transformedCode.split("\n"),tokenized=_esprima2.default.tokenize(transformedCode,{loc:!0}),parens={"(":0,"{":0,"[":0},wasOpen=!1,exp=_lodash2.default.reduce(tokenized,function(e,t,n){var r=t.value,i=t.loc.end,o=i.line,a=codeByLine[o-1],s=findDelimiters(i,a);i.column===a.length;return e[o]?e:(OPEN_DELIMITERS.includes(r)&&(parens[r]+=1,wasOpen=!0),CLOSE_DELIMITERS.includes(r)&&(parens[DELIMITER_MAP[r]]-=1),!s&&wasOpen&&_lodash2.default.every(parens,function(e){return 0===e})?(wasOpen=!1,e[o]=_lodash2.default.take(codeByLine,o).join("\n"),e):!s&&_lodash2.default.every(parens,function(e){return 0===e})?(e[o]=_lodash2.default.take(codeByLine,o).join("\n"),e):e)},{});return eval(transformedCode),exp};exports.default=(0,_reselect.createSelector)(codeSelector,parseExpressions)},function(e,t,n){(function(t){!function(t,n){e.exports=n()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,i){r.apply(this,[e,t,i].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){return b(t)&&"string"==typeof t[0]?e.hasOwnProperty(t[0])?[e[t[0]]].concat(t.slice(1)):void 0:"string"==typeof t?e[t]:t}function o(e){var t=(e.presets||[]).map(function(e){var t=i(E,e);if(!t)throw new Error('Invalid preset specified in Babel options: "'+e+'"');return b(t)&&"object"===m(t[0])&&t[0].hasOwnProperty("buildPreset")&&(t[0]=h({},t[0],{buildPreset:t[0].buildPreset})),t}),n=(e.plugins||[]).map(function(e){var t=i(x,e);if(!t)throw new Error('Invalid plugin specified in Babel options: "'+e+'"');return t});return h({babelrc:!1},e,{presets:t,plugins:n})}function a(e,t){return g.transform(e,o(t))}function s(e,t,n){return g.transformFromAst(e,t,o(n))}function u(e,t){x.hasOwnProperty(e)&&console.warn('A plugin named "'+e+'" is already registered, it will be overridden'),x[e]=t}function l(e){Object.keys(e).forEach(function(t){return u(t,e[t])})}function c(e,t){E.hasOwnProperty(e)&&console.warn('A preset named "'+e+'" is already registered, it will be overridden'),E[e]=t}function f(e){Object.keys(e).forEach(function(t){return c(t,e[t])})}function p(e){(0,y.runScripts)(a,e)}function d(){window.removeEventListener("DOMContentLoaded",p)}Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.buildExternalHelpers=t.availablePresets=t.availablePlugins=void 0;var h=Object.assign||function(e){for(var t=1;t=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if(e===s)return!0}}return!1}function u(e,t,n){if(e){var r=J.NODE_FIELDS[e.type];if(r){var i=r[t];i&&i.validate&&(i.optional&&null==n||i.validate(e,t,n))}}}function l(e,t){for(var n=(0,B.default)(t),r=n,i=Array.isArray(r),o=0,r=i?r:(0,F.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if(e[s]!==t[s])return!1}return!0}function c(e,t,n){return e.object=J.memberExpression(e.object,e.property,e.computed),e.property=t,e.computed=!!n,e}function f(e,t){return e.object=J.memberExpression(t,e.object),e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body";return e[t]=J.toBlock(e[t],e)}function d(e){if(!e)return e;var t={};for(var n in e)"_"!==n[0]&&(t[n]=e[n]);return t}function h(e){var t=d(e);return delete t.loc,t}function m(e){if(!e)return e;var t={};for(var n in e)if("_"!==n[0]){var r=e[n];r&&(r.type?r=J.cloneDeep(r):Array.isArray(r)&&(r=r.map(J.cloneDeep))),t[n]=r}return t}function v(e,t){var n=e.split(".");return function(e){if(!J.isMemberExpression(e))return!1;for(var r=[e],i=0;r.length;){var o=r.shift();if(t&&i===n.length)return!0;if(J.isIdentifier(o)){if(n[i]!==o.name)return!1}else{if(!J.isStringLiteral(o)){if(J.isMemberExpression(o)){if(o.computed&&!J.isStringLiteral(o.property))return!1;r.push(o.object),r.push(o.property);continue}return!1}if(n[i]!==o.value)return!1}if(++i>n.length)return!1}return!0}}function g(e){for(var t=J.COMMENT_KEYS,n=Array.isArray(t),r=0,t=n?t:(0,F.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;delete e[o]}return e}function y(e,t){return b(e,t),x(e,t),E(e,t),e}function b(e,t){A("trailingComments",e,t)}function x(e,t){A("leadingComments",e,t)}function E(e,t){A("innerComments",e,t)}function A(e,t,n){t&&n&&(t[e]=(0,q.default)([].concat(t[e],n[e]).filter(Boolean)))}function C(e,t){if(!e||!t)return e;for(var n=J.INHERIT_KEYS.optional,r=Array.isArray(n),i=0,n=r?n:(0,F.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;null==e[a]&&(e[a]=t[a])}for(var s in t)"_"===s[0]&&(e[s]=t[s]);for(var u=J.INHERIT_KEYS.force,l=Array.isArray(u),c=0,u=l?u:(0,F.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;e[p]=t[p]}return J.inheritsComments(e,t),e}function S(e){if(!D(e))throw new TypeError("Not a valid node "+(e&&e.type))}function D(e){return!(!e||!K.VISITOR_KEYS[e.type])}function w(e,t,n){if(e){var r=J.VISITOR_KEYS[e.type];if(r){n=n||{},t(e,n);for(var i=r,o=Array.isArray(i),a=0,i=o?i:(0,F.default)(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s,l=e[u];if(Array.isArray(l))for(var c=l,f=Array.isArray(c),p=0,c=f?c:(0,F.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;w(h,t,n)}else w(l,t,n)}}}}function _(e,t){t=t||{};for(var n=t.preserveComments?te:ne,r=n,i=Array.isArray(r),o=0,r=i?r:(0,F.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;null!=e[s]&&(e[s]=void 0)}for(var u in e)"_"===u[0]&&null!=e[u]&&(e[u]=void 0);for(var l=(0,M.default)(e),c=l,f=Array.isArray(c),p=0,c=f?c:(0,F.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;e[h]=null}}function k(e,t){return w(e,_,t),e}t.__esModule=!0,t.createTypeAnnotationBasedOnTypeof=t.removeTypeDuplicates=t.createUnionTypeAnnotation=t.valueToNode=t.toBlock=t.toExpression=t.toStatement=t.toBindingIdentifierName=t.toIdentifier=t.toKeyAlias=t.toSequenceExpression=t.toComputedKey=t.isNodesEquivalent=t.isImmutable=t.isScope=t.isSpecifierDefault=t.isVar=t.isBlockScoped=t.isLet=t.isValidIdentifier=t.isReferenced=t.isBinding=t.getOuterBindingIdentifiers=t.getBindingIdentifiers=t.TYPES=t.react=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;var O=n(360),M=i(O),P=n(2),F=i(P),T=n(14),B=i(T),I=n(35),R=i(I),N=n(135);Object.defineProperty(t,"STATEMENT_OR_BLOCK_KEYS",{enumerable:!0,get:function(){return N.STATEMENT_OR_BLOCK_KEYS}}),Object.defineProperty(t,"FLATTENABLE_KEYS",{enumerable:!0,get:function(){return N.FLATTENABLE_KEYS}}),Object.defineProperty(t,"FOR_INIT_KEYS",{enumerable:!0,get:function(){return N.FOR_INIT_KEYS}}),Object.defineProperty(t,"COMMENT_KEYS",{enumerable:!0,get:function(){return N.COMMENT_KEYS}}),Object.defineProperty(t,"LOGICAL_OPERATORS",{enumerable:!0,get:function(){return N.LOGICAL_OPERATORS}}),Object.defineProperty(t,"UPDATE_OPERATORS",{enumerable:!0,get:function(){return N.UPDATE_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.BOOLEAN_NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"EQUALITY_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.EQUALITY_BINARY_OPERATORS}}),Object.defineProperty(t,"COMPARISON_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.COMPARISON_BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.BOOLEAN_BINARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return N.NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"BINARY_OPERATORS",{enumerable:!0,get:function(){return N.BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_UNARY_OPERATORS",{enumerable:!0,get:function(){return N.BOOLEAN_UNARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_UNARY_OPERATORS",{enumerable:!0,get:function(){return N.NUMBER_UNARY_OPERATORS}}),Object.defineProperty(t,"STRING_UNARY_OPERATORS",{enumerable:!0,get:function(){return N.STRING_UNARY_OPERATORS}}),Object.defineProperty(t,"UNARY_OPERATORS",{enumerable:!0,get:function(){return N.UNARY_OPERATORS}}),Object.defineProperty(t,"INHERIT_KEYS",{enumerable:!0,get:function(){return N.INHERIT_KEYS}}),Object.defineProperty(t,"BLOCK_SCOPED_SYMBOL",{enumerable:!0,get:function(){return N.BLOCK_SCOPED_SYMBOL}}),Object.defineProperty(t,"NOT_LOCAL_BINDING",{enumerable:!0,get:function(){return N.NOT_LOCAL_BINDING}}),t.is=a,t.isType=s,t.validate=u,t.shallowEqual=l,t.appendToMemberExpression=c,t.prependToMemberExpression=f,t.ensureBlock=p,t.clone=d,t.cloneWithoutLoc=h,t.cloneDeep=m,t.buildMatchMemberExpression=v,t.removeComments=g,t.inheritsComments=y,t.inheritTrailingComments=b,t.inheritLeadingComments=x,t.inheritInnerComments=E,t.inherits=C,t.assertNode=S,t.isNode=D,t.traverseFast=w,t.removeProperties=_,t.removePropertiesDeep=k;var L=n(226);Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return L.getBindingIdentifiers}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return L.getOuterBindingIdentifiers}});var j=n(395);Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return j.isBinding}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return j.isReferenced}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return j.isValidIdentifier}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return j.isLet}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return j.isBlockScoped}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return j.isVar}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return j.isSpecifierDefault}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return j.isScope}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return j.isImmutable}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return j.isNodesEquivalent}});var W=n(385);Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return W.toComputedKey}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return W.toSequenceExpression}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return W.toKeyAlias}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return W.toIdentifier}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return W.toBindingIdentifierName}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return W.toStatement}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return W.toExpression}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return W.toBlock}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return W.valueToNode}});var U=n(393);Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return U.createUnionTypeAnnotation}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return U.removeTypeDuplicates}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return U.createTypeAnnotationBasedOnTypeof}});var z=n(624),V=i(z),G=n(109),H=i(G),Y=n(600),q=i(Y);n(390);var K=n(26),X=n(394),$=r(X),J=t;t.VISITOR_KEYS=K.VISITOR_KEYS,t.ALIAS_KEYS=K.ALIAS_KEYS,t.NODE_FIELDS=K.NODE_FIELDS,t.BUILDER_KEYS=K.BUILDER_KEYS,t.DEPRECATED_KEYS=K.DEPRECATED_KEYS,t.react=$;for(var Q in J.VISITOR_KEYS)o(Q);J.FLIPPED_ALIAS_KEYS={},(0,B.default)(J.ALIAS_KEYS).forEach(function(e){J.ALIAS_KEYS[e].forEach(function(t){var n=J.FLIPPED_ALIAS_KEYS[t]=J.FLIPPED_ALIAS_KEYS[t]||[];n.push(e)})}),(0,B.default)(J.FLIPPED_ALIAS_KEYS).forEach(function(e){J[e.toUpperCase()+"_TYPES"]=J.FLIPPED_ALIAS_KEYS[e],o(e)});t.TYPES=(0,B.default)(J.VISITOR_KEYS).concat((0,B.default)(J.FLIPPED_ALIAS_KEYS)).concat((0,B.default)(J.DEPRECATED_KEYS));(0,B.default)(J.BUILDER_KEYS).forEach(function(e){function t(){if(arguments.length>n.length)throw new Error("t."+e+": Too many arguments passed. Received "+arguments.length+" but can receive no more than "+n.length);var t={};t.type=e;for(var r=0,i=n,o=Array.isArray(i),a=0,i=o?i:(0,F.default)(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var l=s,c=J.NODE_FIELDS[e][l],f=arguments[r++];void 0===f&&(f=(0,H.default)(c.default)),t[l]=f}for(var p in t)u(t,p,t[p]);return t}var n=J.BUILDER_KEYS[e];J[e]=t,J[e[0].toLowerCase()+e.slice(1)]=t});var Z=function(e){function t(t){return function(){return console.trace("The node type "+e+" has been renamed to "+n),t.apply(this,arguments)}}var n=J.DEPRECATED_KEYS[e];J[e]=J[e[0].toLowerCase()+e.slice(1)]=t(J[n]),J["is"+e]=t(J["is"+n]),J["assert"+e]=t(J["assert"+n])};for(var ee in J.DEPRECATED_KEYS)Z(ee);(0,V.default)(J),(0,V.default)(J.VISITOR_KEYS);var te=["tokens","start","end","loc","raw","rawValue"],ne=J.COMMENT_KEYS.concat(["comments"]).concat(te)},function(e,t,n){"use strict";e.exports={default:n(404),__esModule:!0}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){e=(0,l.default)(e);var n=e,r=n.program;return t.length&&(0,m.default)(e,A,null,t),r.body.length>1?r.body:r.body[0]}t.__esModule=!0;var a=n(10),s=i(a);t.default=function(e,t){var n=void 0;try{throw new Error}catch(e){e.stack&&(n=e.stack.split("\n").slice(1).join("\n"))}t=(0,f.default)({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,preserveComments:!1},t);var r=function(){var i=void 0;try{i=g.parse(e,t),i=m.default.removeProperties(i,{preserveComments:t.preserveComments}),m.default.cheap(i,function(e){e[x]=!0})}catch(e){throw e.stack=e.stack+"from\n"+n,e}return r=function(){return i},i};return function(){for(var e=arguments.length,t=Array(e),n=0;n=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var h=p;if((!o||!o[h])&&s.visit(e,h))return}},o.clearNode=function(e,t){E.removeProperties(e,t),C.path.delete(e)},o.removeProperties=function(e,t){return E.traverseFast(e,o.clearNode,t),e},o.hasType=function(e,t,n,r){if((0,b.default)(r,e.type))return!1;if(e.type===n)return!0;var i={has:!1,type:n};return o(e,{blacklist:r, +enter:a},t,i),i.has},o.clearCache=function(){C.clear()},o.clearCache.clearPath=C.clearPath,o.clearCache.clearScope=C.clearScope,o.copyCache=function(e,t){C.path.has(e)&&C.path.set(t,C.path.get(e))}},function(e,t){"use strict";function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):v=-1,h.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++v1)for(var n=1;n=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),o="/"===a(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,u=0;u1?t-1:0),r=1;r=o.length)break;u=o[s++]}else{if(s=o.next(),s.done)break;u=s.value}var l=u;if(x.is(l,r)){i=!0;break}}if(!i)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,v.default)(n)+" but instead got "+(0,v.default)(r&&r.type))}for(var t=arguments.length,n=Array(t),r=0;r=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;if(o(r)===c||x.is(c,r)){i=!0;break}}if(!i)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,v.default)(n)+" but instead got "+(0,v.default)(r&&r.type))}for(var t=arguments.length,n=Array(t),r=0;r=e.length)break;i=e[r++]}else{if(r=e.next(),r.done)break;i=r.value}var o=i;o.apply(void 0,arguments)}}for(var t=arguments.length,n=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.inherits&&w[t.inherits]||{};t.fields=t.fields||n.fields||{},t.visitor=t.visitor||n.visitor||[],t.aliases=t.aliases||n.aliases||[],t.builder=t.builder||n.builder||t.visitor||[],t.deprecatedAlias&&(D[t.deprecatedAlias]=e);for(var r=t.visitor.concat(t.builder),i=Array.isArray(r),a=0,r=i?r:(0,h.default)(r);;){var s;if(i){if(a>=r.length)break;s=r[a++]}else{if(a=r.next(),a.done)break;s=a.value}var u=s;t.fields[u]=t.fields[u]||{}}for(var l in t.fields){var f=t.fields[l];t.builder.indexOf(l)===-1&&(f.optional=!0),void 0===f.default?f.default=null:f.validate||(f.validate=c(o(f.default)))}E[e]=t.visitor,S[e]=t.builder,C[e]=t.fields,A[e]=t.aliases,w[e]=t}t.__esModule=!0,t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var d=n(2),h=i(d),m=n(35),v=i(m),g=n(11),y=i(g);t.assertEach=a,t.assertOneOf=s,t.assertNodeType=u,t.assertNodeOrValueType=l,t.assertValueType=c,t.chain=f,t.default=p;var b=n(1),x=r(b),E=t.VISITOR_KEYS={},A=t.ALIAS_KEYS={},C=t.NODE_FIELDS={},S=t.BUILDER_KEYS={},D=t.DEPRECATED_KEYS={},w={}},function(e,t){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=n(23),i=n(92);e.exports=n(22)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";function r(e){return null==e?void 0===e?u:s:l&&l in Object(e)?o(e):a(e)}var i=n(45),o=n(534),a=n(559),s="[object Null]",u="[object Undefined]",l=i?i.toStringTag:void 0;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,u=t.length;++s=o.length)break;u=o[s++]}else{if(s=o.next(),s.done)break;u=s.value}var l=u;if(l.container===t)return l.plugin}var c=void 0;if(c="function"==typeof t?t(b):t,"object"===("undefined"==typeof c?"undefined":(0,m.default)(c))){var f=new E.default(c,i);return e.memoisedPlugins.push({container:t,plugin:f}),f}throw new TypeError(C.get("pluginNotObject",n,r,"undefined"==typeof c?"undefined":(0,m.default)(c))+n+r)},e.createBareOptions=function(){var e={};for(var t in R.default){var n=R.default[t];e[t]=(0,F.default)(n.default)}return e},e.normalisePlugin=function(t,n,r,i){if(t=t.__esModule?t.default:t,!(t instanceof E.default)){if("function"!=typeof t&&"object"!==("undefined"==typeof t?"undefined":(0,m.default)(t)))throw new TypeError(C.get("pluginNotFunction",n,r,"undefined"==typeof t?"undefined":(0,m.default)(t)));t=e.memoisePluginContainer(t,n,r,i)}return t.init(n,r),t},e.normalisePlugins=function(t,r,i){return i.map(function(i,o){var a=void 0,s=void 0;if(!i)throw new TypeError("Falsy value found in plugins");Array.isArray(i)?(a=i[0],s=i[1]):a=i;var u="string"==typeof a?a:t+"$"+o;if("string"==typeof a){var l=(0,w.default)(a,r);if(!l)throw new ReferenceError(C.get("pluginUnknown",a,t,o,r));a=n(179)(l)}return a=e.normalisePlugin(a,t,o,u),[a,s]})},e.prototype.mergeOptions=function(t){var n=this,i=t.options,o=t.extending,a=t.alias,s=t.loc,u=t.dirname;if(a=a||"foreign",i){("object"!==("undefined"==typeof i?"undefined":(0,m.default)(i))||Array.isArray(i))&&this.log.error("Invalid options type for "+a,TypeError);var l=(0,M.default)(i,function(e){if(e instanceof E.default)return e});u=u||r.cwd(),s=s||a;for(var c in l){var p=R.default[c];if(!p&&this.log)if(L.default[c])this.log.error("Using removed Babel 5 option: "+a+"."+c+" - "+L.default[c].message,ReferenceError);else{var d="Unknown option: "+a+"."+c+". Check out http://babeljs.io/docs/usage/options/ for more information about options.",h="A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:\n\nInvalid:\n `{ presets: [{option: value}] }`\nValid:\n `{ presets: [['presetName', {option: value}]] }`\n\nFor more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options.";this.log.error(d+"\n\n"+h,ReferenceError)}}(0,S.normaliseOptions)(l),l.plugins&&(l.plugins=e.normalisePlugins(s,u,l.plugins)),l.presets&&(l.passPerPreset?l.presets=this.resolvePresets(l.presets,u,function(e,t){n.mergeOptions({options:e,extending:e,alias:t,loc:t,dirname:u})}):(this.mergePresets(l.presets,u),delete l.presets)),i===o?(0,f.default)(o,l):(0,B.default)(o||this.options,l)}},e.prototype.mergePresets=function(e,t){var n=this;this.resolvePresets(e,t,function(e,t){n.mergeOptions({options:e,alias:t,loc:t,dirname:z.default.dirname(t||"")})})},e.prototype.resolvePresets=function(e,t,r){return e.map(function(e){var i=void 0;if(Array.isArray(e)){if(e.length>2)throw new Error("Unexpected extra options "+(0,l.default)(e.slice(2))+" passed to preset.");var o=e;e=o[0],i=o[1]}var a=void 0;try{if("string"==typeof e){if(a=(0,k.default)(e,t),!a)throw new Error("Couldn't find preset "+(0,l.default)(e)+" relative to directory "+(0,l.default)(t));e=n(179)(a)}if("object"===("undefined"==typeof e?"undefined":(0,m.default)(e))&&e.__esModule)if(e.default)e=e.default;else{var u=e,c=(u.__esModule,(0,s.default)(u,["__esModule"]));e=c}if("object"===("undefined"==typeof e?"undefined":(0,m.default)(e))&&e.buildPreset&&(e=e.buildPreset),"function"!=typeof e&&void 0!==i)throw new Error("Options "+(0,l.default)(i)+" passed to "+(a||"a preset")+" which does not accept options.");if("function"==typeof e&&(e=e(b,i,{dirname:t})),"object"!==("undefined"==typeof e?"undefined":(0,m.default)(e)))throw new Error("Unsupported preset format: "+e+".");r&&r(e,a)}catch(e){throw a&&(e.message+=" (While processing preset: "+(0,l.default)(a)+")"),e}return e})},e.prototype.normaliseOptions=function(){var e=this.options;for(var t in R.default){var n=R.default[t],r=e[t];!r&&n.optional||(n.alias?e[n.alias]=e[n.alias]||r:e[t]=r)}},e.prototype.init=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,W.default)(e,this.log),n=Array.isArray(t),r=0,t=n?t:(0,d.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;this.mergeOptions(o)}return this.normaliseOptions(e),this.options},e}();t.default=V,V.memoisedPlugins=[],e.exports=t.default}).call(t,n(8))},function(e,t,n){"use strict";e.exports={default:n(405),__esModule:!0}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o),s=n(3),u=i(s),l=n(224),c=r(l),f=n(239),p=i(f),d=n(466),h=i(d),m=n(7),v=i(m),g=n(174),y=i(g),b=n(134),x=i(b),E=n(1),A=r(E),C=n(88),S=(0,p.default)("babel"),D=function(){function e(t,n){(0,u.default)(this,e),this.parent=n,this.hub=t,this.contexts=[],this.data={},this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.state=null,this.opts=null,this.skipKeys=null,this.parentPath=null,this.context=null,this.container=null,this.listKey=null,this.inList=!1,this.parentKey=null,this.key=null,this.node=null,this.scope=null,this.type=null,this.typeAnnotation=null}return e.get=function(t){var n=t.hub,r=t.parentPath,i=t.parent,o=t.container,a=t.listKey,s=t.key;!n&&r&&(n=r.hub),(0,h.default)(i,"To get a node path the parent needs to exist");var u=o[s],l=C.path.get(i)||[];C.path.has(i)||C.path.set(i,l);for(var c=void 0,f=0;f1&&void 0!==arguments[1]?arguments[1]:SyntaxError;return this.hub.file.buildCodeFrameError(this.node,e,t)},e.prototype.traverse=function(e,t){(0,v.default)(this.node,e,this.scope,t,this)},e.prototype.mark=function(e,t){this.hub.file.metadata.marked.push({type:e,message:t,loc:this.node.loc})},e.prototype.set=function(e,t){A.validate(this.node,e,t),this.node[e]=t},e.prototype.getPathLocation=function(){var e=[],t=this;do{var n=t.key;t.inList&&(n=t.listKey+"["+n+"]"),e.unshift(n)}while(t=t.parentPath);return e.join(".")},e.prototype.debug=function(e){S.enabled&&S(this.getPathLocation()+" "+this.type+": "+e())},e}();t.default=D,(0,y.default)(D.prototype,n(368)),(0,y.default)(D.prototype,n(374)),(0,y.default)(D.prototype,n(382)),(0,y.default)(D.prototype,n(372)),(0,y.default)(D.prototype,n(371)),(0,y.default)(D.prototype,n(377)),(0,y.default)(D.prototype,n(370)),(0,y.default)(D.prototype,n(381)),(0,y.default)(D.prototype,n(380)),(0,y.default)(D.prototype,n(373)),(0,y.default)(D.prototype,n(369));for(var w=function(){if(k){if(O>=_.length)return"break";M=_[O++]}else{if(O=_.next(),O.done)return"break";M=O.value}var e=M,t="is"+e;D.prototype[t]=function(e){return A[t](this.node,e)},D.prototype["assert"+e]=function(n){if(!this[t](n))throw new TypeError("Expected node path of type "+e)}},_=A.TYPES,k=Array.isArray(_),O=0,_=k?_:(0,a.default)(_);;){var M,P=w();if("break"===P)break}var F=function(e){if("_"===e[0])return"continue";A.TYPES.indexOf(e)<0&&A.TYPES.push(e);var t=c[e];D.prototype["is"+e]=function(e){return t.checkPath(this,e)}};for(var T in c){F(T)}e.exports=t.default},function(e,t,n){"use strict";var r=n(142),i=n(140);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";function r(e,t){var n=o(e,t);return i(n)?n:void 0}var i=n(497),o=n(535);e.exports=r},function(e,t){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){if(e.selfReference){if(!r.hasBinding(n.name)||r.hasGlobal(n.name)){if(!p.isFunction(t))return;var i=d;t.generator&&(i=h);var o=i({FUNCTION:t,FUNCTION_ID:n,FUNCTION_KEY:r.generateUidIdentifier(n.name)}).expression;o.callee._skipModulesRemap=!0;for(var a=o.callee.body.body[0].params,s=0,l=(0,u.default)(t);s0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];(0,p.default)(this,r);var i=(0,h.default)(this,t.call(this));return i.pipeline=n,i.log=new L.default(i,e.filename||"unknown"),i.opts=i.initOptions(e),i.parserOpts={sourceType:i.opts.sourceType,sourceFileName:i.opts.filename,plugins:[]},i.pluginVisitors=[],i.pluginPasses=[],i.buildPluginsForOptions(i.opts),i.opts.passPerPreset&&(i.perPresetOpts=[],i.opts.presets.forEach(function(e){var t=(0,c.default)((0,u.default)(i.opts),e);i.perPresetOpts.push(t),i.buildPluginsForOptions(t)})),i.metadata={usedHelpers:[],marked:[],modules:{imports:[],exports:{exported:[],specifiers:[]}}},i.dynamicImportTypes={},i.dynamicImportIds={},i.dynamicImports=[],i.declarations={},i.usedHelpers={},i.path=null,i.ast={},i.code="",i.shebang="",i.hub=new _.Hub(i),i}return(0,v.default)(r,t),r.prototype.getMetadata=function(){for(var e=!1,t=this.ast.program.body,n=Array.isArray(t),r=0,t=n?t:(0,a.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(q.isModuleDeclaration(o)){e=!0;break}}e&&this.path.traverse(x,this)},r.prototype.initOptions=function(e){e=new S.default(this.log,this.pipeline).init(e),e.inputSourceMap&&(e.sourceMaps=!0),e.moduleId&&(e.moduleIds=!0),e.basename=H.default.basename(e.filename,H.default.extname(e.filename)),e.ignore=V.arrayify(e.ignore,V.regexify),e.only&&(e.only=V.arrayify(e.only,V.regexify)),(0,R.default)(e,{moduleRoot:e.sourceRoot}),(0,R.default)(e,{sourceRoot:e.moduleRoot}),(0,R.default)(e,{filenameRelative:e.filename});var t=H.default.basename(e.filenameRelative);return(0,R.default)(e,{sourceFileName:t,sourceMapTarget:t}),e},r.prototype.buildPluginsForOptions=function(e){if(Array.isArray(e.plugins)){for(var t=e.plugins.concat(te),n=[],r=[],i=t,o=Array.isArray(i),s=0,i=o?i:(0,a.default)(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if(s=i.next(),s.done)break;u=s.value}var l=u,c=l[0],f=l[1];n.push(c.visitor),r.push(new w.default(this,c,f)),c.manipulateOptions&&c.manipulateOptions(e,this.parserOpts,this)}this.pluginVisitors.push(n),this.pluginPasses.push(r)}},r.prototype.getModuleName=function(){var e=this.opts;if(!e.moduleIds)return null;if(null!=e.moduleId&&!e.getModuleId)return e.moduleId;var t=e.filenameRelative,n="";if(null!=e.moduleRoot&&(n=e.moduleRoot+"/"),!e.filenameRelative)return n+e.filename.replace(/^\//,"");if(null!=e.sourceRoot){var r=new RegExp("^"+e.sourceRoot+"/?");t=t.replace(r,"")}return t=t.replace(/\.(\w*?)$/,""),n+=t,n=n.replace(/\\/g,"/"),e.getModuleId?e.getModuleId(n)||n:n},r.prototype.resolveModuleSource=function e(t){var e=this.opts.resolveModuleSource;return e&&(t=e(t,this.opts.filename)),t},r.prototype.addImport=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=e+":"+t,i=this.dynamicImportIds[r];if(!i){e=this.resolveModuleSource(e),i=this.dynamicImportIds[r]=this.scope.generateUidIdentifier(n);var o=[];"*"===t?o.push(q.importNamespaceSpecifier(i)):"default"===t?o.push(q.importDefaultSpecifier(i)):o.push(q.importSpecifier(i,q.identifier(t)));var a=q.importDeclaration(o,q.stringLiteral(e));a._blockHoist=3,this.path.unshiftContainer("body",a)}return i},r.prototype.addHelper=function(e){var t=this.declarations[e];if(t)return t;this.usedHelpers[e]||(this.metadata.usedHelpers.push(e),this.usedHelpers[e]=!0);var n=this.get("helperGenerator"),r=this.get("helpersNamespace");if(n){var i=n(e);if(i)return i}else if(r)return q.memberExpression(r,q.identifier(e));var o=(0,y.default)(e),a=this.declarations[e]=this.scope.generateUidIdentifier(e);return q.isFunctionExpression(o)&&!o.id?(o.body._compact=!0,o._generated=!0,o.id=a,o.type="FunctionDeclaration",this.path.unshiftContainer("body",o)):(o._compact=!0,this.scope.push({id:a,init:o,unique:!0})),a},r.prototype.addTemplateObject=function(e,t,n){var r=n.elements.map(function(e){return e.value}),i=e+"_"+n.elements.length+"_"+r.join(","),o=this.declarations[i];if(o)return o;var a=this.declarations[i]=this.scope.generateUidIdentifier("templateObject"),s=this.addHelper(e),u=q.callExpression(s,[t,n]);return u._compact=!0,this.scope.push({id:a,init:u,_blockHoist:1.9}),a},r.prototype.buildCodeFrameError=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SyntaxError,r=e&&(e.loc||e._loc),i=new n(t);return r?i.loc=r.start:((0,k.default)(e,ne,this.scope,i),i.message+=" (This is an error on an internal node. Probably an internal error",i.loc&&(i.message+=". Location has been estimated."),i.message+=")"),i},r.prototype.mergeSourceMap=function(e){var t=this.opts.inputSourceMap;if(t){var n=new M.default.SourceMapConsumer(t),r=new M.default.SourceMapConsumer(e),i=new M.default.SourceMapGenerator({file:n.file,sourceRoot:n.sourceRoot}),o=r.sources[0];n.eachMapping(function(e){var t=r.generatedPositionFor({line:e.generatedLine,column:e.generatedColumn,source:o});null!=t.column&&i.addMapping({source:e.source,original:null==e.source?null:{line:e.originalLine,column:e.originalColumn},generated:t})});var a=i.toJSON();return t.mappings=a.mappings,t}return e},r.prototype.parse=function(t){var r=U.parse,i=this.opts.parserOpts;if(i&&(i=(0,c.default)({},this.parserOpts,i),i.parser)){if("string"==typeof i.parser){var o=H.default.dirname(this.opts.filename)||e.cwd(),a=(0,X.default)(i.parser,o);if(!a)throw new Error("Couldn't find parser "+i.parser+' with "parse" method relative to directory '+o);r=n(178)(a).parse}else r=i.parser;i.parser={parse:function(e){return(0,U.parse)(e,i)}}}this.log.debug("Parse start");var s=r(t,i||this.parserOpts);return this.log.debug("Parse stop"),s},r.prototype._addAst=function(e){this.path=_.NodePath.get({hub:this.hub,parentPath:null,parent:e,container:e,key:"program"}).setContext(),this.scope=this.path.scope,this.ast=e,this.getMetadata()},r.prototype.addAst=function(e){this.log.debug("Start set AST"),this._addAst(e),this.log.debug("End set AST")},r.prototype.transform=function(){for(var e=0;e=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o,u=s.plugin,l=u[e];l&&l.call(s,this)}},r.prototype.parseInputSourceMap=function(e){var t=this.opts;if(t.inputSourceMap!==!1){var n=A.default.fromSource(e);n&&(t.inputSourceMap=n.toObject(),e=A.default.removeComments(e))}return e},r.prototype.parseShebang=function(){var e=ee.exec(this.code);e&&(this.shebang=e[0],this.code=this.code.replace(ee,""))},r.prototype.makeResult=function(e){var t=e.code,n=e.map,r=e.ast,i=e.ignored,o={metadata:null,options:this.opts,ignored:!!i,code:null,ast:null,map:n||null};return this.opts.code&&(o.code=t),this.opts.ast&&(o.ast=r),this.opts.metadata&&(o.metadata=this.metadata),o},r.prototype.generate=function(){var t=this.opts,r=this.ast,i={ast:r};if(!t.code)return this.makeResult(i);var o=F.default;if(t.generatorOpts.generator&&(o=t.generatorOpts.generator,"string"==typeof o)){var a=H.default.dirname(this.opts.filename)||e.cwd(),s=(0,X.default)(o,a);if(!s)throw new Error("Couldn't find generator "+o+' with "print" method relative to directory '+a);o=n(178)(s).print}this.log.debug("Generation start");var u=o(r,t.generatorOpts?(0,c.default)(t,t.generatorOpts):t,this.code);return i.code=u.code,i.map=u.map,this.log.debug("Generation end"),this.shebang&&(i.code=this.shebang+"\n"+i.code),i.map&&(i.map=this.mergeSourceMap(i.map)),"inline"!==t.sourceMaps&&"both"!==t.sourceMaps||(i.code+="\n"+A.default.fromObject(i.map).toComment()),"inline"===t.sourceMaps&&(i.map=null),this.makeResult(i)},r}(W.default);t.default=re,t.File=re}).call(t,n(8))},function(e,t,n){(function(r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=E[e];return null==t?E[e]=x.default.existsSync(e):t}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=e.filename,r=new w(t);return e.babelrc!==!1&&r.findConfigs(n),r.mergeConfig({options:e,alias:"base",dirname:n&&y.default.dirname(n)}),r.configs}t.__esModule=!0;var s=n(87),u=i(s),l=n(3),c=i(l);t.default=a;var f=n(118),p=i(f),d=n(470),h=i(d),m=n(604),v=i(m),g=n(19),y=i(g),b=n(115),x=i(b),E={},A={},C=".babelignore",S=".babelrc",D="package.json",w=function(){function e(t){(0,c.default)(this,e),this.resolvedConfigs=[],this.configs=[],this.log=t}return e.prototype.findConfigs=function(e){if(e){(0,v.default)(e)||(e=y.default.join(r.cwd(),e));for(var t=!1,n=!1;e!==(e=y.default.dirname(e));){if(!t){var i=y.default.join(e,S);o(i)&&(this.addConfig(i),t=!0);var a=y.default.join(e,D);!t&&o(a)&&(t=this.addConfig(a,"babel",JSON))}if(!n){var s=y.default.join(e,C);o(s)&&(this.addIgnoreConfig(s),n=!0)}if(n&&t)return}}},e.prototype.addIgnoreConfig=function(e){var t=x.default.readFileSync(e,"utf8"),n=t.split("\n");n=n.map(function(e){return e.replace(/#(.*?)$/,"").trim()}).filter(function(e){return!!e}),n.length&&this.mergeConfig({options:{ignore:n},alias:e,dirname:y.default.dirname(e)})},e.prototype.addConfig=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default;if(this.resolvedConfigs.indexOf(e)>=0)return!1;this.resolvedConfigs.push(e);var r=x.default.readFileSync(e,"utf8"),i=void 0;try{i=A[r]=A[r]||n.parse(r),t&&(i=i[t])}catch(t){throw t.message=e+": Error while parsing JSON - "+t.message,t}return this.mergeConfig({options:i,alias:e,dirname:y.default.dirname(e)}),!!i},e.prototype.mergeConfig=function(e){var t=e.options,n=e.alias,i=e.loc,o=e.dirname;if(!t)return!1;if(t=(0,u.default)({},t),o=o||r.cwd(),i=i||n,t.extends){var a=(0,p.default)(t.extends,o);a?this.addConfig(a):this.log&&this.log.error("Couldn't resolve extends clause of "+t.extends+" in "+n),delete t.extends}this.configs.push({options:t,alias:n,loc:i,dirname:o});var s=void 0,l=r.env.BABEL_ENV||"production"||"development";t.env&&(s=t.env[l],delete t.env),this.mergeConfig({options:s,alias:n+".env."+l,dirname:o})},e}();e.exports=t.default}).call(t,n(8))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in e){var n=e[t];if(null!=n){var r=l.default[t];if(r&&r.alias&&(r=l.default[r.alias]),r){var i=s[r.type];i&&(n=i(n)),e[t]=n}}}return e}t.__esModule=!0,t.config=void 0,t.normaliseOptions=o;var a=n(53),s=i(a),u=n(33),l=r(u);t.config=l.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return!!e}function a(e){return f.booleanify(e)}function s(e){return f.list(e)}t.__esModule=!0,t.filename=void 0,t.boolean=o,t.booleanString=a,t.list=s;var u=n(284),l=i(u),c=n(122),f=r(c);t.filename=l.default},function(e,t){"use strict";e.exports={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin . Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"Use the `sourceMapTarget` option"},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"}}},function(e,t,n){"use strict";var r=n(43),i=n(428),o=n(427),a=n(21),s=n(153),u=n(238),l={},c={},f=e.exports=function(e,t,n,f,p){var d,h,m,v,g=p?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(d=s(e.length);d>b;b++)if(v=t?y(a(h=e[b])[0],h[1]):y(e[b]),v===l||v===c)return v}else for(m=g.call(e);!(h=m.next()).done;)if(v=i(m,y,h.value,t),v===l||v===c)return v};f.BREAK=l,f.RETURN=c},function(e,t){"use strict";e.exports={}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(95)("meta"),o=n(16),a=n(28),s=n(23).f,u=0,l=Object.isExtensible||function(){return!0},c=!n(27)(function(){return l(Object.preventExtensions({}))}),f=function(e){s(e,i,{value:{i:"O"+ ++u,w:{}}})},p=function(e,t){if(!o(e))return"symbol"==("undefined"==typeof e?"undefined":r(e))?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!l(e))return"F";if(!t)return"E";f(e)}return e[i].i},d=function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;f(e)}return e[i].w},h=function(e){return c&&m.NEED&&l(e)&&!a(e,i)&&f(e),e},m=e.exports={KEY:i,NEED:!1,fastKey:p,getWeak:d,onFreeze:h}},function(e,t,n){"use strict";var r=n(16);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";n(440);for(var r=n(15),i=n(29),o=n(56),a=n(13)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=0;c--)a=u[c],"."===a?u.splice(c,1):".."===a?l++:l>0&&(""===a?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return n=u.join("/"),""===n&&(n=s?"/":"."),o?(o.path=n,i(o)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),a=r(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),i(n);if(n||t.match(g))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var s="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=s,i(a)):s}function s(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}function u(e){return e}function l(e){return f(e)?"$"+e:e}function c(e){return f(e)?e.slice(1):e}function f(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function p(e,t,n){var r=e.source-t.source;return 0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r||n?r:(r=e.generatedColumn-t.generatedColumn,0!==r?r:(r=e.generatedLine-t.generatedLine,0!==r?r:e.name-t.name))))}function d(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:(r=e.generatedColumn-t.generatedColumn,0!==r||n?r:(r=e.source-t.source,0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r?r:e.name-t.name))))}function h(e,t){return e===t?0:e>t?1:-1}function m(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:(n=e.generatedColumn-t.generatedColumn,0!==n?n:(n=h(e.source,t.source),0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n?n:h(e.name,t.name)))))}t.getArg=n;var v=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,g=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=i,t.normalize=o,t.join=a,t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(v)},t.relative=s;var y=function(){var e=Object.create(null);return!("__proto__"in e)}();t.toSetString=y?u:l,t.fromSetString=y?u:c,t.compareByOriginalPositions=p,t.compareByGeneratedPositionsDeflated=d,t.compareByGeneratedPositionsInflated=m},function(e,t,n){(function(t){"use strict";function r(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i=0;s--)if(u[s]!==l[s])return!1;for(s=u.length-1;s>=0;s--)if(a=u[s],!d(e[a],t[a],n,r))return!1;return!0}function v(e,t,n){d(e,t,!0)&&f(e,t,n,"notDeepStrictEqual",v)}function g(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&t.call({},e)===!0}function y(e){var t;try{e()}catch(e){t=e}return t}function b(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=y(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&f(i,n,"Missing expected exception"+r);var o="string"==typeof r,a=!e&&E.isError(i),s=!e&&i&&!n;if((a&&o&&g(i,n)||s)&&f(i,n,"Got unwanted exception"+r),e&&i&&n&&!g(i,n)||!e&&i)throw i}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -"use strict";function i(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(n){return!1}}function o(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(t){return this instanceof e?(e.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?a(this,t):"string"==typeof t?s(this,t,arguments.length>1?arguments[1]:"utf8"):u(this,t)):arguments.length>1?new e(t,arguments[1]):new e(t)}function a(t,n){if(t=m(t,0>n?0:0|v(n)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;n>r;r++)t[r]=0;return t}function s(e,t,n){"string"==typeof n&&""!==n||(n="utf8");var r=0|y(t,n);return e=m(e,r),e.write(t,n),e}function u(t,n){if(e.isBuffer(n))return l(t,n);if(X(n))return c(t,n);if(null==n)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(n.buffer instanceof ArrayBuffer)return p(t,n);if(n instanceof ArrayBuffer)return f(t,n)}return n.length?d(t,n):h(t,n)}function l(e,t){var n=0|v(t.length);return e=m(e,n),t.copy(e,0,0,n),e}function c(e,t){var n=0|v(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function p(e,t){var n=0|v(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function f(t,n){return e.TYPED_ARRAY_SUPPORT?(n.byteLength,t=e._augment(new Uint8Array(n))):t=p(t,new Uint8Array(n)),t}function d(e,t){var n=0|v(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function h(e,t){var n,r=0;"Buffer"===t.type&&X(t.data)&&(n=t.data,r=0|v(n.length)),e=m(e,r);for(var i=0;r>i;i+=1)e[i]=255&n[i];return e}function m(t,n){e.TYPED_ARRAY_SUPPORT?(t=e._augment(new Uint8Array(n)),t.__proto__=e.prototype):(t.length=n,t._isBuffer=!0);var r=0!==n&&n<=e.poolSize>>>1;return r&&(t.parent=$),t}function v(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function g(t,n){if(!(this instanceof g))return new g(t,n);var r=new e(t,n);return delete r.parent,r}function y(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function E(e,t,n){var r=!1;if(t=0|t,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return _(this,t,n);case"ascii":return N(this,t,n);case"binary":return k(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;r>a;a++){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))throw new Error("Invalid hex string");e[n+a]=s}return a}function x(e,t,n,r){return Y(H(t,e.length-n),e,n,r)}function D(e,t,n,r){return Y(G(t),e,n,r)}function C(e,t,n,r){return D(e,t,n,r)}function A(e,t,n,r){return Y(z(t),e,n,r)}function w(e,t,n,r){return Y(q(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?K.fromByteArray(e):K.fromByteArray(e.slice(t,n))}function _(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(n>=i+s){var u,l,c,p;switch(s){case 1:128>o&&(a=o);break;case 2:u=e[i+1],128===(192&u)&&(p=(31&o)<<6|63&u,p>127&&(a=p));break;case 3:u=e[i+1],l=e[i+2],128===(192&u)&&128===(192&l)&&(p=(15&o)<<12|(63&u)<<6|63&l,p>2047&&(55296>p||p>57343)&&(a=p));break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(p=(15&o)<<18|(63&u)<<12|(63&l)<<6|63&c,p>65535&&1114112>p&&(a=p))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return F(r)}function F(e){var t=e.length;if(Q>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Q));return n}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(127&e[i]);return r}function k(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function T(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=W(e[o]);return i}function P(e,t,n){for(var r=e.slice(t,n),i="",o=0;oe)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(t,n,r,i,o,a){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(n>o||a>n)throw new RangeError("value is out of bounds");if(r+i>t.length)throw new RangeError("index out of range")}function M(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);o>i;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function B(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);o>i;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function R(e,t,n,r,i,o){if(t>i||o>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function L(e,t,n,r,i){return i||R(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,i){return i||R(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,n,r,52,8),n+8}function V(e){if(e=U(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function W(e){return 16>e?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;r>a;a++){if(n=e.charCodeAt(a),n>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(e){for(var t=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function z(e){return K.toByteArray(V(e))}function Y(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}var K=n(405),J=n(459),X=n(407);t.Buffer=e,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var $={};e.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:i(),e.TYPED_ARRAY_SUPPORT?(e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array):(e.prototype.length=void 0,e.prototype.parent=void 0),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var r=t.length,i=n.length,o=0,a=Math.min(r,i);a>o&&t[o]===n[o];)++o;return o!==a&&(r=t[o],i=n[o]),i>r?-1:r>i?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!X(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new e(0);var r;if(void 0===n)for(n=0,r=0;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:e.compare(this,t)},e.prototype.indexOf=function(t,n){function r(e,t,n){for(var r=-1,i=0;n+i2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n>>=0,0===this.length)return-1;if(n>=this.length)return-1;if(0>n&&(n=Math.max(this.length+n,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,n);if(e.isBuffer(t))return r(this,t,n);if("number"==typeof t)return e.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,n):r(this,[t],n);throw new TypeError("val must be string, number or Buffer")},e.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var i=r;r=t,t=0|n,n=i}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":return D(this,e,t,n);case"binary":return C(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;e.prototype.slice=function(t,n){var r=this.length;t=~~t,n=void 0===n?r:~~n,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>n?(n+=r,0>n&&(n=0)):n>r&&(n=r),t>n&&(n=t);var i;if(e.TYPED_ARRAY_SUPPORT)i=e._augment(this.subarray(t,n));else{var o=n-t;i=new e(o,void 0);for(var a=0;o>a;a++)i[a]=this[a+t]}return i.length&&(i.parent=this.parent||this),i},e.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o0&&(i*=256);)r+=this[e+--t]*i;return r},e.prototype.readUInt8=function(e,t){return t||O(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||O(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||O(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o=i&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||O(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},e.prototype.readInt8=function(e,t){return t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},e.prototype.readInt16LE=function(e,t){t||O(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||O(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||O(e,4,this.length),J.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||O(e,4,this.length),J.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||O(e,8,this.length),J.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||O(e,8,this.length),J.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||I(this,e,t,n,Math.pow(2,8*n),0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},e.prototype.writeUInt8=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):M(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):M(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):B(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):B(this,t,n,!1),n+4},e.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=0,a=1,s=0>e?1:0;for(this[t]=255&e;++o>0)-s&255;return t+n},e.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0>e?1:0;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=(e/a>>0)-s&255;return t+n},e.prototype.writeInt8=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[n]=255&t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):M(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):M(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):B(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n=0|n,r||I(this,t,n,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):B(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,i){if(r||(r=0),i||0===i||(i=this.length),n>=t.length&&(n=t.length),n||(n=0),i>0&&r>i&&(i=r),i===r)return 0;if(0===t.length||0===this.length)return 0;if(0>n)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>i)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-nr&&i>n)for(o=a-1;o>=0;o--)t[o+n]=this[o+r];else if(1e3>a||!e.TYPED_ARRAY_SUPPORT)for(o=0;a>o;o++)t[o+n]=this[o+r];else t._set(this.subarray(r,r+a),n);return a},e.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new RangeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var i=H(e.toString()),o=i.length;for(r=t;n>r;r++)this[r]=i[r%o]}return this}},e.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return new e(this).buffer;for(var t=new Uint8Array(this.length),n=0,r=t.length;r>n;n+=1)t[n]=this[n];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var Z=e.prototype;e._augment=function(t){return t.constructor=e,t._isBuffer=!0,t._set=t.set,t.get=Z.get,t.set=Z.set,t.write=Z.write,t.toString=Z.toString,t.toLocaleString=Z.toString,t.toJSON=Z.toJSON,t.equals=Z.equals,t.compare=Z.compare,t.indexOf=Z.indexOf,t.copy=Z.copy,t.slice=Z.slice,t.readUIntLE=Z.readUIntLE,t.readUIntBE=Z.readUIntBE,t.readUInt8=Z.readUInt8,t.readUInt16LE=Z.readUInt16LE,t.readUInt16BE=Z.readUInt16BE,t.readUInt32LE=Z.readUInt32LE,t.readUInt32BE=Z.readUInt32BE,t.readIntLE=Z.readIntLE,t.readIntBE=Z.readIntBE,t.readInt8=Z.readInt8,t.readInt16LE=Z.readInt16LE,t.readInt16BE=Z.readInt16BE,t.readInt32LE=Z.readInt32LE,t.readInt32BE=Z.readInt32BE,t.readFloatLE=Z.readFloatLE,t.readFloatBE=Z.readFloatBE,t.readDoubleLE=Z.readDoubleLE,t.readDoubleBE=Z.readDoubleBE,t.writeUInt8=Z.writeUInt8,t.writeUIntLE=Z.writeUIntLE,t.writeUIntBE=Z.writeUIntBE,t.writeUInt16LE=Z.writeUInt16LE,t.writeUInt16BE=Z.writeUInt16BE,t.writeUInt32LE=Z.writeUInt32LE,t.writeUInt32BE=Z.writeUInt32BE,t.writeIntLE=Z.writeIntLE,t.writeIntBE=Z.writeIntBE,t.writeInt8=Z.writeInt8,t.writeInt16LE=Z.writeInt16LE,t.writeInt16BE=Z.writeInt16BE,t.writeInt32LE=Z.writeInt32LE,t.writeInt32BE=Z.writeInt32BE,t.writeFloatLE=Z.writeFloatLE,t.writeFloatBE=Z.writeFloatBE,t.writeDoubleLE=Z.writeDoubleLE,t.writeDoubleBE=Z.writeDoubleBE,t.fill=Z.fill,t.inspect=Z.inspect,t.toArrayBuffer=Z.toArrayBuffer,t};var ee=/[^+\/0-9A-Za-z-_]/g}).call(t,n(195).Buffer,function(){return this}())},/*!**************************!*\ - !*** ./~/chalk/index.js ***! - \**************************/ -function(e,t,n){(function(t){"use strict";function r(e){this.enabled=e&&void 0!==e.enabled?e.enabled:p}function i(e){var t=function(){return o.apply(t,arguments)};return t._styles=e,t.enabled=this.enabled,t.__proto__=m,t}function o(){var e=arguments,t=e.length,n=0!==t&&String(arguments[0]);if(t>1)for(var r=1;t>r;r++)n+=" "+e[r];if(!this.enabled||!n)return n;var i=this._styles,o=i.length,a=u.dim.open;for(!d||-1===i.indexOf("gray")&&-1===i.indexOf("grey")||(u.dim.open="");o--;){var s=u[i[o]];n=s.open+n.replace(s.closeRe,s.open)+s.close}return u.dim.open=a,n}function a(){var e={};return Object.keys(h).forEach(function(t){e[t]={get:function(){return i.call(this,[t])}}}),e}var s=n(454),u=n(242),l=n(533),c=n(458),p=n(534),f=Object.defineProperties,d="win32"===t.platform&&!/^xterm/i.test(t.env.TERM);d&&(u.blue.open="");var h=function(){var e={};return Object.keys(u).forEach(function(t){u[t].closeRe=new RegExp(s(u[t].close),"g"),e[t]={get:function(){return i.call(this,this._styles.concat(t))}}}),e}(),m=f(function(){},h);f(r.prototype,a()),e.exports=new r,e.exports.styles=u,e.exports.hasColor=c,e.exports.stripColor=l,e.exports.supportsColor=p}).call(t,n(18))},/*!************************************************!*\ - !*** ./~/core-js/library/modules/$.classof.js ***! - \************************************************/ -function(e,t,n){var r=n(122),i=n(21)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=(t=Object(e))[i])?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},/*!***************************************************!*\ - !*** ./~/core-js/library/modules/$.collection.js ***! - \***************************************************/ -function(e,t,n){"use strict";var r=n(7),i=n(59),o=n(29),a=n(58),s=n(43),u=n(127),l=n(95),c=n(128),p=n(37),f=n(97),d=n(57);e.exports=function(e,t,n,h,m,v){var g=i[e],y=g,E=m?"set":"add",b=y&&y.prototype,x={};return d&&"function"==typeof y&&(v||b.forEach&&!a(function(){(new y).entries().next()}))?(y=t(function(t,n){c(t,y,e),t._c=new g,void 0!=n&&l(n,m,t[E],t)}),r.each.call("add,clear,delete,forEach,get,has,set,keys,values,entries".split(","),function(e){var t="add"==e||"set"==e;e in b&&(!v||"clear"!=e)&&s(y.prototype,e,function(n,r){if(!t&&v&&!p(n))return"get"==e?void 0:!1;var i=this._c[e](0===n?0:n,r);return t?this:i})}),"size"in b&&r.setDesc(y.prototype,"size",{get:function(){return this._c.size}})):(y=h.getConstructor(t,e,m,E),u(y.prototype,n)),f(y,e),x[e]=y,o(o.G+o.W+o.F,x),v||h.setStrong(y,e,m),y}},/*!**************************************************!*\ - !*** ./~/core-js/library/modules/$.get-names.js ***! - \**************************************************/ -function(e,t,n){var r=n(61),i=n(7).getNames,o={}.toString,a="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.get=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},/*!*************************************************!*\ - !*** ./~/core-js/library/modules/$.is-array.js ***! - \*************************************************/ -function(e,t,n){var r=n(122);e.exports=Array.isArray||function(e){return"Array"==r(e)}},/*!**************************************************!*\ - !*** ./~/core-js/library/modules/$.iter-step.js ***! - \**************************************************/ -function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},/*!************************************************!*\ - !*** ./~/core-js/library/modules/$.library.js ***! - \************************************************/ -function(e,t){e.exports=!0},/*!***********************************************!*\ - !*** ./~/core-js/library/modules/$.shared.js ***! - \***********************************************/ -function(e,t,n){var r=n(59),i="__core-js_shared__",o=r[i]||(r[i]={});e.exports=function(e){return o[e]||(o[e]={})}},/*!***************************************************!*\ - !*** ./~/core-js/library/modules/$.to-integer.js ***! - \***************************************************/ -function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},/*!**************************************************!*\ - !*** ./~/core-js/library/modules/$.to-length.js ***! - \**************************************************/ -function(e,t,n){var r=n(204),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},/*!***************************************************************!*\ - !*** ./~/core-js/library/modules/core.get-iterator-method.js ***! - \***************************************************************/ -function(e,t,n){var r=n(197),i=n(21)("iterator"),o=n(60);e.exports=n(12).getIteratorMethod=function(e){return void 0!=e?e[i]||e["@@iterator"]||o[r(e)]:void 0}},/*!**********************************************************!*\ - !*** ./~/core-js/library/modules/es6.string.iterator.js ***! - \**********************************************************/ -function(e,t,n){"use strict";var r=n(439)(!0);n(124)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},/*!**************************!*\ - !*** ./~/debug/debug.js ***! - \**************************/ -function(e,t,n){function r(){return t.colors[c++%t.colors.length]}function i(e){function n(){}function i(){var e=i,n=+new Date,o=n-(l||n);e.diff=o,e.prev=l,e.curr=n,l=n,null==e.useColors&&(e.useColors=t.useColors()),null==e.color&&e.useColors&&(e.color=r());var a=Array.prototype.slice.call(arguments);a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&(a=["%o"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(n,r){if("%%"===n)return n;s++;var i=t.formatters[r];if("function"==typeof i){var o=a[s];n=i.call(e,o),a.splice(s,1),s--}return n}),"function"==typeof t.formatArgs&&(a=t.formatArgs.apply(e,a));var u=i.log||t.log||console.log.bind(console);u.apply(e,a)}n.enabled=!1,i.enabled=!0;var o=t.enabled(e)?i:n;return o.namespace=e,o}function o(e){t.save(e);for(var n=(e||"").split(/[\s,]+/),r=n.length,i=0;r>i;i++)n[i]&&(e=n[i].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))}function a(){t.enable("")}function s(e){var n,r;for(n=0,r=t.skips.length;r>n;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;r>n;n++)if(t.names[n].test(e))return!0;return!1}function u(e){return e instanceof Error?e.stack||e.message:e}t=e.exports=i,t.coerce=u,t.disable=a,t.enable=o,t.enabled=s,t.humanize=n(518),t.names=[],t.skips=[],t.formatters={};var l,c=0},/*!*******************************!*\ - !*** ./~/esutils/lib/code.js ***! - \*******************************/ -function(e,t){!function(){"use strict";function t(e){return e>=48&&57>=e}function n(e){return e>=48&&57>=e||e>=97&&102>=e||e>=65&&70>=e}function r(e){return e>=48&&55>=e}function i(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&d.indexOf(e)>=0}function o(e){return 10===e||13===e||8232===e||8233===e}function a(e){if(65535>=e)return String.fromCharCode(e);var t=String.fromCharCode(Math.floor((e-65536)/1024)+55296),n=String.fromCharCode((e-65536)%1024+56320);return t+n}function s(e){return 128>e?h[e]:f.NonAsciiIdentifierStart.test(a(e))}function u(e){return 128>e?m[e]:f.NonAsciiIdentifierPart.test(a(e))}function l(e){return 128>e?h[e]:p.NonAsciiIdentifierStart.test(a(e))}function c(e){return 128>e?m[e]:p.NonAsciiIdentifierPart.test(a(e))}var p,f,d,h,m,v;for(f={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},p={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},d=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],h=new Array(128),v=0;128>v;++v)h[v]=v>=97&&122>=v||v>=65&&90>=v||36===v||95===v;for(m=new Array(128),v=0;128>v;++v)m[v]=v>=97&&122>=v||v>=65&&90>=v||v>=48&&57>=v||36===v||95===v;e.exports={isDecimalDigit:t,isHexDigit:n,isOctalDigit:r,isWhiteSpace:i,isLineTerminator:o,isIdentifierStartES5:s,isIdentifierPartES5:u,isIdentifierStartES6:l,isIdentifierPartES6:c}}()},/*!******************************!*\ - !*** ./~/is-finite/index.js ***! - \******************************/ -function(e,t,n){"use strict";var r=n(519);e.exports=Number.isFinite||function(e){return!("number"!=typeof e||r(e)||e===1/0||e===-(1/0))}},/*!******************************!*\ - !*** ./~/js-tokens/index.js ***! - \******************************/ -function(e,t){e.exports=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyu]{1,5}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]{1,6}\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-*\/%&|^]|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,e.exports.matchToToken=function(e){var t={type:"invalid",value:e[0]};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},/*!********************************!*\ - !*** ./~/lodash/array/last.js ***! - \********************************/ -function(e,t){function n(e){var t=e?e.length:0;return t?e[t-1]:void 0}e.exports=n},/*!********************************!*\ - !*** ./~/lodash/array/pull.js ***! - \********************************/ -function(e,t,n){function r(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=i,o=e.length;++n-1;)a.call(t,s,1);return t}var i=n(136),o=Array.prototype,a=o.splice;e.exports=r},/*!****************************************!*\ - !*** ./~/lodash/function/restParam.js ***! - \****************************************/ -function(e,t){function n(e,t){if("function"!=typeof e)throw new TypeError(r);return t=i(void 0===t?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,o=i(n.length-t,0),a=Array(o);++rt&&(t=-t>i?0:i+t),n=void 0===n||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r2?n[a-2]:void 0,u=a>2?n[2]:void 0,l=a>1?n[a-1]:void 0;for("function"==typeof s?(s=i(s,l,5),a-=2):(s="function"==typeof l?l:void 0,a-=s?1:0),u&&o(n[0],n[1],u)&&(s=3>a?void 0:s,a=1);++rn;++n)f.call(g,t[n])||(n>r&&(t[r]=t[n]),++r);return t.length=r,t},n(t,"makeAccessor",u)},/*!************************************!*\ - !*** ./~/regenerate/regenerate.js ***! - \************************************/ -function(e,t,n){var r;(function(e,i){!function(o){var a="object"==typeof t&&t,s=("object"==typeof e&&e&&e.exports==a&&e,"object"==typeof i&&i);s.global!==s&&s.window!==s||(o=s);var u={rangeOrder:"A range’s `stop` value must be greater than or equal to the `start` value.",codePointRange:"Invalid code point value. Code points range from U+000000 to U+10FFFF."},l=55296,c=56319,p=56320,f=57343,d=/\\x00([^0123456789]|$)/g,h={},m=h.hasOwnProperty,v=function(e,t){var n;for(n in t)m.call(t,n)&&(e[n]=t[n]);return e},g=function(e,t){for(var n=-1,r=e.length;++ni;){if(n=e[i],r=e[i+1],t>=n&&r>t)return t==n?r==n+1?(e.splice(i,2),e):(e[i]=t+1,e):t==r-1?(e[i+1]=t,e):(e.splice(i,2,n,t,t+1,r),e);i+=2}return e},_=function(e,t,n){if(t>n)throw Error(u.rangeOrder);for(var r,i,o=0;on)return e;if(r>=t&&n>=i)e.splice(o,2);else{if(t>=r&&i>n)return t==r?(e[o]=n+1,e[o+1]=i+1,e):(e.splice(o,2,r,t,n+1,i+1),e);if(t>=r&&i>=t)e[o+1]=t;else if(n>=r&&i>=n)return e[o]=n+1,e;o+=2}}return e},F=function(e,t){var n,r,i=0,o=null,a=e.length;if(0>t||t>1114111)throw RangeError(u.codePointRange);for(;a>i;){if(n=e[i],r=e[i+1],t>=n&&r>t)return e;if(t==n-1)return e[i]=t,e;if(n>t)return e.splice(null!=o?o+2:0,0,t,t+1),e;if(t==r)return t+1==e[i+2]?(e.splice(i,4,n,e[i+3]),e):(e[i+1]=t+1,e);o=i,i+=2}return e.push(t,t+1),e},N=function(e,t){for(var n,r,i=0,o=e.slice(),a=t.length;a>i;)n=t[i],r=t[i+1]-1,o=n==r?F(o,n):T(o,n,r),i+=2;return o},k=function(e,t){for(var n,r,i=0,o=e.slice(),a=t.length;a>i;)n=t[i],r=t[i+1]-1,o=n==r?S(o,n):_(o,n,r),i+=2;return o},T=function(e,t,n){if(t>n)throw Error(u.rangeOrder);if(0>t||t>1114111||0>n||n>1114111)throw RangeError(u.codePointRange);for(var r,i,o=0,a=!1,s=e.length;s>o;){if(r=e[o],i=e[o+1],a){if(r==n+1)return e.splice(o-1,2),e;if(r>n)return e;r>=t&&n>=r&&(i>t&&n>=i-1?(e.splice(o,2),o-=2):(e.splice(o-1,2),o-=2))}else{if(r==n+1)return e[o]=t,e;if(r>n)return e.splice(o,0,t,n+1),e;if(t>=r&&i>t&&i>=n+1)return e;t>=r&&i>t||i==t?(e[o+1]=n+1,a=!0):r>=t&&n+1>=i&&(e[o]=t,e[o+1]=n+1,a=!0)}o+=2}return a||e.push(t,n+1),e},P=function(e,t){var n=0,r=e.length,i=e[n],o=e[r-1];if(r>=2&&(i>t||t>o))return!1;for(;r>n;){if(i=e[n],o=e[n+1],t>=i&&o>t)return!0;n+=2}return!1},O=function(e,t){for(var n,r=0,i=t.length,o=[];i>r;)n=t[r],P(e,n)&&o.push(n),++r;return w(o)},I=function(e){return!e.length},M=function(e){return 2==e.length&&e[0]+1==e[1]},B=function(e){for(var t,n,r=0,i=[],o=e.length;o>r;){for(t=e[r],n=e[r+1];n>t;)i.push(t),++t;r+=2}return i},R=Math.floor,L=function(e){return parseInt(R((e-65536)/1024)+l,10)},j=function(e){return parseInt((e-65536)%1024+p,10)},V=String.fromCharCode,U=function(e){var t;return t=9==e?"\\t":10==e?"\\n":12==e?"\\f":13==e?"\\r":92==e?"\\\\":36==e||e>=40&&43>=e||45==e||46==e||63==e||e>=91&&94>=e||e>=123&&125>=e?"\\"+V(e):e>=32&&126>=e?V(e):255>=e?"\\x"+D(C(e),2):"\\u"+D(C(e),4)},W=function(e){var t,n=e.length,r=e.charCodeAt(0);return r>=l&&c>=r&&n>1?(t=e.charCodeAt(1),1024*(r-l)+t-p+65536):r},H=function(e){var t,n,r="",i=0,o=e.length;if(M(e))return U(e[0]);for(;o>i;)t=e[i],n=e[i+1]-1,r+=t==n?U(t):t+1==n?U(t)+U(n):U(t)+"-"+U(n),i+=2;return"["+r+"]"},G=function(e){for(var t,n,r=[],i=[],o=[],a=[],s=0,u=e.length;u>s;)t=e[s],n=e[s+1]-1,l>t?(l>n&&o.push(t,n+1),n>=l&&c>=n&&(o.push(t,l),r.push(l,n+1)),n>=p&&f>=n&&(o.push(t,l),r.push(l,c+1),i.push(p,n+1)),n>f&&(o.push(t,l),r.push(l,c+1),i.push(p,f+1),65535>=n?o.push(f+1,n+1):(o.push(f+1,65536),a.push(65536,n+1)))):t>=l&&c>=t?(n>=l&&c>=n&&r.push(t,n+1),n>=p&&f>=n&&(r.push(t,c+1),i.push(p,n+1)),n>f&&(r.push(t,c+1),i.push(p,f+1),65535>=n?o.push(f+1,n+1):(o.push(f+1,65536),a.push(65536,n+1)))):t>=p&&f>=t?(n>=p&&f>=n&&i.push(t,n+1),n>f&&(i.push(t,f+1),65535>=n?o.push(f+1,n+1):(o.push(f+1,65536),a.push(65536,n+1)))):t>f&&65535>=t?65535>=n?o.push(t,n+1):(o.push(t,65536),a.push(65536,n+1)):a.push(t,n+1),s+=2;return{loneHighSurrogates:r,loneLowSurrogates:i,bmp:o,astral:a}},q=function(e){for(var t,n,r,i,o,a,s=[],u=[],l=!1,c=-1,p=e.length;++cs;){t=e[s],n=e[s+1]-1,r=L(t),i=j(t),o=L(n),a=j(n);var h=i==p,m=a==f,v=!1;r==o||h&&m?(c.push([[r,o+1],[i,a+1]]),v=!0):c.push([[r,r+1],[i,f+1]]),!v&&o>r+1&&(m?(c.push([[r+1,o+1],[p,a+1]]),v=!0):c.push([[r+1,o],[p,f+1]])),v||c.push([[o,o+1],[p,a+1]]),u=r,l=o,s+=2}return q(c)},K=function(e){var t=[];return g(e,function(e){var n=e[0],r=e[1];t.push(H(n)+H(r))}),t.join("|")},J=function(e,t){var n=[],r=G(e),i=r.loneHighSurrogates,o=r.loneLowSurrogates,a=r.bmp,s=r.astral,u=(!I(r.astral),!I(i)),l=!I(o),c=Y(s);return t&&(a=N(a,i),u=!1,a=N(a,o),l=!1),I(a)||n.push(H(a)),c.length&&n.push(K(c)),u&&n.push(H(i)+"(?![\\uDC00-\\uDFFF])"),l&&n.push("(?:[^\\uD800-\\uDBFF]|^)"+H(o)),n.join("|")},X=function(e){return arguments.length>1&&(e=A.call(arguments)),this instanceof X?(this.data=[],e?this.add(e):this):(new X).add(e)};X.version="1.2.0";var $=X.prototype;v($,{add:function(e){var t=this;return null==e?t:e instanceof X?(t.data=N(t.data,e.data),t):(arguments.length>1&&(e=A.call(arguments)),E(e)?(g(e,function(e){t.add(e)}),t):(t.data=F(t.data,b(e)?e:W(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof X?(t.data=k(t.data,e.data),t):(arguments.length>1&&(e=A.call(arguments)),E(e)?(g(e,function(e){t.remove(e)}),t):(t.data=S(t.data,b(e)?e:W(e)),t))},addRange:function(e,t){var n=this;return n.data=T(n.data,b(e)?e:W(e),b(t)?t:W(t)),n},removeRange:function(e,t){var n=this,r=b(e)?e:W(e),i=b(t)?t:W(t);return n.data=_(n.data,r,i),n},intersection:function(e){var t=this,n=e instanceof X?B(e.data):e;return t.data=O(t.data,n),t},contains:function(e){return P(this.data,b(e)?e:W(e))},clone:function(){var e=new X;return e.data=this.data.slice(0),e},toString:function(e){var t=J(this.data,e?e.bmpOnly:!1);return t.replace(d,"\\0$1")},toRegExp:function(e){return RegExp(this.toString(),e||"")},valueOf:function(){return B(this.data)}}),$.toArray=$.valueOf,r=function(){return X}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(this)}).call(t,n(143)(e),function(){return this}())},/*!**************************!*\ - !*** ./~/slash/index.js ***! - \**************************/ -function(e,t){"use strict";e.exports=function(e){var t=/^\\\\\?\\/.test(e),n=/[^\x00-\x80]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},/*!***************************************!*\ - !*** ./~/source-map/lib/array-set.js ***! - \***************************************/ -function(e,t,n){function r(){this._array=[],this._set={}}var i=n(68);r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;o>i;i++)n.add(e[i],t);return n},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=i.toSetString(e),r=this._set.hasOwnProperty(n),o=this._array.length;r&&!t||this._array.push(e),r||(this._set[n]=o)},r.prototype.has=function(e){var t=i.toSetString(e);return this._set.hasOwnProperty(t)},r.prototype.indexOf=function(e){var t=i.toSetString(e);if(this._set.hasOwnProperty(t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&ee?(-e<<1)+1:(e<<1)+0}function i(e){var t=1===(1&e),n=e>>1;return t?-n:n}var o=n(527),a=5,s=1<>>=a,i>0&&(t|=l),n+=o.encode(t);while(i>0);return n},t.decode=function(e,t,n){var r,s,c=e.length,p=0,f=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(s=o.decode(e.charCodeAt(t++)),-1===s)throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(s&l),s&=u,p+=s<0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){for(var e,t,n,r=0,a=1,s=0,u=0,l=0,c=0,p="",f=this._mappings.toArray(),d=0,h=f.length;h>d;d++){if(e=f[d],e.generatedLine!==a)for(r=0;e.generatedLine!==a;)p+=";",a++;else if(d>0){if(!o.compareByGeneratedPositionsInflated(e,f[d-1]))continue;p+=","}p+=i.encode(e.generatedColumn-r),r=e.generatedColumn,null!=e.source&&(n=this._sources.indexOf(e.source),p+=i.encode(n-c),c=n,p+=i.encode(e.originalLine-1-u),u=e.originalLine-1,p+=i.encode(e.originalColumn-s),s=e.originalColumn,null!=e.name&&(t=this._names.indexOf(e.name),p+=i.encode(t-l),l=t))}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=r},/*!************************************!*\ - !*** ./~/source-map/source-map.js ***! - \************************************/ -function(e,t,n){t.SourceMapGenerator=n(240).SourceMapGenerator,t.SourceMapConsumer=n(531).SourceMapConsumer,t.SourceNode=n(532).SourceNode},/*!********************************!*\ - !*** ./~/ansi-styles/index.js ***! - \********************************/ -function(e,t,n){(function(e){"use strict";function t(){var e={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};return e.colors.grey=e.colors.gray,Object.keys(e).forEach(function(t){var n=e[t];Object.keys(n).forEach(function(t){var r=n[t];e[t]=n[t]={open:"["+r[0]+"m",close:"["+r[1]+"m"}}),Object.defineProperty(e,t,{value:n,enumerable:!1})}),e}Object.defineProperty(e,"exports",{enumerable:!0,get:t})}).call(t,n(143)(e))},/*!*****************************************!*\ - !*** ./~/babel-code-frame/lib/index.js ***! - \*****************************************/ -function(e,t,n){"use strict";function r(e){var t=l["default"].matchToToken(e);if("name"===t.type&&p["default"].keyword.isReservedWordES6(t.value))return"keyword";if("punctuator"===t.type)switch(t.value){case"{":case"}":return"curly";case"(":case")":return"parens";case"[":case"]":return"square"}return t.type}function i(e){return e.replace(l["default"],function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];var i=r(t),o=h[i];return o?t[0].split(m).map(function(e){return o(e)}).join("\n"):t[0]})}var o=n(1)["default"];t.__esModule=!0;var a=n(48),s=o(a),u=n(211),l=o(u),c=n(30),p=o(c),f=n(196),d=o(f),h={string:d["default"].red,punctuator:d["default"].bold,curly:d["default"].green,parens:d["default"].blue.bold,square:d["default"].yellow,keyword:d["default"].cyan,number:d["default"].magenta,regex:d["default"].magenta,comment:d["default"].grey,invalid:d["default"].inverse},m=/\r\n|[\n\r\u2028\u2029]/;t["default"]=function(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];n=Math.max(n,0);var o=r.highlightCode&&d["default"].supportsColor;o&&(e=i(e));var a=e.split(m),u=Math.max(t-3,0),l=Math.min(a.length,t+3);t||n||(u=0,l=a.length);var c=String(l).length,p=a.slice(u,l).map(function(e,r){var i=u+1+r,o=(" "+i).slice(-c),a=" "+o+" | ";if(i===t){var l=n?"\n "+a.replace(/\d/g," ")+s["default"](" ",n-1)+"^":"";return">"+a+e+l}return" "+a+e}).join("\n");return o?d["default"].reset(p):p},e.exports=t["default"]},/*!*******************************!*\ - !*** ./~/babel-core/index.js ***! - \*******************************/ -function(e,t,n){e.exports=n(145)},/*!*******************************************!*\ - !*** ./~/babel-core/lib/helpers/merge.js ***! - \*******************************************/ -function(e,t,n){"use strict";var r=n(4)["default"],i=n(1)["default"];t.__esModule=!0;var o=n(512),a=i(o);t["default"]=function(e,t){return e&&t?a["default"](e,t,function(e,t){if(t&&Array.isArray(e)){for(var n=t.slice(0),i=e,o=Array.isArray(i),a=0,i=o?i:r(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s;n.indexOf(u)<0&&n.push(u)}return n}}):void 0},e.exports=t["default"]},/*!***************************************************!*\ - !*** ./~/babel-core/lib/helpers/normalize-ast.js ***! - \***************************************************/ -function(e,t,n){"use strict";var r=n(2)["default"];t.__esModule=!0;var i=n(11),o=r(i);t["default"]=function(e,t,n){if(e){if("Program"===e.type)return o.file(e,t||[],n||[]);if("File"===e.type)return e}throw new Error("Not a valid ast?")},e.exports=t["default"]},/*!*********************************************!*\ - !*** ./~/babel-core/lib/helpers/resolve.js ***! - \*********************************************/ -function(e,t,n){(function(r){"use strict";var i=n(1)["default"];t.__esModule=!0;var o=n(40),a=i(o),s=n(22),u=i(s),l={};t["default"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?r.cwd():arguments[1];if("object"==typeof a["default"])return null;var n=l[t];if(!n){n=new a["default"];var i=u["default"].join(t,".babelrc");n.id=i,n.filename=i,n.paths=a["default"]._nodeModulePaths(t),l[t]=n}try{return a["default"]._resolveFilename(e,n)}catch(o){return null}},e.exports=t["default"]}).call(t,n(18))},/*!**********************************************************!*\ - !*** ./~/babel-core/lib/tools/build-external-helpers.js ***! - \**********************************************************/ -function(e,t,n){"use strict";function r(e,t){var n=[],r=b.functionExpression(null,[b.identifier("global")],b.blockStatement(n)),i=b.program([b.expressionStatement(b.callExpression(r,[c.get("selfGlobal")]))]);return n.push(b.variableDeclaration("var",[b.variableDeclarator(e,b.assignmentExpression("=",b.memberExpression(b.identifier("global"),e),b.objectExpression([])))])),t(n),i}function i(e,t){var n=[];return n.push(b.variableDeclaration("var",[b.variableDeclarator(e,b.identifier("global"))])),t(n),b.program([x({FACTORY_PARAMETERS:b.identifier("global"),BROWSER_ARGUMENTS:b.assignmentExpression("=",b.memberExpression(b.identifier("root"),e),b.objectExpression([])),COMMON_ARGUMENTS:b.identifier("exports"),AMD_ARGUMENTS:b.arrayExpression([b.stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:b.identifier("this")})])}function o(e,t){var n=[];return n.push(b.variableDeclaration("var",[b.variableDeclarator(e,b.objectExpression([]))])),t(n),n.push(b.expressionStatement(e)),b.program(n)}function a(e,t,n){y["default"](c.list,function(r){if(!(n&&n.indexOf(r)<0)){var i=b.identifier(r);e.push(b.expressionStatement(b.assignmentExpression("=",b.memberExpression(t,i),c.get(r))))}})}var s=n(2)["default"],u=n(1)["default"];t.__esModule=!0;var l=n(160),c=s(l),p=n(149),f=u(p),d=n(19),h=s(d),m=n(9),v=u(m),g=n(31),y=u(g),E=n(11),b=s(E),x=v["default"]('\n (function (root, factory) {\n if (typeof define === "function" && define.amd) {\n define(AMD_ARGUMENTS, factory);\n } else if (typeof exports === "object") {\n factory(COMMON_ARGUMENTS);\n } else {\n factory(BROWSER_ARGUMENTS);\n }\n })(UMD_ROOT, function (FACTORY_PARAMETERS) {\n FACTORY_BODY\n });\n');t["default"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?"global":arguments[1],n=b.identifier("babelHelpers"),s=function(t){return a(t,n,e)},u=void 0,l={global:r,umd:i,"var":o}[t];if(!l)throw new Error(h.get("unsupportedOutputType",t));return u=l(n,s),f["default"](u).code},e.exports=t["default"]},/*!********************************************************!*\ - !*** ./~/babel-core/lib/transformation/file/logger.js ***! - \********************************************************/ -function(e,t,n){"use strict";var r=n(5)["default"],i=n(1)["default"];t.__esModule=!0;var o=n(452),a=i(o),s=a["default"]("babel:verbose"),u=a["default"]("babel"),l=[],c=function(){function e(t,n){r(this,e),this.filename=n,this.file=t}return e.prototype._buildMessage=function(e){var t="[BABEL] "+this.filename;return e&&(t+=": "+e),t},e.prototype.warn=function(e){console.warn(this._buildMessage(e))},e.prototype.error=function(e){var t=arguments.length<=1||void 0===arguments[1]?Error:arguments[1];throw new t(this._buildMessage(e))},e.prototype.deprecate=function(e){this.file.opts&&this.file.opts.suppressDeprecationMessages||(e=this._buildMessage(e),l.indexOf(e)>=0||(l.push(e),console.error(e)))},e.prototype.verbose=function(e){s.enabled&&s(this._buildMessage(e))},e.prototype.debug=function(e){u.enabled&&u(this._buildMessage(e))},e.prototype.deopt=function(e,t){this.debug(t)},e}();t["default"]=c,e.exports=t["default"]},/*!**********************************************************!*\ - !*** ./~/babel-core/lib/transformation/file/metadata.js ***! - \**********************************************************/ -function(e,t,n){"use strict";function r(e,t){var n=e.node,r=n.source?n.source.value:null,i=t.metadata.modules.exports,o=e.get("declaration");if(o.isStatement()){var a=o.getBindingIdentifiers();for(var u in a)i.exported.push(u),i.specifiers.push({kind:"local",local:u,exported:e.isExportDefaultDeclaration()?"default":u})}if(e.isExportNamedDeclaration()&&n.specifiers)for(var l=n.specifiers,c=0;cn;n++)t[n]=arguments[n];var i=r(t),o=f[i];return o?t[0].split(d).map(function(e){return o(e)}).join("\n"):t[0]})}var o=n(1)["default"];t.__esModule=!0;var a=n(211),s=o(a),u=n(30),l=o(u),c=n(196),p=o(c),f={string:p["default"].red,punctuator:p["default"].bold,curly:p["default"].green,parens:p["default"].blue.bold,square:p["default"].yellow,keyword:p["default"].cyan,number:p["default"].magenta,regex:p["default"].magenta,comment:p["default"].grey,invalid:p["default"].inverse},d=/\r\n|[\n\r\u2028\u2029]/;t["default"]=function(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];n=Math.max(n,0);var o=r.highlightCode&&p["default"].supportsColor;o&&(e=i(e));var a=e.split(d),s=Math.max(t-3,0),u=Math.min(a.length,t+3);t||n||(s=0,u=a.length);var l=String(u).length,c=a.slice(s,u).map(function(e,r){var i=s+1+r,o=(" "+i).slice(-l),a=" "+o+" | ";if(i===t){var u="";if(n){var c=e.slice(0,n-1).replace(/[^\t]/g," ");u="\n "+a.replace(/\d/g," ")+c+"^"}return">"+a+e+u}return" "+a+e}).join("\n");return o?p["default"].reset(c):c},e.exports=t["default"]},/*!******************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/converters.js ***! - \******************************************************/ -[538,11],/*!************************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/definitions/core.js ***! - \************************************************************/ -[539,11,108,23],/*!**************************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/definitions/es2015.js ***! - \**************************************************************/ -[540,23],/*!********************************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/definitions/experimental.js ***! - \********************************************************************/ -[541,23],/*!************************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/definitions/flow.js ***! - \************************************************************/ -[542,23],/*!************************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/definitions/init.js ***! - \************************************************************/ -[544,23,257,258,260,262,263,259],/*!***********************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/definitions/jsx.js ***! - \***********************************************************/ -[545,23],/*!************************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/definitions/misc.js ***! - \************************************************************/ -[546,23],/*!************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/flow.js ***! - \************************************************/ -[547,11],/*!*************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/react.js ***! - \*************************************************/ -[549,11],/*!******************************************************!*\ - !*** ./~/babel-core/~/babel-types/lib/validators.js ***! - \******************************************************/ -[551,147,11,108],/*!*****************************************!*\ - !*** ./~/babel-generator/lib/buffer.js ***! - \*****************************************/ -function(e,t,n){"use strict";var r=n(5)["default"],i=n(1)["default"];t.__esModule=!0;var o=n(48),a=i(o),s=n(535),u=i(s),l=function(){function e(t,n){r(this,e),this.printedCommentStarts={},this.parenPushNewlineState=null,this.position=t,this._indent=n.indent.base,this.format=n,this.buf="",this.last="",this.map=null,this._sourcePosition={line:null,column:null,filename:null}}return e.prototype.catchUp=function(e){if(e.loc&&this.format.retainLines&&this.buf)for(;this.position.line=e||(t&&this.removeLast("\n"),this.removeLast(" "),this._removeSpacesAfterLastNewline(),this._push(a["default"]("\n",e)))))},e.prototype._removeSpacesAfterLastNewline=function(){var e=this.buf.lastIndexOf("\n");e>=0&&this.get().length<=e&&(this.buf=this.buf.substring(0,e+1),this.last="\n")},e.prototype.source=function(e,t){if(!e||t){var n=t?t[e]:null;this._sourcePosition.line=n?n.line:null,this._sourcePosition.column=n?n.column:null,this._sourcePosition.filename=t&&t.filename||null}},e.prototype.withSource=function(e,t,n){var r=this._sourcePosition.line,i=this._sourcePosition.column,o=this._sourcePosition.filename;this.source(e,t),n(),this._sourcePosition.line=r,this._sourcePosition.column=i,this._sourcePosition.filename=o},e.prototype.push=function(e,t){if(!this.format.compact&&this._indent&&!t&&"\n"!==e){var n=this.getIndent();e=e.replace(/\n/g,"\n"+n),this.isLast("\n")&&this._push(n)}this._push(e)},e.prototype._push=function(e){var t=this.parenPushNewlineState;if(t)for(var n=0;n=0:e===t},e}();t["default"]=l,e.exports=t["default"]},/*!**************************************************!*\ - !*** ./~/babel-generator/lib/generators/base.js ***! - \**************************************************/ -function(e,t){"use strict";function n(e){this.print(e.program,e)}function r(e){this.printInnerComments(e,!1),this.printSequence(e.directives,e),e.directives&&e.directives.length&&this.newline(),this.printSequence(e.body,e)}function i(e){this.push("{"),this.printInnerComments(e),e.body.length?(this.newline(),this.printSequence(e.directives,e,{indent:!0}),e.directives&&e.directives.length&&this.newline(),this.printSequence(e.body,e,{indent:!0}),this.format.retainLines||this.format.concise||this.removeLast("\n"),this.source("end",e.loc),this.rightBrace()):(this.source("end",e.loc),this.push("}"))}function o(){}function a(e){this.print(e.value,e),this.semicolon()}function s(e){this.push(this._stringLiteral(e.value))}t.__esModule=!0,t.File=n,t.Program=r,t.BlockStatement=i,t.Noop=o,t.Directive=a,t.DirectiveLiteral=s},/*!*****************************************************!*\ - !*** ./~/babel-generator/lib/generators/classes.js ***! - \*****************************************************/ -function(e,t){"use strict";function n(e){this.printJoin(e.decorators,e,{separator:""}),this.push("class"),e.id&&(this.push(" "),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.push(" extends "),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e["implements"]&&(this.push(" implements "),this.printJoin(e["implements"],e,{separator:", "})),this.space(),this.print(e.body,e)}function r(e){this.push("{"),this.printInnerComments(e),0===e.body.length?this.push("}"):(this.newline(),this.indent(),this.printSequence(e.body,e),this.dedent(),this.rightBrace())}function i(e){this.printJoin(e.decorators,e,{separator:""}),e["static"]&&this.push("static "),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.push("="),this.space(),this.print(e.value,e)),this.semicolon()}function o(e){this.printJoin(e.decorators,e,{separator:""}),e["static"]&&this.push("static "),"constructorCall"===e.kind&&this.push("call "),this._method(e)}t.__esModule=!0,t.ClassDeclaration=n,t.ClassBody=r,t.ClassProperty=i,t.ClassMethod=o,t.ClassExpression=n},/*!*********************************************************!*\ - !*** ./~/babel-generator/lib/generators/expressions.js ***! - \*********************************************************/ -function(e,t,n){"use strict";function r(e){var t=/[a-z]$/.test(e.operator),n=e.argument;(k.isUpdateExpression(n)||k.isUnaryExpression(n))&&(t=!0),k.isUnaryExpression(n)&&"!"===n.operator&&(t=!1),this.push(e.operator),t&&this.push(" "),this.print(e.argument,e)}function i(e){this.push("do"),this.space(),this.print(e.body,e)}function o(e){this.push("("),this.print(e.expression,e),this.push(")")}function a(e){e.prefix?(this.push(e.operator),this.print(e.argument,e)):(this.print(e.argument,e),this.push(e.operator))}function s(e){this.print(e.test,e),this.space(),this.push("?"),this.space(),this.print(e.consequent,e),this.space(),this.push(":"),this.space(),this.print(e.alternate,e)}function u(e,t){this.push("new "),this.print(e.callee,e),(0!==e.arguments.length||!this.format.minified||k.isCallExpression(t,{callee:e})||k.isMemberExpression(t)||k.isNewExpression(t))&&(this.push("("),this.printList(e.arguments,e),this.push(")"))}function l(e){this.printList(e.expressions,e)}function c(){this.push("this")}function p(){this.push("super")}function f(e){this.push("@"),this.print(e.expression,e),this.newline()}function d(e){this.print(e.callee,e),e.loc&&this.printAuxAfterComment(),this.push("(");var t=e._prettyCall&&!this.format.retainLines&&!this.format.compact,n=void 0;t&&(n=",\n",this.newline(),this.indent()),this.printList(e.arguments,e,{separator:n}),t&&(this.newline(),this.dedent()),this.push(")")}function h(e){return function(t){if(this.push(e),t.delegate&&this.push("*"),t.argument){this.push(" ");var n=this.startTerminatorless();this.print(t.argument,t),this.endTerminatorless(n)}}}function m(){this._lastPrintedIsEmptyStatement=!0,this.semicolon()}function v(e){this.print(e.expression,e),this.semicolon()}function g(e){this.print(e.left,e),this.space(),this.push("="),this.space(),this.print(e.right,e)}function y(e,t){var n=this._inForStatementInitCounter&&"in"===e.operator&&!P.needsParens(e,t);n&&this.push("("),this.print(e.left,e);var r=!this.format.compact||"in"===e.operator||"instanceof"===e.operator;if(r&&this.push(" "),this.push(e.operator),!r&&(r="<"===e.operator&&k.isUnaryExpression(e.right,{prefix:!0,operator:"!"})&&k.isUnaryExpression(e.right.argument,{prefix:!0,operator:"--"}),!r)){var i=D(e.right);r=k.isUnaryExpression(i,{prefix:!0,operator:e.operator})||k.isUpdateExpression(i,{prefix:!0,operator:e.operator+e.operator})}r&&this.push(" "),this.print(e.right,e),n&&this.push(")")}function E(e){this.print(e.object,e),this.push("::"),this.print(e.callee,e)}function b(e){if(this.print(e.object,e),!e.computed&&k.isMemberExpression(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");var t=e.computed;if(k.isLiteral(e.property)&&F["default"](e.property.value)&&(t=!0),t)this.push("["),this.print(e.property,e),this.push("]");else{if(k.isNumericLiteral(e.object)){var n=this.getPossibleRaw(e.object)||e.object.value;!S["default"](+n)||M.test(n)||O.test(n)||I.test(n)||this.endsWith(".")||this.push(".")}this.push("."),this.print(e.property,e)}}function x(e){this.print(e.meta,e),this.push("."),this.print(e.property,e)}function D(e){return k.isBinaryExpression(e)?D(e.left):e}var C=n(1)["default"],A=n(2)["default"];t.__esModule=!0,t.UnaryExpression=r,t.DoExpression=i,t.ParenthesizedExpression=o,t.UpdateExpression=a,t.ConditionalExpression=s,t.NewExpression=u,t.SequenceExpression=l,t.ThisExpression=c,t.Super=p,t.Decorator=f,t.CallExpression=d,t.EmptyStatement=m,t.ExpressionStatement=v,t.AssignmentPattern=g,t.AssignmentExpression=y,t.BindExpression=E,t.MemberExpression=b,t.MetaProperty=x;var w=n(462),S=C(w),_=n(45),F=C(_),N=n(8),k=A(N),T=n(150),P=A(T),O=/e/i,I=/\.0+$/,M=/^0[box]/,B=h("yield");t.YieldExpression=B;var R=h("await");t.AwaitExpression=R,t.BinaryExpression=y,t.LogicalExpression=y},/*!**************************************************!*\ - !*** ./~/babel-generator/lib/generators/flow.js ***! - \**************************************************/ -function(e,t,n){"use strict";function r(){this.push("any")}function i(e){this.print(e.elementType,e),this.push("["),this.push("]")}function o(){this.push("bool")}function a(e){this.push(e.value?"true":"false")}function s(){this.push("null")}function u(e){this.push("declare class "),this._interfaceish(e)}function l(e){this.push("declare function "),this.print(e.id,e),this.print(e.id.typeAnnotation.typeAnnotation,e),this.semicolon()}function c(e){this.push("declare "),this.InterfaceDeclaration(e)}function p(e){this.push("declare module "),this.print(e.id,e),this.space(),this.print(e.body,e)}function f(e){this.push("declare "),this.TypeAlias(e)}function d(e){this.push("declare var "),this.print(e.id,e),this.print(e.id.typeAnnotation,e),this.semicolon()}function h(){this.push("*")}function m(e,t){this.print(e.typeParameters,e),this.push("("),this.printList(e.params,e),e.rest&&(e.params.length&&(this.push(","),this.space()),this.push("..."),this.print(e.rest,e)),this.push(")"),"ObjectTypeProperty"===t.type||"ObjectTypeCallProperty"===t.type||"DeclareFunction"===t.type?this.push(":"):(this.space(),this.push("=>")),this.space(),this.print(e.returnType,e)}function v(e){this.print(e.name,e),e.optional&&this.push("?"),this.push(":"),this.space(),this.print(e.typeAnnotation,e)}function g(e){this.print(e.id,e),this.print(e.typeParameters,e)}function y(e){this.print(e.id,e),this.print(e.typeParameters,e),e["extends"].length&&(this.push(" extends "),this.printJoin(e["extends"],e,{separator:", "})),e.mixins&&e.mixins.length&&(this.push(" mixins "),this.printJoin(e.mixins,e,{separator:", "})),this.space(),this.print(e.body,e)}function E(e){this.push("interface "),this._interfaceish(e)}function b(e){this.printJoin(e.types,e,{separator:" & "})}function x(){this.push("mixed")}function D(e){this.push("?"),this.print(e.typeAnnotation,e)}function C(){this.push("number")}function A(e){this.push(this._stringLiteral(e.value))}function w(){this.push("string")}function S(){this.push("this")}function _(e){this.push("["),this.printJoin(e.types,e,{separator:", "}),this.push("]")}function F(e){this.push("typeof "),this.print(e.argument,e)}function N(e){this.push("type "),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.push("="),this.space(),this.print(e.right,e),this.semicolon()}function k(e){this.push(":"),this.space(),e.optional&&this.push("?"),this.print(e.typeAnnotation,e)}function T(e){var t=this;this.push("<"),this.printJoin(e.params,e,{separator:", ",iterator:function(e){t.print(e.typeAnnotation,e)}}),this.push(">")}function P(e){var t=this;this.push("{");var n=e.properties.concat(e.callProperties,e.indexers);n.length&&(this.space(),this.printJoin(n,e,{separator:!1,indent:!0,iterator:function(){1!==n.length&&(t.semicolon(),t.space())}}),this.space()),this.push("}")}function O(e){e["static"]&&this.push("static "),this.print(e.value,e)}function I(e){e["static"]&&this.push("static "),this.push("["),this.print(e.id,e),this.push(":"),this.space(),this.print(e.key,e),this.push("]"),this.push(":"),this.space(),this.print(e.value,e)}function M(e){e["static"]&&this.push("static "),this.print(e.key,e),e.optional&&this.push("?"),W.isFunctionTypeAnnotation(e.value)||(this.push(":"),this.space()),this.print(e.value,e)}function B(e){this.print(e.qualification,e),this.push("."),this.print(e.id,e)}function R(e){this.printJoin(e.types,e,{separator:" | "})}function L(e){this.push("("),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.push(")")}function j(){this.push("void")}var V=n(2)["default"];t.__esModule=!0,t.AnyTypeAnnotation=r,t.ArrayTypeAnnotation=i,t.BooleanTypeAnnotation=o,t.BooleanLiteralTypeAnnotation=a,t.NullLiteralTypeAnnotation=s,t.DeclareClass=u,t.DeclareFunction=l,t.DeclareInterface=c,t.DeclareModule=p,t.DeclareTypeAlias=f,t.DeclareVariable=d,t.ExistentialTypeParam=h,t.FunctionTypeAnnotation=m,t.FunctionTypeParam=v,t.InterfaceExtends=g,t._interfaceish=y,t.InterfaceDeclaration=E,t.IntersectionTypeAnnotation=b,t.MixedTypeAnnotation=x,t.NullableTypeAnnotation=D,t.NumberTypeAnnotation=C,t.StringLiteralTypeAnnotation=A,t.StringTypeAnnotation=w,t.ThisTypeAnnotation=S,t.TupleTypeAnnotation=_,t.TypeofTypeAnnotation=F,t.TypeAlias=N,t.TypeAnnotation=k,t.TypeParameterInstantiation=T,t.ObjectTypeAnnotation=P,t.ObjectTypeCallProperty=O,t.ObjectTypeIndexer=I,t.ObjectTypeProperty=M,t.QualifiedTypeIdentifier=B,t.UnionTypeAnnotation=R,t.TypeCastExpression=L,t.VoidTypeAnnotation=j;var U=n(8),W=V(U);t.ClassImplements=g,t.GenericTypeAnnotation=g;var H=n(148);t.NumericLiteralTypeAnnotation=H.NumericLiteral,t.TypeParameterDeclaration=T},/*!*************************************************!*\ - !*** ./~/babel-generator/lib/generators/jsx.js ***! - \*************************************************/ -function(e,t){"use strict";function n(e){this.print(e.name,e),e.value&&(this.push("="),this.print(e.value,e))}function r(e){this.push(e.name)}function i(e){this.print(e.namespace,e),this.push(":"),this.print(e.name,e)}function o(e){this.print(e.object,e),this.push("."),this.print(e.property,e)}function a(e){this.push("{..."),this.print(e.argument,e),this.push("}")}function s(e){this.push("{"),this.print(e.expression,e),this.push("}")}function u(e){this.push(e.value,!0)}function l(e){var t=e.openingElement;if(this.print(t,e),!t.selfClosing){this.indent();for(var n=e.children,r=0;r0&&(this.push(" "),this.printJoin(e.attributes,e,{separator:" "})),this.push(e.selfClosing?" />":">")}function p(e){this.push("")}function f(){}t.__esModule=!0,t.JSXAttribute=n,t.JSXIdentifier=r,t.JSXNamespacedName=i,t.JSXMemberExpression=o,t.JSXSpreadAttribute=a,t.JSXExpressionContainer=s,t.JSXText=u,t.JSXElement=l,t.JSXOpeningElement=c,t.JSXClosingElement=p,t.JSXEmptyExpression=f},/*!*****************************************************!*\ - !*** ./~/babel-generator/lib/generators/methods.js ***! - \*****************************************************/ -function(e,t,n){"use strict";function r(e){var t=this;this.print(e.typeParameters,e),this.push("("),this.printList(e.params,e,{iterator:function(e){e.optional&&t.push("?"),t.print(e.typeAnnotation,e)}}),this.push(")"),e.returnType&&this.print(e.returnType,e)}function i(e){var t=e.kind,n=e.key;"method"!==t&&"init"!==t||e.generator&&this.push("*"),"get"!==t&&"set"!==t||this.push(t+" "),e.async&&this.push("async "),e.computed?(this.push("["),this.print(n,e),this.push("]")):this.print(n,e),this._params(e),this.space(),this.print(e.body,e)}function o(e){e.async&&this.push("async "),this.push("function"),e.generator&&this.push("*"),e.id?(this.push(" "),this.print(e.id,e)):this.space(),this._params(e),this.space(),this.print(e.body,e)}function a(e){e.async&&this.push("async "),1===e.params.length&&l.isIdentifier(e.params[0])?this.print(e.params[0],e):this._params(e),this.push(" => "),this.print(e.body,e)}var s=n(2)["default"];t.__esModule=!0,t._params=r,t._method=i,t.FunctionExpression=o,t.ArrowFunctionExpression=a;var u=n(8),l=s(u);t.FunctionDeclaration=o},/*!*****************************************************!*\ - !*** ./~/babel-generator/lib/generators/modules.js ***! - \*****************************************************/ -function(e,t,n){"use strict";function r(e){this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.push(" as "),this.print(e.local,e))}function i(e){this.print(e.local,e)}function o(e){this.print(e.exported,e)}function a(e){this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.push(" as "),this.print(e.exported,e))}function s(e){this.push("* as "),this.print(e.exported,e)}function u(e){this.push("export *"),e.exported&&(this.push(" as "),this.print(e.exported,e)),this.push(" from "),this.print(e.source,e),this.semicolon()}function l(){this.push("export "),p.apply(this,arguments)}function c(){this.push("export default "),p.apply(this,arguments)}function p(e){if(e.declaration){var t=e.declaration;if(this.print(t,e),v.isStatement(t)||v.isFunction(t)||v.isClass(t))return}else{"type"===e.exportKind&&this.push("type ");for(var n=e.specifiers.slice(0),r=!1;;){var i=n[0];if(!v.isExportDefaultSpecifier(i)&&!v.isExportNamespaceSpecifier(i))break;r=!0,this.print(n.shift(),e),n.length&&this.push(", ")}(n.length||!n.length&&!r)&&(this.push("{"),n.length&&(this.space(),this.printJoin(n,e,{separator:", "}),this.space()),this.push("}")),e.source&&(this.push(" from "),this.print(e.source,e))}this.ensureSemicolon()}function f(e){this.push("import "),"type"!==e.importKind&&"typeof"!==e.importKind||this.push(e.importKind+" ");var t=e.specifiers.slice(0);if(t&&t.length){for(;;){var n=t[0];if(!v.isImportDefaultSpecifier(n)&&!v.isImportNamespaceSpecifier(n))break;this.print(t.shift(),e),t.length&&this.push(", ")}t.length&&(this.push("{"),this.space(),this.printJoin(t,e,{separator:", "}),this.space(),this.push("}")),this.push(" from ")}this.print(e.source,e),this.semicolon()}function d(e){this.push("* as "),this.print(e.local,e)}var h=n(2)["default"];t.__esModule=!0,t.ImportSpecifier=r,t.ImportDefaultSpecifier=i,t.ExportDefaultSpecifier=o,t.ExportSpecifier=a,t.ExportNamespaceSpecifier=s,t.ExportAllDeclaration=u,t.ExportNamedDeclaration=l,t.ExportDefaultDeclaration=c,t.ImportDeclaration=f,t.ImportNamespaceSpecifier=d;var m=n(8),v=h(m)},/*!********************************************************!*\ - !*** ./~/babel-generator/lib/generators/statements.js ***! - \********************************************************/ -function(e,t,n){"use strict";function r(e){this.keyword("with"),this.push("("),this.print(e.object,e),this.push(")"),this.printBlock(e)}function i(e){this.keyword("if"),this.push("("),this.print(e.test,e),this.push(")"),this.space();var t=e.alternate&&C.isIfStatement(o(e.consequent));t&&(this.push("{"),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.push("}")),e.alternate&&(this.isLast("}")&&this.space(),this.push("else "),this.printAndIndentOnComments(e.alternate,e))}function o(e){return C.isStatement(e.body)?o(e.body):e}function a(e){this.keyword("for"),this.push("("),this._inForStatementInitCounter++,this.print(e.init,e),this._inForStatementInitCounter--,this.push(";"),e.test&&(this.space(),this.print(e.test,e)),this.push(";"),e.update&&(this.space(),this.print(e.update,e)),this.push(")"),this.printBlock(e)}function s(e){this.keyword("while"),this.push("("),this.print(e.test,e),this.push(")"),this.printBlock(e)}function u(e){this.push("do "),this.print(e.body,e),this.space(),this.keyword("while"),this.push("("),this.print(e.test,e),this.push(");")}function l(e){var t=arguments.length<=1||void 0===arguments[1]?"label":arguments[1];return function(n){this.push(e);var r=n[t];if(r){this.format.minified&&(C.isUnaryExpression(r,{prefix:!0})||C.isUpdateExpression(r,{prefix:!0}))&&A.indexOf(r.operator)>-1||this.push(" ");var i=this.startTerminatorless();this.print(r,n),this.endTerminatorless(i)}this.semicolon()}}function c(e){this.print(e.label,e),this.push(": "),this.print(e.body,e)}function p(e){this.keyword("try"),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e),e.finalizer&&(this.space(),this.push("finally "),this.print(e.finalizer,e))}function f(e){this.keyword("catch"),this.push("("),this.print(e.param,e),this.push(")"),this.space(),this.print(e.body,e)}function d(e){this.keyword("switch"),this.push("("),this.print(e.discriminant,e),this.push(")"),this.space(),this.push("{"),this.printSequence(e.cases,e,{indent:!0,addNewlines:function(t,n){return t||e.cases[e.cases.length-1]!==n?void 0:-1}}),this.push("}")}function h(e){e.test?(this.push("case "),this.print(e.test,e),this.push(":")):this.push("default:"),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))}function m(){this.push("debugger;")}function v(e,t){this.push(e.kind+" ");var n=!1;if(!C.isFor(t))for(var r=e.declarations,i=0;io)return!0;if(r===o&&t.right===e&&!E.isLogicalExpression(t))return!0}return!1}function s(e,t){if("in"===e.operator){if(E.isVariableDeclarator(t))return!0;if(E.isFor(t))return!0}return!1}function u(e,t){return E.isForStatement(t)?!1:E.isExpressionStatement(t)&&t.expression===e?!1:E.isReturnStatement(t)?!1:E.isThrowStatement(t)?!1:E.isSwitchStatement(t)&&t.discriminant===e?!1:E.isWhileStatement(t)&&t.test===e?!1:E.isIfStatement(t)&&t.test===e?!1:!E.isForInStatement(t)||t.right!==e}function l(e,t){return E.isBinary(t)||E.isUnaryLike(t)||E.isCallExpression(t)||E.isMemberExpression(t)||E.isNewExpression(t)}function c(e,t,n){return v(n,{considerDefaultExports:!0})}function p(e,t){return E.isMemberExpression(t,{object:e})?!0:!(!E.isCallExpression(t,{callee:e})&&!E.isNewExpression(t,{callee:e}))}function f(e,t,n){return v(n,{considerDefaultExports:!0})}function d(e,t){return E.isExportDeclaration(t)?!0:E.isBinaryExpression(t)||E.isLogicalExpression(t)?!0:E.isUnaryExpression(t)?!0:p(e,t)}function h(e,t){return E.isUnaryLike(t)?!0:E.isBinary(t)?!0:E.isConditionalExpression(t,{test:e})?!0:p(e,t)}function m(e){return E.isObjectPattern(e.left)?!0:h.apply(void 0,arguments)}function v(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.considerArrow,r=void 0===n?!1:n,i=t.considerDefaultExports,o=void 0===i?!1:i,a=e.length-1,s=e[a];a--;for(var u=e[a];a>0;){if(E.isExpressionStatement(u,{expression:s}))return!0;if(o&&E.isExportDefaultDeclaration(u,{declaration:s}))return!0;if(r&&E.isArrowFunctionExpression(u,{body:s}))return!0;if(!(E.isCallExpression(u,{callee:s})||E.isSequenceExpression(u)&&u.expressions[0]===s||E.isMemberExpression(u,{object:s})||E.isConditional(u,{test:s})||E.isBinary(u,{left:s})||E.isAssignmentExpression(u,{left:s})))return!1;s=u,a--,u=e[a]}return!1}var g=n(2)["default"];t.__esModule=!0,t.NullableTypeAnnotation=r,t.UpdateExpression=i,t.ObjectExpression=o,t.Binary=a,t.BinaryExpression=s,t.SequenceExpression=u,t.YieldExpression=l,t.ClassExpression=c,t.UnaryLike=p,t.FunctionExpression=f,t.ArrowFunctionExpression=d,t.ConditionalExpression=h,t.AssignmentExpression=m;var y=n(8),E=g(y),b={"||":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,"in":6,"instanceof":6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};t.FunctionTypeAnnotation=r,t.AwaitExpression=l},/*!**************************************************!*\ - !*** ./~/babel-generator/lib/node/whitespace.js ***! - \**************************************************/ -function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return m.isMemberExpression(e)?(r(e.object,t),e.computed&&r(e.property,t)):m.isBinary(e)||m.isAssignmentExpression(e)?(r(e.left,t),r(e.right,t)):m.isCallExpression(e)?(t.hasCall=!0,r(e.callee,t)):m.isFunction(e)?t.hasFunction=!0:m.isIdentifier(e)&&(t.hasHelper=t.hasHelper||i(e.callee)),t}function i(e){return m.isMemberExpression(e)?i(e.object)||i(e.property):m.isIdentifier(e)?"require"===e.name||"_"===e.name[0]:m.isCallExpression(e)?i(e.callee):m.isBinary(e)||m.isAssignmentExpression(e)?m.isIdentifier(e.left)&&i(e.left)||i(e.right):!1}function o(e){return m.isLiteral(e)||m.isObjectExpression(e)||m.isArrayExpression(e)||m.isIdentifier(e)||m.isMemberExpression(e)}var a=n(1)["default"],s=n(2)["default"],u=n(229),l=a(u),c=n(31),p=a(c),f=n(470),d=a(f),h=n(8),m=s(h);t.nodes={AssignmentExpression:function(e){var t=r(e.right);return t.hasCall&&t.hasHelper||t.hasFunction?{before:t.hasFunction,after:!0}:void 0},SwitchCase:function(e,t){return{before:e.consequent.length||t.cases[0]===e}},LogicalExpression:function(e){return m.isFunction(e.left)||m.isFunction(e.right)?{after:!0}:void 0},Literal:function(e){return"use strict"===e.value?{after:!0}:void 0},CallExpression:function(e){return m.isFunction(e.callee)||i(e)?{before:!0,after:!0}:void 0},VariableDeclaration:function(e){for(var t=0;to;o++)r[o]=arguments[o];e.call.apply(e,[this].concat(r)),this.insideAux=!1,this.printAuxAfterOnNextUserNode=!1,this._printStack=[]}return r(t,e),t.prototype.print=function(e,t){var n=this,r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(e){this._lastPrintedIsEmptyStatement=!1,t&&t._compact&&(e._compact=!0);var i=this.insideAux;this.insideAux=!e.loc;var o=this.format.concise;e._compact&&(this.format.concise=!0);var a=this[e.type];if(!a)throw new ReferenceError("unknown node of type "+JSON.stringify(e.type)+" with constructor "+JSON.stringify(e&&e.constructor.name));this._printStack.push(e),e.loc&&this.printAuxAfterComment(),this.printAuxBeforeComment(i);var s=d.needsParens(e,t,this._printStack);s&&this.push("("),this.printLeadingComments(e,t),this.catchUp(e),this._printNewline(!0,e,t,r),r.before&&r.before();var u=m.isProgram(e)||m.isFile(e)?null:e.loc;this.withSource("start",u,function(){n._print(e,t)}),e.loc&&this.printAuxAfterComment(),this.printTrailingComments(e,t),s&&this.push(")"),this._printStack.pop(),r.after&&r.after(),this.format.concise=o,this.insideAux=i,this._printNewline(!1,e,t,r)}},t.prototype.printAuxBeforeComment=function(e){var t=this.format.auxiliaryCommentBefore;e||!this.insideAux||this.printAuxAfterOnNextUserNode||(this.printAuxAfterOnNextUserNode=!0,t&&this.printComment({type:"CommentBlock",value:t}))},t.prototype.printAuxAfterComment=function(){if(this.printAuxAfterOnNextUserNode){this.printAuxAfterOnNextUserNode=!1;var e=this.format.auxiliaryCommentAfter;e&&this.printComment({type:"CommentBlock",value:e})}},t.prototype.getPossibleRaw=function(e){var t=e.extra;return t&&null!=t.raw&&null!=t.rawValue&&e.value===t.rawValue?t.raw:void 0},t.prototype._print=function(e,t){if(!this.format.minified){var n=this.getPossibleRaw(e);if(n)return this.push(""),void this._push(n)}var r=this[e.type];r.call(this,e,t)},t.prototype.printJoin=function(e,t){var n=this,r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(e&&e.length){var i=e.length,o=void 0,a=void 0;r.indent&&this.indent();var s={statement:r.statement,addNewlines:r.addNewlines,after:function(){r.iterator&&r.iterator(o,a),r.separator&&t.loc&&n.printAuxAfterComment(),r.separator&&i-1>a&&n.push(r.separator)}};for(a=0;a=0||e.value.indexOf("@preserve")>=0)?!0:this.format.comments},t.prototype.printComment=function(e){var t=this;if(this.shouldPrintComment(e)&&!e.ignore){if(e.ignore=!0,null!=e.start){if(this.printedCommentStarts[e.start])return;this.printedCommentStarts[e.start]=!0}this.withSource(null,null,function(){t.catchUp(e),t.newline(t.whitespace.getNewlinesBefore(e));var n=t.position.column,r=t.generateComment(e);if(n&&!t.isLast(["\n"," ","[","{"])&&(t._push(" "),n++),"CommentBlock"===e.type&&t.format.indent.adjustMultilineComment){var i=e.loc&&e.loc.start.column;if(i){var o=new RegExp("\\n\\s{1,"+i+"}","g");r=r.replace(o,"\n")}var a=Math.max(t.indentSize(),n);r=r.replace(/\n/g,"\n"+l["default"](" ",a))}0===n&&(r=t.getIndent()+r),(t.format.compact||t.format.concise||t.format.retainLines)&&"CommentLine"===e.type&&(r+="\n"),t._push(r),t.newline(t.whitespace.getNewlinesAfter(e))})}},t.prototype.printComments=function(e){if(e&&e.length)for(var t=0;t=0){for(;i&&e.start===r[i-1].start;)--i;t=r[i-1],n=r[i]}return this.getNewlinesBetween(t,n)},e.prototype.getNewlinesAfter=function(e){var t=void 0,n=void 0,r=this.tokens,i=this._findToken(function(t){return t.end-e.end},0,r.length);if(i>=0){for(;i&&e.end===r[i-1].end;)--i;t=r[i],n=r[i+1],","===n.type.label&&(n=r[i+2])}if(n&&"eof"===n.type.label)return 1;var o=this.getNewlinesBetween(t,n);return"CommentLine"!==e.type||o?o:1},e.prototype.getNewlinesBetween=function(e,t){if(!t||!t.loc)return 0;for(var n=e?e.loc.end.line:1,r=t.loc.start.line,i=0,o=n;r>o;o++)"undefined"==typeof this.used[o]&&(this.used[o]=!0,i++);return i},e.prototype._findToken=function(e,t,n){if(t>=n)return-1;var r=t+n>>>1,i=e(this.tokens[r]);return 0>i?this._findToken(e,r+1,n):i>0?this._findToken(e,t,r):0===i?r:-1},e}();t["default"]=i,e.exports=t["default"]},/*!***********************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/converters.js ***! - \***********************************************************/ -[538,8],/*!*****************************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/definitions/core.js ***! - \*****************************************************************/ -[539,8,109,24],/*!*******************************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/definitions/es2015.js ***! - \*******************************************************************/ -[540,24],/*!*************************************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/definitions/experimental.js ***! - \*************************************************************************/ -[541,24],/*!*****************************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/definitions/flow.js ***! - \*****************************************************************/ -[542,24],/*!*****************************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/definitions/init.js ***! - \*****************************************************************/ -[544,24,284,285,287,289,290,286],/*!****************************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/definitions/jsx.js ***! - \****************************************************************/ -[545,24],/*!*****************************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/definitions/misc.js ***! - \*****************************************************************/ -[546,24],/*!*****************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/flow.js ***! - \*****************************************************/ -[547,8],/*!******************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/react.js ***! - \******************************************************/ -[549,8],/*!***********************************************************!*\ - !*** ./~/babel-generator/~/babel-types/lib/validators.js ***! - \***********************************************************/ -[551,151,8,109],/*!********************************************************!*\ - !*** ./~/babel-helper-bindify-decorators/lib/index.js ***! - \********************************************************/ -function(e,t,n){"use strict";function r(e){for(var t=0;t 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : \'\' + key,\n ref: null,\n props: props,\n _owner: null,\n };\n };\n\n })()\n'),a.asyncToGenerator=o["default"]('\n (function (fn) {\n return function () {\n var gen = fn.apply(this, arguments);\n return new Promise(function (resolve, reject) {\n function step(key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n return Promise.resolve(value).then(function (value) {\n return step("next", value);\n }, function (err) {\n return step("throw", err);\n });\n }\n }\n\n return step("next");\n });\n };\n })\n'),a.classCallCheck=o["default"]('\n (function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError("Cannot call a class as a function");\n }\n });\n'),a.createClass=o["default"]('\n (function() {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i ++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ("value" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n })()\n'),a.defineEnumerableProperties=o["default"]('\n (function (obj, descs) {\n for (var key in descs) {\n var desc = descs[key];\n desc.configurable = desc.enumerable = true;\n if ("value" in desc) desc.writable = true;\n Object.defineProperty(obj, key, desc);\n }\n return obj;\n })\n'),a.defaults=o["default"]("\n (function (obj, defaults) {\n var keys = Object.getOwnPropertyNames(defaults);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = Object.getOwnPropertyDescriptor(defaults, key);\n if (value && value.configurable && obj[key] === undefined) {\n Object.defineProperty(obj, key, value);\n }\n }\n return obj;\n })\n"),a.defineProperty=o["default"]("\n (function (obj, key, value) {\n // Shortcircuit the slow defineProperty path when possible.\n // We are trying to avoid issues where setters defined on the\n // prototype cause side effects under the fast path of simple\n // assignment. By checking for existence of the property with\n // the in operator, we can optimize most of this overhead away.\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n });\n"),a["extends"]=o["default"]("\n Object.assign || (function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n })\n"),a.get=o["default"]('\n (function get(object, property, receiver) {\n if (object === null) object = Function.prototype;\n\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent === null) {\n return undefined;\n } else {\n return get(parent, property, receiver);\n }\n } else if ("value" in desc) {\n return desc.value;\n } else {\n var getter = desc.get;\n\n if (getter === undefined) {\n return undefined;\n }\n\n return getter.call(receiver);\n }\n });\n'),a.inherits=o["default"]('\n (function (subClass, superClass) {\n if (typeof superClass !== "function" && superClass !== null) {\n throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n })\n'),a["instanceof"]=o["default"]('\n (function (left, right) {\n if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {\n return right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n });\n'),a.interopRequireDefault=o["default"]("\n (function (obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n })\n"),a.interopRequireWildcard=o["default"]("\n (function (obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n })\n"),a.newArrowCheck=o["default"]('\n (function (innerThis, boundThis) {\n if (innerThis !== boundThis) {\n throw new TypeError("Cannot instantiate an arrow function");\n }\n });\n'),a.objectDestructuringEmpty=o["default"]('\n (function (obj) {\n if (obj == null) throw new TypeError("Cannot destructure undefined");\n });\n'),a.objectWithoutProperties=o["default"]("\n (function (obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n })\n"),a.possibleConstructorReturn=o["default"]('\n (function (self, call) {\n if (!self) {\n throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");\n }\n return call && (typeof call === "object" || typeof call === "function") ? call : self;\n });\n'),a.selfGlobal=o["default"]('\n typeof global === "undefined" ? self : global\n'),a.set=o["default"]('\n (function set(object, property, value, receiver) {\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent !== null) {\n set(parent, property, value, receiver);\n }\n } else if ("value" in desc && desc.writable) {\n desc.value = value;\n } else {\n var setter = desc.set;\n\n if (setter !== undefined) {\n setter.call(receiver, value);\n }\n }\n\n return value;\n });\n'),a.slicedToArray=o["default"]('\n (function () {\n // Broken out into a separate function to avoid deoptimizations due to the try/catch for the\n // array iterator case.\n function sliceIterator(arr, i) {\n // this is an expanded form of `for...of` that properly supports abrupt completions of\n // iterators etc. variable names have been minimised to reduce the size of this massive\n // helper. sometimes spec compliancy is annoying :(\n //\n // _n = _iteratorNormalCompletion\n // _d = _didIteratorError\n // _e = _iteratorError\n // _i = _iterator\n // _s = _step\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i["return"]) _i["return"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n };\n })();\n'),a.slicedToArrayLoose=o["default"]('\n (function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n var _arr = [];\n for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n _arr.push(_step.value);\n if (i && _arr.length === i) break;\n }\n return _arr;\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n });\n'),a.taggedTemplateLiteral=o["default"]("\n (function (strings, raw) {\n return Object.freeze(Object.defineProperties(strings, {\n raw: { value: Object.freeze(raw) }\n }));\n });\n"),a.taggedTemplateLiteralLoose=o["default"]("\n (function (strings, raw) {\n strings.raw = raw;\n return strings;\n });\n"),a.temporalRef=o["default"]('\n (function (val, name, undef) {\n if (val === undef) {\n throw new ReferenceError(name + " is not defined - temporal dead zone");\n } else {\n return val;\n }\n })\n'),a.temporalUndefined=o["default"]("\n ({})\n"),a.toArray=o["default"]("\n (function (arr) {\n return Array.isArray(arr) ? arr : Array.from(arr);\n });\n"),a.toConsumableArray=o["default"]("\n (function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n return arr2;\n } else {\n return Array.from(arr);\n }\n });\n"),e.exports=t["default"]},/*!********************************************************!*\ - !*** ./~/babel-plugin-external-helpers-2/lib/index.js ***! - \********************************************************/ -function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){var t=e.types;return{pre:function(e){e.set("helpersNamespace",t.identifier("babelHelpers"))}}},e.exports=t["default"]},/*!*************************************************************!*\ - !*** ./~/babel-plugin-syntax-async-generators/lib/index.js ***! - \*************************************************************/ -function(e,t){"use strict";t.__esModule=!0,t["default"]=function(){return{manipulateOptions:function(e,t){t.plugins.push("asyncGenerators")}}},e.exports=t["default"]},/*!***************************************************************!*\ - !*** ./~/babel-plugin-transform-async-functions/lib/index.js ***! - \***************************************************************/ -function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){return{inherits:n(74)}},e.exports=t["default"]},/*!**********************************************************************!*\ - !*** ./~/babel-plugin-transform-async-to-module-method/lib/index.js ***! - \**********************************************************************/ -function(e,t,n){"use strict";var r=n(1)["default"];t.__esModule=!0;var i=n(158),o=r(i);t["default"]=function(){return{inherits:n(74),visitor:{Function:function(e,t){e.node.async&&!e.node.generator&&o["default"](e,t.addImport(t.opts.module,t.opts.method))}}}},e.exports=t["default"]},/*!*****************************************************************!*\ - !*** ./~/babel-plugin-transform-decorators-legacy/lib/index.js ***! - \*****************************************************************/ -function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){function t(e,t){if(!t.applyDecoratedDescriptor){t.applyDecoratedDescriptor=e.scope.generateUidIdentifier("applyDecoratedDescriptor");var n=f({NAME:t.applyDecoratedDescriptor});e.scope.getProgramParent().path.unshiftContainer("body",n)}return t.applyDecoratedDescriptor}function r(e,t){if(!t.initializerDefineProp){t.initializerDefineProp=e.scope.generateUidIdentifier("initDefineProp");var n=p({NAME:t.initializerDefineProp});e.scope.getProgramParent().path.unshiftContainer("body",n)}return t.initializerDefineProp}function i(e,t){if(!t.initializerWarningHelper){t.initializerWarningHelper=e.scope.generateUidIdentifier("initializerWarningHelper");var n=c({NAME:t.initializerWarningHelper});e.scope.getProgramParent().path.unshiftContainer("body",n)}return t.initializerWarningHelper}function o(e){var t=(e.isClass()?[e].concat(e.get("body.body")):e.get("properties")).reduce(function(e,t){return e.concat(t.node.decorators||[])},[]),n=t.filter(function(e){return!g.isIdentifier(e.expression)});return 0!==n.length?g.sequenceExpression(n.map(function(t){var n=t.expression,r=t.expression=e.scope.generateDeclaredUidIdentifier("dec");return g.assignmentExpression("=",r,n)}).concat([e.node])):void 0}function d(e,t){var n=e.node.decorators||[];if(e.node.decorators=null,0!==n.length){var r=e.scope.generateDeclaredUidIdentifier("class");return n.map(function(e){return e.expression}).reverse().reduce(function(e,t){return a({CLASS_REF:r,DECORATOR:t,INNER:e}).expression},e.node)}}function h(e,t){var n=e.node.body.body.some(function(e){return(e.decorators||[]).length>0});if(n)return v(e,t,e.node.body.body)}function m(e,t){var n=e.node.properties.some(function(e){return(e.decorators||[]).length>0});if(n)return v(e,t,e.node.properties)}function v(e,n,r){var o=(e.scope.generateDeclaredUidIdentifier("desc"),e.scope.generateDeclaredUidIdentifier("value"),e.scope.generateDeclaredUidIdentifier(e.isClass()?"class":"obj")),a=r.reduce(function(r,a){var c=a.decorators||[];if(a.decorators=null,0===c.length)return r;if(a.computed)throw e.buildCodeFrameError("Computed method/property decorators are not yet supported.");var p=g.isLiteral(a.key)?a.key:g.stringLiteral(a.key.name),f=e.isClass()&&!a["static"]?s({CLASS_REF:o}).expression:o;if(g.isClassProperty(a,{"static":!1})){var d=e.scope.generateDeclaredUidIdentifier("descriptor"),h=a.value?g.functionExpression(null,[],g.blockStatement([g.returnStatement(a.value)])):g.nullLiteral();a.value=g.callExpression(i(e,n),[d,g.thisExpression()]),r=r.concat([g.assignmentExpression("=",d,g.callExpression(t(e,n),[f,p,g.arrayExpression(c.map(function(e){return e.expression})),g.objectExpression([g.objectProperty(g.identifier("enumerable"),g.booleanLiteral(!0)),g.objectProperty(g.identifier("initializer"),h)])]))])}else r=r.concat(g.callExpression(t(e,n),[f,p,g.arrayExpression(c.map(function(e){return e.expression})),g.isObjectProperty(a)||g.isClassProperty(a,{"static":!0})?l({TEMP:e.scope.generateDeclaredUidIdentifier("init"),TARGET:f,PROPERTY:p}).expression:u({TARGET:f,PROPERTY:p}).expression,f]));return r},[]);return g.sequenceExpression([g.assignmentExpression("=",o,e.node),g.sequenceExpression(a),o])}var g=e.types;return{inherits:n(110),visitor:{ExportDefaultDeclaration:function(e){if(e.get("declaration").isClassDeclaration()){var t=e.node,n=t.declaration.id||e.scope.generateUidIdentifier("default");t.declaration.id=n,e.replaceWith(t.declaration),e.insertAfter(g.exportNamedDeclaration(null,[g.exportSpecifier(n,g.identifier("default"))]))}},ClassDeclaration:function(e){var t=e.node,n=t.id||e.scope.generateUidIdentifier("class");e.replaceWith(g.variableDeclaration("let",[g.variableDeclarator(n,g.toExpression(t))]))},ClassExpression:function(e,t){var n=o(e)||d(e,t)||h(e,t);n&&e.replaceWith(n)},ObjectExpression:function(e,t){var n=o(e)||m(e,t);n&&e.replaceWith(n)},AssignmentExpression:function(e,t){t.initializerWarningHelper&&e.get("left").isMemberExpression()&&e.get("left.property").isIdentifier()&&e.get("right").isCallExpression()&&e.get("right.callee").isIdentifier({name:t.initializerWarningHelper.name})&&e.replaceWith(g.callExpression(r(e,t),[e.get("left.object").node,g.stringLiteral(e.get("left.property").node.name),e.get("right.arguments")[0].node,e.get("right.arguments")[1].node]))}}}};var i=n(9),o=r(i),a=(0,o["default"])("\n DECORATOR(CLASS_REF = INNER) || CLASS_REF;\n"),s=(0,o["default"])("\n CLASS_REF.prototype;\n"),u=(0,o["default"])("\n Object.getOwnPropertyDescriptor(TARGET, PROPERTY);\n"),l=(0,o["default"])("\n (TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {\n enumerable: true,\n configurable: true,\n writable: true,\n initializer: function(){\n return TEMP;\n }\n })\n"),c=(0,o["default"])("\n function NAME(descriptor, context){\n throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');\n }\n"),p=(0,o["default"])("\n function NAME(target, property, descriptor, context){\n if (!descriptor) return;\n\n Object.defineProperty(target, property, {\n enumerable: descriptor.enumerable,\n configurable: descriptor.configurable,\n writable: descriptor.writable,\n value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,\n });\n }\n"),f=(0,o["default"])("\n function NAME(target, property, decorators, descriptor, context){\n var desc = {};\n Object['ke' + 'ys'](descriptor).forEach(function(key){\n desc[key] = descriptor[key];\n });\n desc.enumerable = !!desc.enumerable;\n desc.configurable = !!desc.configurable;\n if ('value' in desc || desc.initializer){\n desc.writable = true;\n }\n\n desc = decorators.slice().reverse().reduce(function(desc, decorator){\n return decorator(target, property, desc) || desc;\n }, desc);\n\n if (context && desc.initializer !== void 0){\n desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n desc.initializer = undefined;\n }\n\n if (desc.initializer === void 0){\n // This is a hack to avoid this being processed by 'transform-runtime'.\n // See issue #9.\n Object['define' + 'Property'](target, property, desc);\n desc = null;\n }\n\n return desc;\n }\n")},/*!******************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-block-scoping/lib/tdz.js ***! - \******************************************************************/ -function(e,t,n){"use strict";function r(e,t){var n=t._guessExecutionStatusRelativeTo(e);return"before"===n?"inside":"after"===n?"outside":"maybe"}function i(e,t){return u.callExpression(t.addHelper("temporalRef"),[e,u.stringLiteral(e.name),t.addHelper("temporalUndefined")])}function o(e,t,n){var r=n.letReferences[e.name];return r?t.getBindingIdentifier(e.name)===r:!1}var a=n(2)["default"];t.__esModule=!0;var s=n(3),u=a(s),l={ReferencedIdentifier:function(e,t){if(this.file.opts.tdz){var n=e.node,a=e.parent,s=e.scope;if(!e.parentPath.isFor({left:n})&&o(n,s,t)){var l=s.getBinding(n.name).path,c=r(e,l);if("inside"!==c)if("maybe"===c){var p=i(n,t.file);if(l.parent._tdzThis=!0,e.skip(),e.parentPath.isUpdateExpression()){if(a._ignoreBlockScopingTDZ)return;e.parentPath.replaceWith(u.sequenceExpression([p,a]))}else e.replaceWith(p)}else"outside"===c&&e.replaceWith(u.throwStatement(u.inherits(u.newExpression(u.identifier("ReferenceError"),[u.stringLiteral(n.name+" is not defined - temporal dead zone")]),n)))}}},AssignmentExpression:{exit:function(e,t){if(this.file.opts.tdz){var n=e.node;if(!n._ignoreBlockScopingTDZ){var r=[],a=e.getBindingIdentifiers();for(var s in a){var l=a[s];o(l,e.scope,t)&&r.push(i(l,t.file))}r.length&&(n._ignoreBlockScopingTDZ=!0,r.push(n),e.replaceWithMultiple(r.map(u.expressionStatement)))}}}}};t.visitor=l},/*!**************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/lib/loose.js ***! - \**************************************************************/ -function(e,t,n){"use strict";var r=n(35)["default"],i=n(5)["default"],o=n(1)["default"],a=n(2)["default"];t.__esModule=!0;var s=n(51),u=o(s),l=n(174),c=o(l),p=n(20),f=a(p),d=function(e){function t(){i(this,t),e.apply(this,arguments),this.isLoose=!0}return r(t,e),t.prototype._processMethod=function(e,t){if(!e.decorators){var n=this.classRef;e["static"]||(n=f.memberExpression(n,f.identifier("prototype")));var r=f.memberExpression(n,e.key,e.computed||f.isLiteral(e.key)),i=f.functionExpression(null,e.params,e.body,e.generator,e.async),o=f.toComputedKey(e,e.key);f.isStringLiteral(o)&&(i=u["default"]({node:i,id:o,scope:t}));var a=f.expressionStatement(f.assignmentExpression("=",r,i));return f.inheritsComments(a,e),this.body.push(a),!0}},t}(c["default"]);t["default"]=d,e.exports=t["default"]},/*!*********************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/converters.js ***! - \*********************************************************************************/ -[538,20],/*!***************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/definitions/core.js ***! - \***************************************************************************************/ -[539,20,113,25],/*!*****************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/definitions/es2015.js ***! - \*****************************************************************************************/ -[540,25],/*!***********************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/definitions/experimental.js ***! - \***********************************************************************************************/ -[541,25],/*!***************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/definitions/flow.js ***! - \***************************************************************************************/ -[542,25],/*!***************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/definitions/init.js ***! - \***************************************************************************************/ -[544,25,308,309,311,313,314,310],/*!**************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/definitions/jsx.js ***! - \**************************************************************************************/ -[545,25],/*!***************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/definitions/misc.js ***! - \***************************************************************************************/ -[546,25],/*!***************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/flow.js ***! - \***************************************************************************/ -[547,20],/*!****************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/react.js ***! - \****************************************************************************/ -[549,20],/*!*********************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-classes/~/babel-types/lib/validators.js ***! - \*********************************************************************************/ -[551,175,20,113],/*!*********************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-duplicate-keys/lib/index.js ***! - \*********************************************************************/ -function(e,t,n){"use strict";function r(e){return u.isIdentifier(e)?e.name:e.value.toString()}var i=n(10)["default"],o=n(4)["default"],a=n(2)["default"];t.__esModule=!0;var s=n(3),u=a(s);t["default"]=function(){return{visitor:{ObjectExpression:function(e){for(var t=e.node,n=t.properties.filter(function(e){return!u.isSpreadProperty(e)&&!e.computed}),a=i(null),s=i(null),l=i(null),c=n,p=Array.isArray(c),f=0,c=p?c:o(c);;){var d;if(p){if(f>=c.length)break;d=c[f++]}else{if(f=c.next(),f.done)break;d=f.value}var h=d,m=r(h.key),v=!1;switch(h.kind){case"get":(a[m]||s[m])&&(v=!0),s[m]=!0;break;case"set":(a[m]||l[m])&&(v=!0),l[m]=!0;break;default:(a[m]||s[m]||l[m])&&(v=!0),a[m]=!0}v&&(h.computed=!0,h.key=u.stringLiteral(m))}}}}},e.exports=t["default"]},/*!*****************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-instanceof/lib/index.js ***! - \*****************************************************************/ -function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){var t=e.types;return{visitor:{BinaryExpression:function(e){var n=e.node;"instanceof"===n.operator&&e.replaceWith(t.callExpression(this.addHelper("instanceof"),[n.left,n.right]))}}}},e.exports=t["default"]},/*!******************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/converters.js ***! - \******************************************************************************************/ -[538,27],/*!************************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/definitions/core.js ***! - \************************************************************************************************/ -[539,27,115,26],/*!**************************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/definitions/es2015.js ***! - \**************************************************************************************************/ -[540,26],/*!********************************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/definitions/experimental.js ***! - \********************************************************************************************************/ -[541,26],/*!************************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/definitions/flow.js ***! - \************************************************************************************************/ -[542,26],/*!************************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/definitions/init.js ***! - \************************************************************************************************/ -[544,26,321,322,324,326,327,323],/*!***********************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/definitions/jsx.js ***! - \***********************************************************************************************/ -[545,26],/*!************************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/definitions/misc.js ***! - \************************************************************************************************/ -[546,26],/*!************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/flow.js ***! - \************************************************************************************/ -[547,27],/*!*************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/react.js ***! - \*************************************************************************************/ -[549,27],/*!******************************************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-commonjs/~/babel-types/lib/validators.js ***! - \******************************************************************************************/ -[551,177,27,115],/*!***********************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-systemjs/lib/index.js ***! - \***********************************************************************/ -function(e,t,n){"use strict";var r=n(16)["default"],i=n(4)["default"],o=n(10)["default"],a=n(1)["default"];t.__esModule=!0;var s=n(155),u=a(s),l=n(9),c=a(l),p=c["default"]("\n System.register(MODULE_NAME, [SOURCES], function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n BEFORE_BODY;\n return {\n setters: [SETTERS],\n execute: function () {\n BODY;\n }\n };\n });\n"),f=c["default"]('\n for (var KEY in TARGET) {\n if (KEY !== "default") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n');t["default"]=function(e){var t=e.types,a=r(),s={"AssignmentExpression|UpdateExpression":function(e){if(!e.node[a]){e.node[a]=!0;var t=e.get(e.isAssignmentExpression()?"left":"argument");if(t.isIdentifier()){var n=t.node.name;if(this.scope.getBinding(n)===e.scope.getBinding(n)){var r=this.exports[n];if(r){for(var o=e.node,s=r,u=Array.isArray(s),l=0,s=u?s:i(s);;){var c;if(u){if(l>=s.length)break;c=s[l++]}else{if(l=s.next(),l.done)break;c=l.value}var p=c;o=this.buildCall(p,o).expression}e.replaceWith(o)}}}}}};return{inherits:n(116),visitor:{ReferencedIdentifier:function(e,n){"__moduleName"!=e.node.name||e.scope.hasBinding("__moduleName")||e.replaceWith(t.memberExpression(n.contextIdent,t.identifier("id")))},Program:{enter:function(e,t){t.contextIdent=e.scope.generateUidIdentifier("context")},exit:function(e,n){function r(e,t){h[e]=h[e]||[],h[e].push(t)}function a(e,t,n){var r=m[e]=m[e]||{imports:[],exports:[]};r[t]=r[t].concat(n)}function l(e,n){return t.expressionStatement(t.callExpression(c,[t.stringLiteral(e),n]))}for(var c=e.scope.generateUidIdentifier("export"),d=n.contextIdent,h=o(null),m=o(null),v=[],g=[],y=[],E=[],b=e.get("body"),x=!0,D=0;D=M.length)break;L=M[R++]}else{if(R=M.next(),R.done)break;L=R.value}var j=L;k.push(l(j.exported.name,j.local)),r(j.local.name,j.exported.name)}w.replaceWithMultiple(k)}}}for(var S in m){for(var I=m[S],V=[],U=e.scope.generateUidIdentifier(S),W=I.imports,H=Array.isArray(W),G=0,W=H?W:i(W);;){var q;if(H){if(G>=W.length)break;q=W[G++]}else{if(G=W.next(),G.done)break;q=G.value}var j=q;t.isImportNamespaceSpecifier(j)?V.push(t.expressionStatement(t.assignmentExpression("=",j.local,U))):t.isImportDefaultSpecifier(j)&&(j=t.importSpecifier(j.local,t.identifier("default"))),t.isImportSpecifier(j)&&V.push(t.expressionStatement(t.assignmentExpression("=",j.local,t.memberExpression(U,j.imported))))}if(I.exports.length){var z=e.scope.generateUidIdentifier("exportObj");V.push(t.variableDeclaration("var",[t.variableDeclarator(z,t.objectExpression([]))]));for(var Y=I.exports,K=Array.isArray(Y),J=0,Y=K?Y:i(Y);;){var X;if(K){if(J>=Y.length)break;X=Y[J++]}else{if(J=Y.next(),J.done)break;X=J.value}var $=X;t.isExportAllDeclaration($)?V.push(f({KEY:e.scope.generateUidIdentifier("key"),EXPORT_OBJ:z,TARGET:U})):t.isExportSpecifier($)&&V.push(t.expressionStatement(t.assignmentExpression("=",t.memberExpression(z,$.exported),t.memberExpression(U,$.local))))}V.push(t.expressionStatement(t.callExpression(c,[z])))}y.push(t.stringLiteral(S)),g.push(t.functionExpression(null,[U],t.blockStatement(V)))}var Q=this.getModuleName();Q&&(Q=t.stringLiteral(Q)),x&&u["default"](e,function(e){return E.push(e)}),E.length&&v.unshift(t.variableDeclaration("var",E.map(function(e){return t.variableDeclarator(e)}))),e.traverse(s,{exports:h,buildCall:l,scope:e.scope}),e.node.body=[p({BEFORE_BODY:v,MODULE_NAME:Q,SETTERS:g,SOURCES:y,BODY:e.node.body,EXPORT_IDENTIFIER:c,CONTEXT_IDENTIFIER:d})]}}}}},e.exports=t["default"]},/*!******************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-modules-umd/lib/index.js ***! - \******************************************************************/ -function(e,t,n){"use strict";var r=n(1)["default"];t.__esModule=!0;var i=n(22),o=n(9),a=r(o),s=a["default"]('\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMON_ARGUMENTS);\n } else {\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n global.GLOBAL_ARG = mod.exports;\n }\n })(this, FUNC);\n');t["default"]=function(e){function t(e){if(e.isExpressionStatement()){var t=e.get("expression");if(!t.isCallExpression())return!1;if(!t.get("callee").isIdentifier({name:"define"}))return!1;var n=t.get("arguments");return 3!==n.length||n.shift().isStringLiteral()?2!==n.length?!1:n.shift().isArrayExpression()?!!n.shift().isFunctionExpression():!1:!1}}var r=e.types;return{inherits:n(176),visitor:{Program:{exit:function(e,n){var o=e.get("body").pop();if(t(o)){var a=o.node.expression,u=a.arguments,l=3===u.length?u.shift():null,c=a.arguments[0],p=a.arguments[1],f=n.opts.globals||{},d=c.elements.map(function(e){return"module"===e.value||"exports"===e.value?r.identifier(e.value):r.callExpression(r.identifier("require"),[e])}),h=c.elements.map(function(e){if("module"===e.value)return r.identifier("mod");if("exports"===e.value)return r.memberExpression(r.identifier("mod"),r.identifier("exports"));var t=i.basename(e.value,i.extname(e.value)),n=f[t]||t;return r.memberExpression(r.identifier("global"),r.identifier(r.toIdentifier(n)))}),m=r.identifier(r.toIdentifier(l?l.value:this.file.opts.basename));o.replaceWith(s({MODULE_NAME:l,BROWSER_ARGUMENTS:h,AMD_ARGUMENTS:c,COMMON_ARGUMENTS:d,GLOBAL_ARG:m,FUNC:p}))}}}}}},e.exports=t["default"]},/*!*******************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-parameters/lib/default.js ***! - \*******************************************************************/ -function(e,t,n){"use strict";function r(e){for(var t=e.params,n=0;np}var i=e.node,o=e.scope;if(r(i)){e.ensureBlock();var a={iife:!1,scope:o},u=[],c=d.identifier("arguments");c._shadowedFunctionLiteral=e;for(var p=s["default"](i),f=e.get("params"),y=0;yi;i++){var a=t[i];if(a.isArrayPattern()||a.isObjectPattern()){var s=e.scope.generateUidIdentifier("ref"),u=o.variableDeclaration("let",[o.variableDeclarator(a.node,s)]);u._blockHoist=r-i,e.ensureBlock(),e.get("body").unshiftContainer("body",u),a.replaceWith(s)}}}};t.visitor=a},/*!****************************************************************!*\ - !*** ./~/babel-plugin-transform-es2015-parameters/lib/rest.js ***! - \****************************************************************/ -function(e,t,n){"use strict";function r(e){return p.isRestElement(e.params[e.params.length-1])}function i(e,t,n){var r=void 0;r=p.isNumericLiteral(e.parent.property)?p.numericLiteral(e.parent.property.value+n):p.binaryExpression("+",e.parent.property,p.numericLiteral(n)),e.parentPath.replaceWith(d({ARGUMENTS:t,INDEX:r}))}function o(e,t,n,r){r?e.parentPath.replaceWith(p.binaryExpression("-",t,p.numericLiteral(r))):e.replaceWith(n)}var a=n(1)["default"],s=n(2)["default"];t.__esModule=!0;var u=n(9),l=a(u),c=n(3),p=s(c),f=l["default"]("\n for (var LEN = ARGUMENTS.length,\n ARRAY = Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n"),d=l["default"]("\n ARGUMENTS.length <= INDEX ? undefined : ARGUMENTS[INDEX]\n"),h={Scope:function(e,t){e.scope.bindingIdentifierEquals(t.name,t.outerBinding)||e.skip()},Flow:function(e){e.skip()},Function:function(e,t){var n=t.noOptimise;t.noOptimise=!0,e.traverse(h,t),t.noOptimise=n,e.skip()},ReferencedIdentifier:function(e,t){var n=e.node;if("arguments"===n.name&&(t.deopted=!0),n.name===t.name)if(t.noOptimise)t.deopted=!0;else{var r=e.parentPath;if(r.isMemberExpression({object:n})){var i=r.parentPath,o=!t.deopted&&!(i.isAssignmentExpression()&&r.node===i.node.left||i.isLVal()||i.isForXStatement()||i.isUpdateExpression()||i.isUnaryExpression({operator:"delete"})||(i.isCallExpression()||i.isNewExpression())&&r.node===i.node.callee);if(o)if(r.node.computed){if(r.get("property").isBaseType("number"))return void t.candidates.push({cause:"indexGetter",path:e})}else if("length"===r.node.property.name)return void t.candidates.push({cause:"lengthGetter",path:e})}if(0===t.offset&&r.isSpreadElement()){var a=r.parentPath;if(a.isCallExpression()&&1===a.node.arguments.length)return void t.candidates.push({cause:"argSpread",path:e})}t.references.push(e)}},BindingIdentifier:function(e,t){var n=e.node;n.name===t.name&&(t.deopted=!0)}},m={Function:function(e){var t=e.node,n=e.scope;if(r(t)){var a=t.params.pop().argument,s=p.identifier("arguments"),u=p.memberExpression(s,p.identifier("length"));s._shadowedFunctionLiteral=e;var l={references:[],offset:t.params.length,argumentsNode:s,outerBinding:n.getBindingIdentifier(a.name),candidates:[],name:a.name,deopted:!1};if(e.traverse(h,l),l.deopted||l.references.length){l.references=l.references.concat(l.candidates.map(function(e){var t=e.path;return t})),l.deopted=l.deopted||!!t.shadow;var c=p.numericLiteral(t.params.length),d=n.generateUidIdentifier("key"),m=n.generateUidIdentifier("len"),v=d,g=m;t.params.length&&(v=p.binaryExpression("-",d,c),g=p.conditionalExpression(p.binaryExpression(">",m,c),p.binaryExpression("-",m,c),p.numericLiteral(0)));var y=f({ARGUMENTS:s,ARRAY_KEY:v,ARRAY_LEN:g,START:c,ARRAY:a,KEY:d,LEN:m});if(l.deopted)y._blockHoist=t.params.length+1,t.body.body.unshift(y);else{y._blockHoist=1;var E=e.getEarliestCommonAncestorFrom(l.references).getStatementParent();E.findParent(function(e){return e.isLoop()?void(E=e):e.isFunction()}),E.insertBefore(y)}}else for(var b=l.candidates,x=0;x=0;--n){var r=this.entryStack[n],i=r[e];if(i)if(t){if(r.label&&r.label.name===t.name)return i}else if(!(r instanceof c))return i}return null},E.getBreakLoc=function(e){return this._findLeapLocation("breakLoc",e)},E.getContinueLoc=function(e){return this._findLeapLocation("continueLoc",e)}},/*!**********************************************************!*\ - !*** ./~/babel-plugin-transform-regenerator/lib/meta.js ***! - \**********************************************************/ -function(e,t,n){"use strict";function r(e,t){function n(e){function t(e){return n||(Array.isArray(e)?e.some(t):l.isNode(e)&&(s["default"].strictEqual(n,!1),n=r(e))),n}l.assertNode(e);var n=!1,i=l.VISITOR_KEYS[e.type];if(i)for(var o=0;o0&&(s.node.body=l);var c=r(e);p.assertIdentifier(n.id);var h=p.identifier(n.id.name+"$"),v=f.hoist(e),g=o(e,a);g&&(v=v||p.variableDeclaration("var",[]),v.declarations.push(p.variableDeclarator(a,p.identifier("arguments"))));var b=new d.Emitter(i);b.explode(e.get("body")),v&&v.declarations.length>0&&u.push(v);var x=[b.getContextFunction(h),n.generator?c:p.nullLiteral(),p.thisExpression()],D=b.getTryLocsList();D&&x.push(D);var C=p.callExpression(m.runtimeProperty(n.async?"async":"wrap"),x);u.push(p.returnStatement(C)),n.body=p.blockStatement(u);var A=n.generator;A&&(n.generator=!1),n.async&&(n.async=!1),A&&p.isExpression(n)&&e.replaceWith(p.callExpression(m.runtimeProperty("mark"),[n])),e.requeue()}}};var g={"FunctionExpression|FunctionDeclaration":function(e){e.skip()},Identifier:function(e,t){"arguments"===e.node.name&&m.isReference(e)&&(e.replaceWith(t.argsId),t.didRenameArguments=!0)}},y={MetaProperty:function(e){var t=e.node;"function"===t.meta.name&&"sent"===t.property.name&&e.replaceWith(p.memberExpression(this.context,p.identifier("_sent")))}},E={Function:function(e){e.skip()},AwaitExpression:function(e){var t=e.node.argument;e.replaceWith(p.yieldExpression(p.callExpression(m.runtimeProperty("awrap"),[t]),!1))}}},/*!**************************************************************!*\ - !*** ./~/babel-plugin-transform-remove-console/lib/index.js ***! - \**************************************************************/ -function(e,t){"use strict";t.__esModule=!0,t["default"]=function(){return{visitor:{CallExpression:function(e){e.get("callee").matchesPattern("console",!0)&&e.remove()}}}},e.exports=t["default"]},/*!***************************************************************!*\ - !*** ./~/babel-plugin-transform-remove-debugger/lib/index.js ***! - \***************************************************************/ -function(e,t){"use strict";t.__esModule=!0,t["default"]=function(){return{visitor:{DebuggerStatement:function(e){e.remove()}}}},e.exports=t["default"]},/*!*************************************************************!*\ - !*** ./~/babel-plugin-transform-runtime/lib/definitions.js ***! - \*************************************************************/ -function(e,t){"use strict";e.exports={builtins:{Symbol:"symbol",Promise:"promise",Map:"map",WeakMap:"weak-map",Set:"set",WeakSet:"weak-set",setImmediate:"set-immediate",clearImmediate:"clear-immediate"},methods:{Array:{concat:"array/concat",copyWithin:"array/copy-within",entries:"array/entries",every:"array/every",fill:"array/fill",filter:"array/filter",findIndex:"array/find-index",find:"array/find",forEach:"array/for-each",from:"array/from",includes:"array/includes",indexOf:"array/index-of",join:"array/join",keys:"array/keys",lastIndexOf:"array/last-index-of",map:"array/map",of:"array/of",pop:"array/pop",push:"array/push",reduceRight:"array/reduce-right",reduce:"array/reduce",reverse:"array/reverse",shift:"array/shift",slice:"array/slice",some:"array/some",sort:"array/sort",splice:"array/splice",unshift:"array/unshift",values:"array/values"},JSON:{stringify:"json/stringify"},Object:{assign:"object/assign",create:"object/create",defineProperties:"object/define-properties",defineProperty:"object/define-property",entries:"object/entries",freeze:"object/freeze",getOwnPropertyDescriptor:"object/get-own-property-descriptor",getOwnPropertyDescriptors:"object/get-own-property-descriptors",getOwnPropertyNames:"object/get-own-property-names",getOwnPropertySymbols:"object/get-own-property-symbols",getPrototypeOf:"object/get-prototype-of",isExtensible:"object/is-extensible",isFrozen:"object/is-frozen",isSealed:"object/is-sealed",is:"object/is",keys:"object/keys",preventExtensions:"object/prevent-extensions",seal:"object/seal",setPrototypeOf:"object/set-prototype-of",values:"object/values"},RegExp:{escape:"regexp/escape"},Math:{acosh:"math/acosh",asinh:"math/asinh",atanh:"math/atanh",cbrt:"math/cbrt",clz32:"math/clz32",cosh:"math/cosh",expm1:"math/expm1",fround:"math/fround",hypot:"math/hypot",imul:"math/imul",log10:"math/log10",log1p:"math/log1p",log2:"math/log2",sign:"math/sign",sinh:"math/sinh",tanh:"math/tanh",trunc:"math/trunc",iaddh:"math/iaddh",isubh:"math/isubh",imulh:"math/imulh",umulh:"math/umulh"},Symbol:{"for":"symbol/for",hasInstance:"symbol/has-instance",isConcatSpreadable:"symbol/is-concat-spreadable",iterator:"symbol/iterator",keyFor:"symbol/key-for",match:"symbol/match",replace:"symbol/replace",search:"symbol/search",species:"symbol/species",split:"symbol/split",toPrimitive:"symbol/to-primitive",toStringTag:"symbol/to-string-tag",unscopables:"symbol/unscopables"},String:{at:"string/at",codePointAt:"string/code-point-at",endsWith:"string/ends-with",fromCodePoint:"string/from-code-point",includes:"string/includes",padLeft:"string/pad-left",padRight:"string/pad-right",padStart:"string/pad-start",padEnd:"string/pad-end",raw:"string/raw",repeat:"string/repeat",startsWith:"string/starts-with",trim:"string/trim",trimLeft:"string/trim-left",trimRight:"string/trim-right",trimStart:"string/trim-start",trimEnd:"string/trim-end"},Number:{EPSILON:"number/epsilon",isFinite:"number/is-finite",isInteger:"number/is-integer",isNaN:"number/is-nan",isSafeInteger:"number/is-safe-integer",MAX_SAFE_INTEGER:"number/max-safe-integer",MIN_SAFE_INTEGER:"number/min-safe-integer",parseFloat:"number/parse-float",parseInt:"number/parse-int"},Reflect:{apply:"reflect/apply",construct:"reflect/construct",defineProperty:"reflect/define-property",deleteProperty:"reflect/delete-property",enumerate:"reflect/enumerate",getOwnPropertyDescriptor:"reflect/get-own-property-descriptor",getPrototypeOf:"reflect/get-prototype-of",get:"reflect/get",has:"reflect/has",isExtensible:"reflect/is-extensible",ownKeys:"reflect/own-keys",preventExtensions:"reflect/prevent-extensions",setPrototypeOf:"reflect/set-prototype-of",set:"reflect/set",defineMetadata:"reflect/define-metadata",deleteMetadata:"reflect/delete-metadata",getMetadata:"reflect/get-metadata",getMetadataKeys:"reflect/get-metadata-keys",getOwnMetadata:"reflect/get-own-metadata",getOwnMetadataKeys:"reflect/get-own-metadata-keys",hasMetadata:"reflect/has-metadata",hasOwnMetadata:"reflect/has-own-metadata",metadata:"reflect/metadata"},System:{global:"system/global"},Error:{isError:"error/is-error"},Date:{},Function:{}}}},/*!*******************************************************!*\ - !*** ./~/babel-plugin-transform-runtime/lib/index.js ***! - \*******************************************************/ -function(e,t,n){"use strict";var r=n(1)["default"];t.__esModule=!0;var i=n(360),o=r(i);t["default"]=function(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var n=e.types,r="babel-runtime",i=["interopRequireWildcard","interopRequireDefault"];return{pre:function(e){e.set("helperGenerator",function(t){return i.indexOf(t)<0?e.addImport(r+"/helpers/"+t,"default",t):void 0}),this.setDynamic("regeneratorIdentifier",function(){return e.addImport(r+"/regenerator","default","regeneratorRuntime")})},visitor:{ReferencedIdentifier:function(e,i){var a=e.node,s=e.parent,u=e.scope;return"regeneratorRuntime"===a.name&&i.opts.regenerator!==!1?void e.replaceWith(i.get("regeneratorIdentifier")):void(i.opts.polyfill!==!1&&(n.isMemberExpression(s)||t(o["default"].builtins,a.name)&&(u.getBindingIdentifier(a.name)||e.replaceWith(i.addImport(r+"/core-js/"+o["default"].builtins[a.name],"default",a.name)))))},CallExpression:function(e,t){if(t.opts.polyfill!==!1&&!e.node.arguments.length){var i=e.node.callee;n.isMemberExpression(i)&&i.computed&&e.get("callee.property").matchesPattern("Symbol.iterator")&&e.replaceWith(n.callExpression(t.addImport(r+"/core-js/get-iterator","default","getIterator"),[i.object]))}},BinaryExpression:function(e,t){t.opts.polyfill!==!1&&"in"===e.node.operator&&e.get("left").matchesPattern("Symbol.iterator")&&e.replaceWith(n.callExpression(t.addImport(r+"/core-js/is-iterable","default","isIterable"),[e.node.right]))},MemberExpression:{enter:function(e,i){if(i.opts.polyfill!==!1&&e.isReferenced()){var a=e.node,s=a.object,u=a.property;if(n.isReferenced(s,a)&&!a.computed&&t(o["default"].methods,s.name)){var l=o["default"].methods[s.name];if(t(l,u.name)&&!e.scope.getBindingIdentifier(s.name)){if("Object"===s.name&&"defineProperty"===u.name&&e.parentPath.isCallExpression()){var c=e.parentPath.node;if(3===c.arguments.length&&n.isLiteral(c.arguments[1]))return}e.replaceWith(i.addImport(r+"/core-js/"+l[u.name],"default",s.name+"$"+u.name))}}}},exit:function(e,i){if(i.opts.polyfill!==!1&&e.isReferenced()){var a=e.node,s=a.object;t(o["default"].builtins,s.name)&&(e.scope.getBindingIdentifier(s.name)||e.replaceWith(n.memberExpression(i.addImport(r+"/core-js/"+o["default"].builtins[s.name],"default",s.name),a.property,a.computed)))}}}}}},t.definitions=o["default"]},/*!*****************************************************************************!*\ - !*** ./~/babel-plugin-transform-simplify-comparison-operators/lib/index.js ***! - \*****************************************************************************/ -function(e,t){"use strict";t.__esModule=!0,t["default"]=function(){return{visitor:{BinaryExpression:function(e){var t=e.node,n=t.operator;if("==="===n||"!=="===n){var r=e.get("left"),i=e.get("right");r.baseTypeStrictlyMatches(i)&&(t.operator=t.operator.slice(0,-1))}}}}},e.exports=t["default"]},/*!*****************************************************************!*\ - !*** ./~/babel-plugin-transform-undefined-to-void/lib/index.js ***! - \*****************************************************************/ -function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){var t=e.types;return{visitor:{ReferencedIdentifier:function(e){"undefined"===e.node.name&&e.replaceWith(t.unaryExpression("void",t.numericLiteral(0),!0))}}}},e.exports=t["default"]},/*!****************************************************************!*\ - !*** ./~/babel-plugin-undeclared-variables-check/lib/index.js ***! - \****************************************************************/ -function(e,t,n){"use strict";var r=n(1)["default"];t.__esModule=!0;var i=n(467),o=r(i);t["default"]=function(e){var t=e.messages;return{visitor:{ReferencedIdentifier:function(e){var n=e.node,r=e.scope,i=r.getBinding(n.name);if(i&&"type"===i.kind&&!e.parentPath.isFlow())throw e.buildCodeFrameError(t.get("undeclaredVariableType",n.name),ReferenceError);if(!r.hasBinding(n.name)){var a=r.getAllBindings(),s=void 0,u=-1;for(var l in a){var c=o["default"](n.name,l);0>=c||c>3||u>=c||(s=l,u=c)}var p=void 0;throw p=s?t.get("undeclaredVariableSuggestion",n.name,s):t.get("undeclaredVariable",n.name),e.buildCodeFrameError(p,ReferenceError)}}}}},e.exports=t["default"]},/*!****************************************!*\ - !*** ./~/babel-preset-es2015/index.js ***! - \****************************************/ -function(e,t,n){e.exports={plugins:[n(89),n(83),n(82),n(75),n(76),n(78),n(84),n(86),n(318),n(79),n(81),n(88),n(91),n(73),n(87),n(85),n(80),n(77),n(90),n(114),[n(92),{async:!1,asyncGenerators:!1}]]}},/*!***************************************!*\ - !*** ./~/babel-preset-react/index.js ***! - \***************************************/ -function(e,t,n){e.exports={plugins:[n(184),n(180),n(111),n(112),n(183)]}},/*!*****************************************!*\ - !*** ./~/babel-preset-stage-0/index.js ***! - \*****************************************/ -function(e,t,n){e.exports={presets:[n(187)],plugins:[n(173),n(181)]}},/*!****************************************!*\ - !*** ./~/babel-runtime/core-js/map.js ***! - \****************************************/ -function(e,t,n){e.exports={"default":n(411),__esModule:!0}},/*!***********************************************************************!*\ - !*** ./~/babel-runtime/core-js/object/get-own-property-descriptor.js ***! - \***********************************************************************/ -function(e,t,n){e.exports={"default":n(416),__esModule:!0}},/*!******************************************************************!*\ - !*** ./~/babel-runtime/core-js/object/get-own-property-names.js ***! - \******************************************************************/ -function(e,t,n){e.exports={"default":n(417),__esModule:!0}},/*!********************************************************************!*\ - !*** ./~/babel-runtime/core-js/object/get-own-property-symbols.js ***! - \********************************************************************/ -function(e,t,n){e.exports={"default":n(418),__esModule:!0}},/*!************************************************************!*\ - !*** ./~/babel-runtime/core-js/object/set-prototype-of.js ***! - \************************************************************/ -function(e,t,n){e.exports={"default":n(420),__esModule:!0}},/*!*********************************************!*\ - !*** ./~/babel-runtime/core-js/weak-map.js ***! - \*********************************************/ -function(e,t,n){e.exports={"default":n(423),__esModule:!0}},/*!*************************************************!*\ - !*** ./~/babel-runtime/helpers/create-class.js ***! - \*************************************************/ -function(e,t,n){"use strict";var r=n(190)["default"];t["default"]=function(){function e(e,t){for(var n=0;n=r.length)break;s=r[a++]}else{if(a=r.next(),a.done)break;s=a.value}var u=s;if(e[u])return!0}return!1},e.prototype.create=function(e,t,n,r){return u["default"].get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:r})},e.prototype.maybeQueue=function(e,t){if(this.trap)throw new Error("Infinite cycle detected");this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))},e.prototype.visitMultiple=function(e,t,n){if(0===e.length)return!1;for(var r=[],i=0;i=1e3&&(this.trap=!0),!(t.indexOf(i.node)>=0))){if(t.push(i.node),i.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}for(var o=0;oc&&(r=u)}else r=u}return r})}function u(e,t){var n=this;if(!e.length)return this;if(1===e.length)return e[0];var r=1/0,i=void 0,o=void 0,a=e.map(function(e){var t=[];do t.unshift(e);while((e=e.parentPath)&&e!==n);return t.lengthu;u++){for(var l=s[u],c=a,p=0;p-1}function a(){return this.node?this.isBlacklisted()?!1:this.opts.shouldSkip&&this.opts.shouldSkip(this)?!1:this.call("enter")||this.shouldSkip?(this.debug(function(){return"Skip..."}),this.shouldStop):(this.debug(function(){return"Recursing into..."}),S["default"].node(this.node,this.opts,this.scope,this.state,this,this.skipKeys),this.call("exit"),this.shouldStop):!1}function s(){this.shouldSkip=!0}function u(e){this.skipKeys[e]=!0}function l(){this.shouldStop=!0,this.shouldSkip=!0}function c(){if(!this.opts||!this.opts.noScope){var e=this.context&&this.context.scope;if(!e)for(var t=this.parentPath;t&&!e;){if(t.opts&&t.opts.noScope)return;e=t.scope,t=t.parentPath}this.scope=this.getScope(e),this.scope&&this.scope.init()}}function p(e){return this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.skipKeys={},e&&(this.context=e,this.state=e.state,this.opts=e.opts),this.setScope(),this}function f(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())}function d(){this.parentPath&&(this.parent=this.parentPath.node)}function h(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(var e=0;e=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;a.maybeQueue(e)}}function D(){for(var e=this,t=this.contexts;!t.length;)e=e.parentPath,t=e.contexts;return t}var C=n(4)["default"],A=n(1)["default"];t.__esModule=!0,t.call=r,t._call=i,t.isBlacklisted=o,t.visit=a,t.skip=s,t.skipKey=u,t.stop=l,t.setScope=c,t.setContext=p,t.resync=f,t._resyncParent=d,t._resyncKey=h,t._resyncList=m,t._resyncRemoved=v,t.popContext=g,t.pushContext=y,t.setup=E,t.setKey=b,t.requeue=x,t._getQueueContexts=D;var w=n(6),S=A(w)},/*!*************************************************!*\ - !*** ./~/babel-traverse/lib/path/conversion.js ***! - \*************************************************/ -function(e,t,n){"use strict";function r(){var e=this.node,t=void 0;if(this.isMemberExpression())t=e.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");t=e.key}return e.computed||u.isIdentifier(t)&&(t=u.stringLiteral(t.name)),t}function i(){return u.ensureBlock(this.node)}function o(){if(this.isArrowFunctionExpression()){this.ensureBlock();var e=this.node;e.expression=!1,e.type="FunctionExpression",e.shadow=e.shadow||!0}}var a=n(2)["default"];t.__esModule=!0,t.toComputedKey=r,t.ensureBlock=i,t.arrowFunctionToShadowed=o;var s=n(3),u=a(s)},/*!*************************************************!*\ - !*** ./~/babel-traverse/lib/path/evaluation.js ***! - \*************************************************/ -function(e,t){(function(e){"use strict";function n(){var e=this.evaluate();return e.confident?!!e.value:void 0}function r(){function t(e){r&&(a=e,r=!1)}function n(a){if(r){var s=a.node;if(a.isSequenceExpression()){var u=a.get("expressions");return n(u[u.length-1])}if(a.isStringLiteral()||a.isNumericLiteral()||a.isBooleanLiteral())return s.value;if(a.isNullLiteral())return null;if(a.isTemplateLiteral()){for(var l="",c=0,u=a.get("expressions"),p=s.quasis,f=0;fF;case">":return F>k;case"<=":return k>=F;case">=":return F>=k;case"==":return F==k;case"!=":return F!=k;case"===":return F===k;case"!==":return F!==k;case"|":return F|k;case"&":return F&k;case"^":return F^k;case"<<":return F<>":return F>>k;case">>>":return F>>>k}}if(a.isCallExpression()){var P=a.get("callee"),O=void 0,I=void 0;if(P.isIdentifier()&&!a.scope.getBinding(P.node.name,!0)&&i.indexOf(P.node.name)>=0&&(I=e[s.callee.name]),P.isMemberExpression()){var g=P.get("object"),v=P.get("property");if(g.isIdentifier()&&v.isIdentifier()&&i.indexOf(g.node.name)>=0&&o.indexOf(v.node.name)<0&&(O=e[g.node.name],I=O[v.node.name]),g.isLiteral()&&v.isIdentifier()){var E=typeof g.node.value;"string"!==E&&"number"!==E||(O=g.node.value,I=O[v.node.name])}}if(I){var M=a.get("arguments").map(n);if(!r)return;return I.apply(O,M)}}t(a)}}var r=!0,a=void 0,s=n(this);return r||(s=void 0),{confident:r,deopt:a,value:s}}t.__esModule=!0,t.evaluateTruthy=n,t.evaluate=r;var i=["String","Number","Math"],o=["random"]}).call(t,function(){return this}())},/*!*********************************************!*\ - !*** ./~/babel-traverse/lib/path/family.js ***! - \*********************************************/ -function(e,t,n){"use strict";function r(){var e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e}function i(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):void 0}function o(){var e=[],t=function(t){t&&(e=e.concat(t.getCompletionRecords()))};if(this.isIfStatement())t(this.get("consequent")),t(this.get("alternate"));else if(this.isDoExpression()||this.isFor()||this.isWhile())t(this.get("body"));else if(this.isProgram()||this.isBlockStatement())t(this.get("body").pop());else{if(this.isFunction())return this.get("body").getCompletionRecords();this.isTryStatement()?(t(this.get("block")),t(this.get("handler")),t(this.get("finalizer"))):e.push(this)}return e}function a(e){return m["default"].get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e})}function s(e,t){t===!0&&(t=this.context);var n=e.split(".");return 1===n.length?this._getKey(e,t):this._getPattern(n,t)}function u(e,t){var n=this,r=this.node,i=r[e];return Array.isArray(i)?i.map(function(o,a){return m["default"].get({listKey:e,parentPath:n,parent:r,container:i,key:a}).setContext(t)}):m["default"].get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}function l(e,t){for(var n=this,r=e,i=0;i=0?c.numberTypeAnnotation():void 0;if("==="===n){var a=void 0,s=void 0;if(i.isUnaryExpression({operator:"typeof"})?(a=i,s=r):r.isUnaryExpression({operator:"typeof"})&&(a=r,s=i),(s||a)&&(s=s.resolve(),s.isLiteral())){var u=s.node.value;if("string"==typeof u&&a.get("argument").isIdentifier({name:e}))return c.createTypeAnnotationBasedOnTypeof(s.node.value)}}}function a(e){for(var t=void 0;t=e.parentPath;){if(t.isIfStatement()||t.isConditionalExpression())return"test"===e.key?void 0:t;e=t}}function s(e,t){var n=a(e);if(n){var r=n.get("test"),i=[r],u=[];do{var l=i.shift().resolve();if(l.isLogicalExpression()&&(i.push(l.get("left")),i.push(l.get("right"))),l.isBinaryExpression()){var p=o(t,l);p&&u.push(p)}}while(i.length);return u.length?{typeAnnotation:c.createUnionTypeAnnotation(u),ifStatement:n}:s(n,t)}}var u=n(2)["default"];t.__esModule=!0;var l=n(3),c=u(l);t["default"]=function(e){if(this.isReferenced()){var t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:r(this,e.name):"undefined"===e.name?c.voidTypeAnnotation():"NaN"===e.name||"Infinity"===e.name?c.numberTypeAnnotation():void("arguments"===e.name)}},e.exports=t["default"]},/*!*********************************************************!*\ - !*** ./~/babel-traverse/lib/path/inference/inferers.js ***! - \*********************************************************/ -function(e,t,n){"use strict";function r(){var e=this.get("id");return e.isIdentifier()?this.get("init").getTypeAnnotation():void 0}function i(e){return e.typeAnnotation}function o(e){return this.get("callee").isIdentifier()?N.genericTypeAnnotation(e.callee):void 0}function a(){return N.stringTypeAnnotation()}function s(e){var t=e.operator;return"void"===t?N.voidTypeAnnotation():N.NUMBER_UNARY_OPERATORS.indexOf(t)>=0?N.numberTypeAnnotation():N.STRING_UNARY_OPERATORS.indexOf(t)>=0?N.stringTypeAnnotation():N.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0?N.booleanTypeAnnotation():void 0}function u(e){var t=e.operator;if(N.NUMBER_BINARY_OPERATORS.indexOf(t)>=0)return N.numberTypeAnnotation();if(N.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0)return N.booleanTypeAnnotation();if("+"===t){var n=this.get("right"),r=this.get("left");return r.isBaseType("number")&&n.isBaseType("number")?N.numberTypeAnnotation():r.isBaseType("string")||n.isBaseType("string")?N.stringTypeAnnotation():N.unionTypeAnnotation([N.stringTypeAnnotation(),N.numberTypeAnnotation()])}}function l(){return N.createUnionTypeAnnotation([this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()])}function c(){return N.createUnionTypeAnnotation([this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()])}function p(){return this.get("expressions").pop().getTypeAnnotation()}function f(){return this.get("right").getTypeAnnotation()}function d(e){var t=e.operator;return"++"===t||"--"===t?N.numberTypeAnnotation():void 0}function h(){return N.stringTypeAnnotation()}function m(){return N.numberTypeAnnotation()}function v(){return N.booleanTypeAnnotation()}function g(){return N.nullLiteralTypeAnnotation()}function y(){return N.genericTypeAnnotation(N.identifier("RegExp"))}function E(){return N.genericTypeAnnotation(N.identifier("Object"))}function b(){return N.genericTypeAnnotation(N.identifier("Array"))}function x(){return b()}function D(){return N.genericTypeAnnotation(N.identifier("Function"))}function C(){return w(this.get("callee"))}function A(){return w(this.get("tag"))}function w(e){if(e=e.resolve(),e.isFunction()){if(e.is("async"))return e.is("generator")?N.genericTypeAnnotation(N.identifier("AsyncIterator")):N.genericTypeAnnotation(N.identifier("Promise"));if(e.node.returnType)return e.node.returnType}}var S=n(2)["default"],_=n(118)["default"];t.__esModule=!0,t.VariableDeclarator=r,t.TypeCastExpression=i,t.NewExpression=o,t.TemplateLiteral=a,t.UnaryExpression=s,t.BinaryExpression=u,t.LogicalExpression=l,t.ConditionalExpression=c,t.SequenceExpression=p,t.AssignmentExpression=f,t.UpdateExpression=d,t.StringLiteral=h,t.NumericLiteral=m,t.BooleanLiteral=v,t.NullLiteral=g,t.RegExpLiteral=y,t.ObjectExpression=E,t.ArrayExpression=b,t.RestElement=x,t.CallExpression=C,t.TaggedTemplateExpression=A;var F=n(3),N=S(F),k=n(383);t.Identifier=_(k),i.validParent=!0,x.validParent=!0,t.Function=D,t.Class=D},/*!****************************************************!*\ - !*** ./~/babel-traverse/lib/path/introspection.js ***! - \****************************************************/ -function(e,t,n){"use strict";function r(e,t){function n(e){var t=r[o];return"*"===t||e===t}if(!this.isMemberExpression())return!1;for(var r=e.split("."),i=[this.node],o=0;i.length;){var a=i.shift();if(t&&o===r.length)return!0;if(w.isIdentifier(a)){if(!n(a.name))return!1}else if(w.isLiteral(a)){if(!n(a.value))return!1}else{if(w.isMemberExpression(a)){if(a.computed&&!w.isLiteral(a.property))return!1;i.unshift(a.property),i.unshift(a.object);continue}if(!w.isThisExpression(a))return!1;if(!n("this"))return!1}if(++o>r.length)return!1}return o===r.length}function i(e){var t=this.node&&this.node[e];return t&&Array.isArray(t)?!!t.length:!!t}function o(){return this.scope.isStatic(this.node)}function a(e){return!this.has(e)}function s(e,t){return this.node[e]===t}function u(e){return w.isType(this.type,e)}function l(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()}function c(e){return"body"===this.key&&this.parentPath.isArrowFunctionExpression()?this.isExpression()?w.isBlockStatement(e):this.isBlockStatement()?w.isExpression(e):!1:!1}function p(e){var t=this,n=!0;do{var r=t.container;if(t.isFunction()&&!n)return!!e;if(n=!1,Array.isArray(r)&&t.key!==r.length-1)return!1}while((t=t.parentPath)&&!t.isProgram());return!0}function f(){return this.parentPath.isLabeledStatement()||w.isBlockStatement(this.container)?!1:C["default"](w.STATEMENT_OR_BLOCK_KEYS,this.key)}function d(e,t){if(!this.isReferencedIdentifier())return!1;var n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;var r=n.path,i=r.parentPath;return i.isImportDeclaration()?i.node.source.value!==e?!1:t?r.isImportDefaultSpecifier()&&"default"===t?!0:r.isImportNamespaceSpecifier()&&"*"===t?!0:!(!r.isImportSpecifier()||r.node.imported.name!==t):!0:!1}function h(){var e=this.node;return e.end?this.hub.file.code.slice(e.start,e.end):""}function m(e){return"after"!==this._guessExecutionStatusRelativeTo(e)}function v(e){var t=e.scope.getFunctionParent(),n=this.scope.getFunctionParent();if(t.node!==n.node){var r=this._guessExecutionStatusRelativeToDifferentFunctions(t);if(r)return r;e=t.path}var i=e.getAncestry();if(i.indexOf(this)>=0)return"after";var o=this.getAncestry(),a=void 0,s=void 0,u=void 0;for(u=0;u=0){a=l;break}}if(!a)return"before";var c=i[s-1],p=o[u-1];if(!c||!p)return"before";if(c.listKey&&c.container===p.container)return c.key>p.key?"before":"after";var f=w.VISITOR_KEYS[c.type].indexOf(c.key),d=w.VISITOR_KEYS[p.type].indexOf(p.key);return f>d?"before":"after"}function g(e){var t=e.path;if(t.isFunctionDeclaration()){var n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";for(var r=n.referencePaths,i=0;i=0))if(t=t||[],t.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){var r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if("module"===r.kind)return;if(r.path!==this){var i=function(){var i=r.path.resolve(e,t);return n.find(function(e){return e.node===i.node})?{v:void 0}:{v:i}}();if("object"==typeof i)return i.v}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){var o=this.toComputedKey();if(!w.isLiteral(o))return;var a=o.value,s=this.get("object").resolve(e,t);if(s.isObjectExpression())for(var u=s.get("properties"),l=u,c=0;c=0)break}while(e=e.parent)},e.prototype.getAttachmentPath=function(){var e=this.scopes,t=e.pop();if(t){if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;return t.path.get("body").get("body")[0]}return this.getNextScopeStatementParent()}return t.path.isProgram()?this.getNextScopeStatementParent():void 0}},e.prototype.getNextScopeStatementParent=function(){var e=this.scopes.pop();return e?e.path.getStatementParent():void 0},e.prototype.hasOwnParamBindings=function(e){for(var t in this.bindings)if(e.hasOwnBinding(t)){var n=this.bindings[t];if("param"===n.kind)return!0}return!1},e.prototype.run=function(){var e=this.path.node;if(!e._hoisted){e._hoisted=!0,this.path.traverse(s,this),this.getCompatibleScopes();var t=this.getAttachmentPath();if(t&&t.getFunctionParent()!==this.path.getFunctionParent()){var n=t.scope.generateUidIdentifier("ref");t.insertBefore([a.variableDeclaration("var",[a.variableDeclarator(n,this.path.node)])]);var r=this.path.parentPath;r.isJSXElement()&&this.path.container===r.node.children&&(n=a.JSXExpressionContainer(n)),this.path.replaceWith(n)}}},e}();t["default"]=u,e.exports=t["default"]},/*!********************************************************!*\ - !*** ./~/babel-traverse/lib/path/lib/removal-hooks.js ***! - \********************************************************/ -function(e,t){"use strict";t.__esModule=!0;var n=[function(e,t){return"body"===e.key&&t.isArrowFunctionExpression()?(e.replaceWith(e.scope.buildUndefinedNode()),!0):void 0},function(e,t){var n=!1;return n=n||"test"===e.key&&(t.isWhile()||t.isSwitchCase()),n=n||"declaration"===e.key&&t.isExportDeclaration(),n=n||"body"===e.key&&t.isLabeledStatement(),n=n||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length,n=n||"expression"===e.key&&t.isExpressionStatement(),n?(t.remove(),!0):void 0},function(e,t){return t.isSequenceExpression()&&1===t.node.expressions.length?(t.replaceWith(t.node.expressions[0]),!0):void 0},function(e,t){return t.isBinary()?("left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0):void 0}];t.hooks=n},/*!***************************************************!*\ - !*** ./~/babel-traverse/lib/path/modification.js ***! - \***************************************************/ -function(e,t,n){"use strict";function r(e){if(this._assertUnremoved(),e=this._verifyNodeList(e),this.parentPath.isExpressionStatement()||this.parentPath.isLabeledStatement())return this.parentPath.insertBefore(e);if(this.isNodeType("Expression")||this.parentPath.isForStatement()&&"init"===this.key)this.node&&e.push(this.node),this.replaceExpressionWithStatements(e);else{if(this._maybePopFromStatements(e),Array.isArray(this.container))return this._containerInsertBefore(e);if(!this.isStatementOrBlock())throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");this.node&&e.push(this.node),this._replaceWith(C.blockStatement(e))}return[this]}function i(e,t){this.updateSiblingKeys(e,t.length);for(var n=[],r=0;r=u.length)break;p=u[c++]}else{if(c=u.next(),c.done)break;p=c.value}var a=p;a.setScope(),a.debug(function(){return"Inserted."});for(var f=s,d=Array.isArray(f),m=0,f=d?f:h(f);;){var v;if(d){if(m>=f.length)break;v=f[m++]}else{if(m=f.next(),m.done)break;v=m.value}var g=v;g.maybeQueue(a,!0)}}return n}function o(e){return this._containerInsert(this.key,e)}function a(e){return this._containerInsert(this.key+1,e)}function s(e){var t=e[e.length-1],n=C.isIdentifier(t)||C.isExpressionStatement(t)&&C.isIdentifier(t.expression);n&&!this.isCompletionRecord()&&e.pop()}function u(e){if(this._assertUnremoved(),e=this._verifyNodeList(e),this.parentPath.isExpressionStatement()||this.parentPath.isLabeledStatement())return this.parentPath.insertAfter(e);if(this.isNodeType("Expression")||this.parentPath.isForStatement()&&"init"===this.key){if(this.node){var t=this.scope.generateDeclaredUidIdentifier();e.unshift(C.expressionStatement(C.assignmentExpression("=",t,this.node))),e.push(C.expressionStatement(t))}this.replaceExpressionWithStatements(e)}else{if(this._maybePopFromStatements(e),Array.isArray(this.container))return this._containerInsertAfter(e);if(!this.isStatementOrBlock())throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");this.node&&e.unshift(this.node),this._replaceWith(C.blockStatement(e))}return[this]}function l(e,t){if(this.parent)for(var n=g.path.get(this.parent),r=0;r=e&&(i.key+=t)}}function c(e){if(!e)return[];e.constructor!==Array&&(e=[e]);for(var t=0;t=2&&this.parentPath.isExpressionStatement()&&this._maybePopFromStatements(n),1===n.length?this.replaceWith(n[0]):this.replaceWith(t)}else{if(!t){var r=E.functionExpression(null,[],E.blockStatement(e));r.shadow=!0,this.replaceWith(E.callExpression(r,[])),this.traverse(b);for(var i=this.get("callee").getCompletionRecords(),o=0;o=w.length)break;F=w[_++]}else{if(_=w.next(),_.done)break;F=_.value}var N=F,k=e[N];k?f(k,r):e[N]=A["default"](r)}}}for(var t in e)p(t)||l(e[t]);return e}function i(e){if(!e._verified){if("function"==typeof e)throw new Error(b.get("traverseVerifyRootFunction"));for(var t in e)if("enter"!==t&&"exit"!==t||o(t,e[t]),!p(t)){if(D.TYPES.indexOf(t)<0)throw new Error(b.get("traverseVerifyNodeType",t));var n=e[t];if("object"==typeof n)for(var r in n){if("enter"!==r&&"exit"!==r)throw new Error(b.get("traverseVerifyVisitorProperty",t,r));o(t+"."+r,n[r])}}e._verified=!0}}function o(e,t){for(var n=[].concat(t),r=n,i=Array.isArray(r),o=0,r=i?r:h(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if("function"!=typeof s)throw new TypeError("Non-function found defined in "+e+" with type "+typeof s)}}function a(e){for(var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n={},i=0;i=0&&l>0){for(r=[],o=n.length;c=0&&!s;)c==u?(r.push(c),u=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),l]:(i=r.pop(),o>i&&(o=i,a=l),l=n.indexOf(t,c+1)),c=l>u&&u>=0?u:l;r.length&&(s=[o,a])}return s}e.exports=n,n.range=r},/*!********************************!*\ - !*** ./~/base64-js/lib/b64.js ***! - \********************************/ -function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===a||t===p?62:t===s||t===f?63:u>t?-1:u+10>t?t-u+26+26:c+26>t?t-c:l+26>t?t-l+26:void 0}function n(e){function n(e){l[p++]=e}var r,i,a,s,u,l;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;u="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,l=new o(3*e.length/4-u),a=u>0?e.length-4:e.length;var p=0;for(r=0,i=0;a>r;r+=4,i+=3)s=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&s)):1===u&&(s=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,n(s>>8&255),n(255&s)),l}function i(e){function t(e){return r.charAt(e)}function n(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var i,o,a,s=e.length%3,u="";for(i=0,a=e.length-s;a>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=n(o);switch(s){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(o<<4&63),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(o>>4&63),u+=t(o<<2&63),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),l="a".charCodeAt(0),c="A".charCodeAt(0),p="-".charCodeAt(0),f="_".charCodeAt(0);e.toByteArray=n,e.fromByteArray=i}(t)},/*!************************************!*\ - !*** ./~/brace-expansion/index.js ***! - \************************************/ -function(e,t,n){function r(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function i(e){return e.split("\\\\").join(m).split("\\{").join(v).split("\\}").join(g).split("\\,").join(y).split("\\.").join(E)}function o(e){return e.split(m).join("\\").split(v).join("{").split(g).join("}").split(y).join(",").split(E).join(".")}function a(e){if(!e)return[""];var t=[],n=h("{","}",e);if(!n)return e.split(",");var r=n.pre,i=n.body,o=n.post,s=r.split(",");s[s.length-1]+="{"+i+"}";var u=a(o);return o.length&&(s[s.length-1]+=u.shift(),s.push.apply(s,u)),t.push.apply(t,s),t}function s(e){return e?f(i(e),!0).map(o):[]}function u(e){return"{"+e+"}"}function l(e){return/^-?0\d/.test(e)}function c(e,t){return t>=e}function p(e,t){return e>=t}function f(e,t){var n=[],i=h("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var o=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),m=o||s,v=/^(.*,)+(.+)?$/.test(i.body);if(!m&&!v)return i.post.match(/,.*\}/)?(e=i.pre+"{"+i.body+g+i.post,f(e)):[e];var y;if(m)y=i.body.split(/\.\./);else if(y=a(i.body),1===y.length&&(y=f(y[0],!1).map(u),1===y.length)){var E=i.post.length?f(i.post,!1):[""];return E.map(function(e){return i.pre+y[0]+e})}var b,x=i.pre,E=i.post.length?f(i.post,!1):[""];if(m){var D=r(y[0]),C=r(y[1]),A=Math.max(y[0].length,y[1].length),w=3==y.length?Math.abs(r(y[2])):1,S=c,_=D>C;_&&(w*=-1,S=p);var F=y.some(l);b=[];for(var N=D;S(N,C);N+=w){var k;if(s)k=String.fromCharCode(N),"\\"===k&&(k="");else if(k=String(N),F){var T=A-k.length;if(T>0){var P=new Array(T+1).join("0");k=0>N?"-"+P+k.slice(1):P+k}}b.push(k)}}else b=d(y,function(e){return f(e,!1)});for(var O=0;O0;i--)if(n=r[i],~n.indexOf("sourceMappingURL=data:"))return t.fromComment(n)}var u=n(40),l=n(22),c=/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+;)?base64,(.*)$/gm,p=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm;a.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)},a.prototype.toBase64=function(){var t=this.toJSON();return new e(t).toString("base64")},a.prototype.toComment=function(e){var t=this.toBase64(),n="sourceMappingURL=data:application/json;base64,"+t;return e&&e.multiline?"/*# "+n+" */":"//# "+n},a.prototype.toObject=function(){return JSON.parse(this.toJSON())},a.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error("property %s already exists on the sourcemap, use set property instead");return this.setProperty(e,t)},a.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this},a.prototype.getProperty=function(e){return this.sourcemap[e]},t.fromObject=function(e){return new a(e)},t.fromJSON=function(e){return new a(e,{isJSON:!0})},t.fromBase64=function(e){return new a(e,{isEncoded:!0})},t.fromComment=function(e){return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),new a(e,{isEncoded:!0,hasComment:!0})},t.fromMapFileComment=function(e,t){return new a(e,{commentFileDir:t,isFileComment:!0,isJSON:!0})},t.fromSource=function(e,n){if(n){var r=s(e);return r?r:null}var i=e.match(c);return c.lastIndex=0,i?t.fromComment(i.pop()):null},t.fromMapFileSource=function(e,n){var r=e.match(p);return p.lastIndex=0,r?t.fromMapFileComment(r.pop(),n):null},t.removeComments=function(e){return c.lastIndex=0,e.replace(c,"")},t.removeMapFileComments=function(e){return p.lastIndex=0,e.replace(p,"")},t.generateMapFileComment=function(e,t){var n="sourceMappingURL="+e;return t&&t.multiline?"/*# "+n+" */":"//# "+n},Object.defineProperty(t,"commentRegex",{get:function(){return c.lastIndex=0,c}}),Object.defineProperty(t,"mapFileCommentRegex",{get:function(){return p.lastIndex=0,p}})}).call(t,n(195).Buffer)},/*!**********************************************!*\ - !*** ./~/core-js/library/fn/get-iterator.js ***! - \**********************************************/ -function(e,t,n){n(132),n(207),e.exports=n(440)},/*!*************************************!*\ - !*** ./~/core-js/library/fn/map.js ***! - \*************************************/ -function(e,t,n){n(130),n(207),n(132),n(442),n(450),e.exports=n(12).Map},/*!*********************************************************!*\ - !*** ./~/core-js/library/fn/number/max-safe-integer.js ***! - \*********************************************************/ -function(e,t,n){n(443),e.exports=9007199254740991},/*!***********************************************!*\ - !*** ./~/core-js/library/fn/object/assign.js ***! - \***********************************************/ -function(e,t,n){n(444),e.exports=n(12).Object.assign},/*!***********************************************!*\ - !*** ./~/core-js/library/fn/object/create.js ***! - \***********************************************/ -function(e,t,n){var r=n(7);e.exports=function(e,t){return r.create(e,t)}},/*!********************************************************!*\ - !*** ./~/core-js/library/fn/object/define-property.js ***! - \********************************************************/ -function(e,t,n){var r=n(7);e.exports=function(e,t,n){return r.setDesc(e,t,n)}},/*!********************************************************************!*\ - !*** ./~/core-js/library/fn/object/get-own-property-descriptor.js ***! - \********************************************************************/ -function(e,t,n){var r=n(7);n(445),e.exports=function(e,t){return r.getDesc(e,t)}},/*!***************************************************************!*\ - !*** ./~/core-js/library/fn/object/get-own-property-names.js ***! - \***************************************************************/ -function(e,t,n){var r=n(7);n(446),e.exports=function(e){return r.getNames(e)}},/*!*****************************************************************!*\ - !*** ./~/core-js/library/fn/object/get-own-property-symbols.js ***! - \*****************************************************************/ -function(e,t,n){n(131),e.exports=n(12).Object.getOwnPropertySymbols},/*!*********************************************!*\ - !*** ./~/core-js/library/fn/object/keys.js ***! - \*********************************************/ -function(e,t,n){n(447),e.exports=n(12).Object.keys},/*!*********************************************************!*\ - !*** ./~/core-js/library/fn/object/set-prototype-of.js ***! - \*********************************************************/ -function(e,t,n){n(448),e.exports=n(12).Object.setPrototypeOf},/*!********************************************!*\ - !*** ./~/core-js/library/fn/symbol/for.js ***! - \********************************************/ -function(e,t,n){n(131),e.exports=n(12).Symbol["for"]},/*!**********************************************!*\ - !*** ./~/core-js/library/fn/symbol/index.js ***! - \**********************************************/ -function(e,t,n){n(131),n(130),e.exports=n(12).Symbol},/*!******************************************!*\ - !*** ./~/core-js/library/fn/weak-map.js ***! - \******************************************/ -function(e,t,n){n(130),n(132),n(449),e.exports=n(12).WeakMap},/*!***************************************************!*\ - !*** ./~/core-js/library/modules/$.a-function.js ***! - \***************************************************/ -function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},/*!***********************************************************!*\ - !*** ./~/core-js/library/modules/$.add-to-unscopables.js ***! - \***********************************************************/ -function(e,t){e.exports=function(){}},/*!******************************************************!*\ - !*** ./~/core-js/library/modules/$.array-methods.js ***! - \******************************************************/ -function(e,t,n){var r=n(56),i=n(123),o=n(129),a=n(205),s=n(427);e.exports=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,c=6==e,p=5==e||c;return function(f,d,h){for(var m,v,g=o(f),y=i(g),E=r(d,h,3),b=a(y.length),x=0,D=t?s(f,b):n?s(f,0):void 0;b>x;x++)if((p||x in y)&&(m=y[x],v=E(m,x,g),e))if(t)D[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:D.push(m)}else if(l)return!1;return c?-1:u||l?l:D}}},/*!*************************************************************!*\ - !*** ./~/core-js/library/modules/$.array-species-create.js ***! - \*************************************************************/ -function(e,t,n){var r=n(37),i=n(200),o=n(21)("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)||(n=void 0),r(n)&&(n=n[o],null===n&&(n=void 0))),new(void 0===n?Array:n)(t)}},/*!**********************************************************!*\ - !*** ./~/core-js/library/modules/$.collection-strong.js ***! - \**********************************************************/ -function(e,t,n){"use strict";var r=n(7),i=n(43),o=n(127),a=n(56),s=n(128),u=n(94),l=n(95),c=n(124),p=n(201),f=n(98)("id"),d=n(42),h=n(37),m=n(438),v=n(57),g=Object.isExtensible||h,y=v?"_s":"size",E=0,b=function(e,t){if(!h(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!d(e,f)){if(!g(e))return"F";if(!t)return"E";i(e,f,++E)}return"O"+e[f]},x=function(e,t){var n,r=b(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,i){var c=e(function(e,o){s(e,c,t),e._i=r.create(null),e._f=void 0,e._l=void 0,e[y]=0,void 0!=o&&l(o,n,e[i],e)});return o(c.prototype,{clear:function(){for(var e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[y]=0},"delete":function(e){var t=this,n=x(t,e);if(n){var r=n.n,i=n.p;delete t._i[n.i],n.r=!0,i&&(i.n=r),r&&(r.p=i),t._f==n&&(t._f=r),t._l==n&&(t._l=i),t[y]--}return!!n},forEach:function(e){for(var t,n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!x(this,e)}}),v&&r.setDesc(c.prototype,"size",{get:function(){return u(this[y])}}),c},def:function(e,t,n){var r,i,o=x(e,t);return o?o.v=n:(e._l=o={i:i=b(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[y]++,"F"!==i&&(e._i[i]=o)),e},getEntry:x,setStrong:function(e,t,n){c(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?p(0,n.k):"values"==t?p(0,n.v):p(0,[n.k,n.v]):(e._t=void 0,p(1))},n?"entries":"values",!n,!0),m(t)}}},/*!***********************************************************!*\ - !*** ./~/core-js/library/modules/$.collection-to-json.js ***! - \***********************************************************/ -function(e,t,n){var r=n(95),i=n(197);e.exports=function(e){return function(){if(i(this)!=e)throw TypeError(e+"#toJSON isn't generic");var t=[];return r(this,!1,t.push,t),t}}},/*!********************************************************!*\ - !*** ./~/core-js/library/modules/$.collection-weak.js ***! - \********************************************************/ -function(e,t,n){"use strict";var r=n(43),i=n(127),o=n(41),a=n(37),s=n(128),u=n(95),l=n(426),c=n(42),p=n(98)("weak"),f=Object.isExtensible||a,d=l(5),h=l(6),m=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return d(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=y(this,e);return t?t[1]:void 0},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},"delete":function(e){var t=h(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var o=e(function(e,i){s(e,o,t),e._i=m++,e._l=void 0,void 0!=i&&u(i,n,e[r],e)});return i(o.prototype,{"delete":function(e){return a(e)?f(e)?c(e,p)&&c(e[p],this._i)&&delete e[p][this._i]:v(this)["delete"](e):!1},has:function(e){return a(e)?f(e)?c(e,p)&&c(e[p],this._i):v(this).has(e):!1}}),o},def:function(e,t,n){return f(o(t))?(c(t,p)||r(t,p,{}),t[p][e._i]=n):v(e).set(t,n),e},frozenStore:v,WEAK:p}},/*!**************************************************!*\ - !*** ./~/core-js/library/modules/$.enum-keys.js ***! - \**************************************************/ -function(e,t,n){var r=n(7);e.exports=function(e){var t=r.getKeys(e),n=r.getSymbols;if(n)for(var i,o=n(e),a=r.isEnum,s=0;o.length>s;)a.call(e,i=o[s++])&&t.push(i);return t}},/*!******************************************************!*\ - !*** ./~/core-js/library/modules/$.is-array-iter.js ***! - \******************************************************/ -function(e,t,n){var r=n(60),i=n(21)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},/*!**************************************************!*\ - !*** ./~/core-js/library/modules/$.iter-call.js ***! - \**************************************************/ -function(e,t,n){var r=n(41);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(o){var a=e["return"];throw void 0!==a&&r(a.call(e)),o}}},/*!****************************************************!*\ - !*** ./~/core-js/library/modules/$.iter-create.js ***! - \****************************************************/ -function(e,t,n){"use strict";var r=n(7),i=n(126),o=n(97),a={};n(43)(a,n(21)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r.create(a,{next:i(1,n)}),o(e,t+" Iterator")}},/*!**********************************************!*\ - !*** ./~/core-js/library/modules/$.keyof.js ***! - \**********************************************/ -function(e,t,n){var r=n(7),i=n(61);e.exports=function(e,t){for(var n,o=i(e),a=r.getKeys(o),s=a.length,u=0;s>u;)if(o[n=a[u++]]===t)return n}},/*!******************************************************!*\ - !*** ./~/core-js/library/modules/$.object-assign.js ***! - \******************************************************/ -function(e,t,n){var r=n(7),i=n(129),o=n(123);e.exports=n(58)(function(){var e=Object.assign,t={},n={},r=Symbol(),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach(function(e){n[e]=e}),7!=e({},t)[r]||Object.keys(e({},n)).join("")!=i})?function(e,t){for(var n=i(e),a=arguments,s=a.length,u=1,l=r.getKeys,c=r.getSymbols,p=r.isEnum;s>u;)for(var f,d=o(a[u++]),h=c?l(d).concat(c(d)):l(d),m=h.length,v=0;m>v;)p.call(d,f=h[v++])&&(n[f]=d[f]);return n}:Object.assign},/*!**************************************************!*\ - !*** ./~/core-js/library/modules/$.set-proto.js ***! - \**************************************************/ -function(e,t,n){var r=n(7).getDesc,i=n(37),o=n(41),a=function(e,t){if(o(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n(56)(Function.call,r(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(o){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:a}},/*!****************************************************!*\ - !*** ./~/core-js/library/modules/$.set-species.js ***! - \****************************************************/ -function(e,t,n){"use strict";var r=n(12),i=n(7),o=n(57),a=n(21)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.setDesc(t,a,{configurable:!0,get:function(){return this}})}},/*!**************************************************!*\ - !*** ./~/core-js/library/modules/$.string-at.js ***! - \**************************************************/ -function(e,t,n){var r=n(204),i=n(94);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return 0>u||u>=l?e?"":void 0:(o=s.charCodeAt(u),55296>o||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):(o-55296<<10)+(a-56320)+65536)}}},/*!********************************************************!*\ - !*** ./~/core-js/library/modules/core.get-iterator.js ***! - \********************************************************/ -function(e,t,n){var r=n(41),i=n(206);e.exports=n(12).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},/*!*********************************************************!*\ - !*** ./~/core-js/library/modules/es6.array.iterator.js ***! - \*********************************************************/ -function(e,t,n){"use strict";var r=n(425),i=n(201),o=n(60),a=n(61);e.exports=n(124)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},/*!**********************************************!*\ - !*** ./~/core-js/library/modules/es6.map.js ***! - \**********************************************/ -function(e,t,n){"use strict";var r=n(428);n(198)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},/*!******************************************************************!*\ - !*** ./~/core-js/library/modules/es6.number.max-safe-integer.js ***! - \******************************************************************/ -function(e,t,n){var r=n(29);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},/*!********************************************************!*\ - !*** ./~/core-js/library/modules/es6.object.assign.js ***! - \********************************************************/ -function(e,t,n){var r=n(29);r(r.S+r.F,"Object",{assign:n(436)})},/*!*****************************************************************************!*\ - !*** ./~/core-js/library/modules/es6.object.get-own-property-descriptor.js ***! - \*****************************************************************************/ -function(e,t,n){var r=n(61);n(125)("getOwnPropertyDescriptor",function(e){return function(t,n){return e(r(t),n)}})},/*!************************************************************************!*\ - !*** ./~/core-js/library/modules/es6.object.get-own-property-names.js ***! - \************************************************************************/ -function(e,t,n){n(125)("getOwnPropertyNames",function(){/*! ./$.get-names */ -return n(199).get})},/*!******************************************************!*\ - !*** ./~/core-js/library/modules/es6.object.keys.js ***! - \******************************************************/ -function(e,t,n){var r=n(129);n(125)("keys",function(e){return function(t){return e(r(t))}})},/*!******************************************************************!*\ - !*** ./~/core-js/library/modules/es6.object.set-prototype-of.js ***! - \******************************************************************/ -function(e,t,n){var r=n(29);r(r.S,"Object",{setPrototypeOf:n(437).set})},/*!***************************************************!*\ - !*** ./~/core-js/library/modules/es6.weak-map.js ***! - \***************************************************/ -function(e,t,n){"use strict";var r=n(7),i=n(96),o=n(430),a=n(37),s=n(42),u=o.frozenStore,l=o.WEAK,c=Object.isExtensible||a,p={},f=n(198)("WeakMap",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){if(a(e)){if(!c(e))return u(this).get(e);if(s(e,l))return e[l][this._i]}},set:function(e,t){return o.def(this,e,t)}},o,!0,!0);7!=(new f).set((Object.freeze||Object)(p),7).get(p)&&r.each.call(["delete","has","get","set"],function(e){var t=f.prototype,n=t[e];i(t,e,function(t,r){if(a(t)&&!c(t)){var i=u(this)[e](t,r);return"set"==e?this:i}return n.call(this,t,r)})})},/*!******************************************************!*\ - !*** ./~/core-js/library/modules/es7.map.to-json.js ***! - \******************************************************/ -function(e,t,n){var r=n(29);r(r.P,"Map",{toJSON:n(429)("Map")})},/*!****************************!*\ - !*** ./~/debug/browser.js ***! - \****************************/ -function(e,t,n){function r(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function i(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var i=0,o=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r),e}function o(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}}function s(){var e;try{e=t.storage.debug}catch(n){}return e}function u(){try{return window.localStorage}catch(e){}}t=e.exports=n(208),t.log=o,t.formatArgs=i,t.save=a,t.load=s,t.useColors=r,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:u(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){return JSON.stringify(e)},t.enable(s())},/*!*************************!*\ - !*** ./~/debug/node.js ***! - \*************************/ -function(e,t,n){(function(r){function i(){var e=(r.env.DEBUG_COLORS||"").trim().toLowerCase();return 0===e.length?c.isatty(f):"0"!==e&&"no"!==e&&"false"!==e&&"disabled"!==e}function o(){var e=arguments,n=this.useColors,r=this.namespace;if(n){var i=this.color;e[0]=" [3"+i+";1m"+r+" "+e[0]+"[3"+i+"m +"+t.humanize(this.diff)+""}else e[0]=(new Date).toUTCString()+" "+r+" "+e[0];return e}function a(){return d.write(p.format.apply(this,arguments)+"\n")}function s(e){null==e?delete r.env.DEBUG:r.env.DEBUG=e}function u(){return r.env.DEBUG}function l(e){var t,i=r.binding("tty_wrap");switch(i.guessHandleType(e)){case"TTY":t=new c.WriteStream(e),t._type="tty",t._handle&&t._handle.unref&&t._handle.unref();break;case"FILE":var o=n(40);t=new o.SyncWriteStream(e,{autoClose:!1}),t._type="fs";break;case"PIPE":case"TCP":var a=n(40);t=new a.Socket({fd:e,readable:!1,writable:!0}),t.readable=!1,t.read=null,t._type="pipe",t._handle&&t._handle.unref&&t._handle.unref();break;default:throw new Error("Implement me. Unknown stream file type!")}return t.fd=e,t._isStdio=!0,t}var c=n(536),p=n(70);t=e.exports=n(208),t.log=a,t.formatArgs=o,t.save=s,t.load=u,t.useColors=i,t.colors=[6,2,3,4,5,1];var f=parseInt(r.env.DEBUG_FD,10)||2,d=1===f?r.stdout:2===f?r.stderr:l(f),h=4===p.inspect.length?function(e,t){return p.inspect(e,void 0,void 0,t)}:function(e,t){return p.inspect(e,{colors:t})};t.formatters.o=function(e){return h(e,this.useColors).replace(/\s*\n\s*/g," ")},t.enable(u())}).call(t,n(18))},/*!**********************************!*\ - !*** ./~/detect-indent/index.js ***! - \**********************************/ -function(e,t,n){"use strict";function r(e){var t=0,n=0,r=0;for(var i in e){var o=e[i],a=o[0],s=o[1];(a>n||a===n&&s>r)&&(n=a,r=s,t=+i)}return t}var i=n(48),o=/^(?:( )+|\t+)/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t,n,a=0,s=0,u=0,l={};e.split(/\n/g).forEach(function(e){if(e){var r,i=e.match(o);i?(r=i[0].length,i[1]?s++:a++):r=0;var c=r-u;u=r,c?(n=c>0,t=l[n?c:-c],t?t[0]++:t=l[c]=[1,0]):t&&(t[1]+=+n)}});var c,p,f=r(l);return f?s>=a?(c="space",p=i(" ",f)):(c="tab",p=i(" ",f)):(c=null,p=""),{amount:f,type:c,indent:p}}},/*!*****************************************!*\ - !*** ./~/escape-string-regexp/index.js ***! - \*****************************************/ -function(e,t){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},/*!******************************!*\ - !*** ./~/esutils/lib/ast.js ***! - \******************************/ -function(e,t){!function(){"use strict";function t(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){return r(e)||null!=e&&"FunctionDeclaration"===e.type}function o(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function a(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=o(t)}while(t);return!1}e.exports={isExpression:t,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:a,trailingStatement:o}}()},/*!**********************************!*\ - !*** ./~/esutils/lib/keyword.js ***! - \**********************************/ -function(e,t,n){!function(){"use strict";function t(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(e,t){return t||"yield"!==e?i(e,t):!1}function i(e,n){if(n&&t(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function s(e){return"eval"===e||"arguments"===e}function u(e){var t,n,r;if(0===e.length)return!1;if(r=e.charCodeAt(0),!d.isIdentifierStartES5(r))return!1;for(t=1,n=e.length;n>t;++t)if(r=e.charCodeAt(t),!d.isIdentifierPartES5(r))return!1;return!0}function l(e,t){return 1024*(e-55296)+(t-56320)+65536}function c(e){var t,n,r,i,o;if(0===e.length)return!1;for(o=d.isIdentifierStartES6,t=0,n=e.length;n>t;++t){if(r=e.charCodeAt(t),r>=55296&&56319>=r){if(++t,t>=n)return!1;if(i=e.charCodeAt(t),!(i>=56320&&57343>=i))return!1;r=l(r,i)}if(!o(r))return!1;o=d.isIdentifierPartES6}return!0}function p(e,t){return u(e)&&!o(e,t)}function f(e,t){return c(e)&&!a(e,t)}var d=n(209);e.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:o,isReservedWordES6:a,isRestrictedWord:s,isIdentifierNameES5:u,isIdentifierNameES6:c,isIdentifierES5:p,isIdentifierES6:f}}()},/*!****************************!*\ - !*** ./~/globals/index.js ***! - \****************************/ -function(e,t,n){e.exports=n(464)},/*!*****************************!*\ - !*** ./~/has-ansi/index.js ***! - \*****************************/ -function(e,t,n){"use strict";var r=n(144),i=new RegExp(r().source);e.exports=i.test.bind(i)},/*!****************************!*\ - !*** ./~/ieee754/index.js ***! - \****************************/ -function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,p=n?i-1:0,f=n?-1:1,d=e[t+p];for(p+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+p],p+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+p],p+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,r),o-=l}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,h=r?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+p>=1?f/u:f*Math.pow(2,1-p),t*u>=2&&(a++,u/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(t*u-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=h,s/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,l-=8);e[n+d-h]|=128*m}},/*!****************************************!*\ - !*** ./~/inherits/inherits_browser.js ***! - \****************************************/ -function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},/*!********************************!*\ - !*** ./~/invariant/browser.js ***! - \********************************/ -function(e,t,n){"use strict";var r=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=r},/*!*******************************!*\ - !*** ./~/is-integer/index.js ***! - \*******************************/ -function(e,t,n){var r=n(210);e.exports=Number.isInteger||function(e){return"number"==typeof e&&r(e)&&Math.floor(e)===e}},/*!***********************************!*\ - !*** ./~/babel-core/package.json ***! - \***********************************/ -function(e,t){e.exports={_args:[["babel-core@^6.7.7","C:\\src\\babel-standalone"]],_from:"babel-core@>=6.7.7 <7.0.0",_id:"babel-core@6.7.7",_inCache:!0,_installable:!0,_location:"/babel-core",_nodeVersion:"5.9.0",_npmOperationalInternal:{host:"packages-12-west.internal.npmjs.com",tmp:"tmp/babel-core-6.7.7.tgz_1461208162865_0.049740914488211274"},_npmUser:{email:"loganfsmyth@gmail.com",name:"loganfsmyth"},_npmVersion:"3.7.3",_phantomChildren:{"babel-runtime":"5.8.38","babel-traverse":"6.7.6",chalk:"1.1.3",esutils:"2.0.2","js-tokens":"1.0.3",lodash:"3.10.1","to-fast-properties":"1.0.2"},_requested:{name:"babel-core",raw:"babel-core@^6.7.7",rawSpec:"^6.7.7",scope:null,spec:">=6.7.7 <7.0.0",type:"range"},_requiredBy:["#DEV:/","/babel-plugin-transform-regenerator","/babel-register"],_resolved:"https://registry.npmjs.org/babel-core/-/babel-core-6.7.7.tgz",_shasum:"74fbdf963a825ed74e136ab100cc9f07e3c3e4e2",_shrinkwrap:null,_spec:"babel-core@^6.7.7",_where:"C:\\src\\babel-standalone",author:{email:"sebmck@gmail.com",name:"Sebastian McKenzie"},dependencies:{"babel-code-frame":"^6.7.7","babel-generator":"^6.7.7","babel-helpers":"^6.6.0","babel-messages":"^6.7.2","babel-register":"^6.7.2","babel-runtime":"^5.0.0","babel-template":"^6.7.0","babel-traverse":"^6.7.6","babel-types":"^6.7.7",babylon:"^6.7.0","convert-source-map":"^1.1.0",debug:"^2.1.1",json5:"^0.4.0",lodash:"^3.10.0",minimatch:"^2.0.3","path-exists":"^1.0.0","path-is-absolute":"^1.0.0","private":"^0.1.6","shebang-regex":"^1.0.0",slash:"^1.0.0","source-map":"^0.5.0"},description:"Babel compiler core.",devDependencies:{"babel-helper-fixtures":"^6.6.5","babel-helper-transform-fixture-test-runner":"^6.6.5","babel-polyfill":"^6.7.4"},directories:{},dist:{shasum:"74fbdf963a825ed74e136ab100cc9f07e3c3e4e2",tarball:"https://registry.npmjs.org/babel-core/-/babel-core-6.7.7.tgz"},homepage:"https://babeljs.io/",keywords:["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var"],license:"MIT",maintainers:[{name:"amasad",email:"amjad.masad@gmail.com"},{name:"hzoo",email:"hi@henryzoo.com"},{name:"jmm",email:"npm-public@jessemccarthy.net"},{name:"loganfsmyth",email:"loganfsmyth@gmail.com"},{name:"sebmck",email:"sebmck@gmail.com"},{name:"thejameskyle",email:"me@thejameskyle.com"}],name:"babel-core",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"https://github.com/babel/babel/tree/master/packages/babel-core"},scripts:{bench:"make bench",test:"make test"},version:"6.7.7"}},/*!********************************!*\ - !*** ./~/globals/globals.json ***! - \********************************/ -function(e,t){e.exports={builtin:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,System:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es6:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,System:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{addEventListener:!1,alert:!1,AnalyserNode:!1,AnimationEvent:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AutocompleteErrorEvent:!1,BarProp:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,blur:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CDATASection:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClientRect:!1,ClientRectList:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConvolverNode:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSFontFaceRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CSSUnknownRule:!1,CSSViewportRule:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,Debug:!1,defaultStatus:!1,defaultstatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMParser:!1,DOMSettableTokenList:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ElementTimeControl:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileError:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAppletElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBlockquoteElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLIsIndexElement:!1,HTMLKeygenElement:!1,HTMLLabelElement:!1,HTMLLayerElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBEnvironment:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,Image:!1,ImageBitmap:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,InputMethodContext:!1,Intl:!1,KeyboardEvent:!1,length:!1,localStorage:!1,location:!1,Location:!1,locationbar:!1,matchMedia:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyError:!1,MediaKeyEvent:!1,MediaKeyMessageEvent:!1,MediaKeys:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaSource:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,navigator:!1,Navigator:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,onbeforeunload:!0,onblur:!0,onerror:!0,onfocus:!0,onload:!0,onresize:!0,onunload:!0,open:!1,openDatabase:!1,opener:!1,opera:!1,Option:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,parent:!1,Path2D:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,Plugin:!1,PluginArray:!1,PopStateEvent:!1,postMessage:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,RadioNodeList:!1,Range:!1,ReadableByteStream:!1,ReadableStream:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,resizeBy:!1,resizeTo:!1,Response:!1,RTCIceCandidate:!1,RTCSessionDescription:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,showModalDialog:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,status:!1,statusbar:!1,stop:!1,Storage:!1,StorageEvent:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAltGlyphDefElement:!1,SVGAltGlyphElement:!1,SVGAltGlyphItemElement:!1,SVGAngle:!1,SVGAnimateColorElement:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPathData:!1,SVGAnimatedPoints:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGColor:!1,SVGColorProfileElement:!1,SVGColorProfileRule:!1,SVGComponentTransferFunctionElement:!1,SVGCSSRule:!1,SVGCursorElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGDocument:!1,SVGElement:!1,SVGElementInstance:!1,SVGElementInstanceList:!1,SVGEllipseElement:!1,SVGEvent:!1,SVGExternalResourcesRequired:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGFilterPrimitiveStandardAttributes:!1,SVGFitToViewBox:!1,SVGFontElement:!1,SVGFontFaceElement:!1,SVGFontFaceFormatElement:!1,SVGFontFaceNameElement:!1,SVGFontFaceSrcElement:!1,SVGFontFaceUriElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGlyphElement:!1,SVGGlyphRefElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGHKernElement:!1,SVGICCColor:!1,SVGImageElement:!1,SVGLangSpace:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGLocatable:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMissingGlyphElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPaint:!1,SVGPathElement:!1,SVGPathSeg:!1,SVGPathSegArcAbs:!1,SVGPathSegArcRel:!1,SVGPathSegClosePath:!1,SVGPathSegCurvetoCubicAbs:!1,SVGPathSegCurvetoCubicRel:!1,SVGPathSegCurvetoCubicSmoothAbs:!1,SVGPathSegCurvetoCubicSmoothRel:!1,SVGPathSegCurvetoQuadraticAbs:!1,SVGPathSegCurvetoQuadraticRel:!1,SVGPathSegCurvetoQuadraticSmoothAbs:!1,SVGPathSegCurvetoQuadraticSmoothRel:!1,SVGPathSegLinetoAbs:!1,SVGPathSegLinetoHorizontalAbs:!1,SVGPathSegLinetoHorizontalRel:!1,SVGPathSegLinetoRel:!1,SVGPathSegLinetoVerticalAbs:!1,SVGPathSegLinetoVerticalRel:!1,SVGPathSegList:!1,SVGPathSegMovetoAbs:!1,SVGPathSegMovetoRel:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGRenderingIntent:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStylable:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTests:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformable:!1,SVGTransformList:!1,SVGTRefElement:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGURIReference:!1,SVGUseElement:!1,SVGViewElement:!1,SVGViewSpec:!1,SVGVKernElement:!1,SVGZoomAndPan:!1,SVGZoomEvent:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeEvent:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,ValidityState:!1,VTTCue:!1,WaveShaperNode:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLTexture:!1,WebGLUniformLocation:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,XDomainRequest:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestProgressEvent:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathException:!1,XPathExpression:!1,XPathNamespace:!1,XPathNSResolver:!1,XPathResult:!1,XSLTProcessor:!1},worker:{applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,WebSocket:!1,Worker:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,arguments:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,GLOBAL:!1,global:!1,module:!1,process:!1,require:!1,root:!1,setImmediate:!1,setInterval:!1,setTimeout:!1},commonjs:{exports:!0,module:!1,require:!1,global:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterEach:!1,beforeEach:!1,describe:!1,expect:!1,it:!1,jest:!1,pit:!1,require:!1,xdescribe:!1,xit:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,"throws":!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,Java:!1,java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{Y:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ls:!1,ln:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,target:!1,tempdir:!1,test:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{$:!1,_:!1,Accounts:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{caches:!1,Cache:!1,CacheStorage:!1,Client:!1,clients:!1,Clients:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,FetchEvent:!1,importScripts:!1,registration:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,skipWaiting:!1,WindowClient:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,triggerEvent:!1,visit:!1},protractor:{$:!1,$$:!1,browser:!1,By:!1,by:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1}}},/*!**********************************************!*\ - !*** ./~/regexpu-core/data/iu-mappings.json ***! - \**********************************************/ -function(e,t){e.exports={75:8490,83:383,107:8490,115:383,181:924,197:8491,383:83,452:453,453:452,455:456,456:455,458:459,459:458,497:498,498:497,837:8126,914:976,917:1013,920:1012,921:8126,922:1008,924:181,928:982,929:1009,931:962,934:981,937:8486,962:931,976:914,977:1012,981:934,982:928,1008:922,1009:929,1012:[920,977],1013:917,7776:7835,7835:7776,8126:[837,921],8486:937,8490:75,8491:197,66560:66600,66561:66601,66562:66602,66563:66603,66564:66604,66565:66605,66566:66606,66567:66607,66568:66608,66569:66609,66570:66610,66571:66611,66572:66612,66573:66613,66574:66614,66575:66615,66576:66616,66577:66617,66578:66618,66579:66619,66580:66620,66581:66621,66582:66622,66583:66623,66584:66624,66585:66625,66586:66626,66587:66627,66588:66628,66589:66629,66590:66630,66591:66631,66592:66632,66593:66633,66594:66634,66595:66635,66596:66636,66597:66637,66598:66638,66599:66639,66600:66560,66601:66561,66602:66562,66603:66563,66604:66564,66605:66565,66606:66566,66607:66567,66608:66568,66609:66569,66610:66570,66611:66571,66612:66572,66613:66573,66614:66574,66615:66575,66616:66576,66617:66577,66618:66578,66619:66579,66620:66580,66621:66581,66622:66582,66623:66583,66624:66584,66625:66585,66626:66586,66627:66587,66628:66588,66629:66589,66630:66590,66631:66591,66632:66592,66633:66593,66634:66594,66635:66595,66636:66596,66637:66597,66638:66598,66639:66599,68736:68800,68737:68801,68738:68802,68739:68803,68740:68804,68741:68805,68742:68806,68743:68807,68744:68808,68745:68809,68746:68810,68747:68811,68748:68812,68749:68813,68750:68814,68751:68815,68752:68816,68753:68817,68754:68818,68755:68819,68756:68820,68757:68821,68758:68822,68759:68823,68760:68824,68761:68825,68762:68826,68763:68827,68764:68828,68765:68829,68766:68830,68767:68831,68768:68832,68769:68833,68770:68834,68771:68835,68772:68836,68773:68837,68774:68838,68775:68839,68776:68840,68777:68841,68778:68842,68779:68843,68780:68844,68781:68845,68782:68846,68783:68847,68784:68848,68785:68849,68786:68850,68800:68736,68801:68737,68802:68738,68803:68739,68804:68740,68805:68741,68806:68742,68807:68743,68808:68744,68809:68745,68810:68746,68811:68747,68812:68748,68813:68749,68814:68750,68815:68751,68816:68752,68817:68753,68818:68754,68819:68755,68820:68756,68821:68757,68822:68758,68823:68759,68824:68760,68825:68761,68826:68762,68827:68763,68828:68764,68829:68765,68830:68766,68831:68767,68832:68768,68833:68769,68834:68770,68835:68771,68836:68772,68837:68773,68838:68774,68839:68775,68840:68776,68841:68777,68842:68778,68843:68779,68844:68780,68845:68781,68846:68782,68847:68783,68848:68784,68849:68785,68850:68786,71840:71872,71841:71873,71842:71874,71843:71875,71844:71876,71845:71877,71846:71878,71847:71879,71848:71880,71849:71881,71850:71882,71851:71883,71852:71884,71853:71885,71854:71886,71855:71887,71856:71888,71857:71889,71858:71890,71859:71891,71860:71892,71861:71893,71862:71894,71863:71895,71864:71896,71865:71897,71866:71898,71867:71899,71868:71900,71869:71901,71870:71902,71871:71903,71872:71840,71873:71841,71874:71842,71875:71843,71876:71844,71877:71845,71878:71846,71879:71847,71880:71848,71881:71849,71882:71850,71883:71851,71884:71852,71885:71853,71886:71854,71887:71855,71888:71856,71889:71857,71890:71858,71891:71859,71892:71860,71893:71861,71894:71862,71895:71863,71896:71864,71897:71865,71898:71866,71899:71867,71900:71868,71901:71869,71902:71870,71903:71871}},/*!******************************!*\ - !*** ./~/json5/lib/json5.js ***! - \******************************/ -function(e,t,n){var r=t;r.parse=function(){"use strict";var e,t,n,r,i={"'":"'",'"':'"',"\\":"\\","/":"/","\n":"",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},o=[" "," ","\r","\n","\x0B","\f"," ","\ufeff"],a=function(t){var r=new SyntaxError;throw r.message=t,r.at=e,r.text=n,r},s=function(r){return r&&r!==t&&a("Expected '"+r+"' instead of '"+t+"'"),t=n.charAt(e),e+=1,t},u=function(){return n.charAt(e)},l=function(){var e=t;for("_"!==t&&"$"!==t&&("a">t||t>"z")&&("A">t||t>"Z")&&a("Bad identifier");s()&&("_"===t||"$"===t||t>="a"&&"z">=t||t>="A"&&"Z">=t||t>="0"&&"9">=t);)e+=t;return e},c=function(){var e,n="",r="",i=10;if("-"!==t&&"+"!==t||(n=t,s(t)),"I"===t)return e=v(),("number"!=typeof e||isNaN(e))&&a("Unexpected word for number"),"-"===n?-e:e;if("N"===t)return e=v(),isNaN(e)||a("expected word to be NaN"),e;switch("0"===t&&(r+=t,s(),"x"===t||"X"===t?(r+=t,s(),i=16):t>="0"&&"9">=t&&a("Octal literal")),i){case 10:for(;t>="0"&&"9">=t;)r+=t,s();if("."===t)for(r+=".";s()&&t>="0"&&"9">=t;)r+=t;if("e"===t||"E"===t)for(r+=t,s(),"-"!==t&&"+"!==t||(r+=t,s());t>="0"&&"9">=t;)r+=t,s();break;case 16:for(;t>="0"&&"9">=t||t>="A"&&"F">=t||t>="a"&&"f">=t;)r+=t,s()}return e="-"===n?-r:+r,isFinite(e)?e:void a("Bad number")},p=function(){var e,n,r,o,l="";if('"'===t||"'"===t)for(r=t;s();){if(t===r)return s(),l;if("\\"===t)if(s(),"u"===t){for(o=0,n=0;4>n&&(e=parseInt(s(),16),isFinite(e));n+=1)o=16*o+e;l+=String.fromCharCode(o)}else if("\r"===t)"\n"===u()&&s();else{if("string"!=typeof i[t])break;l+=i[t]}else{if("\n"===t)break;l+=t}}a("Bad string")},f=function(){"/"!==t&&a("Not an inline comment");do if(s(),"\n"===t||"\r"===t)return void s();while(t)},d=function(){"*"!==t&&a("Not a block comment");do for(s();"*"===t;)if(s("*"),"/"===t)return void s("/");while(t);a("Unterminated block comment")},h=function(){"/"!==t&&a("Not a comment"),s("/"),"/"===t?f():"*"===t?d():a("Unrecognized comment")},m=function(){for(;t;)if("/"===t)h();else{if(!(o.indexOf(t)>=0))return;s()}},v=function(){switch(t){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null;case"I":return s("I"),s("n"),s("f"),s("i"),s("n"),s("i"),s("t"),s("y"),1/0;case"N":return s("N"),s("a"),s("N"),NaN}a("Unexpected '"+t+"'")},g=function(){var e=[];if("["===t)for(s("["),m();t;){if("]"===t)return s("]"),e;if(","===t?a("Missing array element"):e.push(r()),m(),","!==t)return s("]"),e;s(","),m()}a("Bad array")},y=function(){var e,n={};if("{"===t)for(s("{"),m();t;){if("}"===t)return s("}"),n;if(e='"'===t||"'"===t?p():l(),m(),s(":"),n[e]=r(),m(),","!==t)return s("}"),n;s(","),m()}a("Bad object")};return r=function(){switch(m(),t){case"{":return y();case"[":return g();case'"':case"'":return p();case"-":case"+":case".":return c();default:return t>="0"&&"9">=t?c():v()}},function(i,o){var s;return n=String(i),e=0,t=" ",s=r(),m(),t&&a("Syntax error"),"function"==typeof o?function u(e,t){var n,r,i=e[t];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=u(i,n),void 0!==r?i[n]=r:delete i[n]);return o.call(e,t,i)}({"":s},""):s}}(),r.stringify=function(e,t,n){function i(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||e>="0"&&"9">=e||"_"===e||"$"===e}function o(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e}function a(e){if("string"!=typeof e)return!1;if(!o(e[0]))return!1;for(var t=1,n=e.length;n>t;){if(!i(e[t]))return!1;t++}return!0}function s(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function u(e){return"[object Date]"===Object.prototype.toString.call(e)}function l(e){for(var t=0;t10&&(e=e.substring(0,10));for(var r=n?"":"\n",i=0;t>i;i++)r+=e;return r}function p(e){return v.lastIndex=0,v.test(e)?'"'+e.replace(v,function(e){var t=g[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function f(e,t,n){var r,i,o=d(e,t,n);switch(o&&!u(o)&&(o=o.valueOf()),typeof o){case"boolean":return o.toString();case"number":return isNaN(o)||!isFinite(o)?"null":o.toString();case"string":return p(o.toString());case"object":if(null===o)return"null";if(s(o)){l(o),r="[",m.push(o);for(var v=0;v=0?i:void 0:i};r.isWord=a,isNaN=isNaN||function(e){return"number"==typeof e&&e!==e};var h,m=[];n&&("string"==typeof n?h=n:"number"==typeof n&&n>=0&&(h=c(" ",n,!0)));var v=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,g={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},y={"":e};return void 0===e?d(y,"",!0):f(y,"",!0)}},/*!**************************!*\ - !*** ./~/leven/index.js ***! - \**************************/ -function(e,t){"use strict";var n=[],r=[];e.exports=function(e,t){if(e===t)return 0;var i=e.length,o=t.length;if(0===i)return o;if(0===o)return i;for(var a,s,u,l,c=0,p=0;i>c;)r[c]=e.charCodeAt(c),n[c]=++c;for(;o>p;)for(a=t.charCodeAt(p),u=p++,s=p,c=0;i>c;c++)l=a===r[c]?u:u+1,u=n[c],s=n[c]=u>s?l>s?s+1:l:l>u?u+1:l;return s}},/*!*****************************************!*\ - !*** ./~/lodash/collection/contains.js ***! - \*****************************************/ -function(e,t,n){e.exports=n(99)},/*!****************************************!*\ - !*** ./~/lodash/collection/forEach.js ***! - \****************************************/ -function(e,t,n){var r=n(133),i=n(219),o=n(497),a=o(r,i);e.exports=a},/*!************************************!*\ - !*** ./~/lodash/collection/map.js ***! - \************************************/ -function(e,t,n){function r(e,t,n){var r=s(e)?i:a;return t=o(t,n,3),r(e,t)}var i=n(473),o=n(134),a=n(223),s=n(13);e.exports=r},/*!***************************************!*\ - !*** ./~/lodash/collection/sortBy.js ***! - \***************************************/ -function(e,t,n){function r(e,t,n){if(null==e)return[];n&&u(e,t,n)&&(t=void 0);var r=-1;t=i(t,n,3);var l=o(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}});return a(l,s)}var i=n(134),o=n(223),a=n(486),s=n(492),u=n(65);e.exports=r},/*!***************************************!*\ - !*** ./~/lodash/internal/SetCache.js ***! - \***************************************/ -function(e,t,n){(function(t){function r(e){var t=e?e.length:0;for(this.data={hash:s(null),set:new a};t--;)this.push(e[t])}var i=n(491),o=n(100),a=o(t,"Set"),s=o(Object,"create");r.prototype.push=i,e.exports=r}).call(t,function(){return this}())},/*!***************************************!*\ - !*** ./~/lodash/internal/arrayMap.js ***! - \***************************************/ -function(e,t){function n(e,t){for(var n=-1,r=e.length,i=Array(r);++nt&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}e.exports=n},/*!****************************************!*\ - !*** ./~/lodash/internal/baseForIn.js ***! - \****************************************/ -function(e,t,n){function r(e,t){return i(e,t,o)}var i=n(220),o=n(142);e.exports=r},/*!**********************************************!*\ - !*** ./~/lodash/internal/baseIsEqualDeep.js ***! - \**********************************************/ -function(e,t,n){function r(e,t,n,r,f,m,v){var g=s(e),y=s(t),E=c,b=c;g||(E=h.call(e),E==l?E=p:E!=p&&(g=u(e))),y||(b=h.call(t),b==l?b=p:b!=p&&(y=u(t)));var x=E==p,D=b==p,C=E==b;if(C&&!g&&!x)return o(e,t,E);if(!f){var A=x&&d.call(e,"__wrapped__"),w=D&&d.call(t,"__wrapped__");if(A||w)return n(A?e.value():e,w?t.value():t,r,f,m,v)}if(!C)return!1;m||(m=[]),v||(v=[]);for(var S=m.length;S--;)if(m[S]==e)return v[S]==t;m.push(e),v.push(t);var _=(g?i:a)(e,t,n,r,f,m,v);return m.pop(),v.pop(),_}var i=n(498),o=n(499),a=n(500),s=n(13),u=n(141),l="[object Arguments]",c="[object Array]",p="[object Object]",f=Object.prototype,d=f.hasOwnProperty,h=f.toString;e.exports=r},/*!******************************************!*\ - !*** ./~/lodash/internal/baseIsMatch.js ***! - \******************************************/ -function(e,t,n){function r(e,t,n){var r=t.length,a=r,s=!n;if(null==e)return!a;for(e=o(e);r--;){var u=t[r];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++r=s,p=c?a():null,f=[];p?(r=o,l=!1):(c=!1,p=t?[]:f);e:for(;++nl))return!1;for(;++un?0:+n||0,e.length),e.lastIndexOf(t,n)==n}var i=n(137),o=Math.min;e.exports=r},/*!**************************************!*\ - !*** ./~/lodash/utility/property.js ***! - \**************************************/ -function(e,t,n){function r(e){return a(e)?i(e):o(e)}var i=n(224),o=n(485),a=n(139);e.exports=r},/*!**********************************!*\ - !*** ./~/minimatch/minimatch.js ***! - \**********************************/ -function(e,t,n){function r(e){return e.split("").reduce(function(e,t){return e[t]=!0,e},{})}function i(e,t){return t=t||{},function(n,r,i){return a(n,e,t)}}function o(e,t){e=e||{},t=t||{};var n={};return Object.keys(t).forEach(function(e){n[e]=t[e]}),Object.keys(e).forEach(function(t){n[t]=e[t]}),n}function a(e,t,n){if("string"!=typeof t)throw new TypeError("glob pattern string required");return n||(n={}),n.nocomment||"#"!==t.charAt(0)?""===t.trim()?""===e:new s(t,n).match(e):!1}function s(e,t){if(!(this instanceof s))return new s(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==v.sep&&(e=e.split(v.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function u(){if(!this._made){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error),this.debug(this.pattern,n),n=this.globParts=n.map(function(e){return e.split(w)}),this.debug(this.pattern,n),n=n.map(function(e,t,n){return e.map(this.parse,this)},this),this.debug(this.pattern,n),n=n.filter(function(e){return-1===e.indexOf(!1)}),this.debug(this.pattern,n),this.set=n}}function l(){var e=this.pattern,t=!1,n=this.options,r=0;if(!n.nonegate){for(var i=0,o=e.length;o>i&&"!"===e.charAt(i);i++)t=!t,r++;r&&(this.pattern=e.substr(r)),this.negate=t}}function c(e,t){if(t||(t=this instanceof s?this.options:{}),e="undefined"==typeof e?this.pattern:e,"undefined"==typeof e)throw new Error("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:E(e)}function p(e,t){function n(){if(o){switch(o){case"*":s+=x,u=!0;break;case"?":s+=b,u=!0;break;default:s+="\\"+o}g.debug("clearStateChar %j %j",o,s),o=!1}}var r=this.options;if(!r.noglobstar&&"**"===e)return y;if(""===e)return"";for(var i,o,a,s="",u=!!r.nocase,l=!1,c=[],p=[],f=!1,d=-1,m=-1,v="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=this,E=0,D=e.length;D>E&&(a=e.charAt(E));E++)if(this.debug("%s %s %s %j",e,E,s,a),l&&A[a])s+="\\"+a,l=!1;else switch(a){case"/":return!1;case"\\":n(),l=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,E,s,a),f){this.debug(" in class"),"!"===a&&E===m+1&&(a="^"),s+=a;continue}g.debug("call clearStateChar %j",o),n(),o=a,r.noext&&n();continue;case"(":if(f){s+="(";continue}if(!o){s+="\\(";continue}i=o,c.push({type:i,start:E-1,reStart:s.length}),s+="!"===o?"(?:(?!(?:":"(?:",this.debug("plType %j %j",o,s),o=!1;continue;case")":if(f||!c.length){s+="\\)";continue}n(),u=!0,s+=")";var C=c.pop();switch(i=C.type){case"!":p.push(C),s+=")[^/]*?)",C.reEnd=s.length;break;case"?":case"+":case"*":s+=i;break;case"@":}continue;case"|":if(f||!c.length||l){s+="\\|",l=!1;continue}n(),s+="|";continue;case"[":if(n(),f){s+="\\"+a;continue}f=!0,m=E,d=s.length,s+=a;continue;case"]":if(E===m+1||!f){s+="\\"+a,l=!1;continue}if(f){var w=e.substring(m+1,E);try{RegExp("["+w+"]")}catch(_){var F=this.parse(w,S);s=s.substr(0,d)+"\\["+F[0]+"\\]",u=u||F[1],f=!1;continue}}u=!0,f=!1,s+=a;continue;default:n(),l?l=!1:!A[a]||"^"===a&&f||(s+="\\"),s+=a}for(f&&(w=e.substr(m+1),F=this.parse(w,S),s=s.substr(0,d)+"\\["+F[0],u=u||F[1]),C=c.pop();C;C=c.pop()){var N=s.slice(C.reStart+3);N=N.replace(/((?:\\{2})*)(\\?)\|/g,function(e,t,n){return n||(n="\\"),t+t+n+"|"}),this.debug("tail=%j\n %s",N,N);var k="*"===C.type?x:"?"===C.type?b:"\\"+C.type;u=!0,s=s.slice(0,C.reStart)+k+"\\("+N}n(),l&&(s+="\\\\");var T=!1;switch(s.charAt(0)){case".":case"[":case"(":T=!0}for(var P=p.length-1;P>-1;P--){var O=p[P],I=s.slice(0,O.reStart),M=s.slice(O.reStart,O.reEnd-8),B=s.slice(O.reEnd-8,O.reEnd),R=s.slice(O.reEnd);B+=R;var L=I.split("(").length-1,j=R;for(E=0;L>E;E++)j=j.replace(/\)[+*?]?/,"");R=j;var V="";""===R&&t!==S&&(V="$");var U=I+M+R+V+B;s=U}if(""!==s&&u&&(s="(?=.)"+s),T&&(s=v+s),t===S)return[s,u];if(!u)return h(e);var W=r.nocase?"i":"",H=new RegExp("^"+s+"$",W);return H._glob=e,H._src=s,H}function f(){if(this.regexp||this.regexp===!1)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,n=t.noglobstar?x:t.dot?D:C,r=t.nocase?"i":"",i=e.map(function(e){return e.map(function(e){return e===y?n:"string"==typeof e?m(e):e._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,r)}catch(o){this.regexp=!1}return this.regexp}function d(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var n=this.options;"/"!==v.sep&&(e=e.split(v.sep).join("/")),e=e.split(w),this.debug(this.pattern,"split",e);var r=this.set;this.debug(this.pattern,"set",r);var i,o;for(o=e.length-1;o>=0&&!(i=e[o]);o--);for(o=0;oi&&s>o;i++,o++){this.debug("matchOne loop");var u=t[o],l=e[i];if(this.debug(t,u,l),u===!1)return!1;if(u===y){this.debug("GLOBSTAR",[t,u,l]);var c=i,p=o+1;if(p===s){for(this.debug("** at the end");a>i;i++)if("."===e[i]||".."===e[i]||!r.dot&&"."===e[i].charAt(0))return!1;return!0}for(;a>c;){var f=e[c];if(this.debug("\nglobstar while",e,c,t,p,f),this.matchOne(e.slice(c),t.slice(p),n))return this.debug("globstar found match!",c,a,f),!0;if("."===f||".."===f||!r.dot&&"."===f.charAt(0)){this.debug("dot detected!",e,c,t,p);break}this.debug("globstar swallow a segment, and continue"),c++}return!(!n||(this.debug("\n>>> no match, partial?",e,c,t,p),c!==a))}var d;if("string"==typeof u?(d=r.nocase?l.toLowerCase()===u.toLowerCase():l===u,this.debug("string match",u,l,d)):(d=l.match(u),this.debug("pattern match",u,l,d)),!d)return!1}if(i===a&&o===s)return!0;if(i===a)return n;if(o===s){var h=i===a-1&&""===e[i];return h}throw new Error("wtf?")}},/*!***********************!*\ - !*** ./~/ms/index.js ***! - \***********************/ -function(e,t){function n(e){if(e=""+e,!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*c;case"days":case"day":case"d":return n*l;case"hours":case"hour":case"hrs":case"hr":case"h":return n*u;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}}function r(e){return e>=l?Math.round(e/l)+"d":e>=u?Math.round(e/u)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function i(e){return o(e,l,"day")||o(e,u,"hour")||o(e,s,"minute")||o(e,a,"second")||e+" ms"}function o(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var a=1e3,s=60*a,u=60*s,l=24*u,c=365.25*l;e.exports=function(e,t){return t=t||{},"string"==typeof e?n(e):t["long"]?i(e):r(e)}},/*!**********************************!*\ - !*** ./~/number-is-nan/index.js ***! - \**********************************/ -function(e,t){"use strict";e.exports=Number.isNaN||function(e){return e!==e}},/*!********************************!*\ - !*** ./~/path-exists/index.js ***! - \********************************/ -function(e,t,n){"use strict";var r=n(40);e.exports=function(e,t){var n="function"==typeof r.access?r.access:r.stat;n(e,function(e){t(null,!e)})},e.exports.sync=function(e){var t="function"==typeof r.accessSync?r.accessSync:r.statSync;try{return t(e),!0}catch(n){return!1}}},/*!*************************************!*\ - !*** ./~/path-is-absolute/index.js ***! - \*************************************/ -function(e,t,n){(function(t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,n=t.exec(e),r=n[1]||"",i=!!r&&":"!==r.charAt(1);return!!n[2]||i}e.exports="win32"===t.platform?r:n,e.exports.posix=n,e.exports.win32=r}).call(t,n(18))},/*!************************************************************!*\ - !*** ./~/regexpu-core/data/character-class-escape-sets.js ***! - \************************************************************/ -function(e,t,n){var r=n(236);t.REGULAR={d:r().addRange(48,57),D:r().addRange(0,47).addRange(58,65535),s:r(32,160,5760,6158,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,6157).addRange(6159,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535),w:r(95).addRange(48,57).addRange(65,90).addRange(97,122),W:r(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)},t.UNICODE={d:r().addRange(48,57),D:r().addRange(0,47).addRange(58,1114111),s:r(32,160,5760,6158,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,6157).addRange(6159,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:r(95).addRange(48,57).addRange(65,90).addRange(97,122),W:r(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)},t.UNICODE_IGNORE_CASE={d:r().addRange(48,57),D:r().addRange(0,47).addRange(58,1114111),s:r(32,160,5760,6158,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,6157).addRange(6159,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:r(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122),W:r(75,83,96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)}},/*!*******************************************!*\ - !*** ./~/regexpu-core/rewrite-pattern.js ***! - \*******************************************/ -function(e,t,n){function r(e){return C?D?m.UNICODE_IGNORE_CASE[e]:m.UNICODE[e]:m.REGULAR[e]}function i(e,t){return g.call(e,t)}function o(e,t){for(var n in t)e[n]=t[n]}function a(e,t){if(t){var n=f(t,"");switch(n.type){case"characterClass":case"group":case"value":break;default:n=s(n,t)}o(e,n)}}function s(e,t){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+t+")"}}function u(e){return i(h,e)?h[e]:!1}function l(e){var t=d();e.body.forEach(function(e){switch(e.type){case"value":if(t.add(e.codePoint),D&&C){var n=u(e.codePoint);n&&t.add(n)}break;case"characterClassRange":var i=e.min.codePoint,o=e.max.codePoint;t.addRange(i,o),D&&C&&t.iuAddRange(i,o);break;case"characterClassEscape":t.add(r(e.value));break;default:throw Error("Unknown term type: "+e.type)}});return e.negative&&(t=(C?y:E).clone().remove(t)),a(e,t.toString()),e}function c(e){switch(e.type){case"dot":a(e,(C?b:x).toString());break;case"characterClass":e=l(e);break;case"characterClassEscape":a(e,r(e.value).toString());break;case"alternative":case"disjunction":case"group":case"quantifier":e.body=e.body.map(c);break;case"value":var t=e.codePoint,n=d(t);if(D&&C){var i=u(t);i&&n.add(i)}a(e,n.toString());break;case"anchor":case"empty":case"group":case"reference":break;default:throw Error("Unknown term type: "+e.type)}return e}var p=n(524).generate,f=n(525).parse,d=n(236),h=n(465),m=n(522),v={},g=v.hasOwnProperty,y=d().addRange(0,1114111),E=d().addRange(0,65535),b=y.clone().remove(10,13,8232,8233),x=b.clone().intersection(E);d.prototype.iuAddRange=function(e,t){var n=this;do{var r=u(e);r&&n.add(r)}while(++e<=t);return n};var D=!1,C=!1;e.exports=function(e,t){var n=f(e,t);return D=t?t.indexOf("i")>-1:!1,C=t?t.indexOf("u")>-1:!1,o(n,c(n)),p(n)}},/*!********************************!*\ - !*** ./~/regjsgen/regjsgen.js ***! - \********************************/ -function(e,t,n){var r;(function(e,i){(function(){"use strict";function o(){var e,t,n=16384,r=[],i=-1,o=arguments.length;if(!o)return"";for(var a="";++is||s>1114111||F(s)!=s)throw RangeError("Invalid code point: "+s);65535>=s?r.push(s):(s-=65536,e=(s>>10)+55296,t=s%1024+56320,r.push(e,t)),(i+1==o||r.length>n)&&(a+=_.apply(null,r),r.length=0)}return a}function a(e,t){if(-1==t.indexOf("|")){if(e==t)return;throw Error("Invalid node type: "+e)}if(t=a.hasOwnProperty(t)?a[t]:a[t]=RegExp("^(?:"+t+")$"),!t.test(e))throw Error("Invalid node type: "+e)}function s(e){var t=e.type;if(s.hasOwnProperty(t)&&"function"==typeof s[t])return s[t](e);throw Error("Invalid node type: "+t)}function u(e){a(e.type,"alternative");var t=e.body,n=t?t.length:0;if(1==n)return b(t[0]);for(var r=-1,i="";++r=55296&&56319>=n&&(r=x().charCodeAt(0),r>=56320&&57343>=r))return $++,o("symbol",1024*(n-55296)+r-56320+65536,$-2,$)}return o("symbol",n,$-1,$)}function u(e,t,r){return n({type:"disjunction",body:e,range:[t,r]})}function l(){return n({type:"dot",range:[$-1,$]})}function c(e){return n({type:"characterClassEscape",value:e,range:[$-2,$]})}function p(e){return n({type:"reference",matchIndex:parseInt(e,10),range:[$-1-e.length,$]})}function f(e,t,r,i){return n({type:"group",behavior:e,body:t,range:[r,i]})}function d(e,t,r,i){return null==i&&(r=$-1,i=$),n({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[r,i]})}function h(e,t,r){return n({type:"alternative",body:e,range:[t,r]})}function m(e,t,r,i){return n({type:"characterClass",body:e,negative:t,range:[r,i]})}function v(e,t,r,i){return e.codePoint>t.codePoint&&z("invalid range in character class",e.raw+"-"+t.raw,r,i),n({type:"characterClassRange",min:e,max:t,range:[r,i]})}function g(e){return"alternative"===e.type?e.body:[e]}function y(t){t=t||1;var n=e.substring($,$+t);return $+=t||1,n}function E(e){b(e)||z("character",e)}function b(t){return e.indexOf(t,$)===$?y(t.length):void 0}function x(){return e[$]}function D(t){return e.indexOf(t,$)===$}function C(t){return e[$+1]===t}function A(t){var n=e.substring($),r=n.match(t);return r&&(r.range=[],r.range[0]=$,y(r[0].length),r.range[1]=$),r}function w(){var e=[],t=$;for(e.push(S());b("|");)e.push(S());return 1===e.length?e[0]:u(e,t,$)}function S(){for(var e,t=[],n=$;e=_();)t.push(e);return 1===t.length?t[0]:h(t,n,$)}function _(){if($>=e.length||D("|")||D(")"))return null;var t=N();if(t)return t;var n=T();n||z("Expected atom");var i=k()||!1;return i?(i.body=g(n),r(i,n.range[0]),i):n}function F(e,t,n,r){var i=null,o=$;if(b(e))i=t;else{if(!b(n))return!1;i=r}var a=w();a||z("Expected disjunction"),E(")");var s=f(i,g(a),o,$);return"normal"==i&&J&&K++,s}function N(){return b("^")?i("start",1):b("$")?i("end",1):b("\\b")?i("boundary",2):b("\\B")?i("not-boundary",2):F("(?=","lookahead","(?!","negativeLookahead")}function k(){var e,t,n,r,i=$;return b("*")?t=d(0):b("+")?t=d(1):b("?")?t=d(0,1):(e=A(/^\{([0-9]+)\}/))?(n=parseInt(e[1],10),t=d(n,n,e.range[0],e.range[1])):(e=A(/^\{([0-9]+),\}/))?(n=parseInt(e[1],10),t=d(n,void 0,e.range[0],e.range[1])):(e=A(/^\{([0-9]+),([0-9]+)\}/))&&(n=parseInt(e[1],10),r=parseInt(e[2],10),n>r&&z("numbers out of order in {} quantifier","",i,$),t=d(n,r,e.range[0],e.range[1])),t&&b("?")&&(t.greedy=!1,t.range[1]+=1),t}function T(){var e;return(e=A(/^[^^$\\.*+?(){[|]/))?s(e):b(".")?l():b("\\")?(e=I(),e||z("atomEscape"),e):(e=j())?e:F("(?:","ignore","(","normal")}function P(e){if(X){var t,r;if("unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&56319>=t&&D("\\")&&C("u")){var i=$;$++;var o=O();"unicodeEscape"==o.kind&&(r=o.codePoint)>=56320&&57343>=r?(e.range[1]=o.range[1],e.codePoint=1024*(t-55296)+r-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",n(e)):$=i}}return e}function O(){return I(!0)}function I(e){var t,n=$;if(t=M())return t;if(e){if(b("b"))return a("singleEscape",8,"\\b");b("B")&&z("\\B not possible inside of CharacterClass","",n)}return t=B()}function M(){var e,t;if(e=A(/^(?!0)\d+/)){t=e[0];var n=parseInt(e[0],10);return K>=n?p(e[0]):(Y.push(n),y(-e[0].length),(e=A(/^[0-7]{1,3}/))?a("octal",parseInt(e[0],8),e[0],1):(e=s(A(/^[89]/)),r(e,e.range[0]-1)))}return(e=A(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?a("null",0,"0",t.length+1):a("octal",parseInt(t,8),t,1)):(e=A(/^[dDsSwW]/))?c(e[0]):!1}function B(){var e;if(e=A(/^[fnrtv]/)){var t=0;switch(e[0]){case"t":t=9;break;case"n":t=10;break;case"v":t=11;break;case"f":t=12;break;case"r":t=13}return a("singleEscape",t,"\\"+e[0])}return(e=A(/^c([a-zA-Z])/))?a("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=A(/^x([0-9a-fA-F]{2})/))?a("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=A(/^u([0-9a-fA-F]{4})/))?P(a("unicodeEscape",parseInt(e[1],16),e[1],2)):X&&(e=A(/^u\{([0-9a-fA-F]+)\}/))?a("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):L()}function R(e){var t=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&t.test(String.fromCharCode(e))}function L(){var e,t="‌",n="‍";return R(x())?b(t)?a("identifier",8204,t):b(n)?a("identifier",8205,n):null:(e=y(),a("identifier",e.charCodeAt(0),e,1))}function j(){var e,t=$;return(e=A(/^\[\^/))?(e=V(),E("]"),m(e,!0,t,$)):b("[")?(e=V(),E("]"),m(e,!1,t,$)):null}function V(){var e;return D("]")?[]:(e=W(),e||z("nonEmptyClassRanges"),e)}function U(e){var t,n,r;if(D("-")&&!C("]")){E("-"),r=G(),r||z("classAtom"),n=$;var i=V();return i||z("classRanges"),t=e.range[0],"empty"===i.type?[v(e,r,t,n)]:[v(e,r,t,n)].concat(i)}return r=H(),r||z("nonEmptyClassRangesNoDash"),[e].concat(r)}function W(){var e=G();return e||z("classAtom"),D("]")?[e]:U(e)}function H(){var e=G();return e||z("classAtom"),D("]")?e:U(e)}function G(){return b("-")?s("-"):q()}function q(){var e;return(e=A(/^[^\\\]-]/))?s(e[0]):b("\\")?(e=O(),e||z("classEscape"),P(e)):void 0}function z(t,n,r,i){r=null==r?$:r,i=null==i?r:i;var o=Math.max(0,r-10),a=Math.min(i+10,e.length),s=" "+e.substring(o,a),u=" "+new Array(r-o+1).join(" ")+"^";throw SyntaxError(t+" at position "+r+(n?": "+n:"")+"\n"+s+"\n"+u)}var Y=[],K=0,J=!0,X=-1!==(t||"").indexOf("u"),$=0;e=String(e),""===e&&(e="(?:)");var Q=w();Q.range[1]!==e.length&&z("Could not parse entire input - got stuck","",Q.range[1]);for(var Z=0;Z=0&&e=t&&n>=e?e-t:e>=r&&i>=e?e-r+l:e>=o&&a>=e?e-o+c:e==s?62:e==u?63:-1}},/*!*******************************************!*\ - !*** ./~/source-map/lib/binary-search.js ***! - \*******************************************/ -function(e,t){function n(e,r,i,o,a,s){var u=Math.floor((r-e)/2)+e,l=a(i,o[u],!0);return 0===l?u:l>0?r-u>1?n(u,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r1?n(e,u,i,o,a,s):s==t.LEAST_UPPER_BOUND?u:0>e?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,i,o){if(0===r.length)return-1;var a=n(-1,r.length,e,r,i,o||t.GREATEST_LOWER_BOUND);if(0>a)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}},/*!******************************************!*\ - !*** ./~/source-map/lib/mapping-list.js ***! - \******************************************/ -function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=i||o.compareByGeneratedPositionsInflated(e,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var o=n(68);i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(o.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},/*!****************************************!*\ - !*** ./~/source-map/lib/quick-sort.js ***! - \****************************************/ -function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,o,a){if(a>o){var s=r(o,a),u=o-1;n(e,s,a);for(var l=e[a],c=o;a>c;c++)t(e[c],l)<=0&&(u+=1,n(e,u,c));n(e,u+1,c);var p=u+1;i(e,t,o,p-1),i(e,t,p+1,a)}}t.quickSort=function(e,t){i(e,t,0,e.length-1)}},/*!*************************************************!*\ - !*** ./~/source-map/lib/source-map-consumer.js ***! - \*************************************************/ -function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new i(t)}function i(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),r=s.getArg(t,"sources"),i=s.getArg(t,"names",[]),o=s.getArg(t,"sourceRoot",null),a=s.getArg(t,"sourcesContent",null),u=s.getArg(t,"mappings"),c=s.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(s.normalize).map(function(e){return o&&s.isAbsolute(o)&&s.isAbsolute(e)?s.relative(o,e):e}),this._names=l.fromArray(i,!0),this._sources=l.fromArray(r,!0),this.sourceRoot=o,this.sourcesContent=a,this._mappings=u,this.file=c}function o(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),i=s.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new l,this._names=new l;var o={line:-1,column:0};this._sections=i.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=s.getArg(e,"offset"),n=s.getArg(t,"line"),i=s.getArg(t,"column");if(n=0){var o=this._originalMappings[i];if(void 0===e.column)for(var a=o.originalLine;o&&o.originalLine===a;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return r},t.SourceMapConsumer=r,i.prototype=Object.create(r.prototype),i.prototype.consumer=r,i.fromSourceMap=function(e){var t=Object.create(i.prototype),n=t._names=l.fromArray(e._names.toArray(),!0),r=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),u=t.__generatedMappings=[],c=t.__originalMappings=[],f=0,d=a.length;d>f;f++){var h=a[f],m=new o;m.generatedLine=h.generatedLine,m.generatedColumn=h.generatedColumn,h.source&&(m.source=r.indexOf(h.source),m.originalLine=h.originalLine,m.originalColumn=h.originalColumn,h.name&&(m.name=n.indexOf(h.name)),c.push(m)),u.push(m)}return p(t.__originalMappings,s.compareByOriginalPositions),t},i.prototype._version=3,Object.defineProperty(i.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?s.join(this.sourceRoot,e):e},this)}}),i.prototype._parseMappings=function(e,t){for(var n,r,i,a,u,l=1,f=0,d=0,h=0,m=0,v=0,g=e.length,y=0,E={},b={},x=[],D=[];g>y;)if(";"===e.charAt(y))l++,y++,f=0;else if(","===e.charAt(y))y++;else{for(n=new o,n.generatedLine=l,a=y;g>a&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(y,a),i=E[r])y+=r.length;else{for(i=[];a>y;)c.decode(e,y,b),u=b.value,y=b.rest,i.push(u);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");E[r]=i}n.generatedColumn=f+i[0],f=n.generatedColumn,i.length>1&&(n.source=m+i[1],m+=i[1],n.originalLine=d+i[2],d=n.originalLine,n.originalLine+=1,n.originalColumn=h+i[3],h=n.originalColumn,i.length>4&&(n.name=v+i[4],v+=i[4])),D.push(n),"number"==typeof n.originalLine&&x.push(n)}p(D,s.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,p(x,s.compareByOriginalPositions),this.__originalMappings=x},i.prototype._findMapping=function(e,t,n,r,i,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return u.search(e,t,i,o)},i.prototype.computeColumnSpans=function(){for(var e=0;e=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=s.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),null!=this.sourceRoot&&(o=s.join(this.sourceRoot,o)));var a=s.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:s.getArg(i,"originalLine",null),column:s.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},i.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}):!1},i.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=s.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=s.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},i.prototype.generatedPositionFor=function(e){var t=s.getArg(e,"source");if(null!=this.sourceRoot&&(t=s.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var n={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=i,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t0&&(f&&i(f,l()),s.add(u.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),s.setSourceContent(e,r))}),s},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;r>n;n++)t=this.children[n],t[u]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[u]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t][u]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;n>t;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,a=null,u=null,l=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?(o===i.source&&a===i.line&&u===i.column&&l===i.name||n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,a=i.line,u=i.column,l=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1);for(var c=0,p=e.length;p>c;c++)e.charCodeAt(c)===s?(t.line++,t.column=0,c+1===p?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r},/*!*******************************!*\ - !*** ./~/strip-ansi/index.js ***! - \*******************************/ -function(e,t,n){"use strict";var r=n(144)();e.exports=function(e){return"string"==typeof e?e.replace(r,""):e}},/*!***********************************!*\ - !*** ./~/supports-color/index.js ***! - \***********************************/ -function(e,t,n){(function(t){"use strict";var n=t.argv,r=n.indexOf("--"),i=function(e){e="--"+e;var t=n.indexOf(e);return-1!==t&&(-1!==r?r>t:!0)};e.exports=function(){return"FORCE_COLOR"in t.env?!0:i("no-color")||i("no-colors")||i("color=false")?!1:i("color")||i("colors")||i("color=true")||i("color=always")?!0:t.stdout&&!t.stdout.isTTY?!1:"win32"===t.platform?!0:"COLORTERM"in t.env?!0:"dumb"===t.env.TERM?!1:!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(t.env.TERM)}()}).call(t,n(18))},/*!*******************************!*\ - !*** ./~/trim-right/index.js ***! - \*******************************/ -function(e,t){"use strict";e.exports=function(e){for(var t=e.length;/[\s\uFEFF\u00A0]/.test(e[t-1]);)t--;return e.slice(0,t)}},/*!***********************************!*\ - !*** ./~/tty-browserify/index.js ***! - \***********************************/ -function(e,t){function n(){throw new Error("tty.ReadStream is not implemented")}function r(){throw new Error("tty.ReadStream is not implemented")}t.isatty=function(){return!1},t.ReadStream=n,t.WriteStream=r},/*!*******************************************!*\ - !*** ./~/util/support/isBufferBrowser.js ***! - \*******************************************/ -function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},/*!***************************************************************!*\ - !*** template of 393 referencing 52, 1, 2, 46, 45, 47, 38, 6 ***! - \***************************************************************/ -function(e,t,n,r){"use strict";function i(e){var t=arguments.length<=1||void 0===arguments[1]?e.key||e.property:arguments[1];return function(){return e.computed||_.isIdentifier(t)&&(t=_.stringLiteral(t.name)),t}()}function o(e,t){function n(e){for(var o=!1,a=[],s=e,u=0;u=d?a.uid=0:a.uid++}},/*!****************************************!*\ - !*** template of 257 referencing 2, 1 ***! - \****************************************/ -function(e,t,n,r,i,o){"use strict";var a=n(2)["default"],s=n(1)["default"],u=n(r),l=a(u),c=n(i),p=n(o),f=s(p);f["default"]("ArrayExpression",{fields:{elements:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeOrValueType("null","Expression","SpreadElement"))),"default":[]}},visitor:["elements"],aliases:["Expression"]}),f["default"]("AssignmentExpression",{fields:{operator:{validate:p.assertValueType("string")},left:{validate:p.assertNodeType("LVal")},right:{validate:p.assertNodeType("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),f["default"]("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:p.assertOneOf.apply(void 0,c.BINARY_OPERATORS)},left:{validate:p.assertNodeType("Expression")},right:{validate:p.assertNodeType("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),f["default"]("Directive",{visitor:["value"],fields:{value:{validate:p.assertNodeType("DirectiveLiteral")}}}),f["default"]("DirectiveLiteral",{builder:["value"],fields:{value:{validate:p.assertValueType("string")}}}),f["default"]("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Directive"))),"default":[]},body:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),f["default"]("BreakStatement",{visitor:["label"],fields:{label:{validate:p.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),f["default"]("CallExpression",{visitor:["callee","arguments"],fields:{callee:{validate:p.assertNodeType("Expression")},arguments:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Expression","SpreadElement")))}},aliases:["Expression"]}),f["default"]("CatchClause",{visitor:["param","body"],fields:{param:{validate:p.assertNodeType("Identifier")},body:{validate:p.assertNodeType("BlockStatement")}},aliases:["Scopable"]}),f["default"]("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:p.assertNodeType("Expression")},consequent:{validate:p.assertNodeType("Expression")},alternate:{validate:p.assertNodeType("Expression")}},aliases:["Expression","Conditional"]}),f["default"]("ContinueStatement",{visitor:["label"],fields:{label:{validate:p.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),f["default"]("DebuggerStatement",{aliases:["Statement"]}),f["default"]("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:p.assertNodeType("Expression")},body:{validate:p.assertNodeType("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),f["default"]("EmptyStatement",{aliases:["Statement"]}),f["default"]("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:p.assertNodeType("Expression")}},aliases:["Statement","ExpressionWrapper"]}),f["default"]("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:p.assertNodeType("Program")}}}),f["default"]("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:p.assertNodeType("VariableDeclaration","LVal")},right:{validate:p.assertNodeType("Expression")},body:{validate:p.assertNodeType("Statement")}}}),f["default"]("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:p.assertNodeType("VariableDeclaration","Expression"),optional:!0},test:{validate:p.assertNodeType("Expression"),optional:!0},update:{validate:p.assertNodeType("Expression"),optional:!0},body:{validate:p.assertNodeType("Statement")}}}),f["default"]("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:{id:{validate:p.assertNodeType("Identifier")},params:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("LVal")))},body:{validate:p.assertNodeType("BlockStatement")},generator:{"default":!1,validate:p.assertValueType("boolean")},async:{"default":!1,validate:p.assertValueType("boolean")}},aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),f["default"]("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{id:{validate:p.assertNodeType("Identifier"),optional:!0},params:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("LVal")))},body:{validate:p.assertNodeType("BlockStatement")},generator:{"default":!1,validate:p.assertValueType("boolean")},async:{"default":!1,validate:p.assertValueType("boolean")}}}),f["default"]("Identifier",{builder:["name"],visitor:["typeAnnotation"],aliases:["Expression","LVal"],fields:{name:{validate:function(e,t,n){!l.isValidIdentifier(n)}}}}),f["default"]("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:p.assertNodeType("Expression")},consequent:{validate:p.assertNodeType("Statement")},alternate:{optional:!0,validate:p.assertNodeType("Statement")}}}),f["default"]("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:p.assertNodeType("Identifier")},body:{validate:p.assertNodeType("Statement")}}}),f["default"]("StringLiteral",{builder:["value"],fields:{value:{validate:p.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),f["default"]("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:p.assertValueType("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),f["default"]("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),f["default"]("BooleanLiteral",{builder:["value"],fields:{value:{validate:p.assertValueType("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),f["default"]("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:p.assertValueType("string")},flags:{validate:p.assertValueType("string"),"default":""}}}),f["default"]("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:p.assertOneOf.apply(void 0,c.LOGICAL_OPERATORS)},left:{validate:p.assertNodeType("Expression")},right:{validate:p.assertNodeType("Expression")}}}),f["default"]("MemberExpression",{builder:["object","property","computed"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:p.assertNodeType("Expression")},property:{validate:function(e,t,n){var r=e.computed?"Expression":"Identifier";p.assertNodeType(r)(e,t,n)}},computed:{"default":!1}}}),f["default"]("NewExpression",{visitor:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:p.assertNodeType("Expression")},arguments:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Expression","SpreadElement")))}}}),f["default"]("Program",{visitor:["directives","body"],builder:["body","directives"],fields:{directives:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Directive"))),"default":[]},body:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Statement")))}},aliases:["Scopable","BlockParent","Block","FunctionParent"]}),f["default"]("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("ObjectMethod","ObjectProperty","SpreadProperty")))}}}),f["default"]("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:{kind:{validate:p.chain(p.assertValueType("string"),p.assertOneOf("method","get","set")),"default":"method"},computed:{validate:p.assertValueType("boolean"),"default":!1},key:{validate:function(e,t,n){var r=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];p.assertNodeType.apply(void 0,r)(e,t,n)}},decorators:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Decorator")))},body:{validate:p.assertNodeType("BlockStatement")},generator:{"default":!1,validate:p.assertValueType("boolean")},async:{"default":!1,validate:p.assertValueType("boolean")}},visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),f["default"]("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:p.assertValueType("boolean"),"default":!1},key:{validate:function(e,t,n){var r=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];p.assertNodeType.apply(void 0,r)(e,t,n)}},value:{validate:p.assertNodeType("Expression")},shorthand:{validate:p.assertValueType("boolean"),"default":!1},decorators:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),f["default"]("RestElement",{visitor:["argument","typeAnnotation"],aliases:["LVal"],fields:{argument:{validate:p.assertNodeType("LVal")}}}),f["default"]("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:p.assertNodeType("Expression"),optional:!0}}}),f["default"]("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Expression")))}},aliases:["Expression"]}),f["default"]("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:p.assertNodeType("Expression"),optional:!0},consequent:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("Statement")))}}}),f["default"]("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:p.assertNodeType("Expression")},cases:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("SwitchCase")))}}}),f["default"]("ThisExpression",{aliases:["Expression"]}),f["default"]("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:p.assertNodeType("Expression")}}}),f["default"]("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{body:{validate:p.assertNodeType("BlockStatement")},handler:{optional:!0,handler:p.assertNodeType("BlockStatement")},finalizer:{optional:!0,validate:p.assertNodeType("BlockStatement")}}}),f["default"]("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{"default":!0},argument:{validate:p.assertNodeType("Expression")},operator:{validate:p.assertOneOf.apply(void 0,c.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),f["default"]("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{"default":!1},argument:{validate:p.assertNodeType("Expression")},operator:{validate:p.assertOneOf.apply(void 0,c.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),f["default"]("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{kind:{validate:p.chain(p.assertValueType("string"),p.assertOneOf("var","let","const"))},declarations:{validate:p.chain(p.assertValueType("array"),p.assertEach(p.assertNodeType("VariableDeclarator")))}}}),f["default"]("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:p.assertNodeType("LVal")},init:{optional:!0,validate:p.assertNodeType("Expression")}}}),f["default"]("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:p.assertNodeType("Expression")},body:{validate:p.assertNodeType("BlockStatement","Statement")}}}),f["default"]("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{object:p.assertNodeType("Expression")},body:{validate:p.assertNodeType("BlockStatement","Statement")}}})},/*!*************************************!*\ - !*** template of 258 referencing 1 ***! - \*************************************/ -function(e,t,n,r){"use strict";var i=n(1)["default"],o=n(r),a=i(o);a["default"]("AssignmentPattern",{visitor:["left","right"],aliases:["Pattern","LVal"],fields:{left:{validate:o.assertNodeType("Identifier")},right:{validate:o.assertNodeType("Expression")}}}),a["default"]("ArrayPattern",{visitor:["elements","typeAnnotation"],aliases:["Pattern","LVal"],fields:{elements:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("Expression")))}}}),a["default"]("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{params:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("LVal")))},body:{validate:o.assertNodeType("BlockStatement","Expression")},async:{validate:o.assertValueType("boolean"),"default":!1}}}),a["default"]("ClassBody",{visitor:["body"],fields:{body:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("ClassMethod","ClassProperty")))}}}),a["default"]("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:{id:{validate:o.assertNodeType("Identifier")},body:{validate:o.assertNodeType("ClassBody")},superClass:{optional:!0,validate:o.assertNodeType("Expression")},decorators:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("Decorator")))}}}),a["default"]("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:{id:{optional:!0,validate:o.assertNodeType("Identifier")},body:{validate:o.assertNodeType("ClassBody")},superClass:{optional:!0,validate:o.assertNodeType("Expression")},decorators:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("Decorator")))}}}),a["default"]("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:o.assertNodeType("StringLiteral")}}}),a["default"]("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:o.assertNodeType("FunctionDeclaration","ClassDeclaration","Expression")}}}),a["default"]("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:o.assertNodeType("Declaration"),optional:!0},specifiers:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("ExportSpecifier")))},source:{validate:o.assertNodeType("StringLiteral"),optional:!0}}}),a["default"]("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:o.assertNodeType("Identifier")},exported:{validate:o.assertNodeType("Identifier")}}}),a["default"]("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:o.assertNodeType("VariableDeclaration","LVal")},right:{validate:o.assertNodeType("Expression")},body:{validate:o.assertNodeType("Statement")}}}),a["default"]("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:o.assertNodeType("StringLiteral")}}}),a["default"]("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:o.assertNodeType("Identifier")}}}),a["default"]("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:o.assertNodeType("Identifier")}}}),a["default"]("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:o.assertNodeType("Identifier")},imported:{validate:o.assertNodeType("Identifier")}}}),a["default"]("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:o.assertValueType("string")},property:{validate:o.assertValueType("string")}}}),a["default"]("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:{kind:{validate:o.chain(o.assertValueType("string"),o.assertOneOf("get","set","method","constructor")),"default":"method"},computed:{"default":!1,validate:o.assertValueType("boolean")},"static":{"default":!1,validate:o.assertValueType("boolean")},key:{validate:function(e,t,n){var r=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];o.assertNodeType.apply(void 0,r)(e,t,n)}},params:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("LVal")))},body:{validate:o.assertNodeType("BlockStatement")},generator:{"default":!1,validate:o.assertValueType("boolean")},async:{"default":!1,validate:o.assertValueType("boolean")}}}),a["default"]("ObjectPattern",{visitor:["properties","typeAnnotation"],aliases:["Pattern","LVal"],fields:{properties:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("RestProperty","Property")))}}}),a["default"]("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:o.assertNodeType("Expression")}}}),a["default"]("Super",{aliases:["Expression"]}),a["default"]("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:o.assertNodeType("Expression")},quasi:{validate:o.assertNodeType("TemplateLiteral")}}}),a["default"]("TemplateElement",{builder:["value","tail"],fields:{value:{},tail:{validate:o.assertValueType("boolean"),"default":!1}}}),a["default"]("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("TemplateElement")))},expressions:{validate:o.chain(o.assertValueType("array"),o.assertEach(o.assertNodeType("Expression")))}}}),a["default"]("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:o.assertValueType("boolean"),"default":!1},argument:{optional:!0,validate:o.assertNodeType("Expression")}}})},/*!*************************************!*\ - !*** template of 259 referencing 1 ***! - \*************************************/ -function(e,t,n,r){"use strict";var i=n(1)["default"],o=n(r),a=i(o);a["default"]("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:o.assertNodeType("Expression")}}}),a["default"]("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),a["default"]("Decorator",{visitor:["expression"],fields:{expression:{validate:o.assertNodeType("Expression")}}}),a["default"]("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:o.assertNodeType("BlockStatement")}}}),a["default"]("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:o.assertNodeType("Identifier")}}}),a["default"]("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:o.assertNodeType("Identifier")}}}),a["default"]("RestProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:o.assertNodeType("LVal")}}}),a["default"]("SpreadProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:o.assertNodeType("Expression")}}})},/*!*************************************!*\ - !*** template of 260 referencing 1 ***! - \*************************************/ -function(e,t,n,r){"use strict";var i=n(1)["default"],o=n(r),a=i(o);a["default"]("AnyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),a["default"]("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow"],fields:{}}),a["default"]("BooleanTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),a["default"]("BooleanLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),a["default"]("NullLiteralTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),a["default"]("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),a["default"]("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],aliases:["Flow","Property"],fields:{}}),a["default"]("DeclareClass",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("DeclareInterface",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("DeclareModule",{visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("ExistentialTypeParam",{aliases:["Flow"]}),a["default"]("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow"],fields:{}}),a["default"]("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{}}),a["default"]("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),a["default"]("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),a["default"]("InterfaceDeclaration",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),a["default"]("MixedTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),a["default"]("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),a["default"]("NumericLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),a["default"]("NumberTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),a["default"]("StringLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),a["default"]("StringTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),a["default"]("ThisTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),a["default"]("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),a["default"]("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow"],fields:{}}),a["default"]("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),a["default"]("TypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),a["default"]("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{}}),a["default"]("TypeParameterDeclaration",{visitor:["params"],aliases:["Flow"],fields:{}}),a["default"]("TypeParameterInstantiation",{visitor:["params"],aliases:["Flow"],fields:{}}),a["default"]("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties"],aliases:["Flow"],fields:{}}),a["default"]("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{}}),a["default"]("ObjectTypeIndexer",{visitor:["id","key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),a["default"]("ObjectTypeProperty",{visitor:["key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),a["default"]("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{}}),a["default"]("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),a["default"]("VoidTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}})},/*!***************************************!*\ - !*** template of 23 referencing 4, 2 ***! - \***************************************/ -function(e,t,n,r){"use strict";function i(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":typeof e}function o(e){function t(t,n,r){if(Array.isArray(r))for(var i=0;ir;r++)n[r]=arguments[r];return e.oneOf=n,e}function s(){function e(e,t,r){for(var i=!1,o=n,a=Array.isArray(o),s=0,o=a?o:f(o);;){var u;if(a){if(s>=o.length)break;u=o[s++]}else{if(s=o.next(),s.done)break;u=s.value}var l=u;if(m.is(l,r)){i=!0;break}}if(!i)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+JSON.stringify(n)+" but instead got "+JSON.stringify(r&&r.type))}for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.oneOfNodeTypes=n,e}function u(){function e(e,t,r){for(var o=!1,a=n,s=Array.isArray(a),u=0,a=s?a:f(a);;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;if(i(r)===c||m.is(c,r)){o=!0;break}}if(!o)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+JSON.stringify(n)+" but instead got "+JSON.stringify(r&&r.type))}for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.oneOfNodeOrValueTypes=n,e}function l(e){function t(t,n,r){var o=i(r)===e;if(!o)throw new TypeError("Property "+n+" expected type of "+e+" but got "+i(r))}return t.type=e,t}function c(){function e(){for(var e=n,t=Array.isArray(e),r=0,e=t?e:f(e);;){var i;if(t){if(r>=e.length)break;i=e[r++]}else{if(r=e.next(),r.done)break;i=r.value}var o=i;o.apply(void 0,arguments)}}for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.chainOf=n,e}function p(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.inherits&&x[t.inherits]||{};t.fields=t.fields||n.fields||{},t.visitor=t.visitor||n.visitor||[],t.aliases=t.aliases||n.aliases||[],t.builder=t.builder||n.builder||t.visitor||[],t.deprecatedAlias&&(b[t.deprecatedAlias]=e);for(var r=t.visitor.concat(t.builder),o=0;o=0)){if(l.isAnyTypeAnnotation(s))return[s];if(l.isFlowBaseAnnotation(s))n[s.type]=s;else if(l.isUnionTypeAnnotation(s))r.indexOf(s.types)<0&&(e=e.concat(s.types),r.push(s.types));else if(l.isGenericTypeAnnotation(s)){var u=s.id.name;if(t[u]){var c=t[u];c.typeParameters?s.typeParameters&&(c.typeParameters.params=o(c.typeParameters.params.concat(s.typeParameters.params))):c=s.typeParameters}else t[u]=s}else i.push(s)}}for(var p in n)i.push(n[p]);for(var f in t)i.push(t[f]);return i}function a(e){if("string"===e)return l.stringTypeAnnotation();if("number"===e)return l.numberTypeAnnotation();if("undefined"===e)return l.voidTypeAnnotation();if("boolean"===e)return l.booleanTypeAnnotation();if("function"===e)return l.genericTypeAnnotation(l.identifier("Function"));if("object"===e)return l.genericTypeAnnotation(l.identifier("Object"));if("symbol"===e)return l.genericTypeAnnotation(l.identifier("Symbol"));throw new Error("Invalid typeof value")}var s=n(2)["default"];t.__esModule=!0,t.createUnionTypeAnnotation=i,t.removeTypeDuplicates=o,t.createTypeAnnotationBasedOnTypeof=a;var u=n(r),l=s(u)},/*!*****************************************************************************!*\ - !*** template of 11 referencing 14, 4, 1, 2, 54, 55, 69, 62, 34, 31, 63, 6 ***! - \*****************************************************************************/ -function(e,t,n,r,i,o,a,s,u,l,c){"use strict";function p(e){var t=$["is"+e]=function(t,n){return $.is(e,t,n)};$["assert"+e]=function(n,r){if(r=r||{},!t(n,r))throw new Error("Expected type "+JSON.stringify(e)+" with option "+JSON.stringify(r))}}function f(e,t,n){if(!t)return!1;var r=d(t.type,e);return r?"undefined"==typeof n?!0:$.shallowEqual(t,n):!1}function d(e,t){if(e===t)return!0;if($.ALIAS_KEYS[t])return!1;var n=$.FLIPPED_ALIAS_KEYS[t];if(n){if(n[0]===e)return!0;for(var r=n,i=Array.isArray(r),o=0,r=i?r:O(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if(e===s)return!0}}return!1}function h(e,t,n){if(e){var r=$.NODE_FIELDS[e.type];if(r){var i=r[t];i&&i.validate&&(i.optional&&null==n||i.validate(e,t,n))}}}function m(e,t){for(var n=P(t),r=n,i=0;in.length)return!1}return!0}}function C(e){for(var t=$.COMMENT_KEYS,n=Array.isArray(t),r=0,t=n?t:O(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;delete e[o]}return e}function A(e,t){return w(e,t),S(e,t),_(e,t),e}function w(e,t){F("trailingComments",e,t)}function S(e,t){F("leadingComments",e,t)}function _(e,t){F("innerComments",e,t)}function F(e,t,n){t&&n&&(t[e]=Y["default"](U["default"]([].concat(t[e],n[e]))))}function N(e,t){if(!e||!t)return e;for(var n=$.INHERIT_KEYS.optional,r=0;re.length)throw new Error("t."+t+": Too many arguments passed. Received "+arguments.length+" but can receive no more than "+e.length);var n={};n.type=t;for(var r=0,i=e,o=0;o=0)return!0}else if(o===e)return!0}return!1}function s(e,t){switch(t.type){case"BindExpression":return t.object===e||t.callee===e;case"MemberExpression":case"JSXMemberExpression":return t.property===e&&t.computed?!0:t.object===e;case"MetaProperty":return!1;case"ObjectProperty":if(t.key===e)return t.computed;case"VariableDeclarator":return t.id!==e;case"ArrowFunctionExpression":case"FunctionDeclaration":case"FunctionExpression":for(var n=t.params,r=0;r=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},E.inherits(D.AssertionError,Error),D.fail=f,D.ok=p,D.equal=function(e,t,n){e!=t&&f(e,t,n,"==",D.equal)},D.notEqual=function(e,t,n){e==t&&f(e,t,n,"!=",D.notEqual)},D.deepEqual=function(e,t,n){d(e,t,!1)||f(e,t,n,"deepEqual",D.deepEqual)},D.deepStrictEqual=function(e,t,n){d(e,t,!0)||f(e,t,n,"deepStrictEqual",D.deepStrictEqual)},D.notDeepEqual=function(e,t,n){d(e,t,!1)&&f(e,t,n,"notDeepEqual",D.notDeepEqual)},D.notDeepStrictEqual=v,D.strictEqual=function(e,t,n){e!==t&&f(e,t,n,"===",D.strictEqual)},D.notStrictEqual=function(e,t,n){e===t&&f(e,t,n,"!==",D.notStrictEqual)},D.throws=function(e,t,n){b(!0,e,t,n)},D.doesNotThrow=function(e,t,n){b(!1,e,t,n)},D.ifError=function(e){if(e)throw e};var _=Object.keys||function(e){var t=[];for(var n in e)A.call(e,n)&&t.push(n);return t}}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o),s=n(3),u=i(s),l=n(42),c=i(l),f=n(41),p=i(f),d=n(34),h=i(d),m=n(20),v=r(m),g=n(119),y=i(g),b=n(7),x=i(b),E=n(174),A=i(E),C=n(109),S=i(C),D=["enter","exit"],w=function(e){function t(n,r){(0,u.default)(this,t);var i=(0,c.default)(this,e.call(this));return i.initialized=!1,i.raw=(0,A.default)({},n),i.key=i.take("name")||r,i.manipulateOptions=i.take("manipulateOptions"),i.post=i.take("post"),i.pre=i.take("pre"),i.visitor=i.normaliseVisitor((0,S.default)(i.take("visitor"))||{}),i}return(0,p.default)(t,e),t.prototype.take=function(e){var t=this.raw[e];return delete this.raw[e],t},t.prototype.chain=function(e,t){if(!e[t])return this[t];if(!this[t])return e[t];var n=[e[t],this[t]];return function(){for(var e=void 0,t=arguments.length,r=Array(t),i=0;i=o.length)break;l=o[u++]}else{if(u=o.next(),u.done)break;l=u.value}var c=l;if(c){var f=c.apply(this,r);null!=f&&(e=f)}}return e}},t.prototype.maybeInherit=function(e){var t=this.take("inherits");t&&(t=h.default.normalisePlugin(t,e,"inherits"),this.manipulateOptions=this.chain(t,"manipulateOptions"),this.post=this.chain(t,"post"),this.pre=this.chain(t,"pre"),this.visitor=x.default.visitors.merge([t.visitor,this.visitor]))},t.prototype.init=function(e,t){if(!this.initialized){this.initialized=!0,this.maybeInherit(e);for(var n in this.raw)throw new Error(v.get("pluginInvalidProperty",e,t,n))}},t.prototype.normaliseVisitor=function(e){for(var t=D,n=Array.isArray(t),r=0,t=n?t:(0,a.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(e[o])throw new Error("Plugins aren't allowed to specify catch-all enter/exit handlers. Please target individual nodes.")}return x.default.explode(e),e},t}(y.default);t.default=w,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){var t=e.messages;return{visitor:{Scope:function(e){var n=e.scope;for(var r in n.bindings){var i=n.bindings[r];if("const"===i.kind||"module"===i.kind)for(var a=i.constantViolations,s=Array.isArray(a),u=0,a=s?a:(0,o.default)(a);;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;throw c.buildCodeFrameError(t.get("readOnly",r))}}}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("asyncFunctions")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{ArrowFunctionExpression:function(e,n){if(n.opts.spec){var r=e.node;if(r.shadow)return;r.shadow={this:!1},r.type="FunctionExpression";var i=t.thisExpression();i._forceShadow=e,e.ensureBlock(),e.get("body").unshiftContainer("body",t.expressionStatement(t.callExpression(n.addHelper("newArrowCheck"),[t.thisExpression(),i]))),e.replaceWith(t.callExpression(t.memberExpression(r,t.identifier("bind")),[t.thisExpression()]))}else e.arrowFunctionToShadowed()}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){function t(e,t){for(var r=t.get(e),i=r,a=Array.isArray(i),s=0,i=a?i:(0,o.default)(i);;){var u;if(a){if(s>=i.length)break;u=i[s++]}else{if(s=i.next(),s.done)break;u=s.value}var l=u,c=l.node;if(l.isFunctionDeclaration()){var f=n.variableDeclaration("let",[n.variableDeclarator(c.id,n.toExpression(c))]);f._blockHoist=2,c.id=null,l.replaceWith(f)}}}var n=e.types;return{visitor:{BlockStatement:function(e){var r=e.node,i=e.parent;n.isFunction(i,{body:r})||n.isExportDeclaration(i)||t("body",e)},SwitchCase:function(e){t("consequent",e)}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return x.isLoop(e.parent)||x.isCatchClause(e.parent)}function a(e){return!!x.isVariableDeclaration(e)&&(!!e[x.BLOCK_SCOPED_SYMBOL]||("let"===e.kind||"const"===e.kind))}function s(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(t||(t=e.node),!x.isFor(n))for(var o=0;o0&&e.traverse(O,t),e.skip()}},y.visitor]),O=g.default.visitors.merge([{ReferencedIdentifier:function(e,t){var n=t.letReferences[e.node.name];if(n){var r=e.scope.getBindingIdentifier(e.node.name);r&&r!==n||(t.closurify=!0)}}},y.visitor]),M={enter:function(e,t){var n=e.node,r=e.parent;if(e.isForStatement()){if(u(n.init,n)){var i=t.pushDeclar(n.init);1===i.length?n.init=i[0]:n.init=x.sequenceExpression(i)}}else if(e.isFor())u(n.left,n)&&(t.pushDeclar(n.left),n.left=n.left.declarations[0].id);else if(u(n,r))e.replaceWithMultiple(t.pushDeclar(n).map(function(e){return x.expressionStatement(e)}));else if(e.isFunction())return e.skip()}},P={LabeledStatement:function(e,t){var n=e.node;t.innerLabels.push(n.label.name)}},F={enter:function(e,t){if(e.isAssignmentExpression()||e.isUpdateExpression()){var n=e.getBindingIdentifiers();for(var r in n)t.outsideReferences[r]===e.scope.getBindingIdentifier(r)&&(t.reassignments[r]=!0)}}},T={Loop:function(e,t){var n=t.ignoreLabeless;t.ignoreLabeless=!0,e.traverse(T,t),t.ignoreLabeless=n,e.skip()},Function:function(e){e.skip()},SwitchCase:function(e,t){var n=t.inSwitchCase;t.inSwitchCase=!0,e.traverse(T,t),t.inSwitchCase=n,e.skip()},"BreakStatement|ContinueStatement|ReturnStatement":function(e,t){var n=e.node,r=e.parent,i=e.scope;if(!n[this.LOOP_IGNORE]){var o=void 0,a=l(n);if(a){if(n.label){if(t.innerLabels.indexOf(n.label.name)>=0)return;a=a+"|"+n.label.name}else{if(t.ignoreLabeless)return;if(t.inSwitchCase)return;if(x.isBreakStatement(n)&&x.isSwitchCase(r))return}t.hasBreakContinue=!0,t.map[a]=n,o=x.stringLiteral(a)}e.isReturnStatement()&&(t.hasReturn=!0,o=x.objectExpression([x.objectProperty(x.identifier("v"),n.argument||i.buildUndefinedNode())])),o&&(o=x.returnStatement(o),o[this.LOOP_IGNORE]=!0,e.skip(),e.replaceWith(x.inherits(o,n)))}}},B=function(){function e(t,n,r,i,o){(0,m.default)(this,e),this.parent=r,this.scope=i,this.file=o,this.blockPath=n,this.block=n.node,this.outsideLetReferences=(0,d.default)(null),this.hasLetReferences=!1,this.letReferences=(0,d.default)(null),this.body=[],t&&(this.loopParent=t.parent,this.loopLabel=x.isLabeledStatement(this.loopParent)&&this.loopParent.label,this.loopPath=t,this.loop=t.node)}return e.prototype.run=function(){var e=this.block;if(!e._letDone){e._letDone=!0;var t=this.getLetReferences();if(x.isFunction(this.parent)||x.isProgram(this.block))return void this.updateScopeInfo();if(this.hasLetReferences)return t?this.wrapClosure():this.remap(),this.updateScopeInfo(t),this.loopLabel&&!x.isLabeledStatement(this.loopParent)?x.labeledStatement(this.loopLabel,this.loop):void 0}},e.prototype.updateScopeInfo=function(e){var t=this.scope,n=t.getFunctionParent(),r=this.letReferences;for(var i in r){var o=r[i],a=t.getBinding(o.name);a&&("let"!==a.kind&&"const"!==a.kind||(a.kind="var",e?t.removeBinding(o.name):t.moveBindingTo(o.name,n)))}},e.prototype.remap=function(){var e=this.letReferences,t=this.scope;for(var n in e){var r=e[n];(t.parentHasBinding(n)||t.hasGlobal(n))&&(t.hasOwnBinding(n)&&t.rename(r.name),this.blockPath.scope.hasOwnBinding(n)&&this.blockPath.scope.rename(r.name))}},e.prototype.wrapClosure=function(){if(this.file.opts.throwIfClosureRequired)throw this.blockPath.buildCodeFrameError("Compiling let/const in this block would add a closure (throwIfClosureRequired).");var e=this.block,t=this.outsideLetReferences;if(this.loop)for(var n in t){var r=t[n];(this.scope.hasGlobal(r.name)||this.scope.parentHasBinding(r.name))&&(delete t[r.name],delete this.letReferences[r.name],this.scope.rename(r.name),this.letReferences[r.name]=r,t[r.name]=r)}this.has=this.checkLoop(),this.hoistVarDeclarations();var i=(0,A.default)(t),o=(0,A.default)(t),a=this.blockPath.isSwitchStatement(),s=x.functionExpression(null,i,x.blockStatement(a?[e]:e.body));s.shadow=!0,this.addContinuations(s);var u=s;this.loop&&(u=this.scope.generateUidIdentifier("loop"),this.loopPath.insertBefore(x.variableDeclaration("var",[x.variableDeclarator(u,s)])));var l=x.callExpression(u,o),c=this.scope.generateUidIdentifier("ret"),f=g.default.hasType(s.body,this.scope,"YieldExpression",x.FUNCTION_TYPES);f&&(s.generator=!0,l=x.yieldExpression(l,!0));var p=g.default.hasType(s.body,this.scope,"AwaitExpression",x.FUNCTION_TYPES);p&&(s.async=!0,l=x.awaitExpression(l)),this.buildClosure(c,l),a?this.blockPath.replaceWithMultiple(this.body):e.body=this.body},e.prototype.buildClosure=function(e,t){var n=this.has;n.hasReturn||n.hasBreakContinue?this.buildHas(e,t):this.body.push(x.expressionStatement(t))},e.prototype.addContinuations=function(e){var t={reassignments:{},outsideReferences:this.outsideLetReferences};this.scope.traverse(e,F,t);for(var n=0;n=t.length)break;s=t[a++]}else{if(a=t.next(),a.done)break;s=a.value}var u=s;"get"===u.kind||"set"===u.kind?r(e,u):n(e.objId,u,e.body)}}function a(e){for(var i=e.objId,a=e.body,u=e.computedProps,l=e.state,c=u,f=Array.isArray(c),p=0,c=f?c:(0,o.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d,m=s.toComputedKey(h);if("get"===h.kind||"set"===h.kind)r(e,h);else if(s.isStringLiteral(m,{value:"__proto__"}))n(i,h,a);else{if(1===u.length)return s.callExpression(l.addHelper("defineProperty"),[e.initPropExpression,m,t(h)]);a.push(s.expressionStatement(s.callExpression(l.addHelper("defineProperty"),[i,m,t(h)])))}}}var s=e.types,u=e.template,l=u("\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n ");return{visitor:{ObjectExpression:{exit:function(e,t){for(var n=e.node,r=e.parent,u=e.scope,l=!1,c=n.properties,f=Array.isArray(c),p=0,c=f?c:(0,o.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;if(l=h.computed===!0)break}if(l){for(var m=[],v=[],g=!1,y=n.properties,b=Array.isArray(y),x=0,y=b?y:(0,o.default)(y);;){var E;if(b){if(x>=y.length)break;E=y[x++]}else{if(x=y.next(),x.done)break;E=x.value}var A=E;A.computed&&(g=!0),g?v.push(A):m.push(A)}var C=u.generateUidIdentifierBasedOnNode(r),S=s.objectExpression(m),D=[];D.push(s.variableDeclaration("var",[s.variableDeclarator(C,S)]));var w=a;t.opts.loose&&(w=i);var _=void 0,k=function(){return _||(_=u.generateUidIdentifier("mutatorMap"),D.push(s.variableDeclaration("var",[s.variableDeclarator(_,s.objectExpression([]))]))),_},O=w({scope:u,objId:C,body:D,computedProps:v,initPropExpression:S,getMutatorId:k,state:t});_&&D.push(s.expressionStatement(s.callExpression(t.addHelper("defineEnumerableProperties"),[C,_]))),O?e.replaceWith(O):(D.push(s.expressionStatement(C)),e.replaceWithMultiple(D))}}}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),o=r(i),a=n(2),s=r(a);t.default=function(e){function t(e){for(var t=e.declarations,n=Array.isArray(t),i=0,t=n?t:(0,s.default)(t);;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{if(i=t.next(),i.done)break;o=i.value}var a=o;if(r.isPattern(a.id))return!0}return!1}function n(e){for(var t=e.elements,n=Array.isArray(t),i=0,t=n?t:(0,s.default)(t);;){var o;if(n){if(i>=t.length)break;o=t[i++]}else{if(i=t.next(),i.done)break;o=i.value}var a=o;if(r.isRestElement(a))return!0}return!1}var r=e.types,i={ReferencedIdentifier:function(e,t){t.bindings[e.node.name]&&(t.deopt=!0,e.stop())}},a=function(){function e(t){(0,o.default)(this,e),this.blockHoist=t.blockHoist,this.operator=t.operator,this.arrays={},this.nodes=t.nodes||[],this.scope=t.scope,this.file=t.file,this.kind=t.kind}return e.prototype.buildVariableAssignment=function(e,t){var n=this.operator;r.isMemberExpression(e)&&(n="=");var i=void 0;return i=n?r.expressionStatement(r.assignmentExpression(n,e,t)):r.variableDeclaration(this.kind,[r.variableDeclarator(e,t)]),i._blockHoist=this.blockHoist,i},e.prototype.buildVariableDeclaration=function(e,t){var n=r.variableDeclaration("var",[r.variableDeclarator(e,t)]);return n._blockHoist=this.blockHoist,n},e.prototype.push=function(e,t){r.isObjectPattern(e)?this.pushObjectPattern(e,t):r.isArrayPattern(e)?this.pushArrayPattern(e,t):r.isAssignmentPattern(e)?this.pushAssignmentPattern(e,t):this.nodes.push(this.buildVariableAssignment(e,t))},e.prototype.toArray=function(e,t){return this.file.opts.loose||r.isIdentifier(e)&&this.arrays[e.name]?e:this.scope.toArray(e,t)},e.prototype.pushAssignmentPattern=function(e,t){var n=this.scope.generateUidIdentifierBasedOnNode(t),i=r.variableDeclaration("var",[r.variableDeclarator(n,t)]);i._blockHoist=this.blockHoist,this.nodes.push(i);var o=r.conditionalExpression(r.binaryExpression("===",n,r.identifier("undefined")),e.right,n),a=e.left;if(r.isPattern(a)){var s=r.expressionStatement(r.assignmentExpression("=",n,o));s._blockHoist=this.blockHoist,this.nodes.push(s),this.push(a,n)}else this.nodes.push(this.buildVariableAssignment(a,o))},e.prototype.pushObjectRest=function(e,t,n,i){for(var o=[],a=0;a=i)break;if(!r.isRestProperty(s)){var u=s.key;r.isIdentifier(u)&&!s.computed&&(u=r.stringLiteral(s.key.name)),o.push(u)}}o=r.arrayExpression(o);var l=r.callExpression(this.file.addHelper("objectWithoutProperties"),[t,o]);this.nodes.push(this.buildVariableAssignment(n.argument,l))},e.prototype.pushObjectProperty=function(e,t){r.isLiteral(e.key)&&(e.computed=!0);var n=e.value,i=r.memberExpression(t,e.key,e.computed);r.isPattern(n)?this.push(n,i):this.nodes.push(this.buildVariableAssignment(n,i))},e.prototype.pushObjectPattern=function(e,t){if(e.properties.length||this.nodes.push(r.expressionStatement(r.callExpression(this.file.addHelper("objectDestructuringEmpty"),[t]))),e.properties.length>1&&!this.scope.isStatic(t)){var n=this.scope.generateUidIdentifierBasedOnNode(t);this.nodes.push(this.buildVariableDeclaration(n,t)),t=n}for(var i=0;it.elements.length)){if(e.elements.length=o.length)break;l=o[u++]}else{if(u=o.next(),u.done)break;l=u.value}var c=l;if(!c)return!1;if(r.isMemberExpression(c))return!1}for(var f=t.elements,p=Array.isArray(f),d=0,f=p?f:(0,s.default)(f);;){var h;if(p){if(d>=f.length)break;h=f[d++]}else{if(d=f.next(),d.done)break;h=d.value}var m=h;if(r.isSpreadElement(m))return!1;if(r.isCallExpression(m))return!1;if(r.isMemberExpression(m))return!1}var v=r.getBindingIdentifiers(e),g={deopt:!1,bindings:v};return this.scope.traverse(t,i,g),!g.deopt}},e.prototype.pushUnpackedArrayPattern=function(e,t){for(var n=0;n=v.length)break;b=v[y++]}else{if(y=v.next(),y.done)break;b=y.value}var x=b,E=m[m.length-1];if(E&&r.isVariableDeclaration(E)&&r.isVariableDeclaration(x)&&E.kind===x.kind){var A;(A=E.declarations).push.apply(A,x.declarations)}else m.push(x)}for(var C=m,S=Array.isArray(C),D=0,C=S?C:(0,s.default)(C);;){var w;if(S){if(D>=C.length)break;w=C[D++]}else{if(D=C.next(),D.done)break;w=D.value}var _=w;if(_.declarations)for(var k=_.declarations,O=Array.isArray(k),M=0,k=O?k:(0,s.default)(k);;){var P;if(O){if(M>=k.length)break;P=k[M++]}else{if(M=k.next(),M.done)break;P=M.value}var F=P,T=F.id.name;o.bindings[T]&&(o.bindings[T].kind=_.kind)}}1===m.length?e.replaceWith(m[0]):e.replaceWithMultiple(m)}}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){function t(e){var t=e.node,n=e.scope,r=[],i=t.right;if(!a.isIdentifier(i)||!n.hasBinding(i.name)){var o=n.generateUidIdentifier("arr");r.push(a.variableDeclaration("var",[a.variableDeclarator(o,i)])),i=o}var u=n.generateUidIdentifier("i"),l=s({BODY:t.body,KEY:u,ARR:i});a.inherits(l,t),a.ensureBlock(l);var c=a.memberExpression(i,u,!0),f=t.left;return a.isVariableDeclaration(f)?(f.declarations[0].init=c,l.body.body.unshift(f)):l.body.body.unshift(a.expressionStatement(a.assignmentExpression("=",f,c))),e.parentPath.isLabeledStatement()&&(l=a.labeledStatement(e.parentPath.node.label,l)),r.push(l),r}function n(e,t){var n=e.node,r=e.scope,o=e.parent,s=n.left,l=void 0,c=void 0;if(a.isIdentifier(s)||a.isPattern(s)||a.isMemberExpression(s))c=s;else{if(!a.isVariableDeclaration(s))throw t.buildCodeFrameError(s,i.get("unknownForHead",s.type));c=r.generateUidIdentifier("ref"),l=a.variableDeclaration(s.kind,[a.variableDeclarator(s.declarations[0].id,c)])}var f=r.generateUidIdentifier("iterator"),p=r.generateUidIdentifier("isArray"),d=u({LOOP_OBJECT:f,IS_ARRAY:p,OBJECT:n.right,INDEX:r.generateUidIdentifier("i"),ID:c});l||d.body.body.shift();var h=a.isLabeledStatement(o),m=void 0;return h&&(m=a.labeledStatement(o.label,d)),{replaceParent:h,declar:l,node:m||d,loop:d}}function r(e,t){var n=e.node,r=e.scope,o=e.parent,s=n.left,u=void 0,c=r.generateUidIdentifier("step"),f=a.memberExpression(c,a.identifier("value"));if(a.isIdentifier(s)||a.isPattern(s)||a.isMemberExpression(s))u=a.expressionStatement(a.assignmentExpression("=",s,f));else{if(!a.isVariableDeclaration(s))throw t.buildCodeFrameError(s,i.get("unknownForHead",s.type));u=a.variableDeclaration(s.kind,[a.variableDeclarator(s.declarations[0].id,f)])}var p=r.generateUidIdentifier("iterator"),d=l({ITERATOR_HAD_ERROR_KEY:r.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:r.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:r.generateUidIdentifier("iteratorError"),ITERATOR_KEY:p,STEP_KEY:c,OBJECT:n.right,BODY:null}),h=a.isLabeledStatement(o),m=d[3].block.body,v=m[0];return h&&(m[0]=a.labeledStatement(o.label,v)),{replaceParent:h,declar:u,loop:v,node:d}}var i=e.messages,o=e.template,a=e.types,s=o("\n for (var KEY = 0; KEY < ARR.length; KEY++) BODY;\n "),u=o("\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n var ID;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n "),l=o("\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY; !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done); ITERATOR_COMPLETION = true) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n ");return{visitor:{ForOfStatement:function(e,i){if(e.get("right").isArrayExpression())return e.parentPath.isLabeledStatement()?e.parentPath.replaceWithMultiple(t(e)):e.replaceWithMultiple(t(e));var o=r;i.opts.loose&&(o=n);var s=e.node,u=o(e,i),l=u.declar,c=u.loop,f=c.body;e.ensureBlock(),l&&f.body.push(l),f.body=f.body.concat(s.body.body),a.inherits(c,s),a.inherits(c.body,s.body),u.replaceParent?(e.parentPath.replaceWithMultiple(u.node),e.remove()):e.replaceWithMultiple(u.node)}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{visitor:{FunctionExpression:{exit:function(e){if("value"!==e.key&&!e.parentPath.isObjectProperty()){var t=(0,o.default)(e);t&&e.replaceWith(t)}}},ObjectProperty:function(e){var t=e.get("value");if(t.isFunction()){var n=(0,o.default)(t);n&&t.replaceWith(n)}}}}};var i=n(40),o=r(i);e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{visitor:{NumericLiteral:function(e){var t=e.node;t.extra&&/^0[ob]/i.test(t.extra.raw)&&(t.extra=void 0)},StringLiteral:function(e){var t=e.node;t.extra&&/\\[u]/gi.test(t.extra.raw)&&(t.extra=void 0)}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(14),a=i(o),s=n(9),u=i(s),l=n(2),c=i(l),f=n(10),p=i(f);t.default=function(){var e=(0,p.default)(),t={ReferencedIdentifier:function(e){var t=e.node.name,n=this.remaps[t];if(n&&this.scope.getBinding(t)===e.scope.getBinding(t)){if(e.parentPath.isCallExpression({ +callee:e.node}))e.replaceWith(b.sequenceExpression([b.numericLiteral(0),n]));else if(e.isJSXIdentifier()&&b.isMemberExpression(n)){var r=n.object,i=n.property;e.replaceWith(b.JSXMemberExpression(b.JSXIdentifier(r.name),b.JSXIdentifier(i.name)))}else e.replaceWith(n);this.requeueInParent(e)}},AssignmentExpression:function(t){var n=t.node;if(!n[e]){var r=t.get("left");if(r.isIdentifier()){var i=r.node.name,o=this.exports[i];if(!o)return;if(this.scope.getBinding(i)!==t.scope.getBinding(i))return;n[e]=!0;for(var a=o,s=Array.isArray(a),u=0,a=s?a:(0,c.default)(a);;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var f=l;n=S(f,n).expression}t.replaceWith(n),this.requeueInParent(t)}else if(r.isObjectPattern())for(var p=r.node.properties,d=Array.isArray(p),h=0,p=d?p:(0,c.default)(p);;){var m;if(d){if(h>=p.length)break;m=p[h++]}else{if(h=p.next(),h.done)break;m=h.value}var v=m,g=v.value.name,y=this.exports[g];if(y){if(this.scope.getBinding(g)!==t.scope.getBinding(g))return;n[e]=!0,t.insertAfter(S(b.identifier(g),b.identifier(g)))}}else if(r.isArrayPattern())for(var x=r.node.elements,E=Array.isArray(x),A=0,x=E?x:(0,c.default)(x);;){var C;if(E){if(A>=x.length)break;C=x[A++]}else{if(A=x.next(),A.done)break;C=A.value}var D=C;if(D){var w=D.name,_=this.exports[w];if(_){if(this.scope.getBinding(w)!==t.scope.getBinding(w))return;n[e]=!0,t.insertAfter(S(b.identifier(w),b.identifier(w)))}}}}},UpdateExpression:function(e){var t=e.get("argument");if(t.isIdentifier()){var n=t.node.name,r=this.exports[n];if(r&&this.scope.getBinding(n)===e.scope.getBinding(n)){var i=b.assignmentExpression(e.node.operator[0]+"=",t.node,b.numericLiteral(1));if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()||e.node.prefix)return e.replaceWith(i),void this.requeueInParent(e);var o=[];o.push(i);var a=void 0;a="--"===e.node.operator?"+":"-",o.push(b.binaryExpression(a,t.node,b.numericLiteral(1))),e.replaceWithMultiple(b.sequenceExpression(o))}}}};return{inherits:g.default,visitor:{ThisExpression:function(e,t){this.ranCommonJS||t.opts.allowTopLevelThis===!0||e.findParent(function(e){return!e.is("shadow")&&w.indexOf(e.type)>=0})||e.replaceWith(b.identifier("undefined"))},Program:{exit:function(e){function n(t,n){var r=w[t];if(r)return r;var i=e.scope.generateUidIdentifier((0,d.basename)(t,(0,d.extname)(t))),o=b.variableDeclaration("var",[b.variableDeclarator(i,x(b.stringLiteral(t)).expression)]);return h[t]&&(o.loc=h[t].loc),"number"==typeof n&&n>0&&(o._blockHoist=n),g.push(o),w[t]=i}function r(e,t,n){var r=e[t]||[];e[t]=r.concat(n)}this.ranCommonJS=!0;var i=!!this.opts.strict,o=!!this.opts.noInterop,s=e.scope;s.rename("module"),s.rename("exports"),s.rename("require");for(var l=!1,f=!1,p=e.get("body"),h=(0,u.default)(null),m=(0,u.default)(null),v=(0,u.default)(null),g=[],y=(0,u.default)(null),w=(0,u.default)(null),_=p,k=Array.isArray(_),O=0,_=k?_:(0,c.default)(_);;){var M;if(k){if(O>=_.length)break;M=_[O++]}else{if(O=_.next(),O.done)break;M=O.value}var P=M;if(P.isExportDeclaration()){l=!0;for(var F=[].concat(P.get("declaration"),P.get("specifiers")),T=F,B=Array.isArray(T),I=0,T=B?T:(0,c.default)(T);;){var R;if(B){if(I>=T.length)break;R=T[I++]}else{if(I=T.next(),I.done)break;R=I.value}var N=R,L=N.getBindingIdentifiers();if(L.__esModule)throw N.buildCodeFrameError('Illegal export "__esModule"')}}if(P.isImportDeclaration()){var j;f=!0;var W=P.node.source.value,U=h[W]||{specifiers:[],maxBlockHoist:0,loc:P.node.loc};(j=U.specifiers).push.apply(j,P.node.specifiers),"number"==typeof P.node._blockHoist&&(U.maxBlockHoist=Math.max(P.node._blockHoist,U.maxBlockHoist)),h[W]=U,P.remove()}else if(P.isExportDefaultDeclaration()){var z=P.get("declaration");if(z.isFunctionDeclaration()){var V=z.node.id,G=b.identifier("default");V?(r(m,V.name,G),g.push(S(G,V)),P.replaceWith(z.node)):(g.push(S(G,b.toExpression(z.node))),P.remove())}else if(z.isClassDeclaration()){var H=z.node.id,Y=b.identifier("default");H?(r(m,H.name,Y),P.replaceWithMultiple([z.node,S(Y,H)])):(P.replaceWith(S(Y,b.toExpression(z.node))),P.parentPath.requeue(P.get("expression.left")))}else P.replaceWith(S(b.identifier("default"),z.node)),P.parentPath.requeue(P.get("expression.left"))}else if(P.isExportNamedDeclaration()){var q=P.get("declaration");if(q.node){if(q.isFunctionDeclaration()){var K=q.node.id;r(m,K.name,K),g.push(S(K,K)),P.replaceWith(q.node)}else if(q.isClassDeclaration()){var X=q.node.id;r(m,X.name,X),P.replaceWithMultiple([q.node,S(X,X)]),v[X.name]=!0}else if(q.isVariableDeclaration()){for(var $=q.get("declarations"),J=$,Q=Array.isArray(J),Z=0,J=Q?J:(0,c.default)(J);;){var ee;if(Q){if(Z>=J.length)break;ee=J[Z++]}else{if(Z=J.next(),Z.done)break;ee=Z.value}var te=ee,ne=te.get("id"),re=te.get("init"),ie=[];if(re.node||re.replaceWith(b.identifier("undefined")),ne.isIdentifier())r(m,ne.node.name,ne.node),re.replaceWith(S(ne.node,re.node).expression),v[ne.node.name]=!0;else if(ne.isObjectPattern())for(var oe=0;oe=me.length)break;ye=me[ge++]}else{if(ge=me.next(),ge.done)break;ye=ge.value}var be=ye;be.isExportNamespaceSpecifier()||be.isExportDefaultSpecifier()||be.isExportSpecifier()&&(o||"default"!==be.node.local.name?g.push(A(b.stringLiteral(be.node.exported.name),b.memberExpression(he,be.node.local))):g.push(A(b.stringLiteral(be.node.exported.name),b.memberExpression(b.callExpression(this.addHelper("interopRequireDefault"),[he]),be.node.local))),v[be.node.exported.name]=!0)}else for(var xe=fe,Ee=Array.isArray(xe),Ae=0,xe=Ee?xe:(0,c.default)(xe);;){var Ce;if(Ee){if(Ae>=xe.length)break;Ce=xe[Ae++]}else{if(Ae=xe.next(),Ae.done)break;Ce=Ae.value}var Se=Ce;Se.isExportSpecifier()&&(r(m,Se.node.local.name,Se.node.exported),v[Se.node.exported.name]=!0,pe.push(S(Se.node.exported,Se.node.local)))}P.replaceWithMultiple(pe)}else if(P.isExportAllDeclaration()){var De=D({OBJECT:n(P.node.source.value,P.node._blockHoist)});De.loc=P.node.loc,g.push(De),P.remove()}}for(var we in h){var _e=h[we],F=_e.specifiers,ke=_e.maxBlockHoist;if(F.length){for(var Oe=n(we,ke),Me=void 0,Pe=0;Pe0&&(Te._blockHoist=ke),g.push(Te)}Me=Fe.local}else b.isImportDefaultSpecifier(Fe)&&(F[Pe]=b.importSpecifier(Fe.local,b.identifier("default")))}for(var Be=F,Ie=Array.isArray(Be),Re=0,Be=Ie?Be:(0,c.default)(Be);;){var Ne;if(Ie){if(Re>=Be.length)break;Ne=Be[Re++]}else{if(Re=Be.next(),Re.done)break;Ne=Re.value}var Le=Ne;if(b.isImportSpecifier(Le)){var je=Oe;if("default"===Le.imported.name)if(Me)je=Me;else if(!o){je=Me=e.scope.generateUidIdentifier(Oe.name);var We=b.variableDeclaration("var",[b.variableDeclarator(je,b.callExpression(this.addHelper("interopRequireDefault"),[Oe]))]);ke>0&&(We._blockHoist=ke),g.push(We)}y[Le.local.name]=b.memberExpression(je,b.cloneWithoutLoc(Le.imported))}}}else{var Ue=x(b.stringLiteral(we));Ue.loc=h[we].loc,g.push(Ue)}}if(f&&(0,a.default)(v).length)for(var ze=100,Ve=(0,a.default)(v),Ge=function(e){var t=Ve.slice(e,e+ze),n=b.identifier("undefined");t.forEach(function(e){n=S(b.identifier(e),n).expression});var r=b.expressionStatement(n);r._blockHoist=3,g.unshift(r)},He=0;He=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;d.isObjectProperty()&&(d=d.get("value")),t(d,d.node,e.scope,s,i)}a&&(e.scope.push({id:a}),e.replaceWith(n.assignmentExpression("=",a,e.node)))}}}}}};var u=n(193),l=r(u);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o);t.default=function(){return{visitor:s.visitors.merge([{ArrowFunctionExpression:function(e){for(var t=e.get("params"),n=t,r=Array.isArray(n),i=0,n=r?n:(0,a.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;if(s.isRestElement()||s.isAssignmentPattern()){e.arrowFunctionToShadowed();break}}}},l.visitor,d.visitor,f.visitor])}};var s=n(7),u=n(334),l=r(u),c=n(333),f=r(c),p=n(335),d=r(p);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.default=function(){return{visitor:{ObjectMethod:function(e){var t=e.node;if("method"===t.kind){var n=o.functionExpression(null,t.params,t.body,t.generator,t.async);n.returnType=t.returnType,e.replaceWith(o.objectProperty(t.key,n,t.computed))}},ObjectProperty:function(e){var t=e.node;t.shorthand&&(t.shorthand=!1)}}}};var i=n(1),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){function t(e,t,n){return n.opts.loose&&!i.isIdentifier(e.argument,{name:"arguments"})?e.argument:t.toArray(e.argument,!0)}function n(e){for(var t=0;t=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;i.isSpreadElement(d)?(a(),s.push(t(d,n,r))):u.push(d)}return a(),s}var i=e.types;return{visitor:{ArrayExpression:function(e,t){var o=e.node,a=e.scope,s=o.elements;if(n(s)){var u=r(s,a,t),l=u.shift();i.isArrayExpression(l)||(u.unshift(l),l=i.arrayExpression([])),e.replaceWith(i.callExpression(i.memberExpression(l,i.identifier("concat")),u))}},CallExpression:function(e,t){var o=e.node,a=e.scope,s=o.arguments;if(n(s)){var u=e.get("callee");if(!u.isSuper()){var l=i.identifier("undefined");o.arguments=[];var c=void 0;c=1===s.length&&"arguments"===s[0].argument.name?[s[0].argument]:r(s,a,t);var f=c.shift();c.length?o.arguments.push(i.callExpression(i.memberExpression(f,i.identifier("concat")),c)):o.arguments.push(f);var p=o.callee;if(u.isMemberExpression()){var d=a.maybeGenerateMemoised(p.object);d?(p.object=i.assignmentExpression("=",d,p.object),l=d):l=p.object,i.appendToMemberExpression(p,i.identifier("apply"))}else o.callee=i.memberExpression(o.callee,i.identifier("apply"));i.isSuper(l)&&(l=i.thisExpression()),o.arguments.unshift(l)}}},NewExpression:function(e,t){var o=e.node,a=e.scope,s=o.arguments;if(n(s)){var u=r(s,a,t),l=i.arrayExpression([i.nullLiteral()]);s=i.callExpression(i.memberExpression(l,i.identifier("concat")),u),e.replaceWith(i.newExpression(i.callExpression(i.memberExpression(i.memberExpression(i.memberExpression(i.identifier("Function"),i.identifier("prototype")),i.identifier("bind")),i.identifier("apply")),[o.callee,s]),[]))}}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.default=function(){return{visitor:{RegExpLiteral:function(e){var t=e.node;o.is(t,"y")&&e.replaceWith(s.newExpression(s.identifier("RegExp"),[s.stringLiteral(t.pattern),s.stringLiteral(t.flags)]))}}}};var i=n(192),o=r(i),a=n(1),s=r(a);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){function t(e){return r.isLiteral(e)&&"string"==typeof e.value}function n(e,t){return r.binaryExpression("+",e,t)}var r=e.types;return{visitor:{TaggedTemplateExpression:function(e,t){for(var n=e.node,i=n.quasi,a=[],s=[],u=[],l=i.quasis,c=Array.isArray(l),f=0,l=c?l:(0,o.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;s.push(r.stringLiteral(d.value.cooked)),u.push(r.stringLiteral(d.value.raw))}s=r.arrayExpression(s),u=r.arrayExpression(u);var h="taggedTemplateLiteral";t.opts.loose&&(h+="Loose");var m=t.file.addTemplateObject(h,s,u);a.push(m),a=a.concat(i.expressions),e.replaceWith(r.callExpression(n.tag,a))},TemplateLiteral:function(e,i){for(var a=[],s=e.get("expressions"),u=e.node.quasis,l=Array.isArray(u),c=0,u=l?u:(0,o.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;a.push(r.stringLiteral(p.value.cooked));var d=s.shift();d&&(!i.opts.spec||d.isBaseType("string")||d.isBaseType("number")?a.push(d.node):a.push(r.callExpression(r.identifier("String"),[d.node])))}if(a=a.filter(function(e){return!r.isLiteral(e,{value:""})}),t(a[0])||t(a[1])||a.unshift(r.stringLiteral("")),a.length>1){for(var h=n(a.shift(),a.shift()),m=a,v=Array.isArray(m),g=0,m=v?m:(0,o.default)(m);;){var y;if(v){if(g>=m.length)break;y=m[g++]}else{if(g=m.next(),g.done)break;y=g.value}var b=y;h=n(h,b)}e.replaceWith(h)}else e.replaceWith(a[0])}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(10),o=r(i);t.default=function(e){var t=e.types,n=(0,o.default)();return{visitor:{Scope:function(e){var t=e.scope;t.getBinding("Symbol")&&t.rename("Symbol")},UnaryExpression:function(e){var r=e.node,i=e.parent;if(!r[n]&&!e.find(function(e){return e.node&&!!e.node._generated})){if(e.parentPath.isBinaryExpression()&&t.EQUALITY_BINARY_OPERATORS.indexOf(i.operator)>=0){var o=e.getOpposite();if(o.isLiteral()&&"symbol"!==o.node.value&&"object"!==o.node.value)return}if("typeof"===r.operator){var a=t.callExpression(this.addHelper("typeof"),[r.argument]);if(e.get("argument").isIdentifier()){var s=t.stringLiteral("undefined"),u=t.unaryExpression("typeof",r.argument);u[n]=!0,e.replaceWith(t.conditionalExpression(t.binaryExpression("===",u,s),s,a))}else e.replaceWith(a)}}}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{visitor:{RegExpLiteral:function(e){var t=e.node;u.is(t,"u")&&(t.pattern=(0,a.default)(t.pattern,t.flags),u.pullFlag(t,"u"))}}}};var o=n(612),a=i(o),s=n(192),u=r(s);e.exports=t.default},function(e,t,n){"use strict";e.exports=n(606)},function(e,t,n){"use strict";e.exports={default:n(408),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){o(),a()}function o(){t.path=l=new u.default}function a(){t.scope=c=new u.default}t.__esModule=!0,t.scope=t.path=void 0;var s=n(364),u=r(s);t.clear=i,t.clearPath=o,t.clearScope=a;var l=t.path=new u.default,c=t.scope=new u.default},function(e,t){"use strict";function n(e){return e=e.split(" "),function(t){return e.indexOf(t)>=0}}function r(e,t){for(var n=65536,r=0;re)return!1;if(n+=t[r+1],n>=e)return!0}}function i(e){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&E.test(String.fromCharCode(e)):r(e,C)))}function o(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&A.test(String.fromCharCode(e)):r(e,C)||r(e,S))))}function a(e){var t={};for(var n in D)t[n]=e&&n in e?e[n]:D[n];return t}function s(e){return 10===e||13===e||8232===e||8233===e}function u(e,t){for(var n=1,r=0;;){z.lastIndex=r;var i=z.exec(e);if(!(i&&i.index>10)+55296,(e-65536&1023)+56320)}function c(e,t,n,r){return e.type=t,e.end=n,e.loc.end=r,this.processComment(e),e}function f(e){return e[e.length-1]}function p(e){return e&&"Property"===e.type&&"init"===e.kind&&e.method===!1}function d(e){return"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?d(e.object)+"."+d(e.property):void 0}function h(e,t){return new Z(t,e).parse()}function m(e,t){var n=new Z(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var g={6:n("enum await"),strict:n("implements interface let package private protected public static yield"),strictBind:n("eval arguments")},y=n("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this let const class extends export import yield super"),b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",E=new RegExp("["+b+"]"),A=new RegExp("["+b+x+"]");b=x=null;var C=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],S=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],D={sourceType:"script",sourceFilename:void 0,startLine:1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,plugins:[],strictMode:null},w="function"==typeof Symbol&&"symbol"===v(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":v(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":"undefined"==typeof e?"undefined":v(e)},_=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},k=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":v(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},O=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":v(t))&&"function"!=typeof t?e:t},M=!0,P=!0,F=!0,T=!0,B=!0,I=!0,R=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,e),this.label=t,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.rightAssociative=!!n.rightAssociative,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=n.binop||null,this.updateContext=null},N=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _(this,t),r.keyword=n,O(this,e.call(this,n,r))}return k(t,e),t}(R),L=function(e){function t(n,r){return _(this,t),O(this,e.call(this,n,{beforeExpr:M,binop:r}))}return k(t,e),t}(R),j={num:new R("num",{startsExpr:P}),regexp:new R("regexp",{startsExpr:P}),string:new R("string",{startsExpr:P}),name:new R("name",{startsExpr:P}),eof:new R("eof"),bracketL:new R("[",{beforeExpr:M,startsExpr:P}),bracketR:new R("]"),braceL:new R("{",{beforeExpr:M,startsExpr:P}),braceBarL:new R("{|",{beforeExpr:M,startsExpr:P}),braceR:new R("}"),braceBarR:new R("|}"),parenL:new R("(",{beforeExpr:M,startsExpr:P}),parenR:new R(")"),comma:new R(",",{beforeExpr:M}),semi:new R(";",{beforeExpr:M}),colon:new R(":",{beforeExpr:M}),doubleColon:new R("::",{beforeExpr:M}),dot:new R("."),question:new R("?",{beforeExpr:M}),arrow:new R("=>",{beforeExpr:M}),template:new R("template"),ellipsis:new R("...",{beforeExpr:M}),backQuote:new R("`",{startsExpr:P}),dollarBraceL:new R("${",{beforeExpr:M,startsExpr:P}),at:new R("@"),eq:new R("=",{beforeExpr:M,isAssign:T}),assign:new R("_=",{beforeExpr:M,isAssign:T}),incDec:new R("++/--",{prefix:B,postfix:I,startsExpr:P}),prefix:new R("prefix",{beforeExpr:M,prefix:B,startsExpr:P}),logicalOR:new L("||",1),logicalAND:new L("&&",2),bitwiseOR:new L("|",3),bitwiseXOR:new L("^",4),bitwiseAND:new L("&",5),equality:new L("==/!=",6),relational:new L("",7),bitShift:new L("<>",8),plusMin:new R("+/-",{beforeExpr:M,binop:9,prefix:B,startsExpr:P}),modulo:new L("%",10),star:new L("*",10),slash:new L("/",10),exponent:new R("**",{beforeExpr:M,binop:11,rightAssociative:!0})},W={break:new N("break"),case:new N("case",{beforeExpr:M}),catch:new N("catch"),continue:new N("continue"),debugger:new N("debugger"),default:new N("default",{beforeExpr:M}),do:new N("do",{isLoop:F,beforeExpr:M}),else:new N("else",{beforeExpr:M}),finally:new N("finally"),for:new N("for",{isLoop:F}),function:new N("function",{startsExpr:P}),if:new N("if"),return:new N("return",{beforeExpr:M}),switch:new N("switch"),throw:new N("throw",{beforeExpr:M}),try:new N("try"),var:new N("var"),let:new N("let"),const:new N("const"),while:new N("while",{isLoop:F}),with:new N("with"),new:new N("new",{beforeExpr:M,startsExpr:P}),this:new N("this",{startsExpr:P}),super:new N("super",{startsExpr:P}),class:new N("class"),extends:new N("extends",{beforeExpr:M}),export:new N("export"),import:new N("import",{startsExpr:P}),yield:new N("yield",{beforeExpr:M,startsExpr:P}),null:new N("null",{startsExpr:P}),true:new N("true",{startsExpr:P}),false:new N("false",{startsExpr:P}),in:new N("in",{beforeExpr:M,binop:7}),instanceof:new N("instanceof",{beforeExpr:M,binop:7}),typeof:new N("typeof",{beforeExpr:M,prefix:B,startsExpr:P}),void:new N("void",{beforeExpr:M,prefix:B,startsExpr:P}),delete:new N("delete",{beforeExpr:M,prefix:B,startsExpr:P})};Object.keys(W).forEach(function(e){j["_"+e]=W[e]});var U=/\r\n?|\n|\u2028|\u2029/,z=new RegExp(U.source,"g"),V=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,G=function e(t,n,r,i){_(this,e),this.token=t,this.isExpr=!!n,this.preserveSpace=!!r,this.override=i},H={braceStatement:new G("{",!1),braceExpression:new G("{",!0),templateQuasi:new G("${",!0),parenStatement:new G("(",!1),parenExpression:new G("(",!0),template:new G("`",!0,!0,function(e){return e.readTmplToken()}),functionExpression:new G("function",!0)};j.parenR.updateContext=j.braceR.updateContext=function(){if(1===this.state.context.length)return void(this.state.exprAllowed=!0);var e=this.state.context.pop();e===H.braceStatement&&this.curContext()===H.functionExpression?(this.state.context.pop(),this.state.exprAllowed=!1):e===H.templateQuasi?this.state.exprAllowed=!0:this.state.exprAllowed=!e.isExpr},j.name.updateContext=function(e){this.state.exprAllowed=!1,e!==j._let&&e!==j._const&&e!==j._var||U.test(this.input.slice(this.state.end))&&(this.state.exprAllowed=!0)},j.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?H.braceStatement:H.braceExpression),this.state.exprAllowed=!0},j.dollarBraceL.updateContext=function(){this.state.context.push(H.templateQuasi),this.state.exprAllowed=!0},j.parenL.updateContext=function(e){var t=e===j._if||e===j._for||e===j._with||e===j._while;this.state.context.push(t?H.parenStatement:H.parenExpression),this.state.exprAllowed=!0},j.incDec.updateContext=function(){},j._function.updateContext=function(){this.curContext()!==H.braceStatement&&this.state.context.push(H.functionExpression),this.state.exprAllowed=!1},j.backQuote.updateContext=function(){this.curContext()===H.template?this.state.context.pop():this.state.context.push(H.template),this.state.exprAllowed=!1};var Y=function e(t,n){_(this,e),this.line=t,this.column=n},q=function e(t,n){_(this,e),this.start=t,this.end=n},K=function(){function e(){_(this,e)}return e.prototype.init=function(e,t){return this.strict=e.strictMode!==!1&&"module"===e.sourceType,this.input=t,this.potentialArrowAt=-1,this.inMethod=this.inFunction=this.inGenerator=this.inAsync=this.inPropertyName=this.inType=this.inClassProperty=this.noAnonFunctionType=!1,this.labels=[],this.decorators=[],this.tokens=[],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.pos=this.lineStart=0,this.curLine=e.startLine,this.type=j.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=[H.braceStatement],this.exprAllowed=!0,this.containsEsc=this.containsOctal=!1,this.octalPosition=null,this.invalidTemplateEscapePosition=null,this.exportedIdentifiers=[],this},e.prototype.curPosition=function(){return new Y(this.curLine,this.pos-this.lineStart)},e.prototype.clone=function(t){var n=new e;for(var r in this){var i=this[r];t&&"context"!==r||!Array.isArray(i)||(i=i.slice()),n[r]=i}return n},e}(),X=function e(t){_(this,e),this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new q(t.startLoc,t.endLoc)},$=function(){function e(t,n){_(this,e),this.state=new K,this.state.init(t,n)}return e.prototype.next=function(){this.isLookahead||this.state.tokens.push(new X(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()},e.prototype.eat=function(e){return!!this.match(e)&&(this.next(),!0)},e.prototype.match=function(e){return this.state.type===e},e.prototype.isKeyword=function(e){return y(e)},e.prototype.lookahead=function(){var e=this.state;this.state=e.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;var t=this.state.clone(!0);return this.state=e,t},e.prototype.setStrict=function(e){if(this.state.strict=e,this.match(j.num)||this.match(j.string)){for(this.state.pos=this.state.start;this.state.pos=this.input.length?this.finishToken(j.eof):e.override?e.override(this):this.readToken(this.fullCharCodeAtPos())},e.prototype.readToken=function(e){return i(e)||92===e?this.readWord():this.getTokenFromCode(e)},e.prototype.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.state.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.state.pos+1);return(e<<10)+t-56613888},e.prototype.pushComment=function(e,t,n,r,i,o){var a={type:e?"CommentBlock":"CommentLine",value:t,start:n,end:r,loc:new q(i,o)};this.isLookahead||(this.state.tokens.push(a),this.state.comments.push(a),this.addComment(a))},e.prototype.skipBlockComment=function(){var e=this.state.curPosition(),t=this.state.pos,n=this.input.indexOf("*/",this.state.pos+=2);n===-1&&this.raise(this.state.pos-2,"Unterminated comment"),this.state.pos=n+2,z.lastIndex=t;for(var r=void 0;(r=z.exec(this.input))&&r.index8&&e<14||e>=5760&&V.test(String.fromCharCode(e))))break e;++this.state.pos}}},e.prototype.finishToken=function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var n=this.state.type;this.state.type=e,this.state.value=t,this.updateContext(n)},e.prototype.readToken_dot=function(){var e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.state.pos+2);return 46===e&&46===t?(this.state.pos+=3,this.finishToken(j.ellipsis)):(++this.state.pos,this.finishToken(j.dot))},e.prototype.readToken_slash=function(){if(this.state.exprAllowed)return++this.state.pos,this.readRegexp();var e=this.input.charCodeAt(this.state.pos+1);return 61===e?this.finishOp(j.assign,2):this.finishOp(j.slash,1)},e.prototype.readToken_mult_modulo=function(e){var t=42===e?j.star:j.modulo,n=1,r=this.input.charCodeAt(this.state.pos+1);return 42===r&&(n++,r=this.input.charCodeAt(this.state.pos+2),t=j.exponent),61===r&&(n++,t=j.assign),this.finishOp(t,n)},e.prototype.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.state.pos+1);return t===e?this.finishOp(124===e?j.logicalOR:j.logicalAND,2):61===t?this.finishOp(j.assign,2):124===e&&125===t&&this.hasPlugin("flow")?this.finishOp(j.braceBarR,2):this.finishOp(124===e?j.bitwiseOR:j.bitwiseAND,1)},e.prototype.readToken_caret=function(){var e=this.input.charCodeAt(this.state.pos+1);return 61===e?this.finishOp(j.assign,2):this.finishOp(j.bitwiseXOR,1)},e.prototype.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.state.pos+1);return t===e?45===t&&62===this.input.charCodeAt(this.state.pos+2)&&U.test(this.input.slice(this.state.lastTokEnd,this.state.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(j.incDec,2):61===t?this.finishOp(j.assign,2):this.finishOp(j.plusMin,1)},e.prototype.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.state.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.state.pos+2)?3:2,61===this.input.charCodeAt(this.state.pos+n)?this.finishOp(j.assign,n+1):this.finishOp(j.bitShift,n)):33===t&&60===e&&45===this.input.charCodeAt(this.state.pos+2)&&45===this.input.charCodeAt(this.state.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===t&&(n=2),this.finishOp(j.relational,n))},e.prototype.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.state.pos+1);return 61===t?this.finishOp(j.equality,61===this.input.charCodeAt(this.state.pos+2)?3:2):61===e&&62===t?(this.state.pos+=2,this.finishToken(j.arrow)):this.finishOp(61===e?j.eq:j.prefix,1)},e.prototype.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.state.pos,this.finishToken(j.parenL);case 41:return++this.state.pos,this.finishToken(j.parenR);case 59:return++this.state.pos,this.finishToken(j.semi);case 44:return++this.state.pos,this.finishToken(j.comma);case 91:return++this.state.pos,this.finishToken(j.bracketL);case 93:return++this.state.pos,this.finishToken(j.bracketR);case 123:return this.hasPlugin("flow")&&124===this.input.charCodeAt(this.state.pos+1)?this.finishOp(j.braceBarL,2):(++this.state.pos,this.finishToken(j.braceL));case 125:return++this.state.pos,this.finishToken(j.braceR);case 58:return this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(j.doubleColon,2):(++this.state.pos,this.finishToken(j.colon));case 63:return++this.state.pos,this.finishToken(j.question);case 64:return++this.state.pos,this.finishToken(j.at);case 96:return++this.state.pos,this.finishToken(j.backQuote);case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(j.prefix,1)}this.raise(this.state.pos,"Unexpected character '"+l(e)+"'")},e.prototype.finishOp=function(e,t){var n=this.input.slice(this.state.pos,this.state.pos+t);return this.state.pos+=t,this.finishToken(e,n)},e.prototype.readRegexp=function(){for(var e=this.state.pos,t=void 0,n=void 0;;){this.state.pos>=this.input.length&&this.raise(e,"Unterminated regular expression");var r=this.input.charAt(this.state.pos);if(U.test(r)&&this.raise(e,"Unterminated regular expression"),t)t=!1;else{if("["===r)n=!0;else if("]"===r&&n)n=!1;else if("/"===r&&!n)break;t="\\"===r}++this.state.pos}var i=this.input.slice(e,this.state.pos);++this.state.pos;var o=this.readWord1();if(o){var a=/^[gmsiyu]*$/;a.test(o)||this.raise(e,"Invalid regular expression flag")}return this.finishToken(j.regexp,{pattern:i,flags:o})},e.prototype.readInt=function(e,t){for(var n=this.state.pos,r=0,i=0,o=null==t?1/0:t;i=97?a-97+10:a>=65?a-65+10:a>=48&&a<=57?a-48:1/0,s>=e)break;++this.state.pos,r=r*e+s}return this.state.pos===n||null!=t&&this.state.pos-n!==t?null:r},e.prototype.readRadixNumber=function(e){this.state.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.state.start+2,"Expected number in radix "+e),i(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number"),this.finishToken(j.num,t)},e.prototype.readNumber=function(e){var t=this.state.pos,n=48===this.input.charCodeAt(t),r=!1;e||null!==this.readInt(10)||this.raise(t,"Invalid number"),n&&this.state.pos==t+1&&(n=!1);var o=this.input.charCodeAt(this.state.pos);46!==o||n||(++this.state.pos,this.readInt(10),r=!0,o=this.input.charCodeAt(this.state.pos)),69!==o&&101!==o||n||(o=this.input.charCodeAt(++this.state.pos),43!==o&&45!==o||++this.state.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),r=!0),i(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number");var a=this.input.slice(t,this.state.pos),s=void 0;return r?s=parseFloat(a):n&&1!==a.length?this.state.strict?this.raise(t,"Invalid number"):s=/[89]/.test(a)?parseInt(a,10):parseInt(a,8):s=parseInt(a,10),this.finishToken(j.num,s)},e.prototype.readCodePoint=function(e){var t=this.input.charCodeAt(this.state.pos),n=void 0;if(123===t){var r=++this.state.pos;if(n=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,e),++this.state.pos,null===n)--this.state.invalidTemplateEscapePosition;else if(n>1114111){if(!e)return this.state.invalidTemplateEscapePosition=r-2,null;this.raise(r,"Code point out of bounds")}}else n=this.readHexChar(4,e);return n},e.prototype.readString=function(e){for(var t="",n=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var r=this.input.charCodeAt(this.state.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.state.pos),t+=this.readEscapedChar(!1),n=this.state.pos):(s(r)&&this.raise(this.state.start,"Unterminated string constant"),++this.state.pos)}return t+=this.input.slice(n,this.state.pos++),this.finishToken(j.string,t)},e.prototype.readTmplToken=function(){for(var e="",t=this.state.pos,n=!1;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated template");var r=this.input.charCodeAt(this.state.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(j.template)?36===r?(this.state.pos+=2,this.finishToken(j.dollarBraceL)):(++this.state.pos,this.finishToken(j.backQuote)):(e+=this.input.slice(t,this.state.pos),this.finishToken(j.template,n?null:e));if(92===r){e+=this.input.slice(t,this.state.pos);var i=this.readEscapedChar(!0);null===i?n=!0:e+=i,t=this.state.pos}else if(s(r)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,r){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}},e.prototype.readEscapedChar=function(e){var t=!e,n=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,n){case 110:return"\n";case 114:return"\r";case 120:var r=this.readHexChar(2,t);return null===r?null:String.fromCharCode(r);case 117:var i=this.readCodePoint(t);return null===i?null:l(i);case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:return this.state.lineStart=this.state.pos,++this.state.curLine,"";default:if(n>=48&&n<=55){var o=this.state.pos-1,a=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(a,8);if(s>255&&(a=a.slice(0,-1),s=parseInt(a,8)),s>0){if(e)return this.state.invalidTemplateEscapePosition=o,null;this.state.strict?this.raise(o,"Octal literal in strict mode"):this.state.containsOctal||(this.state.containsOctal=!0,this.state.octalPosition=o)}return this.state.pos+=a.length-1,String.fromCharCode(s)}return String.fromCharCode(n)}},e.prototype.readHexChar=function(e,t){var n=this.state.pos,r=this.readInt(16,e);return null===r&&(t?this.raise(n,"Bad character escape sequence"):(this.state.pos=n-1,this.state.invalidTemplateEscapePosition=n-1)),r},e.prototype.readWord1=function(){this.state.containsEsc=!1;for(var e="",t=!0,n=this.state.pos;this.state.pos-1)||!!this.plugins[e]},t.prototype.extend=function(e,t){this[e]=t(this[e])},t.prototype.loadAllPlugins=function(){var e=this,t=Object.keys(J).filter(function(e){return"flow"!==e&&"estree"!==e});t.push("flow"),t.forEach(function(t){var n=J[t];n&&n(e)})},t.prototype.loadPlugins=function(e){if(e.indexOf("*")>=0)return this.loadAllPlugins(),{"*":!0};var t={};e.indexOf("flow")>=0&&(e=e.filter(function(e){return"flow"!==e}),e.push("flow")),e.indexOf("estree")>=0&&(e=e.filter(function(e){return"estree"!==e}),e.unshift("estree"));for(var n=e,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if(!t[a]){t[a]=!0;var s=J[a];s&&s(this)}}return t},t.prototype.parse=function(){var e=this.startNode(),t=this.startNode();return this.nextToken(),this.parseTopLevel(e,t)},t}($),ee=Z.prototype;ee.addExtra=function(e,t,n){if(e){var r=e.extra=e.extra||{};r[t]=n}},ee.isRelational=function(e){return this.match(j.relational)&&this.state.value===e},ee.expectRelational=function(e){this.isRelational(e)?this.next():this.unexpected(null,j.relational)},ee.isContextual=function(e){return this.match(j.name)&&this.state.value===e},ee.eatContextual=function(e){return this.state.value===e&&this.eat(j.name)},ee.expectContextual=function(e,t){this.eatContextual(e)||this.unexpected(null,t)},ee.canInsertSemicolon=function(){return this.match(j.eof)||this.match(j.braceR)||U.test(this.input.slice(this.state.lastTokEnd,this.state.start))},ee.isLineTerminator=function(){return this.eat(j.semi)||this.canInsertSemicolon()},ee.semicolon=function(){this.isLineTerminator()||this.unexpected(null,j.semi)},ee.expect=function(e,t){return this.eat(e)||this.unexpected(t,e)},ee.unexpected=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unexpected token";t&&"object"===("undefined"==typeof t?"undefined":w(t))&&t.label&&(t="Unexpected token, expected "+t.label),this.raise(null!=e?e:this.state.start,t)};var te=Z.prototype;te.parseTopLevel=function(e,t){return t.sourceType=this.options.sourceType,this.parseBlockBody(t,!0,!0,j.eof),e.program=this.finishNode(t,"Program"),e.comments=this.state.comments,e.tokens=this.state.tokens,this.finishNode(e,"File")};var ne={kind:"loop"},re={kind:"switch"};te.stmtToDirective=function(e){var t=e.expression,n=this.startNodeAt(t.start,t.loc.start),r=this.startNodeAt(e.start,e.loc.start),i=this.input.slice(t.start,t.end),o=n.value=i.slice(1,-1);return this.addExtra(n,"raw",i),this.addExtra(n,"rawValue",o),r.value=this.finishNodeAt(n,"DirectiveLiteral",t.end,t.loc.end),this.finishNodeAt(r,"Directive",e.end,e.loc.end)},te.parseStatement=function(e,t){this.match(j.at)&&this.parseDecorators(!0);var n=this.state.type,r=this.startNode();switch(n){case j._break:case j._continue:return this.parseBreakContinueStatement(r,n.keyword);case j._debugger:return this.parseDebuggerStatement(r);case j._do:return this.parseDoStatement(r);case j._for:return this.parseForStatement(r);case j._function:return e||this.unexpected(),this.parseFunctionStatement(r);case j._class:return e||this.unexpected(),this.parseClass(r,!0);case j._if:return this.parseIfStatement(r);case j._return:return this.parseReturnStatement(r);case j._switch:return this.parseSwitchStatement(r);case j._throw:return this.parseThrowStatement(r);case j._try:return this.parseTryStatement(r);case j._let:case j._const:e||this.unexpected();case j._var:return this.parseVarStatement(r,n);case j._while:return this.parseWhileStatement(r);case j._with:return this.parseWithStatement(r);case j.braceL:return this.parseBlock();case j.semi:return this.parseEmptyStatement(r);case j._export:case j._import:if(this.hasPlugin("dynamicImport")&&this.lookahead().type===j.parenL)break;return this.options.allowImportExportEverywhere||(t||this.raise(this.state.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.state.start,"'import' and 'export' may appear only with 'sourceType: \"module\"'")),n===j._import?this.parseImport(r):this.parseExport(r);case j.name:if("async"===this.state.value){var i=this.state.clone();if(this.next(),this.match(j._function)&&!this.canInsertSemicolon())return this.expect(j._function),this.parseFunction(r,!0,!1,!0);this.state=i}}var o=this.state.value,a=this.parseExpression();return n===j.name&&"Identifier"===a.type&&this.eat(j.colon)?this.parseLabeledStatement(r,o,a):this.parseExpressionStatement(r,a)},te.takeDecorators=function(e){this.state.decorators.length&&(e.decorators=this.state.decorators,this.state.decorators=[])},te.parseDecorators=function(e){for(;this.match(j.at);){var t=this.parseDecorator();this.state.decorators.push(t)}e&&this.match(j._export)||this.match(j._class)||this.raise(this.state.start,"Leading decorators must be attached to a class declaration")},te.parseDecorator=function(){this.hasPlugin("decorators")||this.unexpected();var e=this.startNode();return this.next(),e.expression=this.parseMaybeAssign(),this.finishNode(e,"Decorator")},te.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.isLineTerminator()?e.label=null:this.match(j.name)?(e.label=this.parseIdentifier(),this.semicolon()):this.unexpected();var r=void 0;for(r=0;r=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;s.name===t&&this.raise(n.start,"Label '"+t+"' is already declared")}for(var u=this.state.type.isLoop?"loop":this.match(j._switch)?"switch":null,l=this.state.labels.length-1;l>=0;l--){var c=this.state.labels[l];if(c.statementStart!==e.start)break;c.statementStart=this.state.start,c.kind=u}return this.state.labels.push({name:t,kind:u,statementStart:this.state.start}),e.body=this.parseStatement(!0),this.state.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},te.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},te.parseBlock=function(e){var t=this.startNode();return this.expect(j.braceL),this.parseBlockBody(t,e,!1,j.braceR),this.finishNode(t,"BlockStatement")},te.isValidDirective=function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized},te.parseBlockBody=function(e,t,n,r){e.body=[],e.directives=[];for(var i=!1,o=void 0,a=void 0;!this.eat(r);){i||!this.state.containsOctal||a||(a=this.state.octalPosition);var s=this.parseStatement(!0,n);if(t&&!i&&this.isValidDirective(s)){var u=this.stmtToDirective(s);e.directives.push(u),void 0===o&&"use strict"===u.value.value&&(o=this.state.strict,this.setStrict(!0),a&&this.raise(a,"Octal literal in strict mode"))}else i=!0,e.body.push(s)}o===!1&&this.setStrict(!1)},te.parseFor=function(e,t){return e.init=t,this.expect(j.semi),e.test=this.match(j.semi)?null:this.parseExpression(),this.expect(j.semi),e.update=this.match(j.parenR)?null:this.parseExpression(),this.expect(j.parenR),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,"ForStatement")},te.parseForIn=function(e,t,n){var r=void 0;return n?(this.eatContextual("of"),r="ForAwaitStatement"):(r=this.match(j._in)?"ForInStatement":"ForOfStatement",this.next()),e.left=t,e.right=this.parseExpression(),this.expect(j.parenR),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,r)},te.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n.keyword;;){var r=this.startNode();if(this.parseVarHead(r),this.eat(j.eq)?r.init=this.parseMaybeAssign(t):n!==j._const||this.match(j._in)||this.isContextual("of")?"Identifier"===r.id.type||t&&(this.match(j._in)||this.isContextual("of"))?r.init=null:this.raise(this.state.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(j.comma))break}return e},te.parseVarHead=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0,void 0,"variable declaration")},te.parseFunction=function(e,t,n,r,i){var o=this.state.inMethod;return this.state.inMethod=!1,this.initFunction(e,r),this.match(j.star)&&(e.async&&!this.hasPlugin("asyncGenerators")?this.unexpected():(e.generator=!0,this.next())),!t||i||this.match(j.name)||this.match(j._yield)||this.unexpected(),(this.match(j.name)||this.match(j._yield))&&(e.id=this.parseBindingIdentifier()),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.state.inMethod=o,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},te.parseFunctionParams=function(e){this.expect(j.parenL),e.params=this.parseBindingList(j.parenR)},te.parseClass=function(e,t,n){return this.next(),this.takeDecorators(e),this.parseClassId(e,t,n),this.parseClassSuper(e),this.parseClassBody(e),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},te.isClassProperty=function(){return this.match(j.eq)||this.match(j.semi)||this.match(j.braceR)},te.isClassMethod=function(){return this.match(j.parenL)},te.isNonstaticConstructor=function(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)},te.parseClassBody=function(e){var t=this.state.strict;this.state.strict=!0;var n=!1,r=!1,i=[],o=this.startNode();for(o.body=[],this.expect(j.braceL);!this.eat(j.braceR);)if(this.eat(j.semi))i.length>0&&this.raise(this.state.lastTokEnd,"Decorators must not be followed by a semicolon");else if(this.match(j.at))i.push(this.parseDecorator());else{var a=this.startNode();if(i.length&&(a.decorators=i,i=[]),a.static=!1,this.match(j.name)&&"static"===this.state.value){var s=this.parseIdentifier(!0);if(this.isClassMethod()){a.kind="method",a.computed=!1,a.key=s,this.parseClassMethod(o,a,!1,!1);continue}if(this.isClassProperty()){a.computed=!1,a.key=s,o.body.push(this.parseClassProperty(a));continue}a.static=!0}if(this.eat(j.star))a.kind="method",this.parsePropertyName(a),this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Constructor can't be a generator"),a.computed||!a.static||"prototype"!==a.key.name&&"prototype"!==a.key.value||this.raise(a.key.start,"Classes may not have static property named prototype"),this.parseClassMethod(o,a,!0,!1);else{var u=this.match(j.name),l=this.parsePropertyName(a);if(a.computed||!a.static||"prototype"!==a.key.name&&"prototype"!==a.key.value||this.raise(a.key.start,"Classes may not have static property named prototype"),this.isClassMethod())this.isNonstaticConstructor(a)?(r?this.raise(l.start,"Duplicate constructor in the same class"):a.decorators&&this.raise(a.start,"You can't attach decorators to a class constructor"),r=!0,a.kind="constructor"):a.kind="method",this.parseClassMethod(o,a,!1,!1);else if(this.isClassProperty())this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Classes may not have a non-static field named 'constructor'"),o.body.push(this.parseClassProperty(a));else if(u&&"async"===l.name&&!this.isLineTerminator()){var c=this.hasPlugin("asyncGenerators")&&this.eat(j.star);a.kind="method",this.parsePropertyName(a),this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Constructor can't be an async function"),this.parseClassMethod(o,a,c,!0)}else!u||"get"!==l.name&&"set"!==l.name||this.isLineTerminator()&&this.match(j.star)?this.hasPlugin("classConstructorCall")&&u&&"call"===l.name&&this.match(j.name)&&"constructor"===this.state.value?(n?this.raise(a.start,"Duplicate constructor call in the same class"):a.decorators&&this.raise(a.start,"You can't attach decorators to a class constructor"),n=!0,a.kind="constructorCall",this.parsePropertyName(a),this.parseClassMethod(o,a,!1,!1)):this.isLineTerminator()?(this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Classes may not have a non-static field named 'constructor'"),o.body.push(this.parseClassProperty(a))):this.unexpected():(a.kind=l.name,this.parsePropertyName(a),this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Constructor can't have get/set modifier"),this.parseClassMethod(o,a,!1,!1),this.checkGetterSetterParamCount(a))}}i.length&&this.raise(this.state.start,"You have trailing decorators with no method"),e.body=this.finishNode(o,"ClassBody"),this.state.strict=t},te.parseClassProperty=function(e){return this.state.inClassProperty=!0,this.match(j.eq)?(this.hasPlugin("classProperties")||this.unexpected(),this.next(),e.value=this.parseMaybeAssign()):e.value=null,this.semicolon(),this.state.inClassProperty=!1,this.finishNode(e,"ClassProperty")},te.parseClassMethod=function(e,t,n,r){this.parseMethod(t,n,r),e.body.push(this.finishNode(t,"ClassMethod"))},te.parseClassId=function(e,t,n){this.match(j.name)?e.id=this.parseIdentifier():n||!t?e.id=null:this.unexpected()},te.parseClassSuper=function(e){e.superClass=this.eat(j._extends)?this.parseExprSubscripts():null},te.parseExport=function(e){if(this.next(),this.match(j.star)){var t=this.startNode();if(this.next(),!this.hasPlugin("exportExtensions")||!this.eatContextual("as"))return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");t.exported=this.parseIdentifier(),e.specifiers=[this.finishNode(t,"ExportNamespaceSpecifier")],this.parseExportSpecifiersMaybe(e),this.parseExportFrom(e,!0)}else if(this.hasPlugin("exportExtensions")&&this.isExportDefaultSpecifier()){var n=this.startNode();if(n.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],this.match(j.comma)&&this.lookahead().type===j.star){this.expect(j.comma);var r=this.startNode();this.expect(j.star),this.expectContextual("as"),r.exported=this.parseIdentifier(),e.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier"))}else this.parseExportSpecifiersMaybe(e);this.parseExportFrom(e,!0)}else{if(this.eat(j._default)){var i=this.startNode(),o=!1;return this.eat(j._function)?i=this.parseFunction(i,!0,!1,!1,!0):this.match(j._class)?i=this.parseClass(i,!0,!0):(o=!0,i=this.parseMaybeAssign()),e.declaration=i,o&&this.semicolon(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration")}this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,e.declaration=this.parseExportDeclaration(e)):(e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(e))}return this.checkExport(e,!0),this.finishNode(e,"ExportNamedDeclaration")},te.parseExportDeclaration=function(){return this.parseStatement(!0)},te.isExportDefaultSpecifier=function(){if(this.match(j.name))return"async"!==this.state.value;if(!this.match(j._default))return!1;var e=this.lookahead();return e.type===j.comma||e.type===j.name&&"from"===e.value},te.parseExportSpecifiersMaybe=function(e){this.eat(j.comma)&&(e.specifiers=e.specifiers.concat(this.parseExportSpecifiers()))},te.parseExportFrom=function(e,t){this.eatContextual("from")?(e.source=this.match(j.string)?this.parseExprAtom():this.unexpected(),this.checkExport(e)):t?this.unexpected():e.source=null,this.semicolon()},te.shouldParseExportDeclaration=function(){return"var"===this.state.type.keyword||"const"===this.state.type.keyword||"let"===this.state.type.keyword||"function"===this.state.type.keyword||"class"===this.state.type.keyword||this.isContextual("async"); +},te.checkExport=function(e,t,n){if(t)if(n)this.checkDuplicateExports(e,"default");else if(e.specifiers&&e.specifiers.length)for(var r=e.specifiers,i=Array.isArray(r),o=0,r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;this.checkDuplicateExports(s,s.exported.name)}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type)this.checkDuplicateExports(e,e.declaration.id.name);else if("VariableDeclaration"===e.declaration.type)for(var u=e.declaration.declarations,l=Array.isArray(u),c=0,u=l?u:u[Symbol.iterator]();;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;this.checkDeclaration(p.id)}if(this.state.decorators.length){var d=e.declaration&&("ClassDeclaration"===e.declaration.type||"ClassExpression"===e.declaration.type);e.declaration&&d||this.raise(e.start,"You can only use decorators on an export when exporting a class"),this.takeDecorators(e.declaration)}},te.checkDeclaration=function(e){if("ObjectPattern"===e.type)for(var t=e.properties,n=Array.isArray(t),r=0,t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;this.checkDeclaration(o)}else if("ArrayPattern"===e.type)for(var a=e.elements,s=Array.isArray(a),u=0,a=s?a:a[Symbol.iterator]();;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;c&&this.checkDeclaration(c)}else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type||"RestProperty"===e.type?this.checkDeclaration(e.argument):"Identifier"===e.type&&this.checkDuplicateExports(e,e.name)},te.checkDuplicateExports=function(e,t){this.state.exportedIdentifiers.indexOf(t)>-1&&this.raiseDuplicateExportError(e,t),this.state.exportedIdentifiers.push(t)},te.raiseDuplicateExportError=function(e,t){this.raise(e.start,"default"===t?"Only one default export allowed per module.":"`"+t+"` has already been exported. Exported identifiers must be unique.")},te.parseExportSpecifiers=function(){var e=[],t=!0,n=void 0;for(this.expect(j.braceL);!this.eat(j.braceR);){if(t)t=!1;else if(this.expect(j.comma),this.eat(j.braceR))break;var r=this.match(j._default);r&&!n&&(n=!0);var i=this.startNode();i.local=this.parseIdentifier(r),i.exported=this.eatContextual("as")?this.parseIdentifier(!0):i.local.__clone(),e.push(this.finishNode(i,"ExportSpecifier"))}return n&&!this.isContextual("from")&&this.unexpected(),e},te.parseImport=function(e){return this.eat(j._import),this.match(j.string)?(e.specifiers=[],e.source=this.parseExprAtom()):(e.specifiers=[],this.parseImportSpecifiers(e),this.expectContextual("from"),e.source=this.match(j.string)?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},te.parseImportSpecifiers=function(e){var t=!0;if(this.match(j.name)){var n=this.state.start,r=this.state.startLoc;if(e.specifiers.push(this.parseImportSpecifierDefault(this.parseIdentifier(),n,r)),!this.eat(j.comma))return}if(this.match(j.star)){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdentifier(),this.checkLVal(i.local,!0,void 0,"import namespace specifier"),void e.specifiers.push(this.finishNode(i,"ImportNamespaceSpecifier"))}for(this.expect(j.braceL);!this.eat(j.braceR);){if(t)t=!1;else if(this.eat(j.colon)&&this.unexpected(null,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),this.expect(j.comma),this.eat(j.braceR))break;this.parseImportSpecifier(e)}},te.parseImportSpecifier=function(e){var t=this.startNode();t.imported=this.parseIdentifier(!0),this.eatContextual("as")?t.local=this.parseIdentifier():(this.checkReservedWord(t.imported.name,t.start,!0,!0),t.local=t.imported.__clone()),this.checkLVal(t.local,!0,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))},te.parseImportSpecifierDefault=function(e,t,n){var r=this.startNodeAt(t,n);return r.local=e,this.checkLVal(r.local,!0,void 0,"default import specifier"),this.finishNode(r,"ImportDefaultSpecifier")};var oe=Z.prototype;oe.toAssignable=function(e,t,n){if(e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var r=e.properties,i=Array.isArray(r),o=0,r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;"ObjectMethod"===s.type?"get"===s.kind||"set"===s.kind?this.raise(s.key.start,"Object pattern can't contain getter or setter"):this.raise(s.key.start,"Object pattern can't contain methods"):this.toAssignable(s,t,"object destructuring pattern")}break;case"ObjectProperty":this.toAssignable(e.value,t,n);break;case"SpreadProperty":e.type="RestProperty";var u=e.argument;this.toAssignable(u,t,n);break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t,n);break;case"AssignmentExpression":"="===e.operator?(e.type="AssignmentPattern",delete e.operator):this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break;case"MemberExpression":if(!t)break;default:var l="Invalid left-hand side"+(n?" in "+n:"expression");this.raise(e.start,l)}return e},oe.toAssignableList=function(e,t,n){var r=e.length;if(r){var i=e[r-1];if(i&&"RestElement"===i.type)--r;else if(i&&"SpreadElement"===i.type){i.type="RestElement";var o=i.argument;this.toAssignable(o,t,n),"Identifier"!==o.type&&"MemberExpression"!==o.type&&"ArrayPattern"!==o.type&&this.unexpected(o.start),--r}}for(var a=0;a=o.length)break;u=o[s++]}else{if(s=o.next(),s.done)break;u=s.value}var l=u;"ObjectProperty"===l.type&&(l=l.value),this.checkLVal(l,t,n,"object destructuring pattern")}break;case"ArrayPattern":for(var c=e.elements,f=Array.isArray(c),p=0,c=f?c:c[Symbol.iterator]();;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;h&&this.checkLVal(h,t,n,"array destructuring pattern")}break;case"AssignmentPattern":this.checkLVal(e.left,t,n,"assignment pattern");break;case"RestProperty":this.checkLVal(e.argument,t,n,"rest property");break;case"RestElement":this.checkLVal(e.argument,t,n,"rest element");break;default:var m=(t?"Binding invalid":"Invalid")+" left-hand side"+(r?" in "+r:"expression");this.raise(e.start,m)}};var ae=Z.prototype;ae.checkPropClash=function(e,t){if(!e.computed&&!e.kind){var n=e.key,r="Identifier"===n.type?n.name:String(n.value);"__proto__"===r&&(t.proto&&this.raise(n.start,"Redefinition of __proto__ property"),t.proto=!0)}},ae.getExpression=function(){this.nextToken();var e=this.parseExpression();return this.match(j.eof)||this.unexpected(),e},ae.parseExpression=function(e,t){var n=this.state.start,r=this.state.startLoc,i=this.parseMaybeAssign(e,t);if(this.match(j.comma)){var o=this.startNodeAt(n,r);for(o.expressions=[i];this.eat(j.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.toReferencedList(o.expressions),this.finishNode(o,"SequenceExpression")}return i},ae.parseMaybeAssign=function(e,t,n,r){var i=this.state.start,o=this.state.startLoc;if(this.match(j._yield)&&this.state.inGenerator){var a=this.parseYield();return n&&(a=n.call(this,a,i,o)),a}var s=void 0;t?s=!1:(t={start:0},s=!0),(this.match(j.parenL)||this.match(j.name))&&(this.state.potentialArrowAt=this.state.start);var u=this.parseMaybeConditional(e,t,r);if(n&&(u=n.call(this,u,i,o)),this.state.type.isAssign){var l=this.startNodeAt(i,o);if(l.operator=this.state.value,l.left=this.match(j.eq)?this.toAssignable(u,void 0,"assignment expression"):u,t.start=0,this.checkLVal(u,void 0,void 0,"assignment expression"),u.extra&&u.extra.parenthesized){var c=void 0;"ObjectPattern"===u.type?c="`({a}) = 0` use `({a} = 0)`":"ArrayPattern"===u.type&&(c="`([a]) = 0` use `([a] = 0)`"),c&&this.raise(u.start,"You're trying to assign to a parenthesized expression, eg. instead of "+c)}return this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return s&&t.start&&this.unexpected(t.start),u},ae.parseMaybeConditional=function(e,t,n){var r=this.state.start,i=this.state.startLoc,o=this.parseExprOps(e,t);return t&&t.start?o:this.parseConditional(o,e,r,i,n)},ae.parseConditional=function(e,t,n,r){if(this.eat(j.question)){var i=this.startNodeAt(n,r);return i.test=e,i.consequent=this.parseMaybeAssign(),this.expect(j.colon),i.alternate=this.parseMaybeAssign(t),this.finishNode(i,"ConditionalExpression")}return e},ae.parseExprOps=function(e,t){var n=this.state.start,r=this.state.startLoc,i=this.parseMaybeUnary(t);return t&&t.start?i:this.parseExprOp(i,n,r,-1,e)},ae.parseExprOp=function(e,t,n,r,i){var o=this.state.type.binop;if(!(null==o||i&&this.match(j._in))&&o>r){var a=this.startNodeAt(t,n);a.left=e,a.operator=this.state.value,"**"!==a.operator||"UnaryExpression"!==e.type||!e.extra||e.extra.parenthesizedArgument||e.extra.parenthesized||this.raise(e.argument.start,"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.");var s=this.state.type;this.next();var u=this.state.start,l=this.state.startLoc;return a.right=this.parseExprOp(this.parseMaybeUnary(),u,l,s.rightAssociative?o-1:o,i),this.finishNode(a,s===j.logicalOR||s===j.logicalAND?"LogicalExpression":"BinaryExpression"),this.parseExprOp(a,t,n,r,i)}return e},ae.parseMaybeUnary=function(e){if(this.state.type.prefix){var t=this.startNode(),n=this.match(j.incDec);t.operator=this.state.value,t.prefix=!0,this.next();var r=this.state.type;return t.argument=this.parseMaybeUnary(),this.addExtra(t,"parenthesizedArgument",!(r!==j.parenL||t.argument.extra&&t.argument.extra.parenthesized)),e&&e.start&&this.unexpected(e.start),n?this.checkLVal(t.argument,void 0,void 0,"prefix operation"):this.state.strict&&"delete"===t.operator&&"Identifier"===t.argument.type&&this.raise(t.start,"Deleting local variable in strict mode"),this.finishNode(t,n?"UpdateExpression":"UnaryExpression")}var i=this.state.start,o=this.state.startLoc,a=this.parseExprSubscripts(e);if(e&&e.start)return a;for(;this.state.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(i,o);s.operator=this.state.value,s.prefix=!1,s.argument=a,this.checkLVal(a,void 0,void 0,"postfix operation"),this.next(),a=this.finishNode(s,"UpdateExpression")}return a},ae.parseExprSubscripts=function(e){var t=this.state.start,n=this.state.startLoc,r=this.state.potentialArrowAt,i=this.parseExprAtom(e);return"ArrowFunctionExpression"===i.type&&i.start===r?i:e&&e.start?i:this.parseSubscripts(i,t,n)},ae.parseSubscripts=function(e,t,n,r){for(;;){if(!r&&this.eat(j.doubleColon)){var i=this.startNodeAt(t,n);return i.object=e,i.callee=this.parseNoCallExpr(),this.parseSubscripts(this.finishNode(i,"BindExpression"),t,n,r)}if(this.eat(j.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=this.parseIdentifier(!0),o.computed=!1,e=this.finishNode(o,"MemberExpression")}else if(this.eat(j.bracketL)){var a=this.startNodeAt(t,n);a.object=e,a.property=this.parseExpression(),a.computed=!0,this.expect(j.bracketR),e=this.finishNode(a,"MemberExpression")}else if(!r&&this.match(j.parenL)){var s=this.state.potentialArrowAt===e.start&&"Identifier"===e.type&&"async"===e.name&&!this.canInsertSemicolon();this.next();var u=this.startNodeAt(t,n);if(u.callee=e,u.arguments=this.parseCallExpressionArguments(j.parenR,s),"Import"===u.callee.type&&1!==u.arguments.length&&this.raise(u.start,"import() requires exactly one argument"),e=this.finishNode(u,"CallExpression"),s&&this.shouldParseAsyncArrow())return this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,n),u);this.toReferencedList(u.arguments)}else{if(!this.match(j.backQuote))return e;var l=this.startNodeAt(t,n);l.tag=e,l.quasi=this.parseTemplate(!0),e=this.finishNode(l,"TaggedTemplateExpression")}}},ae.parseCallExpressionArguments=function(e,t){for(var n=[],r=void 0,i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(j.comma),this.eat(e))break;this.match(j.parenL)&&!r&&(r=this.state.start),n.push(this.parseExprListItem(!1,t?{start:0}:void 0,t?{start:0}:void 0))}return t&&r&&this.shouldParseAsyncArrow()&&this.unexpected(),n},ae.shouldParseAsyncArrow=function(){return this.match(j.arrow)},ae.parseAsyncArrowFromCallExpression=function(e,t){return this.expect(j.arrow),this.parseArrowExpression(e,t.arguments,!0)},ae.parseNoCallExpr=function(){var e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)},ae.parseExprAtom=function(e){var t=this.state.potentialArrowAt===this.state.start,n=void 0;switch(this.state.type){case j._super:return this.state.inMethod||this.state.inClassProperty||this.options.allowSuperOutsideMethod||this.raise(this.state.start,"'super' outside of function or class"),n=this.startNode(),this.next(),this.match(j.parenL)||this.match(j.bracketL)||this.match(j.dot)||this.unexpected(),this.match(j.parenL)&&"constructor"!==this.state.inMethod&&!this.options.allowSuperOutsideMethod&&this.raise(n.start,"super() outside of class constructor"),this.finishNode(n,"Super");case j._import:return this.hasPlugin("dynamicImport")||this.unexpected(),n=this.startNode(),this.next(),this.match(j.parenL)||this.unexpected(null,j.parenL),this.finishNode(n,"Import");case j._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case j._yield:this.state.inGenerator&&this.unexpected();case j.name:n=this.startNode();var r="await"===this.state.value&&this.state.inAsync,i=this.shouldAllowYieldIdentifier(),o=this.parseIdentifier(r||i);if("await"===o.name){if(this.state.inAsync||this.inModule)return this.parseAwait(n)}else{if("async"===o.name&&this.match(j._function)&&!this.canInsertSemicolon())return this.next(),this.parseFunction(n,!1,!1,!0);if(t&&"async"===o.name&&this.match(j.name)){var a=[this.parseIdentifier()];return this.expect(j.arrow),this.parseArrowExpression(n,a,!0)}}return t&&!this.canInsertSemicolon()&&this.eat(j.arrow)?this.parseArrowExpression(n,[o]):o;case j._do:if(this.hasPlugin("doExpressions")){var s=this.startNode();this.next();var u=this.state.inFunction,l=this.state.labels;return this.state.labels=[],this.state.inFunction=!1,s.body=this.parseBlock(!1,!0),this.state.inFunction=u,this.state.labels=l,this.finishNode(s,"DoExpression")}case j.regexp:var c=this.state.value;return n=this.parseLiteral(c.value,"RegExpLiteral"),n.pattern=c.pattern,n.flags=c.flags,n;case j.num:return this.parseLiteral(this.state.value,"NumericLiteral");case j.string:return this.parseLiteral(this.state.value,"StringLiteral");case j._null:return n=this.startNode(),this.next(),this.finishNode(n,"NullLiteral");case j._true:case j._false:return n=this.startNode(),n.value=this.match(j._true),this.next(),this.finishNode(n,"BooleanLiteral");case j.parenL:return this.parseParenAndDistinguishExpression(null,null,t);case j.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(j.bracketR,!0,e),this.toReferencedList(n.elements),this.finishNode(n,"ArrayExpression");case j.braceL:return this.parseObj(!1,e);case j._function:return this.parseFunctionExpression();case j.at:this.parseDecorators();case j._class:return n=this.startNode(),this.takeDecorators(n),this.parseClass(n,!1);case j._new:return this.parseNew();case j.backQuote:return this.parseTemplate(!1);case j.doubleColon:n=this.startNode(),this.next(),n.object=null;var f=n.callee=this.parseNoCallExpr();if("MemberExpression"===f.type)return this.finishNode(n,"BindExpression");this.raise(f.start,"Binding should be performed on object property.");default:this.unexpected()}},ae.parseFunctionExpression=function(){var e=this.startNode(),t=this.parseIdentifier(!0);return this.state.inGenerator&&this.eat(j.dot)&&this.hasPlugin("functionSent")?this.parseMetaProperty(e,t,"sent"):this.parseFunction(e,!1)},ae.parseMetaProperty=function(e,t,n){return e.meta=t,e.property=this.parseIdentifier(!0),e.property.name!==n&&this.raise(e.property.start,"The only valid meta property for new is "+t.name+"."+n),this.finishNode(e,"MetaProperty")},ae.parseLiteral=function(e,t,n,r){n=n||this.state.start,r=r||this.state.startLoc;var i=this.startNodeAt(n,r);return this.addExtra(i,"rawValue",e),this.addExtra(i,"raw",this.input.slice(n,this.state.end)),i.value=e,this.next(),this.finishNode(i,t)},ae.parseParenExpression=function(){this.expect(j.parenL);var e=this.parseExpression();return this.expect(j.parenR),e},ae.parseParenAndDistinguishExpression=function(e,t,n){e=e||this.state.start,t=t||this.state.startLoc;var r=void 0;this.expect(j.parenL);for(var i=this.state.start,o=this.state.startLoc,a=[],s={start:0},u={start:0},l=!0,c=void 0,f=void 0;!this.match(j.parenR);){if(l)l=!1;else if(this.expect(j.comma,u.start||null),this.match(j.parenR)){f=this.state.start;break}if(this.match(j.ellipsis)){var p=this.state.start,d=this.state.startLoc;c=this.state.start,a.push(this.parseParenItem(this.parseRest(),p,d));break}a.push(this.parseMaybeAssign(!1,s,this.parseParenItem,u))}var h=this.state.start,m=this.state.startLoc;this.expect(j.parenR);var v=this.startNodeAt(e,t);if(n&&this.shouldParseArrow()&&(v=this.parseArrow(v))){for(var g=a,y=Array.isArray(g),b=0,g=y?g:g[Symbol.iterator]();;){var x;if(y){if(b>=g.length)break;x=g[b++]}else{if(b=g.next(),b.done)break;x=b.value}var E=x;E.extra&&E.extra.parenthesized&&this.unexpected(E.extra.parenStart)}return this.parseArrowExpression(v,a)}return a.length||this.unexpected(this.state.lastTokStart),f&&this.unexpected(f),c&&this.unexpected(c),s.start&&this.unexpected(s.start),u.start&&this.unexpected(u.start),a.length>1?(r=this.startNodeAt(i,o),r.expressions=a,this.toReferencedList(r.expressions),this.finishNodeAt(r,"SequenceExpression",h,m)):r=a[0],this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",e),r},ae.shouldParseArrow=function(){return!this.canInsertSemicolon()},ae.parseArrow=function(e){if(this.eat(j.arrow))return e},ae.parseParenItem=function(e){return e},ae.parseNew=function(){var e=this.startNode(),t=this.parseIdentifier(!0);if(this.eat(j.dot)){var n=this.parseMetaProperty(e,t,"target");return this.state.inFunction||this.raise(n.property.start,"new.target can only be used in functions"),n}return e.callee=this.parseNoCallExpr(),this.eat(j.parenL)?(e.arguments=this.parseExprList(j.parenR),this.toReferencedList(e.arguments)):e.arguments=[],this.finishNode(e,"NewExpression")},ae.parseTemplateElement=function(e){var t=this.startNode();return null===this.state.value&&(e&&this.hasPlugin("templateInvalidEscapes")?this.state.invalidTemplateEscapePosition=null:this.raise(this.state.invalidTemplateEscapePosition,"Invalid escape sequence in template")),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),t.tail=this.match(j.backQuote),this.finishNode(t,"TemplateElement")},ae.parseTemplate=function(e){var t=this.startNode();this.next(),t.expressions=[];var n=this.parseTemplateElement(e);for(t.quasis=[n];!n.tail;)this.expect(j.dollarBraceL),t.expressions.push(this.parseExpression()),this.expect(j.braceR),t.quasis.push(n=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")},ae.parseObj=function(e,t){var n=[],r=Object.create(null),i=!0,o=this.startNode();o.properties=[],this.next();for(var a=null;!this.eat(j.braceR);){if(i)i=!1;else if(this.expect(j.comma),this.eat(j.braceR))break;for(;this.match(j.at);)n.push(this.parseDecorator());var s=this.startNode(),u=!1,l=!1,c=void 0,f=void 0;if(n.length&&(s.decorators=n,n=[]),this.hasPlugin("objectRestSpread")&&this.match(j.ellipsis)){if(s=this.parseSpread(e?{start:0}:void 0),s.type=e?"RestProperty":"SpreadProperty",e&&this.toAssignable(s.argument,!0,"object pattern"),o.properties.push(s),!e)continue;var p=this.state.start;if(null===a){if(this.eat(j.braceR))break;if(this.match(j.comma)&&this.lookahead().type===j.braceR)continue;a=p;continue}this.unexpected(a,"Cannot have multiple rest elements when destructuring")}if(s.method=!1,s.shorthand=!1,(e||t)&&(c=this.state.start,f=this.state.startLoc),e||(u=this.eat(j.star)),!e&&this.isContextual("async")){u&&this.unexpected();var d=this.parseIdentifier();this.match(j.colon)||this.match(j.parenL)||this.match(j.braceR)||this.match(j.eq)||this.match(j.comma)?(s.key=d,s.computed=!1):(l=!0,this.hasPlugin("asyncGenerators")&&(u=this.eat(j.star)),this.parsePropertyName(s))}else this.parsePropertyName(s);this.parseObjPropValue(s,c,f,u,l,e,t),this.checkPropClash(s,r),s.shorthand&&this.addExtra(s,"shorthand",!0),o.properties.push(s)}return null!==a&&this.unexpected(a,"The rest element has to be the last element when destructuring"),n.length&&this.raise(this.state.start,"You have trailing decorators with no property"),this.finishNode(o,e?"ObjectPattern":"ObjectExpression")},ae.isGetterOrSetterMethod=function(e,t){return!t&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&(this.match(j.string)||this.match(j.num)||this.match(j.bracketL)||this.match(j.name)||this.state.type.keyword)},ae.checkGetterSetterParamCount=function(e){var t="get"===e.kind?0:1;if(e.params.length!==t){var n=e.start;"get"===e.kind?this.raise(n,"getter should have no params"):this.raise(n,"setter should have exactly one param")}},ae.parseObjectMethod=function(e,t,n,r){return n||t||this.match(j.parenL)?(r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,n),this.finishNode(e,"ObjectMethod")):this.isGetterOrSetterMethod(e,r)?((t||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),this.parseMethod(e),this.checkGetterSetterParamCount(e),this.finishNode(e,"ObjectMethod")):void 0},ae.parseObjectProperty=function(e,t,n,r,i){return this.eat(j.colon)?(e.value=r?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssign(!1,i),this.finishNode(e,"ObjectProperty")):e.computed||"Identifier"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!0),r?e.value=this.parseMaybeDefault(t,n,e.key.__clone()):this.match(j.eq)&&i?(i.start||(i.start=this.state.start),e.value=this.parseMaybeDefault(t,n,e.key.__clone())):e.value=e.key.__clone(),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))},ae.parseObjPropValue=function(e,t,n,r,i,o,a){var s=this.parseObjectMethod(e,r,i,o)||this.parseObjectProperty(e,t,n,o,a);return s||this.unexpected(),s},ae.parsePropertyName=function(e){if(this.eat(j.bracketL))e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(j.bracketR);else{e.computed=!1;var t=this.state.inPropertyName;this.state.inPropertyName=!0,e.key=this.match(j.num)||this.match(j.string)?this.parseExprAtom():this.parseIdentifier(!0),this.state.inPropertyName=t}return e.key},ae.initFunction=function(e,t){e.id=null,e.generator=!1,e.expression=!1,e.async=!!t},ae.parseMethod=function(e,t,n){var r=this.state.inMethod;return this.state.inMethod=e.kind||!0,this.initFunction(e,n),this.expect(j.parenL),e.params=this.parseBindingList(j.parenR),e.generator=!!t,this.parseFunctionBody(e),this.state.inMethod=r,e},ae.parseArrowExpression=function(e,t,n){return this.initFunction(e,n),e.params=this.toAssignableList(t,!0,"arrow function parameters"),this.parseFunctionBody(e,!0),this.finishNode(e,"ArrowFunctionExpression")},ae.isStrictBody=function(e,t){if(!t&&e.body.directives.length)for(var n=e.body.directives,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if("use strict"===a.value.value)return!0}return!1},ae.parseFunctionBody=function(e,t){var n=t&&!this.match(j.braceL),r=this.state.inAsync;if(this.state.inAsync=e.async,n)e.body=this.parseMaybeAssign(),e.expression=!0;else{var i=this.state.inFunction,o=this.state.inGenerator,a=this.state.labels;this.state.inFunction=!0,this.state.inGenerator=e.generator,this.state.labels=[],e.body=this.parseBlock(!0),e.expression=!1,this.state.inFunction=i,this.state.inGenerator=o,this.state.labels=a}this.state.inAsync=r;var s=this.isStrictBody(e,n),u=this.state.strict||t||s;if(s&&e.id&&"Identifier"===e.id.type&&"yield"===e.id.name&&this.raise(e.id.start,"Binding yield in strict mode"),u){var l=Object.create(null),c=this.state.strict;s&&(this.state.strict=!0),e.id&&this.checkLVal(e.id,!0,void 0,"function name");for(var f=e.params,p=Array.isArray(f),d=0,f=p?f:f[Symbol.iterator]();;){var h;if(p){if(d>=f.length)break;h=f[d++]}else{if(d=f.next(),d.done)break;h=d.value}var m=h;s&&"Identifier"!==m.type&&this.raise(m.start,"Non-simple parameter in strict mode"),this.checkLVal(m,!0,l,"function parameter list")}this.state.strict=c}},ae.parseExprList=function(e,t,n){for(var r=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(j.comma),this.eat(e))break;r.push(this.parseExprListItem(t,n))}return r},ae.parseExprListItem=function(e,t,n){var r=void 0;return r=e&&this.match(j.comma)?null:this.match(j.ellipsis)?this.parseSpread(t):this.parseMaybeAssign(!1,t,this.parseParenItem,n)},ae.parseIdentifier=function(e){var t=this.startNode();return e||this.checkReservedWord(this.state.value,this.state.start,!!this.state.type.keyword,!1),this.match(j.name)?t.name=this.state.value:this.state.type.keyword?t.name=this.state.type.keyword:this.unexpected(),!e&&"await"===t.name&&this.state.inAsync&&this.raise(t.start,"invalid use of await inside of an async function"),t.loc.identifierName=t.name,this.next(),this.finishNode(t,"Identifier")},ae.checkReservedWord=function(e,t,n,r){(this.isReservedWord(e)||n&&this.isKeyword(e))&&this.raise(t,e+" is a reserved word"),this.state.strict&&(g.strict(e)||r&&g.strictBind(e))&&this.raise(t,e+" is a reserved word in strict mode")},ae.parseAwait=function(e){return this.state.inAsync||this.unexpected(),this.match(j.star)&&this.raise(e.start,"await* has been removed from the async functions proposal. Use Promise.all() instead."),e.argument=this.parseMaybeUnary(),this.finishNode(e,"AwaitExpression")},ae.parseYield=function(){var e=this.startNode();return this.next(),this.match(j.semi)||this.canInsertSemicolon()||!this.match(j.star)&&!this.state.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(j.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")};var se=Z.prototype,ue=["leadingComments","trailingComments","innerComments"],le=function(){function e(t,n,r){_(this,e),this.type="",this.start=t,this.end=0,this.loc=new q(n),r&&(this.loc.filename=r)}return e.prototype.__clone=function(){var t=new e;for(var n in this)ue.indexOf(n)<0&&(t[n]=this[n]);return t},e}();se.startNode=function(){return new le(this.state.start,this.state.startLoc,this.filename)},se.startNodeAt=function(e,t){return new le(e,t,this.filename)},se.finishNode=function(e,t){return c.call(this,e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)},se.finishNodeAt=function(e,t,n,r){return c.call(this,e,t,n,r)};var ce=Z.prototype;ce.raise=function(e,t){var n=u(this.input,e);t+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r};var fe=Z.prototype;fe.addComment=function(e){this.filename&&(e.loc.filename=this.filename),this.state.trailingComments.push(e),this.state.leadingComments.push(e)},fe.processComment=function(e){if(!("Program"===e.type&&e.body.length>0)){var t=this.state.commentStack,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=e.end?(i=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else{var s=f(t);t.length>0&&s.trailingComments&&s.trailingComments[0].start>=e.end&&(i=s.trailingComments,s.trailingComments=null)}for(t.length>0&&f(t).start>=e.start&&(n=t.pop());t.length>0&&f(t).start>=e.start;)r=t.pop();if(!r&&n&&(r=n),n&&this.state.leadingComments.length>0){var u=f(this.state.leadingComments);if("ObjectProperty"===n.type){if(u.start>=e.start&&this.state.commentPreviousNode){for(a=0;a0&&(n.trailingComments=this.state.leadingComments,this.state.leadingComments=[])}}else if("CallExpression"===e.type&&e.arguments&&e.arguments.length){var l=f(e.arguments);l&&u.start>=l.start&&u.end<=e.end&&this.state.commentPreviousNode&&this.state.leadingComments.length>0&&(l.trailingComments=this.state.leadingComments,this.state.leadingComments=[])}}if(r){if(r.leadingComments)if(r!==e&&f(r.leadingComments).end<=e.start)e.leadingComments=r.leadingComments,r.leadingComments=null;else for(o=r.leadingComments.length-2;o>=0;--o)if(r.leadingComments[o].end<=e.start){e.leadingComments=r.leadingComments.splice(0,o+1);break}}else if(this.state.leadingComments.length>0)if(f(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode)for(a=0;a0&&(e.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(o=0;oe.start);o++);e.leadingComments=this.state.leadingComments.slice(0,o),0===e.leadingComments.length&&(e.leadingComments=null),i=this.state.leadingComments.slice(o),0===i.length&&(i=null)}this.state.commentPreviousNode=e,i&&(i.length&&i[0].start>=e.start&&f(i).end<=e.end?e.innerComments=i:e.trailingComments=i),t.push(e)}};var pe=Z.prototype;pe.estreeParseRegExpLiteral=function(e){var t=e.pattern,n=e.flags,r=null;try{r=new RegExp(t,n)}catch(e){}var i=this.estreeParseLiteral(r);return i.regex={pattern:t,flags:n},i},pe.estreeParseLiteral=function(e){return this.parseLiteral(e,"Literal")},pe.directiveToStmt=function(e){var t=e.value,n=this.startNodeAt(e.start,e.loc.start),r=this.startNodeAt(t.start,t.loc.start); +return r.value=t.value,r.raw=t.extra.raw,n.expression=this.finishNodeAt(r,"Literal",t.end,t.loc.end),n.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(n,"ExpressionStatement",e.end,e.loc.end)};var de=function(e){e.extend("checkDeclaration",function(e){return function(t){p(t)?this.checkDeclaration(t.value):e.call(this,t)}}),e.extend("checkGetterSetterParamCount",function(){return function(e){var t="get"===e.kind?0:1;if(e.value.params.length!==t){var n=e.start;"get"===e.kind?this.raise(n,"getter should have no params"):this.raise(n,"setter should have exactly one param")}}}),e.extend("checkLVal",function(e){return function(t,n,r){var i=this;switch(t.type){case"ObjectPattern":t.properties.forEach(function(e){i.checkLVal("Property"===e.type?e.value:e,n,r,"object destructuring pattern")});break;default:for(var o=arguments.length,a=Array(o>3?o-3:0),s=3;s0)for(var n=e.body.body,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if("ExpressionStatement"!==a.type||"Literal"!==a.expression.type)break;if("use strict"===a.expression.value)return!0}return!1}}),e.extend("isValidDirective",function(){return function(e){return!("ExpressionStatement"!==e.type||"Literal"!==e.expression.type||"string"!=typeof e.expression.value||e.expression.extra&&e.expression.extra.parenthesized)}}),e.extend("stmtToDirective",function(e){return function(t){var n=e.call(this,t),r=t.expression.value;return n.value.value=r,n}}),e.extend("parseBlockBody",function(e){return function(t){for(var n=this,r=arguments.length,i=Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o2?r-2:0),o=2;o=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;"get"===c.kind||"set"===c.kind?this.raise(c.key.start,"Object pattern can't contain getter or setter"):c.method?this.raise(c.key.start,"Object pattern can't contain methods"):this.toAssignable(c,n,"object destructuring pattern")}return t}return e.call.apply(e,[this,t,n].concat(i))}})},he=["any","mixed","empty","bool","boolean","number","string","void","null"],me=Z.prototype;me.flowParseTypeInitialiser=function(e){var t=this.state.inType;this.state.inType=!0,this.expect(e||j.colon);var n=this.flowParseType();return this.state.inType=t,n},me.flowParsePredicate=function(){var e=this.startNode(),t=this.state.startLoc,n=this.state.start;this.expect(j.modulo);var r=this.state.startLoc;return this.expectContextual("checks"),t.line===r.line&&t.column===r.column-1||this.raise(n,"Spaces between ´%´ and ´checks´ are not allowed here."),this.eat(j.parenL)?(e.expression=this.parseExpression(),this.expect(j.parenR),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")},me.flowParseTypeAndPredicateInitialiser=function(){var e=this.state.inType;this.state.inType=!0,this.expect(j.colon);var t=null,n=null;return this.match(j.modulo)?(this.state.inType=e,n=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(j.modulo)&&(n=this.flowParsePredicate())),[t,n]},me.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},me.flowParseDeclareFunction=function(e){this.next();var t=e.id=this.parseIdentifier(),n=this.startNode(),r=this.startNode();this.isRelational("<")?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,this.expect(j.parenL);var i=this.flowParseFunctionTypeParams();n.params=i.params,n.rest=i.rest,this.expect(j.parenR);var o=null,a=this.flowParseTypeAndPredicateInitialiser();return n.returnType=a[0],o=a[1],r.typeAnnotation=this.finishNode(n,"FunctionTypeAnnotation"),r.predicate=o,t.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.finishNode(t,t.type),this.semicolon(),this.finishNode(e,"DeclareFunction")},me.flowParseDeclare=function(e){return this.match(j._class)?this.flowParseDeclareClass(e):this.match(j._function)?this.flowParseDeclareFunction(e):this.match(j._var)?this.flowParseDeclareVariable(e):this.isContextual("module")?this.lookahead().type===j.dot?this.flowParseDeclareModuleExports(e):this.flowParseDeclareModule(e):this.isContextual("type")?this.flowParseDeclareTypeAlias(e):this.isContextual("opaque")?this.flowParseDeclareOpaqueType(e):this.isContextual("interface")?this.flowParseDeclareInterface(e):this.match(j._export)?this.flowParseDeclareExportDeclaration(e):void this.unexpected()},me.flowParseDeclareExportDeclaration=function(e){if(this.expect(j._export),this.isContextual("opaque"))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");throw this.unexpected()},me.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(),this.semicolon(),this.finishNode(e,"DeclareVariable")},me.flowParseDeclareModule=function(e){this.next(),this.match(j.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();var t=e.body=this.startNode(),n=t.body=[];for(this.expect(j.braceL);!this.match(j.braceR);){var r=this.startNode();if(this.match(j._import)){var i=this.lookahead();"type"!==i.value&&"typeof"!==i.value&&this.unexpected(null,"Imports within a `declare module` body must always be `import type` or `import typeof`"),this.parseImport(r)}else this.expectContextual("declare","Only declares and type imports are allowed inside declare module"),r=this.flowParseDeclare(r,!0);n.push(r)}return this.expect(j.braceR),this.finishNode(t,"BlockStatement"),this.finishNode(e,"DeclareModule")},me.flowParseDeclareModuleExports=function(e){return this.expectContextual("module"),this.expect(j.dot),this.expectContextual("exports"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},me.flowParseDeclareTypeAlias=function(e){return this.next(),this.flowParseTypeAlias(e),this.finishNode(e,"DeclareTypeAlias")},me.flowParseDeclareOpaqueType=function(e){return this.next(),this.flowParseOpaqueType(e,!0),this.finishNode(e,"DeclareOpaqueType")},me.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")},me.flowParseInterfaceish=function(e){if(e.id=this.parseIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.mixins=[],this.eat(j._extends))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(j.comma));if(this.isContextual("mixins")){this.next();do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(j.comma))}e.body=this.flowParseObjectType(!0,!1,!1)},me.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},me.flowParseInterface=function(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")},me.flowParseRestrictedIdentifier=function(e){return he.indexOf(this.state.value)>-1&&this.raise(this.state.start,"Cannot overwrite primitive type "+this.state.value),this.parseIdentifier(e)},me.flowParseTypeAlias=function(e){return e.id=this.flowParseRestrictedIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(j.eq),this.semicolon(),this.finishNode(e,"TypeAlias")},me.flowParseOpaqueType=function(e,t){return this.expectContextual("type"),e.id=this.flowParseRestrictedIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(j.colon)&&(e.supertype=this.flowParseTypeInitialiser(j.colon)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(j.eq)),this.semicolon(),this.finishNode(e,"OpaqueType")},me.flowParseTypeParameter=function(){var e=this.startNode(),t=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return e.name=n.name,e.variance=t,e.bound=n.typeAnnotation,this.match(j.eq)&&(this.eat(j.eq),e.default=this.flowParseType()),this.finishNode(e,"TypeParameter")},me.flowParseTypeParameterDeclaration=function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.isRelational("<")||this.match(j.jsxTagStart)?this.next():this.unexpected();do t.params.push(this.flowParseTypeParameter()),this.isRelational(">")||this.expect(j.comma);while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")},me.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)e.params.push(this.flowParseType()),this.isRelational(">")||this.expect(j.comma);return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},me.flowParseObjectPropertyKey=function(){return this.match(j.num)||this.match(j.string)?this.parseExprAtom():this.parseIdentifier(!0)},me.flowParseObjectTypeIndexer=function(e,t,n){return e.static=t,this.expect(j.bracketL),this.lookahead().type===j.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(j.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.flowObjectTypeSemicolon(),this.finishNode(e,"ObjectTypeIndexer")},me.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(j.parenL);!this.match(j.parenR)&&!this.match(j.ellipsis);)e.params.push(this.flowParseFunctionTypeParam()),this.match(j.parenR)||this.expect(j.comma);return this.eat(j.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),this.expect(j.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},me.flowParseObjectTypeMethod=function(e,t,n,r){var i=this.startNodeAt(e,t);return i.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e,t)),i.static=n,i.key=r,i.optional=!1,this.flowObjectTypeSemicolon(),this.finishNode(i,"ObjectTypeProperty")},me.flowParseObjectTypeCallProperty=function(e,t){var n=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(n),this.flowObjectTypeSemicolon(),this.finishNode(e,"ObjectTypeCallProperty")},me.flowParseObjectType=function(e,t,n){var r=this.state.inType;this.state.inType=!0;var i=this.startNode(),o=void 0,a=void 0,s=!1;i.callProperties=[],i.properties=[],i.indexers=[];var u=void 0,l=void 0;for(t&&this.match(j.braceBarL)?(this.expect(j.braceBarL),u=j.braceBarR,l=!0):(this.expect(j.braceL),u=j.braceR,l=!1),i.exact=l;!this.match(u);){var c=!1,f=this.state.start,p=this.state.startLoc;o=this.startNode(),e&&this.isContextual("static")&&this.lookahead().type!==j.colon&&(this.next(),s=!0);var d=this.state.start,h=this.flowParseVariance();this.match(j.bracketL)?i.indexers.push(this.flowParseObjectTypeIndexer(o,s,h)):this.match(j.parenL)||this.isRelational("<")?(h&&this.unexpected(d),i.callProperties.push(this.flowParseObjectTypeCallProperty(o,s))):this.match(j.ellipsis)?(n||this.unexpected(null,"Spread operator cannot appear in class or interface definitions"),h&&this.unexpected(h.start,"Spread properties cannot have variance"),this.expect(j.ellipsis),o.argument=this.flowParseType(),this.flowObjectTypeSemicolon(),i.properties.push(this.finishNode(o,"ObjectTypeSpreadProperty"))):(a=this.flowParseObjectPropertyKey(),this.isRelational("<")||this.match(j.parenL)?(h&&this.unexpected(h.start),i.properties.push(this.flowParseObjectTypeMethod(f,p,s,a))):(this.eat(j.question)&&(c=!0),o.key=a,o.value=this.flowParseTypeInitialiser(),o.optional=c,o.static=s,o.variance=h,this.flowObjectTypeSemicolon(),i.properties.push(this.finishNode(o,"ObjectTypeProperty")))),s=!1}this.expect(u);var m=this.finishNode(i,"ObjectTypeAnnotation");return this.state.inType=r,m},me.flowObjectTypeSemicolon=function(){this.eat(j.semi)||this.eat(j.comma)||this.match(j.braceR)||this.match(j.braceBarR)||this.unexpected()},me.flowParseQualifiedTypeIdentifier=function(e,t,n){e=e||this.state.start,t=t||this.state.startLoc;for(var r=n||this.parseIdentifier();this.eat(j.dot);){var i=this.startNodeAt(e,t);i.qualification=r,i.id=this.parseIdentifier(),r=this.finishNode(i,"QualifiedTypeIdentifier")}return r},me.flowParseGenericType=function(e,t,n){var r=this.startNodeAt(e,t);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t,n),this.isRelational("<")&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")},me.flowParseTypeofType=function(){var e=this.startNode();return this.expect(j._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},me.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(j.bracketL);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],t={params:e,rest:null};!this.match(j.parenR)&&!this.match(j.ellipsis);)t.params.push(this.flowParseFunctionTypeParam()),this.match(j.parenR)||this.expect(j.comma);return this.eat(j.ellipsis)&&(t.rest=this.flowParseFunctionTypeParam()),t},me.flowIdentToTypeAnnotation=function(e,t,n,r){switch(r.name){case"any":return this.finishNode(n,"AnyTypeAnnotation");case"void":return this.finishNode(n,"VoidTypeAnnotation");case"bool":case"boolean":return this.finishNode(n,"BooleanTypeAnnotation");case"mixed":return this.finishNode(n,"MixedTypeAnnotation");case"empty":return this.finishNode(n,"EmptyTypeAnnotation");case"number":return this.finishNode(n,"NumberTypeAnnotation");case"string":return this.finishNode(n,"StringTypeAnnotation");default:return this.flowParseGenericType(e,t,r)}},me.flowParsePrimaryType=function(){var e=this.state.start,t=this.state.startLoc,n=this.startNode(),r=void 0,i=void 0,o=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case j.name:return this.flowIdentToTypeAnnotation(e,t,n,this.parseIdentifier());case j.braceL:return this.flowParseObjectType(!1,!1,!0);case j.braceBarL:return this.flowParseObjectType(!1,!0,!0);case j.bracketL:return this.flowParseTupleType();case j.relational:if("<"===this.state.value)return n.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(j.parenL),r=this.flowParseFunctionTypeParams(),n.params=r.params,n.rest=r.rest,this.expect(j.parenR),this.expect(j.arrow),n.returnType=this.flowParseType(),this.finishNode(n,"FunctionTypeAnnotation");break;case j.parenL:if(this.next(),!this.match(j.parenR)&&!this.match(j.ellipsis))if(this.match(j.name)){var s=this.lookahead().type;o=s!==j.question&&s!==j.colon}else o=!0;if(o){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(j.comma)||this.match(j.parenR)&&this.lookahead().type===j.arrow))return this.expect(j.parenR),i;this.eat(j.comma)}return r=i?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):this.flowParseFunctionTypeParams(),n.params=r.params,n.rest=r.rest,this.expect(j.parenR),this.expect(j.arrow),n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation");case j.string:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case j._true:case j._false:return n.value=this.match(j._true),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case j.plusMin:if("-"===this.state.value)return this.next(),this.match(j.num)||this.unexpected(null,"Unexpected token, expected number"),this.parseLiteral(-this.state.value,"NumericLiteralTypeAnnotation",n.start,n.loc.start);this.unexpected();case j.num:return this.parseLiteral(this.state.value,"NumericLiteralTypeAnnotation");case j._null:return n.value=this.match(j._null),this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case j._this:return n.value=this.match(j._this),this.next(),this.finishNode(n,"ThisTypeAnnotation");case j.star:return this.next(),this.finishNode(n,"ExistentialTypeParam");default:if("typeof"===this.state.type.keyword)return this.flowParseTypeofType()}this.unexpected()},me.flowParsePostfixType=function(){for(var e=this.state.start,t=this.state.startLoc,n=this.flowParsePrimaryType();!this.canInsertSemicolon()&&this.match(j.bracketL);){var r=this.startNodeAt(e,t);r.elementType=n,this.expect(j.bracketL),this.expect(j.bracketR),n=this.finishNode(r,"ArrayTypeAnnotation")}return n},me.flowParsePrefixType=function(){var e=this.startNode();return this.eat(j.question)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()},me.flowParseAnonFunctionWithoutParens=function(){var e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(j.arrow)){var t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e},me.flowParseIntersectionType=function(){var e=this.startNode();this.eat(j.bitwiseAND);var t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(j.bitwiseAND);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")},me.flowParseUnionType=function(){var e=this.startNode();this.eat(j.bitwiseOR);var t=this.flowParseIntersectionType();for(e.types=[t];this.eat(j.bitwiseOR);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")},me.flowParseType=function(){var e=this.state.inType;this.state.inType=!0;var t=this.flowParseUnionType();return this.state.inType=e,t},me.flowParseTypeAnnotation=function(){var e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")},me.flowParseTypeAndPredicateAnnotation=function(){var e=this.startNode(),t=this.flowParseTypeAndPredicateInitialiser();return e.typeAnnotation=t[0],e.predicate=t[1],this.finishNode(e,"TypeAnnotation")},me.flowParseTypeAnnotatableIdentifier=function(){var e=this.flowParseRestrictedIdentifier();return this.match(j.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,e.type)),e},me.typeCastToParameter=function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.finishNodeAt(e.expression,e.expression.type,e.typeAnnotation.end,e.typeAnnotation.loc.end)},me.flowParseVariance=function(){var e=null;return this.match(j.plusMin)&&("+"===this.state.value?e="plus":"-"===this.state.value&&(e="minus"),this.next()),e};var ve=function(e){e.extend("parseFunctionBody",function(e){return function(t,n){return this.match(j.colon)&&!n&&(t.returnType=this.flowParseTypeAndPredicateAnnotation()),e.call(this,t,n)}}),e.extend("parseStatement",function(e){return function(t,n){if(this.state.strict&&this.match(j.name)&&"interface"===this.state.value){var r=this.startNode();return this.next(),this.flowParseInterface(r)}return e.call(this,t,n)}}),e.extend("parseExpressionStatement",function(e){return function(t,n){if("Identifier"===n.type)if("declare"===n.name){if(this.match(j._class)||this.match(j.name)||this.match(j._function)||this.match(j._var)||this.match(j._export))return this.flowParseDeclare(t)}else if(this.match(j.name)){if("interface"===n.name)return this.flowParseInterface(t);if("type"===n.name)return this.flowParseTypeAlias(t);if("opaque"===n.name)return this.flowParseOpaqueType(t,!1)}return e.call(this,t,n)}}),e.extend("shouldParseExportDeclaration",function(e){return function(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||e.call(this)}}),e.extend("isExportDefaultSpecifier",function(e){return function(){return(!this.match(j.name)||"type"!==this.state.value&&"interface"!==this.state.value&&"opaque"!==this.state.value)&&e.call(this)}}),e.extend("parseConditional",function(e){return function(t,n,r,i,o){if(o&&this.match(j.question)){var a=this.state.clone();try{return e.call(this,t,n,r,i)}catch(e){if(e instanceof SyntaxError)return this.state=a,o.start=e.pos||this.state.start,t;throw e}}return e.call(this,t,n,r,i)}}),e.extend("parseParenItem",function(e){return function(t,n,r){if(t=e.call(this,t,n,r),this.eat(j.question)&&(t.optional=!0),this.match(j.colon)){var i=this.startNodeAt(n,r);return i.expression=t,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return t}}),e.extend("parseExport",function(e){return function(t){return t=e.call(this,t),"ExportNamedDeclaration"===t.type&&(t.exportKind=t.exportKind||"value"),t}}),e.extend("parseExportDeclaration",function(e){return function(t){if(this.isContextual("type")){t.exportKind="type";var n=this.startNode();return this.next(),this.match(j.braceL)?(t.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(t),null):this.flowParseTypeAlias(n)}if(this.isContextual("opaque")){t.exportKind="type";var r=this.startNode();return this.next(),this.flowParseOpaqueType(r,!1)}if(this.isContextual("interface")){t.exportKind="type";var i=this.startNode();return this.next(),this.flowParseInterface(i)}return e.call(this,t)}}),e.extend("parseClassId",function(e){return function(t){e.apply(this,arguments),this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}}),e.extend("isKeyword",function(e){return function(t){return(!this.state.inType||"void"!==t)&&e.call(this,t)}}),e.extend("readToken",function(e){return function(t){return!this.state.inType||62!==t&&60!==t?e.call(this,t):this.finishOp(j.relational,1)}}),e.extend("jsx_readToken",function(e){return function(){if(!this.state.inType)return e.call(this)}}),e.extend("toAssignable",function(e){return function(t,n,r){return"TypeCastExpression"===t.type?e.call(this,this.typeCastToParameter(t),n,r):e.call(this,t,n,r)}}),e.extend("toAssignableList",function(e){return function(t,n,r){for(var i=0;i2?r-2:0),o=2;o1114111||be(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?t.push(s):(s-=65536,n=(s>>10)+55296,r=s%1024+56320,t.push(n,r)),(i+1==o||t.length>e)&&(a+=ye.apply(null,t),t.length=0)}return a}}var xe=ge,Ee={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Ae=/^[\da-fA-F]+$/,Ce=/^\d+$/;H.j_oTag=new G("...",!0,!0),j.jsxName=new R("jsxName"),j.jsxText=new R("jsxText",{beforeExpr:!0}),j.jsxTagStart=new R("jsxTagStart",{startsExpr:!0}),j.jsxTagEnd=new R("jsxTagEnd"),j.jsxTagStart.updateContext=function(){this.state.context.push(H.j_expr),this.state.context.push(H.j_oTag),this.state.exprAllowed=!1},j.jsxTagEnd.updateContext=function(e){var t=this.state.context.pop();t===H.j_oTag&&e===j.slash||t===H.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===H.j_expr):this.state.exprAllowed=!0};var Se=Z.prototype;Se.jsxReadToken=function(){for(var e="",t=this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated JSX contents");var n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:return this.state.pos===this.state.start?60===n&&this.state.exprAllowed?(++this.state.pos,this.finishToken(j.jsxTagStart)):this.getTokenFromCode(n):(e+=this.input.slice(t,this.state.pos),this.finishToken(j.jsxText,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:s(n)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}},Se.jsxReadNewLine=function(e){var t=this.input.charCodeAt(this.state.pos),n=void 0;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,n=e?"\n":"\r\n"):n=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,n},Se.jsxReadString=function(e){for(var t="",n=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadEntity(),n=this.state.pos):s(r)?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}return t+=this.input.slice(n,this.state.pos++),this.finishToken(j.string,t)},Se.jsxReadEntity=function(){for(var e="",t=0,n=void 0,r=this.input[this.state.pos],i=++this.state.pos;this.state.pos")}return n.openingElement=i,n.closingElement=o,n.children=r,this.match(j.relational)&&"<"===this.state.value&&this.raise(this.state.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSXElement")},Se.jsxParseElement=function(){var e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)};var De=function(e){e.extend("parseExprAtom",function(e){return function(t){if(this.match(j.jsxText)){var n=this.parseLiteral(this.state.value,"JSXText");return n.extra=null,n}return this.match(j.jsxTagStart)?this.jsxParseElement():e.call(this,t)}}),e.extend("readToken",function(e){return function(t){if(this.state.inPropertyName)return e.call(this,t);var n=this.curContext();if(n===H.j_expr)return this.jsxReadToken();if(n===H.j_oTag||n===H.j_cTag){if(i(t))return this.jsxReadWord();if(62===t)return++this.state.pos,this.finishToken(j.jsxTagEnd);if((34===t||39===t)&&n===H.j_oTag)return this.jsxReadString(t)}return 60===t&&this.state.exprAllowed?(++this.state.pos,this.finishToken(j.jsxTagStart)):e.call(this,t)}}),e.extend("updateContext",function(e){return function(t){if(this.match(j.braceL)){var n=this.curContext();n===H.j_oTag?this.state.context.push(H.braceExpression):n===H.j_expr?this.state.context.push(H.templateQuasi):e.call(this,t),this.state.exprAllowed=!0}else{if(!this.match(j.slash)||t!==j.jsxTagStart)return e.call(this,t);this.state.context.length-=2,this.state.context.push(H.j_cTag),this.state.exprAllowed=!1}}})};J.estree=de,J.flow=ve,J.jsx=De,t.parse=h,t.parseExpression=m,t.tokTypes=j},function(e,t,n){"use strict";var r=n(21),i=n(431),o=n(141),a=n(150)("IE_PROTO"),s=function(){},u="prototype",l=function(){var e,t=n(230)("iframe"),r=o.length,i="<",a=">";for(t.style.display="none",n(426).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),l=e.F;r--;)delete l[u][o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t){"use strict";t.f={}.propertyIsEnumerable},function(e,t){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(23).f,i=n(28),o=n(13)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(140);e.exports=function(e){return Object(r(e))}},function(e,t){"use strict";var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){"use strict"},function(e,t,n){"use strict";!function(){t.ast=n(461),t.code=n(240),t.keyword=n(462)}()},function(e,t,n){"use strict";function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1:!!c&&i(e,t,n)>-1}var i=n(166),o=n(24),a=n(587),s=n(48),u=n(280),l=Math.max;e.exports=r},function(e,t,n){"use strict";var r=n(493),i=n(25),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,n){(function(e){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(17),o=n(596),a="object"==r(t)&&t&&!t.nodeType&&t,s=a&&"object"==r(e)&&e&&!e.nodeType&&e,u=s&&s.exports===a,l=u?i.Buffer:void 0,c=l?l.isBuffer:void 0,f=c||o;e.exports=f}).call(t,n(39)(e))},function(e,t,n){"use strict";function r(e){return null==e?"":i(e)}var i=n(253);e.exports=r},96,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return u.memberExpression(u.identifier("regeneratorRuntime"),u.identifier(e),!1)}function o(e){return e.isReferenced()||e.parentPath.isAssignmentExpression({left:e.node})}function a(e,t){t?e.replaceWith(t):e.remove()}t.__esModule=!0,t.runtimeProperty=i,t.isReference=o,t.replaceWithOrRemove=a;var s=n(1),u=r(s)},function(e,t,n){(function(e,r){"use strict";function i(e,n){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),E(r.showHidden)&&(r.showHidden=!1),E(r.depth)&&(r.depth=2),E(r.colors)&&(r.colors=!1),E(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function a(e,t){return e}function s(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function u(e,n,r){if(e.customInspect&&n&&w(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return b(i)||(i=u(e,i,r)),i}var o=l(e,n);if(o)return o;var a=Object.keys(n),m=s(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),D(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return c(n);if(0===a.length){if(w(n)){var v=n.name?": "+n.name:"";return e.stylize("[Function"+v+"]","special")}if(A(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return e.stylize(Date.prototype.toString.call(n),"date");if(D(n))return c(n)}var g="",y=!1,x=["{","}"];if(h(n)&&(y=!0,x=["[","]"]),w(n)){var E=n.name?": "+n.name:"";g=" [Function"+E+"]"}if(A(n)&&(g=" "+RegExp.prototype.toString.call(n)),S(n)&&(g=" "+Date.prototype.toUTCString.call(n)),D(n)&&(g=" "+c(n)),0===a.length&&(!y||0==n.length))return x[0]+g+x[1];if(r<0)return A(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var C;return C=y?f(e,n,r,m,a):a.map(function(t){return p(e,n,r,m,t,y)}),e.seen.pop(),d(C,g,x)}function l(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i){for(var o=[],a=0,s=t.length;a-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),E(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function g(e){return null==e}function y(e){return"number"==typeof e}function b(e){return"string"==typeof e}function x(e){return"symbol"===("undefined"==typeof e?"undefined":F(e))}function E(e){return void 0===e}function A(e){return C(e)&&"[object RegExp]"===k(e)}function C(e){return"object"===("undefined"==typeof e?"undefined":F(e))&&null!==e}function S(e){return C(e)&&"[object Date]"===k(e)}function D(e){return C(e)&&("[object Error]"===k(e)||e instanceof Error)}function w(e){return"function"==typeof e}function _(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":F(e))||"undefined"==typeof e}function k(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}function M(){var e=new Date,t=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n1&&void 0!==arguments[1]?arguments[1]:r.cwd();if("object"===("undefined"==typeof u.default?"undefined":(0,a.default)(u.default)))return null;var n=f[t];if(!n){n=new u.default;var i=c.default.join(t,".babelrc");n.id=i,n.filename=i,n.paths=u.default._nodeModulePaths(t),f[t]=n}try{return u.default._resolveFilename(e,n)}catch(e){return null}};var s=n(115),u=i(s),l=n(19),c=i(l),f={};e.exports=t.default}).call(t,n(8))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(133),o=r(i),a=n(3),s=r(a),u=n(42),l=r(u),c=n(41),f=r(c),p=function(e){function t(){(0,s.default)(this,t);var n=(0,l.default)(this,e.call(this));return n.dynamicData={},n}return(0,f.default)(t,e),t.prototype.setDynamic=function(e,t){this.dynamicData[e]=t},t.prototype.get=function(t){if(this.has(t))return e.prototype.get.call(this,t);if(Object.prototype.hasOwnProperty.call(this.dynamicData,t)){var n=this.dynamicData[t]();return this.set(t,n),n}},t}(o.default);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),o=r(i),a=n(239),s=r(a),u=(0,s.default)("babel:verbose"),l=(0,s.default)("babel"),c=[],f=function(){function e(t,n){(0,o.default)(this,e),this.filename=n,this.file=t}return e.prototype._buildMessage=function(e){var t="[BABEL] "+this.filename;return e&&(t+=": "+e),t},e.prototype.warn=function(e){console.warn(this._buildMessage(e))},e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Error;throw new t(this._buildMessage(e))},e.prototype.deprecate=function(e){this.file.opts&&this.file.opts.suppressDeprecationMessages||(e=this._buildMessage(e),c.indexOf(e)>=0||(c.push(e),console.error(e)))},e.prototype.verbose=function(e){u.enabled&&u(this._buildMessage(e))},e.prototype.debug=function(e){l.enabled&&l(this._buildMessage(e))},e.prototype.deopt=function(e,t){this.debug(t)},e}();t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.node,r=n.source?n.source.value:null,i=t.metadata.modules.exports,o=e.get("declaration");if(o.isStatement()){var a=o.getBindingIdentifiers();for(var s in a)i.exported.push(s),i.specifiers.push({kind:"local",local:s,exported:e.isExportDefaultDeclaration()?"default":s})}if(e.isExportNamedDeclaration()&&n.specifiers)for(var l=n.specifiers,f=Array.isArray(l),p=0,l=f?l:(0,u.default)(l);;){var d;if(f){if(p>=l.length)break;d=l[p++]}else{if(p=l.next(),p.done)break;d=p.value}var h=d,m=h.exported.name;i.exported.push(m),c.isExportDefaultSpecifier(h)&&i.specifiers.push({kind:"external",local:m,exported:m,source:r}),c.isExportNamespaceSpecifier(h)&&i.specifiers.push({kind:"external-namespace",exported:m,source:r});var v=h.local;v&&(r&&i.specifiers.push({kind:"external",local:v.name,exported:m,source:r}),r||i.specifiers.push({kind:"local",local:v.name,exported:m}))}e.isExportAllDeclaration()&&i.specifiers.push({kind:"external-all",source:r})}function a(e){e.skip()}t.__esModule=!0,t.ImportDeclaration=t.ModuleDeclaration=void 0;var s=n(2),u=i(s);t.ExportDeclaration=o,t.Scope=a;var l=n(1),c=r(l);t.ModuleDeclaration={enter:function(e,t){var n=e.node;n.source&&(n.source.value=t.resolveModuleSource(n.source.value))}},t.ImportDeclaration={exit:function(e,t){var n=e.node,r=[],i=[];t.metadata.modules.imports.push({source:n.source.value,imported:i,specifiers:r});for(var o=e.get("specifiers"),a=Array.isArray(o),s=0,o=a?o:(0,u.default)(o);;){var l;if(a){if(s>=o.length)break;l=o[s++]}else{if(s=o.next(),s.done)break;l=s.value}var c=l,f=c.node.local.name;if(c.isImportDefaultSpecifier()&&(i.push("default"),r.push({kind:"named",imported:"default",local:f})),c.isImportSpecifier()){var p=c.node.imported.name;i.push(p),r.push({kind:"named",imported:p,local:f})}c.isImportNamespaceSpecifier()&&(i.push("*"),r.push({kind:"namespace",local:f}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=t||i.EXTENSIONS,r=D.default.extname(e);return(0,E.default)(n,r)}function o(e){return e?Array.isArray(e)?e:"string"==typeof e?e.split(","):[e]:[]}function a(e){if(!e)return new RegExp(/.^/);if(Array.isArray(e)&&(e=new RegExp(e.map(m.default).join("|"),"i")),"string"==typeof e){e=(0,_.default)(e),((0,g.default)(e,"./")||(0,g.default)(e,"*/"))&&(e=e.slice(2)),(0,g.default)(e,"**/")&&(e=e.slice(3));var t=b.default.makeRe(e,{nocase:!0});return new RegExp(t.source.slice(1,-1),"i")}if((0,C.default)(e))return e;throw new TypeError("illegal type for regexify")}function s(e,t){return e?"boolean"==typeof e?s([e],t):"string"==typeof e?s(o(e),t):Array.isArray(e)?(t&&(e=e.map(t)),e):[e]:[]}function u(e){return"true"===e||1==e||!("false"===e||0==e||!e)&&e}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];if(e=e.replace(/\\/g,"/"),n){for(var r=n,i=Array.isArray(r),o=0,r=i?r:(0,p.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if(c(s,e))return!1}return!0}if(t.length)for(var u=t,l=Array.isArray(u),f=0,u=l?u:(0,p.default)(u);;){var d;if(l){if(f>=u.length)break;d=u[f++]}else{if(f=u.next(),f.done)break;d=f.value}var h=d;if(c(h,e))return!0}return!1}function c(e,t){return"function"==typeof e?e(t):e.test(t)}t.__esModule=!0,t.inspect=t.inherits=void 0;var f=n(2),p=r(f),d=n(117);Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return d.inherits}}),Object.defineProperty(t,"inspect",{enumerable:!0,get:function(){return d.inspect}}),t.canCompile=i,t.list=o,t.regexify=a,t.arrayify=s,t.booleanify=u,t.shouldIgnore=l;var h=n(577),m=r(h),v=n(595),g=r(v),y=n(601),b=r(y),x=n(111),E=r(x),A=n(276),C=r(A),S=n(19),D=r(S),w=n(284),_=r(w);i.EXTENSIONS=[".js",".jsx",".es6",".es"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){e.variance&&("plus"===e.variance?this.token("+"):"minus"===e.variance&&this.token("-")),this.word(e.name)}function a(e){this.token("..."),this.print(e.argument,e)}function s(e){var t=e.properties;this.token("{"),this.printInnerComments(e),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space()),this.token("}")}function u(e){this.printJoin(e.decorators,e),this._method(e)}function l(e){if(this.printJoin(e.decorators,e),e.computed)this.token("["),this.print(e.key,e),this.token("]");else{if(g.isAssignmentPattern(e.value)&&g.isIdentifier(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value,e);if(this.print(e.key,e),e.shorthand&&g.isIdentifier(e.key)&&g.isIdentifier(e.value)&&e.key.name===e.value.name)return}this.token(":"),this.space(),this.print(e.value,e)}function c(e){var t=e.elements,n=t.length;this.token("["),this.printInnerComments(e);for(var r=0;r0&&this.space(),this.print(i,e),r {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })\n"),v=(0,c.default)("\n (() => {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })\n"),g={Function:function(e){return e.isArrowFunctionExpression()&&!e.node.async?void e.arrowFunctionToShadowed():void e.skip()},AwaitExpression:function(e,t){var n=e.node,r=t.wrapAwait;n.type="YieldExpression",r&&(n.argument=p.callExpression(r,[n.argument])); +},ForAwaitStatement:function(e,t){var n=t.file,r=t.wrapAwait,i=e.node,o=(0,h.default)(e,{getAsyncIterator:n.addHelper("asyncIterator"),wrapAwait:r}),a=o.declar,s=o.loop,u=s.body;e.ensureBlock(),a&&u.body.push(a),u.body=u.body.concat(i.body.body),p.inherits(s,i),p.inherits(s.body,i.body),o.replaceParent?(e.parentPath.replaceWithMultiple(o.node),e.remove()):e.replaceWithMultiple(o.node)}};e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("decorators")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("flow")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("jsx")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("trailingFunctionCommas")}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{inherits:n(67),visitor:{Function:function(e,t){e.node.async&&!e.node.generator&&(0,o.default)(e,t.file,{wrapAsync:t.addHelper("asyncToGenerator")})}}}};var i=n(124),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return f.isIdentifier(e)?e.name:e.value.toString()}t.__esModule=!0;var a=n(2),s=i(a),u=n(9),l=i(u);t.default=function(){return{visitor:{ObjectExpression:function(e){for(var t=e.node,n=t.properties.filter(function(e){return!f.isSpreadProperty(e)&&!e.computed}),r=(0,l.default)(null),i=(0,l.default)(null),a=(0,l.default)(null),u=n,c=Array.isArray(u),p=0,u=c?u:(0,s.default)(u);;){var d;if(c){if(p>=u.length)break;d=u[p++]}else{if(p=u.next(),p.done)break;d=p.value}var h=d,m=o(h.key),v=!1;switch(h.kind){case"get":(r[m]||i[m])&&(v=!0),i[m]=!0;break;case"set":(r[m]||a[m])&&(v=!0),a[m]=!0;break;default:(r[m]||i[m]||a[m])&&(v=!0),r[m]=!0}v&&(h.computed=!0,h.key=f.stringLiteral(m))}}}}};var c=n(1),f=r(c);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(9),o=r(i);t.default=function(e){function t(e){if(!e.isCallExpression())return!1;if(!e.get("callee").isIdentifier({name:"require"}))return!1;if(e.scope.getBinding("require"))return!1;var t=e.get("arguments");if(1!==t.length)return!1;var n=t[0];return!!n.isStringLiteral()}var r=e.types,i={ReferencedIdentifier:function(e){var t=e.node,n=e.scope;"exports"!==t.name||n.getBinding("exports")||(this.hasExports=!0),"module"!==t.name||n.getBinding("module")||(this.hasModule=!0)},CallExpression:function(e){t(e)&&(this.bareSources.push(e.node.arguments[0]),e.remove())},VariableDeclarator:function(e){var n=e.get("id");if(n.isIdentifier()){var r=e.get("init");if(t(r)){var i=r.node.arguments[0];this.sourceNames[i.value]=!0,this.sources.push([n.node,i]),e.remove()}}}};return{inherits:n(77),pre:function(){this.sources=[],this.sourceNames=(0,o.default)(null),this.bareSources=[],this.hasExports=!1,this.hasModule=!1},visitor:{Program:{exit:function(e){var t=this;if(!this.ran){this.ran=!0,e.traverse(i,this);var n=this.sources.map(function(e){return e[0]}),o=this.sources.map(function(e){return e[1]});o=o.concat(this.bareSources.filter(function(e){return!t.sourceNames[e.value]}));var a=this.getModuleName();a&&(a=r.stringLiteral(a)),this.hasExports&&(o.unshift(r.stringLiteral("exports")),n.unshift(r.identifier("exports"))),this.hasModule&&(o.unshift(r.stringLiteral("module")),n.unshift(r.identifier("module")));var s=e.node,c=l({PARAMS:n,BODY:s.body});c.expression.body.directives=s.directives,s.directives=[],s.body=[u({MODULE_NAME:a,SOURCES:o,FACTORY:c})]}}}}}};var a=n(4),s=r(a),u=(0,s.default)("\n define(MODULE_NAME, [SOURCES], FACTORY);\n"),l=(0,s.default)("\n (function (PARAMS) {\n BODY;\n })\n");e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=e.types;return{inherits:n(199),visitor:(0,o.default)({operator:"**",build:function(e,n){return t.callExpression(t.memberExpression(t.identifier("Math"),t.identifier("pow")),[e,n])}})}};var i=n(316),o=r(i);e.exports=t.default},function(e,t,n){"use strict";e.exports={default:n(406),__esModule:!0}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){for(var r=I.scope.get(e.node)||[],i=r,o=Array.isArray(i),a=0,i=o?i:(0,v.default)(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s;if(u.parent===t&&u.path===e)return u}r.push(n),I.scope.has(e.node)||I.scope.set(e.node,r)}function a(e,t){if(B.isModuleDeclaration(e))if(e.source)a(e.source,t);else if(e.specifiers&&e.specifiers.length)for(var n=e.specifiers,r=Array.isArray(n),i=0,n=r?n:(0,v.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;a(s,t)}else e.declaration&&a(e.declaration,t);else if(B.isModuleSpecifier(e))a(e.local,t);else if(B.isMemberExpression(e))a(e.object,t),a(e.property,t);else if(B.isIdentifier(e))t.push(e.name);else if(B.isLiteral(e))t.push(e.value);else if(B.isCallExpression(e))a(e.callee,t);else if(B.isObjectExpression(e)||B.isObjectPattern(e))for(var u=e.properties,l=Array.isArray(u),c=0,u=l?u:(0,v.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;a(p.key||p.argument,t)}}t.__esModule=!0;var s=n(14),u=i(s),l=n(9),c=i(l),f=n(133),p=i(f),d=n(3),h=i(d),m=n(2),v=i(m),g=n(111),y=i(g),b=n(278),x=i(b),E=n(383),A=i(E),C=n(7),S=i(C),D=n(273),w=i(D),_=n(20),k=r(_),O=n(225),M=i(O),P=n(463),F=i(P),T=n(1),B=r(T),I=n(88),R=0,N={For:function(e){for(var t=B.FOR_INIT_KEYS,n=Array.isArray(t),r=0,t=n?t:(0,v.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=e.get(o);a.isVar()&&e.scope.getFunctionParent().registerBinding("var",a)}},Declaration:function(e){e.isBlockScoped()||e.isExportDeclaration()&&e.get("declaration").isDeclaration()||e.scope.getFunctionParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var n=e.get("left");(n.isPattern()||n.isIdentifier())&&t.constantViolations.push(n)},ExportDeclaration:{exit:function(e){var t=e.node,n=e.scope,r=t.declaration;if(B.isClassDeclaration(r)||B.isFunctionDeclaration(r)){var i=r.id;if(!i)return;var o=n.getBinding(i.name);o&&o.reference(e)}else if(B.isVariableDeclaration(r))for(var a=r.declarations,s=Array.isArray(a),u=0,a=s?a:(0,v.default)(a);;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l,f=B.getBindingIdentifiers(c);for(var p in f){var d=n.getBinding(p);d&&d.reference(e)}}}},LabeledStatement:function(e){e.scope.getProgramParent().addGlobal(e.node),e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression:function(e,t){t.assignments.push(e)},UpdateExpression:function(e,t){t.constantViolations.push(e.get("argument"))},UnaryExpression:function(e,t){"delete"===e.node.operator&&t.constantViolations.push(e.get("argument"))},BlockScoped:function(e){var t=e.scope;t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e)},ClassDeclaration:function(e){var t=e.node.id;if(t){var n=t.name;e.scope.bindings[n]=e.scope.getBinding(n)}},Block:function(e){for(var t=e.get("body"),n=t,r=Array.isArray(n),i=0,n=r?n:(0,v.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;a.isFunctionDeclaration()&&e.scope.getBlockParent().registerDeclaration(a)}}},L=0,j=function(){function e(t,n){if((0,h.default)(this,e),n&&n.block===t.node)return n;var r=o(t,n,this);return r?r:(this.uid=L++,this.parent=n,this.hub=t.hub,this.parentBlock=t.parent,this.block=t.node,this.path=t,void(this.labels=new p.default))}return e.prototype.traverse=function(e,t,n){(0,S.default)(e,t,this,n,this.path)},e.prototype.generateDeclaredUidIdentifier=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp",t=this.generateUidIdentifier(e);return this.push({id:t}),t},e.prototype.generateUidIdentifier=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp";return B.identifier(this.generateUid(e))},e.prototype.generateUid=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp";e=B.toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");var t=void 0,n=0;do t=this._generateUid(e,n),n++;while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));var r=this.getProgramParent();return r.references[t]=!0,r.uids[t]=!0,t},e.prototype._generateUid=function(e,t){var n=e;return t>1&&(n+=t),"_"+n},e.prototype.generateUidIdentifierBasedOnNode=function(e,t){var n=e;B.isAssignmentExpression(e)?n=e.left:B.isVariableDeclarator(e)?n=e.id:(B.isObjectProperty(n)||B.isObjectMethod(n))&&(n=n.key);var r=[];a(n,r);var i=r.join("$");return i=i.replace(/^_/,"")||t||"ref",this.generateUidIdentifier(i.slice(0,20))},e.prototype.isStatic=function(e){if(B.isThisExpression(e)||B.isSuper(e))return!0;if(B.isIdentifier(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},e.prototype.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var n=this.generateUidIdentifierBasedOnNode(e);return t||this.push({id:n}),n},e.prototype.checkBlockScopedCollisions=function(e,t,n,r){if("param"!==t&&("hoisted"!==t||"let"!==e.kind)){var i="let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&("let"===t||"const"===t);if(i)throw this.hub.file.buildCodeFrameError(r,k.get("scopeDuplicateDeclaration",n),TypeError)}},e.prototype.rename=function(e,t,n){var r=this.getBinding(e);if(r)return t=t||this.generateUidIdentifier(e).name,new A.default(r,e,t).rename(n)},e.prototype._renameFromMap=function(e,t,n,r){e[t]&&(e[n]=r,e[t]=null)},e.prototype.dump=function(){var e=(0,x.default)("-",60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var n in t.bindings){var r=t.bindings[n];console.log(" -",n,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)},e.prototype.toArray=function(e,t){var n=this.hub.file;if(B.isIdentifier(e)){var r=this.getBinding(e.name);if(r&&r.constant&&r.path.isGenericType("Array"))return e}if(B.isArrayExpression(e))return e;if(B.isIdentifier(e,{name:"arguments"}))return B.callExpression(B.memberExpression(B.memberExpression(B.memberExpression(B.identifier("Array"),B.identifier("prototype")),B.identifier("slice")),B.identifier("call")),[e]);var i="toArray",o=[e];return t===!0?i="toConsumableArray":t&&(o.push(B.numericLiteral(t)),i="slicedToArray"),B.callExpression(n.addHelper(i),o)},e.prototype.hasLabel=function(e){return!!this.getLabel(e)},e.prototype.getLabel=function(e){return this.labels.get(e)},e.prototype.registerLabel=function(e){this.labels.set(e.node.label.name,e)},e.prototype.registerDeclaration=function(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration())for(var t=e.get("declarations"),n=t,r=Array.isArray(n),i=0,n=r?n:(0,v.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;this.registerBinding(e.node.kind,a)}else if(e.isClassDeclaration())this.registerBinding("let",e);else if(e.isImportDeclaration())for(var s=e.get("specifiers"),u=s,l=Array.isArray(u),c=0,u=l?u:(0,v.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;this.registerBinding("module",p)}else if(e.isExportDeclaration()){var d=e.get("declaration");(d.isClassDeclaration()||d.isFunctionDeclaration()||d.isVariableDeclaration())&&this.registerDeclaration(d)}else this.registerBinding("unknown",e)},e.prototype.buildUndefinedNode=function(){return this.hasBinding("undefined")?B.unaryExpression("void",B.numericLiteral(0),!0):B.identifier("undefined")},e.prototype.registerConstantViolation=function(e){var t=e.getBindingIdentifiers();for(var n in t){var r=this.getBinding(n);r&&r.reassign(e)}},e.prototype.registerBinding=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration())for(var r=t.get("declarations"),i=r,o=Array.isArray(i),a=0,i=o?i:(0,v.default)(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s;this.registerBinding(e,u)}else{var l=this.getProgramParent(),c=t.getBindingIdentifiers(!0);for(var f in c)for(var p=c[f],d=Array.isArray(p),h=0,p=d?p:(0,v.default)(p);;){var m;if(d){if(h>=p.length)break;m=p[h++]}else{if(h=p.next(),h.done)break;m=h.value}var g=m,y=this.getOwnBinding(f);if(y){if(y.identifier===g)continue;this.checkBlockScopedCollisions(y,e,f,g)}y&&y.path.isFlow()&&(y=null),l.references[f]=!0,this.bindings[f]=new M.default({identifier:g,existing:y,scope:this,path:n,kind:e})}}},e.prototype.addGlobal=function(e){this.globals[e.name]=e},e.prototype.hasUid=function(e){var t=this;do if(t.uids[e])return!0;while(t=t.parent);return!1},e.prototype.hasGlobal=function(e){var t=this;do if(t.globals[e])return!0;while(t=t.parent);return!1},e.prototype.hasReference=function(e){var t=this;do if(t.references[e])return!0;while(t=t.parent);return!1},e.prototype.isPure=function(e,t){if(B.isIdentifier(e)){var n=this.getBinding(e.name);return!!n&&(!t||n.constant)}if(B.isClass(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&this.isPure(e.body,t);if(B.isClassBody(e)){for(var r=e.body,i=Array.isArray(r),o=0,r=i?r:(0,v.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if(!this.isPure(s,t))return!1}return!0}if(B.isBinary(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(B.isArrayExpression(e)){for(var u=e.elements,l=Array.isArray(u),c=0,u=l?u:(0,v.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;if(!this.isPure(p,t))return!1}return!0}if(B.isObjectExpression(e)){for(var d=e.properties,h=Array.isArray(d),m=0,d=h?d:(0,v.default)(d);;){var g;if(h){if(m>=d.length)break;g=d[m++]}else{if(m=d.next(),m.done)break;g=m.value}var y=g;if(!this.isPure(y,t))return!1}return!0}return B.isClassMethod(e)?!(e.computed&&!this.isPure(e.key,t))&&("get"!==e.kind&&"set"!==e.kind):B.isClassProperty(e)||B.isObjectProperty(e)?!(e.computed&&!this.isPure(e.key,t))&&this.isPure(e.value,t):B.isUnaryExpression(e)?this.isPure(e.argument,t):B.isPureish(e)},e.prototype.setData=function(e,t){return this.data[e]=t},e.prototype.getData=function(e){var t=this;do{var n=t.data[e];if(null!=n)return n}while(t=t.parent)},e.prototype.removeData=function(e){var t=this;do{var n=t.data[e];null!=n&&(t.data[e]=null)}while(t=t.parent)},e.prototype.init=function(){this.references||this.crawl()},e.prototype.crawl=function(){R++,this._crawl(),R--},e.prototype._crawl=function(){var e=this.path;if(this.references=(0,c.default)(null),this.bindings=(0,c.default)(null),this.globals=(0,c.default)(null),this.uids=(0,c.default)(null),this.data=(0,c.default)(null),e.isLoop())for(var t=B.FOR_INIT_KEYS,n=Array.isArray(t),r=0,t=n?t:(0,v.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=e.get(o);a.isBlockScoped()&&this.registerBinding(a.node.kind,a)}if(e.isFunctionExpression()&&e.has("id")&&(e.get("id").node[B.NOT_LOCAL_BINDING]||this.registerBinding("local",e.get("id"),e)),e.isClassExpression()&&e.has("id")&&(e.get("id").node[B.NOT_LOCAL_BINDING]||this.registerBinding("local",e)),e.isFunction())for(var s=e.get("params"),u=s,l=Array.isArray(u),f=0,u=l?u:(0,v.default)(u);;){var p;if(l){if(f>=u.length)break;p=u[f++]}else{if(f=u.next(),f.done)break;p=f.value}var d=p;this.registerBinding("param",d)}e.isCatchClause()&&this.registerBinding("let",e);var h=this.getProgramParent();if(!h.crawling){var m={references:[],constantViolations:[],assignments:[]};this.crawling=!0,e.traverse(N,m),this.crawling=!1;for(var g=m.assignments,y=Array.isArray(g),b=0,g=y?g:(0,v.default)(g);;){var x;if(y){if(b>=g.length)break;x=g[b++]}else{if(b=g.next(),b.done)break;x=b.value}var E=x,A=E.getBindingIdentifiers(),C=void 0;for(var S in A)E.scope.getBinding(S)||(C=C||E.scope.getProgramParent(),C.addGlobal(A[S]));E.scope.registerConstantViolation(E)}for(var D=m.references,w=Array.isArray(D),_=0,D=w?D:(0,v.default)(D);;){var k;if(w){if(_>=D.length)break;k=D[_++]}else{if(_=D.next(),_.done)break;k=_.value}var O=k,M=O.scope.getBinding(O.node.name);M?M.reference(O):O.scope.getProgramParent().addGlobal(O.node)}for(var P=m.constantViolations,F=Array.isArray(P),T=0,P=F?P:(0,v.default)(P);;){var I;if(F){if(T>=P.length)break;I=P[T++]}else{if(T=P.next(),T.done)break;I=T.value}var R=I;R.scope.registerConstantViolation(R)}}},e.prototype.push=function(e){var t=this.path;t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=this.getFunctionParent().path),(t.isLoop()||t.isCatchClause()||t.isFunction())&&(B.ensureBlock(t.node),t=t.get("body"));var n=e.unique,r=e.kind||"var",i=null==e._blockHoist?2:e._blockHoist,o="declaration:"+r+":"+i,a=!n&&t.getData(o);if(!a){var s=B.variableDeclaration(r,[]);s._generated=!0,s._blockHoist=i;var u=t.unshiftContainer("body",[s]);a=u[0],n||t.setData(o,a)}var l=B.variableDeclarator(e.id,e.init);a.node.declarations.push(l),this.registerBinding(r,a.get("declarations").pop())},e.prototype.getProgramParent=function(){var e=this;do if(e.path.isProgram())return e;while(e=e.parent);throw new Error("We couldn't find a Function or Program...")},e.prototype.getFunctionParent=function(){var e=this;do if(e.path.isFunctionParent())return e;while(e=e.parent);throw new Error("We couldn't find a Function or Program...")},e.prototype.getBlockParent=function(){var e=this;do if(e.path.isBlockParent())return e;while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")},e.prototype.getAllBindings=function(){var e=(0,c.default)(null),t=this;do(0,w.default)(e,t.bindings),t=t.parent;while(t);return e},e.prototype.getAllBindingsOfKind=function(){for(var e=(0,c.default)(null),t=arguments,n=Array.isArray(t),r=0,t=n?t:(0,v.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=this;do{for(var s in a.bindings){var u=a.bindings[s];u.kind===o&&(e[s]=u)}a=a.parent}while(a)}return e},e.prototype.bindingIdentifierEquals=function(e,t){return this.getBindingIdentifier(e)===t},e.prototype.warnOnFlowBinding=function(e){return 0===R&&e&&e.path.isFlow()&&console.warn("\n You or one of the Babel plugins you are using are using Flow declarations as bindings.\n Support for this will be removed in version 7. To find out the caller, grep for this\n message and change it to a `console.trace()`.\n "),e},e.prototype.getBinding=function(e){var t=this;do{var n=t.getOwnBinding(e);if(n)return this.warnOnFlowBinding(n)}while(t=t.parent)},e.prototype.getOwnBinding=function(e){return this.warnOnFlowBinding(this.bindings[e])},e.prototype.getBindingIdentifier=function(e){var t=this.getBinding(e);return t&&t.identifier},e.prototype.getOwnBindingIdentifier=function(e){var t=this.bindings[e];return t&&t.identifier},e.prototype.hasOwnBinding=function(e){return!!this.getOwnBinding(e)},e.prototype.hasBinding=function(t,n){return!!t&&(!!this.hasOwnBinding(t)||(!!this.parentHasBinding(t,n)||(!!this.hasUid(t)||(!(n||!(0,y.default)(e.globals,t))||!(n||!(0,y.default)(e.contextVariables,t))))))},e.prototype.parentHasBinding=function(e,t){return this.parent&&this.parent.hasBinding(e,t)},e.prototype.moveBindingTo=function(e,t){var n=this.getBinding(e);n&&(n.scope.removeOwnBinding(e),n.scope=t,t.bindings[e]=n)},e.prototype.removeOwnBinding=function(e){delete this.bindings[e]},e.prototype.removeBinding=function(e){var t=this.getBinding(e);t&&t.scope.removeOwnBinding(e);var n=this;do n.uids[e]&&(n.uids[e]=!1);while(n=n.parent)},e}();j.globals=(0,u.default)(F.default.builtin),j.contextVariables=["arguments","undefined","Infinity","NaN"],t.default=j,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;var i=n(362),o=r(i),a=(t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],t.FLATTENABLE_KEYS=["body","expressions"],t.FOR_INIT_KEYS=["left","init"],t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],t.LOGICAL_OPERATORS=["||","&&"],t.UPDATE_OPERATORS=["++","--"],t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),s=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],u=t.COMPARISON_BINARY_OPERATORS=[].concat(s,["in","instanceof"]),l=t.BOOLEAN_BINARY_OPERATORS=[].concat(u,a),c=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],f=(t.BINARY_OPERATORS=["+"].concat(c,l),t.BOOLEAN_UNARY_OPERATORS=["delete","!"]),p=t.NUMBER_UNARY_OPERATORS=["+","-","++","--","~"],d=t.STRING_UNARY_OPERATORS=["typeof"];t.UNARY_OPERATORS=["void"].concat(f,p,d),t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},t.BLOCK_SCOPED_SYMBOL=(0,o.default)("var used to be block scoped"),t.NOT_LOCAL_BINDING=(0,o.default)("should not be considered a local binding")},function(e,t){"use strict";e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r=n(43),i=n(142),o=n(94),a=n(153),s=n(422);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,f=6==e,p=5==e||f,d=t||s;return function(t,s,h){for(var m,v,g=o(t),y=i(g),b=r(s,h,3),x=a(y.length),E=0,A=n?d(t,x):u?d(t,0):void 0;x>E;E++)if((p||E in y)&&(m=y[E],v=b(m,E,g),e))if(n)A[E]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:A.push(m)}else if(c)return!1;return f?-1:l||c?c:A}}},function(e,t){"use strict";var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(15),i=n(12),o=n(57),a=n(27),s=n(29),u=n(146),l=n(55),c=n(136),f=n(16),p=n(93),d=n(23).f,h=n(137)(0),m=n(22);e.exports=function(e,t,n,v,g,y){var b=r[e],x=b,E=g?"set":"add",A=x&&x.prototype,C={};return m&&"function"==typeof x&&(y||A.forEach&&!a(function(){(new x).entries().next()}))?(x=t(function(t,n){c(t,x,e,"_c"),t._c=new b,void 0!=n&&l(n,g,t[E],t)}),h("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in A&&(!y||"clear"!=e)&&s(x.prototype,e,function(n,r){if(c(this,x,e),!t&&y&&!f(n))return"get"==e&&void 0;var i=this._c[e](0===n?0:n,r);return t?this:i})}),y||d(x.prototype,"size",{get:function(){return this._c.size}})):(x=v.getConstructor(t,e,g,E),u(x.prototype,n),o.NEED=!0),p(x,e),C[e]=x,i(i.G+i.W+i.F,C),y||v.setStrong(x,e,g),x}},function(e,t){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){"use strict";var r=n(138);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var r=n(144),i=n(12),o=n(147),a=n(29),s=n(28),u=n(56),l=n(429),c=n(93),f=n(433),p=n(13)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",g=function(){return this};e.exports=function(e,t,n,y,b,x,E){l(n,t,y);var A,C,S,D=function(e){if(!d&&e in O)return O[e];switch(e){case m:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",_=b==v,k=!1,O=e.prototype,M=O[p]||O[h]||b&&O[b],P=M||D(b),F=b?_?D("entries"):P:void 0,T="Array"==t?O.entries||M:M;if(T&&(S=f(T.call(new e)),S!==Object.prototype&&S.next&&(c(S,w,!0),r||s(S,p)||a(S,p,g))),_&&M&&M.name!==v&&(k=!0,P=function(){return M.call(this)}),r&&!E||!d&&!k&&O[p]||a(O,p,P),u[t]=P,u[w]=g,b)if(A={values:_?P:D(v),keys:x?P:D(m),entries:F},E)for(C in A)C in O||o(O,C,A[C]);else i(i.P+i.F*(d||k),t,A);return A}},function(e,t){"use strict";e.exports=!0},function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var r=n(29);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){"use strict";var r=n(12),i=n(227),o=n(43),a=n(55);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,s,u=arguments[1];return i(this),t=void 0!==u,t&&i(u),void 0==e?new this:(n=[],t?(r=0,s=o(u,arguments[2],2),a(e,!1,function(e){n.push(s(e,r++))})):a(e,!1,n.push,n),new this(n))}})}},function(e,t,n){"use strict";var r=n(12);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){"use strict";var r=n(151)("keys"),i=n(95);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){"use strict";var r=n(15),i="__core-js_shared__",o=r[i]||(r[i]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){"use strict";var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";var r=n(152),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(16);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r=n(15),i=n(5),o=n(144),a=n(156),s=n(23).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";t.f=n(13)},function(e,t,n){"use strict";var r=n(437)(!0);n(143)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(15),o=n(28),a=n(22),s=n(12),u=n(147),l=n(57).KEY,c=n(27),f=n(151),p=n(93),d=n(95),h=n(13),m=n(156),v=n(155),g=n(430),y=n(425),b=n(232),x=n(21),E=n(37),A=n(154),C=n(92),S=n(90),D=n(432),w=n(235),_=n(23),k=n(44),O=w.f,M=_.f,P=D.f,F=i.Symbol,T=i.JSON,B=T&&T.stringify,I="prototype",R=h("_hidden"),N=h("toPrimitive"),L={}.propertyIsEnumerable,j=f("symbol-registry"),W=f("symbols"),U=f("op-symbols"),z=Object[I],V="function"==typeof F,G=i.QObject,H=!G||!G[I]||!G[I].findChild,Y=a&&c(function(){return 7!=S(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],M(e,t,n),r&&e!==z&&M(z,t,r)}:M,q=function(e){var t=W[e]=S(F[I]);return t._k=e,t},K=V&&"symbol"==r(F.iterator)?function(e){return"symbol"==("undefined"==typeof e?"undefined":r(e))}:function(e){return e instanceof F},X=function(e,t,n){return e===z&&X(U,t,n),x(e),t=A(t,!0),x(n),o(W,t)?(n.enumerable?(o(e,R)&&e[R][t]&&(e[R][t]=!1),n=S(n,{enumerable:C(0,!1)})):(o(e,R)||M(e,R,C(1,{})),e[R][t]=!0),Y(e,t,n)):M(e,t,n)},$=function(e,t){x(e);for(var n,r=y(t=E(t)),i=0,o=r.length;o>i;)X(e,n=r[i++],t[n]);return e},J=function(e,t){return void 0===t?S(e):$(S(e),t)},Q=function(e){var t=L.call(this,e=A(e,!0));return!(this===z&&o(W,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(W,e)||o(this,R)&&this[R][e])||t)},Z=function(e,t){if(e=E(e),t=A(t,!0),e!==z||!o(W,t)||o(U,t)){var n=O(e,t);return!n||!o(W,t)||o(e,R)&&e[R][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=P(E(e)),r=[],i=0;n.length>i;)o(W,t=n[i++])||t==R||t==l||r.push(t);return r},te=function(e){for(var t,n=e===z,r=P(n?U:E(e)),i=[],a=0;r.length>a;)!o(W,t=r[a++])||n&&!o(z,t)||i.push(W[t]);return i};V||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function t(n){this===z&&t.call(U,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),Y(this,e,C(1,n))};return a&&H&&Y(z,e,{configurable:!0,set:t}),q(e)},u(F[I],"toString",function(){return this._k}),w.f=Z,_.f=X,n(236).f=D.f=ee,n(91).f=Q,n(145).f=te,a&&!n(144)&&u(z,"propertyIsEnumerable",Q,!0),m.f=function(e){return q(h(e))}),s(s.G+s.W+s.F*!V,{Symbol:F});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)h(ne[re++]);for(var ie=k(h.store),oe=0;ie.length>oe;)v(ie[oe++]);s(s.S+s.F*!V,"Symbol",{for:function(e){return o(j,e+="")?j[e]:j[e]=F(e)},keyFor:function(e){if(K(e))return g(j,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){H=!0},useSimple:function(){H=!1}}),s(s.S+s.F*!V,"Object",{create:J,defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:ee,getOwnPropertySymbols:te}),T&&s(s.S+s.F*(!V||c(function(){var e=F();return"[null]"!=B([e])||"{}"!=B({a:e})||"{}"!=B(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!K(e)){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return t=r[1],"function"==typeof t&&(n=t),!n&&b(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,B.apply(T,r)}}}),F[I][N]||n(29)(F[I],N,F[I].valueOf),p(F,"Symbol"),p(Math,"Math",!0),p(i.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(38),i=n(17),o=r(i,"Map");e.exports=o},function(e,t,n){"use strict";function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){"use strict";var r=n(499),i=n(102),o=n(270),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t,n){function r(e){return n(i(e))}function i(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./index":50,"./index.js":50,"./logger":120,"./logger.js":120,"./metadata":121,"./metadata.js":121,"./options/build-config-chain":51,"./options/build-config-chain.js":51,"./options/config":33,"./options/config.js":33,"./options/index":52,"./options/index.js":52,"./options/option-manager":34,"./options/option-manager.js":34,"./options/parsers":53,"./options/parsers.js":53,"./options/removed":54,"./options/removed.js":54};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=178},function(e,t,n){function r(e){return n(i(e))}function i(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./build-config-chain":51,"./build-config-chain.js":51,"./config":33,"./config.js":33,"./index":52,"./index.js":52,"./option-manager":34,"./option-manager.js":34,"./parsers":53,"./parsers.js":53,"./removed":54,"./removed.js":54};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=179},function(e,t){"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold,gutter:e.grey,marker:e.red.bold}}function o(e){var t=e.slice(-2),n=t[0],r=t[1],i=(0,s.matchToToken)(e);if("name"===i.type){if(c.default.keyword.isReservedWordES6(i.value))return"keyword";if(h.test(i.value)&&("<"===r[n-1]||"3&&void 0!==arguments[3]?arguments[3]:{};n=Math.max(n,0);var o=r.highlightCode&&p.default.supportsColor||r.forceColor,s=p.default;r.forceColor&&(s=new p.default.constructor({enabled:!0}));var u=function(e,t){return o?e(t):t},l=i(s);o&&(e=a(l,e));var c=r.linesAbove||2,f=r.linesBelow||3,h=e.split(d),m=Math.max(t-(c+1),0),v=Math.min(h.length,t+f);t||n||(m=0,v=h.length);var g=String(v).length,y=h.slice(m,v).map(function(e,r){var i=m+1+r,o=(" "+i).slice(-g),a=" "+o+" | ";if(i===t){var s="";if(n){var c=e.slice(0,n-1).replace(/[^\t]/g," ");s=["\n ",u(l.gutter,a.replace(/\d/g," ")),c,u(l.marker,"^")].join("")}return[u(l.marker,">"),u(l.gutter,a),e,s].join("")}return" "+u(l.gutter,a)+e}).join("\n");return o?s.reset(y):y};var s=n(468),u=r(s),l=n(97),c=r(l),f=n(401),p=r(f),d=/\r\n|[\n\r\u2028\u2029]/,h=/^[a-z][\w-]*$/i,m=/^[()\[\]{}]$/;e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){throw new Error("The ("+e+") Babel 5 plugin is being run with Babel 6.")}function a(e,t,n){"function"==typeof t&&(n=t,t={}),t.filename=e,v.default.readFile(e,function(e,r){var i=void 0;if(!e)try{i=M(r,t)}catch(t){e=t}e?n(e):n(null,i)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.filename=e,M(v.default.readFileSync(e,"utf8"),t)}t.__esModule=!0,t.transformFromAst=t.transform=t.analyse=t.Pipeline=t.OptionManager=t.traverse=t.types=t.messages=t.util=t.version=t.resolvePreset=t.resolvePlugin=t.template=t.buildExternalHelpers=t.options=t.File=void 0;var u=n(50);Object.defineProperty(t,"File",{enumerable:!0,get:function(){return i(u).default}});var l=n(33);Object.defineProperty(t,"options",{enumerable:!0,get:function(){return i(l).default}});var c=n(295);Object.defineProperty(t,"buildExternalHelpers",{enumerable:!0,get:function(){return i(c).default}});var f=n(4);Object.defineProperty(t,"template",{enumerable:!0,get:function(){return i(f).default}});var p=n(184);Object.defineProperty(t,"resolvePlugin",{enumerable:!0,get:function(){return i(p).default}});var d=n(185);Object.defineProperty(t,"resolvePreset",{enumerable:!0,get:function(){return i(d).default}});var h=n(628);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return h.version}}),t.Plugin=o,t.transformFile=a,t.transformFileSync=s;var m=n(115),v=i(m),g=n(122),y=r(g),b=n(20),x=r(b),E=n(1),A=r(E),C=n(7),S=i(C),D=n(34),w=i(D),_=n(298),k=i(_);t.util=y,t.messages=x,t.types=A,t.traverse=S.default,t.OptionManager=w.default,t.Pipeline=k.default;var O=new k.default,M=(t.analyse=O.analyse.bind(O),t.transform=O.transform.bind(O));t.transformFromAst=O.transformFromAst.bind(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.reduce(function(e,n){return e||(0,a.default)(n,t)},null)}t.__esModule=!0,t.default=i;var o=n(118),a=r(o);e.exports=t.default},function(e,t,n){(function(r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.cwd();return(0,s.default)((0,l.default)(e),t)}t.__esModule=!0,t.default=o;var a=n(183),s=i(a),u=n(291),l=i(u);e.exports=t.default}).call(t,n(8))},function(e,t,n){(function(r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.cwd();return(0,s.default)((0,l.default)(e),t)}t.__esModule=!0,t.default=o;var a=n(183),s=i(a),u=n(292),l=i(u);e.exports=t.default}).call(t,n(8))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=" ";if(e&&"string"==typeof e){var i=(0,h.default)(e).indent;i&&" "!==i&&(r=i)}var o={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,quotes:t.quotes||a(e,n),jsonCompatibleStrings:t.jsonCompatibleStrings,indent:{adjustMultilineComment:!0,style:r,base:0},flowCommaSeparator:t.flowCommaSeparator};return o.minified?(o.compact=!0,o.shouldPrintComment=o.shouldPrintComment||function(){return o.comments}):o.shouldPrintComment=o.shouldPrintComment||function(e){return o.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0},"auto"===o.compact&&(o.compact=e.length>5e5,o.compact&&console.error("[BABEL] "+y.get("codeGeneratorDeopt",t.filename,"500KB"))),o.compact&&(o.indent.adjustMultilineComment=!1),o}function a(e,t){var n="double";if(!e)return n;for(var r={single:0,double:0},i=0,o=0;o=3)break}}return r.single>r.double?"single":"double"}t.__esModule=!0,t.CodeGenerator=void 0;var s=n(3),u=i(s),l=n(42),c=i(l),f=n(41),p=i(f);t.default=function(e,t,n){var r=new E(e,t,n);return r.generate()};var d=n(459),h=i(d),m=n(313),v=i(m),g=n(20),y=r(g),b=n(312),x=i(b),E=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2];(0,u.default)(this,t);var a=n.tokens||[],s=o(i,r,a),l=r.sourceMaps?new v.default(r,i):null,f=(0,c.default)(this,e.call(this,s,l,a));return f.ast=n,f}return(0,p.default)(t,e),t.prototype.generate=function(){return e.prototype.generate.call(this,this.ast)},t}(x.default);t.CodeGenerator=function(){function e(t,n,r){(0,u.default)(this,e),this._generator=new E(t,n,r)}return e.prototype.generate=function(){return this._generator.generate()},e}()},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e,t){var r=n[e];n[e]=r?function(e,n,i){var o=r(e,n,i);return null==o?t(e,n,i):o}:t}for(var n={},r=(0,m.default)(e),i=Array.isArray(r),o=0,r=i?r:(0,d.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a,u=E.FLIPPED_ALIAS_KEYS[s];if(u)for(var l=u,c=Array.isArray(l),f=0,l=c?l:(0,d.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var h=p;t(h,e[s])}else t(s,e[s])}return n}function a(e,t,n,r){var i=e[t.type];return i?i(t,n,r):null}function s(e){return!!E.isCallExpression(e)||!!E.isMemberExpression(e)&&(s(e.object)||!e.computed&&s(e.property))}function u(e,t,n){if(!e)return 0;E.isExpressionStatement(e)&&(e=e.expression);var r=a(C,e,t);if(!r){var i=a(S,e,t);if(i)for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:"var";e.traverse(l,{kind:n,emit:t})};var s=n(1),u=r(s),l={Scope:function(e,t){"let"===t.kind&&e.skip()},Function:function(e){e.skip()},VariableDeclaration:function(e,t){if(!t.kind||e.node.kind===t.kind){for(var n=[],r=e.get("declarations"),i=void 0,o=r,s=Array.isArray(o),l=0,o=s?o:(0,a.default)(o);;){var c;if(s){if(l>=o.length)break;c=o[l++]}else{if(l=o.next(),l.done)break;c=l.value}var f=c;i=f.node.id,f.node.init&&n.push(u.expressionStatement(u.assignmentExpression("=",f.node.id,f.node.init)));for(var p in f.getBindingIdentifiers())t.emit(u.identifier(p),p)}e.parentPath.isFor({left:e.node})?e.replaceWith(i):e.replaceWithMultiple(n)}}};e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.default=function(e,t,n){return 1===n.length&&o.isSpreadElement(n[0])&&o.isIdentifier(n[0].argument,{name:"arguments"})?o.callExpression(o.memberExpression(e,o.identifier("apply")),[t,n[0].argument]):o.callExpression(o.memberExpression(e,o.identifier("call")),[t].concat(n))};var i=n(1),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return c.isRegExpLiteral(e)&&e.flags.indexOf(t)>=0}function a(e,t){var n=e.flags.split("");e.flags.indexOf(t)<0||((0,u.default)(n,t),e.flags=n.join(""))}t.__esModule=!0,t.is=o,t.pullFlag=a;var s=n(277),u=i(s),l=n(1),c=r(l)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return!!g.isSuper(e)&&(!g.isMemberExpression(t,{computed:!1})&&!g.isCallExpression(t,{callee:e}))}function a(e){return g.isMemberExpression(e)&&g.isSuper(e.object)}function s(e,t){var n=t?e:g.memberExpression(e,g.identifier("prototype"));return g.logicalExpression("||",g.memberExpression(n,g.identifier("__proto__")),g.callExpression(g.memberExpression(g.identifier("Object"),g.identifier("getPrototypeOf")),[n]))}t.__esModule=!0;var u=n(3),l=i(u),c=n(10),f=i(c),p=n(191),d=i(p),h=n(20),m=r(h),v=n(1),g=r(v),y=(0,f.default)(),b={Function:function(e){e.inShadow("this")||e.skip()},ReturnStatement:function(e,t){e.inShadow("this")||t.returns.push(e)},ThisExpression:function(e,t){e.node[y]||t.thises.push(e)},enter:function(e,t){var n=t.specHandle;t.isLoose&&(n=t.looseHandle);var r=e.isCallExpression()&&e.get("callee").isSuper(),i=n.call(t,e);i&&(t.hasSuper=!0),r&&t.bareSupers.push(e),i===!0&&e.requeue(),i!==!0&&i&&(Array.isArray(i)?e.replaceWithMultiple(i):e.replaceWith(i))}},x=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,l.default)(this,e),this.forceSuperMemoisation=t.forceSuperMemoisation,this.methodPath=t.methodPath,this.methodNode=t.methodNode,this.superRef=t.superRef,this.isStatic=t.isStatic,this.hasSuper=!1,this.inClass=n,this.isLoose=t.isLoose,this.scope=this.methodPath.scope,this.file=t.file,this.opts=t,this.bareSupers=[],this.returns=[],this.thises=[]}return e.prototype.getObjectRef=function(){return this.opts.objectRef||this.opts.getObjectRef()},e.prototype.setSuperProperty=function(e,t,n){return g.callExpression(this.file.addHelper("set"),[s(this.getObjectRef(),this.isStatic),n?e:g.stringLiteral(e.name),t,g.thisExpression()])},e.prototype.getSuperProperty=function(e,t){return g.callExpression(this.file.addHelper("get"),[s(this.getObjectRef(),this.isStatic),t?e:g.stringLiteral(e.name),g.thisExpression()])},e.prototype.replace=function(){this.methodPath.traverse(b,this)},e.prototype.getLooseSuperProperty=function(e,t){var n=this.methodNode,r=this.superRef||g.identifier("Function");return t.property===e?void 0:g.isCallExpression(t,{callee:e})?void 0:g.isMemberExpression(t)&&!n.static?g.memberExpression(r,g.identifier("prototype")):r},e.prototype.looseHandle=function(e){var t=e.node;if(e.isSuper())return this.getLooseSuperProperty(t,e.parent);if(e.isCallExpression()){var n=t.callee;if(!g.isMemberExpression(n))return;if(!g.isSuper(n.object))return;return g.appendToMemberExpression(n,g.identifier("call")),t.arguments.unshift(g.thisExpression()),!0}},e.prototype.specHandleAssignmentExpression=function(e,t,n){return"="===n.operator?this.setSuperProperty(n.left.property,n.right,n.left.computed):(e=e||t.scope.generateUidIdentifier("ref"),[g.variableDeclaration("var",[g.variableDeclarator(e,n.left)]),g.expressionStatement(g.assignmentExpression("=",n.left,g.binaryExpression(n.operator[0],e,n.right)))])},e.prototype.specHandle=function(e){var t=void 0,n=void 0,r=void 0,i=e.parent,s=e.node;if(o(s,i))throw e.buildCodeFrameError(m.get("classesIllegalBareSuper"));if(g.isCallExpression(s)){var u=s.callee;if(g.isSuper(u))return;a(u)&&(t=u.property,n=u.computed,r=s.arguments)}else if(g.isMemberExpression(s)&&g.isSuper(s.object))t=s.property,n=s.computed;else{if(g.isUpdateExpression(s)&&a(s.argument)){var l=g.binaryExpression(s.operator[0],s.argument,g.numericLiteral(1));if(s.prefix)return this.specHandleAssignmentExpression(null,e,l);var c=e.scope.generateUidIdentifier("ref");return this.specHandleAssignmentExpression(c,e,l).concat(g.expressionStatement(c))}if(g.isAssignmentExpression(s)&&a(s.left))return this.specHandleAssignmentExpression(null,e,s)}if(t){var f=this.getSuperProperty(t,n);return r?this.optimiseCall(f,r):f}},e.prototype.optimiseCall=function(e,t){var n=g.thisExpression();return n[y]=!0,(0,d.default)(e,n,t)},e}();t.default=x,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=u.default[e];if(!t)throw new ReferenceError("Unknown helper "+e);return t().expression}t.__esModule=!0,t.list=void 0;var o=n(14),a=r(o);t.get=i;var s=n(321),u=r(s);t.list=(0,a.default)(u.default).map(function(e){return e.replace(/^_/,"")}).filter(function(e){return"__esModule"!==e});t.default=i},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("asyncGenerators")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("classConstructorCall")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("classProperties")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("doExpressions")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("exponentiationOperator")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("exportExtensions")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("functionBind")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("objectRestSpread")}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i),a=n(10),s=r(a);t.default=function(e){function t(e){for(var t=e.get("body.body"),n=t,r=Array.isArray(n),i=0,n=r?n:(0,o.default)(n);;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if(i=n.next(),i.done)break;a=i.value}var s=a;if("constructorCall"===s.node.kind)return s}return null}function r(e,t){var n=t,r=n.node,o=r.id||t.scope.generateUidIdentifier("class");t.parentPath.isExportDefaultDeclaration()&&(t=t.parentPath,t.insertAfter(i.exportDefaultDeclaration(o))),t.replaceWithMultiple(c({CLASS_REF:t.scope.generateUidIdentifier(o.name),CALL_REF:t.scope.generateUidIdentifier(o.name+"Call"),CALL:i.functionExpression(null,e.node.params,e.node.body),CLASS:i.toExpression(r),WRAPPER_REF:o})),e.remove()}var i=e.types,a=(0,s.default)();return{inherits:n(196),visitor:{Class:function(e){if(!e.node[a]){e.node[a]=!0;var n=t(e);n&&r(n,e)}}}}};var u=n(4),l=r(u),c=(0,l.default)("\n let CLASS_REF = CLASS;\n var CALL_REF = CALL;\n var WRAPPER_REF = function (...args) {\n if (this instanceof WRAPPER_REF) {\n return Reflect.construct(CLASS_REF, args);\n } else {\n return CALL_REF.apply(this, args);\n }\n };\n WRAPPER_REF.__proto__ = CLASS_REF;\n WRAPPER_REF;\n");e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){var t=e.types,r={Super:function(e){e.parentPath.isCallExpression({callee:e.node})&&this.push(e.parentPath)}},i={ReferencedIdentifier:function(e){this.scope.hasOwnBinding(e.node.name)&&(this.collision=!0,e.skip())}},a=(0,l.default)("\n Object.defineProperty(REF, KEY, {\n // configurable is false by default\n enumerable: true,\n writable: true,\n value: VALUE\n });\n "),u=function(e,n){var r=n.key,i=n.value,o=n.computed;return a({REF:e,KEY:t.isIdentifier(r)&&!o?t.stringLiteral(r.name):r,VALUE:i?i:t.identifier("undefined")})},c=function(e,n){var r=n.key,i=n.value,o=n.computed;return t.expressionStatement(t.assignmentExpression("=",t.memberExpression(e,r,o||t.isLiteral(r)),i))};return{inherits:n(197),visitor:{Class:function(e,n){for(var a=n.opts.spec?u:c,l=!!e.node.superClass,f=void 0,p=[],d=e.get("body"),h=d.get("body"),m=Array.isArray(h),v=0,h=m?h:(0,o.default)(h);;){var g;if(m){if(v>=h.length)break;g=h[v++]}else{if(v=h.next(),v.done)break;g=v.value}var y=g;y.isClassProperty()?p.push(y):y.isClassMethod({kind:"constructor"})&&(f=y)}if(p.length){var b=[],x=void 0;e.isClassExpression()||!e.node.id?((0,s.default)(e),x=e.scope.generateUidIdentifier("class")):x=e.node.id;for(var E=[],A=p,C=Array.isArray(A),S=0,A=C?A:(0,o.default)(A);;){var D;if(C){if(S>=A.length)break;D=A[S++]}else{if(S=A.next(),S.done)break;D=S.value}var w=D,_=w.node;if(!(_.decorators&&_.decorators.length>0)&&(n.opts.spec||_.value)){var k=_.static;if(k)b.push(a(x,_));else{if(!_.value)continue;E.push(a(t.thisExpression(),_))}}}if(E.length){if(!f){var O=t.classMethod("constructor",t.identifier("constructor"),[],t.blockStatement([]));l&&(O.params=[t.restElement(t.identifier("args"))],O.body.body.push(t.returnStatement(t.callExpression(t.super(),[t.spreadElement(t.identifier("args"))]))));var M=d.unshiftContainer("body",O);f=M[0]}for(var P={collision:!1,scope:f.scope},F=p,T=Array.isArray(F),B=0,F=T?F:(0,o.default)(F);;){var I;if(T){if(B>=F.length)break;I=F[B++]}else{if(B=F.next(),B.done)break;I=B.value}var R=I;if(R.traverse(i,P),P.collision)break}if(P.collision){var N=e.scope.generateUidIdentifier("initialiseProps");b.push(t.variableDeclaration("var",[t.variableDeclarator(N,t.functionExpression(null,[],t.blockStatement(E)))])),E=[t.expressionStatement(t.callExpression(t.memberExpression(N,t.identifier("call")),[t.thisExpression()]))]}if(l){var L=[];f.traverse(r,L);for(var j=L,W=Array.isArray(j),U=0,j=W?j:(0,o.default)(j);;){var z;if(W){if(U>=j.length)break;z=j[U++]}else{if(U=j.next(),U.done)break;z=U.value}var V=z;V.insertAfter(E)}}else f.get("body").unshiftContainer("body",E)}for(var G=p,H=Array.isArray(G),Y=0,G=H?G:(0,o.default)(G);;){var q;if(H){if(Y>=G.length)break;q=G[Y++]}else{if(Y=G.next(),Y.done)break;q=Y.value}var K=q;K.remove()}b.length&&(e.isClassExpression()?(e.scope.push({id:x}),e.replaceWith(t.assignmentExpression("=",x,e.node))):(e.node.id||(e.node.id=x),e.parentPath.isExportDeclaration()&&(e=e.parentPath)),e.insertAfter(b))}},ArrowFunctionExpression:function(e){var t=e.get("body");if(t.isClassExpression()){var n=t.get("body"),r=n.get("body");r.some(function(e){return e.isClassProperty()})&&e.ensureBlock()}}}}};var a=n(40),s=r(a),u=n(4),l=r(u);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(9),o=r(i),a=n(2),s=r(a);t.default=function(e){function t(e){return e.reverse().map(function(e){return e.expression})}function r(e,n,r){var i=[],a=e.node.decorators;if(a){e.node.decorators=null,a=t(a);for(var l=a,c=Array.isArray(l),f=0,l=c?l:(0,s.default)(l);;){var d;if(c){if(f>=l.length)break;d=l[f++]}else{if(f=l.next(),f.done)break;d=f.value}var h=d;i.push(p({CLASS_REF:n,DECORATOR:h}))}}for(var m=(0,o.default)(null),v=e.get("body.body"),g=Array.isArray(v),y=0,v=g?v:(0,s.default)(v);;){var b;if(g){if(y>=v.length)break;b=v[y++]}else{if(y=v.next(),y.done)break;b=y.value}var x=b,E=x.node.decorators;if(E){var A=u.toKeyAlias(x.node);m[A]=m[A]||[],m[A].push(x.node),x.remove()}}for(var C in m)var S=m[C];return i}function i(e){if(e.isClass()){if(e.node.decorators)return!0;for(var t=e.node.body.body,n=Array.isArray(t),r=0,t=n?t:(0,s.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(o.decorators)return!0}}else if(e.isObjectExpression())for(var a=e.node.properties,u=Array.isArray(a),l=0,a=u?a:(0,s.default)(a);;){var c;if(u){if(l>=a.length)break;c=a[l++]}else{if(l=a.next(),l.done)break;c=l.value}var f=c;if(f.decorators)return!0}return!1}function a(e){throw e.buildCodeFrameError('Decorators are not officially supported yet in 6.x pending a proposal update.\nHowever, if you need to use them you can install the legacy decorators transform with:\n\nnpm install babel-plugin-transform-decorators-legacy --save-dev\n\nand add the following line to your .babelrc file:\n\n{\n "plugins": ["transform-decorators-legacy"]\n}\n\nThe repo url is: https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy.\n ')}var u=e.types;return{inherits:n(125),visitor:{ClassExpression:function(e){if(i(e)){a(e),(0,f.default)(e);var t=e.scope.generateDeclaredUidIdentifier("ref"),n=[];n.push(u.assignmentExpression("=",t,e.node)),n=n.concat(r(e,t,this)),n.push(t),e.replaceWith(u.sequenceExpression(n))}},ClassDeclaration:function(e){if(i(e)){a(e),(0,f.default)(e);var t=e.node.id,n=[];n=n.concat(r(e,t,this).map(function(e){return u.expressionStatement(e)})),n.push(u.expressionStatement(t)),e.insertAfter(n)}},ObjectExpression:function(e){i(e)&&a(e)}}}};var u=n(4),l=r(u),c=n(319),f=r(c),p=(0,l.default)("\n CLASS_REF = DECORATOR(CLASS_REF) || CLASS_REF;\n");e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){return{inherits:n(198),visitor:{DoExpression:function(e){var t=e.node.body.body;t.length?e.replaceWithMultiple(t):e.replaceWith(e.scope.buildUndefinedNode())}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o),s=n(3),u=i(s),l=n(7),c=n(193),f=i(c),p=n(191),d=i(p),h=n(188),m=r(h),v=n(4),g=i(v),y=n(1),b=r(y),x=(0,g.default)("\n (function () {\n super(...arguments);\n })\n"),E={"FunctionExpression|FunctionDeclaration":function(e){e.is("shadow")||e.skip()},Method:function(e){e.skip()}},A=l.visitors.merge([E,{Super:function(e){if(this.isDerived&&!this.hasBareSuper&&!e.parentPath.isCallExpression({callee:e.node}))throw e.buildCodeFrameError("'super.*' is not allowed before super()")},CallExpression:{exit:function(e){if(e.get("callee").isSuper()&&(this.hasBareSuper=!0,!this.isDerived))throw e.buildCodeFrameError("super() is only allowed in a derived constructor")}},ThisExpression:function(e){if(this.isDerived&&!this.hasBareSuper&&!e.inShadow("this"))throw e.buildCodeFrameError("'this' is not allowed before super()")}}]),C=l.visitors.merge([E,{ThisExpression:function(e){this.superThises.push(e)}}]),S=function(){function e(t,n){(0,u.default)(this,e),this.parent=t.parent,this.scope=t.scope,this.node=t.node,this.path=t,this.file=n,this.clearDescriptors(),this.instancePropBody=[],this.instancePropRefs={},this.staticPropBody=[],this.body=[],this.bareSuperAfter=[],this.bareSupers=[],this.pushedConstructor=!1,this.pushedInherits=!1,this.isLoose=!1,this.superThises=[],this.classId=this.node.id,this.classRef=this.node.id?b.identifier(this.node.id.name):this.scope.generateUidIdentifier("class"),this.superName=this.node.superClass||b.identifier("Function"), +this.isDerived=!!this.node.superClass}return e.prototype.run=function(){var e=this,t=this.superName,n=this.file,r=this.body,i=this.constructorBody=b.blockStatement([]);this.constructor=this.buildConstructor();var o=[],a=[];if(this.isDerived&&(a.push(t),t=this.scope.generateUidIdentifierBasedOnNode(t),o.push(t),this.superName=t),this.buildBody(),i.body.unshift(b.expressionStatement(b.callExpression(n.addHelper("classCallCheck"),[b.thisExpression(),this.classRef]))),r=r.concat(this.staticPropBody.map(function(t){return t(e.classRef)})),this.classId&&1===r.length)return b.toExpression(r[0]);r.push(b.returnStatement(this.classRef));var s=b.functionExpression(null,o,b.blockStatement(r));return s.shadow=!0,b.callExpression(s,a)},e.prototype.buildConstructor=function(){var e=b.functionDeclaration(this.classRef,[],this.constructorBody);return b.inherits(e,this.node),e},e.prototype.pushToMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"value",r=arguments[3],i=void 0;e.static?(this.hasStaticDescriptors=!0,i=this.staticMutatorMap):(this.hasInstanceDescriptors=!0,i=this.instanceMutatorMap);var o=m.push(i,e,n,this.file,r);return t&&(o.enumerable=b.booleanLiteral(!0)),o},e.prototype.constructorMeMaybe=function(){for(var e=!1,t=this.path.get("body.body"),n=t,r=Array.isArray(n),i=0,n=r?n:(0,a.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;if(e=s.equals("kind","constructor"))break}if(!e){var u=void 0,l=void 0;if(this.isDerived){var c=x().expression;u=c.params,l=c.body}else u=[],l=b.blockStatement([]);this.path.get("body").unshiftContainer("body",b.classMethod("constructor",b.identifier("constructor"),u,l))}},e.prototype.buildBody=function(){if(this.constructorMeMaybe(),this.pushBody(),this.verifyConstructor(),this.userConstructor){var e=this.constructorBody;e.body=e.body.concat(this.userConstructor.body.body),b.inherits(this.constructor,this.userConstructor),b.inherits(e,this.userConstructor.body)}this.pushDescriptors()},e.prototype.pushBody=function(){for(var e=this.path.get("body.body"),t=e,n=Array.isArray(t),r=0,t=n?t:(0,a.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,s=o.node;if(o.isClassProperty())throw o.buildCodeFrameError("Missing class properties transform.");if(s.decorators)throw o.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.");if(b.isClassMethod(s)){var u="constructor"===s.kind;if(u&&(o.traverse(A,this),!this.hasBareSuper&&this.isDerived))throw o.buildCodeFrameError("missing super() call in constructor");var l=new f.default({forceSuperMemoisation:u,methodPath:o,methodNode:s,objectRef:this.classRef,superRef:this.superName,isStatic:s.static,isLoose:this.isLoose,scope:this.scope,file:this.file},!0);l.replace(),u?this.pushConstructor(l,s,o):this.pushMethod(s,o)}}},e.prototype.clearDescriptors=function(){this.hasInstanceDescriptors=!1,this.hasStaticDescriptors=!1,this.instanceMutatorMap={},this.staticMutatorMap={}},e.prototype.pushDescriptors=function(){this.pushInherits();var e=this.body,t=void 0,n=void 0;if(this.hasInstanceDescriptors&&(t=m.toClassObject(this.instanceMutatorMap)),this.hasStaticDescriptors&&(n=m.toClassObject(this.staticMutatorMap)),t||n){t&&(t=m.toComputedObjectFromClass(t)),n&&(n=m.toComputedObjectFromClass(n));var r=b.nullLiteral(),i=[this.classRef,r,r,r,r];t&&(i[1]=t),n&&(i[2]=n),this.instanceInitializersId&&(i[3]=this.instanceInitializersId,e.unshift(this.buildObjectAssignment(this.instanceInitializersId))),this.staticInitializersId&&(i[4]=this.staticInitializersId,e.unshift(this.buildObjectAssignment(this.staticInitializersId)));for(var o=0,a=0;a=s.length)break;c=s[l++]}else{if(l=s.next(),l.done)break;c=l.value}var f=c;this.wrapSuperCall(f,i,o,n),r&&f.find(function(e){return e===t||(e.isLoop()||e.isConditional()?(r=!1,!0):void 0)})}for(var p=this.superThises,d=Array.isArray(p),h=0,p=d?p:(0,a.default)(p);;){var m;if(d){if(h>=p.length)break;m=p[h++]}else{if(h=p.next(),h.done)break;m=h.value}var v=m;v.replaceWith(o)}var g=function(t){return b.callExpression(e.file.addHelper("possibleConstructorReturn"),[o].concat(t||[]))},y=n.get("body");y.length&&!y.pop().isReturnStatement()&&n.pushContainer("body",b.returnStatement(r?o:g()));for(var x=this.superReturns,E=Array.isArray(x),A=0,x=E?x:(0,a.default)(x);;){var S;if(E){if(A>=x.length)break;S=x[A++]}else{if(A=x.next(),A.done)break;S=A.value}var D=S;if(D.node.argument){var w=D.scope.generateDeclaredUidIdentifier("ret");D.get("argument").replaceWithMultiple([b.assignmentExpression("=",w,D.node.argument),g(w)])}else D.get("argument").replaceWith(g())}}},e.prototype.pushMethod=function(e,t){var n=t?t.scope:this.scope;"method"===e.kind&&this._processMethod(e,n)||this.pushToMap(e,!1,null,n)},e.prototype._processMethod=function(){return!1},e.prototype.pushConstructor=function(e,t,n){this.bareSupers=e.bareSupers,this.superReturns=e.returns,n.scope.hasOwnBinding(this.classRef.name)&&n.scope.rename(this.classRef.name);var r=this.constructor;this.userConstructorPath=n,this.userConstructor=t,this.hasConstructor=!0,b.inheritsComments(r,t),r._ignoreUserWhitespace=!0,r.params=t.params,b.inherits(r.body,t.body),r.body.directives=t.body.directives,this._pushConstructor()},e.prototype._pushConstructor=function(){this.pushedConstructor||(this.pushedConstructor=!0,(this.hasInstanceDescriptors||this.hasStaticDescriptors)&&this.pushDescriptors(),this.body.push(this.constructor),this.pushInherits())},e.prototype.pushInherits=function(){this.isDerived&&!this.pushedInherits&&(this.pushedInherits=!0,this.body.unshift(b.expressionStatement(b.callExpression(this.file.addHelper("inherits"),[this.classRef,this.superName]))))},e}();t.default=S,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(9),o=r(i),a=n(2),s=r(a),u=n(10),l=r(u);t.default=function(e){var t=e.types,n=(0,l.default)(),r={"AssignmentExpression|UpdateExpression":function(e){if(!e.node[n]){e.node[n]=!0;var r=e.get(e.isAssignmentExpression()?"left":"argument");if(r.isIdentifier()){var i=r.node.name;if(this.scope.getBinding(i)===e.scope.getBinding(i)){var o=this.exports[i];if(o){var a=e.node,u=e.isUpdateExpression()&&!a.prefix;u&&("++"===a.operator?a=t.binaryExpression("+",a.argument,t.numericLiteral(1)):"--"===a.operator?a=t.binaryExpression("-",a.argument,t.numericLiteral(1)):u=!1);for(var l=o,c=Array.isArray(l),f=0,l=c?l:(0,s.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;a=this.buildCall(d,a).expression}u&&(a=t.sequenceExpression([a,e.node])),e.replaceWith(a)}}}}}};return{visitor:{CallExpression:function(e,n){if(e.node.callee.type===v){var r=n.contextIdent;e.replaceWith(t.callExpression(t.memberExpression(r,t.identifier("import")),e.node.arguments))}},ReferencedIdentifier:function(e,n){"__moduleName"!=e.node.name||e.scope.hasBinding("__moduleName")||e.replaceWith(t.memberExpression(n.contextIdent,t.identifier("id")))},Program:{enter:function(e,t){t.contextIdent=e.scope.generateUidIdentifier("context")},exit:function(e,n){function i(e,t){p[e]=p[e]||[],p[e].push(t)}function a(e,t,n){var r=void 0;d.forEach(function(t){t.key===e&&(r=t)}),r||d.push(r={key:e,imports:[],exports:[]}),r[t]=r[t].concat(n)}function u(e,n){return t.expressionStatement(t.callExpression(l,[t.stringLiteral(e),n]))}for(var l=e.scope.generateUidIdentifier("export"),c=n.contextIdent,p=(0,o.default)(null),d=[],v=[],g=[],y=[],b=[],x=[],E=e.get("body"),A=!0,C=E,S=Array.isArray(C),D=0,C=S?C:(0,s.default)(C);;){var w;if(S){if(D>=C.length)break;w=C[D++]}else{if(D=C.next(),D.done)break;w=D.value}var _=w;if(_.isExportDeclaration()&&(_=_.get("declaration")),_.isVariableDeclaration()&&"var"!==_.node.kind){A=!1;break}}for(var k=E,O=Array.isArray(k),M=0,k=O?k:(0,s.default)(k);;){var P;if(O){if(M>=k.length)break;P=k[M++]}else{if(M=k.next(),M.done)break;P=M.value}var F=P;if(A&&F.isFunctionDeclaration())v.push(F.node),x.push(F);else if(F.isImportDeclaration()){var T=F.node.source.value;a(T,"imports",F.node.specifiers);for(var B in F.getBindingIdentifiers())F.scope.removeBinding(B),b.push(t.identifier(B));F.remove()}else if(F.isExportAllDeclaration())a(F.node.source.value,"exports",F.node),F.remove();else if(F.isExportDefaultDeclaration()){var I=F.get("declaration");if(I.isClassDeclaration()||I.isFunctionDeclaration()){var R=I.node.id,N=[];R?(N.push(I.node),N.push(u("default",R)),i(R.name,"default")):N.push(u("default",t.toExpression(I.node))),!A||I.isClassDeclaration()?F.replaceWithMultiple(N):(v=v.concat(N),x.push(F))}else F.replaceWith(u("default",I.node))}else if(F.isExportNamedDeclaration()){var L=F.get("declaration");if(L.node){F.replaceWith(L);var j=[],W=void 0;if(F.isFunction()){var U=L.node,z=U.id.name;if(A)i(z,z),v.push(U),v.push(u(z,U.id)),x.push(F);else{var V;V={},V[z]=U.id,W=V}}else W=L.getBindingIdentifiers();for(var G in W)i(G,G),j.push(u(G,t.identifier(G)));F.insertAfter(j)}else{var H=F.node.specifiers;if(H&&H.length)if(F.node.source)a(F.node.source.value,"exports",H),F.remove();else{for(var Y=[],q=H,K=Array.isArray(q),X=0,q=K?q:(0,s.default)(q);;){var $;if(K){if(X>=q.length)break;$=q[X++]}else{if(X=q.next(),X.done)break;$=X.value}var J=$;Y.push(u(J.exported.name,J.local)),i(J.local.name,J.exported.name)}F.replaceWithMultiple(Y)}}}}d.forEach(function(n){for(var r=[],i=e.scope.generateUidIdentifier(n.key),o=n.imports,a=Array.isArray(o),u=0,o=a?o:(0,s.default)(o);;){var c;if(a){if(u>=o.length)break;c=o[u++]}else{if(u=o.next(),u.done)break;c=u.value}var f=c;t.isImportNamespaceSpecifier(f)?r.push(t.expressionStatement(t.assignmentExpression("=",f.local,i))):t.isImportDefaultSpecifier(f)&&(f=t.importSpecifier(f.local,t.identifier("default"))),t.isImportSpecifier(f)&&r.push(t.expressionStatement(t.assignmentExpression("=",f.local,t.memberExpression(i,f.imported))))}if(n.exports.length){var p=e.scope.generateUidIdentifier("exportObj");r.push(t.variableDeclaration("var",[t.variableDeclarator(p,t.objectExpression([]))]));for(var d=n.exports,h=Array.isArray(d),v=0,d=h?d:(0,s.default)(d);;){var b;if(h){if(v>=d.length)break;b=d[v++]}else{if(v=d.next(),v.done)break;b=v.value}var x=b;t.isExportAllDeclaration(x)?r.push(m({KEY:e.scope.generateUidIdentifier("key"),EXPORT_OBJ:p,TARGET:i})):t.isExportSpecifier(x)&&r.push(t.expressionStatement(t.assignmentExpression("=",t.memberExpression(p,x.exported),t.memberExpression(i,x.local))))}r.push(t.expressionStatement(t.callExpression(l,[p])))}y.push(t.stringLiteral(n.key)),g.push(t.functionExpression(null,[i],t.blockStatement(r)))});var Q=this.getModuleName();Q&&(Q=t.stringLiteral(Q)),A&&(0,f.default)(e,function(e){return b.push(e)}),b.length&&v.unshift(t.variableDeclaration("var",b.map(function(e){return t.variableDeclarator(e)}))),e.traverse(r,{exports:p,buildCall:u,scope:e.scope});for(var Z=x,ee=Array.isArray(Z),te=0,Z=ee?Z:(0,s.default)(Z);;){var ne;if(ee){if(te>=Z.length)break;ne=Z[te++]}else{if(te=Z.next(),te.done)break;ne=te.value}var re=ne;re.remove()}e.node.body=[h({SYSTEM_REGISTER:t.memberExpression(t.identifier(n.opts.systemGlobal||"System"),t.identifier("register")),BEFORE_BODY:v,MODULE_NAME:Q,SETTERS:g,SOURCES:y,BODY:e.node.body,EXPORT_IDENTIFIER:l,CONTEXT_IDENTIFIER:c})]}}}}};var c=n(190),f=r(c),p=n(4),d=r(p),h=(0,d.default)('\n SYSTEM_REGISTER(MODULE_NAME, [SOURCES], function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: [SETTERS],\n execute: function () {\n BODY;\n }\n };\n });\n'),m=(0,d.default)('\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n'),v="Import";e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){function t(e){if(e.isExpressionStatement()){var t=e.get("expression");if(!t.isCallExpression())return!1;if(!t.get("callee").isIdentifier({name:"define"}))return!1;var n=t.get("arguments");return!(3===n.length&&!n.shift().isStringLiteral())&&(2===n.length&&(!!n.shift().isArrayExpression()&&!!n.shift().isFunctionExpression()))}}var r=e.types;return{inherits:n(131),visitor:{Program:{exit:function(e,n){var o=e.get("body").pop();if(t(o)){var a=o.node.expression,c=a.arguments,f=3===c.length?c.shift():null,p=a.arguments[0],d=a.arguments[1],h=n.opts.globals||{},m=p.elements.map(function(e){return"module"===e.value||"exports"===e.value?r.identifier(e.value):r.callExpression(r.identifier("require"),[e])}),v=p.elements.map(function(e){if("module"===e.value)return r.identifier("mod");if("exports"===e.value)return r.memberExpression(r.identifier("mod"),r.identifier("exports"));var t=void 0;if(n.opts.exactGlobals){var o=h[e.value];t=o?o.split(".").reduce(function(e,t){return r.memberExpression(e,r.identifier(t))},r.identifier("global")):r.memberExpression(r.identifier("global"),r.identifier(r.toIdentifier(e.value)))}else{var a=(0,i.basename)(e.value,(0,i.extname)(e.value)),s=h[a]||a;t=r.memberExpression(r.identifier("global"),r.identifier(r.toIdentifier(s)))}return t}),g=f?f.value:this.file.opts.basename,y=r.memberExpression(r.identifier("global"),r.identifier(r.toIdentifier(g))),b=null;if(n.opts.exactGlobals){var x=h[g];if(x){b=[];var E=x.split(".");y=E.slice(1).reduce(function(e,t){return b.push(s({GLOBAL_REFERENCE:e})),r.memberExpression(e,r.identifier(t))},r.memberExpression(r.identifier("global"),r.identifier(E[0])))}}var A=u({BROWSER_ARGUMENTS:v,PREREQUISITE_ASSIGNMENTS:b,GLOBAL_TO_ASSIGN:y});o.replaceWith(l({MODULE_NAME:f,AMD_ARGUMENTS:p,COMMON_ARGUMENTS:m,GLOBAL_EXPORT:A,FUNC:d}))}}}}}};var i=n(19),o=n(4),a=r(o),s=(0,a.default)("\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n"),u=(0,a.default)("\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n PREREQUISITE_ASSIGNMENTS\n GLOBAL_TO_ASSIGN = mod.exports;\n"),l=(0,a.default)('\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMON_ARGUMENTS);\n } else {\n GLOBAL_EXPORT\n }\n })(this, FUNC);\n');e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){function t(e,n,i){var o=e.specifiers[0];if(r.isExportNamespaceSpecifier(o)||r.isExportDefaultSpecifier(o)){var a=e.specifiers.shift(),s=i.generateUidIdentifier(a.exported.name),u=void 0;u=r.isExportNamespaceSpecifier(a)?r.importNamespaceSpecifier(s):r.importDefaultSpecifier(s),n.push(r.importDeclaration([u],e.source)),n.push(r.exportNamedDeclaration(null,[r.exportSpecifier(s,a.exported)])),t(e,n,i)}}var r=e.types;return{inherits:n(200),visitor:{ExportNamedDeclaration:function(e){var n=e.node,r=e.scope,i=[];t(n,i,r),i.length&&(n.specifiers.length>=1&&i.push(n),e.replaceWithMultiple(i))}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){var t=e.types,r="@flow";return{inherits:n(126),visitor:{Program:function(e,t){for(var n=t.file.ast.comments,i=n,a=Array.isArray(i),s=0,i=a?i:(0,o.default)(i);;){var u;if(a){if(s>=i.length)break;u=i[s++]}else{if(s=i.next(),s.done)break;u=s.value}var l=u;l.value.indexOf(r)>=0&&(l.value=l.value.replace(r,""),l.value.replace(/\*/g,"").trim()||(l.ignore=!0))}},Flow:function(e){e.remove()},ClassProperty:function(e){e.node.variance=null,e.node.typeAnnotation=null,e.node.value||e.remove()},Class:function(e){e.node.implements=null,e.get("body.body").forEach(function(e){e.isClassProperty()&&(e.node.typeAnnotation=null,e.node.value||e.remove())})},AssignmentPattern:function(e){var t=e.node;t.left.optional=!1},Function:function(e){for(var t=e.node,n=0;n=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var a=i;if(s.isSpreadProperty(a))return!0}return!1}function i(e,t,n){for(var r=t.pop(),i=[],a=t,u=Array.isArray(a),l=0,a=u?a:(0,o.default)(a);;){var c;if(u){if(l>=a.length)break;c=a[l++]}else{if(l=a.next(),l.done)break;c=l.value}var f=c,p=f.key;s.isIdentifier(p)&&!f.computed&&(p=s.stringLiteral(f.key.name)),i.push(p)}return[r.argument,s.callExpression(e.addHelper("objectWithoutProperties"),[n,s.arrayExpression(i)])]}function a(e,n,r,i){if(n.isAssignmentPattern())return void a(e,n.get("left"),r,i);if(n.isObjectPattern()&&t(n)){var o=e.scope.generateUidIdentifier("ref"),u=s.variableDeclaration("let",[s.variableDeclarator(n.node,o)]);u._blockHoist=r?i-r:1,e.ensureBlock(),e.get("body").unshiftContainer("body",u),n.replaceWith(o)}}var s=e.types;return{inherits:n(202),visitor:{Function:function(e){for(var t=e.get("params"),n=0;n1&&!s.isIdentifier(this.originalPath.node.init)){var r=e.scope.generateUidIdentifierBasedOnNode(this.originalPath.node.init,"ref");return this.originalPath.insertBefore(s.variableDeclarator(r,this.originalPath.node.init)),void this.originalPath.replaceWith(s.variableDeclarator(this.originalPath.node.id,r))}var o=this.originalPath.node.init,a=[];e.findParent(function(e){if(e.isObjectProperty())a.unshift(e.node.key.name);else if(e.isVariableDeclarator())return!0}),a.length&&a.forEach(function(e){o=s.memberExpression(o,s.identifier(e))});var u=i(t,e.parentPath.node.properties,o),l=u[0],c=u[1];n.insertAfter(s.variableDeclarator(l,c)),n=n.getSibling(n.key+1),0===e.parentPath.node.properties.length&&e.findParent(function(e){return e.isObjectProperty()||e.isVariableDeclarator()}).remove()}},{originalPath:e})}},ExportNamedDeclaration:function(e){var n=e.get("declaration");if(n.isVariableDeclaration()&&t(n)){var r=[];for(var i in e.getOuterBindingIdentifiers(e)){var o=s.identifier(i);r.push(s.exportSpecifier(o,o))}e.replaceWith(n.node),e.insertAfter(s.exportNamedDeclaration(null,r))}},CatchClause:function(e){var t=e.get("param");a(t.parentPath,t)},AssignmentExpression:function(e,n){var r=e.get("left");if(r.isObjectPattern()&&t(r)){var o=[],a=void 0;(e.isCompletionRecord()||e.parentPath.isExpressionStatement())&&(a=e.scope.generateUidIdentifierBasedOnNode(e.node.right,"ref"),o.push(s.variableDeclaration("var",[s.variableDeclarator(a,e.node.right)])));var u=i(n,e.node.left.properties,a),l=u[0],c=u[1],f=s.clone(e.node);f.right=a,o.push(s.expressionStatement(f)),o.push(s.toStatement(s.assignmentExpression("=",l,c))),a&&o.push(s.expressionStatement(a)),e.replaceWithMultiple(o)}},ForXStatement:function(e){var n=e.node,r=e.scope,i=e.get("left"),o=n.left;if(s.isObjectPattern(o)&&t(i)){var a=r.generateUidIdentifier("ref");return n.left=s.variableDeclaration("var",[s.variableDeclarator(a)]),e.ensureBlock(),void n.body.body.unshift(s.variableDeclaration("var",[s.variableDeclarator(o,a)]))}if(s.isVariableDeclaration(o)){var u=o.declarations[0].id;if(s.isObjectPattern(u)){var l=r.generateUidIdentifier("ref");n.left=s.variableDeclaration(o.kind,[s.variableDeclarator(l,null)]),e.ensureBlock(),n.body.body.unshift(s.variableDeclaration(n.left.kind,[s.variableDeclarator(u,l)]))}}},ObjectExpression:function(e,t){function n(){u.length&&(a.push(s.objectExpression(u)),u=[])}if(r(e.node)){var i=t.opts.useBuiltIns||!1;if("boolean"!=typeof i)throw new Error("transform-object-rest-spread currently only accepts a boolean option for useBuiltIns (defaults to false)");for(var a=[],u=[],l=e.node.properties,c=Array.isArray(l),f=0,l=c?l:(0,o.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var d=p;s.isSpreadProperty(d)?(n(),a.push(d.argument)):u.push(d)}n(),s.isObjectExpression(a[0])||a.unshift(s.objectExpression([]));var h=i?s.memberExpression(s.identifier("Object"),s.identifier("assign")):t.addHelper("extends");e.replaceWith(s.callExpression(h,a))}}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){function t(e,t){for(var n=t.arguments[0].properties,i=!0,o=0;o=s.length)break;c=s[l++]}else{if(l=s.next(),l.done)break;c=l.value}var f=c,p=n.exec(f.value);if(p){if(a=p[1],"React.DOM"===a)throw i.buildCodeFrameError(f,"The @jsx React.DOM pragma has been deprecated as of React 0.12");break}}r.set("jsxIdentifier",function(){return a.split(".").map(function(e){return t.identifier(e)}).reduce(function(e,n){return t.memberExpression(e,n)})})},{inherits:s.default,visitor:r}};var a=n(127),s=r(a),u=n(351),l=r(u);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o);t.default=function(){return{visitor:{Program:function(e,t){if(t.opts.strict!==!1&&t.opts.strictMode!==!1){for(var n=e.node,r=n.directives,i=Array.isArray(r),o=0,r=i?r:(0,a.default)(r);;){var s;if(i){if(o>=r.length)break;s=r[o++]}else{if(o=r.next(),o.done)break;s=o.value}var l=s;if("use strict"===l.value.value)return}e.unshiftContainer("directives",u.directive(u.directiveLiteral("use strict")))}}}}};var s=n(1),u=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=["commonjs","amd","umd","systemjs"],r=!1,i="commonjs",o=!1;if(void 0!==t&&(void 0!==t.loose&&(r=t.loose),void 0!==t.modules&&(i=t.modules),void 0!==t.spec&&(o=t.spec)),"boolean"!=typeof r)throw new Error("Preset es2015 'loose' option must be a boolean.");if("boolean"!=typeof o)throw new Error("Preset es2015 'spec' option must be a boolean.");if(i!==!1&&n.indexOf(i)===-1)throw new Error("Preset es2015 'modules' option must be 'false' to indicate no modules\nor a module type which be be one of: 'commonjs' (default), 'amd', 'umd', 'systemjs'");var s={loose:r};return{plugins:[[a.default,{loose:r,spec:o}],u.default,c.default,[p.default,{spec:o}],h.default,[v.default,s],y.default,x.default,A.default,[S.default,s],[w.default,s],k.default,M.default,F.default,[B.default,s],R.default,[L.default,s],W.default,z.default,"commonjs"===i&&[G.default,s],"systemjs"===i&&[Y.default,s],"amd"===i&&[K.default,s],"umd"===i&&[$.default,s],[Q.default,{async:!1,asyncGenerators:!1}]].filter(Boolean)}}t.__esModule=!0;var o=n(83),a=r(o),s=n(76),u=r(s),l=n(75),c=r(l),f=n(68),p=r(f),d=n(69),h=r(d),m=n(71),v=r(m),g=n(78),y=r(g),b=n(80),x=r(b),E=n(130),A=r(E),C=n(72),S=r(C),D=n(74),w=r(D),_=n(82),k=r(_),O=n(85),M=r(O),P=n(66),F=r(P),T=n(81),B=r(T),I=n(79),R=r(I),N=n(73),L=r(N),j=n(70),W=r(j),U=n(84),z=r(U),V=n(77),G=r(V),H=n(208),Y=r(H),q=n(131),K=r(q),X=n(209),$=r(X),J=n(86),Q=r(J),Z=i({});t.default=Z,Object.defineProperty(Z,"buildPreset",{configurable:!0,writable:!0,enumerable:!1,value:i}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(132),o=r(i);t.default={plugins:[o.default]},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(128),o=r(i),a=n(129),s=r(a);t.default={plugins:[o.default,s.default]},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(221),o=r(i),a=n(203),s=r(a),u=n(210),l=r(u);t.default={presets:[o.default],plugins:[s.default,l.default]},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(222),o=r(i),a=n(204),s=r(a),u=n(205),l=r(u),c=n(324),f=r(c);t.default={presets:[o.default],plugins:[f.default,s.default,l.default]},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(128),o=r(i),a=n(129),s=r(a),u=n(132),l=r(u),c=n(213),f=r(c),p=n(327),d=r(p);t.default={plugins:[o.default,s.default,l.default,d.default,f.default]},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),o=r(i),a=function e(t,n){(0,o.default)(this,e),this.file=t,this.options=n};t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;var i=n(1),o=r(i);t.ReferencedIdentifier={types:["Identifier","JSXIdentifier"],checkPath:function(e,t){var n=e.node,r=e.parent;if(!o.isIdentifier(n,t)&&!o.isJSXMemberExpression(r,t)){if(!o.isJSXIdentifier(n,t))return!1;if(i.react.isCompatTag(n.name))return!1}return o.isReferenced(n,r)}},t.ReferencedMemberExpression={types:["MemberExpression"],checkPath:function(e){var t=e.node,n=e.parent;return o.isMemberExpression(t)&&o.isReferenced(t,n)}},t.BindingIdentifier={types:["Identifier"],checkPath:function(e){var t=e.node,n=e.parent;return o.isIdentifier(t)&&o.isBinding(t,n)}},t.Statement={types:["Statement"],checkPath:function(e){var t=e.node,n=e.parent;if(o.isStatement(t)){if(o.isVariableDeclaration(t)){if(o.isForXStatement(n,{left:t}))return!1;if(o.isForStatement(n,{init:t}))return!1}return!0}return!1}},t.Expression={types:["Expression"],checkPath:function(e){return e.isIdentifier()?e.isReferencedIdentifier():o.isExpression(e.node)}},t.Scope={types:["Scopable"],checkPath:function(e){return o.isScope(e.node,e.parent)}},t.Referenced={checkPath:function(e){return o.isReferenced(e.node,e.parent)}},t.BlockScoped={checkPath:function(e){return o.isBlockScoped(e.node)}},t.Var={types:["VariableDeclaration"],checkPath:function(e){return o.isVar(e.node)}},t.User={checkPath:function(e){return e.node&&!!e.node.loc}},t.Generated={checkPath:function(e){return!e.isUser()}},t.Pure={checkPath:function(e,t){return e.scope.isPure(e.node,t)}},t.Flow={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath:function(e){var t=e.node;return!!o.isFlow(t)||(o.isImportDeclaration(t)?"type"===t.importKind||"typeof"===t.importKind:o.isExportDeclaration(t)?"type"===t.exportKind:!!o.isImportSpecifier(t)&&("type"===t.importKind||"typeof"===t.importKind))}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),o=r(i),a=function(){function e(t){var n=t.existing,r=t.identifier,i=t.scope,a=t.path,s=t.kind;(0,o.default)(this,e),this.identifier=r,this.scope=i,this.path=a,this.kind=s,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.clearValue(),n&&(this.constantViolations=[].concat(n.path,n.constantViolations,this.constantViolations))}return e.prototype.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},e.prototype.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0, +this.value=e)},e.prototype.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},e.prototype.reassign=function(e){this.constant=!1,this.constantViolations.indexOf(e)===-1&&this.constantViolations.push(e)},e.prototype.reference=function(e){this.referencePaths.indexOf(e)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},e.prototype.dereference=function(){this.references--,this.referenced=!!this.references},e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){for(var r=[].concat(e),i=(0,u.default)(null);r.length;){var o=r.shift();if(o){var a=c.getBindingIdentifiers.keys[o.type];if(c.isIdentifier(o))if(t){var s=i[o.name]=i[o.name]||[];s.push(o)}else i[o.name]=o;else if(c.isExportDeclaration(o))c.isDeclaration(o.declaration)&&r.push(o.declaration);else{if(n){if(c.isFunctionDeclaration(o)){r.push(o.id);continue}if(c.isFunctionExpression(o))continue}if(a)for(var l=0;ll;)for(var p,d=s(arguments[l++]),h=c?r(d).concat(c(d)):r(d),m=h.length,v=0;m>v;)f.call(d,p=h[v++])&&(n[p]=d[p]);return n}:u},function(e,t,n){"use strict";var r=n(91),i=n(92),o=n(37),a=n(154),s=n(28),u=n(231),l=Object.getOwnPropertyDescriptor;t.f=n(22)?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";var r=n(237),i=n(141).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(28),i=n(37),o=n(420)(!1),a=n(150)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){"use strict";var r=n(228),i=n(13)("iterator"),o=n(56);e.exports=n(5).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){(function(r){"use strict";function i(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r)}}function a(){return"object"===("undefined"==typeof console?"undefined":c(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function u(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof r&&"env"in r&&(e=r.env.DEBUG),e}function l(){try{return window.localStorage}catch(e){}}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t=e.exports=n(458),t.log=a,t.formatArgs=o,t.save=s,t.load=u,t.useColors=i,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:l(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(u())}).call(t,n(8))},function(e,t){"use strict";!function(){function t(e){return 48<=e&&e<=57}function n(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function r(e){return e>=48&&e<=55}function i(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&d.indexOf(e)>=0}function o(e){return 10===e||13===e||8232===e||8233===e}function a(e){if(e<=65535)return String.fromCharCode(e);var t=String.fromCharCode(Math.floor((e-65536)/1024)+55296),n=String.fromCharCode((e-65536)%1024+56320);return t+n}function s(e){return e<128?h[e]:p.NonAsciiIdentifierStart.test(a(e))}function u(e){return e<128?m[e]:p.NonAsciiIdentifierPart.test(a(e))}function l(e){return e<128?h[e]:f.NonAsciiIdentifierStart.test(a(e))}function c(e){return e<128?m[e]:f.NonAsciiIdentifierPart.test(a(e))}var f,p,d,h,m,v;for(p={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},f={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},d=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],h=new Array(128),v=0;v<128;++v)h[v]=v>=97&&v<=122||v>=65&&v<=90||36===v||95===v;for(m=new Array(128),v=0;v<128;++v)m[v]=v>=97&&v<=122||v>=65&&v<=90||v>=48&&v<=57||36===v||95===v;e.exports={isDecimalDigit:t,isHexDigit:n,isOctalDigit:r,isWhiteSpace:i,isLineTerminator:o,isIdentifierStartES5:s, +isIdentifierPartES5:u,isIdentifierStartES6:l,isIdentifierPartES6:c}}()},function(e,t,n){"use strict";var r=n(38),i=n(17),o=r(i,"Set");e.exports=o},function(e,t,n){"use strict";function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t-1?s[u?t[l]:l]:void 0}}var i=n(61),o=n(24),a=n(32);e.exports=r},function(e,t,n){"use strict";var r=n(38),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r,l,c){var f=n&s,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,v=!0,g=n&u?new i:void 0;for(c.set(e,t),c.set(t,e);++mr&&(t[r]=t[n]),++r);return t.length=r,t},t.makeAccessor=u},function(e,t,n){var r;(function(e,i){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(a){var s="object"==o(t)&&t,u="object"==o(e)&&e&&e.exports==s&&e,l="object"==("undefined"==typeof i?"undefined":o(i))&&i;l.global!==l&&l.window!==l||(a=l);var c={rangeOrder:"A range’s `stop` value must be greater than or equal to the `start` value.",codePointRange:"Invalid code point value. Code points range from U+000000 to U+10FFFF."},f=55296,p=56319,d=56320,h=57343,m=/\\x00([^0123456789]|$)/g,v={},g=v.hasOwnProperty,y=function(e,t){var n;for(n in t)g.call(t,n)&&(e[n]=t[n]);return e},b=function(e,t){for(var n=-1,r=e.length;++n=n&&tn)return e;if(t<=r&&n>=i)e.splice(o,2);else{if(t>=r&&n=r&&t<=i)e[o+1]=t;else if(n>=r&&n<=i)return e[o]=n+1,e;o+=2}}return e},M=function(e,t){var n,r,i=0,o=null,a=e.length;if(t<0||t>1114111)throw RangeError(c.codePointRange);for(;i=n&&tt)return e.splice(null!=o?o+2:0,0,t,t+1),e;if(t==r)return t+1==e[i+2]?(e.splice(i,4,n,e[i+3]),e):(e[i+1]=t+1,e);o=i,i+=2}return e.push(t,t+1),e},P=function(e,t){for(var n,r,i=0,o=e.slice(),a=t.length;i1114111||n<0||n>1114111)throw RangeError(c.codePointRange);for(var r,i,o=0,a=!1,s=e.length;on)return e;r>=t&&r<=n&&(i>t&&i-1<=n?(e.splice(o,2),o-=2):(e.splice(o-1,2),o-=2))}else{if(r==n+1)return e[o]=t,e;if(r>n)return e.splice(o,0,t,n+1),e;if(t>=r&&t=r&&t=i&&(e[o]=t,e[o+1]=n+1,a=!0)}o+=2}return a||e.push(t,n+1),e},B=function(e,t){var n=0,r=e.length,i=e[n],o=e[r-1];if(r>=2&&(to))return!1;for(;n=i&&t=40&&e<=43||45==e||46==e||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+z(e):e>=32&&e<=126?z(e):e<=255?"\\x"+S(D(e),2):"\\u"+S(D(e),4)},G=function(e){return e<=65535?V(e):"\\u{"+e.toString(16).toUpperCase()+"}"},H=function(e){var t,n=e.length,r=e.charCodeAt(0);return r>=f&&r<=p&&n>1?(t=e.charCodeAt(1),1024*(r-f)+t-d+65536):r},Y=function(e){var t,n,r="",i=0,o=e.length;if(N(e))return V(e[0]);for(;i=f&&n<=p&&(o.push(t,f),r.push(f,n+1)),n>=d&&n<=h&&(o.push(t,f),r.push(f,p+1),i.push(d,n+1)),n>h&&(o.push(t,f),r.push(f,p+1),i.push(d,h+1),n<=65535?o.push(h+1,n+1):(o.push(h+1,65536),a.push(65536,n+1)))):t>=f&&t<=p?(n>=f&&n<=p&&r.push(t,n+1),n>=d&&n<=h&&(r.push(t,p+1),i.push(d,n+1)),n>h&&(r.push(t,p+1),i.push(d,h+1),n<=65535?o.push(h+1,n+1):(o.push(h+1,65536),a.push(65536,n+1)))):t>=d&&t<=h?(n>=d&&n<=h&&i.push(t,n+1),n>h&&(i.push(t,h+1),n<=65535?o.push(h+1,n+1):(o.push(h+1,65536),a.push(65536,n+1)))):t>h&&t<=65535?n<=65535?o.push(t,n+1):(o.push(t,65536),a.push(65536,n+1)):a.push(t,n+1),s+=2;return{loneHighSurrogates:r,loneLowSurrogates:i,bmp:o,astral:a}},X=function(e){for(var t,n,r,i,o,a,s=[],u=[],l=!1,c=-1,f=e.length;++c1&&(t=w.call(arguments)),this instanceof e?(this.data=[],t?this.add(t):this):(new e).add(t)};ee.version="1.3.2";var te=ee.prototype;y(te,{add:function(e){var t=this;return null==e?t:e instanceof ee?(t.data=P(t.data,e.data),t):(arguments.length>1&&(e=w.call(arguments)),E(e)?(b(e,function(e){t.add(e)}),t):(t.data=M(t.data,A(e)?e:H(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof ee?(t.data=F(t.data,e.data),t):(arguments.length>1&&(e=w.call(arguments)),E(e)?(b(e,function(e){t.remove(e)}),t):(t.data=k(t.data,A(e)?e:H(e)),t))},addRange:function(e,t){var n=this;return n.data=T(n.data,A(e)?e:H(e),A(t)?t:H(t)),n},removeRange:function(e,t){var n=this,r=A(e)?e:H(e),i=A(t)?t:H(t);return n.data=O(n.data,r,i),n},intersection:function(e){var t=this,n=e instanceof ee?L(e.data):e;return t.data=I(t.data,n),t},contains:function(e){return B(this.data,A(e)?e:H(e))},clone:function(){var e=new ee;return e.data=this.data.slice(0),e},toString:function(e){var t=Z(this.data,!!e&&e.bmpOnly,!!e&&e.hasUnicodeFlag);return t?t.replace(m,"\\0$1"):"[]"},toRegExp:function(e){var t=this.toString(e&&e.indexOf("u")!=-1?{hasUnicodeFlag:!0}:null);return RegExp(t,e||"")},valueOf:function(){return L(this.data)}}),te.toArray=te.valueOf,"object"==o(n(49))&&n(49)?(r=function(){return ee}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))):s&&!s.nodeType?u?u.exports=ee:s.regenerate=ee:a.regenerate=ee}(void 0)}).call(t,n(39)(e),function(){return this}())},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){p.default.ok(this instanceof o),h.assertIdentifier(e),this.nextTempId=0,this.contextId=e,this.listing=[],this.marked=[!0],this.finalLoc=a(),this.tryEntries=[],this.leapManager=new v.LeapManager(this)}function a(){return h.numericLiteral(-1)}function s(e){return new Error("all declarations should have been transformed into assignments before the Exploder began its work: "+(0,c.default)(e))}function u(e){var t=e.type;return"normal"===t?!E.call(e,"target"):"break"===t||"continue"===t?!E.call(e,"value")&&h.isLiteral(e.target):("return"===t||"throw"===t)&&(E.call(e,"value")&&!E.call(e,"target"))}var l=n(35),c=i(l),f=n(64),p=i(f),d=n(1),h=r(d),m=n(607),v=r(m),g=n(608),y=r(g),b=n(116),x=r(b),E=Object.prototype.hasOwnProperty,A=o.prototype;t.Emitter=o,A.mark=function(e){h.assertLiteral(e);var t=this.listing.length;return e.value===-1?e.value=t:p.default.strictEqual(e.value,t),this.marked[t]=!0,e},A.emit=function(e){h.isExpression(e)&&(e=h.expressionStatement(e)),h.assertStatement(e),this.listing.push(e)},A.emitAssign=function(e,t){return this.emit(this.assign(e,t)),e},A.assign=function(e,t){return h.expressionStatement(h.assignmentExpression("=",e,t))},A.contextProperty=function(e,t){return h.memberExpression(this.contextId,t?h.stringLiteral(e):h.identifier(e),!!t)},A.stop=function(e){e&&this.setReturnValue(e),this.jump(this.finalLoc)},A.setReturnValue=function(e){h.assertExpression(e.value),this.emitAssign(this.contextProperty("rval"),this.explodeExpression(e))},A.clearPendingException=function(e,t){h.assertLiteral(e);var n=h.callExpression(this.contextProperty("catch",!0),[e]);t?this.emitAssign(t,n):this.emit(n)},A.jump=function(e){this.emitAssign(this.contextProperty("next"),e),this.emit(h.breakStatement())},A.jumpIf=function(e,t){h.assertExpression(e),h.assertLiteral(t),this.emit(h.ifStatement(e,h.blockStatement([this.assign(this.contextProperty("next"),t),h.breakStatement()])))},A.jumpIfNot=function(e,t){h.assertExpression(e),h.assertLiteral(t);var n=void 0;n=h.isUnaryExpression(e)&&"!"===e.operator?e.argument:h.unaryExpression("!",e),this.emit(h.ifStatement(n,h.blockStatement([this.assign(this.contextProperty("next"),t),h.breakStatement()])))},A.makeTempVar=function(){return this.contextProperty("t"+this.nextTempId++)},A.getContextFunction=function(e){return h.functionExpression(e||null,[this.contextId],h.blockStatement([this.getDispatchLoop()]),!1,!1)},A.getDispatchLoop=function(){var e=this,t=[],n=void 0,r=!1;return e.listing.forEach(function(i,o){e.marked.hasOwnProperty(o)&&(t.push(h.switchCase(h.numericLiteral(o),n=[])),r=!1),r||(n.push(i),h.isCompletionStatement(i)&&(r=!0))}),this.finalLoc.value=this.listing.length,t.push(h.switchCase(this.finalLoc,[]),h.switchCase(h.stringLiteral("end"),[h.returnStatement(h.callExpression(this.contextProperty("stop"),[]))])),h.whileStatement(h.numericLiteral(1),h.switchStatement(h.assignmentExpression("=",this.contextProperty("prev"),this.contextProperty("next")),t))},A.getTryLocsList=function(){if(0===this.tryEntries.length)return null;var e=0;return h.arrayExpression(this.tryEntries.map(function(t){var n=t.firstLoc.value;p.default.ok(n>=e,"try entries out of order"),e=n;var r=t.catchEntry,i=t.finallyEntry,o=[t.firstLoc,r?r.firstLoc:null];return i&&(o[2]=i.firstLoc,o[3]=i.afterLoc),h.arrayExpression(o)}))},A.explode=function(e,t){var n=e.node,r=this;if(h.assertNode(n),h.isDeclaration(n))throw s(n);if(h.isStatement(n))return r.explodeStatement(e);if(h.isExpression(n))return r.explodeExpression(e,t);switch(n.type){case"Program":return e.get("body").map(r.explodeStatement,r);case"VariableDeclarator":throw s(n);case"Property":case"SwitchCase":case"CatchClause":throw new Error(n.type+" nodes should be handled by their parents");default:throw new Error("unknown Node of type "+(0,c.default)(n.type))}},A.explodeStatement=function(e,t){var n=e.node,r=this,i=void 0,o=void 0,s=void 0;if(h.assertStatement(n),t?h.assertIdentifier(t):t=null,h.isBlockStatement(n))return void e.get("body").forEach(function(e){r.explodeStatement(e)});if(!y.containsLeap(n))return void r.emit(n);switch(n.type){case"ExpressionStatement":r.explodeExpression(e.get("expression"),!0);break;case"LabeledStatement":o=a(),r.leapManager.withEntry(new v.LabeledEntry(o,n.label),function(){r.explodeStatement(e.get("body"),n.label)}),r.mark(o);break;case"WhileStatement":i=a(),o=a(),r.mark(i),r.jumpIfNot(r.explodeExpression(e.get("test")),o),r.leapManager.withEntry(new v.LoopEntry(o,i,t),function(){r.explodeStatement(e.get("body"))}),r.jump(i),r.mark(o);break;case"DoWhileStatement":var u=a(),l=a();o=a(),r.mark(u),r.leapManager.withEntry(new v.LoopEntry(o,l,t),function(){r.explode(e.get("body"))}),r.mark(l),r.jumpIf(r.explodeExpression(e.get("test")),u),r.mark(o);break;case"ForStatement":s=a();var f=a();o=a(),n.init&&r.explode(e.get("init"),!0),r.mark(s),n.test&&r.jumpIfNot(r.explodeExpression(e.get("test")),o),r.leapManager.withEntry(new v.LoopEntry(o,f,t),function(){r.explodeStatement(e.get("body"))}),r.mark(f),n.update&&r.explode(e.get("update"),!0),r.jump(s),r.mark(o);break;case"TypeCastExpression":return r.explodeExpression(e.get("expression"));case"ForInStatement":s=a(),o=a();var d=r.makeTempVar();r.emitAssign(d,h.callExpression(x.runtimeProperty("keys"),[r.explodeExpression(e.get("right"))])),r.mark(s);var m=r.makeTempVar();r.jumpIf(h.memberExpression(h.assignmentExpression("=",m,h.callExpression(d,[])),h.identifier("done"),!1),o),r.emitAssign(n.left,h.memberExpression(m,h.identifier("value"),!1)),r.leapManager.withEntry(new v.LoopEntry(o,s,t),function(){r.explodeStatement(e.get("body"))}),r.jump(s),r.mark(o);break;case"BreakStatement":r.emitAbruptCompletion({type:"break",target:r.leapManager.getBreakLoc(n.label)});break;case"ContinueStatement":r.emitAbruptCompletion({type:"continue",target:r.leapManager.getContinueLoc(n.label)});break;case"SwitchStatement":var g=r.emitAssign(r.makeTempVar(),r.explodeExpression(e.get("discriminant")));o=a();for(var b=a(),E=b,A=[],S=n.cases||[],D=S.length-1;D>=0;--D){var w=S[D];h.assertSwitchCase(w),w.test?E=h.conditionalExpression(h.binaryExpression("===",g,w.test),A[D]=a(),E):A[D]=b}var _=e.get("discriminant");x.replaceWithOrRemove(_,E),r.jump(r.explodeExpression(_)),r.leapManager.withEntry(new v.SwitchEntry(o),function(){e.get("cases").forEach(function(e){var t=e.key;r.mark(A[t]),e.get("consequent").forEach(function(e){r.explodeStatement(e)})})}),r.mark(o),b.value===-1&&(r.mark(b),p.default.strictEqual(o.value,b.value));break;case"IfStatement":var k=n.alternate&&a();o=a(),r.jumpIfNot(r.explodeExpression(e.get("test")),k||o),r.explodeStatement(e.get("consequent")),k&&(r.jump(o),r.mark(k),r.explodeStatement(e.get("alternate"))),r.mark(o);break;case"ReturnStatement":r.emitAbruptCompletion({type:"return",value:r.explodeExpression(e.get("argument"))});break;case"WithStatement":throw new Error("WithStatement not supported in generator functions.");case"TryStatement":o=a();var O=n.handler,M=O&&a(),P=M&&new v.CatchEntry(M,O.param),F=n.finalizer&&a(),T=F&&new v.FinallyEntry(F,o),B=new v.TryEntry(r.getUnmarkedCurrentLoc(),P,T);r.tryEntries.push(B),r.updateContextPrevLoc(B.firstLoc),r.leapManager.withEntry(B,function(){if(r.explodeStatement(e.get("block")),M){F?r.jump(F):r.jump(o),r.updateContextPrevLoc(r.mark(M));var t=e.get("handler.body"),n=r.makeTempVar();r.clearPendingException(B.firstLoc,n),t.traverse(C,{safeParam:n,catchParamName:O.param.name}),r.leapManager.withEntry(P,function(){r.explodeStatement(t)})}F&&(r.updateContextPrevLoc(r.mark(F)),r.leapManager.withEntry(T,function(){r.explodeStatement(e.get("finalizer"))}),r.emit(h.returnStatement(h.callExpression(r.contextProperty("finish"),[T.firstLoc]))))}),r.mark(o);break;case"ThrowStatement":r.emit(h.throwStatement(r.explodeExpression(e.get("argument"))));break;default:throw new Error("unknown Statement of type "+(0,c.default)(n.type))}};var C={Identifier:function(e,t){e.node.name===t.catchParamName&&x.isReference(e)&&x.replaceWithOrRemove(e,t.safeParam)},Scope:function(e,t){e.scope.hasOwnBinding(t.catchParamName)&&e.skip()}};A.emitAbruptCompletion=function(e){u(e)||p.default.ok(!1,"invalid completion record: "+(0,c.default)(e)),p.default.notStrictEqual(e.type,"normal","normal completions are not abrupt");var t=[h.stringLiteral(e.type)];"break"===e.type||"continue"===e.type?(h.assertLiteral(e.target),t[1]=e.target):"return"!==e.type&&"throw"!==e.type||e.value&&(h.assertExpression(e.value),t[1]=e.value),this.emit(h.returnStatement(h.callExpression(this.contextProperty("abrupt"),t)))},A.getUnmarkedCurrentLoc=function(){return h.numericLiteral(this.listing.length)},A.updateContextPrevLoc=function(e){e?(h.assertLiteral(e),e.value===-1?e.value=this.listing.length:p.default.strictEqual(e.value,this.listing.length)):e=this.getUnmarkedCurrentLoc(),this.emitAssign(this.contextProperty("prev"),e)},A.explodeExpression=function(e,t){function n(e){return h.assertExpression(e),t?void o.emit(e):e}function r(e,t,n){p.default.ok(!n||!e,"Ignoring the result of a child expression but forcing it to be assigned to a temporary variable?");var r=o.explodeExpression(t,n);return n||(e||l&&!h.isLiteral(r))&&(r=o.emitAssign(e||o.makeTempVar(),r)),r}var i=e.node;if(!i)return i;h.assertExpression(i);var o=this,s=void 0,u=void 0;if(!y.containsLeap(i))return n(i);var l=y.containsLeap.onlyChildren(i);switch(i.type){case"MemberExpression":return n(h.memberExpression(o.explodeExpression(e.get("object")),i.computed?r(null,e.get("property")):i.property,i.computed));case"CallExpression":var f=e.get("callee"),d=e.get("arguments"),m=void 0,v=[],g=!1;if(d.forEach(function(e){g=g||y.containsLeap(e.node)}),h.isMemberExpression(f.node))if(g){var b=r(o.makeTempVar(),f.get("object")),x=f.node.computed?r(null,f.get("property")):f.node.property;v.unshift(b),m=h.memberExpression(h.memberExpression(b,x,f.node.computed),h.identifier("call"),!1)}else m=o.explodeExpression(f);else m=r(null,f),h.isMemberExpression(m)&&(m=h.sequenceExpression([h.numericLiteral(0),m]));return d.forEach(function(e){v.push(r(null,e))}),n(h.callExpression(m,v));case"NewExpression":return n(h.newExpression(r(null,e.get("callee")),e.get("arguments").map(function(e){return r(null,e)})));case"ObjectExpression":return n(h.objectExpression(e.get("properties").map(function(e){return e.isObjectProperty()?h.objectProperty(e.node.key,r(null,e.get("value")),e.node.computed):e.node})));case"ArrayExpression":return n(h.arrayExpression(e.get("elements").map(function(e){return r(null,e)})));case"SequenceExpression":var E=i.expressions.length-1;return e.get("expressions").forEach(function(e){e.key===E?s=o.explodeExpression(e,t):o.explodeExpression(e,!0)}),s;case"LogicalExpression":u=a(),t||(s=o.makeTempVar());var A=r(s,e.get("left"));return"&&"===i.operator?o.jumpIfNot(A,u):(p.default.strictEqual(i.operator,"||"),o.jumpIf(A,u)),r(s,e.get("right"),t),o.mark(u),s;case"ConditionalExpression":var C=a();u=a();var S=o.explodeExpression(e.get("test"));return o.jumpIfNot(S,C),t||(s=o.makeTempVar()),r(s,e.get("consequent"),t),o.jump(u),o.mark(C),r(s,e.get("alternate"),t),o.mark(u),s;case"UnaryExpression":return n(h.unaryExpression(i.operator,o.explodeExpression(e.get("argument")),!!i.prefix));case"BinaryExpression":return n(h.binaryExpression(i.operator,r(null,e.get("left")),r(null,e.get("right"))));case"AssignmentExpression":return n(h.assignmentExpression(i.operator,o.explodeExpression(e.get("left")),o.explodeExpression(e.get("right"))));case"UpdateExpression":return n(h.updateExpression(i.operator,o.explodeExpression(e.get("argument")),i.prefix));case"YieldExpression":u=a();var D=i.argument&&o.explodeExpression(e.get("argument"));if(D&&i.delegate){var w=o.makeTempVar();return o.emit(h.returnStatement(h.callExpression(o.contextProperty("delegateYield"),[D,h.stringLiteral(w.property.name),u]))),o.mark(u),w}return o.emitAssign(o.contextProperty("next"),u),o.emit(h.returnStatement(D||null)),o.mark(u),o.contextProperty("sent");default:throw new Error("unknown Expression of type "+(0,c.default)(i.type))}}},function(e,t){"use strict";e.exports=function(e){var t=/^\\\\\?\\/.test(e),n=/[^\x00-\x80]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},function(e,t,n){"use strict";function r(){this._array=[],this._set=Object.create(null)}var i=n(63),o=Object.prototype.hasOwnProperty;r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;i=0&&e>1;return t?-n:n}var o=n(616),a=5,s=1<>>=a,i>0&&(t|=l),n+=o.encode(t);while(i>0);return n},t.decode=function(e,t,n){var r,s,c=e.length,f=0,p=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(s=o.decode(e.charCodeAt(t++)),s===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(s&l),s&=u,f+=s<0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,s=1,u=0,l=0,c=0,f=0,p="",d=this._mappings.toArray(),h=0,m=d.length;h0){if(!o.compareByGeneratedPositionsInflated(t,d[h-1]))continue;e+=","}e+=i.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=i.encode(r-f),f=r,e+=i.encode(t.originalLine-1-l),l=t.originalLine-1,e+=i.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=i.encode(n-c),c=n)),p+=e}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=r},function(e,t,n){"use strict";t.SourceMapGenerator=n(287).SourceMapGenerator,t.SourceMapConsumer=n(620).SourceMapConsumer,t.SourceNode=n(621).SourceNode},function(e,t,n){(function(e){"use strict";function t(){var e={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};return e.colors.grey=e.colors.gray,Object.keys(e).forEach(function(t){var n=e[t];Object.keys(n).forEach(function(t){var r=n[t];e[t]=n[t]={open:"["+r[0]+"m",close:"["+r[1]+"m"}}),Object.defineProperty(e,t,{value:n,enumerable:!1})}),e}Object.defineProperty(e,"exports",{enumerable:!0,get:t})}).call(t,n(39)(e))},function(e,t,n){"use strict";e.exports=n(182)},function(e,t){"use strict";function n(e){return["babel-plugin-"+e,e]}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e){var t=["babel-preset-"+e,e],n=e.match(/^(@[^\/]+)\/(.+)$/);if(n){var r=n[1],i=n[2];t.push(r+"/babel-preset-"+i)}return t}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e,t){if(e&&t)return(0,s.default)(e,t,function(e,t){if(t&&Array.isArray(e)){for(var n=t.slice(0),r=e,i=Array.isArray(r),a=0,r=i?r:(0,o.default)(r);;){var s;if(i){if(a>=r.length)break;s=r[a++]}else{if(a=r.next(),a.done)break;s=a.value}var u=s;n.indexOf(u)<0&&n.push(u)}return n}})};var a=n(590),s=r(a);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.default=function(e,t,n){if(e){if("Program"===e.type)return o.file(e,t||[],n||[]);if("File"===e.type)return e}throw new Error("Not a valid ast?")};var i=n(1),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){var n=[],r=y.functionExpression(null,[y.identifier("global")],y.blockStatement(n)),i=y.program([y.expressionStatement(y.callExpression(r,[c.get("selfGlobal")]))]);return n.push(y.variableDeclaration("var",[y.variableDeclarator(e,y.assignmentExpression("=",y.memberExpression(y.identifier("global"),e),y.objectExpression([])))])),t(n),i}function a(e,t){var n=[];return n.push(y.variableDeclaration("var",[y.variableDeclarator(e,y.identifier("global"))])),t(n),y.program([b({FACTORY_PARAMETERS:y.identifier("global"),BROWSER_ARGUMENTS:y.assignmentExpression("=",y.memberExpression(y.identifier("root"),e),y.objectExpression([])),COMMON_ARGUMENTS:y.identifier("exports"),AMD_ARGUMENTS:y.arrayExpression([y.stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:y.identifier("this")})])}function s(e,t){var n=[];return n.push(y.variableDeclaration("var",[y.variableDeclarator(e,y.objectExpression([]))])),t(n),n.push(y.expressionStatement(e)),y.program(n)}function u(e,t,n){c.list.forEach(function(r){if(!(n&&n.indexOf(r)<0)){var i=y.identifier(r);e.push(y.expressionStatement(y.assignmentExpression("=",y.memberExpression(t,i),c.get(r))))}})}t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global",n=y.identifier("babelHelpers"),r=function(t){return u(t,n,e)},i=void 0,l={global:o,umd:a,var:s}[t];if(!l)throw new Error(h.get("unsupportedOutputType",t));return i=l(n,r),(0,p.default)(i).code};var l=n(194),c=i(l),f=n(186),p=r(f),d=n(20),h=i(d),m=n(4),v=r(m),g=n(1),y=i(g),b=(0,v.default)('\n (function (root, factory) {\n if (typeof define === "function" && define.amd) {\n define(AMD_ARGUMENTS, factory);\n } else if (typeof exports === "object") {\n factory(COMMON_ARGUMENTS);\n } else {\n factory(BROWSER_ARGUMENTS);\n }\n })(UMD_ROOT, function (FACTORY_PARAMETERS) {\n FACTORY_BODY\n });\n');e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(65),o=r(i),a=n(594),s=r(a);t.default=new o.default({name:"internal.blockHoist",visitor:{Block:{exit:function(e){for(var t=e.node,n=!1,r=0;r1&&void 0!==arguments[1]?arguments[1]:{};return t.code=!1,t.mode="lint",this.transform(e,t)},e.prototype.pretransform=function(e,t){var n=new f.default(t,this);return n.wrap(e,function(){return n.addCode(e),n.parseCode(e),n})},e.prototype.transform=function(e,t){var n=new f.default(t,this);return n.wrap(e,function(){return n.addCode(e),n.parseCode(e),n.transform()})},e.prototype.analyse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return t.code=!1,n&&(t.plugins=t.plugins||[],t.plugins.push(new l.default({visitor:n}))),this.transform(e,t).metadata},e.prototype.transformFromAst=function(e,t,n){e=(0,s.default)(e);var r=new f.default(n,this);return r.wrap(t,function(){return r.addCode(t),r.addAst(e),r.transform()})},e}();t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),o=r(i),a=n(42),s=r(a),u=n(41),l=r(u),c=n(119),f=r(c),p=n(50),d=(r(p),function(e){function t(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(this,t);var a=(0,s.default)(this,e.call(this));return a.plugin=r,a.key=r.key,a.file=n,a.opts=i,a}return(0,l.default)(t,e),t.prototype.addHelper=function(){var e;return(e=this.file).addHelper.apply(e,arguments)},t.prototype.addImport=function(){var e;return(e=this.file).addImport.apply(e,arguments)},t.prototype.getModuleName=function(){var e;return(e=this.file).getModuleName.apply(e,arguments)},t.prototype.buildCodeFrameError=function(){var e;return(e=this.file).buildCodeFrameError.apply(e,arguments)},t}(f.default));t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(3),o=r(i),a=n(625),s=r(a),u=/^[ \t]+$/,l=function(){function e(t){(0,o.default)(this,e),this._map=null,this._buf=[],this._last="",this._queue=[],this._position={line:1,column:0},this._sourcePosition={identifierName:null,line:null,column:null,filename:null},this._map=t}return e.prototype.get=function(){this._flush();var e=this._map,t={code:(0,s.default)(this._buf.join("")),map:null,rawMappings:e&&e.getRawMappings()};return e&&Object.defineProperty(t,"map",{configurable:!0,enumerable:!0,get:function(){return this.map=e.get()},set:function(e){Object.defineProperty(this,"map",{value:e,writable:!0})}}),t},e.prototype.append=function(e){this._flush();var t=this._sourcePosition,n=t.line,r=t.column,i=t.filename,o=t.identifierName;this._append(e,n,r,o,i)},e.prototype.queue=function(e){if("\n"===e)for(;this._queue.length>0&&u.test(this._queue[0][0]);)this._queue.shift();var t=this._sourcePosition,n=t.line,r=t.column,i=t.filename,o=t.identifierName;this._queue.unshift([e,n,r,o,i])},e.prototype._flush=function(){for(var e=void 0;e=this._queue.pop();)this._append.apply(this,e)},e.prototype._append=function(e,t,n,r,i){this._map&&"\n"!==e[0]&&this._map.mark(this._position.line,this._position.column,t,n,r,i),this._buf.push(e),this._last=e[e.length-1];for(var o=0;o0&&"\n"===this._queue[0][0]&&this._queue.shift()},e.prototype.removeLastSemicolon=function(){this._queue.length>0&&";"===this._queue[0][0]&&this._queue.shift()},e.prototype.endsWith=function(e){if(1===e.length){var t=void 0;if(this._queue.length>0){var n=this._queue[0][0];t=n[n.length-1]}else t=this._last;return t===e}var r=this._last+this._queue.reduce(function(e,t){return t[0]+e},"");return e.length<=r.length&&r.slice(-e.length)===e},e.prototype.hasContent=function(){return this._queue.length>0||!!this._last},e.prototype.source=function(e,t){if(!e||t){var n=t?t[e]:null;this._sourcePosition.identifierName=t&&t.identifierName||null,this._sourcePosition.line=n?n.line:null,this._sourcePosition.column=n?n.column:null,this._sourcePosition.filename=t&&t.filename||null}},e.prototype.withSource=function(e,t,n){if(!this._map)return n();var r=this._sourcePosition.line,i=this._sourcePosition.column,o=this._sourcePosition.filename,a=this._sourcePosition.identifierName;this.source(e,t),n(),this._sourcePosition.line=r,this._sourcePosition.column=i,this._sourcePosition.filename=o,this._sourcePosition.identifierName=a},e.prototype.getCurrentColumn=function(){var e=this._queue.reduce(function(e,t){return t[0]+e},""),t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t},e.prototype.getCurrentLine=function(){for(var e=this._queue.reduce(function(e,t){return t[0]+e},""),t=0,n=0;n")),this.space(),this.print(e.returnType,e)}function E(e){this.print(e.name,e),e.optional&&this.token("?"),this.token(":"),this.space(),this.print(e.typeAnnotation,e)}function A(e){this.print(e.id,e),this.print(e.typeParameters,e)}function C(e){this.print(e.id,e),this.print(e.typeParameters,e),e.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e)),e.mixins&&e.mixins.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e)),this.space(),this.print(e.body,e)}function S(e){"plus"===e.variance?this.token("+"):"minus"===e.variance&&this.token("-")}function D(e){this.word("interface"),this.space(),this._interfaceish(e)}function w(){this.space(),this.token("&"),this.space()}function _(e){this.printJoin(e.types,e,{separator:w})}function k(){this.word("mixed")}function O(){this.word("empty")}function M(e){this.token("?"),this.print(e.typeAnnotation,e)}function P(){this.word("number")}function F(){this.word("string")}function T(){this.word("this")}function B(e){this.token("["),this.printList(e.types,e),this.token("]")}function I(e){this.word("typeof"),this.space(),this.print(e.argument,e)}function R(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.token("="),this.space(),this.print(e.right,e),this.semicolon()}function N(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),e.supertype&&(this.token(":"),this.space(),this.print(e.supertype,e)),e.impltype&&(this.space(),this.token("="),this.space(),this.print(e.impltype,e)),this.semicolon()}function L(e){this.token(":"),this.space(),e.optional&&this.token("?"),this.print(e.typeAnnotation,e)}function j(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e),e.default&&(this.space(),this.token("="),this.space(),this.print(e.default,e))}function W(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")}function U(e){var t=this;e.exact?this.token("{|"):this.token("{");var n=e.properties.concat(e.callProperties,e.indexers);n.length&&(this.space(),this.printJoin(n,e,{addNewlines:function(e){if(e&&!n[0])return 1},indent:!0,statement:!0,iterator:function(){1!==n.length&&(t.format.flowCommaSeparator?t.token(","):t.semicolon(),t.space())}}),this.space()),e.exact?this.token("|}"):this.token("}")}function z(e){e.static&&(this.word("static"),this.space()),this.print(e.value,e)}function V(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.token("["),this.print(e.id,e),this.token(":"),this.space(),this.print(e.key,e),this.token("]"),this.token(":"),this.space(),this.print(e.value,e)}function G(e){e.static&&(this.word("static"),this.space()),this._variance(e),this.print(e.key,e),e.optional&&this.token("?"),this.token(":"),this.space(),this.print(e.value,e)}function H(e){this.token("..."),this.print(e.argument,e)}function Y(e){this.print(e.qualification,e),this.token("."),this.print(e.id,e)}function q(){this.space(),this.token("|"),this.space()}function K(e){this.printJoin(e.types,e,{separator:q})}function X(e){this.token("("),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.token(")")}function $(){this.word("void")}t.__esModule=!0,t.TypeParameterDeclaration=t.StringLiteralTypeAnnotation=t.NumericLiteralTypeAnnotation=t.GenericTypeAnnotation=t.ClassImplements=void 0,t.AnyTypeAnnotation=i,t.ArrayTypeAnnotation=o,t.BooleanTypeAnnotation=a,t.BooleanLiteralTypeAnnotation=s,t.NullLiteralTypeAnnotation=u,t.DeclareClass=l,t.DeclareFunction=c,t.DeclareInterface=f,t.DeclareModule=p,t.DeclareModuleExports=d,t.DeclareTypeAlias=h,t.DeclareOpaqueType=m,t.DeclareVariable=v,t.DeclareExportDeclaration=g,t.ExistentialTypeParam=b,t.FunctionTypeAnnotation=x,t.FunctionTypeParam=E,t.InterfaceExtends=A,t._interfaceish=C,t._variance=S,t.InterfaceDeclaration=D,t.IntersectionTypeAnnotation=_,t.MixedTypeAnnotation=k,t.EmptyTypeAnnotation=O,t.NullableTypeAnnotation=M;var J=n(123);Object.defineProperty(t,"NumericLiteralTypeAnnotation",{enumerable:!0,get:function(){return J.NumericLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return J.StringLiteral}}),t.NumberTypeAnnotation=P,t.StringTypeAnnotation=F,t.ThisTypeAnnotation=T,t.TupleTypeAnnotation=B,t.TypeofTypeAnnotation=I,t.TypeAlias=R,t.OpaqueType=N,t.TypeAnnotation=L,t.TypeParameter=j,t.TypeParameterInstantiation=W,t.ObjectTypeAnnotation=U,t.ObjectTypeCallProperty=z,t.ObjectTypeIndexer=V,t.ObjectTypeProperty=G,t.ObjectTypeSpreadProperty=H,t.QualifiedTypeIdentifier=Y,t.UnionTypeAnnotation=K,t.TypeCastExpression=X,t.VoidTypeAnnotation=$;var Q=n(1),Z=r(Q);t.ClassImplements=A,t.GenericTypeAnnotation=A,t.TypeParameterDeclaration=W},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){this.print(e.name,e),e.value&&(this.token("="),this.print(e.value,e))}function o(e){this.word(e.name)}function a(e){this.print(e.namespace,e),this.token(":"),this.print(e.name,e)}function s(e){this.print(e.object,e),this.token("."),this.print(e.property,e)}function u(e){this.token("{"),this.token("..."),this.print(e.argument,e),this.token("}")}function l(e){this.token("{"),this.print(e.expression,e),this.token("}")}function c(e){this.token("{"),this.token("..."),this.print(e.expression,e),this.token("}")}function f(e){this.token(e.value)}function p(e){var t=e.openingElement;if(this.print(t,e),!t.selfClosing){this.indent();for(var n=e.children,r=Array.isArray(n),i=0,n=r?n:(0,y.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;this.print(a,e)}this.dedent(),this.print(e.closingElement,e)}}function d(){this.space()}function h(e){this.token("<"),this.print(e.name,e),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,e,{separator:d})),e.selfClosing?(this.space(),this.token("/>")):this.token(">")}function m(e){this.token("")}function v(){}t.__esModule=!0;var g=n(2),y=r(g);t.JSXAttribute=i,t.JSXIdentifier=o,t.JSXNamespacedName=a,t.JSXMemberExpression=s,t.JSXSpreadAttribute=u,t.JSXExpressionContainer=l,t.JSXSpreadChild=c,t.JSXText=f,t.JSXElement=p,t.JSXOpeningElement=h,t.JSXClosingElement=m,t.JSXEmptyExpression=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){var t=this;this.print(e.typeParameters,e),this.token("("),this.printList(e.params,e,{iterator:function(e){e.optional&&t.token("?"),t.print(e.typeAnnotation,e)}}),this.token(")"),e.returnType&&this.print(e.returnType,e)}function o(e){var t=e.kind,n=e.key;"method"!==t&&"init"!==t||e.generator&&this.token("*"),"get"!==t&&"set"!==t||(this.word(t),this.space()),e.async&&(this.word("async"),this.space()),e.computed?(this.token("["),this.print(n,e),this.token("]")):this.print(n,e),this._params(e),this.space(),this.print(e.body,e)}function a(e){e.async&&(this.word("async"),this.space()),this.word("function"),e.generator&&this.token("*"),e.id?(this.space(),this.print(e.id,e)):this.space(),this._params(e),this.space(),this.print(e.body,e)}function s(e){e.async&&(this.word("async"),this.space());var t=e.params[0];1===e.params.length&&c.isIdentifier(t)&&!u(e,t)?this.print(t,e):this._params(e),this.space(),this.token("=>"),this.space(),this.print(e.body,e)}function u(e,t){return e.typeParameters||e.returnType||t.typeAnnotation||t.optional||t.trailingComments}t.__esModule=!0,t.FunctionDeclaration=void 0,t._params=i,t._method=o,t.FunctionExpression=a,t.ArrowFunctionExpression=s;var l=n(1),c=r(l);t.FunctionDeclaration=a},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function o(e){this.print(e.local,e)}function a(e){this.print(e.exported,e)}function s(e){this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function u(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}function l(e){this.word("export"),this.space(),this.token("*"),this.space(),this.word("from"),this.space(),this.print(e.source,e),this.semicolon()}function c(){this.word("export"),this.space(),p.apply(this,arguments)}function f(){this.word("export"),this.space(),this.word("default"),this.space(),p.apply(this,arguments)}function p(e){if(e.declaration){var t=e.declaration;this.print(t,e),v.isStatement(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var n=e.specifiers.slice(0),r=!1;;){var i=n[0];if(!v.isExportDefaultSpecifier(i)&&!v.isExportNamespaceSpecifier(i))break;r=!0,this.print(n.shift(),e),n.length&&(this.token(","),this.space())}(n.length||!n.length&&!r)&&(this.token("{"),n.length&&(this.space(),this.printList(n,e),this.space()),this.token("}")),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}}function d(e){this.word("import"),this.space(),"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space());var t=e.specifiers.slice(0);if(t&&t.length){for(;;){var n=t[0];if(!v.isImportDefaultSpecifier(n)&&!v.isImportNamespaceSpecifier(n))break;this.print(t.shift(),e),t.length&&(this.token(","),this.space())}t.length&&(this.token("{"),this.space(),this.printList(t,e),this.space(),this.token("}")),this.space(),this.word("from"),this.space()}this.print(e.source,e),this.semicolon()}function h(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.local,e)}t.__esModule=!0,t.ImportSpecifier=i,t.ImportDefaultSpecifier=o,t.ExportDefaultSpecifier=a,t.ExportSpecifier=s,t.ExportNamespaceSpecifier=u,t.ExportAllDeclaration=l,t.ExportNamedDeclaration=c,t.ExportDefaultDeclaration=f,t.ImportDeclaration=d,t.ImportNamespaceSpecifier=h; +var m=n(1),v=r(m)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){this.word("with"),this.space(),this.token("("),this.print(e.object,e),this.token(")"),this.printBlock(e)}function a(e){this.word("if"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.space();var t=e.alternate&&D.isIfStatement(s(e.consequent));t&&(this.token("{"),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.token("}")),e.alternate&&(this.endsWith("}")&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))}function s(e){return D.isStatement(e.body)?s(e.body):e}function u(e){this.word("for"),this.space(),this.token("("),this.inForStatementInitCounter++,this.print(e.init,e),this.inForStatementInitCounter--,this.token(";"),e.test&&(this.space(),this.print(e.test,e)),this.token(";"),e.update&&(this.space(),this.print(e.update,e)),this.token(")"),this.printBlock(e)}function l(e){this.word("while"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.printBlock(e)}function c(e){this.word("do"),this.space(),this.print(e.body,e),this.space(),this.word("while"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.semicolon()}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"label";return function(n){this.word(e);var r=n[t];if(r){this.space();var i=this.startTerminatorless();this.print(r,n),this.endTerminatorless(i)}this.semicolon()}}function p(e){this.print(e.label,e),this.token(":"),this.space(),this.print(e.body,e)}function d(e){this.word("try"),this.space(),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer,e))}function h(e){this.word("catch"),this.space(),this.token("("),this.print(e.param,e),this.token(")"),this.space(),this.print(e.body,e)}function m(e){this.word("switch"),this.space(),this.token("("),this.print(e.discriminant,e),this.token(")"),this.space(),this.token("{"),this.printSequence(e.cases,e,{indent:!0,addNewlines:function(t,n){if(!t&&e.cases[e.cases.length-1]===n)return-1}}),this.token("}")}function v(e){e.test?(this.word("case"),this.space(),this.print(e.test,e),this.token(":")):(this.word("default"),this.token(":")),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))}function g(){this.word("debugger"),this.semicolon()}function y(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var e=0;e<4;e++)this.space(!0)}function b(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var e=0;e<6;e++)this.space(!0)}function x(e,t){this.word(e.kind),this.space();var n=!1;if(!D.isFor(t))for(var r=e.declarations,i=Array.isArray(r),o=0,r=i?r:(0,C.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;s.init&&(n=!0)}var u=void 0;n&&(u="const"===e.kind?b:y),this.printList(e.declarations,e,{separator:u}),(!D.isFor(t)||t.left!==e&&t.init!==e)&&this.semicolon()}function E(e){this.print(e.id,e),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.token("="),this.space(),this.print(e.init,e))}t.__esModule=!0,t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForAwaitStatement=t.ForOfStatement=t.ForInStatement=void 0;var A=n(2),C=i(A);t.WithStatement=o,t.IfStatement=a,t.ForStatement=u,t.WhileStatement=l,t.DoWhileStatement=c,t.LabeledStatement=p,t.TryStatement=d,t.CatchClause=h,t.SwitchStatement=m,t.SwitchCase=v,t.DebuggerStatement=g,t.VariableDeclaration=x,t.VariableDeclarator=E;var S=n(1),D=r(S),w=function(e){return function(t){this.word("for"),this.space(),"await"===e&&(this.word("await"),this.space()),this.token("("),this.print(t.left,t),this.space(),this.word("await"===e?"of":e),this.space(),this.print(t.right,t),this.token(")"),this.printBlock(t)}};t.ForInStatement=w("in"),t.ForOfStatement=w("of"),t.ForAwaitStatement=w("await"),t.ContinueStatement=f("continue"),t.ReturnStatement=f("return","argument"),t.BreakStatement=f("break"),t.ThrowStatement=f("throw","argument")},function(e,t){"use strict";function n(e){this.print(e.tag,e),this.print(e.quasi,e)}function r(e,t){var n=t.quasis[0]===e,r=t.quasis[t.quasis.length-1]===e,i=(n?"`":"}")+e.value.raw+(r?"`":"${");this.token(i)}function i(e){for(var t=e.quasis,n=0;no)return!0}return!1}function l(e,t){return"in"===e.operator&&(x.isVariableDeclarator(t)||x.isFor(t))}function c(e,t){return!(x.isForStatement(t)||x.isThrowStatement(t)||x.isReturnStatement(t)||x.isIfStatement(t)&&t.test===e||x.isWhileStatement(t)&&t.test===e||x.isForInStatement(t)&&t.right===e||x.isSwitchStatement(t)&&t.discriminant===e||x.isExpressionStatement(t)&&t.expression===e)}function f(e,t){return x.isBinary(t)||x.isUnaryLike(t)||x.isCallExpression(t)||x.isMemberExpression(t)||x.isNewExpression(t)||x.isConditionalExpression(t)&&e===t.test}function p(e,t,n){return y(n,{considerDefaultExports:!0})}function d(e,t){return x.isMemberExpression(t,{object:e})||x.isCallExpression(t,{callee:e})||x.isNewExpression(t,{callee:e})}function h(e,t,n){return y(n,{considerDefaultExports:!0})}function m(e,t){return!!(x.isExportDeclaration(t)||x.isBinaryExpression(t)||x.isLogicalExpression(t)||x.isUnaryExpression(t)||x.isTaggedTemplateExpression(t))||d(e,t)}function v(e,t){return!!(x.isUnaryLike(t)||x.isBinary(t)||x.isConditionalExpression(t,{test:e})||x.isAwaitExpression(t))||d(e,t)}function g(e){return!!x.isObjectPattern(e.left)||v.apply(void 0,arguments)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.considerArrow,r=void 0!==n&&n,i=t.considerDefaultExports,o=void 0!==i&&i,a=e.length-1,s=e[a];a--;for(var u=e[a];a>0;){if(x.isExpressionStatement(u,{expression:s})||x.isTaggedTemplateExpression(u)||o&&x.isExportDefaultDeclaration(u,{declaration:s})||r&&x.isArrowFunctionExpression(u,{body:s}))return!0;if(!(x.isCallExpression(u,{callee:s})||x.isSequenceExpression(u)&&u.expressions[0]===s||x.isMemberExpression(u,{object:s})||x.isConditional(u,{test:s})||x.isBinary(u,{left:s})||x.isAssignmentExpression(u,{left:s})))return!1;s=u,a--,u=e[a]}return!1}t.__esModule=!0,t.AwaitExpression=t.FunctionTypeAnnotation=void 0,t.NullableTypeAnnotation=i,t.UpdateExpression=o,t.ObjectExpression=a,t.DoExpression=s,t.Binary=u,t.BinaryExpression=l,t.SequenceExpression=c,t.YieldExpression=f,t.ClassExpression=p,t.UnaryLike=d,t.FunctionExpression=h,t.ArrowFunctionExpression=m,t.ConditionalExpression=v,t.AssignmentExpression=g;var b=n(1),x=r(b),E={"||":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};t.FunctionTypeAnnotation=i,t.AwaitExpression=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.isMemberExpression(e)?(o(e.object,t),e.computed&&o(e.property,t)):f.isBinary(e)||f.isAssignmentExpression(e)?(o(e.left,t),o(e.right,t)):f.isCallExpression(e)?(t.hasCall=!0,o(e.callee,t)):f.isFunction(e)?t.hasFunction=!0:f.isIdentifier(e)&&(t.hasHelper=t.hasHelper||a(e.callee)),t}function a(e){return f.isMemberExpression(e)?a(e.object)||a(e.property):f.isIdentifier(e)?"require"===e.name||"_"===e.name[0]:f.isCallExpression(e)?a(e.callee):!(!f.isBinary(e)&&!f.isAssignmentExpression(e))&&(f.isIdentifier(e.left)&&a(e.left)||a(e.right))}function s(e){return f.isLiteral(e)||f.isObjectExpression(e)||f.isArrayExpression(e)||f.isIdentifier(e)||f.isMemberExpression(e)}var u=n(588),l=i(u),c=n(1),f=r(c);t.nodes={AssignmentExpression:function(e){var t=o(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return{before:t.hasFunction,after:!0}},SwitchCase:function(e,t){return{before:e.consequent.length||t.cases[0]===e}},LogicalExpression:function(e){if(f.isFunction(e.left)||f.isFunction(e.right))return{after:!0}},Literal:function(e){if("use strict"===e.value)return{after:!0}},CallExpression:function(e){if(f.isFunction(e.callee)||a(e))return{before:!0,after:!0}},VariableDeclaration:function(e){for(var t=0;t0?new O.default(r):null}return e.prototype.generate=function(e){return this.print(e),this._maybeAddAuxComment(),this._buf.get()},e.prototype.indent=function(){this.format.compact||this.format.concise||this._indent++},e.prototype.dedent=function(){this.format.compact||this.format.concise||this._indent--},e.prototype.semicolon=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._maybeAddAuxComment(),this._append(";",!e)},e.prototype.rightBrace=function(){this.format.minified&&this._buf.removeLastSemicolon(),this.token("}")},e.prototype.space=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.format.compact||(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e)&&this._space()},e.prototype.word=function(e){this._endsWithWord&&this._space(),this._maybeAddAuxComment(),this._append(e),this._endsWithWord=!0},e.prototype.number=function(e){this.word(e),this._endsWithInteger=(0,E.default)(+e)&&!B.test(e)&&!F.test(e)&&!T.test(e)&&"."!==e[e.length-1]},e.prototype.token=function(e){("--"===e&&this.endsWith("!")||"+"===e[0]&&this.endsWith("+")||"-"===e[0]&&this.endsWith("-")||"."===e[0]&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e)},e.prototype.newline=function(e){if(!this.format.retainLines&&!this.format.compact){if(this.format.concise)return void this.space();if(!(this.endsWith("\n\n")||("number"!=typeof e&&(e=1),e=Math.min(2,e),(this.endsWith("{\n")||this.endsWith(":\n"))&&e--,e<=0)))for(var t=0;t1&&void 0!==arguments[1]&&arguments[1];this._maybeAddParen(e),this._maybeIndent(e),t?this._buf.queue(e):this._buf.append(e),this._endsWithWord=!1,this._endsWithInteger=!1},e.prototype._maybeIndent=function(e){this._indent&&this.endsWith("\n")&&"\n"!==e[0]&&this._buf.queue(this._getIndent())},e.prototype._maybeAddParen=function(e){var t=this._parenPushNewlineState;if(t){this._parenPushNewlineState=null;var n=void 0;for(n=0;n2&&void 0!==arguments[2]?arguments[2]:{};if(e&&e.length){n.indent&&this.indent();for(var r={addNewlines:n.addNewlines},i=0;i1&&void 0!==arguments[1])||arguments[1];e.innerComments&&(t&&this.indent(),this._printComments(e.innerComments),t&&this.dedent())},e.prototype.printSequence=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.statement=!0,this.printJoin(e,t,n)},e.prototype.printList=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null==n.separator&&(n.separator=o),this.printJoin(e,t,n)},e.prototype._printNewline=function(e,t,n,r){var i=this;if(!this.format.retainLines&&!this.format.compact){if(this.format.concise)return void this.space();var o=0;if(null!=t.start&&!t._ignoreUserWhitespace&&this._whitespace)if(e){var a=t.leadingComments,s=a&&(0,g.default)(a,function(e){return!!e.loc&&i.format.shouldPrintComment(e.value)});o=this._whitespace.getNewlinesBefore(s||t)}else{var u=t.trailingComments,l=u&&(0,b.default)(u,function(e){return!!e.loc&&i.format.shouldPrintComment(e.value)});o=this._whitespace.getNewlinesAfter(l||t)}else{e||o++,r.addNewlines&&(o+=r.addNewlines(e,t)||0);var c=_.needsWhitespaceAfter;e&&(c=_.needsWhitespaceBefore),c(t,n)&&o++,this._buf.hasContent()||(o=0)}this.newline(o)}},e.prototype._getComments=function(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]},e.prototype._printComment=function(e){var t=this;if(this.format.shouldPrintComment(e.value)&&!e.ignore&&!this._printedComments.has(e)){if(this._printedComments.add(e),null!=e.start){if(this._printedCommentStarts[e.start])return;this._printedCommentStarts[e.start]=!0}this.newline(this._whitespace?this._whitespace.getNewlinesBefore(e):0),this.endsWith("[")||this.endsWith("{")||this.space();var n="CommentLine"===e.type?"//"+e.value+"\n":"/*"+e.value+"*/";if("CommentBlock"===e.type&&this.format.indent.adjustMultilineComment){var r=e.loc&&e.loc.start.column;if(r){var i=new RegExp("\\n\\s{1,"+r+"}","g");n=n.replace(i,"\n")}var o=Math.max(this._getIndent().length,this._buf.getCurrentColumn());n=n.replace(/\n(?!$)/g,"\n"+(0,C.default)(" ",o))}this.withSource("start",e.loc,function(){t._append(n)}),this.newline((this._whitespace?this._whitespace.getNewlinesAfter(e):0)+("CommentLine"===e.type?-1:0))}},e.prototype._printComments=function(e){if(e&&e.length)for(var t=e,n=Array.isArray(t),r=0,t=n?t:(0,l.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;this._printComment(o)}},e}();t.default=I;for(var R=[n(309),n(303),n(308),n(302),n(306),n(307),n(123),n(304),n(301),n(305)],N=0;N=0){for(;i&&e.start===r[i-1].start;)--i;t=r[i-1],n=r[i]}return this._getNewlinesBetween(t,n)},e.prototype.getNewlinesAfter=function(e){var t=void 0,n=void 0,r=this.tokens,i=this._findToken(function(t){return t.end-e.end},0,r.length);if(i>=0){for(;i&&e.end===r[i-1].end;)--i;t=r[i],n=r[i+1],","===n.type.label&&(n=r[i+2])}return n&&"eof"===n.type.label?1:this._getNewlinesBetween(t,n)},e.prototype._getNewlinesBetween=function(e,t){if(!t||!t.loc)return 0;for(var n=e?e.loc.end.line:1,r=t.loc.start.line,i=0,o=n;o=n)return-1;var r=t+n>>>1,i=e(this.tokens[r]);return i<0?this._findToken(e,r+1,n):i>0?this._findToken(e,t,r):0===i?r:-1},e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=e,n=Array.isArray(t),r=0,t=n?t:(0,s.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=o.node,u=a.expression;if(l.isMemberExpression(u)){var c=o.scope.maybeGenerateMemoised(u.object),f=void 0,p=[];c?(f=c,p.push(l.assignmentExpression("=",c,u.object))):f=u.object,p.push(l.callExpression(l.memberExpression(l.memberExpression(f,u.property,u.computed),l.identifier("bind")),[f])),1===p.length?a.expression=p[0]:a.expression=l.sequenceExpression(p)}}}t.__esModule=!0;var a=n(2),s=i(a);t.default=o;var u=n(1),l=r(u);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){function t(t){return t&&t.operator===e.operator+"="}function n(e,t){return u.assignmentExpression("=",e,t)}var r={};return r.ExpressionStatement=function(r,i){if(!r.isCompletionRecord()){var o=r.node.expression;if(t(o)){var s=[],l=(0,a.default)(o.left,s,i,r.scope,!0);s.push(u.expressionStatement(n(l.ref,e.build(l.uid,o.right)))),r.replaceWithMultiple(s)}}},r.AssignmentExpression=function(r,i){var o=r.node,s=r.scope;if(t(o)){var u=[],l=(0,a.default)(o.left,u,i,s);u.push(n(l.ref,e.build(l.uid,o.right))),r.replaceWithMultiple(u)}},r.BinaryExpression=function(t){var n=t.node;n.operator===e.operator&&t.replaceWith(e.build(n.left,n.right))},r};var o=n(318),a=i(o),s=n(1),u=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.scope,n=e.node,r=u.functionExpression(null,[],n.body,n.generator,n.async),i=r,o=[];(0,a.default)(e,function(e){return t.push({id:e})});var s={foundThis:!1,foundArguments:!1};e.traverse(l,s),s.foundArguments&&(i=u.memberExpression(r,u.identifier("apply")),o=[],s.foundThis&&o.push(u.thisExpression()),s.foundArguments&&(s.foundThis||o.push(u.nullLiteral()),o.push(u.identifier("arguments"))));var c=u.callExpression(i,o);return n.generator&&(c=u.yieldExpression(c,!0)),u.returnStatement(c)};var o=n(190),a=i(o),s=n(1),u=r(s),l={enter:function(e,t){e.isThisExpression()&&(t.foundThis=!0),e.isReferencedIdentifier({name:"arguments"})&&(t.foundArguments=!0)},Function:function(e){e.skip()}};e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t,n,r){var i=void 0;if(s.isSuper(e))return e;if(s.isIdentifier(e)){if(r.hasBinding(e.name))return e;i=e}else{if(!s.isMemberExpression(e))throw new Error("We can't explode this node type "+e.type);if(i=e.object,s.isSuper(i)||s.isIdentifier(i)&&r.hasBinding(i.name))return i}var o=r.generateUidIdentifierBasedOnNode(i);return t.push(s.variableDeclaration("var",[s.variableDeclarator(o,i)])),o}function o(e,t,n,r){var i=e.property,o=s.toComputedKey(e,i);if(s.isLiteral(o)&&s.isPureish(o))return o;var a=r.generateUidIdentifierBasedOnNode(i);return t.push(s.variableDeclaration("var",[s.variableDeclarator(a,i)])),a}t.__esModule=!0,t.default=function(e,t,n,r,a){var u=void 0;u=s.isIdentifier(e)&&a?e:i(e,t,n,r);var l=void 0,c=void 0;if(s.isIdentifier(e))l=e,c=u;else{var f=o(e,t,n,r),p=e.computed||s.isLiteral(f);c=l=s.memberExpression(u,f,p)}return{uid:c,ref:l}};var a=n(1),s=r(a);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o);t.default=function(e){function t(t){if(t.node&&!t.isPure()){var n=e.scope.generateDeclaredUidIdentifier();r.push(c.assignmentExpression("=",n,t.node)),t.replaceWith(n)}}function n(e){if(Array.isArray(e)&&e.length){e=e.reverse(),(0,u.default)(e);for(var n=e,r=Array.isArray(n),i=0,n=r?n:(0,a.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;t(s)}}}e.assertClass();var r=[];t(e.get("superClass")),n(e.get("decorators"),!0);for(var i=e.get("body.body"),o=i,s=Array.isArray(o),l=0,o=s?o:(0,a.default)(o);;){var f;if(s){if(l>=o.length)break;f=o[l++]}else{if(l=o.next(),l.done)break;f=l.value}var p=f;p.is("computed")&&t(p.get("key")),p.has("decorators")&&n(e.get("decorators"))}r&&e.insertBefore(r.map(function(e){return c.expressionStatement(e)}))};var s=n(315),u=i(s),l=n(1),c=r(l);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.default=function(e,t){var n=e.node,r=e.scope,i=e.parent,o=r.generateUidIdentifier("step"),s=r.generateUidIdentifier("value"),u=n.left,l=void 0;a.isIdentifier(u)||a.isPattern(u)||a.isMemberExpression(u)?l=a.expressionStatement(a.assignmentExpression("=",u,s)):a.isVariableDeclaration(u)&&(l=a.variableDeclaration(u.kind,[a.variableDeclarator(u.declarations[0].id,s)]));var d=f();(0,c.default)(d,p,null,{ITERATOR_HAD_ERROR_KEY:r.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:r.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:r.generateUidIdentifier("iteratorError"),ITERATOR_KEY:r.generateUidIdentifier("iterator"),GET_ITERATOR:t.getAsyncIterator,OBJECT:n.right,STEP_VALUE:s,STEP_KEY:o,AWAIT:t.wrapAwait}),d=d.body.body;var h=a.isLabeledStatement(i),m=d[3].block.body,v=m[0];return h&&(m[0]=a.labeledStatement(i.label,v)),{replaceParent:h,node:d,declar:l,loop:v}};var o=n(1),a=i(o),s=n(4),u=r(s),l=n(7),c=r(l),f=(0,u.default)("\n function* wrapper() {\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY, STEP_VALUE;\n (\n STEP_KEY = yield AWAIT(ITERATOR_KEY.next()),\n ITERATOR_COMPLETION = STEP_KEY.done,\n STEP_VALUE = yield AWAIT(STEP_KEY.value),\n !ITERATOR_COMPLETION\n );\n ITERATOR_COMPLETION = true) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return) {\n yield AWAIT(ITERATOR_KEY.return());\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n"),p={noScope:!0,Identifier:function(e,t){e.node.name in t&&e.replaceInline(t[e.node.name])},CallExpression:function(e,t){var n=e.node.callee;a.isIdentifier(n)&&"AWAIT"===n.name&&!t.AWAIT&&e.replaceWith(e.node.arguments[0])}};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(4),o=r(i),a={};t.default=a,a.typeof=(0,o.default)('\n (typeof Symbol === "function" && typeof Symbol.iterator === "symbol")\n ? function (obj) { return typeof obj; }\n : function (obj) {\n return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n'),a.jsx=(0,o.default)('\n (function () {\n var REACT_ELEMENT_TYPE = (typeof Symbol === "function" && Symbol.for && Symbol.for("react.element")) || 0xeac7;\n\n return function createRawReactElement (type, props, key, children) {\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n\n if (!props && childrenLength !== 0) {\n // If we\'re going to assign props.children, we create a new object now\n // to avoid mutating defaultProps.\n props = {};\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : \'\' + key,\n ref: null,\n props: props,\n _owner: null,\n };\n };\n\n })()\n'),a.asyncIterator=(0,o.default)('\n (function (iterable) {\n if (typeof Symbol === "function") {\n if (Symbol.asyncIterator) {\n var method = iterable[Symbol.asyncIterator];\n if (method != null) return method.call(iterable);\n }\n if (Symbol.iterator) {\n return iterable[Symbol.iterator]();\n }\n }\n throw new TypeError("Object is not async iterable");\n })\n'),a.asyncGenerator=(0,o.default)('\n (function () {\n function AwaitValue(value) {\n this.value = value;\n }\n\n function AsyncGenerator(gen) {\n var front, back;\n\n function send(key, arg) {\n return new Promise(function (resolve, reject) {\n var request = {\n key: key,\n arg: arg,\n resolve: resolve,\n reject: reject,\n next: null\n };\n\n if (back) {\n back = back.next = request;\n } else {\n front = back = request;\n resume(key, arg);\n }\n });\n }\n\n function resume(key, arg) {\n try {\n var result = gen[key](arg)\n var value = result.value;\n if (value instanceof AwaitValue) {\n Promise.resolve(value.value).then(\n function (arg) { resume("next", arg); },\n function (arg) { resume("throw", arg); });\n } else {\n settle(result.done ? "return" : "normal", result.value);\n }\n } catch (err) {\n settle("throw", err);\n }\n }\n\n function settle(type, value) {\n switch (type) {\n case "return":\n front.resolve({ value: value, done: true });\n break;\n case "throw":\n front.reject(value);\n break;\n default:\n front.resolve({ value: value, done: false });\n break;\n }\n\n front = front.next;\n if (front) {\n resume(front.key, front.arg);\n } else {\n back = null;\n }\n }\n\n this._invoke = send;\n\n // Hide "return" method if generator return is not supported\n if (typeof gen.return !== "function") {\n this.return = undefined;\n }\n }\n\n if (typeof Symbol === "function" && Symbol.asyncIterator) {\n AsyncGenerator.prototype[Symbol.asyncIterator] = function () { return this; };\n }\n\n AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };\n AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };\n AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };\n\n return {\n wrap: function (fn) {\n return function () {\n return new AsyncGenerator(fn.apply(this, arguments));\n };\n },\n await: function (value) {\n return new AwaitValue(value);\n }\n };\n\n })()\n'), +a.asyncGeneratorDelegate=(0,o.default)('\n (function (inner, awaitWrap) {\n var iter = {}, waiting = false;\n\n function pump(key, value) {\n waiting = true;\n value = new Promise(function (resolve) { resolve(inner[key](value)); });\n return { done: false, value: awaitWrap(value) };\n };\n\n if (typeof Symbol === "function" && Symbol.iterator) {\n iter[Symbol.iterator] = function () { return this; };\n }\n\n iter.next = function (value) {\n if (waiting) {\n waiting = false;\n return value;\n }\n return pump("next", value);\n };\n\n if (typeof inner.throw === "function") {\n iter.throw = function (value) {\n if (waiting) {\n waiting = false;\n throw value;\n }\n return pump("throw", value);\n };\n }\n\n if (typeof inner.return === "function") {\n iter.return = function (value) {\n return pump("return", value);\n };\n }\n\n return iter;\n })\n'),a.asyncToGenerator=(0,o.default)('\n (function (fn) {\n return function () {\n var gen = fn.apply(this, arguments);\n return new Promise(function (resolve, reject) {\n function step(key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n return Promise.resolve(value).then(function (value) {\n step("next", value);\n }, function (err) {\n step("throw", err);\n });\n }\n }\n\n return step("next");\n });\n };\n })\n'),a.classCallCheck=(0,o.default)('\n (function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError("Cannot call a class as a function");\n }\n });\n'),a.createClass=(0,o.default)('\n (function() {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i ++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ("value" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n })()\n'),a.defineEnumerableProperties=(0,o.default)('\n (function (obj, descs) {\n for (var key in descs) {\n var desc = descs[key];\n desc.configurable = desc.enumerable = true;\n if ("value" in desc) desc.writable = true;\n Object.defineProperty(obj, key, desc);\n }\n return obj;\n })\n'),a.defaults=(0,o.default)("\n (function (obj, defaults) {\n var keys = Object.getOwnPropertyNames(defaults);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = Object.getOwnPropertyDescriptor(defaults, key);\n if (value && value.configurable && obj[key] === undefined) {\n Object.defineProperty(obj, key, value);\n }\n }\n return obj;\n })\n"),a.defineProperty=(0,o.default)("\n (function (obj, key, value) {\n // Shortcircuit the slow defineProperty path when possible.\n // We are trying to avoid issues where setters defined on the\n // prototype cause side effects under the fast path of simple\n // assignment. By checking for existence of the property with\n // the in operator, we can optimize most of this overhead away.\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n });\n"),a.extends=(0,o.default)("\n Object.assign || (function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n })\n"),a.get=(0,o.default)('\n (function get(object, property, receiver) {\n if (object === null) object = Function.prototype;\n\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent === null) {\n return undefined;\n } else {\n return get(parent, property, receiver);\n }\n } else if ("value" in desc) {\n return desc.value;\n } else {\n var getter = desc.get;\n\n if (getter === undefined) {\n return undefined;\n }\n\n return getter.call(receiver);\n }\n });\n'),a.inherits=(0,o.default)('\n (function (subClass, superClass) {\n if (typeof superClass !== "function" && superClass !== null) {\n throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n })\n'),a.instanceof=(0,o.default)('\n (function (left, right) {\n if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {\n return right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n });\n'),a.interopRequireDefault=(0,o.default)("\n (function (obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n })\n"),a.interopRequireWildcard=(0,o.default)("\n (function (obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n })\n"),a.newArrowCheck=(0,o.default)('\n (function (innerThis, boundThis) {\n if (innerThis !== boundThis) {\n throw new TypeError("Cannot instantiate an arrow function");\n }\n });\n'),a.objectDestructuringEmpty=(0,o.default)('\n (function (obj) {\n if (obj == null) throw new TypeError("Cannot destructure undefined");\n });\n'),a.objectWithoutProperties=(0,o.default)("\n (function (obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n })\n"),a.possibleConstructorReturn=(0,o.default)('\n (function (self, call) {\n if (!self) {\n throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");\n }\n return call && (typeof call === "object" || typeof call === "function") ? call : self;\n });\n'),a.selfGlobal=(0,o.default)('\n typeof global === "undefined" ? self : global\n'),a.set=(0,o.default)('\n (function set(object, property, value, receiver) {\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent !== null) {\n set(parent, property, value, receiver);\n }\n } else if ("value" in desc && desc.writable) {\n desc.value = value;\n } else {\n var setter = desc.set;\n\n if (setter !== undefined) {\n setter.call(receiver, value);\n }\n }\n\n return value;\n });\n'),a.slicedToArray=(0,o.default)('\n (function () {\n // Broken out into a separate function to avoid deoptimizations due to the try/catch for the\n // array iterator case.\n function sliceIterator(arr, i) {\n // this is an expanded form of `for...of` that properly supports abrupt completions of\n // iterators etc. variable names have been minimised to reduce the size of this massive\n // helper. sometimes spec compliancy is annoying :(\n //\n // _n = _iteratorNormalCompletion\n // _d = _didIteratorError\n // _e = _iteratorError\n // _i = _iterator\n // _s = _step\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i["return"]) _i["return"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n };\n })();\n'),a.slicedToArrayLoose=(0,o.default)('\n (function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n var _arr = [];\n for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n _arr.push(_step.value);\n if (i && _arr.length === i) break;\n }\n return _arr;\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n });\n'),a.taggedTemplateLiteral=(0,o.default)("\n (function (strings, raw) {\n return Object.freeze(Object.defineProperties(strings, {\n raw: { value: Object.freeze(raw) }\n }));\n });\n"),a.taggedTemplateLiteralLoose=(0,o.default)("\n (function (strings, raw) {\n strings.raw = raw;\n return strings;\n });\n"),a.temporalRef=(0,o.default)('\n (function (val, name, undef) {\n if (val === undef) {\n throw new ReferenceError(name + " is not defined - temporal dead zone");\n } else {\n return val;\n }\n })\n'),a.temporalUndefined=(0,o.default)("\n ({})\n"),a.toArray=(0,o.default)("\n (function (arr) {\n return Array.isArray(arr) ? arr : Array.from(arr);\n });\n"),a.toConsumableArray=(0,o.default)("\n (function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n return arr2;\n } else {\n return Array.from(arr);\n }\n });\n"),e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{pre:function(e){e.set("helpersNamespace",t.identifier("babelHelpers"))}}},e.exports=t.default},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(89);e.exports=function(e){var t=e.types,n={};return{visitor:{Identifier:function(e,o){if("MemberExpression"!==e.parent.type&&"ClassMethod"!==e.parent.type&&!e.isPure()&&o.opts.hasOwnProperty(e.node.name)){var a=o.opts[e.node.name];void 0!==a&&null!==a||(a=t.identifier(String(a)));var s="undefined"==typeof a?"undefined":r(a);"string"===s||"boolean"===s?a={type:s,replacement:a}:t.isNode(a)?a={type:"node",replacement:a}:"object"===s&&"node"===a.type&&"string"==typeof a.replacement&&(a.replacement=n[a.replacement]?n[a.replacement]:i.parseExpression(a.replacement));var u=a.replacement;switch(a.type){case"boolean":e.replaceWith(t.booleanLiteral(u));break;case"node":t.isNode(u)&&e.replaceWith(u);break;default:var l=String(u);e.replaceWith(t.stringLiteral(l))}}}}}}},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("dynamicImport")}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("functionSent")}}},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){return{inherits:n(67)}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=e.types,r={Function:function(e){e.skip()},YieldExpression:function(e,n){var r=e.node;if(r.delegate){var i=n.addHelper("asyncGeneratorDelegate");r.argument=t.callExpression(i,[t.callExpression(n.addHelper("asyncIterator"),[r.argument]),t.memberExpression(n.addHelper("asyncGenerator"),t.identifier("await"))])}}};return{inherits:n(195),visitor:{Function:function(e,n){e.node.async&&e.node.generator&&(e.traverse(r,n),(0,o.default)(e,n.file,{wrapAsync:t.memberExpression(n.addHelper("asyncGenerator"),t.identifier("wrap")),wrapAwait:t.memberExpression(n.addHelper("asyncGenerator"),t.identifier("await"))}))}}}};var i=n(124),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(){return{inherits:n(67),visitor:{Function:function(e,t){e.node.async&&!e.node.generator&&(0,o.default)(e,t.file,{wrapAsync:t.addImport(t.opts.module,t.opts.method)})}}}};var i=n(124),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e,t){if(!t.applyDecoratedDescriptor){t.applyDecoratedDescriptor=e.scope.generateUidIdentifier("applyDecoratedDescriptor");var n=p({NAME:t.applyDecoratedDescriptor});e.scope.getProgramParent().path.unshiftContainer("body",n)}return t.applyDecoratedDescriptor}function r(e,t){if(!t.initializerDefineProp){t.initializerDefineProp=e.scope.generateUidIdentifier("initDefineProp");var n=f({NAME:t.initializerDefineProp});e.scope.getProgramParent().path.unshiftContainer("body",n)}return t.initializerDefineProp}function i(e,t){if(!t.initializerWarningHelper){t.initializerWarningHelper=e.scope.generateUidIdentifier("initializerWarningHelper");var n=c({NAME:t.initializerWarningHelper});e.scope.getProgramParent().path.unshiftContainer("body",n)}return t.initializerWarningHelper}function o(e){var t=(e.isClass()?[e].concat(e.get("body.body")):e.get("properties")).reduce(function(e,t){return e.concat(t.node.decorators||[])},[]),n=t.filter(function(e){return!g.isIdentifier(e.expression)});if(0!==n.length)return g.sequenceExpression(n.map(function(t){var n=t.expression,r=t.expression=e.scope.generateDeclaredUidIdentifier("dec");return g.assignmentExpression("=",r,n)}).concat([e.node]))}function d(e,t){var n=e.node.decorators||[];if(e.node.decorators=null,0!==n.length){var r=e.scope.generateDeclaredUidIdentifier("class");return n.map(function(e){return e.expression}).reverse().reduce(function(e,t){return a({CLASS_REF:r,DECORATOR:t,INNER:e}).expression},e.node)}}function h(e,t){var n=e.node.body.body.some(function(e){return(e.decorators||[]).length>0});if(n)return v(e,t,e.node.body.body)}function m(e,t){var n=e.node.properties.some(function(e){return(e.decorators||[]).length>0});if(n)return v(e,t,e.node.properties)}function v(e,n,r){var o=(e.scope.generateDeclaredUidIdentifier("desc"),e.scope.generateDeclaredUidIdentifier("value"),e.scope.generateDeclaredUidIdentifier(e.isClass()?"class":"obj")),a=r.reduce(function(r,a){var c=a.decorators||[];if(a.decorators=null,0===c.length)return r;if(a.computed)throw e.buildCodeFrameError("Computed method/property decorators are not yet supported.");var f=g.isLiteral(a.key)?a.key:g.stringLiteral(a.key.name),p=e.isClass()&&!a.static?s({CLASS_REF:o}).expression:o;if(g.isClassProperty(a,{static:!1})){var d=e.scope.generateDeclaredUidIdentifier("descriptor"),h=a.value?g.functionExpression(null,[],g.blockStatement([g.returnStatement(a.value)])):g.nullLiteral();a.value=g.callExpression(i(e,n),[d,g.thisExpression()]),r=r.concat([g.assignmentExpression("=",d,g.callExpression(t(e,n),[p,f,g.arrayExpression(c.map(function(e){return e.expression})),g.objectExpression([g.objectProperty(g.identifier("enumerable"),g.booleanLiteral(!0)),g.objectProperty(g.identifier("initializer"),h)])]))])}else r=r.concat(g.callExpression(t(e,n),[p,f,g.arrayExpression(c.map(function(e){return e.expression})),g.isObjectProperty(a)||g.isClassProperty(a,{static:!0})?l({TEMP:e.scope.generateDeclaredUidIdentifier("init"),TARGET:p,PROPERTY:f}).expression:u({TARGET:p,PROPERTY:f}).expression,p]));return r},[]);return g.sequenceExpression([g.assignmentExpression("=",o,e.node),g.sequenceExpression(a),o])}var g=e.types;return{inherits:n(125),visitor:{ExportDefaultDeclaration:function(e){if(e.get("declaration").isClassDeclaration()){var t=e.node,n=t.declaration.id||e.scope.generateUidIdentifier("default");t.declaration.id=n,e.replaceWith(t.declaration),e.insertAfter(g.exportNamedDeclaration(null,[g.exportSpecifier(n,g.identifier("default"))]))}},ClassDeclaration:function(e){var t=e.node,n=t.id||e.scope.generateUidIdentifier("class");e.replaceWith(g.variableDeclaration("let",[g.variableDeclarator(n,g.toExpression(t))]))},ClassExpression:function(e,t){var n=o(e)||d(e,t)||h(e,t);n&&e.replaceWith(n)},ObjectExpression:function(e,t){var n=o(e)||m(e,t);n&&e.replaceWith(n)},AssignmentExpression:function(e,t){t.initializerWarningHelper&&e.get("left").isMemberExpression()&&e.get("left.property").isIdentifier()&&e.get("right").isCallExpression()&&e.get("right.callee").isIdentifier({name:t.initializerWarningHelper.name})&&e.replaceWith(g.callExpression(r(e,t),[e.get("left.object").node,g.stringLiteral(e.get("left.property").node.name),e.get("right.arguments")[0].node,e.get("right.arguments")[1].node]))}}}};var i=n(4),o=r(i),a=(0,o.default)("\n DECORATOR(CLASS_REF = INNER) || CLASS_REF;\n"),s=(0,o.default)("\n CLASS_REF.prototype;\n"),u=(0,o.default)("\n Object.getOwnPropertyDescriptor(TARGET, PROPERTY);\n"),l=(0,o.default)("\n (TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {\n enumerable: true,\n configurable: true,\n writable: true,\n initializer: function(){\n return TEMP;\n }\n })\n"),c=(0,o.default)("\n function NAME(descriptor, context){\n throw new Error('Decorating class property failed. Please ensure that transform-class-properties is enabled.');\n }\n"),f=(0,o.default)("\n function NAME(target, property, descriptor, context){\n if (!descriptor) return;\n\n Object.defineProperty(target, property, {\n enumerable: descriptor.enumerable,\n configurable: descriptor.configurable,\n writable: descriptor.writable,\n value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,\n });\n }\n"),p=(0,o.default)("\n function NAME(target, property, decorators, descriptor, context){\n var desc = {};\n Object['ke' + 'ys'](descriptor).forEach(function(key){\n desc[key] = descriptor[key];\n });\n desc.enumerable = !!desc.enumerable;\n desc.configurable = !!desc.configurable;\n if ('value' in desc || desc.initializer){\n desc.writable = true;\n }\n\n desc = decorators.slice().reverse().reduce(function(desc, decorator){\n return decorator(target, property, desc) || desc;\n }, desc);\n\n if (context && desc.initializer !== void 0){\n desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n desc.initializer = undefined;\n }\n\n if (desc.initializer === void 0){\n // This is a hack to avoid this being processed by 'transform-runtime'.\n // See issue #9.\n Object['define' + 'Property'](target, property, desc);\n desc = null;\n }\n\n return desc;\n }\n")},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){var n=t._guessExecutionStatusRelativeTo(e);return"before"===n?"inside":"after"===n?"outside":"maybe"}function o(e,t){return u.callExpression(t.addHelper("temporalRef"),[e,u.stringLiteral(e.name),t.addHelper("temporalUndefined")])}function a(e,t,n){var r=n.letReferences[e.name];return!!r&&t.getBindingIdentifier(e.name)===r}t.__esModule=!0,t.visitor=void 0;var s=n(1),u=r(s);t.visitor={ReferencedIdentifier:function(e,t){if(this.file.opts.tdz){var n=e.node,r=e.parent,s=e.scope;if(!e.parentPath.isFor({left:n})&&a(n,s,t)){var l=s.getBinding(n.name).path,c=i(e,l);if("inside"!==c)if("maybe"===c){var f=o(n,t.file);if(l.parent._tdzThis=!0,e.skip(),e.parentPath.isUpdateExpression()){if(r._ignoreBlockScopingTDZ)return;e.parentPath.replaceWith(u.sequenceExpression([f,r]))}else e.replaceWith(f)}else"outside"===c&&e.replaceWith(u.throwStatement(u.inherits(u.newExpression(u.identifier("ReferenceError"),[u.stringLiteral(n.name+" is not defined - temporal dead zone")]),n)))}}},AssignmentExpression:{exit:function(e,t){if(this.file.opts.tdz){var n=e.node;if(!n._ignoreBlockScopingTDZ){var r=[],i=e.getBindingIdentifiers();for(var s in i){var l=i[s];a(l,e.scope,t)&&r.push(o(l,t.file))}r.length&&(n._ignoreBlockScopingTDZ=!0,r.push(n),e.replaceWithMultiple(r.map(u.expressionStatement)))}}}}}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(3),a=i(o),s=n(42),u=i(s),l=n(41),c=i(l),f=n(40),p=i(f),d=n(207),h=i(d),m=n(1),v=r(m),g=function(e){function t(){(0,a.default)(this,t);var n=(0,u.default)(this,e.apply(this,arguments));return n.isLoose=!0,n}return(0,c.default)(t,e),t.prototype._processMethod=function(e,t){if(!e.decorators){var n=this.classRef;e.static||(n=v.memberExpression(n,v.identifier("prototype")));var r=v.memberExpression(n,e.key,e.computed||v.isLiteral(e.key)),i=v.functionExpression(null,e.params,e.body,e.generator,e.async);i.returnType=e.returnType;var o=v.toComputedKey(e,e.key);v.isStringLiteral(o)&&(i=(0,p.default)({node:i,id:o,scope:t}));var a=v.expressionStatement(v.assignmentExpression("=",r,i));return v.inheritsComments(a,e),this.body.push(a),!0}},t}(h.default);t.default=g,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{BinaryExpression:function(e){var n=e.node;"instanceof"===n.operator&&e.replaceWith(t.callExpression(this.addHelper("instanceof"),[n.left,n.right]))}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=e.params,n=Array.isArray(t),r=0,t=n?t:(0,u.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(!v.isIdentifier(o))return!0}return!1}function a(e,t){if(!e.hasOwnBinding(t.name))return!0;var n=e.getOwnBinding(t.name),r=n.kind;return"param"===r||"local"===r}t.__esModule=!0,t.visitor=void 0;var s=n(2),u=i(s),l=n(189),c=i(l),f=n(317),p=i(f),d=n(4),h=i(d),m=n(1),v=r(m),g=(0,h.default)("\n let VARIABLE_NAME =\n ARGUMENTS.length > ARGUMENT_KEY && ARGUMENTS[ARGUMENT_KEY] !== undefined ?\n ARGUMENTS[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n"),y=(0,h.default)("\n let $0 = $1[$2];\n"),b={ReferencedIdentifier:function(e,t){var n=e.scope,r=e.node;"eval"!==r.name&&a(n,r)||(t.iife=!0,e.stop())},Scope:function(e){e.skip()}};t.visitor={Function:function(e){function t(e,t,r){var i=g({VARIABLE_NAME:e,DEFAULT_VALUE:t,ARGUMENT_KEY:v.numericLiteral(r),ARGUMENTS:u});i._blockHoist=n.params.length-r,s.push(i)}var n=e.node,r=e.scope;if(o(n)){e.ensureBlock();var i={iife:!1,scope:r},s=[],u=v.identifier("arguments");u._shadowedFunctionLiteral=e;for(var l=(0,c.default)(n),f=e.get("params"),d=0;d=l||m.isPattern()){var E=r.generateUidIdentifier("x");E._isDefaultPlaceholder=!0,n.params[d]=E}else n.params[d]=m.node;i.iife||(x.isIdentifier()&&!a(r,x.node)?i.iife=!0:x.traverse(b,i)),t(m.node,x.node,d)}else i.iife||h.isIdentifier()||h.traverse(b,i)}for(var A=l+1;A",p,c),d.binaryExpression("-",p,c),d.numericLiteral(0)));var g=h({ARGUMENTS:i,ARRAY_KEY:m,ARRAY_LEN:v,START:c,ARRAY:r,KEY:f,LEN:p});if(u.deopted)g._blockHoist=t.params.length+1,t.body.body.unshift(g);else{g._blockHoist=1;var b=e.getEarliestCommonAncestorFrom(u.references).getStatementParent();b.findParent(function(e){return e.isLoop()?void(b=e):e.isFunction()}),b.insertBefore(g)}}else for(var x=u.candidates,E=Array.isArray(x),A=0,x=E?x:(0,l.default)(x);;){var C;if(E){if(A>=x.length)break;C=x[A++]}else{if(A=x.next(),A.done)break;C=A.value}var S=C,D=S.path,w=S.cause;switch(w){case"indexGetter":a(D,i,u.offset);break;case"lengthGetter":s(D,i,u.offset);break;default:D.replaceWith(i)}}}}}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{MemberExpression:{exit:function(e){var n=e.node,r=n.property;n.computed||!t.isIdentifier(r)||t.isValidIdentifier(r.name)||(n.property=t.stringLiteral(r.name),n.computed=!0)}}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{ObjectProperty:{exit:function(e){var n=e.node,r=n.key;n.computed||!t.isIdentifier(r)||t.isValidIdentifier(r.name)||(n.key=t.stringLiteral(r.name))}}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o);t.default=function(e){var t=e.types;return{visitor:{ObjectExpression:function(e,n){for(var r=e.node,i=!1,o=r.properties,s=Array.isArray(o),l=0,o=s?o:(0,a.default)(o);;){var c;if(s){if(l>=o.length)break;c=o[l++]}else{if(l=o.next(),l.done)break;c=l.value}var f=c;if("get"===f.kind||"set"===f.kind){i=!0;break}}if(i){var p={};r.properties=r.properties.filter(function(e){return!!(e.computed||"get"!==e.kind&&"set"!==e.kind)||(u.push(p,e,null,n),!1)}),e.replaceWith(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("defineProperties")),[r,u.toDefineObject(p)]))}}}}};var s=n(188),u=r(s);e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.parse,n=e.traverse;return{visitor:{CallExpression:function(e){if(e.get("callee").isIdentifier({name:"eval"})&&1===e.node.arguments.length){var r=e.get("arguments")[0].evaluate();if(!r.confident)return;var i=r.value;if("string"!=typeof i)return;var o=t(i);return n.removeProperties(o),o.program}}}}},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){function t(e,t){e.addComment("trailing",r(e,t)),e.replaceWith(i.noop())}function r(e,t){var n=e.getSource().replace(/\*-\//g,"*-ESCAPED/").replace(/\*\//g,"*-/");return t&&t.optional&&(n="?"+n),":"!==n[0]&&(n=":: "+n),n}var i=e.types;return{inherits:n(126),visitor:{TypeCastExpression:function(e){var t=e.node;e.get("expression").addComment("trailing",r(e.get("typeAnnotation"))), +e.replaceWith(i.parenthesizedExpression(t.expression))},Identifier:function(e){var t=e.node;t.optional&&!t.typeAnnotation&&e.addComment("trailing",":: ?")},AssignmentPattern:{exit:function(e){var t=e.node;t.left.optional=!1}},Function:{exit:function(e){var t=e.node;t.params.forEach(function(e){return e.optional=!1})}},ClassProperty:function(e){var n=e.node,r=e.parent;n.value||t(e,r)},"ExportNamedDeclaration|Flow":function(e){var n=e.node,r=e.parent;i.isExportNamedDeclaration(n)&&!i.isFlow(n.declaration)||t(e,r)},ImportDeclaration:function(e){var n=e.node,r=e.parent;i.isImportDeclaration(n)&&"type"!==n.importKind&&"typeof"!==n.importKind||t(e,r)}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types;return{visitor:{FunctionExpression:{exit:function(e){var n=e.node;n.id&&(n._ignoreUserWhitespace=!0,e.replaceWith(t.callExpression(t.functionExpression(null,[],t.blockStatement([t.toStatement(n),t.returnStatement(n.id)])),[])))}}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{visitor:{CallExpression:function(e,t){e.get("callee").matchesPattern("Object.assign")&&(e.node.callee=t.addHelper("extends"))}}}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(){return{visitor:{CallExpression:function(e,t){e.get("callee").matchesPattern("Object.setPrototypeOf")&&(e.node.callee=t.addHelper("defaults"))}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){function t(e){return i.isLiteral(i.toComputedKey(e,e.key),{value:"__proto__"})}function n(e){var t=e.left;return i.isMemberExpression(t)&&i.isLiteral(i.toComputedKey(t,t.property),{value:"__proto__"})}function r(e,t,n){return i.expressionStatement(i.callExpression(n.addHelper("defaults"),[t,e.right]))}var i=e.types;return{visitor:{AssignmentExpression:function(e,t){if(n(e.node)){var o=[],a=e.node.left.object,s=e.scope.maybeGenerateMemoised(a);s&&o.push(i.expressionStatement(i.assignmentExpression("=",s,a))),o.push(r(e.node,s||a,t)),s&&o.push(s),e.replaceWithMultiple(o)}},ExpressionStatement:function(e,t){var o=e.node.expression;i.isAssignmentExpression(o,{operator:"="})&&n(o)&&e.replaceWith(r(o,o.left.object,t))},ObjectExpression:function(e,n){for(var r=void 0,a=e.node,u=a.properties,l=Array.isArray(u),c=0,u=l?u:(0,o.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;t(p)&&(r=p.value,(0,s.default)(a.properties,p))}if(r){var d=[i.objectExpression([]),r];a.properties.length&&d.push(a),e.replaceWith(i.callExpression(n.addHelper("extends"),d))}}}}};var a=n(277),s=r(a);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(11),o=r(i);t.default=function(e){var t=e.types,n={enter:function(e,n){var r=function(){n.isImmutable=!1,e.stop()};if(e.isJSXClosingElement())return void e.skip();if(e.isJSXIdentifier({name:"ref"})&&e.parentPath.isJSXAttribute({name:e.node}))return r();if(!(e.isJSXIdentifier()||e.isIdentifier()||e.isJSXMemberExpression()||e.isImmutable())){if(e.isPure()){var i=e.evaluate();if(i.confident){var a=i.value,s=a&&"object"===("undefined"==typeof a?"undefined":(0,o.default)(a))||"function"==typeof a;if(!s)return}else if(t.isIdentifier(i.deopt))return}r()}}};return{visitor:{JSXElement:function(e){if(!e.node._hoisted){var t={isImmutable:!0};e.traverse(n,t),t.isImmutable?e.hoist():e.node._hoisted=!0}}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2),o=r(i);t.default=function(e){function t(e){for(var t=0;t=d.length)break;v=d[m++]}else{if(m=d.next(),m.done)break;v=m.value}var g=v;if(n(g,"key"))f=r(g);else{var y=g.name.name,b=i.isValidIdentifier(y)?i.identifier(y):i.stringLiteral(y);s(c.properties,b,r(g))}}var x=[p,c];if(f||u.children.length){var E=i.react.buildChildren(u);x.push.apply(x,[f||i.unaryExpression("void",i.numericLiteral(0),!0)].concat(E))}var A=i.callExpression(a.addHelper("jsx"),x);e.replaceWith(A)}}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=e.types;return{manipulateOptions:function(e,t){t.plugins.push("jsx")},visitor:(0,o.default)({pre:function(e){e.callee=e.tagExpr},post:function(e){t.react.isCompatTag(e.tagName)&&(e.call=t.callExpression(t.memberExpression(t.memberExpression(t.identifier("React"),t.identifier("DOM")),e.tagExpr,t.isLiteral(e.tagExpr)),e.args))}})}};var i=n(348),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){function t(e,n){if(u.isJSXIdentifier(e)){if("this"===e.name&&u.isReferenced(e,n))return u.thisExpression();if(!a.default.keyword.isIdentifierNameES6(e.name))return u.stringLiteral(e.name);e.type="Identifier"}else if(u.isJSXMemberExpression(e))return u.memberExpression(t(e.object,e),t(e.property,e));return e}function n(e){return u.isJSXExpressionContainer(e)?e.expression:e}function r(e){var t=n(e.value||u.booleanLiteral(!0));return u.isStringLiteral(t)&&!u.isJSXExpressionContainer(e.value)&&(t.value=t.value.replace(/\n\s+/g," ")),u.isValidIdentifier(e.name.name)?e.name.type="Identifier":e.name=u.stringLiteral(e.name.name),u.inherits(u.objectProperty(e.name,t),e)}function i(n,r){n.parent.children=u.react.buildChildren(n.parent);var i=t(n.node.name,n.node),a=[],s=void 0;u.isIdentifier(i)?s=i.name:u.isLiteral(i)&&(s=i.value);var l={tagExpr:i,tagName:s,args:a};e.pre&&e.pre(l,r);var c=n.node.attributes;return c=c.length?o(c,r):u.nullLiteral(),a.push(c),e.post&&e.post(l,r),l.call||u.callExpression(l.callee,a)}function o(e,t){function n(){i.length&&(o.push(u.objectExpression(i)),i=[])}var i=[],o=[],a=t.opts.useBuiltIns||!1;if("boolean"!=typeof a)throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");for(;e.length;){var s=e.shift();u.isJSXSpreadAttribute(s)?(n(),o.push(s.argument)):i.push(r(s))}if(n(),1===o.length)e=o[0];else{u.isObjectExpression(o[0])||o.unshift(u.objectExpression([]));var l=a?u.memberExpression(u.identifier("Object"),u.identifier("assign")):t.addHelper("extends");e=u.callExpression(l,o)}return e}var s={};return s.JSXNamespacedName=function(e){throw e.buildCodeFrameError("Namespace tags are not supported. ReactJSX is not XML.")},s.JSXElement={exit:function(e,t){var n=i(e.get("openingElement"),t);n.arguments=n.arguments.concat(e.node.children),n.arguments.length>=3&&(n._prettyCall=!0),e.replaceWith(u.inherits(n,e.node))}},s};var o=n(97),a=i(o),s=n(1),u=r(s);e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=e.types,r={JSXOpeningElement:function(e){var r=e.node,i=t.jSXIdentifier(n),o=t.thisExpression();r.attributes.push(t.jSXAttribute(i,t.jSXExpressionContainer(o)))}};return{visitor:r}};var n="__self";e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){function t(e,t){var n=null!=t?i.numericLiteral(t):i.nullLiteral(),r=i.objectProperty(i.identifier("fileName"),e),o=i.objectProperty(i.identifier("lineNumber"),n);return i.objectExpression([r,o])}var i=e.types,o={JSXOpeningElement:function(e,o){var a=i.jSXIdentifier(n),s=e.container.openingElement.loc;if(s){for(var u=e.container.openingElement.attributes,l=0;l3||c<=u||(s=l,u=c)}var f=void 0;throw f=s?t.get("undeclaredVariableSuggestion",n.name,s):t.get("undeclaredVariable",n.name),e.buildCodeFrameError(f,ReferenceError)}}}}};var i=n(471),o=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(211),o=r(i);t.default={plugins:[o.default]},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{presets:[t.es2015!==!1&&[o.default.buildPreset,t.es2015],t.es2016!==!1&&s.default,t.es2017!==!1&&l.default].filter(Boolean)}};var i=n(217),o=r(i),a=n(218),s=r(a),u=n(219),l=r(u);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(355),o=r(i),a=n(215),s=r(a),u=n(127),l=r(u),c=n(214),f=r(c);t.default={presets:[o.default],plugins:[s.default,l.default,f.default],env:{development:{plugins:[]}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(220),o=r(i),a=n(206),s=r(a),u=n(212),l=r(u);t.default={presets:[o.default],plugins:[s.default,l.default]},e.exports=t.default},function(e,t,n){"use strict";e.exports={default:n(407),__esModule:!0}},function(e,t,n){"use strict";e.exports={default:n(410),__esModule:!0}},function(e,t,n){"use strict";e.exports={default:n(412),__esModule:!0}},function(e,t,n){"use strict";e.exports={default:n(413),__esModule:!0}},function(e,t,n){"use strict";e.exports={default:n(415),__esModule:!0}},function(e,t,n){"use strict";e.exports={default:n(416),__esModule:!0}},function(e,t,n){"use strict";e.exports={default:n(417),__esModule:!0}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o),s=n(3),u=i(s),l=n(36),c=i(l),f=n(1),p=r(f),d=!1,h=function(){function e(t,n,r,i){(0,u.default)(this,e),this.queue=null,this.parentPath=i,this.scope=t,this.state=r,this.opts=n}return e.prototype.shouldVisit=function(e){var t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;var n=p.VISITOR_KEYS[e.type];if(!n||!n.length)return!1;for(var r=n,i=Array.isArray(r),o=0,r=i?r:(0,a.default)(r);;){var s;if(i){if(o>=r.length)break;s=r[o++]}else{if(o=r.next(),o.done)break;s=o.value}var u=s;if(e[u])return!0}return!1},e.prototype.create=function(e,t,n,r){return c.default.get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:r})},e.prototype.maybeQueue=function(e,t){if(this.trap)throw new Error("Infinite cycle detected");this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))},e.prototype.visitMultiple=function(e,t,n){if(0===e.length)return!1;for(var r=[],i=0;i=r.length)break;s=r[o++]}else{if(o=r.next(),o.done)break;s=o.value}var u=s;if(u.resync(),0!==u.contexts.length&&u.contexts[u.contexts.length-1]===this||u.pushContext(this),null!==u.key&&(d&&e.length>=1e4&&(this.trap=!0),!(t.indexOf(u.node)>=0))){if(t.push(u.node),u.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}for(var l=e,c=Array.isArray(l),f=0,l=c?l:(0,a.default)(l);;){var p;if(c){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var h=p;h.popContext()}return this.queue=null,n},e.prototype.visit=function(e,t){var n=e[t];return!!n&&(Array.isArray(n)?this.visitMultiple(n,e,t):this.visitSingle(e,t))},e}();t.default=h,e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=this;t=t.parentPath;)if(e(t))return t;return null}function a(e){var t=this;do if(e(t))return t;while(t=t.parentPath);return null}function s(){return this.findParent(function(e){return e.isFunction()||e.isProgram()})}function u(){var e=this;do if(Array.isArray(e.container))return e;while(e=e.parentPath)}function l(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,n){for(var r=void 0,i=b.VISITOR_KEYS[e.type],o=n,a=Array.isArray(o),s=0,o=a?o:(0,g.default)(o);;){var u;if(a){if(s>=o.length)break;u=o[s++]}else{if(s=o.next(),s.done)break;u=s.value}var l=u,c=l[t+1];if(r)if(c.listKey&&r.listKey===c.listKey&&c.keyp&&(r=c)}else r=c}return r})}function c(e,t){var n=this;if(!e.length)return this;if(1===e.length)return e[0];var r=1/0,i=void 0,o=void 0,a=e.map(function(e){var t=[];do t.unshift(e);while((e=e.parentPath)&&e!==n);return t.length=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d;if(h[u]!==l)break e}i=u,o=l}if(o)return t?t(o,i,a):o;throw new Error("Couldn't find intersection")}function f(){var e=this,t=[];do t.push(e);while(e=e.parentPath);return t}function p(e){return e.isDescendant(this)}function d(e){return!!this.findParent(function(t){return t===e})}function h(){for(var e=this;e;){for(var t=arguments,n=Array.isArray(t),r=0,t=n?t:(0,g.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(e.node.type===o)return!0}e=e.parentPath}return!1}function m(e){var t=this.isFunction()?this:this.findParent(function(e){return e.isFunction()});if(t){if(t.isFunctionExpression()||t.isFunctionDeclaration()){var n=t.node.shadow;if(n&&(!e||n[e]!==!1))return t}else if(t.isArrowFunctionExpression())return t;return null}}t.__esModule=!0;var v=n(2),g=i(v);t.findParent=o,t.find=a,t.getFunctionParent=s,t.getStatementParent=u,t.getEarliestCommonAncestorFrom=l,t.getDeepestCommonAncestorFrom=c,t.getAncestry=f,t.isAncestor=p,t.isDescendant=d,t.inType=h,t.inShadow=m;var y=n(1),b=r(y),x=n(36);i(x)},function(e,t){"use strict";function n(){if("string"!=typeof this.key){var e=this.node;if(e){var t=e.trailingComments,n=e.leadingComments;if(t||n){var r=this.getSibling(this.key-1),i=this.getSibling(this.key+1);r.node||(r=i),i.node||(i=r),r.addComments("trailing",n),i.addComments("leading",t)}}}}function r(e,t,n){this.addComments(e,[{type:n?"CommentLine":"CommentBlock",value:t}])}function i(e,t){if(t){var n=this.node;if(n){var r=e+"Comments";n[r]?n[r]=n[r].concat(t):n[r]=t}}}t.__esModule=!0,t.shareCommentsWithSiblings=n,t.addComment=r,t.addComments=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=this.opts;return this.debug(function(){return e}),!(!this.node||!this._call(t[e]))||!!this.node&&this._call(t[this.node.type]&&t[this.node.type][e])}function o(e){if(!e)return!1;for(var t=e,n=Array.isArray(t),r=0,t=n?t:(0,D.default)(t);;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(o){var a=this.node;if(!a)return!0;var s=o.call(this.state,this,this.state);if(s)throw new Error("Unexpected return value from visitor method "+o);if(this.node!==a)return!0;if(this.shouldStop||this.shouldSkip||this.removed)return!0}}return!1}function a(){var e=this.opts.blacklist;return e&&e.indexOf(this.node.type)>-1}function s(){return!!this.node&&(!this.isBlacklisted()&&((!this.opts.shouldSkip||!this.opts.shouldSkip(this))&&(this.call("enter")||this.shouldSkip?(this.debug(function(){return"Skip..."}),this.shouldStop):(this.debug(function(){return"Recursing into..."}),_.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys),this.call("exit"),this.shouldStop))))}function u(){this.shouldSkip=!0}function l(e){this.skipKeys[e]=!0}function c(){this.shouldStop=!0,this.shouldSkip=!0}function f(){if(!this.opts||!this.opts.noScope){var e=this.context&&this.context.scope;if(!e)for(var t=this.parentPath;t&&!e;){if(t.opts&&t.opts.noScope)return;e=t.scope,t=t.parentPath}this.scope=this.getScope(e),this.scope&&this.scope.init()}}function p(e){return this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.skipKeys={},e&&(this.context=e,this.state=e.state,this.opts=e.opts),this.setScope(),this}function d(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())}function h(){this.parentPath&&(this.parent=this.parentPath.node)}function m(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:this;if(!e.removed)for(var t=this.contexts,n=t,r=Array.isArray(n),i=0,n=r?n:(0,D.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;a.maybeQueue(e)}}function C(){for(var e=this,t=this.contexts;!t.length;)e=e.parentPath,t=e.contexts;return t}t.__esModule=!0;var S=n(2),D=r(S);t.call=i,t._call=o,t.isBlacklisted=a,t.visit=s,t.skip=u,t.skipKey=l,t.stop=c,t.setScope=f,t.setContext=p,t.resync=d,t._resyncParent=h,t._resyncKey=m,t._resyncList=v,t._resyncRemoved=g,t.popContext=y,t.pushContext=b,t.setup=x,t.setKey=E,t.requeue=A,t._getQueueContexts=C;var w=n(7),_=r(w)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(){var e=this.node,t=void 0;if(this.isMemberExpression())t=e.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");t=e.key}return e.computed||u.isIdentifier(t)&&(t=u.stringLiteral(t.name)),t}function o(){return u.ensureBlock(this.node)}function a(){if(this.isArrowFunctionExpression()){this.ensureBlock();var e=this.node;e.expression=!1,e.type="FunctionExpression",e.shadow=e.shadow||!0}}t.__esModule=!0,t.toComputedKey=i,t.ensureBlock=o,t.arrowFunctionToShadowed=a;var s=n(1),u=r(s)},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){var e=this.evaluate();if(e.confident)return!!e.value}function o(){function t(e){i&&(o=e,i=!1)}function n(e){var n=e.node;if(a.has(n)){var o=a.get(n);return o.resolved?o.value:void t(e)}var s={resolved:!1};a.set(n,s);var u=r(e);return i&&(s.resolved=!0,s.value=u),u}function r(r){if(i){var o=r.node;if(r.isSequenceExpression()){var a=r.get("expressions");return n(a[a.length-1])}if(r.isStringLiteral()||r.isNumericLiteral()||r.isBooleanLiteral())return o.value;if(r.isNullLiteral())return null;if(r.isTemplateLiteral()){for(var u="",c=0,f=r.get("expressions"),h=o.quasis,m=Array.isArray(h),v=0,h=m?h:(0,l.default)(h);;){var g;if(m){if(v>=h.length)break;g=h[v++]}else{if(v=h.next(),v.done)break;g=v.value}var y=g;if(!i)break;u+=y.value.cooked;var b=f[c++];b&&(u+=String(n(b)))}if(!i)return;return u}if(r.isConditionalExpression()){var x=n(r.get("test"));if(!i)return;return n(x?r.get("consequent"):r.get("alternate"))}if(r.isExpressionWrapper())return n(r.get("expression"));if(r.isMemberExpression()&&!r.parentPath.isCallExpression({callee:o})){var E=r.get("property"),A=r.get("object");if(A.isLiteral()&&E.isIdentifier()){var C=A.node.value,S="undefined"==typeof C?"undefined":(0,s.default)(C);if("number"===S||"string"===S)return C[E.node.name]}}if(r.isReferencedIdentifier()){var D=r.scope.getBinding(o.name);if(D&&D.constantViolations.length>0)return t(D.path);if(D&&r.node.start=P.length)break;B=P[T++]}else{if(T=P.next(),T.done)break;B=T.value}var I=B;if(I=I.evaluate(),!I.confident)return t(I);O.push(I.value)}return O}if(r.isObjectExpression()){for(var R={},N=r.get("properties"),L=N,j=Array.isArray(L),W=0,L=j?L:(0,l.default)(L);;){var U;if(j){if(W>=L.length)break;U=L[W++]}else{if(W=L.next(),W.done)break;U=W.value}var z=U;if(z.isObjectMethod()||z.isSpreadProperty())return t(z);var V=z.get("key"),G=V;if(z.node.computed){if(G=G.evaluate(),!G.confident)return t(V);G=G.value}else G=G.isIdentifier()?G.node.name:G.node.value;var H=z.get("value"),Y=H.evaluate();if(!Y.confident)return t(H);Y=Y.value,R[G]=Y}return R}if(r.isLogicalExpression()){var q=i,K=n(r.get("left")),X=i;i=q;var $=n(r.get("right")),J=i;switch(i=X&&J,o.operator){case"||":if(K&&X)return i=!0,K;if(!i)return;return K||$;case"&&":if((!K&&X||!$&&J)&&(i=!0),!i)return;return K&&$}}if(r.isBinaryExpression()){var Q=n(r.get("left"));if(!i)return;var Z=n(r.get("right"));if(!i)return;switch(o.operator){case"-":return Q-Z;case"+":return Q+Z;case"/":return Q/Z;case"*":return Q*Z;case"%":return Q%Z;case"**":return Math.pow(Q,Z);case"<":return Q":return Q>Z;case"<=":return Q<=Z;case">=":return Q>=Z;case"==":return Q==Z;case"!=":return Q!=Z;case"===":return Q===Z;case"!==":return Q!==Z;case"|":return Q|Z;case"&":return Q&Z;case"^":return Q^Z;case"<<":return Q<>":return Q>>Z;case">>>":return Q>>>Z}}if(r.isCallExpression()){var ee=r.get("callee"),te=void 0,ne=void 0;if(ee.isIdentifier()&&!r.scope.getBinding(ee.node.name,!0)&&p.indexOf(ee.node.name)>=0&&(ne=e[o.callee.name]),ee.isMemberExpression()){var re=ee.get("object"),ie=ee.get("property");if(re.isIdentifier()&&ie.isIdentifier()&&p.indexOf(re.node.name)>=0&&d.indexOf(ie.node.name)<0&&(te=e[re.node.name],ne=te[ie.node.name]),re.isLiteral()&&ie.isIdentifier()){var oe=(0,s.default)(re.node.value);"string"!==oe&&"number"!==oe||(te=re.node.value,ne=te[ie.node.name])}}if(ne){var ae=r.get("arguments").map(n);if(!i)return;return ne.apply(te,ae)}}t(r)}}var i=!0,o=void 0,a=new f.default,u=n(this);return i||(u=void 0),{confident:i,deopt:o,value:u}}t.__esModule=!0;var a=n(11),s=r(a),u=n(2),l=r(u),c=n(133),f=r(c);t.evaluateTruthy=i,t.evaluate=o;var p=["String","Number","Math"],d=["random"]}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(){var e=this; +do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e}function a(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):void 0}function s(){var e=[],t=function(t){t&&(e=e.concat(t.getCompletionRecords()))};if(this.isIfStatement())t(this.get("consequent")),t(this.get("alternate"));else if(this.isDoExpression()||this.isFor()||this.isWhile())t(this.get("body"));else if(this.isProgram()||this.isBlockStatement())t(this.get("body").pop());else{if(this.isFunction())return this.get("body").getCompletionRecords();this.isTryStatement()?(t(this.get("block")),t(this.get("handler")),t(this.get("finalizer"))):e.push(this)}return e}function u(e){return D.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e})}function l(){return this.getSibling(this.key-1)}function c(){return this.getSibling(this.key+1)}function f(){for(var e=this.key,t=this.getSibling(++e),n=[];t.node;)n.push(t),t=this.getSibling(++e);return n}function p(){for(var e=this.key,t=this.getSibling(--e),n=[];t.node;)n.push(t),t=this.getSibling(--e);return n}function d(e,t){t===!0&&(t=this.context);var n=e.split(".");return 1===n.length?this._getKey(e,t):this._getPattern(n,t)}function h(e,t){var n=this,r=this.node,i=r[e];return Array.isArray(i)?i.map(function(o,a){return D.default.get({listKey:e,parentPath:n,parent:r,container:i,key:a}).setContext(t)}):D.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}function m(e,t){for(var n=this,r=e,i=Array.isArray(r),o=0,r=i?r:(0,C.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;n="."===s?n.parentPath:Array.isArray(n)?n[s]:n.get(s,t)}return n}function v(e){return _.getBindingIdentifiers(this.node,e)}function g(e){return _.getOuterBindingIdentifiers(this.node,e)}function y(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this,r=[].concat(n),i=(0,E.default)(null);r.length;){var o=r.shift();if(o&&o.node){var a=_.getBindingIdentifiers.keys[o.node.type];if(o.isIdentifier())if(e){var s=i[o.node.name]=i[o.node.name]||[];s.push(o)}else i[o.node.name]=o;else if(o.isExportDeclaration()){var u=o.get("declaration");u.isDeclaration()&&r.push(u)}else{if(t){if(o.isFunctionDeclaration()){r.push(o.get("id"));continue}if(o.isFunctionExpression())continue}if(a)for(var l=0;l=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if(g.isAnyTypeAnnotation(a)||u(e,a,!0))return!0}return!1}return u(e,t,!0)}function c(e){var t=this.getTypeAnnotation();if(e=e.getTypeAnnotation(),!g.isAnyTypeAnnotation(t)&&g.isFlowBaseAnnotation(t))return e.type===t.type}function f(e){var t=this.getTypeAnnotation();return g.isGenericTypeAnnotation(t)&&g.isIdentifier(t.id,{name:e})}t.__esModule=!0;var p=n(2),d=i(p);t.getTypeAnnotation=o,t._getTypeAnnotation=a,t.isBaseType=s,t.couldBeBaseType=l,t.baseTypeStrictlyMatches=c,t.isGenericType=f;var h=n(376),m=r(h),v=n(1),g=r(v)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.scope.getBinding(t),r=[];e.typeAnnotation=d.unionTypeAnnotation(r);var i=[],o=a(n,e,i),s=l(e,t);if(s){var u=a(n,s.ifStatement);o=o.filter(function(e){return u.indexOf(e)<0}),r.push(s.typeAnnotation)}if(o.length){o=o.concat(i);for(var c=o,p=Array.isArray(c),h=0,c=p?c:(0,f.default)(c);;){var m;if(p){if(h>=c.length)break;m=c[h++]}else{if(h=c.next(),h.done)break;m=h.value}var v=m;r.push(v.getTypeAnnotation())}}if(r.length)return d.createUnionTypeAnnotation(r)}function a(e,t,n){var r=e.constantViolations.slice();return r.unshift(e.path),r.filter(function(e){e=e.resolve();var r=e._guessExecutionStatusRelativeTo(t);return n&&"function"===r&&n.push(e),"before"===r})}function s(e,t){var n=t.node.operator,r=t.get("right").resolve(),i=t.get("left").resolve(),o=void 0;if(i.isIdentifier({name:e})?o=r:r.isIdentifier({name:e})&&(o=i),o)return"==="===n?o.getTypeAnnotation():d.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(n)>=0?d.numberTypeAnnotation():void 0;if("==="===n){var a=void 0,s=void 0;if(i.isUnaryExpression({operator:"typeof"})?(a=i,s=r):r.isUnaryExpression({operator:"typeof"})&&(a=r,s=i),(s||a)&&(s=s.resolve(),s.isLiteral())){var u=s.node.value;if("string"==typeof u&&a.get("argument").isIdentifier({name:e}))return d.createTypeAnnotationBasedOnTypeof(s.node.value)}}}function u(e){for(var t=void 0;t=e.parentPath;){if(t.isIfStatement()||t.isConditionalExpression())return"test"===e.key?void 0:t;e=t}}function l(e,t){var n=u(e);if(n){var r=n.get("test"),i=[r],o=[];do{var a=i.shift().resolve();if(a.isLogicalExpression()&&(i.push(a.get("left")),i.push(a.get("right"))),a.isBinaryExpression()){var c=s(t,a);c&&o.push(c)}}while(i.length);return o.length?{typeAnnotation:d.createUnionTypeAnnotation(o),ifStatement:n}:l(n,t)}}t.__esModule=!0;var c=n(2),f=i(c);t.default=function(e){if(this.isReferenced()){var t=this.scope.getBinding(e.name);return t?t.identifier.typeAnnotation?t.identifier.typeAnnotation:o(this,e.name):"undefined"===e.name?d.voidTypeAnnotation():"NaN"===e.name||"Infinity"===e.name?d.numberTypeAnnotation():void("arguments"===e.name)}};var p=n(1),d=r(p);e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(){var e=this.get("id");return e.isIdentifier()?this.get("init").getTypeAnnotation():void 0}function a(e){return e.typeAnnotation}function s(e){if(this.get("callee").isIdentifier())return M.genericTypeAnnotation(e.callee)}function u(){return M.stringTypeAnnotation()}function l(e){var t=e.operator;return"void"===t?M.voidTypeAnnotation():M.NUMBER_UNARY_OPERATORS.indexOf(t)>=0?M.numberTypeAnnotation():M.STRING_UNARY_OPERATORS.indexOf(t)>=0?M.stringTypeAnnotation():M.BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0?M.booleanTypeAnnotation():void 0}function c(e){var t=e.operator;if(M.NUMBER_BINARY_OPERATORS.indexOf(t)>=0)return M.numberTypeAnnotation();if(M.BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0)return M.booleanTypeAnnotation();if("+"===t){var n=this.get("right"),r=this.get("left");return r.isBaseType("number")&&n.isBaseType("number")?M.numberTypeAnnotation():r.isBaseType("string")||n.isBaseType("string")?M.stringTypeAnnotation():M.unionTypeAnnotation([M.stringTypeAnnotation(),M.numberTypeAnnotation()])}}function f(){return M.createUnionTypeAnnotation([this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()])}function p(){return M.createUnionTypeAnnotation([this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()])}function d(){return this.get("expressions").pop().getTypeAnnotation()}function h(){return this.get("right").getTypeAnnotation()}function m(e){var t=e.operator;if("++"===t||"--"===t)return M.numberTypeAnnotation()}function v(){return M.stringTypeAnnotation()}function g(){return M.numberTypeAnnotation()}function y(){return M.booleanTypeAnnotation()}function b(){return M.nullLiteralTypeAnnotation()}function x(){return M.genericTypeAnnotation(M.identifier("RegExp"))}function E(){return M.genericTypeAnnotation(M.identifier("Object"))}function A(){return M.genericTypeAnnotation(M.identifier("Array"))}function C(){return A()}function S(){return M.genericTypeAnnotation(M.identifier("Function"))}function D(){return _(this.get("callee"))}function w(){return _(this.get("tag"))}function _(e){if(e=e.resolve(),e.isFunction()){if(e.is("async"))return e.is("generator")?M.genericTypeAnnotation(M.identifier("AsyncIterator")):M.genericTypeAnnotation(M.identifier("Promise"));if(e.node.returnType)return e.node.returnType}}t.__esModule=!0,t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=t.Identifier=void 0;var k=n(375);Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i(k).default}}),t.VariableDeclarator=o,t.TypeCastExpression=a,t.NewExpression=s,t.TemplateLiteral=u,t.UnaryExpression=l,t.BinaryExpression=c,t.LogicalExpression=f,t.ConditionalExpression=p,t.SequenceExpression=d,t.AssignmentExpression=h,t.UpdateExpression=m,t.StringLiteral=v,t.NumericLiteral=g,t.BooleanLiteral=y,t.NullLiteral=b,t.RegExpLiteral=x,t.ObjectExpression=E,t.ArrayExpression=A,t.RestElement=C,t.CallExpression=D,t.TaggedTemplateExpression=w;var O=n(1),M=r(O);a.validParent=!0,C.validParent=!0,t.FunctionExpression=S,t.ArrowFunctionExpression=S,t.FunctionDeclaration=S,t.ClassExpression=S,t.ClassDeclaration=S},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){function n(e){var t=r[o];return"*"===t||e===t}if(!this.isMemberExpression())return!1;for(var r=e.split("."),i=[this.node],o=0;i.length;){var a=i.shift();if(t&&o===r.length)return!0;if(_.isIdentifier(a)){if(!n(a.name))return!1}else if(_.isLiteral(a)){if(!n(a.value))return!1}else{if(_.isMemberExpression(a)){if(a.computed&&!_.isLiteral(a.property))return!1;i.unshift(a.property),i.unshift(a.object);continue}if(!_.isThisExpression(a))return!1;if(!n("this"))return!1}if(++o>r.length)return!1}return o===r.length}function a(e){var t=this.node&&this.node[e];return t&&Array.isArray(t)?!!t.length:!!t}function s(){return this.scope.isStatic(this.node)}function u(e){return!this.has(e)}function l(e,t){return this.node[e]===t}function c(e){return _.isType(this.type,e)}function f(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()}function p(e){return!("body"!==this.key||!this.parentPath.isArrowFunctionExpression())&&(this.isExpression()?_.isBlockStatement(e):!!this.isBlockStatement()&&_.isExpression(e))}function d(e){var t=this,n=!0;do{var r=t.container;if(t.isFunction()&&!n)return!!e;if(n=!1,Array.isArray(r)&&t.key!==r.length-1)return!1}while((t=t.parentPath)&&!t.isProgram());return!0}function h(){return!this.parentPath.isLabeledStatement()&&!_.isBlockStatement(this.container)&&(0,D.default)(_.STATEMENT_OR_BLOCK_KEYS,this.key)}function m(e,t){if(!this.isReferencedIdentifier())return!1;var n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;var r=n.path,i=r.parentPath;return!!i.isImportDeclaration()&&(i.node.source.value===e&&(!t||(!(!r.isImportDefaultSpecifier()||"default"!==t)||(!(!r.isImportNamespaceSpecifier()||"*"!==t)||!(!r.isImportSpecifier()||r.node.imported.name!==t)))))}function v(){var e=this.node;return e.end?this.hub.file.code.slice(e.start,e.end):""}function g(e){return"after"!==this._guessExecutionStatusRelativeTo(e)}function y(e){var t=e.scope.getFunctionParent(),n=this.scope.getFunctionParent();if(t.node!==n.node){var r=this._guessExecutionStatusRelativeToDifferentFunctions(t);if(r)return r;e=t.path}var i=e.getAncestry();if(i.indexOf(this)>=0)return"after";var o=this.getAncestry(),a=void 0,s=void 0,u=void 0;for(u=0;u=0){a=l;break}}if(!a)return"before";var c=i[s-1],f=o[u-1];if(!c||!f)return"before";if(c.listKey&&c.container===f.container)return c.key>f.key?"before":"after";var p=_.VISITOR_KEYS[c.type].indexOf(c.key),d=_.VISITOR_KEYS[f.type].indexOf(f.key);return p>d?"before":"after"}function b(e){var t=e.path;if(t.isFunctionDeclaration()){var n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";for(var r=n.referencePaths,i=r,o=Array.isArray(i),a=0,i=o?i:(0,C.default)(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s;if("callee"!==u.key||!u.parentPath.isCallExpression())return}for(var l=void 0,c=r,f=Array.isArray(c),p=0,c=f?c:(0,C.default)(c);;){var d;if(f){if(p>=c.length)break;d=c[p++]}else{if(p=c.next(),p.done)break;d=p.value}var h=d,m=!!h.find(function(e){return e.node===t.node});if(!m){var v=this._guessExecutionStatusRelativeTo(h);if(l){if(l!==v)return}else l=v}}return l}}function x(e,t){return this._resolve(e,t)||this}function E(e,t){if(!(t&&t.indexOf(this)>=0))if(t=t||[],t.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){var n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){var r=n.path.resolve(e,t);if(this.find(function(e){return e.node===r.node}))return;return r}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){var i=this.toComputedKey();if(!_.isLiteral(i))return;var o=i.value,a=this.get("object").resolve(e,t);if(a.isObjectExpression())for(var s=a.get("properties"),u=s,l=Array.isArray(u),c=0,u=l?u:(0,C.default)(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;if(p.isProperty()){var d=p.get("key"),h=p.isnt("computed")&&d.isIdentifier({name:o});if(h=h||d.isLiteral({value:o}))return p.get("value").resolve(e,t)}}else if(a.isArrayExpression()&&!isNaN(+o)){var m=a.get("elements"),v=m[o];if(v)return v.resolve(e,t)}}}}t.__esModule=!0,t.is=void 0;var A=n(2),C=i(A);t.matchesPattern=o,t.has=a,t.isStatic=s,t.isnt=u,t.equals=l,t.isNodeType=c,t.canHaveVariableDeclarationOrExpression=f,t.canSwapBetweenExpressionAndStatement=p,t.isCompletionRecord=d,t.isStatementOrBlock=h,t.referencesImport=m,t.getSource=v,t.willIMaybeExecuteBefore=g,t._guessExecutionStatusRelativeTo=y,t._guessExecutionStatusRelativeToDifferentFunctions=b,t.resolve=x,t._resolve=E;var S=n(111),D=i(S),w=n(1),_=r(w);t.is=a},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),a=i(o),s=n(3),u=i(s),l=n(1),c=r(l),f={ReferencedIdentifier:function(e,t){if(!e.isJSXIdentifier()||!l.react.isCompatTag(e.node.name)||e.parentPath.isJSXMemberExpression()){if("this"===e.node.name){var n=e.scope;do if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}var r=e.scope.getBinding(e.node.name);r&&r===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=r)}}},p=function(){function e(t,n){(0,u.default)(this,e),this.breakOnScopePaths=[],this.bindings={},this.scopes=[],this.scope=n,this.path=t,this.attachAfter=!1}return e.prototype.isCompatibleScope=function(e){for(var t in this.bindings){var n=this.bindings[t];if(!e.bindingIdentifierEquals(t,n.identifier))return!1}return!0},e.prototype.getCompatibleScopes=function(){var e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.indexOf(e.path)>=0)break}while(e=e.parent)},e.prototype.getAttachmentPath=function(){var e=this._getAttachmentPath();if(e){var t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(var n in this.bindings)if(t.hasOwnBinding(n)){var r=this.bindings[n];if("param"!==r.kind&&this.getAttachmentParentForPath(r.path).key>e.key){this.attachAfter=!0,e=r.path;for(var i=r.constantViolations,o=Array.isArray(i),s=0,i=o?i:(0,a.default)(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if(s=i.next(),s.done)break;u=s.value}var l=u;this.getAttachmentParentForPath(l).key>e.key&&(e=l)}}}return e.parentPath.isExportDeclaration()&&(e=e.parentPath),e}},e.prototype._getAttachmentPath=function(){var e=this.scopes,t=e.pop();if(t){if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;return t.path.get("body").get("body")[0]}return this.getNextScopeAttachmentParent()}return t.path.isProgram()?this.getNextScopeAttachmentParent():void 0}},e.prototype.getNextScopeAttachmentParent=function(){var e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)},e.prototype.getAttachmentParentForPath=function(e){do if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()||e.isVariableDeclarator()&&null!==e.parentPath.node&&e.parentPath.node.declarations.length>1)return e;while(e=e.parentPath)},e.prototype.hasOwnParamBindings=function(e){for(var t in this.bindings)if(e.hasOwnBinding(t)){var n=this.bindings[t];if("param"===n.kind&&n.constant)return!0}return!1},e.prototype.run=function(){var e=this.path.node;if(!e._hoisted){e._hoisted=!0,this.path.traverse(f,this),this.getCompatibleScopes();var t=this.getAttachmentPath();if(t&&t.getFunctionParent()!==this.path.getFunctionParent()){var n=t.scope.generateUidIdentifier("ref"),r=c.variableDeclarator(n,this.path.node),i=this.attachAfter?"insertAfter":"insertBefore";t[i]([t.isVariableDeclarator()?r:c.variableDeclaration("var",[r])]);var o=this.path.parentPath;o.isJSXElement()&&this.path.container===o.node.children&&(n=c.JSXExpressionContainer(n)),this.path.replaceWith(n)}}},e}();t.default=p,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;t.hooks=[function(e,t){var n="test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement();if(n)return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&("consequent"===e.key||"alternate"===e.key)||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){if(this._assertUnremoved(),e=this._verifyNodeList(e),this.parentPath.isExpressionStatement()||this.parentPath.isLabeledStatement())return this.parentPath.insertBefore(e);if(this.isNodeType("Expression")||this.parentPath.isForStatement()&&"init"===this.key)this.node&&e.push(this.node),this.replaceExpressionWithStatements(e);else{if(this._maybePopFromStatements(e),Array.isArray(this.container))return this._containerInsertBefore(e);if(!this.isStatementOrBlock())throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");this.node&&e.push(this.node),this._replaceWith(w.blockStatement(e))}return[this]}function a(e,t){this.updateSiblingKeys(e,t.length);for(var n=[],r=0;r=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var p=f;p.setScope(),p.debug(function(){return"Inserted."});for(var d=s,h=Array.isArray(d),m=0,d=h?d:(0,b.default)(d);;){var v;if(h){if(m>=d.length)break;v=d[m++]}else{if(m=d.next(),m.done)break;v=m.value}var g=v;g.maybeQueue(p,!0)}}return n}function s(e){return this._containerInsert(this.key,e)}function u(e){return this._containerInsert(this.key+1,e)}function l(e){var t=e[e.length-1],n=w.isIdentifier(t)||w.isExpressionStatement(t)&&w.isIdentifier(t.expression);n&&!this.isCompletionRecord()&&e.pop()}function c(e){if(this._assertUnremoved(),e=this._verifyNodeList(e),this.parentPath.isExpressionStatement()||this.parentPath.isLabeledStatement())return this.parentPath.insertAfter(e);if(this.isNodeType("Expression")||this.parentPath.isForStatement()&&"init"===this.key){if(this.node){var t=this.scope.generateDeclaredUidIdentifier();e.unshift(w.expressionStatement(w.assignmentExpression("=",t,this.node))),e.push(w.expressionStatement(t))}this.replaceExpressionWithStatements(e)}else{if(this._maybePopFromStatements(e),Array.isArray(this.container))return this._containerInsertAfter(e);if(!this.isStatementOrBlock())throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");this.node&&e.unshift(this.node),this._replaceWith(w.blockStatement(e))}return[this]}function f(e,t){if(this.parent)for(var n=x.path.get(this.parent),r=0;r=e&&(i.key+=t)}}function p(e){if(!e)return[];e.constructor!==Array&&(e=[e]);for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:this.scope,t=new A.default(this,e);return t.run()}t.__esModule=!0;var v=n(11),g=i(v),y=n(2),b=i(y);t.insertBefore=o,t._containerInsert=a,t._containerInsertBefore=s,t._containerInsertAfter=u,t._maybePopFromStatements=l,t.insertAfter=c,t.updateSiblingKeys=f,t._verifyNodeList=p,t.unshiftContainer=d,t.pushContainer=h,t.hoist=m;var x=n(88),E=n(378),A=i(E),C=n(36),S=i(C),D=n(1),w=r(D)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){return this._assertUnremoved(),this.resync(),this._callRemovalHooks()?void this._markRemoved():(this.shareCommentsWithSiblings(),this._remove(),void this._markRemoved())}function o(){for(var e=f.hooks,t=Array.isArray(e),n=0,e=t?e:(0,c.default)(e);;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if(n=e.next(),n.done)break;r=n.value}var i=r;if(i(this,this.parentPath))return!0}}function a(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)}function s(){this.shouldSkip=!0,this.removed=!0,this.node=null}function u(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}t.__esModule=!0;var l=n(2),c=r(l);t.remove=i,t._callRemovalHooks=o,t._remove=a,t._markRemoved=s,t._assertUnremoved=u;var f=n(379)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){this.resync(),e=this._verifyNodeList(e),E.inheritLeadingComments(e[0],this.node),E.inheritTrailingComments(e[e.length-1],this.node),this.node=this.container[this.key]=null,this.insertAfter(e),this.node?this.requeue():this.remove()}function a(e){this.resync();try{e="("+e+")",e=(0,b.parse)(e)}catch(n){var t=n.loc;throw t&&(n.message+=" - make sure this is an expression.",n.message+="\n"+(0,h.default)(e,t.line,t.column+1)),n}return e=e.program.body[0].expression,v.default.removeProperties(e),this.replaceWith(e)}function s(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");if(e instanceof y.default&&(e=e.node),!e)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node!==e){if(this.isProgram()&&!E.isProgram(e))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(e))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof e)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");if(this.isNodeType("Statement")&&E.isExpression(e)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(e)||this.parentPath.isExportDefaultDeclaration()||(e=E.expressionStatement(e))),this.isNodeType("Expression")&&E.isStatement(e)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e))return this.replaceExpressionWithStatements([e]);var t=this.node;t&&(E.inheritsComments(e,t),E.removeComments(t)),this._replaceWith(e),this.type=e.type,this.setScope(),this.requeue()}}function u(e){if(!this.container)throw new ReferenceError("Container is falsy");this.inList?E.validate(this.parent,this.key,[e]):E.validate(this.parent,this.key,e),this.debug(function(){return"Replace with "+(e&&e.type)}),this.node=this.container[this.key]=e}function l(e){this.resync();var t=E.toSequenceExpression(e,this.scope);if(E.isSequenceExpression(t)){var n=t.expressions;n.length>=2&&this.parentPath.isExpressionStatement()&&this._maybePopFromStatements(n),1===n.length?this.replaceWith(n[0]):this.replaceWith(t)}else{if(!t){var r=E.functionExpression(null,[],E.blockStatement(e));r.shadow=!0,this.replaceWith(E.callExpression(r,[])),this.traverse(A);for(var i=this.get("callee").getCompletionRecords(),o=i,a=Array.isArray(o),s=0,o=a?o:(0,p.default)(o);;){var u;if(a){if(s>=o.length)break;u=o[s++]}else{if(s=o.next(),s.done)break;u=s.value}var l=u;if(l.isExpressionStatement()){var c=l.findParent(function(e){return e.isLoop()});if(c){var f=c.getData("expressionReplacementReturnUid");if(f)f=E.identifier(f.name);else{var d=this.get("callee");f=d.scope.generateDeclaredUidIdentifier("ret"),d.get("body").pushContainer("body",E.returnStatement(f)),c.setData("expressionReplacementReturnUid",f)}l.get("expression").replaceWith(E.assignmentExpression("=",f,l.node.expression))}else l.replaceWith(E.returnStatement(l.node.expression))}}return this.node}this.replaceWith(t)}}function c(e){return this.resync(),Array.isArray(e)?Array.isArray(this.container)?(e=this._verifyNodeList(e),this._containerInsertAfter(e),this.remove()):this.replaceWithMultiple(e):this.replaceWith(e)}t.__esModule=!0;var f=n(2),p=i(f);t.replaceWithMultiple=o,t.replaceWithSourceString=a,t.replaceWith=s,t._replaceWith=u,t.replaceExpressionWithStatements=l,t.replaceInline=c;var d=n(181),h=i(d),m=n(7),v=i(m),g=n(36),y=i(g),b=n(89),x=n(1),E=r(x),A={Function:function(e){e.skip()},VariableDeclaration:function(e){if("var"===e.node.kind){var t=e.getBindingIdentifiers();for(var n in t)e.scope.push({id:t[n]});for(var r=[],i=e.node.declarations,o=Array.isArray(i),a=0,i=o?i:(0,p.default)(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s;u.init&&r.push(E.expressionStatement(E.assignmentExpression("=",u.id,u.init)))}e.replaceWithMultiple(r)}}}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(3),a=i(o),s=n(225),u=(i(s),n(1)),l=r(u),c={ReferencedIdentifier:function(e,t){var n=e.node;n.name===t.oldName&&(n.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||e.skip()},"AssignmentExpression|Declaration":function(e,t){var n=e.getOuterBindingIdentifiers();for(var r in n)r===t.oldName&&(n[r].name=t.newName)}},f=function(){function e(t,n,r){(0,a.default)(this,e),this.newName=r,this.oldName=n,this.binding=t}return e.prototype.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath.isExportDeclaration()&&e.parentPath;if(t){var n=t.isExportDefaultDeclaration();n&&(e.isFunctionDeclaration()||e.isClassDeclaration())&&!e.node.id&&(e.node.id=e.scope.generateUidIdentifier("default"));var r=e.getOuterBindingIdentifiers(),i=[];for(var o in r){var a=o===this.oldName?this.newName:o,s=n?"default":o;i.push(l.exportSpecifier(l.identifier(a),l.identifier(s)))}if(i.length){var u=l.exportNamedDeclaration(null,i);e.isFunctionDeclaration()&&(u._blockHoist=3),t.insertAfter(u),t.replaceWith(e.node)}}},e.prototype.rename=function(e){var t=this.binding,n=this.oldName,r=this.newName,i=t.scope,o=t.path,a=o.find(function(e){return e.isDeclaration()||e.isFunctionExpression()});a&&this.maybeConvertFromExportDeclaration(a),i.traverse(e||i.block,c,this),e||(i.removeOwnBinding(n),i.bindings[r]=t,this.binding.identifier.name=r),"hoisted"===t.type},e}();t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e._exploded)return e;e._exploded=!0;for(var t in e)if(!d(t)){var n=t.split("|");if(1!==n.length){var r=e[t];delete e[t];for(var i=n,o=Array.isArray(i),s=0,i=o?i:(0,x.default)(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if(s=i.next(),s.done)break;u=s.value}var l=u;e[l]=r}}}a(e),delete e.__esModule,c(e),f(e);for(var m=(0,y.default)(e),v=Array.isArray(m),g=0,m=v?m:(0,x.default)(m);;){var b;if(v){if(g>=m.length)break;b=m[g++]; +}else{if(g=m.next(),g.done)break;b=g.value}var E=b;if(!d(E)){var C=A[E];if(C){var S=e[E];for(var D in S)S[D]=p(C,S[D]);if(delete e[E],C.types)for(var _=C.types,O=Array.isArray(_),M=0,_=O?_:(0,x.default)(_);;){var P;if(O){if(M>=_.length)break;P=_[M++]}else{if(M=_.next(),M.done)break;P=M.value}var F=P;e[F]?h(e[F],S):e[F]=S}else h(e,S)}}}for(var T in e)if(!d(T)){var B=e[T],I=w.FLIPPED_ALIAS_KEYS[T],R=w.DEPRECATED_KEYS[T];if(R&&(console.trace("Visitor defined for "+T+" but it has been renamed to "+R),I=[R]),I){delete e[T];for(var N=I,L=Array.isArray(N),j=0,N=L?N:(0,x.default)(N);;){var W;if(L){if(j>=N.length)break;W=N[j++]}else{if(j=N.next(),j.done)break;W=j.value}var U=W,z=e[U];z?h(z,B):e[U]=(0,k.default)(B)}}}for(var V in e)d(V)||f(e[V]);return e}function a(e){if(!e._verified){if("function"==typeof e)throw new Error(S.get("traverseVerifyRootFunction"));for(var t in e)if("enter"!==t&&"exit"!==t||s(t,e[t]),!d(t)){if(w.TYPES.indexOf(t)<0)throw new Error(S.get("traverseVerifyNodeType",t));var n=e[t];if("object"===("undefined"==typeof n?"undefined":(0,v.default)(n)))for(var r in n){if("enter"!==r&&"exit"!==r)throw new Error(S.get("traverseVerifyVisitorProperty",t,r));s(t+"."+r,n[r])}}e._verified=!0}}function s(e,t){for(var n=[].concat(t),r=n,i=Array.isArray(r),o=0,r=i?r:(0,x.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if("function"!=typeof s)throw new TypeError("Non-function found defined in "+e+" with type "+("undefined"==typeof s?"undefined":(0,v.default)(s)))}}function u(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r={},i=0;i1&&void 0!==arguments[1]?arguments[1]:e.key||e.property;return e.computed||w.isIdentifier(t)&&(t=w.stringLiteral(t.name)),t}function a(e,t,n){for(var r=[],i=!0,o=e,s=Array.isArray(o),u=0,o=s?o:(0,x.default)(o);;){var l;if(s){if(u>=o.length)break;l=o[u++]}else{if(u=o.next(),u.done)break;l=u.value}var c=l;if(i=!1,w.isExpression(c))r.push(c);else if(w.isExpressionStatement(c))r.push(c.expression);else if(w.isVariableDeclaration(c)){if("var"!==c.kind)return;for(var f=c.declarations,p=Array.isArray(f),d=0,f=p?f:(0,x.default)(f);;){var h;if(p){if(d>=f.length)break;h=f[d++]}else{if(d=f.next(),d.done)break;h=d.value}var m=h,v=w.getBindingIdentifiers(m);for(var g in v)n.push({kind:c.kind,id:v[g]});m.init&&r.push(w.assignmentExpression("=",m.id,m.init))}i=!0}else if(w.isIfStatement(c)){var y=c.consequent?a([c.consequent],t,n):t.buildUndefinedNode(),b=c.alternate?a([c.alternate],t,n):t.buildUndefinedNode();if(!y||!b)return;r.push(w.conditionalExpression(c.test,y,b))}else if(w.isBlockStatement(c)){var E=a(c.body,t,n);if(!E)return;r.push(E)}else{if(!w.isEmptyStatement(c))return;i=!0}}return i&&r.push(t.buildUndefinedNode()),1===r.length?r[0]:w.sequenceExpression(r)}function s(e,t){if(e&&e.length){var n=[],r=a(e,t,n);if(r){for(var i=n,o=Array.isArray(i),s=0,i=o?i:(0,x.default)(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if(s=i.next(),s.done)break;u=s.value}var l=u;t.push(l)}return r}}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.key,n=void 0;return"method"===e.kind?u.increment()+"":(n=w.isIdentifier(t)?t.name:w.isStringLiteral(t)?(0,y.default)(t.value):(0,y.default)(w.removePropertiesDeep(w.cloneDeep(t))),e.computed&&(n="["+n+"]"),e.static&&(n="static:"+n),n)}function l(e){return e+="",e=e.replace(/[^a-zA-Z0-9$_]/g,"-"),e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""}),w.isValidIdentifier(e)||(e="_"+e),e||"_"}function c(e){return e=l(e),"eval"!==e&&"arguments"!==e||(e="_"+e),e}function f(e,t){if(w.isStatement(e))return e;var n=!1,r=void 0;if(w.isClass(e))n=!0,r="ClassDeclaration";else if(w.isFunction(e))n=!0,r="FunctionDeclaration";else if(w.isAssignmentExpression(e))return w.expressionStatement(e);if(n&&!e.id&&(r=!1),!r){if(t)return!1;throw new Error("cannot turn "+e.type+" to a statement")}return e.type=r,e}function p(e){if(w.isExpressionStatement(e)&&(e=e.expression),w.isExpression(e))return e;if(w.isClass(e)?e.type="ClassExpression":w.isFunction(e)&&(e.type="FunctionExpression"),!w.isExpression(e))throw new Error("cannot turn "+e.type+" to an expression");return e}function d(e,t){return w.isBlockStatement(e)?e:(w.isEmptyStatement(e)&&(e=[]),Array.isArray(e)||(w.isStatement(e)||(e=w.isFunction(t)?w.returnStatement(e):w.expressionStatement(e)),e=[e]),w.blockStatement(e))}function h(e){if(void 0===e)return w.identifier("undefined");if(e===!0||e===!1)return w.booleanLiteral(e);if(null===e)return w.nullLiteral();if("string"==typeof e)return w.stringLiteral(e);if("number"==typeof e)return w.numericLiteral(e);if((0,S.default)(e)){var t=e.source,n=e.toString().match(/\/([a-z]+|)$/)[1];return w.regExpLiteral(t,n)}if(Array.isArray(e))return w.arrayExpression(e.map(w.valueToNode));if((0,A.default)(e)){var r=[];for(var i in e){var o=void 0;o=w.isValidIdentifier(i)?w.identifier(i):w.stringLiteral(i),r.push(w.objectProperty(o,w.valueToNode(e[i])))}return w.objectExpression(r)}throw new Error("don't know how to turn this value into a node")}t.__esModule=!0;var m=n(359),v=i(m),g=n(35),y=i(g),b=n(2),x=i(b);t.toComputedKey=o,t.toSequenceExpression=s,t.toKeyAlias=u,t.toIdentifier=l,t.toBindingIdentifierName=c,t.toStatement=f,t.toExpression=p,t.toBlock=d,t.valueToNode=h;var E=n(275),A=i(E),C=n(276),S=i(C),D=n(1),w=r(D);u.uid=0,u.increment=function(){return u.uid>=v.default?u.uid=0:u.uid++}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var o=n(1),a=i(o),s=n(135),u=n(26),l=r(u);(0,l.default)("ArrayExpression",{fields:{elements:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,l.default)("AssignmentExpression",{fields:{operator:{validate:(0,u.assertValueType)("string")},left:{validate:(0,u.assertNodeType)("LVal")},right:{validate:(0,u.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,l.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:u.assertOneOf.apply(void 0,s.BINARY_OPERATORS)},left:{validate:(0,u.assertNodeType)("Expression")},right:{validate:(0,u.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,l.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,u.assertNodeType)("DirectiveLiteral")}}}),(0,l.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,u.assertValueType)("string")}}}),(0,l.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Directive"))),default:[]},body:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,l.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,u.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,l.default)("CallExpression",{visitor:["callee","arguments"],fields:{callee:{validate:(0,u.assertNodeType)("Expression")},arguments:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Expression","SpreadElement")))}},aliases:["Expression"]}),(0,l.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,u.assertNodeType)("Identifier")},body:{validate:(0,u.assertNodeType)("BlockStatement")}},aliases:["Scopable"]}),(0,l.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},consequent:{validate:(0,u.assertNodeType)("Expression")},alternate:{validate:(0,u.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,l.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,u.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,l.default)("DebuggerStatement",{aliases:["Statement"]}),(0,l.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,l.default)("EmptyStatement",{aliases:["Statement"]}),(0,l.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,u.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,l.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,u.assertNodeType)("Program")}}}),(0,l.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,u.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,u.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,u.assertNodeType)("Expression"),optional:!0},update:{validate:(0,u.assertNodeType)("Expression"),optional:!0},body:{validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:{id:{validate:(0,u.assertNodeType)("Identifier")},params:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("LVal")))},body:{validate:(0,u.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,u.assertValueType)("boolean")},async:{default:!1,validate:(0,u.assertValueType)("boolean")}},aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,l.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{id:{validate:(0,u.assertNodeType)("Identifier"),optional:!0},params:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("LVal")))},body:{validate:(0,u.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,u.assertValueType)("boolean")},async:{default:!1,validate:(0,u.assertValueType)("boolean")}}}),(0,l.default)("Identifier",{builder:["name"],visitor:["typeAnnotation"],aliases:["Expression","LVal"],fields:{name:{validate:function(e,t,n){!a.isValidIdentifier(n)}},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator")))}}}),(0,l.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},consequent:{validate:(0,u.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,u.assertNodeType)("Identifier")},body:{validate:(0,u.assertNodeType)("Statement")}}}),(0,l.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,u.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,u.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,u.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,u.assertValueType)("string")},flags:{validate:(0,u.assertValueType)("string"),default:""}}}),(0,l.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:u.assertOneOf.apply(void 0,s.LOGICAL_OPERATORS)},left:{validate:(0,u.assertNodeType)("Expression")},right:{validate:(0,u.assertNodeType)("Expression")}}}),(0,l.default)("MemberExpression",{builder:["object","property","computed"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,u.assertNodeType)("Expression")},property:{validate:function(e,t,n){var r=e.computed?"Expression":"Identifier";(0,u.assertNodeType)(r)(e,t,n)}},computed:{default:!1}}}),(0,l.default)("NewExpression",{visitor:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,u.assertNodeType)("Expression")},arguments:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Expression","SpreadElement")))}}}),(0,l.default)("Program",{visitor:["directives","body"],builder:["body","directives"],fields:{directives:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Directive"))),default:[]},body:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","FunctionParent"]}),(0,l.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("ObjectMethod","ObjectProperty","SpreadProperty")))}}}),(0,l.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:{kind:{validate:(0,u.chain)((0,u.assertValueType)("string"),(0,u.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,u.assertValueType)("boolean"),default:!1},key:{validate:function(e,t,n){var r=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];u.assertNodeType.apply(void 0,r)(e,t,n)}},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator")))},body:{validate:(0,u.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,u.assertValueType)("boolean")},async:{default:!1,validate:(0,u.assertValueType)("boolean")}},visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,l.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,u.assertValueType)("boolean"),default:!1},key:{validate:function(e,t,n){var r=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];u.assertNodeType.apply(void 0,r)(e,t,n)}},value:{validate:(0,u.assertNodeType)("Expression","Pattern","RestElement")},shorthand:{validate:(0,u.assertValueType)("boolean"),default:!1},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,l.default)("RestElement",{visitor:["argument","typeAnnotation"],aliases:["LVal"],fields:{argument:{validate:(0,u.assertNodeType)("LVal")},decorators:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Decorator")))}}}),(0,l.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,u.assertNodeType)("Expression"),optional:!0}}}),(0,l.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,l.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,u.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("Statement")))}}}),(0,l.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,u.assertNodeType)("Expression")},cases:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("SwitchCase")))}}}),(0,l.default)("ThisExpression",{aliases:["Expression"]}),(0,l.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,u.assertNodeType)("Expression")}}}),(0,l.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{body:{validate:(0,u.assertNodeType)("BlockStatement")},handler:{optional:!0,handler:(0,u.assertNodeType)("BlockStatement")},finalizer:{optional:!0,validate:(0,u.assertNodeType)("BlockStatement")}}}),(0,l.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,u.assertNodeType)("Expression")},operator:{validate:u.assertOneOf.apply(void 0,s.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,l.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,u.assertNodeType)("Expression")},operator:{validate:u.assertOneOf.apply(void 0,s.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,l.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{kind:{validate:(0,u.chain)((0,u.assertValueType)("string"),(0,u.assertOneOf)("var","let","const"))},declarations:{validate:(0,u.chain)((0,u.assertValueType)("array"),(0,u.assertEach)((0,u.assertNodeType)("VariableDeclarator")))}}}),(0,l.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,u.assertNodeType)("LVal")},init:{optional:!0,validate:(0,u.assertNodeType)("Expression")}}}),(0,l.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("BlockStatement","Statement")}}}),(0,l.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{object:(0,u.assertNodeType)("Expression")},body:{validate:(0,u.assertNodeType)("BlockStatement","Statement")}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(26),o=r(i);(0,o.default)("AssignmentPattern",{visitor:["left","right"],aliases:["Pattern","LVal"],fields:{left:{validate:(0,i.assertNodeType)("Identifier")},right:{validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,o.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],aliases:["Pattern","LVal"],fields:{elements:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Identifier","Pattern","RestElement")))},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,o.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{params:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("LVal")))},body:{validate:(0,i.assertNodeType)("BlockStatement","Expression")},async:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,o.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ClassMethod","ClassProperty")))}}}),(0,o.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:{id:{validate:(0,i.assertNodeType)("Identifier")},body:{validate:(0,i.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,o.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:{id:{optional:!0,validate:(0,i.assertNodeType)("Identifier")},body:{validate:(0,i.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,o.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,i.assertNodeType)("StringLiteral")}}}),(0,o.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,i.assertNodeType)("FunctionDeclaration","ClassDeclaration","Expression")}}}),(0,o.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,i.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ExportSpecifier")))},source:{validate:(0,i.assertNodeType)("StringLiteral"),optional:!0}}}),(0,o.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")},exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,o.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,i.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,i.assertNodeType)("Expression")},body:{validate:(0,i.assertNodeType)("Statement")}}}),(0,o.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,i.assertNodeType)("StringLiteral")}}}),(0,o.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,o.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,o.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")},imported:{validate:(0,i.assertNodeType)("Identifier")},importKind:{validate:(0,i.assertOneOf)(null,"type","typeof")}}}),(0,o.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,i.assertValueType)("string")},property:{validate:(0,i.assertValueType)("string")}}}),(0,o.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:{kind:{validate:(0,i.chain)((0,i.assertValueType)("string"),(0,i.assertOneOf)("get","set","method","constructor")),default:"method"},computed:{default:!1,validate:(0,i.assertValueType)("boolean")},static:{default:!1,validate:(0,i.assertValueType)("boolean")},key:{validate:function(e,t,n){var r=e.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];i.assertNodeType.apply(void 0,r)(e,t,n)}},params:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("LVal")))},body:{validate:(0,i.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,i.assertValueType)("boolean")},async:{default:!1,validate:(0,i.assertValueType)("boolean")}}}),(0,o.default)("ObjectPattern",{visitor:["properties","typeAnnotation"],aliases:["Pattern","LVal"],fields:{properties:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("RestProperty","Property")))},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}}}),(0,o.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}}),(0,o.default)("Super",{aliases:["Expression"]}),(0,o.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,i.assertNodeType)("Expression")},quasi:{validate:(0,i.assertNodeType)("TemplateLiteral")}}}),(0,o.default)("TemplateElement",{builder:["value","tail"],fields:{value:{},tail:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,o.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("TemplateElement")))},expressions:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Expression")))}}}),(0,o.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,i.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,i.assertNodeType)("Expression")}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(26),o=r(i);(0,o.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}}),(0,o.default)("ForAwaitStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,i.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,i.assertNodeType)("Expression")},body:{validate:(0,i.assertNodeType)("Statement")}}}),(0,o.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),(0,o.default)("Import",{aliases:["Expression"]}),(0,o.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}}),(0,o.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,i.assertNodeType)("BlockStatement")}}}),(0,o.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,o.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,o.default)("RestProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,i.assertNodeType)("LVal")}}}),(0,o.default)("SpreadProperty",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(26),o=r(i);(0,o.default)("AnyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow"],fields:{}}),(0,o.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("BooleanLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,o.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,o.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed"],aliases:["Property"],fields:{computed:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,o.default)("DeclareClass",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareInterface",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareModule",{visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("ExistentialTypeParam",{aliases:["Flow"]}),(0,o.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow"],fields:{}}),(0,o.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{}}),(0,o.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,o.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,o.default)("InterfaceDeclaration",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"], +fields:{}}),(0,o.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,o.default)("MixedTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,o.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,o.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,o.default)("NumericLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,o.default)("NumberTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("StringLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,o.default)("StringTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("ThisTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("OpaqueType",{visitor:["id","typeParameters","impltype","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("TypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{}}),(0,o.default)("TypeParameter",{visitor:["bound"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeParameterDeclaration",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeParameterInstantiation",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,o.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties"],aliases:["Flow"],fields:{}}),(0,o.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("ObjectTypeIndexer",{visitor:["id","key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("ObjectTypeProperty",{visitor:["key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{}}),(0,o.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,o.default)("VoidTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}})},function(e,t,n){"use strict";n(26),n(386),n(387),n(389),n(391),n(392),n(388)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(26),o=r(i);(0,o.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,i.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,i.assertNodeType)("JSXElement","StringLiteral","JSXExpressionContainer")}}}),(0,o.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,i.assertNodeType)("JSXIdentifier","JSXMemberExpression")}}}),(0,o.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,i.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,i.assertNodeType)("JSXClosingElement")},children:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement")))}}}),(0,o.default)("JSXEmptyExpression",{aliases:["JSX","Expression"]}),(0,o.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}}),(0,o.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}}),(0,o.default)("JSXIdentifier",{builder:["name"],aliases:["JSX","Expression"],fields:{name:{validate:(0,i.assertValueType)("string")}}}),(0,o.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX","Expression"],fields:{object:{validate:(0,i.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,i.assertNodeType)("JSXIdentifier")}}}),(0,o.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,i.assertNodeType)("JSXIdentifier")},name:{validate:(0,i.assertNodeType)("JSXIdentifier")}}}),(0,o.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,i.assertNodeType)("JSXIdentifier","JSXMemberExpression")},selfClosing:{default:!1,validate:(0,i.assertValueType)("boolean")},attributes:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))}}}),(0,o.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}}),(0,o.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,i.assertValueType)("string")}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(26),o=r(i);(0,o.default)("Noop",{visitor:[]}),(0,o.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}})},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){var t=o(e);return 1===t.length?t[0]:u.unionTypeAnnotation(t)}function o(e){for(var t={},n={},r=[],i=[],a=0;a=0)){if(u.isAnyTypeAnnotation(s))return[s];if(u.isFlowBaseAnnotation(s))n[s.type]=s;else if(u.isUnionTypeAnnotation(s))r.indexOf(s.types)<0&&(e=e.concat(s.types),r.push(s.types));else if(u.isGenericTypeAnnotation(s)){var l=s.id.name;if(t[l]){var c=t[l];c.typeParameters?s.typeParameters&&(c.typeParameters.params=o(c.typeParameters.params.concat(s.typeParameters.params))):c=s.typeParameters}else t[l]=s}else i.push(s)}}for(var f in n)i.push(n[f]);for(var p in t)i.push(t[p]);return i}function a(e){if("string"===e)return u.stringTypeAnnotation();if("number"===e)return u.numberTypeAnnotation();if("undefined"===e)return u.voidTypeAnnotation();if("boolean"===e)return u.booleanTypeAnnotation();if("function"===e)return u.genericTypeAnnotation(u.identifier("Function"));if("object"===e)return u.genericTypeAnnotation(u.identifier("Object"));if("symbol"===e)return u.genericTypeAnnotation(u.identifier("Symbol"));throw new Error("Invalid typeof value")}t.__esModule=!0,t.createUnionTypeAnnotation=i,t.removeTypeDuplicates=o,t.createTypeAnnotationBasedOnTypeof=a;var s=n(1),u=r(s)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return!!e&&/^[a-z]|\-/.test(e)}function o(e,t){for(var n=e.value.split(/\r\n|\n|\r/),r=0,i=0;i=0)return!0}else if(o===e)return!0}return!1}function a(e,t){switch(t.type){case"BindExpression":return t.object===e||t.callee===e;case"MemberExpression":case"JSXMemberExpression":return!(t.property!==e||!t.computed)||t.object===e;case"MetaProperty":return!1;case"ObjectProperty":if(t.key===e)return t.computed;case"VariableDeclarator":return t.id!==e;case"ArrowFunctionExpression":case"FunctionDeclaration":case"FunctionExpression":for(var n=t.params,r=Array.isArray(n),i=0,n=r?n:(0,x.default)(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;if(a===e)return!1}return t.id!==e;case"ExportSpecifier":return!t.source&&t.local===e;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"JSXAttribute":return t.name!==e;case"ClassProperty":return t.key===e?t.computed:t.value===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ClassDeclaration":case"ClassExpression":return t.id!==e;case"ClassMethod":case"ObjectMethod":return t.key===e&&t.computed;case"LabeledStatement":return!1;case"CatchClause":return t.param!==e;case"RestElement":return!1;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"ObjectPattern":case"ArrayPattern":return!1}return!0}function s(e){return"string"==typeof e&&!C.default.keyword.isReservedWordES6(e,!0)&&("await"!==e&&C.default.keyword.isIdentifierNameES6(e))}function u(e){return D.isVariableDeclaration(e)&&("var"!==e.kind||e[w.BLOCK_SCOPED_SYMBOL])}function l(e){return D.isFunctionDeclaration(e)||D.isClassDeclaration(e)||D.isLet(e)}function c(e){return D.isVariableDeclaration(e,{kind:"var"})&&!e[w.BLOCK_SCOPED_SYMBOL]}function f(e){return D.isImportDefaultSpecifier(e)||D.isIdentifier(e.imported||e.exported,{name:"default"})}function p(e,t){return(!D.isBlockStatement(e)||!D.isFunction(t,{body:e}))&&D.isScopable(e)}function d(e){return!!D.isType(e.type,"Immutable")||!!D.isIdentifier(e)&&"undefined"===e.name}function h(e,t){if("object"!==("undefined"==typeof e?"undefined":(0,y.default)(e))||"object"!==("undefined"==typeof e?"undefined":(0,y.default)(e))||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var n=(0,v.default)(D.NODE_FIELDS[e.type]||e.type),r=n,i=Array.isArray(r),o=0,r=i?r:(0,x.default)(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;if((0,y.default)(e[s])!==(0,y.default)(t[s]))return!1;if(Array.isArray(e[s])){if(!Array.isArray(t[s]))return!1;if(e[s].length!==t[s].length)return!1;for(var u=0;u=0&&l>0){for(r=[],o=n.length;c>=0&&!s;)c==u?(r.push(c),u=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),l]:(i=r.pop(),i=0?u:l;r.length&&(s=[o,a])}return s}e.exports=n,n.range=i},function(e,t){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-n(e)}function i(e){var t,r,i,o,a,s=e.length;o=n(e),a=new c(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0;t>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=l[e.charCodeAt(t)]<<2|l[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=l[e.charCodeAt(t)]<<10|l[e.charCodeAt(t+1)]<<4|l[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}function o(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function a(e,t,n){for(var r,i=[],a=t;ac?c:l+s));return 1===r?(t=e[n-1],i+=u[t>>2],i+=u[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=u[t>>10],i+=u[t>>4&63],i+=u[t<<2&63],i+="="),o.push(i),o.join("")}t.byteLength=r,t.toByteArray=i,t.fromByteArray=s;for(var u=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=f.length;p=t}function p(e,t){var n=[],i=h("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var o=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),m=o||s,v=i.body.indexOf(",")>=0;if(!m&&!v)return i.post.match(/,.*\}/)?(e=i.pre+"{"+i.body+g+i.post,p(e)):[e];var y;if(m)y=i.body.split(/\.\./);else if(y=a(i.body),1===y.length&&(y=p(y[0],!1).map(u),1===y.length)){var b=i.post.length?p(i.post,!1):[""];return b.map(function(e){return i.pre+y[0]+e})}var x,E=i.pre,b=i.post.length?p(i.post,!1):[""];if(m){var A=r(y[0]),C=r(y[1]),S=Math.max(y[0].length,y[1].length),D=3==y.length?Math.abs(r(y[2])):1,w=c,_=C0){var F=new Array(P+1).join("0");M=O<0?"-"+F+M.slice(1):F+M}}x.push(M)}}else x=d(y,function(e){return p(e,!1)});for(var T=0;T + * @license MIT + */ +"use strict";function r(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(i()=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),a.alloc(+e)}function g(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return F(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function x(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:E(e,t,n,r,i);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):E(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function E(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(i){var c=-1;for(l=n;ls&&(n=s-u),l=n;l>=0;l--){for(var f=!0,p=0;pi&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,l,c,f;switch(s){case 1:o<128&&(a=o);break;case 2:u=e[i+1],128===(192&u)&&(f=(31&o)<<6|63&u,f>127&&(a=f));break;case 3:u=e[i+1],l=e[i+2],128===(192&u)&&128===(192&l)&&(f=(15&o)<<12|(63&u)<<6|63&l,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(f=(15&o)<<18|(63&u)<<12|(63&l)<<6|63&c,f>65535&&f<1114112&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return M(r)}function M(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function N(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function j(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(e,t,n,r,i){return i||j(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,i){return i||j(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,n,r,52,8),n+8}function z(e){if(e=V(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Y(e){for(var t=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function K(e){return J.toByteArray(z(e))}function X(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function $(e){return e!==e}var J=n(397),Q=n(465),Z=n(400);t.Buffer=a,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),t.kMaxLength=i(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return l(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},a.prototype.compare=function(e,t,n,r,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,s=n-t,u=Math.min(o,s),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return D(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e],i=1,o=0;++o=i&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;R(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+o]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return W(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return W(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o1)for(var r=1;rc;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){"use strict";var r=n(16),i=n(232),o=n(13)("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(421);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(23).f,i=n(90),o=n(146),a=n(43),s=n(136),u=n(55),l=n(143),c=n(233),f=n(436),p=n(22),d=n(57).fastKey,h=n(58),m=p?"_s":"size",v=function(e,t){var n,r=d(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&u(r,n,e[l],e)});return o(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=v(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!v(h(this,t),e)}}),p&&r(c.prototype,"size",{get:function(){return h(this,t)[m]}}),c},def:function(e,t,n){var r,i,o=v(e,t);return o?o.v=n:(e._l=o={i:i=d(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),e},getEntry:v,setStrong:function(e,t,n){l(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?c(0,n.k):"values"==t?c(0,n.v):c(0,[n.k,n.v]):(e._t=void 0,c(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var r=n(228),i=n(419);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},function(e,t,n){"use strict";var r=n(44),i=n(145),o=n(91);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(15).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(56),i=n(13)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(21);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){"use strict";var r=n(90),i=n(92),o=n(93),a={};n(29)(a,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(44),i=n(37);e.exports=function(e,t){for(var n,o=i(e),a=r(o),s=a.length,u=0;s>u;)if(o[n=a[u++]]===t)return n}},function(e,t,n){"use strict";var r=n(23),i=n(21),o=n(44);e.exports=n(22)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(37),o=n(236).f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==a.call(e)?u(e):o(i(e))}},function(e,t,n){"use strict";var r=n(28),i=n(94),o=n(150)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(12),i=n(5),o=n(27);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";var r=n(16),i=n(21),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(43)(Function.call,n(235).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){"use strict";var r=n(15),i=n(5),o=n(23),a=n(22),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(152),i=n(140);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):(o-55296<<10)+(a-56320)+65536)}}},function(e,t,n){"use strict";var r=n(152),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){"use strict";var r=n(21),i=n(238);e.exports=n(5).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";var r=n(418),i=n(233),o=n(56),a=n(37);e.exports=n(143)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(423),i=n(58),o="Map";e.exports=n(139)(o,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(i(this,o),e);return t&&t.v},set:function(e,t){return r.def(i(this,o),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(12);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){"use strict";var r=n(12);r(r.S+r.F,"Object",{assign:n(234)})},function(e,t,n){"use strict";var r=n(12);r(r.S,"Object",{create:n(90)})},function(e,t,n){"use strict";var r=n(94),i=n(44);n(434)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(12);r(r.S,"Object",{setPrototypeOf:n(435).set})},function(e,t,n){"use strict";var r,i=n(137)(0),o=n(147),a=n(57),s=n(234),u=n(229),l=n(16),c=n(27),f=n(58),p="WeakMap",d=a.getWeak,h=Object.isExtensible,m=u.ufstore,v={},g=function(e){ +return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(l(e)){var t=d(e);return t===!0?m(f(this,p)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,p),e,t)}},b=e.exports=n(139)(p,g,y,u,!0,!0);c(function(){return 7!=(new b).set((Object.freeze||Object)(v),7).get(v)})&&(r=u.getConstructor(g,p),s(r.prototype,y),a.NEED=!0,i(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];o(t,e,function(t,i){if(l(t)&&!h(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(229),i=n(58),o="WeakSet";n(139)(o,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,o),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";n(148)("Map")},function(e,t,n){"use strict";n(149)("Map")},function(e,t,n){"use strict";var r=n(12);r(r.P+r.R,"Map",{toJSON:n(424)("Map")})},function(e,t,n){"use strict";n(155)("asyncIterator")},function(e,t,n){"use strict";n(155)("observable")},function(e,t,n){"use strict";n(148)("WeakMap")},function(e,t,n){"use strict";n(149)("WeakMap")},function(e,t,n){"use strict";n(148)("WeakSet")},function(e,t,n){"use strict";n(149)("WeakSet")},function(e,t,n){"use strict";function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function i(e){function n(){if(n.enabled){var e=n,r=+new Date,i=r-(l||r);e.diff=i,e.prev=l,e.curr=r,l=r;for(var o=new Array(arguments.length),a=0;an||a===n&&s>r)&&(n=a,r=s,t=Number(i))}return t}var i=n(615),o=/^(?:( )+|\t+)/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t,n,a=0,s=0,u=0,l={};e.split(/\n/g).forEach(function(e){if(e){var r,i=e.match(o);i?(r=i[0].length,i[1]?s++:a++):r=0;var c=r-u;u=r,c?(n=c>0,t=l[n?c:-c],t?t[0]++:t=l[c]=[1,0]):t&&(t[1]+=Number(n))}});var c,f,p=r(l);return p?s>=a?(c="space",f=i(" ",p)):(c="tab",f=i("\t",p)):(c=null,f=""),{amount:p,type:c,indent:f}}},function(e,t){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},function(e,t){"use strict";!function(){function t(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){return r(e)||null!=e&&"FunctionDeclaration"===e.type}function o(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function a(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=o(t)}while(t);return!1}e.exports={isExpression:t,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:a,trailingStatement:o}}()},function(e,t,n){"use strict";!function(){function t(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,n){if(n&&t(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function s(e){return"eval"===e||"arguments"===e}function u(e){var t,n,r;if(0===e.length)return!1;if(r=e.charCodeAt(0),!d.isIdentifierStartES5(r))return!1;for(t=1,n=e.length;t=n)return!1;if(i=e.charCodeAt(t),!(56320<=i&&i<=57343))return!1;r=l(r,i)}if(!o(r))return!1;o=d.isIdentifierPartES6}return!0}function f(e,t){return u(e)&&!o(e,t)}function p(e,t){return c(e)&&!a(e,t)}var d=n(240);e.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:o,isReservedWordES6:a,isRestrictedWord:s,isIdentifierNameES5:u,isIdentifierNameES6:c,isIdentifierES5:f,isIdentifierES6:p}}()},function(e,t,n){"use strict";e.exports=n(630)},function(e,t,n){"use strict";var r=n(180),i=new RegExp(r().source);e.exports=i.test.bind(i)},function(e,t){"use strict";t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,p=n?-1:1,d=e[t+f];for(f+=p,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,r),o-=l}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+f>=1?p/u:p*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=h,s/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,l-=8);e[n+d-h]|=128*m}},function(e,t,n){"use strict";var r=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=r},function(e,t,n){"use strict";var r=n(603);e.exports=Number.isFinite||function(e){return!("number"!=typeof e||r(e)||e===1/0||e===-(1/0))}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyu]{1,5}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0]};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},function(e,t,n){var r;(function(e,i){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(a){var s="object"==o(t)&&t,u="object"==o(e)&&e&&e.exports==s&&e,l="object"==("undefined"==typeof i?"undefined":o(i))&&i;l.global!==l&&l.window!==l||(a=l);var c={},f=c.hasOwnProperty,p=function(e,t){var n;for(n in e)f.call(e,n)&&t(n,e[n])},d=function(e,t){return t?(p(t,function(t,n){e[t]=n}),e):e},h=function(e,t){for(var n=e.length,r=-1;++r=55296&&B<=56319&&j>L+1&&(I=N.charCodeAt(L+1),I>=56320&&I<=57343))){R=1024*(B-55296)+I-56320+65536;var U=R.toString(16);l||(U=U.toUpperCase()),o+="\\u{"+U+"}",L++}else{if(!n.escapeEverything){if(w.test(W)){o+=W;continue}if('"'==W){o+=a==W?'\\"':W;continue}if("'"==W){o+=a==W?"\\'":W;continue}}if("\0"!=W||i||D.test(N.charAt(L+1)))if(S.test(W))o+=C[W];else{var z=W.charCodeAt(0),U=z.toString(16);l||(U=U.toUpperCase());var V=U.length>2||i,G="\\"+(V?"u":"x")+("0000"+U).slice(V?-4:-2);o+=G}else o+="\\0"}}return n.wrap&&(o=a+o+a),n.escapeEtago?o.replace(/<\/(script|style)/gi,"<\\/$1"):o};_.version="1.3.0","object"==o(n(49))&&n(49)?(r=function(){return _}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))):s&&!s.nodeType?u?u.exports=_:s.jsesc=_:a.jsesc=_}(void 0)}).call(t,n(39)(e),function(){return this}())},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i="object"===r(t)?t:{};i.parse=function(){var e,t,n,i,o,a,s={"'":"'",'"':'"',"\\":"\\","/":"/","\n":"",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},u=[" ","\t","\r","\n","\v","\f"," ","\ufeff"],l=function(e){return""===e?"EOF":"'"+e+"'"},c=function r(i){var r=new SyntaxError;throw r.message=i+" at line "+t+" column "+n+" of the JSON5 data. Still to read: "+JSON.stringify(o.substring(e-1,e+19)),r.at=e,r.lineNumber=t,r.columnNumber=n,r},f=function(r){return r&&r!==i&&c("Expected "+l(r)+" instead of "+l(i)),i=o.charAt(e),e++,n++,("\n"===i||"\r"===i&&"\n"!==p())&&(t++,n=0),i},p=function(){return o.charAt(e)},d=function(){var e=i;for("_"!==i&&"$"!==i&&(i<"a"||i>"z")&&(i<"A"||i>"Z")&&c("Bad identifier as unquoted key");f()&&("_"===i||"$"===i||i>="a"&&i<="z"||i>="A"&&i<="Z"||i>="0"&&i<="9");)e+=i;return e},h=function e(){var e,t="",n="",r=10;if("-"!==i&&"+"!==i||(t=i,f(i)),"I"===i)return e=x(),("number"!=typeof e||isNaN(e))&&c("Unexpected word for number"),"-"===t?-e:e;if("N"===i)return e=x(),isNaN(e)||c("expected word to be NaN"),e;switch("0"===i&&(n+=i,f(),"x"===i||"X"===i?(n+=i,f(),r=16):i>="0"&&i<="9"&&c("Octal literal")),r){case 10:for(;i>="0"&&i<="9";)n+=i,f();if("."===i)for(n+=".";f()&&i>="0"&&i<="9";)n+=i;if("e"===i||"E"===i)for(n+=i,f(),"-"!==i&&"+"!==i||(n+=i,f());i>="0"&&i<="9";)n+=i,f();break;case 16:for(;i>="0"&&i<="9"||i>="A"&&i<="F"||i>="a"&&i<="f";)n+=i,f()}return e="-"===t?-n:+n,isFinite(e)?e:void c("Bad number")},m=function e(){var t,n,r,o,e="";if('"'===i||"'"===i)for(r=i;f();){if(i===r)return f(),e;if("\\"===i)if(f(),"u"===i){for(o=0,n=0;n<4&&(t=parseInt(f(),16),isFinite(t));n+=1)o=16*o+t;e+=String.fromCharCode(o)}else if("\r"===i)"\n"===p()&&f();else{if("string"!=typeof s[i])break;e+=s[i]}else{if("\n"===i)break;e+=i}}c("Bad string")},v=function(){"/"!==i&&c("Not an inline comment");do if(f(),"\n"===i||"\r"===i)return void f();while(i)},g=function(){"*"!==i&&c("Not a block comment");do for(f();"*"===i;)if(f("*"),"/"===i)return void f("/");while(i);c("Unterminated block comment")},y=function(){"/"!==i&&c("Not a comment"),f("/"),"/"===i?v():"*"===i?g():c("Unrecognized comment")},b=function(){for(;i;)if("/"===i)y();else{if(!(u.indexOf(i)>=0))return;f()}},x=function(){switch(i){case"t":return f("t"),f("r"),f("u"),f("e"),!0;case"f":return f("f"),f("a"),f("l"),f("s"),f("e"),!1;case"n":return f("n"),f("u"),f("l"),f("l"),null;case"I":return f("I"),f("n"),f("f"),f("i"),f("n"),f("i"),f("t"),f("y"),1/0;case"N":return f("N"),f("a"),f("N"),NaN}c("Unexpected "+l(i))},E=function e(){var e=[];if("["===i)for(f("["),b();i;){if("]"===i)return f("]"),e;if(","===i?c("Missing array element"):e.push(a()),b(),","!==i)return f("]"),e;f(","),b()}c("Bad array")},A=function e(){var t,e={};if("{"===i)for(f("{"),b();i;){if("}"===i)return f("}"),e;if(t='"'===i||"'"===i?m():d(),b(),f(":"),e[t]=a(),b(),","!==i)return f("}"),e;f(","),b()}c("Bad object")};return a=function(){switch(b(),i){case"{":return A();case"[":return E();case'"':case"'":return m();case"-":case"+":case".":return h();default:return i>="0"&&i<="9"?h():x()}},function(s,u){var l;return o=String(s),e=0,t=1,n=1,i=" ",l=a(),b(),i&&c("Syntax error"),"function"==typeof u?function e(t,n){var i,o,a=t[n];if(a&&"object"===("undefined"==typeof a?"undefined":r(a)))for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o=e(a,i),void 0!==o?a[i]=o:delete a[i]);return u.call(t,n,a)}({"":l},""):l}}(),i.stringify=function(e,t,n){function o(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e||"$"===e}function a(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e||"$"===e}function s(e){if("string"!=typeof e)return!1;if(!a(e[0]))return!1;for(var t=1,n=e.length;t10&&(e=e.substring(0,10));for(var r=n?"":"\n",i=0;i=0?i:void 0:i};i.isWord=s;var m,v=[];n&&("string"==typeof n?m=n:"number"==typeof n&&n>=0&&(m=f(" ",n,!0)));var g=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,y={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},b={"":e};return void 0===e?h(b,"",!0):d(b,"",!0)}},function(e,t){"use strict";var n=[],r=[];e.exports=function(e,t){if(e===t)return 0;var i=e.length,o=t.length;if(0===i)return o;if(0===o)return i;for(var a,s,u,l,c=0,f=0;cs?l>s?s+1:l:l>u?u+1:l;return s}},function(e,t,n){"use strict";var r=n(38),i=n(17),o=r(i,"DataView");e.exports=o},function(e,t,n){"use strict";function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1}var i=n(166);e.exports=r},function(e,t){"use strict";function n(e,t,n){for(var r=-1,i=null==e?0:e.length;++r=t?e:t)),e}e.exports=n},function(e,t,n){"use strict";var r=n(18),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},function(e,t,n){"use strict";var r=n(489),i=n(526),o=i(r);e.exports=o},function(e,t,n){"use strict";function r(e,t,n,a,s){var u=-1,l=e.length;for(n||(n=o),s||(s=[]);++u0&&n(c)?t>1?r(c,t-1,n,a,s):i(s,c):a||(s[s.length]=c)}return s}var i=n(161),o=n(543);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&i(e,t,o)}var i=n(248),o=n(32);e.exports=r},function(e,t){"use strict";function n(e,t){return null!=e&&i.call(e,t)}var r=Object.prototype,i=r.hasOwnProperty;e.exports=n},function(e,t){"use strict";function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t){"use strict";function n(e,t,n,r){for(var i=n-1,o=e.length;++i-1;)d!==e&&c.call(d,h,1),c.call(e,h,1);return e}var i=n(60),o=n(166),a=n(492),s=n(102),u=n(168),l=Array.prototype,c=l.splice;e.exports=r},function(e,t){"use strict";function n(e,t){var n="";if(!e||t<1||t>r)return n;do t%2&&(n+=e),t=i(t/2),t&&(e+=e);while(t);return n}var r=9007199254740991,i=Math.floor;e.exports=n},function(e,t,n){"use strict";var r=n(576),i=n(259),o=n(110),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},function(e,t){"use strict";function n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e.exports=n},function(e,t){"use strict";function n(e,t){for(var n=-1,r=Array(e);++n=c){var v=t?null:u(e);if(v)return l(v);d=!1,f=s,m=new i}else m=t?[]:h;e:for(;++rt||a&&s&&l&&!u&&!c||r&&s&&l||!n&&l||!o)return 1;if(!r&&!a&&!c&&e=u)return l;var c=n[r];return l*("desc"==c?-1:1)}}return e.index-t.index}var i=n(521);e.exports=r},function(e,t,n){"use strict";function r(e,t){return i(e,o(e),t)}var i=n(31),o=n(170);e.exports=r},function(e,t,n){"use strict";function r(e,t){return i(e,o(e),t)}var i=n(31),o=n(263);e.exports=r},function(e,t,n){"use strict";var r=n(17),i=r["__core-js_shared__"];e.exports=i},function(e,t,n){"use strict";function r(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a-1}var i=n(100);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var i=n(100);e.exports=r},function(e,t,n){"use strict";function r(){this.size=0,this.__data__={hash:new i,map:new(a||o),string:new i}}var i=n(473),o=n(98),a=n(159);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}var i=n(104);e.exports=r},function(e,t,n){"use strict";function r(e){return i(this,e).get(e)}var i=n(104);e.exports=r},function(e,t,n){"use strict";function r(e){return i(this,e).has(e)}var i=n(104);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var i=n(104);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}var i=n(589),o=500;e.exports=r},function(e,t,n){"use strict";var r=n(271),i=r(Object.keys,Object);e.exports=i},function(e,t){"use strict";function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t){"use strict";function n(e){return i.call(e)}var r=Object.prototype,i=r.toString;e.exports=n},function(e,t,n){"use strict";function r(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=o(r.length-t,0),u=Array(s);++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,i=16,o=Date.now;e.exports=n},function(e,t,n){"use strict";function r(){this.__data__=new i,this.size=0}var i=n(98);e.exports=r},function(e,t){"use strict";function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){"use strict";function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){"use strict";function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){"use strict";function r(e,t){var n=this.__data__;if(n instanceof i){var r=n.__data__;if(!o||r.length1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])});e.exports=s},function(e,t,n){"use strict";function r(e,t,n){return e=s(e),n=null==n?0:i(a(n),0,e.length),t=o(t),e.slice(n,n+t.length)==t}var i=n(485),o=n(253),a=n(48),s=n(114);e.exports=r},function(e,t){"use strict";function n(){return!1}e.exports=n},function(e,t,n){"use strict";function r(e){if(!e)return 0===e?e:0;if(e=i(e),e===o||e===-o){var t=e<0?-1:1;return t*a}return e===e?e:0}var i=n(598),o=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t,n){"use strict";function r(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=l.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):u.test(e)?a:+e}var i=n(18),o=n(62),a=NaN,s=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){"use strict";function r(e){return i(e,o(e))}var i=n(31),o=n(47);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.length?i(e):[]}var i=n(514);e.exports=r},function(e,t,n){"use strict";function r(e){return e.split("").reduce(function(e,t){return e[t]=!0,e},{})}function i(e,t){return t=t||{},function(n,r,i){return a(n,e,t)}}function o(e,t){e=e||{},t=t||{};var n={};return Object.keys(t).forEach(function(e){n[e]=t[e]}),Object.keys(e).forEach(function(t){n[t]=e[t]}),n}function a(e,t,n){if("string"!=typeof t)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new s(t,n).match(e))}function s(e,t){if(!(this instanceof s))return new s(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==v.sep&&(e=e.split(v.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function u(){if(!this._made){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error),this.debug(this.pattern,n),n=this.globParts=n.map(function(e){return e.split(D)}),this.debug(this.pattern,n),n=n.map(function(e,t,n){return e.map(this.parse,this)},this),this.debug(this.pattern,n),n=n.filter(function(e){return e.indexOf(!1)===-1}),this.debug(this.pattern,n),this.set=n}}function l(){var e=this.pattern,t=!1,n=this.options,r=0;if(!n.nonegate){for(var i=0,o=e.length;i65536)throw new TypeError("pattern is too long");var r=this.options;if(!r.noglobstar&&"**"===e)return g;if(""===e)return"";for(var i,o,a="",s=!!r.nocase,u=!1,l=[],c=[],f=!1,p=-1,d=-1,m="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",v=this,y=0,A=e.length;y-1;P--){var F=c[P],T=a.slice(0,F.reStart),B=a.slice(F.reStart,F.reEnd-8),I=a.slice(F.reEnd-8,F.reEnd),R=a.slice(F.reEnd);I+=R;var N=T.split("(").length-1,L=R;for(y=0;y=0&&!(i=e[o]);o--);for(o=0;o>> no match, partial?",e,c,t,f),c!==a))}var d;if("string"==typeof u?(d=r.nocase?l.toLowerCase()===u.toLowerCase():l===u,this.debug("string match",u,l,d)):(d=l.match(u),this.debug("pattern match",u,l,d)),!d)return!1}if(i===a&&o===s)return!0;if(i===a)return n;if(o===s){var h=i===a-1&&""===e[i];return h}throw new Error("wtf?")}},function(e,t){"use strict";function n(e){if(e=String(e),!(e.length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*u;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=l?Math.round(e/l)+"h":e>=u?Math.round(e/u)+"m":e>=s?Math.round(e/s)+"s":e+"ms"}function i(e){return o(e,c,"day")||o(e,l,"hour")||o(e,u,"minute")||o(e,s,"second")||e+" ms"}function o(e,t,n){if(!(e0)return n(e);if("number"===o&&isNaN(e)===!1)return t.long?i(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){"use strict";e.exports=Number.isNaN||function(e){return e!==e}},function(e,t,n){(function(t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,n=t.exec(e),r=n[1]||"",i=Boolean(r&&":"!==r.charAt(1));return Boolean(n[2]||i)}e.exports="win32"===t.platform?r:n,e.exports.posix=n,e.exports.win32=r}).call(t,n(8))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}var o=n(14),a=i(o),s=n(1),u=r(s),l=n(116),c=r(l),f=Object.prototype.hasOwnProperty;t.hoist=function(e){function t(e,t){u.assertVariableDeclaration(e);var r=[];return e.declarations.forEach(function(e){n[e.id.name]=u.identifier(e.id.name),e.init?r.push(u.assignmentExpression("=",e.id,e.init)):t&&r.push(e.id)}),0===r.length?null:1===r.length?r[0]:u.sequenceExpression(r)}u.assertFunction(e.node);var n={};e.get("body").traverse({VariableDeclaration:{exit:function(e){var n=t(e.node,!1);null===n?e.remove():c.replaceWithOrRemove(e,u.expressionStatement(n)),e.skip()}},ForStatement:function(e){var n=e.node.init;u.isVariableDeclaration(n)&&c.replaceWithOrRemove(e.get("init"),t(n,!1))},ForXStatement:function(e){var n=e.get("left");n.isVariableDeclaration()&&c.replaceWithOrRemove(n,t(n.node,!0))},FunctionDeclaration:function(e){var t=e.node;n[t.id.name]=t.id;var r=u.expressionStatement(u.assignmentExpression("=",t.id,u.functionExpression(t.id,t.params,t.body,t.generator,t.expression)));e.parentPath.isBlockStatement()?(e.parentPath.unshiftContainer("body",r),e.remove()):c.replaceWithOrRemove(e,r),e.skip()},FunctionExpression:function(e){e.skip()}});var r={};e.get("params").forEach(function(e){var t=e.node;u.isIdentifier(t)&&(r[t.name]=t)});var i=[];return(0,a.default)(n).forEach(function(e){f.call(r,e)||i.push(u.variableDeclarator(n[e],null))}),0===i.length?null:u.variableDeclaration("var",i)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){return n(610)}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(){m.default.ok(this instanceof o)}function a(e){o.call(this),g.assertLiteral(e),this.returnLoc=e}function s(e,t,n){o.call(this),g.assertLiteral(e),g.assertLiteral(t),n?g.assertIdentifier(n):n=null,this.breakLoc=e,this.continueLoc=t,this.label=n}function u(e){o.call(this),g.assertLiteral(e),this.breakLoc=e}function l(e,t,n){o.call(this),g.assertLiteral(e),t?m.default.ok(t instanceof c):t=null,n?m.default.ok(n instanceof f):n=null,m.default.ok(t||n),this.firstLoc=e,this.catchEntry=t,this.finallyEntry=n}function c(e,t){o.call(this),g.assertLiteral(e),g.assertIdentifier(t),this.firstLoc=e,this.paramId=t}function f(e,t){o.call(this),g.assertLiteral(e),g.assertLiteral(t),this.firstLoc=e,this.afterLoc=t}function p(e,t){o.call(this),g.assertLiteral(e),g.assertIdentifier(t),this.breakLoc=e,this.label=t}function d(e){m.default.ok(this instanceof d);var t=n(283).Emitter;m.default.ok(e instanceof t),this.emitter=e,this.entryStack=[new a(e.finalLoc)]}var h=n(64),m=i(h),v=n(1),g=r(v),y=n(117);(0,y.inherits)(a,o),t.FunctionEntry=a,(0,y.inherits)(s,o),t.LoopEntry=s,(0,y.inherits)(u,o),t.SwitchEntry=u,(0,y.inherits)(l,o),t.TryEntry=l,(0,y.inherits)(c,o),t.CatchEntry=c,(0,y.inherits)(f,o),t.FinallyEntry=f,(0,y.inherits)(p,o),t.LabeledEntry=p;var b=d.prototype;t.LeapManager=d,b.withEntry=function(e,t){m.default.ok(e instanceof o),this.entryStack.push(e);try{t.call(this.emitter)}finally{var n=this.entryStack.pop();m.default.strictEqual(n,e)}},b._findLeapLocation=function(e,t){for(var n=this.entryStack.length-1;n>=0;--n){var r=this.entryStack[n],i=r[e];if(i)if(t){if(r.label&&r.label.name===t.name)return i}else if(!(r instanceof p))return i}return null},b.getBreakLoc=function(e){return this._findLeapLocation("breakLoc",e)},b.getContinueLoc=function(e){return this._findLeapLocation("continueLoc",e)}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){function n(e){function t(e){return n||(Array.isArray(e)?e.some(t):l.isNode(e)&&(s.default.strictEqual(n,!1),n=r(e))),n}l.assertNode(e);var n=!1,i=l.VISITOR_KEYS[e.type];if(i)for(var o=0;o0&&(a.node.body=l);var c=o(e);f.assertIdentifier(n.id);var h=f.identifier(n.id.name+"$"),v=(0,p.hoist)(e),y=s(e,i);if(y){v=v||f.variableDeclaration("var",[]);var b=f.identifier("arguments");b._shadowedFunctionLiteral=e,v.declarations.push(f.variableDeclarator(i,b))}var A=new d.Emitter(r);A.explode(e.get("body")),v&&v.declarations.length>0&&u.push(v);var C=[A.getContextFunction(h),n.generator?c:f.nullLiteral(),f.thisExpression()],S=A.getTryLocsList();S&&C.push(S);var D=f.callExpression(g.runtimeProperty(n.async?"async":"wrap"),C);u.push(f.returnStatement(D)),n.body=f.blockStatement(u);var w=a.node.directives;w&&(n.body.directives=w);var _=n.generator;_&&(n.generator=!1),n.async&&(n.async=!1),_&&f.isExpression(n)&&(g.replaceWithOrRemove(e,f.callExpression(g.runtimeProperty("mark"),[n])),e.addComment("leading","#__PURE__")),e.requeue()}}};var y=n(281).makeAccessor(),b={"FunctionExpression|FunctionDeclaration":function(e){e.skip()},Identifier:function(e,t){"arguments"===e.node.name&&g.isReference(e)&&(g.replaceWithOrRemove(e,t.argsId),t.didRenameArguments=!0)}},x={MetaProperty:function(e){var t=e.node;"function"===t.meta.name&&"sent"===t.property.name&&g.replaceWithOrRemove(e,f.memberExpression(this.context,f.identifier("_sent")))}},E={Function:function(e){e.skip()},AwaitExpression:function(e){var t=e.node.argument;g.replaceWithOrRemove(e,f.yieldExpression(f.callExpression(g.runtimeProperty("awrap"),[t]),!1))}}},function(e,t,n){"use strict";var r=n(282);t.REGULAR={d:r().addRange(48,57),D:r().addRange(0,47).addRange(58,65535),s:r(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535),w:r(95).addRange(48,57).addRange(65,90).addRange(97,122),W:r(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)},t.UNICODE={d:r().addRange(48,57),D:r().addRange(0,47).addRange(58,1114111),s:r(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:r(95).addRange(48,57).addRange(65,90).addRange(97,122),W:r(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)},t.UNICODE_IGNORE_CASE={d:r().addRange(48,57),D:r().addRange(0,47).addRange(58,1114111),s:r(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:r().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:r(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122),W:r(75,83,96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)}},function(e,t,n){"use strict";function r(e){return C?A?m.UNICODE_IGNORE_CASE[e]:m.UNICODE[e]:m.REGULAR[e]}function i(e,t){return g.call(e,t)}function o(e,t){for(var n in t)e[n]=t[n]}function a(e,t){if(t){var n=p(t,"");switch(n.type){case"characterClass":case"group":case"value":break;default:n=s(n,t)}o(e,n)}}function s(e,t){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+t+")"}}function u(e){return!!i(h,e)&&h[e]}function l(e){var t=d();e.body.forEach(function(e){switch(e.type){case"value":if(t.add(e.codePoint),A&&C){var n=u(e.codePoint);n&&t.add(n)}break;case"characterClassRange":var i=e.min.codePoint,o=e.max.codePoint;t.addRange(i,o),A&&C&&t.iuAddRange(i,o);break;case"characterClassEscape":t.add(r(e.value));break;default:throw Error("Unknown term type: "+e.type)}});return e.negative&&(t=(C?y:b).clone().remove(t)),a(e,t.toString()),e}function c(e){switch(e.type){case"dot":a(e,(C?x:E).toString());break;case"characterClass":e=l(e);break;case"characterClassEscape":a(e,r(e.value).toString());break;case"alternative":case"disjunction":case"group":case"quantifier":e.body=e.body.map(c);break;case"value":var t=e.codePoint,n=d(t);if(A&&C){var i=u(t);i&&n.add(i)}a(e,n.toString());break;case"anchor":case"empty":case"group":case"reference":break;default:throw Error("Unknown term type: "+e.type)}return e}var f=n(613).generate,p=n(614).parse,d=n(282),h=n(631),m=n(611),v={},g=v.hasOwnProperty,y=d().addRange(0,1114111),b=d().addRange(0,65535),x=y.clone().remove(10,13,8232,8233),E=x.clone().intersection(b);d.prototype.iuAddRange=function(e,t){var n=this;do{var r=u(e);r&&n.add(r)}while(++e<=t); +return n};var A=!1,C=!1;e.exports=function(e,t){var n=p(e,t);return A=!!t&&t.indexOf("i")>-1,C=!!t&&t.indexOf("u")>-1,o(n,c(n)),f(n)}},function(e,t,n){var r;(function(e,i){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(){function a(){var e,t,n=16384,r=[],i=-1,o=arguments.length;if(!o)return"";for(var a="";++i1114111||O(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?r.push(s):(s-=65536,e=(s>>10)+55296,t=s%1024+56320,r.push(e,t)),(i+1==o||r.length>n)&&(a+=k.apply(null,r),r.length=0)}return a}function s(e,t){if(t.indexOf("|")==-1){if(e==t)return;throw Error("Invalid node type: "+e)}if(t=s.hasOwnProperty(t)?s[t]:s[t]=RegExp("^(?:"+t+")$"),!t.test(e))throw Error("Invalid node type: "+e)}function u(e){var t=e.type;if(u.hasOwnProperty(t)&&"function"==typeof u[t])return u[t](e);throw Error("Invalid node type: "+t)}function l(e){s(e.type,"alternative");var t=e.body,n=t?t.length:0;if(1==n)return E(t[0]);for(var r=-1,i="";++r=55296&&n<=56319&&(r=E().charCodeAt(0),r>=56320&&r<=57343))return J++,o("symbol",1024*(n-55296)+r-56320+65536,J-2,J)}return o("symbol",n,J-1,J)}function u(e,t,r){return n({type:"disjunction",body:e,range:[t,r]})}function l(){return n({type:"dot",range:[J-1,J]})}function c(e){return n({type:"characterClassEscape",value:e,range:[J-2,J]})}function f(e){return n({type:"reference",matchIndex:parseInt(e,10),range:[J-1-e.length,J]})}function p(e,t,r,i){return n({type:"group",behavior:e,body:t,range:[r,i]})}function d(e,t,r,i){return null==i&&(r=J-1,i=J),n({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[r,i]})}function h(e,t,r){return n({type:"alternative",body:e,range:[t,r]})}function m(e,t,r,i){return n({type:"characterClass",body:e,negative:t,range:[r,i]})}function v(e,t,r,i){return e.codePoint>t.codePoint&&Y("invalid range in character class",e.raw+"-"+t.raw,r,i),n({type:"characterClassRange",min:e,max:t,range:[r,i]})}function g(e){return"alternative"===e.type?e.body:[e]}function y(t){t=t||1;var n=e.substring(J,J+t);return J+=t||1,n}function b(e){x(e)||Y("character",e)}function x(t){if(e.indexOf(t,J)===J)return y(t.length)}function E(){return e[J]}function A(t){return e.indexOf(t,J)===J}function C(t){return e[J+1]===t}function S(t){var n=e.substring(J),r=n.match(t);return r&&(r.range=[],r.range[0]=J,y(r[0].length),r.range[1]=J),r}function D(){var e=[],t=J;for(e.push(w());x("|");)e.push(w());return 1===e.length?e[0]:u(e,t,J)}function w(){for(var e,t=[],n=J;e=_();)t.push(e);return 1===t.length?t[0]:h(t,n,J)}function _(){if(J>=e.length||A("|")||A(")"))return null;var t=O();if(t)return t;var n=P();n||Y("Expected atom");var i=M()||!1;return i?(i.body=g(n),r(i,n.range[0]),i):n}function k(e,t,n,r){var i=null,o=J;if(x(e))i=t;else{if(!x(n))return!1;i=r}var a=D();a||Y("Expected disjunction"),b(")");var s=p(i,g(a),o,J);return"normal"==i&&X&&K++,s}function O(){return x("^")?i("start",1):x("$")?i("end",1):x("\\b")?i("boundary",2):x("\\B")?i("not-boundary",2):k("(?=","lookahead","(?!","negativeLookahead")}function M(){var e,t,n,r,i=J;return x("*")?t=d(0):x("+")?t=d(1):x("?")?t=d(0,1):(e=S(/^\{([0-9]+)\}/))?(n=parseInt(e[1],10),t=d(n,n,e.range[0],e.range[1])):(e=S(/^\{([0-9]+),\}/))?(n=parseInt(e[1],10),t=d(n,void 0,e.range[0],e.range[1])):(e=S(/^\{([0-9]+),([0-9]+)\}/))&&(n=parseInt(e[1],10),r=parseInt(e[2],10),n>r&&Y("numbers out of order in {} quantifier","",i,J),t=d(n,r,e.range[0],e.range[1])),t&&x("?")&&(t.greedy=!1,t.range[1]+=1),t}function P(){var e;return(e=S(/^[^^$\\.*+?(){[|]/))?s(e):x(".")?l():x("\\")?(e=B(),e||Y("atomEscape"),e):(e=j())?e:k("(?:","ignore","(","normal")}function F(e){if($){var t,r;if("unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&&A("\\")&&C("u")){var i=J;J++;var o=T();"unicodeEscape"==o.kind&&(r=o.codePoint)>=56320&&r<=57343?(e.range[1]=o.range[1],e.codePoint=1024*(t-55296)+r-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",n(e)):J=i}}return e}function T(){return B(!0)}function B(e){var t,n=J;if(t=I())return t;if(e){if(x("b"))return a("singleEscape",8,"\\b");x("B")&&Y("\\B not possible inside of CharacterClass","",n)}return t=R()}function I(){var e,t;if(e=S(/^(?!0)\d+/)){t=e[0];var n=parseInt(e[0],10);return n<=K?f(e[0]):(q.push(n),y(-e[0].length),(e=S(/^[0-7]{1,3}/))?a("octal",parseInt(e[0],8),e[0],1):(e=s(S(/^[89]/)),r(e,e.range[0]-1)))}return(e=S(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?a("null",0,"0",t.length+1):a("octal",parseInt(t,8),t,1)):!!(e=S(/^[dDsSwW]/))&&c(e[0])}function R(){var e;if(e=S(/^[fnrtv]/)){var t=0;switch(e[0]){case"t":t=9;break;case"n":t=10;break;case"v":t=11;break;case"f":t=12;break;case"r":t=13}return a("singleEscape",t,"\\"+e[0])}return(e=S(/^c([a-zA-Z])/))?a("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=S(/^x([0-9a-fA-F]{2})/))?a("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=S(/^u([0-9a-fA-F]{4})/))?F(a("unicodeEscape",parseInt(e[1],16),e[1],2)):$&&(e=S(/^u\{([0-9a-fA-F]+)\}/))?a("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):L()}function N(e){var t=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&t.test(String.fromCharCode(e))}function L(){var e,t="‌",n="‍";return N(E())?x(t)?a("identifier",8204,t):x(n)?a("identifier",8205,n):null:(e=y(),a("identifier",e.charCodeAt(0),e,1))}function j(){var e,t=J;return(e=S(/^\[\^/))?(e=W(),b("]"),m(e,!0,t,J)):x("[")?(e=W(),b("]"),m(e,!1,t,J)):null}function W(){var e;return A("]")?[]:(e=z(),e||Y("nonEmptyClassRanges"),e)}function U(e){var t,n,r;if(A("-")&&!C("]")){b("-"),r=G(),r||Y("classAtom"),n=J;var i=W();return i||Y("classRanges"),t=e.range[0],"empty"===i.type?[v(e,r,t,n)]:[v(e,r,t,n)].concat(i)}return r=V(),r||Y("nonEmptyClassRangesNoDash"),[e].concat(r)}function z(){var e=G();return e||Y("classAtom"),A("]")?[e]:U(e)}function V(){var e=G();return e||Y("classAtom"),A("]")?e:U(e)}function G(){return x("-")?s("-"):H()}function H(){var e;return(e=S(/^[^\\\]-]/))?s(e[0]):x("\\")?(e=T(),e||Y("classEscape"),F(e)):void 0}function Y(t,n,r,i){r=null==r?J:r,i=null==i?r:i;var o=Math.max(0,r-10),a=Math.min(i+10,e.length),s=" "+e.substring(o,a),u=" "+new Array(r-o+1).join(" ")+"^";throw SyntaxError(t+" at position "+r+(n?": "+n:"")+"\n"+s+"\n"+u)}var q=[],K=0,X=!0,$=(t||"").indexOf("u")!==-1,J=0;e=String(e),""===e&&(e="(?:)");var Q=D();Q.range[1]!==e.length&&Y("Could not parse entire input - got stuck","",Q.range[1]);for(var Z=0;Z>=1);return n}},function(e,t){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e0?r-u>1?n(u,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r1?n(e,u,i,o,a,s):s==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,i,o){if(0===r.length)return-1;var a=n(-1,r.length,e,r,i,o||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}},function(e,t,n){"use strict";function r(e,t){var n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=i||o.compareByGeneratedPositionsInflated(e,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var o=n(63);i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(o.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},function(e,t){"use strict";function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,o,a){if(o=0){var o=this._originalMappings[i];if(void 0===e.column)for(var a=o.originalLine;o&&o.originalLine===a;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return r},t.SourceMapConsumer=r,i.prototype=Object.create(r.prototype),i.prototype.consumer=r,i.fromSourceMap=function(e){var t=Object.create(i.prototype),n=t._names=l.fromArray(e._names.toArray(),!0),r=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),u=t.__generatedMappings=[],c=t.__originalMappings=[],p=0,d=a.length;p1&&(n.source=m+i[1],m+=i[1],n.originalLine=d+i[2],d=n.originalLine,n.originalLine+=1,n.originalColumn=h+i[3],h=n.originalColumn,i.length>4&&(n.name=v+i[4],v+=i[4])),A.push(n),"number"==typeof n.originalLine&&E.push(n)}f(A,s.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,f(E,s.compareByOriginalPositions),this.__originalMappings=E},i.prototype._findMapping=function(e,t,n,r,i,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return u.search(e,t,i,o)},i.prototype.computeColumnSpans=function(){for(var e=0;e=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=s.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),null!=this.sourceRoot&&(o=s.join(this.sourceRoot,o)));var a=s.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:s.getArg(i,"originalLine",null),column:s.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},i.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},i.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=s.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=s.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},i.prototype.generatedPositionFor=function(e){var t=s.getArg(e,"source");if(null!=this.sourceRoot&&(t=s.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var n={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=i,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t0&&(p&&i(p,l()),s.add(u.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),s.setSourceContent(e,r))}),s},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n0){for(t=[],n=0;n1&&(n+=" ("+p+")")),e(t.content,l({filename:n},r(t))).code}function r(e){return{presets:e.presets||["react","es2015"],plugins:e.plugins||["transform-class-properties","transform-object-rest-spread","transform-flow-strip-types"],sourceMaps:"inline"}}function i(e,t){var r=document.createElement("script");r.text=n(e,t),f.appendChild(r)}function o(e,t,n){var r=new XMLHttpRequest;return r.open("GET",e,!0),"overrideMimeType"in r&&r.overrideMimeType("text/plain"),r.onreadystatechange=function(){if(4===r.readyState){if(0!==r.status&&200!==r.status)throw n(),new Error("Could not load "+e);t(r.responseText)}},r.send(null)}function a(e,t){var n=e.getAttribute(t);return""===n?[]:n?n.split(",").map(function(e){return e.trim()}):null}function s(e,t){function n(){var t,n;for(n=0;n0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-n(e)}function i(e){var t,r,i,o,a,s=e.length;o=n(e),a=new c(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0;t>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=l[e.charCodeAt(t)]<<2|l[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=l[e.charCodeAt(t)]<<10|l[e.charCodeAt(t+1)]<<4|l[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}function o(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function a(e,t,n){for(var r,i=[],a=t;ac?c:l+s));return 1===r?(t=e[n-1],i+=u[t>>2],i+=u[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=u[t>>10],i+=u[t>>4&63],i+=u[t<<2&63],i+="="),o.push(i),o.join("")}t.byteLength=r,t.toByteArray=i,t.fromByteArray=s;for(var u=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=f.length;p1&&n[1]||""}function n(t){var n=e.match(t);return n&&n.length>1&&n[2]||""}function r(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var i,o=t(/(ipod|iphone|ipad)/i).toLowerCase(),s=/like android/i.test(e),u=!s&&/android/i.test(e),l=/nexus\s*[0-6]\s*/i.test(e),c=!l&&/nexus\s*[0-9]+/i.test(e),f=/CrOS/.test(e),p=/silk/i.test(e),d=/sailfish/i.test(e),h=/tizen/i.test(e),m=/(web|hpw)os/i.test(e),v=/windows phone/i.test(e),g=(/SamsungBrowser/i.test(e),!v&&/windows/i.test(e)),y=!o&&!p&&/macintosh/i.test(e),b=!u&&!d&&!h&&!m&&/linux/i.test(e),x=n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),E=t(/version\/(\d+(\.\d+)?)/i),A=/tablet/i.test(e)&&!/tablet pc/i.test(e),C=!A&&/[^-]mobi/i.test(e),S=/xbox/i.test(e);/opera/i.test(e)?i={name:"Opera",opera:a,version:E||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(e)?i={name:"Opera",opera:a,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||E}:/SamsungBrowser/i.test(e)?i={name:"Samsung Internet for Android",samsungBrowser:a,version:E||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(e)?i={name:"Opera Coast",coast:a,version:E||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?i={name:"Yandex Browser",yandexbrowser:a,version:E||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?i={name:"UC Browser",ucbrowser:a,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?i={name:"Maxthon",maxthon:a,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?i={name:"Epiphany",epiphany:a,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?i={name:"Puffin",puffin:a,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?i={name:"Sleipnir",sleipnir:a,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?i={name:"K-Meleon",kMeleon:a,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:v?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:a},x?(i.msedge=a,i.version=x):(i.msie=a,i.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?i={name:"Internet Explorer",msie:a,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:f?i={name:"Chrome",osname:"Chrome OS",chromeos:a,chromeBook:a,chrome:a,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(e)?i={name:"Microsoft Edge",msedge:a,version:x}:/vivaldi/i.test(e)?i={name:"Vivaldi",vivaldi:a,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||E}:d?i={name:"Sailfish",osname:"Sailfish OS",sailfish:a,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?i={name:"SeaMonkey",seamonkey:a,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(i={name:"Firefox",firefox:a,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(i.firefoxos=a,i.osname="Firefox OS")):p?i={name:"Amazon Silk",silk:a,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?i={name:"PhantomJS",phantom:a,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?i={name:"SlimerJS",slimer:a,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:a,version:E||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:m?(i={name:"WebOS",osname:"WebOS",webos:a,version:E||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(i.touchpad=a)):/bada/i.test(e)?i={name:"Bada",osname:"Bada",bada:a,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:h?i={name:"Tizen",osname:"Tizen",tizen:a,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||E}:/qupzilla/i.test(e)?i={name:"QupZilla",qupzilla:a,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||E}:/chromium/i.test(e)?i={name:"Chromium",chromium:a,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||E}:/chrome|crios|crmo/i.test(e)?i={name:"Chrome",chrome:a,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:u?i={name:"Android",version:E}:/safari|applewebkit/i.test(e)?(i={name:"Safari",safari:a},E&&(i.version=E)):o?(i={name:"iphone"==o?"iPhone":"ipad"==o?"iPad":"iPod"},E&&(i.version=E)):i=/googlebot/i.test(e)?{name:"Googlebot",googlebot:a,version:t(/googlebot\/(\d+(\.\d+))/i)||E}:{name:t(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(i.name=i.name||"Blink",i.blink=a):(i.name=i.name||"Webkit",i.webkit=a),!i.version&&E&&(i.version=E)):!i.opera&&/gecko\//i.test(e)&&(i.name=i.name||"Gecko",i.gecko=a,i.version=i.version||t(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!u&&!i.silk?!i.windowsphone&&o?(i[o]=a,i.ios=a,i.osname="iOS"):y?(i.mac=a,i.osname="macOS"):S?(i.xbox=a,i.osname="Xbox"):g?(i.windows=a,i.osname="Windows"):b&&(i.linux=a,i.osname="Linux"):(i.android=a,i.osname="Android");var D="";i.windows?D=r(t(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?D=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?(D=t(/Mac OS X (\d+([_\.\s]\d+)*)/i),D=D.replace(/[_\s]/g,".")):o?(D=t(/os (\d+([_\s]\d+)*) like mac os x/i),D=D.replace(/[_\s]/g,".")):u?D=t(/android[ \/-](\d+(\.\d+)*)/i):i.webos?D=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?D=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?D=t(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(D=t(/tizen[\/\s](\d+(\.\d+)*)/i)),D&&(i.osversion=D);var w=!i.windows&&D.split(".")[0];return A||c||"ipad"==o||u&&(3==w||w>=4&&!C)||i.silk?i.tablet=a:(C||"iphone"==o||"ipod"==o||u||l||i.blackberry||i.webos||i.bada)&&(i.mobile=a),i.msedge||i.msie&&i.version>=10||i.yandexbrowser&&i.version>=15||i.vivaldi&&i.version>=1||i.chrome&&i.version>=20||i.samsungBrowser&&i.version>=4||i.firefox&&i.version>=20||i.safari&&i.version>=6||i.opera&&i.version>=10||i.ios&&i.osversion&&i.osversion.split(".")[0]>=6||i.blackberry&&i.version>=10.1||i.chromium&&i.version>=20?i.a=a:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=a:i.x=a,i}function t(e){return e.split(".").length}function n(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n=0;){if(i[0][r]>i[1][r])return 1;if(i[0][r]!==i[1][r])return-1;if(0===r)return 0}}function i(t,n,i){var o=s;"string"==typeof n&&(i=n,n=void 0),void 0===n&&(n=!1),i&&(o=e(i));var a=""+o.version;for(var u in t)if(t.hasOwnProperty(u)&&o[u]){if("string"!=typeof t[u])throw new Error("Browser version in the minVersion map should be a string: "+u+": "+String(t));return r([a,t[u]])<0}return n}function o(e,t,n){return!i(e,t,n)}var a=!0,s=e("undefined"!=typeof navigator?navigator.userAgent||"":"");return s.test=function(e){for(var t=0;t + * @license MIT + */ +"use strict";function r(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function i(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(i()=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),a.alloc(+e)}function g(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return F(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function x(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:E(e,t,n,r,i);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):E(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function E(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(i){var c=-1;for(l=n;ls&&(n=s-u),l=n;l>=0;l--){for(var f=!0,p=0;pi&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,l,c,f;switch(s){case 1:o<128&&(a=o);break;case 2:u=e[i+1],128===(192&u)&&(f=(31&o)<<6|63&u,f>127&&(a=f));break;case 3:u=e[i+1],l=e[i+2],128===(192&u)&&128===(192&l)&&(f=(15&o)<<12|(63&u)<<6|63&l,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(f=(15&o)<<18|(63&u)<<12|(63&l)<<6|63&c,f>65535&&f<1114112&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return M(r)}function M(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function N(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function j(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(e,t,n,r,i){return i||j(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,i){return i||j(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,n,r,52,8),n+8}function z(e){if(e=V(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function G(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Y(e){for(var t=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function K(e){return J.toByteArray(z(e))}function X(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function $(e){return e!==e}var J=n(122),Q=n(144),Z=n(174);t.Buffer=a,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),t.kMaxLength=i(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return l(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},a.prototype.compare=function(e,t,n,r,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,s=n-t,u=Math.min(o,s),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return D(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e],i=1,o=0;++o=i&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;R(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+o]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return W(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return W(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}e.defineMode("javascript",function(n,r){function i(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}function o(e,t,n){return xe=e,De=n,t}function a(e,n){var r=e.next();if('"'==r||"'"==r)return n.tokenize=s(r),n.tokenize(e,n);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return o("number","number");if("."==r&&e.match(".."))return o("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return o(r);if("="==r&&e.eat(">"))return o("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),o("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),o("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),o("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),o("number","number");if("/"==r)return e.eat("*")?(n.tokenize=u,u(e,n)):e.eat("/")?(e.skipToEnd(),o("comment","comment")):t(e,n,1)?(i(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),o("regexp","string-2")):(e.eatWhile(ke),o("operator","operator",e.current()));if("`"==r)return n.tokenize=l,l(e,n);if("#"==r)return e.skipToEnd(),o("error","error");if(ke.test(r))return e.eatWhile(ke),o("operator","operator",e.current());if(Fe.test(r)){e.eatWhile(Fe);var a=e.current(),c=Ne.propertyIsEnumerable(a)&&Ne[a];return c&&"."!=n.lastType?o(c.type,c.style,a):o("variable","variable",a)}}function s(e){return function(t,n){var r,i=!1;if(we&&"@"==t.peek()&&t.match(Te))return n.tokenize=a,o("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(n.tokenize=a),o("string","string")}}function u(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=a;break}r="*"==n}return o("comment","comment")}function l(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=a;break}r=!r&&"\\"==n}return o("quasi","string-2",e.current())}function c(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(0>n)){for(var r=0,i=!1,o=n-1;o>=0;--o){var a=e.string.charAt(o),s=Pe.indexOf(a);if(s>=0&&3>s){if(!r){++o;break}if(0==--r)break}else if(s>=3&&6>s)++r;else if(Fe.test(a))i=!0;else{if(/["'\/]/.test(a))return;if(i&&!r){++o;break}}}i&&!r&&(t.fatArrowAt=o)}}function p(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function f(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function d(e,t,n,r,i){var o=e.cc;for(Ie.state=e,Ie.stream=i,Ie.marked=null,Ie.cc=o,Ie.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var a=o.length?o.pop():Se?C:D;if(a(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ie.marked?Ie.marked:"variable"==n&&f(e,r)?"variable-2":t}}}function h(){for(var e=arguments.length-1;e>=0;e--)Ie.cc.push(arguments[e])}function m(){return h.apply(null,arguments),!0}function v(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var n=Ie.state;if(Ie.marked="def",n.context){if(t(n.localVars))return;n.localVars={name:e,next:n.localVars}}else{if(t(n.globalVars))return;r.globalVars&&(n.globalVars={name:e,next:n.globalVars})}}function g(){Ie.state.context={prev:Ie.state.context,vars:Ie.state.localVars},Ie.state.localVars=Me}function y(){Ie.state.localVars=Ie.state.context.vars,Ie.state.context=Ie.state.context.prev}function E(e,t){var n=function(){var n=Ie.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new p(r,Ie.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function b(){var e=Ie.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function x(e){function t(n){return n==e?m():";"==e?h():m(t)}return t}function D(e,t){return"var"==e?m(E("vardef",t.length),J,x(";"),b):"keyword a"==e?m(E("form"),C,D,b):"keyword b"==e?m(E("form"),D,b):"{"==e?m(E("}"),G,b):";"==e?m():"if"==e?("else"==Ie.state.lexical.info&&Ie.state.cc[Ie.state.cc.length-1]==b&&Ie.state.cc.pop()(),m(E("form"),C,D,b,ee)):"function"==e?m(ae):"for"==e?m(E("form"),te,D,b):"variable"==e?m(E("stat"),R):"switch"==e?m(E("form"),C,E("}","switch"),x("{"),G,b,b):"case"==e?m(C,x(":")):"default"==e?m(x(":")):"catch"==e?m(E("form"),g,x("("),se,x(")"),D,b,y):"class"==e?m(E("form"),ue,b):"export"==e?m(E("stat"),fe,b):"import"==e?m(E("stat"),de,b):"module"==e?m(E("form"),X,E("}"),x("{"),G,b,b):"async"==e?m(D):h(E("stat"),C,x(";"),b)}function C(e){return w(e,!1)}function A(e){return w(e,!0)}function w(e,t){if(Ie.state.fatArrowAt==Ie.stream.start){var n=t?O:P;if("("==e)return m(g,E(")"),W(X,")"),b,x("=>"),n,y);if("variable"==e)return h(g,X,x("=>"),n,y)}var r=t?N:F;return Oe.hasOwnProperty(e)?m(r):"function"==e?m(ae,r):"keyword c"==e?m(t?_:S):"("==e?m(E(")"),S,Ee,x(")"),b,r):"operator"==e||"spread"==e?m(t?A:C):"["==e?m(E("]"),ge,b,r):"{"==e?H(j,"}",null,r):"quasi"==e?h(k,r):"new"==e?m(I(t)):m()}function S(e){return e.match(/[;\}\)\],]/)?h():h(C)}function _(e){return e.match(/[;\}\)\],]/)?h():h(A)}function F(e,t){return","==e?m(C):N(e,t,!1)}function N(e,t,n){var r=0==n?F:N,i=0==n?C:A;return"=>"==e?m(g,n?O:P,y):"operator"==e?/\+\+|--/.test(t)?m(r):"?"==t?m(C,x(":"),i):m(i):"quasi"==e?h(k,r):";"!=e?"("==e?H(A,")","call",r):"."==e?m(L,r):"["==e?m(E("]"),S,x("]"),b,r):void 0:void 0}function k(e,t){return"quasi"!=e?h():"${"!=t.slice(t.length-2)?m(k):m(C,T)}function T(e){return"}"==e?(Ie.marked="string-2",Ie.state.tokenize=l,m(k)):void 0}function P(e){return c(Ie.stream,Ie.state),h("{"==e?D:C)}function O(e){return c(Ie.stream,Ie.state),h("{"==e?D:A)}function I(e){return function(t){return"."==t?m(e?B:M):h(e?A:C)}}function M(e,t){return"target"==t?(Ie.marked="keyword",m(F)):void 0}function B(e,t){return"target"==t?(Ie.marked="keyword",m(N)):void 0}function R(e){return":"==e?m(b,D):h(F,x(";"),b)}function L(e){return"variable"==e?(Ie.marked="property",m()):void 0}function j(e,t){return"variable"==e||"keyword"==Ie.style?(Ie.marked="property",m("get"==t||"set"==t?V:U)):"number"==e||"string"==e?(Ie.marked=we?"property":Ie.style+" property",m(U)):"jsonld-keyword"==e?m(U):"modifier"==e?m(j):"["==e?m(C,x("]"),U):"spread"==e?m(C):void 0}function V(e){return"variable"!=e?h(U):(Ie.marked="property",m(ae))}function U(e){return":"==e?m(A):"("==e?h(ae):void 0}function W(e,t){function n(r,i){if(","==r){var o=Ie.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),m(e,n)}return r==t||i==t?m():m(x(t))}return function(r,i){return r==t||i==t?m():h(e,n)}}function H(e,t,n){for(var r=3;r"),K):"["==e?m(x("]"),K):void 0}function J(){return h(X,q,Q,Z)}function X(e,t){return"modifier"==e?m(X):"variable"==e?(v(t),m()):"spread"==e?m(X):"["==e?H(X,"]"):"{"==e?H($,"}"):void 0}function $(e,t){return"variable"!=e||Ie.stream.match(/^\s*:/,!1)?("variable"==e&&(Ie.marked="property"),"spread"==e?m(X):"}"==e?h():m(x(":"),X,Q)):(v(t),m(Q))}function Q(e,t){return"="==t?m(A):void 0}function Z(e){return","==e?m(J):void 0}function ee(e,t){return"keyword b"==e&&"else"==t?m(E("form","else"),D,b):void 0}function te(e){return"("==e?m(E(")"),ne,x(")"),b):void 0}function ne(e){return"var"==e?m(J,x(";"),ie):";"==e?m(ie):"variable"==e?m(re):h(C,x(";"),ie)}function re(e,t){return"in"==t||"of"==t?(Ie.marked="keyword",m(C)):m(F,ie)}function ie(e,t){return";"==e?m(oe):"in"==t||"of"==t?(Ie.marked="keyword",m(C)):h(C,x(";"),oe)}function oe(e){")"!=e&&m(C)}function ae(e,t){return"*"==t?(Ie.marked="keyword",m(ae)):"variable"==e?(v(t),m(ae)):"("==e?m(g,E(")"),W(se,")"),b,q,D,y):void 0}function se(e){return"spread"==e?m(se):h(X,q,z)}function ue(e,t){return"variable"==e?(v(t),m(le)):void 0}function le(e,t){return"extends"==t?m(C,le):"{"==e?m(E("}"),ce,b):void 0}function ce(e,t){return"variable"==e||"keyword"==Ie.style?"static"==t?(Ie.marked="keyword",m(ce)):(Ie.marked="property","get"==t||"set"==t?m(pe,ae,ce):m(ae,ce)):"*"==t?(Ie.marked="keyword",m(ce)):";"==e?m(ce):"}"==e?m():void 0}function pe(e){return"variable"!=e?h():(Ie.marked="property",m())}function fe(e,t){return"*"==t?(Ie.marked="keyword",m(ve,x(";"))):"default"==t?(Ie.marked="keyword",m(C,x(";"))):h(D)}function de(e){return"string"==e?m():h(he,ve)}function he(e,t){return"{"==e?H(he,"}"):("variable"==e&&v(t),"*"==t&&(Ie.marked="keyword"),m(me))}function me(e,t){return"as"==t?(Ie.marked="keyword",m(he)):void 0}function ve(e,t){return"from"==t?(Ie.marked="keyword",m(C)):void 0}function ge(e){return"]"==e?m():h(A,ye)}function ye(e){return"for"==e?h(Ee,x("]")):","==e?m(W(_,"]")):h(W(A,"]"))}function Ee(e){return"for"==e?m(te,Ee):"if"==e?m(C,Ee):void 0}function be(e,t){return"operator"==e.lastType||","==e.lastType||ke.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}var xe,De,Ce=n.indentUnit,Ae=r.statementIndent,we=r.jsonld,Se=r.json||we,_e=r.typescript,Fe=r.wordCharacters||/[\w$\xa1-\uffff]/,Ne=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("operator"),o={type:"atom",style:"atom"},a={"if":e("if"),"while":t,"with":t,"else":n,"do":n,"try":n,"finally":n,"return":r,"break":r,"continue":r,"new":e("new"),"delete":r,"throw":r,"debugger":r,"var":e("var"),"const":e("var"),let:e("var"),"function":e("function"),"catch":e("catch"),"for":e("for"),"switch":e("switch"),"case":e("case"),"default":e("default"),"in":i,"typeof":i,"instanceof":i,"true":o,"false":o,"null":o,undefined:o,NaN:o,Infinity:o,"this":e("this"),"class":e("class"),"super":e("atom"),"yield":r,"export":e("export"),"import":e("import"),"extends":r,await:r,async:e("async")};if(_e){var s={type:"variable",style:"variable-3"},u={"interface":e("class"),"implements":r,namespace:r,module:e("module"),"enum":e("module"),"public":e("modifier"),"private":e("modifier"),"protected":e("modifier"),"abstract":e("modifier"),as:i,string:s,number:s,"boolean":s,any:s};for(var l in u)a[l]=u[l]}return a}(),ke=/[+\-*&%=<>!?|~^]/,Te=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Pe="([{}])",Oe={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},Ie={state:null,column:null,marked:null,cc:null},Me={name:"this",next:{name:"arguments"}};return b.lex=!0,{startState:function(e){var t={tokenize:a,lastType:"sof",cc:[],lexical:new p((e||0)-Ce,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),c(e,t)),t.tokenize!=u&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==xe?n:(t.lastType="operator"!=xe||"++"!=De&&"--"!=De?xe:"incdec",d(t,n,xe,De,e))},indent:function(t,n){if(t.tokenize==u)return e.Pass;if(t.tokenize!=a)return 0;var i=n&&n.charAt(0),o=t.lexical;if(!/^\s*else\b/.test(n))for(var s=t.cc.length-1;s>=0;--s){var l=t.cc[s];if(l==b)o=o.prev;else if(l!=ee)break}"stat"==o.type&&"}"==i&&(o=o.prev),Ae&&")"==o.type&&"stat"==o.prev.type&&(o=o.prev);var c=o.type,p=i==c;return"vardef"==c?o.indented+("operator"==t.lastType||","==t.lastType?o.info+1:0):"form"==c&&"{"==i?o.indented:"form"==c?o.indented+Ce:"stat"==c?o.indented+(be(t,n)?Ae||Ce:0):"switch"!=o.info||p||0==r.doubleIndentSwitch?o.align?o.column+(p?0:1):o.indented+(p?0:Ce):o.indented+(/^(?:case|default)\b/.test(n)?Ce:2*Ce)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:Se?null:"/*",blockCommentEnd:Se?null:"*/",lineComment:Se?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:Se?"json":"javascript",jsonldMode:we,jsonMode:Se,expressionAllowed:t,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=C&&t!=A||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},function(e,t,n){!function(e){e(n(25),n(113),n(111))}(function(e){"use strict";function t(e,t,n,r){this.state=e,this.mode=t,this.depth=n,this.prev=r}function n(r){return new t(e.copyState(r.mode,r.state),r.mode,r.depth,r.prev&&n(r.prev))}e.defineMode("jsx",function(r,i){function o(e){var t=e.tagName;e.tagName=null;var n=l.indent(e,"");return e.tagName=t,n}function a(e,t){return t.context.mode==l?s(e,t,t.context):u(e,t,t.context)}function s(n,i,s){if(2==s.depth)return n.match(/^.*?\*\//)?s.depth=1:n.skipToEnd(),"comment";if("{"==n.peek()){l.skipAttribute(s.state);var u=o(s.state),p=s.state.context;if(p&&n.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?u-=r.indentUnit:s.prev.state.lexical&&(u=s.prev.state.lexical.indented)}else 1==s.depth&&(u+=r.indentUnit);return i.context=new t(e.startState(c,u),c,0,i.context),null}if(1==s.depth){if("<"==n.peek())return l.skipAttribute(s.state),i.context=new t(e.startState(l,o(s.state)),l,0,i.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return s.depth=2,a(n,i)}var f,d=l.token(n,s.state),h=n.current();return/\btag\b/.test(d)?/>$/.test(h)?s.state.context?s.depth=0:i.context=i.context.prev:/^-1&&n.backUp(h.length-f),d}function u(n,r,i){if("<"==n.peek()&&c.expressionAllowed(n,i.state))return c.skipExpression(i.state),r.context=new t(e.startState(l,c.indent(i.state,"")),l,0,r.context),null;var o=c.token(n,i.state);if(!o&&null!=i.depth){var a=n.current();"{"==a?i.depth++:"}"==a&&0==--i.depth&&(r.context=r.context.prev)}return o}var l=e.getMode(r,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1}),c=e.getMode(r,i&&i.base||"javascript");return{startState:function(){return{context:new t(e.startState(c),c)}},copyState:function(e){return{context:n(e.context)}},token:a,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}},"xml","javascript"),e.defineMIME("text/jsx","jsx")})},function(e,t,n){!function(e){e(n(25))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(r,i){function o(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?n(u("atom","]]>")):null:e.match("--")?n(u("comment","-->")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(l(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=u("meta","?>"),"meta"):(S=e.eat("/")?"closeTag":"openTag",t.tokenize=a,"tag bracket");if("&"==r){var i;return i=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),i?"atom":"error"}return e.eatWhile(/[^&<]/),null}function a(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=o,S=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return S="equals",null;if("<"==n){t.tokenize=o,t.state=d,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=s(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=a;break}return"string"};return t.isInAttribute=!0,t}function u(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=o;break}n.next()}return e}}function l(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=l(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=o;break}return n.tokenize=l(e-1),n.tokenize(t,n)}}return"meta"}}function c(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(C.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function p(e){e.context&&(e.context=e.context.prev)}function f(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!C.contextGrabbers.hasOwnProperty(n)||!C.contextGrabbers[n].hasOwnProperty(t))return;p(e)}}function d(e,t,n){return"openTag"==e?(n.tagStart=t.column(),h):"closeTag"==e?m:d}function h(e,t,n){return"word"==e?(n.tagName=t.current(),_="tag",y):(_="error",h)}function m(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&C.implicitlyClosed.hasOwnProperty(n.context.tagName)&&p(n),n.context&&n.context.tagName==r||C.matchClosing===!1?(_="tag",v):(_="tag error",g)}return _="error",g}function v(e,t,n){return"endTag"!=e?(_="error",v):(p(n),d)}function g(e,t,n){return _="error",v(e,t,n)}function y(e,t,n){if("word"==e)return _="attribute",E;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||C.autoSelfClosers.hasOwnProperty(r)?f(n,r):(f(n,r),n.context=new c(n,r,i==n.indented)),d}return _="error",y}function E(e,t,n){return"equals"==e?b:(C.allowMissing||(_="error"),y(e,t,n))}function b(e,t,n){return"string"==e?x:"word"==e&&C.allowUnquoted?(_="string",y):(_="error",y(e,t,n))}function x(e,t,n){return"string"==e?x:y(e,t,n)}var D=r.indentUnit,C={},A=i.htmlMode?t:n;for(var w in A)C[w]=A[w];for(var w in i)C[w]=i[w];var S,_;return o.isInText=!0,{startState:function(e){var t={tokenize:o,state:d,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;S=null;var n=t.tokenize(e,t);return(n||S)&&"comment"!=n&&(_=null,t.state=t.state(S||n,e,t),_&&(n="error"==_?n+" error":_)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+D;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=a&&t.tokenize!=o)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return C.multilineTagIndentPastTag!==!1?t.tagStart+t.tagName.length+2:t.tagStart+D*(C.multilineTagIndentFactor||1);if(C.alignCDATA&&/$/,blockCommentStart:"",configuration:C.htmlMode?"html":"xml",helperType:C.htmlMode?"html":"xml",skipAttribute:function(e){e.state==b&&(e.state=y)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},function(e,t,n){var r,i,o;!function(n,a){"use strict";i=[t],r=a,o="function"==typeof r?r.apply(t,i):r,!(void 0!==o&&(e.exports=o))}(this,function(e){"use strict";function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function i(e){return"01234567".indexOf(e)>=0}function o(e){var t="0"!==e,n="01234567".indexOf(e);return En>un&&i(an[un])&&(t=!0,n=8*n+"01234567".indexOf(an[un++]),"0123".indexOf(e)>=0&&En>un&&i(an[un])&&(n=8*n+"01234567".indexOf(an[un++]))),{code:n,octal:t}}function a(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function s(e){return 10===e||13===e||8232===e||8233===e}function u(e){return 65536>e?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))}function l(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&on.NonAsciiIdentifierStart.test(u(e))}function c(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&on.NonAsciiIdentifierPart.test(u(e))}function p(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}}function f(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function d(e){return"eval"===e||"arguments"===e}function h(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function m(e,n,r,i,o){var a;t("number"==typeof r,"Comment must have valid position"),xn.lastCommentStart=r,a={type:e,value:n},Dn.range&&(a.range=[r,i]),Dn.loc&&(a.loc=o),Dn.comments.push(a),Dn.attachComment&&(Dn.leadingComments.push(a),Dn.trailingComments.push(a)),Dn.tokenize&&(a.type=a.type+"Comment",Dn.delegate&&(a=Dn.delegate(a)),Dn.tokens.push(a))}function v(e){var t,n,r,i;for(t=un-e,n={start:{line:ln,column:un-cn-e}};En>un;)if(r=an.charCodeAt(un),++un,s(r))return pn=!0,Dn.comments&&(i=an.slice(t+e,un-1),n.end={line:ln,column:un-cn-1},m("Line",i,t,un-1,n)),13===r&&10===an.charCodeAt(un)&&++un,++ln,void(cn=un);Dn.comments&&(i=an.slice(t+e,un),n.end={line:ln,column:un-cn},m("Line",i,t,un,n))}function g(){var e,t,n,r;for(Dn.comments&&(e=un-2,t={start:{line:ln,column:un-cn-2}});En>un;)if(n=an.charCodeAt(un),s(n))13===n&&10===an.charCodeAt(un+1)&&++un,pn=!0,++ln,++un,cn=un;else if(42===n){if(47===an.charCodeAt(un+1))return++un,++un,void(Dn.comments&&(r=an.slice(e+2,un-2),t.end={line:ln,column:un-cn},m("Block",r,e,un,t)));++un}else++un;Dn.comments&&(t.end={line:ln,column:un-cn},r=an.slice(e+2,un),m("Block",r,e,un,t)),ne()}function y(){var e,t;for(pn=!1,t=0===un;En>un;)if(e=an.charCodeAt(un),a(e))++un;else if(s(e))pn=!0,++un,13===e&&10===an.charCodeAt(un)&&++un,++ln,cn=un,t=!0;else if(47===e)if(e=an.charCodeAt(un+1),47===e)++un,++un,v(2),t=!0;else{if(42!==e)break;++un,++un,g()}else if(t&&45===e){if(45!==an.charCodeAt(un+1)||62!==an.charCodeAt(un+2))break;un+=3,v(3)}else{if(60!==e)break;if("!--"!==an.slice(un+1,un+4))break;++un,++un,++un,++un,v(4)}}function E(e){var t,n,i,o=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(En>un&&r(an[un])))return"";i=an[un++],o=16*o+"0123456789abcdef".indexOf(i.toLowerCase())}return String.fromCharCode(o)}function b(){var e,t;for(e=an[un],t=0,"}"===e&&te();En>un&&(e=an[un++],r(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&te(),u(t)}function x(e){var t,n,r;return t=an.charCodeAt(e),t>=55296&&56319>=t&&(r=an.charCodeAt(e+1),r>=56320&&57343>=r&&(n=t,t=1024*(n-55296)+r-56320+65536)),t}function D(){var e,t,n;for(e=x(un),n=u(e),un+=n.length,92===e&&(117!==an.charCodeAt(un)&&te(),++un,"{"===an[un]?(++un,t=b()):(t=E("u"),e=t.charCodeAt(0),t&&"\\"!==t&&l(e)||te()),n=t);En>un&&(e=x(un),c(e));)t=u(e),n+=t,un+=t.length,92===e&&(n=n.substr(0,n.length-1),117!==an.charCodeAt(un)&&te(),++un,"{"===an[un]?(++un,t=b()):(t=E("u"),e=t.charCodeAt(0),t&&"\\"!==t&&c(e)||te()),n+=t);return n}function C(){var e,t;for(e=un++;En>un;){if(t=an.charCodeAt(un),92===t)return un=e,D();if(t>=55296&&57343>t)return un=e,D();if(!c(t))break;++un}return an.slice(e,un)}function A(){var e,t,n;return e=un,t=92===an.charCodeAt(un)?D():C(),n=1===t.length?Qt.Identifier:h(t)?Qt.Keyword:"null"===t?Qt.NullLiteral:"true"===t||"false"===t?Qt.BooleanLiteral:Qt.Identifier,{type:n,value:t,lineNumber:ln,lineStart:cn,start:e,end:un}}function w(){var e,t;switch(e={type:Qt.Punctuator,value:"",lineNumber:ln,lineStart:cn,start:un,end:un},t=an[un]){case"(":Dn.tokenize&&(Dn.openParenToken=Dn.tokenValues.length),++un;break;case"{":Dn.tokenize&&(Dn.openCurlyToken=Dn.tokenValues.length),xn.curlyStack.push("{"),++un;break;case".":++un,"."===an[un]&&"."===an[un+1]&&(un+=2,t="...");break;case"}":++un,xn.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++un;break;default:t=an.substr(un,4),">>>="===t?un+=4:(t=t.substr(0,3),"==="===t||"!=="===t||">>>"===t||"<<="===t||">>="===t?un+=3:(t=t.substr(0,2),"&&"===t||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t?un+=2:(t=an[un],"<>=!+-*%&|^/".indexOf(t)>=0&&++un)))}return un===e.start&&te(),e.end=un,e.value=t,e}function S(e){for(var t="";En>un&&r(an[un]);)t+=an[un++];return 0===t.length&&te(),l(an.charCodeAt(un))&&te(),{type:Qt.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:ln,lineStart:cn,start:e,end:un}}function _(e){var t,r;for(r="";En>un&&(t=an[un],"0"===t||"1"===t);)r+=an[un++];return 0===r.length&&te(),En>un&&(t=an.charCodeAt(un),(l(t)||n(t))&&te()),{type:Qt.NumericLiteral,value:parseInt(r,2),lineNumber:ln,lineStart:cn,start:e,end:un}}function F(e,t){var r,o;for(i(e)?(o=!0,r="0"+an[un++]):(o=!1,++un,r="");En>un&&i(an[un]);)r+=an[un++];return o||0!==r.length||te(),(l(an.charCodeAt(un))||n(an.charCodeAt(un)))&&te(),{type:Qt.NumericLiteral,value:parseInt(r,8),octal:o,lineNumber:ln,lineStart:cn,start:t,end:un}}function N(){var e,t;for(e=un+1;En>e;++e){if(t=an[e],"8"===t||"9"===t)return!1;if(!i(t))return!0}return!0}function k(){var e,r,o;if(o=an[un],t(n(o.charCodeAt(0))||"."===o,"Numeric literal must start with a decimal digit or a decimal point"),r=un,e="","."!==o){if(e=an[un++],o=an[un],"0"===e){if("x"===o||"X"===o)return++un,S(r);if("b"===o||"B"===o)return++un,_(r);if("o"===o||"O"===o)return F(o,r);if(i(o)&&N())return F(o,r)}for(;n(an.charCodeAt(un));)e+=an[un++];o=an[un]}if("."===o){for(e+=an[un++];n(an.charCodeAt(un));)e+=an[un++];o=an[un]}if("e"===o||"E"===o)if(e+=an[un++],o=an[un],"+"!==o&&"-"!==o||(e+=an[un++]),n(an.charCodeAt(un)))for(;n(an.charCodeAt(un));)e+=an[un++];else te();return l(an.charCodeAt(un))&&te(),{type:Qt.NumericLiteral,value:parseFloat(e),lineNumber:ln,lineStart:cn,start:r,end:un}}function T(){var e,n,r,a,u,l="",c=!1;for(e=an[un],t("'"===e||'"'===e,"String literal must starts with a quote"),n=un,++un;En>un;){if(r=an[un++],r===e){e="";break}if("\\"===r)if(r=an[un++],r&&s(r.charCodeAt(0)))++ln,"\r"===r&&"\n"===an[un]&&++un,cn=un;else switch(r){case"u":case"x":if("{"===an[un])++un,l+=b();else{if(a=E(r),!a)throw te();l+=a}break;case"n":l+="\n";break;case"r":l+="\r";break;case"t":l+=" ";break;case"b":l+="\b";break;case"f":l+="\f";break;case"v":l+="\x0B";break;case"8":case"9":l+=r,ne();break;default:i(r)?(u=o(r),c=u.octal||c,l+=String.fromCharCode(u.code)):l+=r}else{if(s(r.charCodeAt(0)))break;l+=r}}return""!==e&&(un=n,te()),{type:Qt.StringLiteral,value:l,octal:c,lineNumber:vn,lineStart:gn,start:n,end:un}}function P(){var e,t,r,o,a,u,l,c,p="";for(o=!1,u=!1,t=un,a="`"===an[un],r=2,++un;En>un;){if(e=an[un++],"`"===e){r=1,u=!0,o=!0;break}if("$"===e){if("{"===an[un]){xn.curlyStack.push("${"),++un,o=!0;break}p+=e}else if("\\"===e)if(e=an[un++],s(e.charCodeAt(0)))++ln,"\r"===e&&"\n"===an[un]&&++un,cn=un;else switch(e){case"n":p+="\n";break;case"r":p+="\r";break;case"t":p+=" ";break;case"u":case"x":"{"===an[un]?(++un,p+=b()):(l=un,c=E(e),c?p+=c:(un=l,p+=e));break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="\x0B";break;default:"0"===e?(n(an.charCodeAt(un))&&Q(rn.TemplateOctalLiteral),p+="\x00"):i(e)?Q(rn.TemplateOctalLiteral):p+=e}else s(e.charCodeAt(0))?(++ln,"\r"===e&&"\n"===an[un]&&++un,cn=un,p+="\n"):p+=e}return o||te(),a||xn.curlyStack.pop(),{type:Qt.Template,value:{cooked:p,raw:an.slice(t+1,un-r)},head:a,tail:u,lineNumber:ln,lineStart:cn,start:t,end:un}}function O(e,t){var n="￿",r=e;t.indexOf("u")>=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,r){var i=parseInt(t||r,16);return i>1114111&&te(null,rn.InvalidRegExp),65535>=i?String.fromCharCode(i):n}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n));try{RegExp(r)}catch(i){te(null,rn.InvalidRegExp)}try{return new RegExp(e,t)}catch(o){return null}}function I(){var e,n,r,i,o;for(e=an[un],t("/"===e,"Regular expression literal must start with a slash"),n=an[un++],r=!1,i=!1;En>un;)if(e=an[un++],n+=e,"\\"===e)e=an[un++],s(e.charCodeAt(0))&&te(null,rn.UnterminatedRegExp),n+=e;else if(s(e.charCodeAt(0)))te(null,rn.UnterminatedRegExp);else if(r)"]"===e&&(r=!1);else{if("/"===e){i=!0;break}"["===e&&(r=!0)}return i||te(null,rn.UnterminatedRegExp),o=n.substr(1,n.length-2),{value:o,literal:n}}function M(){var e,t,n,r;for(t="",n="";En>un&&(e=an[un],c(e.charCodeAt(0)));)if(++un,"\\"===e&&En>un)if(e=an[un],"u"===e){if(++un,r=un,e=E("u"))for(n+=e,t+="\\u";un>r;++r)t+=an[r];else un=r,n+="u",t+="\\u";ne()}else t+="\\",ne();else n+=e,t+=e;return{value:n,literal:t}}function B(){var e,t,n,r;return yn=!0,bn=null,y(),e=un,t=I(),n=M(),r=O(t.value,n.value),yn=!1,Dn.tokenize?{type:Qt.RegularExpression,value:r,regex:{pattern:t.value,flags:n.value},lineNumber:ln,lineStart:cn,start:e,end:un}:{literal:t.literal+n.literal,value:r,regex:{pattern:t.value,flags:n.value},start:e,end:un}}function R(){var e,t,n,r;return y(),e=un,t={start:{line:ln,column:un-cn}},n=B(),t.end={line:ln,column:un-cn},Dn.tokenize||(Dn.tokens.length>0&&(r=Dn.tokens[Dn.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"!==r.value&&"/="!==r.value||Dn.tokens.pop())),Dn.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,un],loc:t})),n}function L(e){return e.type===Qt.Identifier||e.type===Qt.Keyword||e.type===Qt.BooleanLiteral||e.type===Qt.NullLiteral}function j(){function e(e){return e&&e.length>1&&e[0]>="a"&&e[0]<="z"}var t,n,r;switch(n=Dn.tokenValues[Dn.tokens.length-1],t=null!==n,n){case"this":case"]":t=!1;break;case")":r=Dn.tokenValues[Dn.openParenToken-1],t="if"===r||"while"===r||"for"===r||"with"===r; -break;case"}":t=!1,e(Dn.tokenValues[Dn.openCurlyToken-3])?(r=Dn.tokenValues[Dn.openCurlyToken-4],t=r?en.indexOf(r)<0:!1):e(Dn.tokenValues[Dn.openCurlyToken-4])&&(r=Dn.tokenValues[Dn.openCurlyToken-5],t=r?en.indexOf(r)<0:!0)}return t?R():w()}function V(){var e,t;return un>=En?{type:Qt.EOF,lineNumber:ln,lineStart:cn,start:un,end:un}:(e=an.charCodeAt(un),l(e)?(t=A(),sn&&f(t.value)&&(t.type=Qt.Keyword),t):40===e||41===e||59===e?w():39===e||34===e?T():46===e?n(an.charCodeAt(un+1))?k():w():n(e)?k():Dn.tokenize&&47===e?j():96===e||125===e&&"${"===xn.curlyStack[xn.curlyStack.length-1]?P():e>=55296&&57343>e&&(e=x(un),l(e))?A():w())}function U(){var e,t,n,r;return e={start:{line:ln,column:un-cn}},t=V(),e.end={line:ln,column:un-cn},t.type!==Qt.EOF&&(n=an.slice(t.start,t.end),r={type:Zt[t.type],value:n,range:[t.start,t.end],loc:e},t.regex&&(r.regex={pattern:t.regex.pattern,flags:t.regex.flags}),Dn.tokenValues&&Dn.tokenValues.push("Punctuator"===r.type||"Keyword"===r.type?r.value:null),Dn.tokenize&&(Dn.range||delete r.range,Dn.loc||delete r.loc,Dn.delegate&&(r=Dn.delegate(r))),Dn.tokens.push(r)),t}function W(){var e;return yn=!0,fn=un,dn=ln,hn=cn,y(),e=bn,mn=un,vn=ln,gn=cn,bn="undefined"!=typeof Dn.tokens?U():V(),yn=!1,e}function H(){yn=!0,y(),fn=un,dn=ln,hn=cn,mn=un,vn=ln,gn=cn,bn="undefined"!=typeof Dn.tokens?U():V(),yn=!1}function G(){this.line=vn,this.column=mn-gn}function q(){this.start=new G,this.end=null}function z(e){this.start={line:e.lineNumber,column:e.start-e.lineStart},this.end=null}function Y(){Dn.range&&(this.range=[mn,0]),Dn.loc&&(this.loc=new q)}function K(e){Dn.range&&(this.range=[e.start,0]),Dn.loc&&(this.loc=new z(e))}function J(e){var t,n;for(t=0;t>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function ce(){return 59===an.charCodeAt(mn)||ae(";")?void W():void(pn||(fn=mn,dn=vn,hn=gn,bn.type===Qt.EOF||ae("}")||te(bn)))}function pe(e){var t,n=Cn,r=An,i=wn;return Cn=!0,An=!0,wn=null,t=e(),null!==wn&&te(wn),Cn=n,An=r,wn=i,t}function fe(e){var t,n=Cn,r=An,i=wn;return Cn=!0,An=!0,wn=null,t=e(),Cn=Cn&&n,An=An&&r,wn=i||wn,t}function de(e,t){var n,r,i=new Y,o=[];for(re("[");!ae("]");)if(ae(","))W(),o.push(null);else{if(ae("...")){r=new Y,W(),e.push(bn),n=Ze(t),o.push(r.finishRestElement(n));break}o.push(ge(e,t)),ae("]")||re(",")}return re("]"),i.finishArrayPattern(o)}function he(e,t){var n,r,i,o=new Y,a=ae("[");if(bn.type===Qt.Identifier){if(r=bn,n=Ze(),ae("="))return e.push(r),W(),i=Ke(),o.finishProperty("init",n,!1,new K(r).finishAssignmentPattern(n,i),!1,!0);if(!ae(":"))return e.push(r),o.finishProperty("init",n,!1,n,!1,!0)}else n=xe();return re(":"),i=ge(e,t),o.finishProperty("init",n,a,i,!1,!1)}function me(e,t){var n=new Y,r=[];for(re("{");!ae("}");)r.push(he(e,t)),ae("}")||re(",");return W(),n.finishObjectPattern(r)}function ve(e,t){return ae("[")?de(e,t):ae("{")?me(e,t):(se("let")&&("const"!==t&&"let"!==t||ne(bn,rn.UnexpectedToken)),e.push(bn),Ze(t))}function ge(e,t){var n,r,i,o=bn;return n=ve(e,t),ae("=")&&(W(),r=xn.allowYield,xn.allowYield=!0,i=pe(Ke),xn.allowYield=r,n=new K(o).finishAssignmentPattern(n,i)),n}function ye(){var e,t=[],n=new Y;for(re("[");!ae("]");)ae(",")?(W(),t.push(null)):ae("...")?(e=new Y,W(),e.finishSpreadElement(fe(Ke)),ae("]")||(An=Cn=!1,re(",")),t.push(e)):(t.push(fe(Ke)),ae("]")||re(","));return W(),n.finishArrayExpression(t)}function Ee(e,t,n){var r,i;return An=Cn=!1,r=sn,i=pe(_t),sn&&t.firstRestricted&&ne(t.firstRestricted,t.message),sn&&t.stricted&&ne(t.stricted,t.message),sn=r,e.finishFunctionExpression(null,t.params,t.defaults,i,n)}function be(){var e,t,n=new Y,r=xn.allowYield;return xn.allowYield=!1,e=kt(),xn.allowYield=r,xn.allowYield=!1,t=Ee(n,e,!1),xn.allowYield=r,t}function xe(){var e,t,n=new Y;switch(e=W(),e.type){case Qt.StringLiteral:case Qt.NumericLiteral:return sn&&e.octal&&ne(e,rn.StrictOctalLiteral),n.finishLiteral(e);case Qt.Identifier:case Qt.BooleanLiteral:case Qt.NullLiteral:case Qt.Keyword:return n.finishIdentifier(e.value);case Qt.Punctuator:if("["===e.value)return t=pe(Ke),re("]"),t}te(e)}function De(){switch(bn.type){case Qt.Identifier:case Qt.StringLiteral:case Qt.BooleanLiteral:case Qt.NullLiteral:case Qt.NumericLiteral:case Qt.Keyword:return!0;case Qt.Punctuator:return"["===bn.value}return!1}function Ce(e,t,n,r){var i,o,a,s,u=xn.allowYield;if(e.type===Qt.Identifier){if("get"===e.value&&De())return n=ae("["),t=xe(),a=new Y,re("("),re(")"),xn.allowYield=!1,i=Ee(a,{params:[],defaults:[],stricted:null,firstRestricted:null,message:null},!1),xn.allowYield=u,r.finishProperty("get",t,n,i,!1,!1);if("set"===e.value&&De())return n=ae("["),t=xe(),a=new Y,re("("),o={params:[],defaultCount:0,defaults:[],firstRestricted:null,paramSet:{}},ae(")")?ne(bn):(xn.allowYield=!1,Nt(o),xn.allowYield=u,0===o.defaultCount&&(o.defaults=[])),re(")"),xn.allowYield=!1,i=Ee(a,o,!1),xn.allowYield=u,r.finishProperty("set",t,n,i,!1,!1)}else if(e.type===Qt.Punctuator&&"*"===e.value&&De())return n=ae("["),t=xe(),a=new Y,xn.allowYield=!0,s=kt(),xn.allowYield=u,xn.allowYield=!1,i=Ee(a,s,!0),xn.allowYield=u,r.finishProperty("init",t,n,i,!0,!1);return t&&ae("(")?(i=be(),r.finishProperty("init",t,n,i,!0,!1)):null}function Ae(e){var t,n,r,i,o,a=bn,s=new Y;return t=ae("["),ae("*")?W():n=xe(),(r=Ce(a,n,t,s))?r:(n||te(bn),t||(i=n.type===tn.Identifier&&"__proto__"===n.name||n.type===tn.Literal&&"__proto__"===n.value,e.value&&i&&Z(rn.DuplicateProtoProperty),e.value|=i),ae(":")?(W(),o=fe(Ke),s.finishProperty("init",n,t,o,!1,!1)):a.type===Qt.Identifier?ae("=")?(wn=bn,W(),o=pe(Ke),s.finishProperty("init",n,t,new K(a).finishAssignmentPattern(n,o),!1,!0)):s.finishProperty("init",n,t,n,!1,!0):void te(bn))}function we(){var e=[],t={value:!1},n=new Y;for(re("{");!ae("}");)e.push(Ae(t)),ae("}")||ie();return re("}"),n.finishObjectExpression(e)}function Se(e){var t;switch(e.type){case tn.Identifier:case tn.MemberExpression:case tn.RestElement:case tn.AssignmentPattern:break;case tn.SpreadElement:e.type=tn.RestElement,Se(e.argument);break;case tn.ArrayExpression:for(e.type=tn.ArrayPattern,t=0;t")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[],rawParams:[]};if(n=bn,ae("..."))return e=lt(i),re(")"),ae("=>")||re("=>"),{type:nn.ArrowParameterPlaceHolder,params:[e]};if(Cn=!0,e=fe(Ke),ae(",")){for(An=!1,t=[e];En>mn&&ae(",");){if(W(),ae("...")){for(Cn||te(bn),t.push(lt(i)),re(")"),ae("=>")||re("=>"),Cn=!1,r=0;r")){if(e.type===tn.Identifier&&"yield"===e.name)return{type:nn.ArrowParameterPlaceHolder,params:[e]};if(Cn||te(bn),e.type===tn.SequenceExpression)for(r=0;rmn&&(ae("...")?(e=new Y,W(),e.finishSpreadElement(pe(Ke))):e=pe(Ke),t.push(e),!ae(")"));)ie();return re(")"),t}function Pe(){var e,t=new Y;return e=W(),L(e)||te(e),t.finishIdentifier(e.value)}function Oe(){return re("."),Pe()}function Ie(){var e;return re("["),e=pe(Je),re("]"),e}function Me(){var e,t,n=new Y;if(oe("new"),ae(".")){if(W(),bn.type===Qt.Identifier&&"target"===bn.value&&xn.inFunctionBody)return W(),n.finishMetaProperty("new","target");te(bn)}return e=pe(Re),t=ae("(")?Te():[],An=Cn=!1,n.finishNewExpression(e,t)}function Be(){var e,t,n,r,i,o=xn.allowIn;for(i=bn,xn.allowIn=!0,se("super")&&xn.inFunctionBody?(t=new Y,W(),t=t.finishSuper(),ae("(")||ae(".")||ae("[")||te(bn)):t=fe(se("new")?Me:ke);;)if(ae("."))Cn=!1,An=!0,r=Oe(),t=new K(i).finishMemberExpression(".",t,r);else if(ae("("))Cn=!1,An=!1,n=Te(),t=new K(i).finishCallExpression(t,n);else if(ae("["))Cn=!1,An=!0,r=Ie(),t=new K(i).finishMemberExpression("[",t,r);else{if(bn.type!==Qt.Template||!bn.head)break;e=Fe(),t=new K(i).finishTaggedTemplateExpression(t,e)}return xn.allowIn=o,t}function Re(){var e,n,r,i;for(t(xn.allowIn,"callee of new expression always allow in keyword."),i=bn,se("super")&&xn.inFunctionBody?(n=new Y,W(),n=n.finishSuper(),ae("[")||ae(".")||te(bn)):n=fe(se("new")?Me:ke);;)if(ae("["))Cn=!1,An=!0,r=Ie(),n=new K(i).finishMemberExpression("[",n,r);else if(ae("."))Cn=!1,An=!0,r=Oe(),n=new K(i).finishMemberExpression(".",n,r);else{if(bn.type!==Qt.Template||!bn.head)break;e=Fe(),n=new K(i).finishTaggedTemplateExpression(n,e)}return n}function Le(){var e,t,n=bn;return e=fe(Be),pn||bn.type!==Qt.Punctuator||(ae("++")||ae("--"))&&(sn&&e.type===tn.Identifier&&d(e.name)&&Z(rn.StrictLHSPostfix),An||Z(rn.InvalidLHSInAssignment),An=Cn=!1,t=W(),e=new K(n).finishPostfixExpression(t.value,e)),e}function je(){var e,t,n;return bn.type!==Qt.Punctuator&&bn.type!==Qt.Keyword?t=Le():ae("++")||ae("--")?(n=bn,e=W(),t=fe(je),sn&&t.type===tn.Identifier&&d(t.name)&&Z(rn.StrictLHSPrefix),An||Z(rn.InvalidLHSInAssignment),t=new K(n).finishUnaryExpression(e.value,t),An=Cn=!1):ae("+")||ae("-")||ae("~")||ae("!")?(n=bn,e=W(),t=fe(je),t=new K(n).finishUnaryExpression(e.value,t),An=Cn=!1):se("delete")||se("void")||se("typeof")?(n=bn,e=W(),t=fe(je),t=new K(n).finishUnaryExpression(e.value,t),sn&&"delete"===t.operator&&t.argument.type===tn.Identifier&&Z(rn.StrictDelete),An=Cn=!1):t=Le(),t}function Ve(e,t){var n=0;if(e.type!==Qt.Punctuator&&e.type!==Qt.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function Ue(){var e,t,n,r,i,o,a,s,u,l;if(e=bn,u=fe(je),r=bn,i=Ve(r,xn.allowIn),0===i)return u;for(An=Cn=!1,r.prec=i,W(),t=[e,bn],a=pe(je),o=[u,r,a];(i=Ve(bn,xn.allowIn))>0;){for(;o.length>2&&i<=o[o.length-2].prec;)a=o.pop(),s=o.pop().value,u=o.pop(),t.pop(),n=new K(t[t.length-1]).finishBinaryExpression(s,u,a),o.push(n);r=W(),r.prec=i,o.push(r),t.push(bn),n=pe(je),o.push(n)}for(l=o.length-1,n=o[l],t.pop();l>1;)n=new K(t.pop()).finishBinaryExpression(o[l-1].value,o[l-2],n),l-=2;return n}function We(){var e,t,n,r,i;return i=bn,e=fe(Ue),ae("?")&&(W(),t=xn.allowIn,xn.allowIn=!0,n=pe(Ke),xn.allowIn=t,re(":"),r=pe(Ke),e=new K(i).finishConditionalExpression(e,n,r),An=Cn=!1),e}function He(){return ae("{")?_t():pe(Ke)}function Ge(e,n){var r;switch(n.type){case tn.Identifier:Ft(e,n,n.name);break;case tn.RestElement:Ge(e,n.argument);break;case tn.AssignmentPattern:Ge(e,n.left);break;case tn.ArrayPattern:for(r=0;rt;t+=1)switch(r=i[t],r.type){case tn.AssignmentPattern:i[t]=r.left,r.right.type===tn.YieldExpression&&(r.right.argument&&te(bn),r.right.type=tn.Identifier,r.right.name="yield",delete r.right.argument,delete r.right.delegate),o.push(r.right),++a,Ge(s,r.left);break;default:Ge(s,r),i[t]=r,o.push(null)}if(sn||!xn.allowYield)for(t=0,n=i.length;n>t;t+=1)r=i[t],r.type===tn.YieldExpression&&te(bn);return s.message===rn.StrictParamDupe&&(u=sn?s.stricted:s.firstRestricted,te(u,s.message)),0===a&&(o=[]),{params:i,defaults:o,stricted:s.stricted,firstRestricted:s.firstRestricted,message:s.message}}function ze(e,t){var n,r,i;return pn&&ne(bn),re("=>"),n=sn,r=xn.allowYield,xn.allowYield=!0,i=He(),sn&&e.firstRestricted&&te(e.firstRestricted,e.message),sn&&e.stricted&&ne(e.stricted,e.message),sn=n,xn.allowYield=r,t.finishArrowFunctionExpression(e.params,e.defaults,i,i.type!==tn.BlockStatement)}function Ye(){var e,t,n,r;return e=null,t=new Y,n=!1,oe("yield"),pn||(r=xn.allowYield,xn.allowYield=!1,n=ae("*"),n?(W(),e=Ke()):ae(";")||ae("}")||ae(")")||bn.type===Qt.EOF||(e=Ke()),xn.allowYield=r),t.finishYieldExpression(e,n)}function Ke(){var e,t,n,r,i;return i=bn,e=bn,!xn.allowYield&&se("yield")?Ye():(t=We(),t.type===nn.ArrowParameterPlaceHolder||ae("=>")?(An=Cn=!1,r=qe(t),r?(wn=null,ze(r,new K(i))):t):(le()&&(An||Z(rn.InvalidLHSInAssignment),sn&&t.type===tn.Identifier&&(d(t.name)&&ne(e,rn.StrictLHSAssignment),f(t.name)&&ne(e,rn.StrictReservedWord)),ae("=")?Se(t):An=Cn=!1,e=W(),n=pe(Ke),t=new K(i).finishAssignmentExpression(e.value,t,n),wn=null),t))}function Je(){var e,t,n=bn;if(e=pe(Ke),ae(",")){for(t=[e];En>mn&&ae(",");)W(),t.push(pe(Ke));e=new K(n).finishSequenceExpression(t)}return e}function Xe(){if(bn.type===Qt.Keyword)switch(bn.value){case"export":return"module"!==xn.sourceType&&ne(bn,rn.IllegalExportDeclaration),Ut();case"import":return"module"!==xn.sourceType&&ne(bn,rn.IllegalImportDeclaration),zt();case"const":return ut({inFor:!1});case"function":return Tt(new Y);case"class":return It()}return se("let")&&st()?ut({inFor:!1}):St()}function $e(){for(var e=[];En>mn&&!ae("}");)e.push(Xe());return e}function Qe(){var e,t=new Y;return re("{"),e=$e(),re("}"),t.finishBlockStatement(e)}function Ze(e){var t,n=new Y;return t=W(),t.type===Qt.Keyword&&"yield"===t.value?(sn&&ne(t,rn.StrictReservedWord),xn.allowYield||te(t)):t.type!==Qt.Identifier?sn&&t.type===Qt.Keyword&&f(t.value)?ne(t,rn.StrictReservedWord):(sn||"let"!==t.value||"var"!==e)&&te(t):"module"===xn.sourceType&&t.type===Qt.Identifier&&"await"===t.value&&ne(t),n.finishIdentifier(t.value)}function et(e){var t,n=null,r=new Y,i=[];return t=ve(i,"var"),sn&&d(t.name)&&Z(rn.StrictVarName),ae("=")?(W(),n=pe(Ke)):t.type===tn.Identifier||e.inFor||re("="),r.finishVariableDeclarator(t,n)}function tt(e){var t,n;for(t={inFor:e.inFor},n=[et(t)];ae(",");)W(),n.push(et(t));return n}function nt(e){var t;return oe("var"),t=tt({inFor:!1}),ce(),e.finishVariableDeclaration(t)}function rt(e,t){var n,r=null,i=new Y,o=[];return n=ve(o,e),sn&&n.type===tn.Identifier&&d(n.name)&&Z(rn.StrictVarName),"const"===e?se("in")||ue("of")||(re("="),r=pe(Ke)):(!t.inFor&&n.type!==tn.Identifier||ae("="))&&(re("="),r=pe(Ke)),i.finishVariableDeclarator(n,r)}function it(e,t){for(var n=[rt(e,t)];ae(",");)W(),n.push(rt(e,t));return n}function ot(){return{index:un,lineNumber:ln,lineStart:cn,hasLineTerminator:pn,lastIndex:fn,lastLineNumber:dn,lastLineStart:hn,startIndex:mn,startLineNumber:vn,startLineStart:gn,lookahead:bn,tokenCount:Dn.tokens?Dn.tokens.length:0}}function at(e){un=e.index,ln=e.lineNumber,cn=e.lineStart,pn=e.hasLineTerminator,fn=e.lastIndex,dn=e.lastLineNumber,hn=e.lastLineStart,mn=e.startIndex,vn=e.startLineNumber,gn=e.startLineStart,bn=e.lookahead,Dn.tokens&&Dn.tokens.splice(e.tokenCount,Dn.tokens.length)}function st(){var e,t;return t=ot(),W(),e=bn.type===Qt.Identifier||ae("[")||ae("{")||se("let")||se("yield"),at(t),e}function ut(e){var n,r,i=new Y;return n=W().value,t("let"===n||"const"===n,"Lexical declaration must be either let or const"),r=it(n,e),ce(),i.finishLexicalDeclaration(r,n)}function lt(e){var t,n=new Y;return W(),ae("{")&&Q(rn.ObjectPatternAsRestParameter),e.push(bn),t=Ze(),ae("=")&&Q(rn.DefaultRestParameter),ae(")")||Q(rn.ParameterAfterRestParameter),n.finishRestElement(t)}function ct(e){return re(";"),e.finishEmptyStatement()}function pt(e){var t=Je();return ce(),e.finishExpressionStatement(t)}function ft(e){var t,n,r;return oe("if"),re("("),t=Je(),re(")"),n=St(),se("else")?(W(),r=St()):r=null,e.finishIfStatement(t,n,r)}function dt(e){var t,n,r;return oe("do"),r=xn.inIteration,xn.inIteration=!0,t=St(),xn.inIteration=r,oe("while"),re("("),n=Je(),re(")"),ae(";")&&W(),e.finishDoWhileStatement(t,n)}function ht(e){var t,n,r;return oe("while"),re("("),t=Je(),re(")"),r=xn.inIteration,xn.inIteration=!0,n=St(),xn.inIteration=r,e.finishWhileStatement(t,n)}function mt(e){var t,n,r,i,o,a,s,u,l,c,p,f,d=xn.allowIn;if(t=o=a=null,n=!0,oe("for"),re("("),ae(";"))W();else if(se("var"))t=new Y,W(),xn.allowIn=!1,c=tt({inFor:!0}),xn.allowIn=d,1===c.length&&se("in")?(t=t.finishVariableDeclaration(c),W(),s=t,u=Je(),t=null):1===c.length&&null===c[0].init&&ue("of")?(t=t.finishVariableDeclaration(c),W(),s=t,u=Ke(),t=null,n=!1):(t=t.finishVariableDeclaration(c),re(";"));else if(se("const")||se("let"))t=new Y,l=W().value,sn||"in"!==bn.value?(xn.allowIn=!1,c=it(l,{inFor:!0}),xn.allowIn=d,1===c.length&&null===c[0].init&&se("in")?(t=t.finishLexicalDeclaration(c,l),W(),s=t,u=Je(),t=null):1===c.length&&null===c[0].init&&ue("of")?(t=t.finishLexicalDeclaration(c,l),W(),s=t,u=Ke(),t=null,n=!1):(ce(),t=t.finishLexicalDeclaration(c,l))):(t=t.finishIdentifier(l),W(),s=t,u=Je(),t=null);else if(i=bn,xn.allowIn=!1,t=fe(Ke),xn.allowIn=d,se("in"))An||Z(rn.InvalidLHSInForIn),W(),Se(t),s=t,u=Je(),t=null;else if(ue("of"))An||Z(rn.InvalidLHSInForLoop),W(),Se(t),s=t,u=Ke(),t=null,n=!1;else{if(ae(",")){for(r=[t];ae(",");)W(),r.push(pe(Ke));t=new K(i).finishSequenceExpression(r)}re(";")}return"undefined"==typeof s&&(ae(";")||(o=Je()),re(";"),ae(")")||(a=Je())),re(")"),f=xn.inIteration,xn.inIteration=!0,p=pe(St),xn.inIteration=f,"undefined"==typeof s?e.finishForStatement(t,o,a,p):n?e.finishForInStatement(s,u,p):e.finishForOfStatement(s,u,p)}function vt(e){var t,n=null;return oe("continue"),59===an.charCodeAt(mn)?(W(),xn.inIteration||Q(rn.IllegalContinue),e.finishContinueStatement(null)):pn?(xn.inIteration||Q(rn.IllegalContinue),e.finishContinueStatement(null)):(bn.type===Qt.Identifier&&(n=Ze(),t="$"+n.name,Object.prototype.hasOwnProperty.call(xn.labelSet,t)||Q(rn.UnknownLabel,n.name)),ce(),null!==n||xn.inIteration||Q(rn.IllegalContinue),e.finishContinueStatement(n))}function gt(e){var t,n=null;return oe("break"),59===an.charCodeAt(fn)?(W(),xn.inIteration||xn.inSwitch||Q(rn.IllegalBreak),e.finishBreakStatement(null)):(pn?xn.inIteration||xn.inSwitch||Q(rn.IllegalBreak):bn.type===Qt.Identifier&&(n=Ze(),t="$"+n.name,Object.prototype.hasOwnProperty.call(xn.labelSet,t)||Q(rn.UnknownLabel,n.name)),ce(),null!==n||xn.inIteration||xn.inSwitch||Q(rn.IllegalBreak),e.finishBreakStatement(n))}function yt(e){var t=null;return oe("return"),xn.inFunctionBody||Z(rn.IllegalReturn),32===an.charCodeAt(fn)&&l(an.charCodeAt(fn+1))?(t=Je(),ce(),e.finishReturnStatement(t)):pn?e.finishReturnStatement(null):(ae(";")||ae("}")||bn.type===Qt.EOF||(t=Je()),ce(),e.finishReturnStatement(t))}function Et(e){var t,n;return sn&&Z(rn.StrictModeWith),oe("with"),re("("),t=Je(),re(")"),n=St(),e.finishWithStatement(t,n)}function bt(){var e,t,n=[],r=new Y;for(se("default")?(W(),e=null):(oe("case"),e=Je()),re(":");En>mn&&!(ae("}")||se("default")||se("case"));)t=Xe(),n.push(t);return r.finishSwitchCase(e,n)}function xt(e){var t,n,r,i,o;if(oe("switch"),re("("),t=Je(),re(")"),re("{"),n=[],ae("}"))return W(),e.finishSwitchStatement(t,n);for(i=xn.inSwitch,xn.inSwitch=!0,o=!1;En>mn&&!ae("}");)r=bt(),null===r.test&&(o&&Q(rn.MultipleDefaultsInSwitch),o=!0),n.push(r);return xn.inSwitch=i,re("}"),e.finishSwitchStatement(t,n)}function Dt(e){var t;return oe("throw"),pn&&Q(rn.NewlineAfterThrow),t=Je(),ce(),e.finishThrowStatement(t)}function Ct(){var e,t,n,r,i=[],o={},a=new Y;for(oe("catch"),re("("),ae(")")&&te(bn),e=ve(i),n=0;nmn&&bn.type===Qt.StringLiteral&&(t=bn,e=Xe(),u.push(e),e.expression.type===tn.Literal);)n=an.slice(t.start+1,t.end-1),"use strict"===n?(sn=!0,r&&ne(r,rn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(i=xn.labelSet,o=xn.inIteration,a=xn.inSwitch,s=xn.inFunctionBody,xn.labelSet={},xn.inIteration=!1,xn.inSwitch=!1,xn.inFunctionBody=!0;En>mn&&!ae("}");)u.push(Xe());return re("}"),xn.labelSet=i,xn.inIteration=o,xn.inSwitch=a,xn.inFunctionBody=s,l.finishBlockStatement(u)}function Ft(e,t,n){var r="$"+n;sn?(d(n)&&(e.stricted=t,e.message=rn.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=rn.StrictParamDupe)):e.firstRestricted||(d(n)?(e.firstRestricted=t,e.message=rn.StrictParamName):f(n)?(e.firstRestricted=t,e.message=rn.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=rn.StrictParamDupe)),e.paramSet[r]=!0}function Nt(e){var t,n,r,i,o=[];if(t=bn,"..."===t.value)return n=lt(o),Ft(e,n.argument,n.argument.name),e.params.push(n),e.defaults.push(null),!1;for(n=ge(o),r=0;rmn&&Nt(t);)re(",");return re(")"),0===t.defaultCount&&(t.defaults=[]),{params:t.params,defaults:t.defaults,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}}function Tt(e,t){var n,r,i,o,a,s,u,l,c,p=null,h=[],m=[];return c=xn.allowYield,oe("function"),l=ae("*"),l&&W(),t&&ae("(")||(r=bn,p=Ze(),sn?d(r.value)&&ne(r,rn.StrictFunctionName):d(r.value)?(a=r,s=rn.StrictFunctionName):f(r.value)&&(a=r,s=rn.StrictReservedWord)),xn.allowYield=!l,o=kt(a),h=o.params,m=o.defaults,i=o.stricted,a=o.firstRestricted,o.message&&(s=o.message),u=sn,n=_t(),sn&&a&&te(a,s),sn&&i&&ne(i,s),sn=u,xn.allowYield=c,e.finishFunctionDeclaration(p,h,m,n,l)}function Pt(){var e,t,n,r,i,o,a,s,u,l=null,c=[],p=[],h=new Y;return u=xn.allowYield,oe("function"),s=ae("*"),s&&W(),xn.allowYield=!s,ae("(")||(e=bn,l=sn||s||!se("yield")?Ze():Pe(),sn?d(e.value)&&ne(e,rn.StrictFunctionName):d(e.value)?(n=e,r=rn.StrictFunctionName):f(e.value)&&(n=e,r=rn.StrictReservedWord)),i=kt(n),c=i.params,p=i.defaults,t=i.stricted,n=i.firstRestricted,i.message&&(r=i.message),a=sn,o=_t(),sn&&n&&te(n,r),sn&&t&&ne(t,r),sn=a,xn.allowYield=u,h.finishFunctionExpression(l,c,p,o,s)}function Ot(){var e,t,n,r,i,o,a,s=!1;for(e=new Y,re("{"),r=[];!ae("}");)ae(";")?W():(i=new Y,t=bn,n=!1,o=ae("["),ae("*")?W():(a=xe(),"static"===a.name&&(De()||ae("*"))&&(t=bn,n=!0,o=ae("["),ae("*")?W():a=xe())),i=Ce(t,a,o,i),i?(i["static"]=n,"init"===i.kind&&(i.kind="method"),n?i.computed||"prototype"!==(i.key.name||i.key.value.toString())||te(t,rn.StaticPrototype):i.computed||"constructor"!==(i.key.name||i.key.value.toString())||("method"===i.kind&&i.method&&!i.value.generator||te(t,rn.ConstructorSpecialMethod),s?te(t,rn.DuplicateConstructor):s=!0,i.kind="constructor"),i.type=tn.MethodDefinition,delete i.method,delete i.shorthand,r.push(i)):te(bn));return W(),e.finishClassBody(r)}function It(e){var t,n=null,r=null,i=new Y,o=sn;return sn=!0,oe("class"),e&&bn.type!==Qt.Identifier||(n=Ze()),se("extends")&&(W(),r=pe(Be)),t=Ot(),sn=o,i.finishClassDeclaration(n,r,t)}function Mt(){var e,t=null,n=null,r=new Y,i=sn;return sn=!0,oe("class"),bn.type===Qt.Identifier&&(t=Ze()),se("extends")&&(W(),n=pe(Be)),e=Ot(),sn=i,r.finishClassExpression(t,n,e)}function Bt(){var e=new Y;return bn.type!==Qt.StringLiteral&&Q(rn.InvalidModuleSpecifier),e.finishLiteral(W())}function Rt(){var e,t,n,r=new Y;return se("default")?(n=new Y,W(),t=n.finishIdentifier("default")):t=Ze(),ue("as")&&(W(),e=Pe()),r.finishExportSpecifier(t,e)}function Lt(e){var t,n=null,r=null,i=[];if(bn.type===Qt.Keyword)switch(bn.value){case"let":case"const":return n=ut({inFor:!1}),e.finishExportNamedDeclaration(n,i,null);case"var":case"class":case"function":return n=Xe(),e.finishExportNamedDeclaration(n,i,null)}for(re("{");!ae("}")&&(t=t||se("default"),i.push(Rt()),ae("}")||(re(","),!ae("}"))););return re("}"),ue("from")?(W(),r=Bt(),ce()):t?Q(bn.value?rn.UnexpectedToken:rn.MissingFromClause,bn.value):ce(),e.finishExportNamedDeclaration(n,i,r)}function jt(e){var t=null,n=null;return oe("default"),se("function")?(t=Tt(new Y,!0),e.finishExportDefaultDeclaration(t)):se("class")?(t=It(!0),e.finishExportDefaultDeclaration(t)):(ue("from")&&Q(rn.UnexpectedToken,bn.value),n=ae("{")?we():ae("[")?ye():Ke(),ce(),e.finishExportDefaultDeclaration(n))}function Vt(e){var t;return re("*"),ue("from")||Q(bn.value?rn.UnexpectedToken:rn.MissingFromClause,bn.value),W(),t=Bt(),ce(),e.finishExportAllDeclaration(t)}function Ut(){var e=new Y;return xn.inFunctionBody&&Q(rn.IllegalExportDeclaration),oe("export"),se("default")?jt(e):ae("*")?Vt(e):Lt(e)}function Wt(){var e,t,n=new Y;return t=Pe(),ue("as")&&(W(),e=Ze()),n.finishImportSpecifier(e,t)}function Ht(){var e=[];for(re("{");!ae("}")&&(e.push(Wt()),ae("}")||(re(","),!ae("}"))););return re("}"),e}function Gt(){var e,t=new Y;return e=Pe(),t.finishImportDefaultSpecifier(e)}function qt(){var e,t=new Y;return re("*"),ue("as")||Q(rn.NoAsAfterImportNamespace),W(),e=Pe(),t.finishImportNamespaceSpecifier(e)}function zt(){var e,t=[],n=new Y;return xn.inFunctionBody&&Q(rn.IllegalImportDeclaration),oe("import"),bn.type===Qt.StringLiteral?e=Bt():(ae("{")?t=t.concat(Ht()):ae("*")?t.push(qt()):L(bn)&&!se("default")?(t.push(Gt()),ae(",")&&(W(),ae("*")?t.push(qt()):ae("{")?t=t.concat(Ht()):te(bn))):te(W()),ue("from")||Q(bn.value?rn.UnexpectedToken:rn.MissingFromClause,bn.value),W(),e=Bt()),ce(),n.finishImportDeclaration(t,e)}function Yt(){for(var e,t,n,r,i=[];En>mn&&(t=bn,t.type===Qt.StringLiteral)&&(e=Xe(),i.push(e),e.expression.type===tn.Literal);)n=an.slice(t.start+1,t.end-1),"use strict"===n?(sn=!0,r&&ne(r,rn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(;En>mn&&(e=Xe(),"undefined"!=typeof e);)i.push(e);return i}function Kt(){var e,t;return H(),t=new Y,e=Yt(),t.finishProgram(e,xn.sourceType)}function Jt(){var e,t,n,r=[];for(e=0;e0?1:0,cn=0,mn=un,vn=ln,gn=cn,En=an.length,bn=null,xn={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[]},Dn={},t=t||{},t.tokens=!0,Dn.tokens=[],Dn.tokenValues=[],Dn.tokenize=!0,Dn.delegate=n,Dn.openParenToken=-1,Dn.openCurlyToken=-1,Dn.range="boolean"==typeof t.range&&t.range,Dn.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(Dn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Dn.errors=[]);try{if(H(),bn.type===Qt.EOF)return Dn.tokens;for(W();bn.type!==Qt.EOF;)try{W()}catch(o){if(Dn.errors){J(o);break}throw o}i=Dn.tokens,"undefined"!=typeof Dn.errors&&(i.errors=Dn.errors)}catch(a){throw a}finally{Dn={}}return i}function $t(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),an=e,un=0,ln=an.length>0?1:0,cn=0,mn=un,vn=ln,gn=cn,En=an.length,bn=null,xn={allowIn:!0,allowYield:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,curlyStack:[],sourceType:"script"},sn=!1,Dn={},"undefined"!=typeof t&&(Dn.range="boolean"==typeof t.range&&t.range,Dn.loc="boolean"==typeof t.loc&&t.loc,Dn.attachComment="boolean"==typeof t.attachComment&&t.attachComment,Dn.loc&&null!==t.source&&void 0!==t.source&&(Dn.source=r(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(Dn.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(Dn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Dn.errors=[]), -Dn.attachComment&&(Dn.range=!0,Dn.comments=[],Dn.bottomRightStack=[],Dn.trailingComments=[],Dn.leadingComments=[]),"module"===t.sourceType&&(xn.sourceType=t.sourceType,sn=!0));try{n=Kt(),"undefined"!=typeof Dn.comments&&(n.comments=Dn.comments),"undefined"!=typeof Dn.tokens&&(Jt(),n.tokens=Dn.tokens),"undefined"!=typeof Dn.errors&&(n.errors=Dn.errors)}catch(i){throw i}finally{Dn={}}return n}var Qt,Zt,en,tn,nn,rn,on,an,sn,un,ln,cn,pn,fn,dn,hn,mn,vn,gn,yn,En,bn,xn,Dn,Cn,An,wn;Qt={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10},Zt={},Zt[Qt.BooleanLiteral]="Boolean",Zt[Qt.EOF]="",Zt[Qt.Identifier]="Identifier",Zt[Qt.Keyword]="Keyword",Zt[Qt.NullLiteral]="Null",Zt[Qt.NumericLiteral]="Numeric",Zt[Qt.Punctuator]="Punctuator",Zt[Qt.StringLiteral]="String",Zt[Qt.RegularExpression]="RegularExpression",Zt[Qt.Template]="Template",en=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],tn={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},nn={ArrowParameterPlaceHolder:"ArrowParameterPlaceHolder"},rn={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",DefaultRestParameter:"Unexpected token =",ObjectPatternAsRestParameter:"Unexpected token {",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ConstructorSpecialMethod:"Class constructor may not be an accessor",DuplicateConstructor:"A class may only have one constructor",StaticPrototype:"Classes may not have static property named prototype",MissingFromClause:"Unexpected token",NoAsAfterImportNamespace:"Unexpected token",InvalidModuleSpecifier:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalExportDeclaration:"Unexpected token",DuplicateBinding:"Duplicate binding %0"},on={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},K.prototype=Y.prototype={processComment:function(){var e,t,n,r,i,o,a=Dn.bottomRightStack,s=a[a.length-1];if(!(this.type===tn.Program&&this.body.length>0)){if(this.type===tn.BlockStatement&&0===this.body.length){for(t=[],i=Dn.leadingComments.length-1;i>=0;--i)o=Dn.leadingComments[i],this.range[1]>=o.range[1]&&(t.unshift(o),Dn.leadingComments.splice(i,1),Dn.trailingComments.splice(i,1));if(t.length)return void(this.innerComments=t)}if(Dn.trailingComments.length>0){for(r=[],i=Dn.trailingComments.length-1;i>=0;--i)o=Dn.trailingComments[i],o.range[0]>=this.range[1]&&(r.unshift(o),Dn.trailingComments.splice(i,1));Dn.trailingComments=[]}else s&&s.trailingComments&&s.trailingComments[0].range[0]>=this.range[1]&&(r=s.trailingComments,delete s.trailingComments);for(;s&&s.range[0]>=this.range[0];)e=a.pop(),s=a[a.length-1];if(e){if(e.leadingComments){for(n=[],i=e.leadingComments.length-1;i>=0;--i)o=e.leadingComments[i],o.range[1]<=this.range[0]&&(n.unshift(o),e.leadingComments.splice(i,1));e.leadingComments.length||(e.leadingComments=void 0)}}else if(Dn.leadingComments.length>0)for(n=[],i=Dn.leadingComments.length-1;i>=0;--i)o=Dn.leadingComments[i],o.range[1]<=this.range[0]&&(n.unshift(o),Dn.leadingComments.splice(i,1));n&&n.length>0&&(this.leadingComments=n),r&&r.length>0&&(this.trailingComments=r),a.push(this)}},finish:function(){Dn.range&&(this.range[1]=fn),Dn.loc&&(this.loc.end={line:dn,column:fn-hn},Dn.source&&(this.loc.source=Dn.source)),Dn.attachComment&&this.processComment()},finishArrayExpression:function(e){return this.type=tn.ArrayExpression,this.elements=e,this.finish(),this},finishArrayPattern:function(e){return this.type=tn.ArrayPattern,this.elements=e,this.finish(),this},finishArrowFunctionExpression:function(e,t,n,r){return this.type=tn.ArrowFunctionExpression,this.id=null,this.params=e,this.defaults=t,this.body=n,this.generator=!1,this.expression=r,this.finish(),this},finishAssignmentExpression:function(e,t,n){return this.type=tn.AssignmentExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishAssignmentPattern:function(e,t){return this.type=tn.AssignmentPattern,this.left=e,this.right=t,this.finish(),this},finishBinaryExpression:function(e,t,n){return this.type="||"===e||"&&"===e?tn.LogicalExpression:tn.BinaryExpression,this.operator=e,this.left=t,this.right=n,this.finish(),this},finishBlockStatement:function(e){return this.type=tn.BlockStatement,this.body=e,this.finish(),this},finishBreakStatement:function(e){return this.type=tn.BreakStatement,this.label=e,this.finish(),this},finishCallExpression:function(e,t){return this.type=tn.CallExpression,this.callee=e,this.arguments=t,this.finish(),this},finishCatchClause:function(e,t){return this.type=tn.CatchClause,this.param=e,this.body=t,this.finish(),this},finishClassBody:function(e){return this.type=tn.ClassBody,this.body=e,this.finish(),this},finishClassDeclaration:function(e,t,n){return this.type=tn.ClassDeclaration,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishClassExpression:function(e,t,n){return this.type=tn.ClassExpression,this.id=e,this.superClass=t,this.body=n,this.finish(),this},finishConditionalExpression:function(e,t,n){return this.type=tn.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishContinueStatement:function(e){return this.type=tn.ContinueStatement,this.label=e,this.finish(),this},finishDebuggerStatement:function(){return this.type=tn.DebuggerStatement,this.finish(),this},finishDoWhileStatement:function(e,t){return this.type=tn.DoWhileStatement,this.body=e,this.test=t,this.finish(),this},finishEmptyStatement:function(){return this.type=tn.EmptyStatement,this.finish(),this},finishExpressionStatement:function(e){return this.type=tn.ExpressionStatement,this.expression=e,this.finish(),this},finishForStatement:function(e,t,n,r){return this.type=tn.ForStatement,this.init=e,this.test=t,this.update=n,this.body=r,this.finish(),this},finishForOfStatement:function(e,t,n){return this.type=tn.ForOfStatement,this.left=e,this.right=t,this.body=n,this.finish(),this},finishForInStatement:function(e,t,n){return this.type=tn.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1,this.finish(),this},finishFunctionDeclaration:function(e,t,n,r,i){return this.type=tn.FunctionDeclaration,this.id=e,this.params=t,this.defaults=n,this.body=r,this.generator=i,this.expression=!1,this.finish(),this},finishFunctionExpression:function(e,t,n,r,i){return this.type=tn.FunctionExpression,this.id=e,this.params=t,this.defaults=n,this.body=r,this.generator=i,this.expression=!1,this.finish(),this},finishIdentifier:function(e){return this.type=tn.Identifier,this.name=e,this.finish(),this},finishIfStatement:function(e,t,n){return this.type=tn.IfStatement,this.test=e,this.consequent=t,this.alternate=n,this.finish(),this},finishLabeledStatement:function(e,t){return this.type=tn.LabeledStatement,this.label=e,this.body=t,this.finish(),this},finishLiteral:function(e){return this.type=tn.Literal,this.value=e.value,this.raw=an.slice(e.start,e.end),e.regex&&(this.regex=e.regex),this.finish(),this},finishMemberExpression:function(e,t,n){return this.type=tn.MemberExpression,this.computed="["===e,this.object=t,this.property=n,this.finish(),this},finishMetaProperty:function(e,t){return this.type=tn.MetaProperty,this.meta=e,this.property=t,this.finish(),this},finishNewExpression:function(e,t){return this.type=tn.NewExpression,this.callee=e,this.arguments=t,this.finish(),this},finishObjectExpression:function(e){return this.type=tn.ObjectExpression,this.properties=e,this.finish(),this},finishObjectPattern:function(e){return this.type=tn.ObjectPattern,this.properties=e,this.finish(),this},finishPostfixExpression:function(e,t){return this.type=tn.UpdateExpression,this.operator=e,this.argument=t,this.prefix=!1,this.finish(),this},finishProgram:function(e,t){return this.type=tn.Program,this.body=e,this.sourceType=t,this.finish(),this},finishProperty:function(e,t,n,r,i,o){return this.type=tn.Property,this.key=t,this.computed=n,this.value=r,this.kind=e,this.method=i,this.shorthand=o,this.finish(),this},finishRestElement:function(e){return this.type=tn.RestElement,this.argument=e,this.finish(),this},finishReturnStatement:function(e){return this.type=tn.ReturnStatement,this.argument=e,this.finish(),this},finishSequenceExpression:function(e){return this.type=tn.SequenceExpression,this.expressions=e,this.finish(),this},finishSpreadElement:function(e){return this.type=tn.SpreadElement,this.argument=e,this.finish(),this},finishSwitchCase:function(e,t){return this.type=tn.SwitchCase,this.test=e,this.consequent=t,this.finish(),this},finishSuper:function(){return this.type=tn.Super,this.finish(),this},finishSwitchStatement:function(e,t){return this.type=tn.SwitchStatement,this.discriminant=e,this.cases=t,this.finish(),this},finishTaggedTemplateExpression:function(e,t){return this.type=tn.TaggedTemplateExpression,this.tag=e,this.quasi=t,this.finish(),this},finishTemplateElement:function(e,t){return this.type=tn.TemplateElement,this.value=e,this.tail=t,this.finish(),this},finishTemplateLiteral:function(e,t){return this.type=tn.TemplateLiteral,this.quasis=e,this.expressions=t,this.finish(),this},finishThisExpression:function(){return this.type=tn.ThisExpression,this.finish(),this},finishThrowStatement:function(e){return this.type=tn.ThrowStatement,this.argument=e,this.finish(),this},finishTryStatement:function(e,t,n){return this.type=tn.TryStatement,this.block=e,this.guardedHandlers=[],this.handlers=t?[t]:[],this.handler=t,this.finalizer=n,this.finish(),this},finishUnaryExpression:function(e,t){return this.type="++"===e||"--"===e?tn.UpdateExpression:tn.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0,this.finish(),this},finishVariableDeclaration:function(e){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind="var",this.finish(),this},finishLexicalDeclaration:function(e,t){return this.type=tn.VariableDeclaration,this.declarations=e,this.kind=t,this.finish(),this},finishVariableDeclarator:function(e,t){return this.type=tn.VariableDeclarator,this.id=e,this.init=t,this.finish(),this},finishWhileStatement:function(e,t){return this.type=tn.WhileStatement,this.test=e,this.body=t,this.finish(),this},finishWithStatement:function(e,t){return this.type=tn.WithStatement,this.object=e,this.body=t,this.finish(),this},finishExportSpecifier:function(e,t){return this.type=tn.ExportSpecifier,this.exported=t||e,this.local=e,this.finish(),this},finishImportDefaultSpecifier:function(e){return this.type=tn.ImportDefaultSpecifier,this.local=e,this.finish(),this},finishImportNamespaceSpecifier:function(e){return this.type=tn.ImportNamespaceSpecifier,this.local=e,this.finish(),this},finishExportNamedDeclaration:function(e,t,n){return this.type=tn.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n,this.finish(),this},finishExportDefaultDeclaration:function(e){return this.type=tn.ExportDefaultDeclaration,this.declaration=e,this.finish(),this},finishExportAllDeclaration:function(e){return this.type=tn.ExportAllDeclaration,this.source=e,this.finish(),this},finishImportSpecifier:function(e,t){return this.type=tn.ImportSpecifier,this.local=e||t,this.imported=t,this.finish(),this},finishImportDeclaration:function(e,t){return this.type=tn.ImportDeclaration,this.specifiers=e,this.source=t,this.finish(),this},finishYieldExpression:function(e,t){return this.type=tn.YieldExpression,this.argument=e,this.delegate=t,this.finish(),this}},e.version="2.7.2",e.tokenize=Xt,e.parse=$t,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in tn)tn.hasOwnProperty(e)&&(t[e]=tn[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()})},function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return i(e.replace(o,"ms-"))}var i=n(115),o=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function i(e){return r(e)?Array.isArray(e)?e.slice():o(e):[e]}var o=n(128);e.exports=i},function(e,t,n){(function(t){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function i(e,n){var i=l;l?void 0:"production"!==t.env.NODE_ENV?u(!1,"createNodesFromMarkup dummy not initialized"):u(!1);var o=r(e),c=o&&s(o);if(c){i.innerHTML=c[1]+e+c[2];for(var p=c[0];p--;)i=i.lastChild}else i.innerHTML=e;var f=i.getElementsByTagName("script");f.length&&(n?void 0:"production"!==t.env.NODE_ENV?u(!1,"createNodesFromMarkup(...): Unexpected