From c8558c7481fb6b0022c86fee0b4bd2c9fa7c730d Mon Sep 17 00:00:00 2001 From: Sachin Fernandes Date: Mon, 5 Oct 2020 11:14:25 -0700 Subject: [PATCH 1/2] Update cloudflare-plugin-frontend to 3.2.1 --- compiled.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiled.js b/compiled.js index b0d7d7b7..90d4dae4 100644 --- a/compiled.js +++ b/compiled.js @@ -32,4 +32,4 @@ function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;va Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */ -!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0!==(r=function(){return i}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"Box",function(){return a});var r=n(93),o=n(790),i=n(791);n.d(t,"BoxUnstyled",function(){return o.a}),n.d(t,"BoxTheme",function(){return i.a});var a=r.applyTheme(o.a,i.a)},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(254),u=n(255),s=i.a.oneOfType([i.a.string,i.a.number]),c=function(e){return"number"==typeof e||/\d+px/.test(e)?u.c(e,a.a.fontSize):e};t.a={margin:{propType:s,conflictsWith:["marginTop","marginBottom","marginLeft","marginRight"]},marginTop:{propType:s,default:0,preprocessWith:[c]},marginBottom:{propType:s,default:0,preprocessWith:[c]},marginLeft:{propType:s,default:0,preprocessWith:[c]},marginRight:{propType:s,default:0,preprocessWith:[c]},padding:{propType:s,conflictsWith:["paddingTop","paddingBottom","paddingLeft","paddingRight"]},paddingTop:{propType:s,default:0,preprocessWith:[c]},paddingBottom:{propType:s,default:0,preprocessWith:[c]},paddingLeft:{propType:s,default:0,preprocessWith:[c]},paddingRight:{propType:s,default:0,preprocessWith:[c]},overflow:{propType:i.a.oneOf(["visible","hidden","scroll","auto","inherit","initial","unset"])},border:{propType:i.a.string,conflictsWith:["borderStyle","borderColor","borderWidth","borderTopColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopStyle","borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth"]},borderColor:{propType:i.a.string,conflictsWith:["borderTopColor","borderBottomColor","borderLeftColor","borderRightColor"]},borderTopColor:{propType:i.a.string},borderBottomColor:{propType:i.a.string},borderLeftColor:{propType:i.a.string},borderRightColor:{propType:i.a.string},borderStyle:{propType:i.a.string,conflictsWith:["borderTopStyle","borderBottomStyle","borderLeftStyle","borderRightStyle"]},borderTopStyle:{propType:i.a.string},borderBottomStyle:{propType:i.a.string},borderLeftStyle:{propType:i.a.string},borderRightStyle:{propType:i.a.string},borderWidth:{propType:i.a.number,conflictsWith:["borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth"]},borderTopWidth:{propType:i.a.number},borderBottomWidth:{propType:i.a.number},borderLeftWidth:{propType:i.a.number},borderRightWidth:{propType:i.a.number},lineHeight:{propType:i.a.number,default:a.a.lineHeight},fontSize:{propType:s,default:a.a.fontSize},fontWeight:{propType:i.a.number,default:a.a.fontWeight},fontFamily:{propType:i.a.string,default:a.a.fontFamily},color:{propType:i.a.string,default:a.a.fontColor},backgroundColor:{propType:i.a.string,default:"transparent"},backgroundImage:{propType:i.a.string},backgroundPosition:{propType:i.a.string},backgroundPositionX:{propType:i.a.string},backgroundPositionY:{propType:i.a.string},display:{propType:i.a.oneOf(["inline","block","inline-block","flex","inline-flex"]),default:"block"},position:{propType:i.a.oneOf(["static","relative","absolute","fixed"]),default:"static"},float:{propType:i.a.oneOf(["left","right","none","inline-start","inline-end"])},top:{propType:s,default:"auto",preprocessWith:[c]},bottom:{propType:s,default:"auto",preprocessWith:[c]},left:{propType:s,default:"auto",preprocessWith:[c]},right:{propType:s,default:"auto",preprocessWith:[c]},width:{propType:s,default:"auto",preprocessWith:[c]},height:{propType:s,default:"auto",preprocessWith:[c]},minWidth:{propType:s,default:0,preprocessWith:[c]},minHeight:{propType:s,default:0,preprocessWith:[c]},maxWidth:{propType:s,default:0,preprocessWith:[c]},maxHeight:{propType:s,default:0,preprocessWith:[c]},verticalAlign:{propType:s,default:"baseline"},transform:{propType:i.a.string},flexDirection:{propType:i.a.oneOf(["row","row-reverse","column","column-reverse"]),default:"row"},flexWrap:{propType:i.a.oneOf(["nowrap","wrap","wrap-reverse"]),default:"nowrap"},justifyContent:{propType:i.a.oneOf(["flex-start","flex-end","center","space-between","space-around"]),default:"flex-start"},alignItems:{propType:i.a.oneOf(["flex-start","flex-end","center","baseline","stretch"]),default:"stretch"},alignContent:{propType:i.a.oneOf(["flex-start","flex-end","center","space-between","space-around","stretch"]),default:"stretch"},order:{propType:i.a.number,default:0},flexGrow:{propType:i.a.number,default:0},flexShrink:{propType:i.a.number,default:1},flexBasis:{propType:s,default:"auto"},flex:{propType:i.a.string},alignSelf:{propType:i.a.oneOf(["auto","flex-start","flex-end","center","baseline","stretch"]),default:"auto"},zIndex:{propType:s,default:"auto"},textAlign:{propType:i.a.oneOf(["left","right","center","justify","justify-all","start","end","match-parent"]),default:"start"},opacity:{propType:s,default:1},userSelect:{propType:i.a.oneOf(["none","auto","text","container","all"]),default:"auto"},wordWrap:{propType:i.a.oneOf(["normal","break-word","inherit","initial","unset"]),default:"normal"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(792),o=n(793),i=n(794),a=n(795),u=n(796),s=n(797);n.d(t,"Form",function(){return r.a}),n.d(t,"FormHeader",function(){return o.a}),n.d(t,"FormFooter",function(){return i.a}),n.d(t,"FormFieldset",function(){return a.a}),n.d(t,"FormLabel",function(){return u.a}),n.d(t,"FormFieldError",function(){return s.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(798);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(265),o=n(806);n.d(t,"Checkbox",function(){return r.a}),n.d(t,"CheckboxGroup",function(){return o.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(1),c=n.n(s),l=function(){function e(e,t){for(var n=0;n-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return s.default.map(e,function(e,t){return a.default.createElement(c.cardMapper[e],{key:t})})}Object.defineProperty(t,"__esModule",{value:!0}),t.renderCards=o;var i=n(0),a=r(i),u=n(15),s=r(u),c=n(840)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(1),c=n.n(s),l=function(){function e(e,t){for(var n=0;n8&&_<=11),E=32,C=String.fromCharCode(E),S={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},O=!1,T=null,P={eventTypes:S,extractEvents:function(e,t,n,r){return[s(e,t,n,r),f(e,t,n,r)]}};e.exports=P},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(9),i=n(39),a=n(157);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=C.getPooled(P.change,k,e,S(e));_.accumulateTwoPhaseDispatches(t),E.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue(!1)}function a(e,t){A=e,k=t,A.attachEvent("onchange",o)}function u(){A&&(A.detachEvent("onchange",o),A=null,k=null)}function s(e,t){if("topChange"===e)return t}function c(e,t,n){"topFocus"===e?(u(),a(t,n)):"topBlur"===e&&u()}function l(e,t){A=e,k=t,R=e.value,M=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(A,"value",D),A.attachEvent?A.attachEvent("onpropertychange",p):A.addEventListener("propertychange",p,!1)}function f(){A&&(delete A.value,A.detachEvent?A.detachEvent("onpropertychange",p):A.removeEventListener("propertychange",p,!1),A=null,k=null,R=null,M=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==R&&(R=t,o(e))}}function d(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(f(),l(t,n)):"topBlur"===e&&f()}function g(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&A&&A.value!==R)return R=A.value,k}function y(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function m(e,t){if("topClick"===e)return t}function v(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var b=n(60),_=n(59),x=n(19),w=n(14),E=n(28),C=n(31),S=n(101),O=n(102),T=n(160),P={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},A=null,k=null,R=null,M=null,j=!1;x.canUseDOM&&(j=O("change")&&(!document.documentMode||document.documentMode>8));var N=!1;x.canUseDOM&&(N=O("input")&&(!document.documentMode||document.documentMode>11));var D={get:function(){return M.get.call(this)},set:function(e){R=""+e,M.set.call(this,e)}},L={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,u=t?w.getNodeFromInstance(t):window;if(r(u)?j?i=s:a=c:T(u)?N?i=d:(i=g,a=h):y(u)&&(i=m),i){var l=i(e,t);if(l){var f=C.getPooled(P.change,l,n,o);return f.type="change",_.accumulateTwoPhaseDispatches(f),f}}a&&a(e,u,t),"topBlur"===e&&v(t,u)}};e.exports=L},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(296),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(7),i=(n(4),{addComponentAsRefTo:function(e,t,n){r(n)||o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)||o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(59),o=n(14),i=n(76),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===e){l=t;var p=n.relatedTarget||n.toElement;f=p?o.getClosestInstanceFromNode(p):null}else l=null,f=t;if(l===f)return null;var d=null==l?s:o.getNodeFromInstance(l),h=null==f?s:o.getNodeFromInstance(f),g=i.getPooled(a.mouseLeave,l,n,u);g.type="mouseleave",g.target=d,g.relatedTarget=h;var y=i.getPooled(a.mouseEnter,f,n,u);return y.type="mouseenter",y.target=h,y.relatedTarget=d,r.accumulateEnterLeaveDispatches(g,y,l,f),[g,y]}};e.exports=u},function(e,t,n){"use strict";var r=n(46),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};e.exports=c},function(e,t,n){"use strict";var r=n(104),o=n(305),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";var r=n(7),o=n(48),i=n(19),a=n(302),u=n(22),s=(n(4),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM||r("56"),t||r("57"),"HTML"===e.nodeName&&r("58"),"string"==typeof t){var n=a(t,u)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=s},function(e,t,n){"use strict";function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,t){var n=c;c||s(!1);var o=r(e),i=o&&u(o);if(i){n.innerHTML=i[1]+e+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t||s(!1),a(f).forEach(t));for(var p=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return p}var i=n(19),a=n(303),u=n(304),s=n(4),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":"<"+e+">",u[e]=!a.firstChild),u[e]?p[e]:null}var o=n(19),i=n(4),a=o.canUseDOM?document.createElement("div"):null,u={},s=[1,'"],c=[1,"","
"],l=[3,"","
"],f=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){p[e]=f,u[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(104),o=n(14),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(W[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&g("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&g("60"),"object"==typeof t.dangerouslySetInnerHTML&&U in t.dangerouslySetInnerHTML||g("61")),null!=t.style&&"object"!=typeof t.style&&g("62",r(e)))}function i(e,t,n,r){if(!(r instanceof j)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===q,u=i?o._node:o._ownerDocument;F(t,u),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;E.putListener(e.inst,e.registrationName,e.listener)}function u(){var e=this;P.postMountWrapper(e)}function s(){var e=this;R.postMountWrapper(e)}function c(){var e=this;A.postMountWrapper(e)}function l(){var e=this;e._rootNodeID||g("63");var t=I(e);switch(t||g("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[S.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in B)B.hasOwnProperty(n)&&e._wrapperState.listeners.push(S.trapBubbledEvent(n,B[n],t));break;case"source":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t),S.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[S.trapBubbledEvent("topReset","reset",t),S.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[S.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){k.postUpdateWrapper(this)}function p(e){K.call(X,e)||(Y.test(e)||g("65",e),X[e]=!0)}function d(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(7),y=n(9),m=n(307),v=n(308),b=n(48),_=n(105),x=n(46),w=n(165),E=n(60),C=n(98),S=n(79),O=n(154),T=n(14),P=n(317),A=n(319),k=n(167),R=n(320),M=(n(26),n(321)),j=n(328),N=(n(22),n(78)),D=(n(4),n(102),n(109),n(114),n(5),O),L=E.deleteListener,I=T.getNodeFromInstance,F=S.listenTo,z=C.registrationNameModules,V={string:!0,number:!0},U="__html",G={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,B={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},H={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Z={listing:!0,pre:!0,textarea:!0},W=y({menuitem:!0},H),Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},K={}.hasOwnProperty,$=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(l,this);break;case"input":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"option":A.mountWrapper(this,i,t),i=A.getHostProps(this,i);break;case"select":k.mountWrapper(this,i,t),i=k.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"textarea":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(l,this)}o(this,i);var a,f;null!=t?(a=t._namespaceURI,f=t._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===_.svg&&"foreignobject"===f)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var p;if(e.useCreateElement){var d,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var g=h.createElement("div"),y=this._currentElement.type;g.innerHTML="<"+y+">",d=g.removeChild(g.firstChild)}else d=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else d=h.createElementNS(a,this._currentElement.type);T.precacheNode(this,d),this._flags|=D.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(d),this._updateDOMProperties(null,i,e);var v=b(d);this._createInitialChildren(e,i,r,v),p=v}else{var x=this._createOpenTagMarkupAndPutListeners(e,i),E=this._createContentMarkup(e,i,r);p=!E&&H[this._tag]?x+"/>":x+">"+E+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(z.hasOwnProperty(r))o&&i(this,r,o,e);else{"style"===r&&(o&&(o=this._previousStyleCopy=y({},t.style)),o=v.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,t)?G.hasOwnProperty(r)||(a=w.createMarkupForCustomAttribute(r,o)):a=w.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=N(i);else if(null!=a){var u=this.mountChildren(a,e,n);r=u.join("")}}return Z[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var u=this.mountChildren(a,e,n),s=0;s0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e||s("35"),"_hostNode"in t||s("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e||s("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(s[c],"captured",i)}var s=n(7);n(4);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(e,t,n){"use strict";var r=n(7),o=n(9),i=n(104),a=n(48),u=n(14),s=n(78),c=(n(4),n(114),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,l=c.createComment(i),f=c.createComment(" /react-text "),p=a(c.createDocumentFragment());return a.queueChild(p,a(l)),this._stringText&&a.queueChild(p,a(c.createTextNode(this._stringText))),a.queueChild(p,a(f)),u.precacheNode(this,l),this._closingComment=f,p}var d=s(this._stringText);return e.renderToStaticMarkup?d:"\x3c!--"+i+"--\x3e"+d+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=u.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),e.exports=c},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(9),i=n(28),a=n(75),u=n(22),s={initialize:u,close:function(){p.isBatchingUpdates=!1}},c={initialize:u,close:i.flushBatchedUpdates.bind(i)},l=[c,s];o(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=p.isBatchingUpdates;return p.isBatchingUpdates=!0,a?e(t,n,r,o,i):f.perform(e,null,t,n,r,o,i)}};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=d(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do{e.ancestors.push(o),o=o&&r(o)}while(o);for(var i=0;it.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=c(e,o),s=c(e,i);if(u&&s){var f=document.createRange();f.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(f),n.extend(s.node,s.offset)):(f.setEnd(s.node,s.offset),n.addRange(f))}}}var s=n(19),c=n(339),l=n(157),f=s.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:f?o:i,setOffsets:f?a:u};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(341);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(342);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){i.Properties[e]=0,o[e]&&(i.DOMAttributeNames[e]=o[e])}),e.exports=i},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(v||null==g||g!==l())return null;var n=r(g);if(!m||!p(m,n)){m=n;var o=c.getPooled(h.select,y,e,t);return o.type="select",o.target=g,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(59),a=n(19),u=n(14),s=n(174),c=n(31),l=n(175),f=n(160),p=n(109),d=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},g=null,y=null,m=null,v=!1,b=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var i=t?u.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(i)||"true"===i.contentEditable)&&(g=i,y=t,m=null);break;case"topBlur":g=null,y=null,m=null;break;case"topMouseDown":v=!0;break;case"topContextMenu":case"topMouseUp":return v=!1,o(n,r);case"topSelectionChange":if(d)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(7),a=n(173),u=n(59),s=n(14),c=n(346),l=n(347),f=n(31),p=n(348),d=n(349),h=n(76),g=n(351),y=n(352),m=n(353),v=n(61),b=n(354),_=n(22),x=n(115),w=(n(4),{}),E={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[e]=o,E[r]=o});var C={},S={eventTypes:w,extractEvents:function(e,t,n,r){var o=E[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=f;break;case"topKeyPress":if(0===x(n))return null;case"topKeyDown":case"topKeyUp":a=d;break;case"topBlur":case"topFocus":a=p;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=g;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=y;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=m;break;case"topScroll":a=v;break;case"topWheel":a=b;break;case"topCopy":case"topCut":case"topPaste":a=l}a||i("86",e);var s=a.getPooled(o,t,n,r);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),u=s.getNodeFromInstance(e);C[i]||(C[i]=a.listen(u,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};e.exports=S},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(115),a=n(350),u=n(103),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(115),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(103),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(114),9);e.exports=r},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(358),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,i=e.length,a=-4&i;r0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],a=n||t+"Subscription",s=function(e){function n(i,a){r(this,n);var u=o(this,e.call(this,i,a));return u[t]=i.store,u}return i(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[a]=null,e},n.prototype.render=function(){return u.Children.only(this.props.children)},n}(u.Component);return s.propTypes={store:l.a.isRequired,children:c.a.element.isRequired},s.childContextTypes=(e={},e[t]=l.a.isRequired,e[a]=l.b,e),s.displayName="Provider",s}t.a=a;var u=n(0),s=(n.n(u),n(1)),c=n.n(s),l=n(178);n(116);t.b=a()},function(e,t,n){"use strict";var r=n(22),o=n(4),i=n(150);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=i,e=i},notify:function(){for(var n=e=t,r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}var a=n(179),u=n(366),s=n(367),c=n(382),l=n(383),f=n(384),p=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?a.a:t,d=e.mapStateToPropsFactories,h=void 0===d?c.a:d,g=e.mapDispatchToPropsFactories,y=void 0===g?s.a:g,m=e.mergePropsFactories,v=void 0===m?l.a:m,b=e.selectorFactory,_=void 0===b?f.a:b;return function(e,t,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=s.pure,l=void 0===c||c,f=s.areStatesEqual,d=void 0===f?i:f,g=s.areOwnPropsEqual,m=void 0===g?u.a:g,b=s.areStatePropsEqual,x=void 0===b?u.a:b,w=s.areMergedPropsEqual,E=void 0===w?u.a:w,C=r(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),S=o(e,h,"mapStateToProps"),O=o(t,y,"mapDispatchToProps"),T=o(a,v,"mergeProps");return n(_,p({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:O,initMergeProps:T,pure:l,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:x,areMergedPropsEqual:E},C))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){function i(o,i){return h=o,g=i,y=e(h,g),m=t(r,g),v=n(y,m,g),d=!0,v}function a(){return y=e(h,g),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function u(){return e.dependsOnOwnProps&&(y=e(h,g)),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function s(){var t=e(h,g),r=!p(t,y);return y=t,r&&(v=n(y,m,g)),v}function c(e,t){var n=!f(t,g),r=!l(e,h);return h=e,g=t,n&&r?a():n?u():r?s():v}var l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1,h=void 0,g=void 0,y=void 0,m=void 0,v=void 0;return function(e,t){return d?c(e,t):i(e,t)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,u=t.initMergeProps,s=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,s),l=a(e,s),f=u(e,s);return(s.pure?i:o)(c,l,f,e,s)}t.a=a;n(385)},function(e,t,n){"use strict";n(116)},function(e,t,n){"use strict";function r(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}var o=n(17),i=n.n(o),a=n(0),u=n.n(a),s=n(20),c=n.n(s),l=n(1),f=(n.n(l),n(187)),p=n(65),d=n(120),h=n(35),g=n(189),y=(n(49),Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=d({},t,{pathname:"/"+t.pathname})),r=t.pathname),c.a(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.a=s;var c=n(119),l=n(188),f=n(50),p=(n(49),n(35)),d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=e.history,o=e.routes,a=e.location,d=r(e,["history","routes","location"]);n||a||u.a(!1),n=n||s.a(d);var h=c.a(n,l.b(o));a=a?n.createLocation(a):n.getCurrentLocation(),h.match(a,function(e,r,o){var a=void 0;if(o){var u=f.b(n,h,o);a=p({},o,{router:u,matchContext:{transitionManager:h,router:u}})}t(e,r&&n.createLocation(r,i.REPLACE),a)})}var i=n(80),a=(n.n(i),n(17)),u=n.n(a),s=n(192),c=n(187),l=n(35),f=n(189),p=Object.assign||function(e){for(var t=1;t=0&&t=0&&y=e&&a&&(o=!0,n())}}()}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(120),a=(n(49),Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:r.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return u.reduceRight(function(t,n){return n(t,e)},o.a.createElement(i.a,a({},e,{createElement:c(e.createElement)})))}}},function(e,t,n){"use strict";var r=n(406),o=n.n(r),i=n(197);t.a=i.a(o.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 o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},p=t.getCurrentLocation=function(e,t){var n=e.decodePath(c()),r=(0,s.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,s.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var a=(0,s.parsePath)(n);return a.state=o,(0,i.createLocation)(a,void 0,r)},d=void 0,h=(t.startListener=function(e,t,n){var r=function(){var r=c(),o=t.encodePath(r);if(r!==o)f(o);else{var i=p(t,n);if(d&&i.key&&d.key===i.key)return;d=i,e(i)}},o=c(),i=t.encodePath(o);return o!==i&&f(i),(0,a.addEventListener)(window,"hashchange",r),function(){return(0,a.removeEventListener)(window,"hashchange",r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,s.createPath)(e));void 0!==o&&(a=(0,s.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),d=e,r(a)});t.pushLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&l(e)})},t.replaceLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&f(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,p.routerMiddleware)(e),r=(0,c.default)({collapsed:!0});return(0,i.applyMiddleware)(u.default,r,n)(i.createStore)(f.default,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(117),a=n(411),u=r(a),s=n(412),c=r(s),l=n(417),f=r(l),p=n(37)},function(e,t,n){"use strict";function r(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o({},s.default,e),n=t.logger,r=t.transformer,u=t.stateTransformer,c=t.errorTransformer,l=t.predicate,f=t.logErrors,p=t.diffPredicate;if(void 0===n)return function(){return function(e){return function(t){return e(t)}}};if(r&&console.error("Option 'transformer' is deprecated, use 'stateTransformer' instead!"),e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n\n\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\n\nconst logger = createLogger({\n // ...options\n});\n\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var d=[];return function(e){var n=e.getState;return function(e){return function(r){if("function"==typeof l&&!l(n,r))return e(r);var s={};d.push(s),s.started=a.timer.now(),s.startedTime=new Date,s.prevState=u(n()),s.action=r;var h=void 0;if(f)try{h=e(r)}catch(e){s.error=c(e)}else h=e(r);s.took=a.timer.now()-s.started,s.nextState=u(n());var g=t.diff&&"function"==typeof p?p(n,r):t.diff;if((0,i.printBuffer)(d,o({},t,{diff:g})),d.length=0,s.error)throw s.error;return h}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.defaults=void 0;var o=Object.assign||function(e){for(var t=1;t=n.length?r(new u(g,b,new a(e,t[b]))):l(t[b],n[b],r,f,g,b,h);for(;b=0?(l(t[o],n[o],r,f,g,o,h),x=s(x,a)):l(t[o],e,r,f,g,o,h)}),x.forEach(function(t){l(e,n[t],r,f,g,t,h)})}h.length=h.length-1}}else t!==n&&("number"===m&&isNaN(t)&&isNaN(n)||r(new o(g,t,n)))}function f(t,n,r,o){return o=o||[],l(t,n,function(e){e&&o.push(e)},r),o.length?o:e}function p(e,t,n){if(n.path&&n.path.length){var r,o=e[t],i=n.path.length-1;for(r=0;r2&&void 0!==arguments[2]?arguments[2]:{},r=n.selectLocationState,u=void 0===r?a:r,s=n.adjustUrlOnReplay,c=void 0===s||s;if(void 0===u(t.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var l=void 0,f=void 0,p=void 0,d=void 0,h=void 0,g=function(e){return u(t.getState()).locationBeforeTransitions||(e?l:void 0)};if(l=g(),c){var y=function(){var t=g(!0);h!==t&&l!==t&&(f=!0,h=t,e.transitionTo(o({},t,{action:"PUSH"})),f=!1)};p=t.subscribe(y),y()}var m=function(e){f||(h=e,!l&&(l=e,g())||t.dispatch({type:i.LOCATION_CHANGE,payload:e}))};return d=e.listen(m),e.getCurrentLocation&&m(e.getCurrentLocation()),o({},e,{listen:function(e){var n=g(!0),r=!1,o=t.subscribe(function(){var t=g(!0);t!==n&&(n=t,r||e(n))});return e(n),function(){r=!0,o()}},unsubscribe:function(){c&&p(),d()}})}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.ZONES_SET_ACTIVE_ZONE:return o({},e,{id:t.zone.id,name:t.zone.name,account:t.zone.account});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.APPLICATION_INIT:return o({},e,{isInitialized:!0});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case l.DNS_RECORD_CLEAR_ALL:var n=e.entities;return n[t.zoneId]={},i({},e,{entities:n});case l.DNS_RECORD_CREATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_CREATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_CREATE_ERROR:return i({},e,{updateIsFetching:""});case l.DNS_RECORD_FETCH_LIST:return i({},e,{isFetching:!0});case l.DNS_RECORD_FETCH_LIST_SUCCESS:var r=new a.Schema(t.zoneId,{idAttribute:"name"}),u=(0,a.normalize)(t.dnsRecords,(0,a.arrayOf)(r));return i({},e,{entities:s.default.merge(e.entities,u.entities),result:s.default.merge(e.result,u.result),isFetching:!1});case l.DNS_RECORD_FETCH_LIST_ERROR:return i({},e,{isFetching:!1});case l.DNS_RECORD_UPDATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_UPDATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_UPDATE_ERROR:return i({},e,{updateIsFetching:""});default:return e}}function o(e,t,n){return t[e][n.name]=n,t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,e),!t||"string"!=typeof t)throw new Error("A string non-empty key is required");this._key=t,this._assignEntity=n.assignEntity;var o=n.idAttribute||"id";this._getId="function"==typeof o?o:function(e){return e[o]},this._idAttribute=o,this._meta=n.meta,this._defaults=n.defaults}return o(e,[{key:"getAssignEntity",value:function(){return this._assignEntity}},{key:"getKey",value:function(){return this._key}},{key:"getId",value:function(e,t){return this._getId(e,t)}},{key:"getIdAttribute",value:function(){return this._idAttribute}},{key:"getMeta",value:function(e){if(!e||"string"!=typeof e)throw new Error("A string non-empty property name is required");return this._meta&&this._meta[e]}},{key:"getDefaults",value:function(){return this._defaults}},{key:"define",value:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}]),e}();t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(o(this,e),!(0,u.default)(t))throw new Error("ArraySchema requires item schema to be an object.");if(n.schemaAttribute){var r=n.schemaAttribute;this._itemSchema=new c.default(t,{schemaAttribute:r})}else this._itemSchema=t}return i(e,[{key:"getItemSchema",value:function(){return this._itemSchema}}]),e}();t.default=l},function(e,t,n){function r(e,t){return o(e,t)}var o=n(426);e.exports=r},function(e,t,n){function r(e,t,n,a,u){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,u))}var o=n(427),i=n(87);e.exports=r},function(e,t,n){function r(e,t,n,r,y,v){var b=c(e),_=c(t),x=b?h:s(e),w=_?h:s(t);x=x==d?g:x,w=w==d?g:w;var E=x==g,C=w==g,S=x==w;if(S&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(S&&!E)return v||(v=new o),b||f(e)?i(e,t,n,r,y,v):a(e,t,x,n,r,y,v);if(!(n&p)){var O=E&&m.call(e,"__wrapped__"),T=C&&m.call(t,"__wrapped__");if(O||T){var P=O?e.value():e,A=T?t.value():t;return v||(v=new o),y(P,A,n,r,v)}}return!!S&&(v||(v=new o),u(e,t,n,r,y,v))}var o=n(428),i=n(209),a=n(462),u=n(466),s=n(488),c=n(130),l=n(210),f=n(211),p=1,d="[object Arguments]",h="[object Array]",g="[object Object]",y=Object.prototype,m=y.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(82),i=n(434),a=n(435),u=n(436),s=n(437),c=n(438);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(83),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(83);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(83);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(83);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(82);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length-1&&e%1==0&&e0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.INTL_FETCH_TRANSLATIONS:return o({},e,{isFetching:!0});case a.INTL_FETCH_TRANSLATIONS_SUCCESS:return o({},e,{locale:t.locale,translations:t.translations,isFetching:!1});case a.INTL_FETCH_TRANSLATIONS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.NOTIFICATION_ADD:return[{key:Date.now(),level:t.level,message:t.message,localized:t.localized,persistant:t.persistant,delay:t.delay}].concat(r(e));case a.NOTIFICATION_REMOVE:return e.filter(function(e){return e.key!==t.key});default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.notificationsReducer=o;var i=n(8),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),u=[]},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.USER_LOGIN:return o({},e,{isFetching:!0});case a.USER_LOGIN_SUCCESS:return(0,u.setEmail)(t.email),o({},e,{isLoggedIn:!0,isFetching:!1});case a.USER_LOGIN_ERROR:return o({},e,{isFetching:!1});case a.USER_SIGNUP:return o({},e,{isFetching:!0});case a.USER_SIGNUP_SUCCESS:case a.USER_SIGNUP_ERROR:return o({},e,{isFetching:!1});case a.USER_LOGOUT:return(0,u.setEmail)(""),o({},e,{isLoggedIn:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.ZONE_FETCH_ANALYTICS:return i({},e,{isFetching:!0});case u.ZONE_FETCH_ANALYTICS_SUCCESS:var n={};return n[t.zoneId]=o(t.zoneAnalytics),i({},e,{entities:c.default.merge(e.entities,n),isFetching:!1});case u.ZONE_FETCH_ANALYTICS_ERROR:return i({},e,{isFetching:!1});default:return e}}function o(e){var t={totals:[],timeSeries:[],requests:[[],[]],bandwidth:[[],[]],threats:[[]],uniques:[[]]};return t.totals=c.default.clone(e.totals),e.timeseries.forEach(function(e){t.timeSeries.push(new Date(e.since)),void 0!==e.requests&&(t.requests[0].push(e.requests.cached),t.requests[1].push(e.requests.uncached)),void 0!==e.bandwidth&&(t.bandwidth[0].push(e.bandwidth.cached),t.bandwidth[1].push(e.bandwidth.uncached)),void 0!==e.threats&&t.threats[0].push(e.threats.all),void 0!==e.uniques&&t.uniques[0].push(e.uniques.all)}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.ZONE_PURGE_CACHE:return o({},e,{isFetching:!0});case a.ZONE_PURGE_CACHE_SUCCESS:case a.ZONE_PURGE_CACHE_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.ZONE_RAILGUNS_FETCH_ALL:return i({},e,{isFetching:!0});case u.ZONE_RAILGUNS_FETCH_ALL_SUCCESS:var n=(0,s.normalizeZoneRailgunGetAll)(t.zoneRailguns),r=i({},e.entities);return r[t.zoneId]=n.entities.railguns,i({},e,{entities:r,isFetching:!1});case u.ZONE_RAILGUNS_FETCH_ALL_ERROR:return i({},e,{isFetching:!1});case u.ZONE_RAILGUNS_CONNECTION_UPDATE:return i({},e,{entities:o(e,t),isFetching:!0});case u.ZONE_RAILGUNS_CONNECTION_UPDATE_SUCCESSS:case u.ZONE_RAILGUNS_CONNECTION_UPDATE_ERROR:return i({},e,{entities:o(e,t),isFetching:!1});default:return e}}function o(e,t){var n=i({},e.entities);return n[t.zoneId][t.zoneRailgun.id]=t.zoneRailgun,n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.ZONE_ENTITLEMENTS:return o({},e,{isFetching:!0});case a.ZONE_ENTITLEMENTS_SUCCESS:var n=(0,u.normalizeZoneEntitlements)(t.zoneEntitlements),r=o({},e.entities);return r[t.zoneId]=n.entities.entitlements,o({},e,{entities:r,isFetching:!1});case a.ZONE_ENTITLEMENTS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.ZONE_FETCH_SETTINGS:return i({},e,{isFetching:"fetchAllSettings"});case c.ZONE_FETCH_SETTINGS_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.zoneSettings);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.ZONE_FETCH_SETTINGS_ERROR:return i({},e,{isFetching:""});case c.ZONE_UPDATE_SETTING:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.ZONE_UPDATE_SETTING_SUCCESS:case c.ZONE_UPDATE_SETTING_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case s.ZONES_DELETE_ZONE:return o({},e,{zoneDeleteIsFetching:!0});case s.ZONES_DELETE_ZONE_SUCCESS:case s.ZONES_DELETE_ZONE_ERROR:return o({},e,{zoneDeleteIsFetching:!1});case s.ZONES_FETCH:return o({},e,{zoneFetchIsFetching:!0});case s.ZONES_FETCH_SUCCESS:var n=(0,c.normalizeZoneGetAll)(t.zoneList);return o({},e,{entities:a.default.merge(e.entities,n.entities),result:a.default.merge(e.result,n.result),zoneFetchIsFetching:!1});case s.ZONES_FETCH_ERROR:return o({},e,{zoneFetchIsFetching:!1});case s.ZONES_PROVISION_CNAME:return o({},e,{zoneProvisionCnameIsFetching:!0});case s.ZONES_PROVISION_CNAME_SUCCESS:case s.ZONES_PROVISION_CNAME_ERROR:return o({},e,{zoneProvisionCnameIsFetching:!1});case s.ZONES_PROVISION_FULL:return o({},e,{zoneProvisionFullIsFetching:!0});case s.ZONES_PROVISION_FULL_SUCCESS:case s.ZONES_PROVISION_FULL_ERROR:return o({},e,{zoneProvisionFullIsFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.PLUGIN_SETTINGS_FETCH:return i({},e,{isFetching:"FETCH ALL PLUGIN SETTINGS"});case c.PLUGIN_SETTINGS_FETCH_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.setting);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.PLUGIN_SETTINGS_FETCH_ERROR:return i({},e,{isFetching:""});case c.PLUGIN_SETTING_UPDATE:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.PLUGIN_SETTING_UPDATE_SUCCESS:case c.PLUGIN_SETTING_UPDATE_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;te&&(Xe=0,Ke={line:1,column:1,seenCR:!1}),function(e,n,r){var o,i;for(o=n;o$e&&($e=We,Qe=[]),Qe.push(e))}function o(r,o,i){var a=n(i),u=it.description?1:0});t1?i.slice(0,-1).join(", ")+" or "+i[e.length-1]:i[0],r=t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}(t)+'"':"end of input","Expected "+n+" but "+r+" found."}(o,u),o,u,i,a.line,a.column)}function i(){return a()}function a(){var e,t,n;for(e=We,t=[],n=u();n!==k;)t.push(n),n=u();return t!==k&&(Ye=e,t=j(t)),e=t}function u(){var e;return e=c(),e===k&&(e=f()),e}function s(){var e,n,r,o,i,a;if(e=We,n=[],r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N),r!==k)for(;r!==k;)n.push(r),r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N);else n=N;return n!==k&&(Ye=e,n=D(n)),e=n,e===k&&(e=We,n=x(),n!==k&&(n=t.substring(e,We)),e=n),e}function c(){var e,t;return e=We,t=s(),t!==k&&(Ye=e,t=L(t)),e=t}function l(){var e,n,o;if((e=S())===k){if(e=We,n=[],I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F)),o!==k)for(;o!==k;)n.push(o),I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F));else n=N;n!==k&&(n=t.substring(e,We)),e=n}return e}function f(){var e,n,o,i,a,u,s,c,f;return e=We,123===t.charCodeAt(We)?(n=z,We++):(n=k,0===Je&&r(V)),n!==k?(o=w(),o!==k?(i=l(),i!==k?(a=w(),a!==k?(u=We,44===t.charCodeAt(We)?(s=G,We++):(s=k,0===Je&&r(q)),s!==k?(c=w(),c!==k?(f=p(),f!==k?(s=[s,c,f],u=s):(We=u,u=N)):(We=u,u=N)):(We=u,u=N),u===k&&(u=U),u!==k?(s=w(),s!==k?(125===t.charCodeAt(We)?(c=B,We++):(c=k,0===Je&&r(H)),c!==k?(Ye=e,n=Z(i,u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function p(){var e;return e=d(),e===k&&(e=h())===k&&(e=g())===k&&(e=y()),e}function d(){var e,n,o,i,a,u,s;return e=We,t.substr(We,6)===W?(n=W,We+=6):(n=k,0===Je&&r(Y)),n===k&&(t.substr(We,4)===X?(n=X,We+=4):(n=k,0===Je&&r(K)),n===k&&(t.substr(We,4)===$?(n=$,We+=4):(n=k,0===Je&&r(Q)))),n!==k?(o=w(),o!==k?(i=We,44===t.charCodeAt(We)?(a=G,We++):(a=k,0===Je&&r(q)),a!==k?(u=w(),u!==k?(s=T(),s!==k?(a=[a,u,s],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i===k&&(i=U),i!==k?(Ye=e,n=J(n,i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function h(){var e,n,o,i,a,u;return e=We,t.substr(We,6)===ee?(n=ee,We+=6):(n=k,0===Je&&r(te)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ne(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function g(){var e,n,o,i,a,u;return e=We,t.substr(We,13)===re?(n=re,We+=13):(n=k,0===Je&&r(oe)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ie(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function y(){var e,n,o,i,a;if(e=We,t.substr(We,6)===ae?(n=ae,We+=6):(n=k,0===Je&&r(ue)),n!==k)if(w()!==k)if(44===t.charCodeAt(We)?(o=G,We++):(o=k,0===Je&&r(q)),o!==k)if(w()!==k){if(i=[],(a=v())!==k)for(;a!==k;)i.push(a),a=v();else i=N;i!==k?(Ye=e,n=se(i),e=n):(We=e,e=N)}else We=e,e=N;else We=e,e=N;else We=e,e=N;else We=e,e=N;return e}function m(){var e,n,o,i;return e=We,n=We,61===t.charCodeAt(We)?(o=ce,We++):(o=k,0===Je&&r(le)),o!==k?(i=S(),i!==k?(o=[o,i],n=o):(We=n,n=N)):(We=n,n=N),n!==k&&(n=t.substring(e,We)),e=n,e===k&&(e=T()),e}function v(){var e,n,o,i,u,s,c,l,f;return e=We,n=w(),n!==k?(o=m(),o!==k?(i=w(),i!==k?(123===t.charCodeAt(We)?(u=z,We++):(u=k,0===Je&&r(V)),u!==k?(s=w(),s!==k?(c=a(),c!==k?(l=w(),l!==k?(125===t.charCodeAt(We)?(f=B,We++):(f=k,0===Je&&r(H)),f!==k?(Ye=e,n=fe(o,c),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function b(){var e,n,o,i;return e=We,t.substr(We,7)===pe?(n=pe,We+=7):(n=k,0===Je&&r(de)),n!==k?(o=w(),o!==k?(i=S(),i!==k?(Ye=e,n=he(i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function _(){var e,t,n,r;if(e=We,t=b(),t===k&&(t=U),t!==k)if(w()!==k){if(n=[],(r=v())!==k)for(;r!==k;)n.push(r),r=v();else n=N;n!==k?(Ye=e,t=ge(t,n),e=t):(We=e,e=N)}else We=e,e=N;else We=e,e=N;return e}function x(){var e,n;if(Je++,e=[],me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve)),n!==k)for(;n!==k;)e.push(n),me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve));else e=N;return Je--,e===k&&(n=k,0===Je&&r(ye)),e}function w(){var e,n,o;for(Je++,e=We,n=[],o=x();o!==k;)n.push(o),o=x();return n!==k&&(n=t.substring(e,We)),e=n,Je--,e===k&&(n=k,0===Je&&r(be)),e}function E(){var e;return _e.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(xe)),e}function C(){var e;return we.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(Ee)),e}function S(){var e,n,o,i,a,u;if(e=We,48===t.charCodeAt(We)?(n=Ce,We++):(n=k,0===Je&&r(Se)),n===k){if(n=We,o=We,Oe.test(t.charAt(We))?(i=t.charAt(We),We++):(i=k,0===Je&&r(Te)),i!==k){for(a=[],u=E();u!==k;)a.push(u),u=E();a!==k?(i=[i,a],o=i):(We=o,o=N)}else We=o,o=N;o!==k&&(o=t.substring(n,We)),n=o}return n!==k&&(Ye=e,n=Pe(n)),e=n}function O(){var e,n,o,i,a,u,s,c;return Ae.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(ke)),e===k&&(e=We,t.substr(We,2)===Re?(n=Re,We+=2):(n=k,0===Je&&r(Me)),n!==k&&(Ye=e,n=je()),(e=n)===k&&(e=We,t.substr(We,2)===Ne?(n=Ne,We+=2):(n=k,0===Je&&r(De)),n!==k&&(Ye=e,n=Le()),(e=n)===k&&(e=We,t.substr(We,2)===Ie?(n=Ie,We+=2):(n=k,0===Je&&r(Fe)),n!==k&&(Ye=e,n=ze()),(e=n)===k&&(e=We,t.substr(We,2)===Ve?(n=Ve,We+=2):(n=k,0===Je&&r(Ue)),n!==k&&(Ye=e,n=Ge()),(e=n)===k&&(e=We,t.substr(We,2)===qe?(n=qe,We+=2):(n=k,0===Je&&r(Be)),n!==k?(o=We,i=We,a=C(),a!==k?(u=C(),u!==k?(s=C(),s!==k?(c=C(),c!==k?(a=[a,u,s,c],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i!==k&&(i=t.substring(o,We)),o=i,o!==k?(Ye=e,n=He(o),e=n):(We=e,e=N)):(We=e,e=N)))))),e}function T(){var e,t,n;if(e=We,t=[],(n=O())!==k)for(;n!==k;)t.push(n),n=O();else t=N;return t!==k&&(Ye=e,t=Ze(t)),e=t}var P,A=arguments.length>1?arguments[1]:{},k={},R={start:i},M=i,j=function(e){return{type:"messageFormatPattern",elements:e}},N=k,D=function(e){var t,n,r,o,i,a="";for(t=0,r=e.length;t=0)return!0;if("string"==typeof e){var t=/s$/.test(e)&&e.substr(0,e.length-1);if(t&&a.arrIndexOf.call(u,t)>=0)throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+t)}throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+u.join('", "')+'"')},r.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(r.defaultLocale);var t,n,o,i,a=r.__localeData__;for(t=0,n=e.length;t=0)return e;throw new Error('"'+e+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+s.join('", "')+'"')},r.prototype._selectUnits=function(e){var t,n,o;for(t=0,n=u.length;t0,n=f.default.Children.count(this.props.children);return this.props.component||n>1||"string"==typeof this.props.children||Array.isArray(this.props.children)&&1==n||void 0===this.props.children?f.default.createElement(this.props.component||"div",e,this.props.children):t?f.default.cloneElement(this.props.children,e):n?this.props.children:null}}]),t}(f.default.Component);O.displayName="MediaQuery",O.defaultProps={values:{}},t.default=O,e.exports=t.default},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(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(){g&&d&&(g=!1,d.length?h=d.concat(h):y=-1,h.length&&u())}function u(){if(!g){var e=o(a);g=!0;for(var t=h.length;t;){for(d=h,h=[];++y1)for(var n=1;n1?t-1:0),r=1;r2?r-2:0),i=2;i=u;case"max":return s<=u;default:return s===u}});return u&&!n||!u&&n})}function r(e){return e.split(",").map(function(e){e=e.trim();var t=e.match(u),n=t[1],r=t[2],o=t[3]||"",i={};return i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map(function(e){var t=e.match(s),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}}),i})}function o(e){var t,n=Number(e);return n||(t=e.match(/^(\d+)\s*\/\s*(\d+)$/),n=t[1]/t[2]),n}function i(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function a(e){var t=parseFloat(e);switch(String(e).match(l)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=n,t.parse=r;var u=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,s=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,l=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";function r(e,t){function n(e){s&&s.addListener(e)}function r(e){s&&s.removeListener(e)}function o(e){u.matches=e.matches,u.media=e.media}var u=this;if(a){var s=a.call(window,e);this.matches=s.matches,this.media=s.media,s.addListener(o)}else this.matches=i(e,t),this.media=e;this.addListener=n,this.removeListener=r}function o(e,t){return new r(e,t)}var i=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=o},function(e,t,n){(function(t){"use strict";function r(e,n,r,s,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{o("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",r,l),f=e[l](n,l,s,r,null,a)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",r,l,typeof f),f instanceof Error&&!(f.message in u)){u[f.message]=!0;var p=c?c():"";i(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(3),i=n(5),a=n(8),u={};e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var r=n(2),o=n(3);e.exports=function(){function e(){o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){(function(t){"use strict";var r=n(2),o=n(3),i=n(5),a=n(8),u=n(12);e.exports=function(e,n){function s(e){var t=e&&(C&&e[C]||e[S]);if("function"==typeof t)return t}function c(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function f(e){function r(r,c,f,p,d,h,g){if(p=p||O,h=h||f,g!==a)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=p+":"+f;!u[y]&&s<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),u[y]=!0,s++)}return null==c[f]?r?new l(null===c[f]?"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(c,f,p,d,h)}if("production"!==t.env.NODE_ENV)var u={},s=0;var c=r.bind(null,!1);return c.isRequired=r.bind(null,!0),c}function p(e){function t(t,n,r,o,i,a){var u=t[n];if(x(u)!==e)return new l("Invalid "+o+" `"+i+"` of type `"+w(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){return new l("Invalid "+o+" `"+i+"` of type `"+x(u)+"` supplied to `"+r+"`, expected an array.")}for(var s=0;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=(n.n(c),n(88)),f=n.n(l),p=Object.assign||function(e){for(var t=1;te.props.value.length&&e.clearOptions(),e.props.onChange(t)}};return n(s({},this.props,c,{isLoading:a,onInputChange:this._onInputChange}))}}]),t}(f.Component);t.default=w,w.propTypes=b,w.defaultProps=x,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(e).reduce(function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t},t)}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement(b.default,e)}function a(e){var t=e.option,n=e.options,r=e.labelKey,o=e.valueKey;return 0===n.filter(function(e){return e[r]===t[r]||e[o]===t[o]}).length}function u(e){return!!e.label}function s(e){var t=e.label,n=e.labelKey,r=e.valueKey,o={};return o[r]=t,o[n]=t,o.className="Select-create-option-placeholder",o}function c(e){return'Create option "'+e+'"'}function l(e){switch(e.keyCode){case 9:case 13:case 188:return!0}return!1}var f=Object.assign||function(e){for(var t=1;t0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(n.substring(o-=u,o+u)),!((s+=u+1)>r));)u=e[a=(a+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";t.a=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";t.a=function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";var r=n(131);t.a=function(e,t){var n=r.a(e,t);if(!n)return e+"";var o=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+new Array(i-o.length+2).join("0")}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(90);t.a=function(e){return Math.max(0,-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r.a(t)/3)))-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,r.a(t)-r.a(e))+1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(){return{}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(563),p=function(){function e(e,t){for(var n=0;n requires either a `to` or `onClick` prop");var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleClick=r.handleClick.bind(r),r.focus=r.focus.bind(r),r}return a(t,e),p(t,[{key:"focus",value:function(){this.link.focus()}},{key:"handleClick",value:function(e){e.preventDefault(),this.props.disabled||(this.props.to?f.a(this.props.to):this.props.onClick(e))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=t.to,i=t.children,a=t.className,u=t.disabled,c=r(t,["tagName","to","children","className","disabled"]);return c.href||"a"!==n||(c.href=o||"#!"),c.role||(o&&"a"!==n?c.role="link":o||(c.role="button")),c.className="cf-link",u&&(c.className+=" cf-link--disabled",c.disabled=!0),a&&(c.className+=" "+a),c.onClick=this.handleClick,c.ref=function(t){return e.link=t},s.a.createElement(n,c,i)}}]),t}(s.a.Component);d.propTypes={to:l.a.string,onClick:l.a.func,tagName:l.a.string,disabled:l.a.bool,className:l.a.string,children:l.a.node},d.defaultProps={tagName:"a"},t.a=d},function(e,t,n){"use strict";var r=n(564);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){if(!o)return void console.error("Warning: Route Handler: A handler needs to be setup before you can route");o(e)}t.a=r;var o=void 0},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n0&&e(t[o],n[o],r)})}(f,this,this)}function s(e){var t=this;t.d3=i.d3?i.d3:n(226),t.api=e,t.config=t.getDefaultConfig(),t.data={},t.cache={},t.axes={}}function c(e){a.call(this,e)}function l(e,t){function n(e,t){e.attr("transform",function(e){return"translate("+Math.ceil(t(e)+_)+", 0)"})}function r(e,t){e.attr("transform",function(e){return"translate(0,"+Math.ceil(t(e))+")"})}function o(e){var t=e[0],n=e[e.length-1];return t0&&r[0]>0&&r.unshift(r[0]-(r[1]-r[0])),r}function a(){var e,n=g.copy();return t.isCategory&&(e=g.domain(),n.domain([e[0],e[1]-1])),n}function u(e){var t=p?p(e):e;return void 0!==t?t:""}function s(e){if(A)return A;var t={h:11.5,w:5.5};return e.select("text").text(u).each(function(e){var n=this.getBoundingClientRect(),r=u(e),o=n.height,i=r?n.width/r.length:void 0;o&&i&&(t.h=o,t.w=i)}).text(""),A=t,t}function c(n){return t.withoutTransition?n:e.transition(n)}function l(p){p.each(function(){function p(e,n){function r(e,t){i=void 0;for(var u=1;u0?1:-1):B}(Z)).style("text-anchor",function(e){return e?e>0?"start":"end":"middle"}(Z)).attr("transform",function(e){return e?"rotate("+e+")":""}(Z)),U.attr("x",0).attr("dy",d).attr("dx",function(e){return e?8*Math.sin(Math.PI*(e/180)):0}(Z)),D.attr("d","M"+j[0]+","+f+"V0H"+j[1]+"V"+f);break;case"top":w=n,L.attr("y2",-m),F.attr("y",-B),I.attr("x2",0).attr("y2",-m),z.attr("x",0).attr("y",-B),V.style("text-anchor","middle"),U.attr("x",0).attr("dy","0em"),D.attr("d","M"+j[0]+","+-f+"V0H"+j[1]+"V"+-f);break;case"left":w=r,L.attr("x2",-m),F.attr("x",-B),I.attr("x2",-m).attr("y1",C).attr("y2",C),z.attr("x",-B).attr("y",_),V.style("text-anchor","end"),U.attr("x",-B).attr("dy",d),D.attr("d","M"+-f+","+j[0]+"H0V"+j[1]+"H"+-f);break;case"right":w=r,L.attr("x2",m),F.attr("x",B),I.attr("x2",m).attr("y2",0),z.attr("x",B).attr("y",0),V.style("text-anchor","start"),U.attr("x",B).attr("dy",d),D.attr("d","M"+f+","+j[0]+"H0V"+j[1]+"H"+f)}if(T.rangeBand){var W=T,Y=W.rangeBand()/2;O=T=function(e){return W(e)+Y}}else O.rangeBand?O=T:R.call(w,T);k.call(w,O),M.call(w,T)})}var f,p,d,h,g=e.scale.linear(),y="bottom",m=6,v=3,b=null,_=0,x=!0;return t=t||{},f=t.withOuterTick?6:0,l.scale=function(e){return arguments.length?(g=e,l):g},l.orient=function(e){return arguments.length?(y=e in{top:1,right:1,bottom:1,left:1}?e+"":"bottom",l):y},l.tickFormat=function(e){return arguments.length?(p=e,l):p},l.tickCentered=function(e){return arguments.length?(h=e,l):h},l.tickOffset=function(){return _},l.tickInterval=function(){var e,n;return t.isCategory?e=2*_:(n=l.g.select("path.domain").node().getTotalLength()-2*f,e=n/l.g.selectAll("line").size()),e===1/0?0:e},l.ticks=function(){return arguments.length?(d=arguments,l):d},l.tickCulling=function(e){return arguments.length?(x=e,l):x},l.tickValues=function(e){if("function"==typeof e)b=function(){return e(g.domain())};else{if(!arguments.length)return b;b=e}return l},l}var f,p,d={version:"0.4.11"};d.generate=function(e){return new u(e)},d.chart={fn:u.prototype,internal:{fn:s.prototype,axis:{fn:c.prototype}}},f=d.chart.fn,p=d.chart.internal.fn,d.chart.internal.axis.fn,p.beforeInit=function(){},p.afterInit=function(){},p.init=function(){var e=this,t=e.config;if(e.initParams(),t.data_url)e.convertUrlToData(t.data_url,t.data_mimeType,t.data_headers,t.data_keys,e.initWithData);else if(t.data_json)e.initWithData(e.convertJsonToData(t.data_json,t.data_keys));else if(t.data_rows)e.initWithData(e.convertRowsToData(t.data_rows));else{if(!t.data_columns)throw Error("url or json or rows or columns is required.");e.initWithData(e.convertColumnsToData(t.data_columns))}},p.initParams=function(){var e=this,t=e.d3,n=e.config;e.clipId="c3-"+ +new Date+"-clip",e.clipIdForXAxis=e.clipId+"-xaxis",e.clipIdForYAxis=e.clipId+"-yaxis",e.clipIdForGrid=e.clipId+"-grid",e.clipIdForSubchart=e.clipId+"-subchart",e.clipPath=e.getClipPath(e.clipId),e.clipPathForXAxis=e.getClipPath(e.clipIdForXAxis),e.clipPathForYAxis=e.getClipPath(e.clipIdForYAxis),e.clipPathForGrid=e.getClipPath(e.clipIdForGrid),e.clipPathForSubchart=e.getClipPath(e.clipIdForSubchart),e.dragStart=null,e.dragging=!1,e.flowing=!1,e.cancelClick=!1,e.mouseover=!1,e.transiting=!1,e.color=e.generateColor(),e.levelColor=e.generateLevelColor(),e.dataTimeFormat=n.data_xLocaltime?t.time.format:t.time.format.utc,e.axisTimeFormat=n.axis_x_localtime?t.time.format:t.time.format.utc,e.defaultAxisTimeFormat=e.axisTimeFormat.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%-m/%-d",function(e){return e.getDay()&&1!==e.getDate()}],["%-m/%-d",function(e){return 1!==e.getDate()}],["%-m/%-d",function(e){return e.getMonth()}],["%Y/%-m/%-d",function(){return!0}]]),e.hiddenTargetIds=[],e.hiddenLegendIds=[],e.focusedTargetIds=[],e.defocusedTargetIds=[],e.xOrient=n.axis_rotated?"left":"bottom",e.yOrient=n.axis_rotated?n.axis_y_inner?"top":"bottom":n.axis_y_inner?"right":"left",e.y2Orient=n.axis_rotated?n.axis_y2_inner?"bottom":"top":n.axis_y2_inner?"left":"right",e.subXOrient=n.axis_rotated?"left":"bottom",e.isLegendRight="right"===n.legend_position,e.isLegendInset="inset"===n.legend_position,e.isLegendTop="top-left"===n.legend_inset_anchor||"top-right"===n.legend_inset_anchor,e.isLegendLeft="top-left"===n.legend_inset_anchor||"bottom-left"===n.legend_inset_anchor,e.legendStep=0,e.legendItemWidth=0,e.legendItemHeight=0,e.currentMaxTickWidths={x:0,y:0,y2:0},e.rotated_padding_left=30,e.rotated_padding_right=n.axis_rotated&&!n.axis_x_show?0:30,e.rotated_padding_top=5,e.withoutFadeIn={},e.intervalForObserveInserted=void 0,e.axes.subx=t.selectAll([])},p.initChartElements=function(){this.initBar&&this.initBar(),this.initLine&&this.initLine(),this.initArc&&this.initArc(),this.initGauge&&this.initGauge(),this.initText&&this.initText()},p.initWithData=function(e){var t,n,r=this,o=r.d3,i=r.config,a=!0;r.axis=new c(r),r.initPie&&r.initPie(),r.initBrush&&r.initBrush(),r.initZoom&&r.initZoom(),i.bindto?"function"==typeof i.bindto.node?r.selectChart=i.bindto:r.selectChart=o.select(i.bindto):r.selectChart=o.selectAll([]),r.selectChart.empty()&&(r.selectChart=o.select(document.createElement("div")).style("opacity",0),r.observeInserted(r.selectChart),a=!1),r.selectChart.html("").classed("c3",!0),r.data.xs={},r.data.targets=r.convertDataToTargets(e),i.data_filter&&(r.data.targets=r.data.targets.filter(i.data_filter)),i.data_hide&&r.addHiddenTargetIds(!0===i.data_hide?r.mapToIds(r.data.targets):i.data_hide),i.legend_hide&&r.addHiddenLegendIds(!0===i.legend_hide?r.mapToIds(r.data.targets):i.legend_hide),r.hasType("gauge")&&(i.legend_show=!1),r.updateSizes(),r.updateScales(),r.x.domain(o.extent(r.getXDomain(r.data.targets))),r.y.domain(r.getYDomain(r.data.targets,"y")),r.y2.domain(r.getYDomain(r.data.targets,"y2")),r.subX.domain(r.x.domain()),r.subY.domain(r.y.domain()),r.subY2.domain(r.y2.domain()),r.orgXDomain=r.x.domain(),r.brush&&r.brush.scale(r.subX),i.zoom_enabled&&r.zoom.scale(r.x),r.svg=r.selectChart.append("svg").style("overflow","hidden").on("mouseenter",function(){return i.onmouseover.call(r)}).on("mouseleave",function(){return i.onmouseout.call(r)}),r.config.svg_classname&&r.svg.attr("class",r.config.svg_classname),t=r.svg.append("defs"),r.clipChart=r.appendClip(t,r.clipId),r.clipXAxis=r.appendClip(t,r.clipIdForXAxis),r.clipYAxis=r.appendClip(t,r.clipIdForYAxis),r.clipGrid=r.appendClip(t,r.clipIdForGrid),r.clipSubchart=r.appendClip(t,r.clipIdForSubchart),r.updateSvgSize(),n=r.main=r.svg.append("g").attr("transform",r.getTranslate("main")),r.initSubchart&&r.initSubchart(),r.initTooltip&&r.initTooltip(),r.initLegend&&r.initLegend(),r.initTitle&&r.initTitle(),n.append("text").attr("class",h.text+" "+h.empty).attr("text-anchor","middle").attr("dominant-baseline","middle"),r.initRegion(),r.initGrid(),n.append("g").attr("clip-path",r.clipPath).attr("class",h.chart),i.grid_lines_front&&r.initGridLines(),r.initEventRect(),r.initChartElements(),n.insert("rect",i.zoom_privileged?null:"g."+h.regions).attr("class",h.zoomRect).attr("width",r.width).attr("height",r.height).style("opacity",0).on("dblclick.zoom",null),i.axis_x_extent&&r.brush.extent(r.getDefaultExtent()),r.axis.init(),r.updateTargets(r.data.targets),a&&(r.updateDimension(),r.config.oninit.call(r),r.redraw({withTransition:!1,withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransitionForAxis:!1})),r.bindResize(),r.api.element=r.selectChart.node()},p.smoothLines=function(e,t){var n=this;"grid"===t&&e.each(function(){var e=n.d3.select(this),t=e.attr("x1"),r=e.attr("x2"),o=e.attr("y1"),i=e.attr("y2");e.attr({x1:Math.ceil(t),x2:Math.ceil(r),y1:Math.ceil(o),y2:Math.ceil(i)})})},p.updateSizes=function(){var e=this,t=e.config,n=e.legend?e.getLegendHeight():0,r=e.legend?e.getLegendWidth():0,o=e.isLegendRight||e.isLegendInset?0:n,i=e.hasArcType(),a=t.axis_rotated||i?0:e.getHorizontalAxisHeight("x"),u=t.subchart_show&&!i?t.subchart_size_height+a:0;e.currentWidth=e.getCurrentWidth(),e.currentHeight=e.getCurrentHeight(),e.margin=t.axis_rotated?{top:e.getHorizontalAxisHeight("y2")+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:e.getHorizontalAxisHeight("y")+o+e.getCurrentPaddingBottom(),left:u+(i?0:e.getCurrentPaddingLeft())}:{top:4+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:a+u+o+e.getCurrentPaddingBottom(),left:i?0:e.getCurrentPaddingLeft()},e.margin2=t.axis_rotated?{top:e.margin.top,right:NaN,bottom:20+o,left:e.rotated_padding_left}:{top:e.currentHeight-u-o,right:NaN,bottom:a+o,left:e.margin.left},e.margin3={top:0,right:NaN,bottom:0,left:0},e.updateSizeForLegend&&e.updateSizeForLegend(n,r),e.width=e.currentWidth-e.margin.left-e.margin.right,e.height=e.currentHeight-e.margin.top-e.margin.bottom,e.width<0&&(e.width=0),e.height<0&&(e.height=0),e.width2=t.axis_rotated?e.margin.left-e.rotated_padding_left-e.rotated_padding_right:e.width,e.height2=t.axis_rotated?e.height:e.currentHeight-e.margin2.top-e.margin2.bottom,e.width2<0&&(e.width2=0),e.height2<0&&(e.height2=0),e.arcWidth=e.width-(e.isLegendRight?r+10:0),e.arcHeight=e.height-(e.isLegendRight?0:10),e.hasType("gauge")&&!t.gauge_fullCircle&&(e.arcHeight+=e.height-e.getGaugeLabelHeight()),e.updateRadius&&e.updateRadius(),e.isLegendRight&&i&&(e.margin3.left=e.arcWidth/2+1.1*e.radiusExpanded)},p.updateTargets=function(e){var t=this;t.updateTargetsForText(e),t.updateTargetsForBar(e),t.updateTargetsForLine(e),t.hasArcType()&&t.updateTargetsForArc&&t.updateTargetsForArc(e),t.updateTargetsForSubchart&&t.updateTargetsForSubchart(e),t.showTargets()},p.showTargets=function(){var e=this;e.svg.selectAll("."+h.target).filter(function(t){return e.isTargetToShow(t.id)}).transition().duration(e.config.transition_duration).style("opacity",1)},p.redraw=function(e,t){var n,r,o,i,a,u,s,c,l,f,p,d,g,y,m,v,b,_,x,w,E,C,O,T,P,A,k,R,M,j=this,N=j.main,D=j.d3,L=j.config,I=j.getShapeIndices(j.isAreaType),F=j.getShapeIndices(j.isBarType),z=j.getShapeIndices(j.isLineType),V=j.hasArcType(),U=j.filterTargetsToShow(j.data.targets),G=j.xv.bind(j);if(e=e||{},n=S(e,"withY",!0),r=S(e,"withSubchart",!0),o=S(e,"withTransition",!0),u=S(e,"withTransform",!1),s=S(e,"withUpdateXDomain",!1),c=S(e,"withUpdateOrgXDomain",!1),l=S(e,"withTrimXDomain",!0),g=S(e,"withUpdateXAxis",s),f=S(e,"withLegend",!1),p=S(e,"withEventRect",!0),d=S(e,"withDimension",!0),i=S(e,"withTransitionForExit",o),a=S(e,"withTransitionForAxis",o),x=o?L.transition_duration:0,w=i?x:0,E=a?x:0,t=t||j.axis.generateTransitions(E),f&&L.legend_show?j.updateLegend(j.mapToIds(j.data.targets),e,t):d&&j.updateDimension(!0),j.isCategorized()&&0===U.length&&j.x.domain([0,j.axes.x.selectAll(".tick").size()]),U.length?(j.updateXDomain(U,s,c,l),L.axis_x_tick_values||(T=j.axis.updateXAxisTickValues(U))):(j.xAxis.tickValues([]),j.subXAxis.tickValues([])),L.zoom_rescale&&!e.flow&&(k=j.x.orgDomain()),j.y.domain(j.getYDomain(U,"y",k)),j.y2.domain(j.getYDomain(U,"y2",k)),!L.axis_y_tick_values&&L.axis_y_tick_count&&j.yAxis.tickValues(j.axis.generateTickValues(j.y.domain(),L.axis_y_tick_count)),!L.axis_y2_tick_values&&L.axis_y2_tick_count&&j.y2Axis.tickValues(j.axis.generateTickValues(j.y2.domain(),L.axis_y2_tick_count)),j.axis.redraw(t,V),j.axis.updateLabels(o),(s||g)&&U.length)if(L.axis_x_tick_culling&&T){for(P=1;P=0&&D.select(this).style("display",t%A?"none":"block")})}else j.svg.selectAll("."+h.axisX+" .tick text").style("display","block");y=j.generateDrawArea?j.generateDrawArea(I,!1):void 0,m=j.generateDrawBar?j.generateDrawBar(F):void 0,v=j.generateDrawLine?j.generateDrawLine(z,!1):void 0,b=j.generateXYForText(I,F,z,!0),_=j.generateXYForText(I,F,z,!1),n&&(j.subY.domain(j.getYDomain(U,"y")),j.subY2.domain(j.getYDomain(U,"y2"))),j.updateXgridFocus(),N.select("text."+h.text+"."+h.empty).attr("x",j.width/2).attr("y",j.height/2).text(L.data_empty_label_text).transition().style("opacity",U.length?0:1),j.updateGrid(x),j.updateRegion(x),j.updateBar(w),j.updateLine(w),j.updateArea(w),j.updateCircle(),j.hasDataLabel()&&j.updateText(w),j.redrawTitle&&j.redrawTitle(),j.redrawArc&&j.redrawArc(x,w,u),j.redrawSubchart&&j.redrawSubchart(r,t,x,w,I,F,z),N.selectAll("."+h.selectedCircles).filter(j.isBarType.bind(j)).selectAll("circle").remove(),L.interaction_enabled&&!e.flow&&p&&(j.redrawEventRect(),j.updateZoom&&j.updateZoom()),j.updateCircleY(),R=(j.config.axis_rotated?j.circleY:j.circleX).bind(j),M=(j.config.axis_rotated?j.circleX:j.circleY).bind(j),e.flow&&(O=j.generateFlow({targets:U,flow:e.flow,duration:e.flow.duration,drawBar:m,drawLine:v,drawArea:y,cx:R,cy:M,xv:G,xForText:b,yForText:_})),(x||O)&&j.isTabVisible()?D.transition().duration(x).each(function(){var t=[];[j.redrawBar(m,!0),j.redrawLine(v,!0),j.redrawArea(y,!0),j.redrawCircle(R,M,!0),j.redrawText(b,_,e.flow,!0),j.redrawRegion(!0),j.redrawGrid(!0)].forEach(function(e){e.forEach(function(e){t.push(e)})}),C=j.generateWait(),t.forEach(function(e){C.add(e)})}).call(C,function(){O&&O(),L.onrendered&&L.onrendered.call(j)}):(j.redrawBar(m),j.redrawLine(v),j.redrawArea(y),j.redrawCircle(R,M),j.redrawText(b,_,e.flow),j.redrawRegion(),j.redrawGrid(),L.onrendered&&L.onrendered.call(j)),j.mapToIds(j.data.targets).forEach(function(e){j.withoutFadeIn[e]=!0})},p.updateAndRedraw=function(e){var t,n=this,r=n.config;e=e||{},e.withTransition=S(e,"withTransition",!0),e.withTransform=S(e,"withTransform",!1),e.withLegend=S(e,"withLegend",!1),e.withUpdateXDomain=!0,e.withUpdateOrgXDomain=!0,e.withTransitionForExit=!1,e.withTransitionForTransform=S(e,"withTransitionForTransform",e.withTransition),n.updateSizes(),e.withLegend&&r.legend_show||(t=n.axis.generateTransitions(e.withTransitionForAxis?r.transition_duration:0),n.updateScales(),n.updateSvgSize(),n.transformAll(e.withTransitionForTransform,t)),n.redraw(e,t)},p.redrawWithoutRescale=function(){this.redraw({withY:!1,withSubchart:!1,withEventRect:!1,withTransitionForAxis:!1})},p.isTimeSeries=function(){return"timeseries"===this.config.axis_x_type},p.isCategorized=function(){return this.config.axis_x_type.indexOf("categor")>=0},p.isCustomX=function(){var e=this,t=e.config;return!e.isTimeSeries()&&(t.data_x||C(t.data_xs))},p.isTimeSeriesY=function(){return"timeseries"===this.config.axis_y_type},p.getTranslate=function(e){var t,n,r=this,o=r.config;return"main"===e?(t=x(r.margin.left),n=x(r.margin.top)):"context"===e?(t=x(r.margin2.left),n=x(r.margin2.top)):"legend"===e?(t=r.margin3.left,n=r.margin3.top):"x"===e?(t=0,n=o.axis_rotated?0:r.height):"y"===e?(t=0,n=o.axis_rotated?r.height:0):"y2"===e?(t=o.axis_rotated?0:r.width,n=o.axis_rotated?1:0):"subx"===e?(t=0,n=o.axis_rotated?0:r.height2):"arc"===e&&(t=r.arcWidth/2,n=r.arcHeight/2),"translate("+t+","+n+")"},p.initialOpacity=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?1:0},p.initialOpacityForCircle=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?this.opacityForCircle(e):0},p.opacityForCircle=function(e){var t=this.config.point_show?1:0;return g(e.value)?this.isScatterType(e)?.5:t:0},p.opacityForText=function(){return this.hasDataLabel()?1:0},p.xx=function(e){return e?this.x(e.x):null},p.xv=function(e){var t=this,n=e.value;return t.isTimeSeries()?n=t.parseDate(e.value):t.isCategorized()&&"string"==typeof e.value&&(n=t.config.axis_x_categories.indexOf(e.value)),Math.ceil(t.x(n))},p.yv=function(e){var t=this,n=e.axis&&"y2"===e.axis?t.y2:t.y;return Math.ceil(n(e.value))},p.subxx=function(e){return e?this.subX(e.x):null},p.transformMain=function(e,t){var n,r,o,i=this;t&&t.axisX?n=t.axisX:(n=i.main.select("."+h.axisX),e&&(n=n.transition())),t&&t.axisY?r=t.axisY:(r=i.main.select("."+h.axisY),e&&(r=r.transition())),t&&t.axisY2?o=t.axisY2:(o=i.main.select("."+h.axisY2),e&&(o=o.transition())),(e?i.main.transition():i.main).attr("transform",i.getTranslate("main")),n.attr("transform",i.getTranslate("x")),r.attr("transform",i.getTranslate("y")),o.attr("transform",i.getTranslate("y2")),i.main.select("."+h.chartArcs).attr("transform",i.getTranslate("arc"))},p.transformAll=function(e,t){var n=this;n.transformMain(e,t),n.config.subchart_show&&n.transformContext(e,t),n.legend&&n.transformLegend(e)},p.updateSvgSize=function(){var e=this,t=e.svg.select(".c3-brush .background");e.svg.attr("width",e.currentWidth).attr("height",e.currentHeight),e.svg.selectAll(["#"+e.clipId,"#"+e.clipIdForGrid]).select("rect").attr("width",e.width).attr("height",e.height),e.svg.select("#"+e.clipIdForXAxis).select("rect").attr("x",e.getXAxisClipX.bind(e)).attr("y",e.getXAxisClipY.bind(e)).attr("width",e.getXAxisClipWidth.bind(e)).attr("height",e.getXAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForYAxis).select("rect").attr("x",e.getYAxisClipX.bind(e)).attr("y",e.getYAxisClipY.bind(e)).attr("width",e.getYAxisClipWidth.bind(e)).attr("height",e.getYAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForSubchart).select("rect").attr("width",e.width).attr("height",t.size()?t.attr("height"):0),e.svg.select("."+h.zoomRect).attr("width",e.width).attr("height",e.height),e.selectChart.style("max-height",e.currentHeight+"px")},p.updateDimension=function(e){var t=this;e||(t.config.axis_rotated?(t.axes.x.call(t.xAxis),t.axes.subx.call(t.subXAxis)):(t.axes.y.call(t.yAxis),t.axes.y2.call(t.y2Axis))),t.updateSizes(),t.updateScales(),t.updateSvgSize(),t.transformAll(!1)},p.observeInserted=function(e){var t,n=this;if("undefined"==typeof MutationObserver)return void i.console.error("MutationObserver not defined.");t=new MutationObserver(function(r){r.forEach(function(r){"childList"===r.type&&r.previousSibling&&(t.disconnect(),n.intervalForObserveInserted=i.setInterval(function(){e.node().parentNode&&(i.clearInterval(n.intervalForObserveInserted),n.updateDimension(),n.brush&&n.brush.update(),n.config.oninit.call(n),n.redraw({withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransition:!1,withTransitionForTransform:!1,withLegend:!0}),e.transition().style("opacity",1))},10))})}),t.observe(e.node(),{attributes:!0,childList:!0,characterData:!0})},p.bindResize=function(){var e=this,t=e.config;if(e.resizeFunction=e.generateResize(),e.resizeFunction.add(function(){t.onresize.call(e)}),t.resize_auto&&e.resizeFunction.add(function(){void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),e.resizeTimeout=i.setTimeout(function(){delete e.resizeTimeout,e.api.flush()},100)}),e.resizeFunction.add(function(){t.onresized.call(e)}),i.attachEvent)i.attachEvent("onresize",e.resizeFunction);else if(i.addEventListener)i.addEventListener("resize",e.resizeFunction,!1);else{var n=i.onresize;n?n.add&&n.remove||(n=e.generateResize(),n.add(i.onresize)):n=e.generateResize(),n.add(e.resizeFunction),i.onresize=n}},p.generateResize=function(){function e(){t.forEach(function(e){e()})}var t=[];return e.add=function(e){t.push(e)},e.remove=function(e){for(var n=0;n0)for(a=u.hasNegativeValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e<0?e:0}),n=1;n0||(l[r][t]+=+e)});return u.d3.min(Object.keys(l).map(function(e){return u.d3.min(l[e])}))},p.getYDomainMax=function(e){var t,n,r,o,i,a,u=this,s=u.config,c=u.mapToIds(e),l=u.getValuesAsIdKeyed(e);if(s.data_groups.length>0)for(a=u.hasPositiveValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e>0?e:0}),n=1;n=0&&x>=0,p=_<=0&&x<=0,(g(v)&&f||g(b)&&p)&&(S=!1),S&&(f&&(_=0),p&&(x=0)),o=Math.abs(x-_),i=a=.1*o,void 0!==E&&(u=Math.max(Math.abs(_),Math.abs(x)),x=E+u,_=E-u),T?(s=d.getDataLabelLength(_,x,"width"),c=w(d.y.range()),l=[s[0]/c,s[1]/c],i+=o*(l[1]/(1-l[0]-l[1])),a+=o*(l[0]/(1-l[0]-l[1]))):P&&(s=d.getDataLabelLength(_,x,"height"),i+=d.axis.convertPixelsToAxisPadding(s[1],o),a+=d.axis.convertPixelsToAxisPadding(s[0],o)),"y"===t&&C(h.axis_y_padding)&&(i=d.axis.getPadding(h.axis_y_padding,"top",i,o),a=d.axis.getPadding(h.axis_y_padding,"bottom",a,o)),"y2"===t&&C(h.axis_y2_padding)&&(i=d.axis.getPadding(h.axis_y2_padding,"top",i,o),a=d.axis.getPadding(h.axis_y2_padding,"bottom",a,o)),S&&(f&&(a=_),p&&(i=-x)),r=[_-a,x+i],O?r.reverse():r)},p.getXDomainMin=function(e){var t=this,n=t.config;return b(n.axis_x_min)?t.isTimeSeries()?this.parseDate(n.axis_x_min):n.axis_x_min:t.d3.min(e,function(e){return t.d3.min(e.values,function(e){return e.x})})},p.getXDomainMax=function(e){var t=this,n=t.config;return b(n.axis_x_max)?t.isTimeSeries()?this.parseDate(n.axis_x_max):n.axis_x_max:t.d3.max(e,function(e){return t.d3.max(e.values,function(e){return e.x})})},p.getXDomainPadding=function(e){var t,n,r,o,i=this,a=i.config,u=e[1]-e[0];return i.isCategorized()?n=0:i.hasType("bar")?(t=i.getMaxDataCount(),n=t>1?u/(t-1)/2:.5):n=.01*u,"object"==typeof a.axis_x_padding&&C(a.axis_x_padding)?(r=g(a.axis_x_padding.left)?a.axis_x_padding.left:n,o=g(a.axis_x_padding.right)?a.axis_x_padding.right:n):r=o="number"==typeof a.axis_x_padding?a.axis_x_padding:n,{left:r,right:o}},p.getXDomain=function(e){var t=this,n=[t.getXDomainMin(e),t.getXDomainMax(e)],r=n[0],o=n[1],i=t.getXDomainPadding(n),a=0,u=0;return r-o!=0||t.isCategorized()||(t.isTimeSeries()?(r=new Date(.5*r.getTime()),o=new Date(1.5*o.getTime())):(r=0===r?1:.5*r,o=0===o?-1:1.5*o)),(r||0===r)&&(a=t.isTimeSeries()?new Date(r.getTime()-i.left):r-i.left),(o||0===o)&&(u=t.isTimeSeries()?new Date(o.getTime()+i.right):o+i.right),[a,u]},p.updateXDomain=function(e,t,n,r,o){var i=this,a=i.config;return n&&(i.x.domain(o||i.d3.extent(i.getXDomain(e))),i.orgXDomain=i.x.domain(),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent(),i.subX.domain(i.x.domain()),i.brush&&i.brush.scale(i.subX)),t&&(i.x.domain(o||(!i.brush||i.brush.empty()?i.orgXDomain:i.brush.extent())),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent()),r&&i.x.domain(i.trimXDomain(i.x.orgDomain())),i.x.domain()},p.trimXDomain=function(e){var t=this.getZoomDomain(),n=t[0],r=t[1];return e[0]<=n&&(e[1]=+e[1]+(n-e[0]),e[0]=n),r<=e[1]&&(e[0]=+e[0]-(e[1]-r),e[1]=r),e},p.isX=function(e){var t=this,n=t.config;return n.data_x&&e===n.data_x||C(n.data_xs)&&O(n.data_xs,e)},p.isNotX=function(e){return!this.isX(e)},p.getXKey=function(e){var t=this,n=t.config;return n.data_x?n.data_x:C(n.data_xs)?n.data_xs[e]:null},p.getXValuesOfXKey=function(e,t){var n,r=this;return(t&&C(t)?r.mapToIds(t):[]).forEach(function(t){r.getXKey(t)===e&&(n=r.data.xs[t])}),n},p.getIndexByX=function(e){var t=this,n=t.filterByX(t.data.targets,e);return n.length?n[0].index:null},p.getXValue=function(e,t){var n=this;return e in n.data.xs&&n.data.xs[e]&&g(n.data.xs[e][t])?n.data.xs[e][t]:t},p.getOtherTargetXs=function(){var e=this,t=Object.keys(e.data.xs);return t.length?e.data.xs[t[0]]:null},p.getOtherTargetX=function(e){var t=this.getOtherTargetXs();return t&&e1},p.isMultipleX=function(){return C(this.config.data_xs)||!this.config.data_xSort||this.hasType("scatter")},p.addName=function(e){var t,n=this;return e&&(t=n.config.data_names[e.id],e.name=void 0!==t?t:e.id),e},p.getValueOnIndex=function(e,t){var n=e.filter(function(e){return e.index===t});return n.length?n[0]:null},p.updateTargetX=function(e,t){var n=this;e.forEach(function(e){e.values.forEach(function(r,o){r.x=n.generateTargetX(t[o],e.id,o)}),n.data.xs[e.id]=t})},p.updateTargetXs=function(e,t){var n=this;e.forEach(function(e){t[e.id]&&n.updateTargetX([e],t[e.id])})},p.generateTargetX=function(e,t,n){var r=this;return r.isTimeSeries()?e?r.parseDate(e):r.parseDate(r.getXValue(t,n)):r.isCustomX()&&!r.isCategorized()?g(e)?+e:r.getXValue(t,n):n},p.cloneTarget=function(e){return{id:e.id,id_org:e.id_org,values:e.values.map(function(e){return{x:e.x,value:e.value,id:e.id}})}},p.updateXs=function(){var e=this;e.data.targets.length&&(e.xs=[],e.data.targets[0].values.forEach(function(t){e.xs[t.index]=t.x}))},p.getPrevX=function(e){var t=this.xs[e-1];return void 0!==t?t:null},p.getNextX=function(e){var t=this.xs[e+1];return void 0!==t?t:null},p.getMaxDataCount=function(){var e=this;return e.d3.max(e.data.targets,function(e){return e.values.length})},p.getMaxDataCountTarget=function(e){var t,n=e.length,r=0;return n>1?e.forEach(function(e){e.values.length>r&&(t=e,r=e.values.length)}):t=n?e[0]:null,t},p.getEdgeX=function(e){var t=this;return e.length?[t.d3.min(e,function(e){return e.values[0].x}),t.d3.max(e,function(e){return e.values[e.values.length-1].x})]:[0,0]},p.mapToIds=function(e){return e.map(function(e){return e.id})},p.mapToTargetIds=function(e){var t=this;return e?[].concat(e):t.mapToIds(t.data.targets)},p.hasTarget=function(e,t){var n,r=this.mapToIds(e);for(n=0;nt?1:e>=t?0:NaN})},p.addHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.concat(e)},p.removeHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.filter(function(t){return e.indexOf(t)<0})},p.addHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.concat(e)},p.removeHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.filter(function(t){return e.indexOf(t)<0})},p.getValuesAsIdKeyed=function(e){var t={};return e.forEach(function(e){t[e.id]=[],e.values.forEach(function(n){t[e.id].push(n.value)})}),t},p.checkValueInTargets=function(e,t){var n,r,o,i=Object.keys(e);for(n=0;n0})},p.isOrderDesc=function(){var e=this.config;return"string"==typeof e.data_order&&"desc"===e.data_order.toLowerCase()},p.isOrderAsc=function(){var e=this.config;return"string"==typeof e.data_order&&"asc"===e.data_order.toLowerCase()},p.orderTargets=function(e){var t=this,n=t.config,r=t.isOrderAsc(),o=t.isOrderDesc();return r||o?e.sort(function(e,t){var n=function(e,t){return e+Math.abs(t.value)},o=e.values.reduce(n,0),i=t.values.reduce(n,0);return r?i-o:o-i}):y(n.data_order)&&e.sort(n.data_order),e},p.filterByX=function(e,t){return this.d3.merge(e.map(function(e){return e.values})).filter(function(e){return e.x-t==0})},p.filterRemoveNull=function(e){return e.filter(function(e){return g(e.value)})},p.filterByXDomain=function(e,t){return e.map(function(e){return{id:e.id,id_org:e.id_org,values:e.values.filter(function(e){return t[0]<=e.x&&e.x<=t[1]})}})},p.hasDataLabel=function(){var e=this.config;return!("boolean"!=typeof e.data_labels||!e.data_labels)||!("object"!=typeof e.data_labels||!C(e.data_labels))},p.getDataLabelLength=function(e,t,n){var r=this,o=[0,0];return r.selectChart.select("svg").selectAll(".dummy").data([e,t]).enter().append("text").text(function(e){return r.dataLabelFormat(e.id)(e)}).each(function(e,t){o[t]=1.3*this.getBoundingClientRect()[n]}).remove(),o},p.isNoneArc=function(e){return this.hasTarget(this.data.targets,e.id)},p.isArc=function(e){return"data"in e&&this.hasTarget(this.data.targets,e.data.id)},p.findSameXOfValues=function(e,t){var n,r=e[t].x,o=[];for(n=t-1;n>=0&&r===e[n].x;n--)o.push(e[n]);for(n=t;n=0?r.data.xs[n]=(t&&r.data.xs[n]?r.data.xs[n]:[]).concat(e.map(function(e){return e[i]}).filter(g).map(function(e,t){return r.generateTargetX(e,n,t)})):o.data_x?r.data.xs[n]=r.getOtherTargetXs():C(o.data_xs)&&(r.data.xs[n]=r.getXValuesOfXKey(i,r.data.targets)):r.data.xs[n]=e.map(function(e,t){return t})}),i.forEach(function(e){if(!r.data.xs[e])throw new Error('x is not defined for id = "'+e+'".')}),n=i.map(function(t,n){var i=o.data_idConverter(t);return{id:i,id_org:t,values:e.map(function(e,a){var u,s=r.getXKey(t),c=e[s],l=null===e[t]||isNaN(e[t])?null:+e[t];return r.isCustomX()&&r.isCategorized()&&0===n&&!v(c)?(0===n&&0===a&&(o.axis_x_categories=[]),-1===(u=o.axis_x_categories.indexOf(c))&&(u=o.axis_x_categories.length,o.axis_x_categories.push(c))):u=r.generateTargetX(c,t,a),(v(e[t])||r.data.xs[t].length<=a)&&(u=void 0),{x:u,value:l,id:i}}).filter(function(e){return b(e.x)})}}),n.forEach(function(e){var t;o.data_xSort&&(e.values=e.values.sort(function(e,t){return(e.x||0===e.x?e.x:1/0)-(t.x||0===t.x?t.x:1/0)})),t=0,e.values.forEach(function(e){e.index=t++}),r.data.xs[e.id].sort(function(e,t){return e-t})}),r.hasNegativeValue=r.hasNegativeValueInTargets(n),r.hasPositiveValue=r.hasPositiveValueInTargets(n),o.data_type&&r.setTargetType(r.mapToIds(n).filter(function(e){return!(e in o.data_types)}),o.data_type),n.forEach(function(e){r.addCache(e.id_org,e)}),n},p.load=function(e,t){var n=this;e&&(t.filter&&(e=e.filter(t.filter)),(t.type||t.types)&&e.forEach(function(e){var r=t.types&&t.types[e.id]?t.types[e.id]:t.type;n.setTargetType(e.id,r)}),n.data.targets.forEach(function(t){for(var n=0;n0?n:320/(e.hasType("gauge")&&!t.gauge_fullCircle?2:1)},p.getCurrentPaddingTop=function(){var e=this,t=e.config,n=g(t.padding_top)?t.padding_top:0;return e.title&&e.title.node()&&(n+=e.getTitlePadding()),n},p.getCurrentPaddingBottom=function(){var e=this.config;return g(e.padding_bottom)?e.padding_bottom:0},p.getCurrentPaddingLeft=function(e){var t=this,n=t.config;return g(n.padding_left)?n.padding_left:n.axis_rotated?n.axis_x_show?Math.max(_(t.getAxisWidthByAxisId("x",e)),40):1:!n.axis_y_show||n.axis_y_inner?t.axis.getYAxisLabelPosition().isOuter?30:1:_(t.getAxisWidthByAxisId("y",e))},p.getCurrentPaddingRight=function(){var e=this,t=e.config,n=e.isLegendRight?e.getLegendWidth()+20:0;return g(t.padding_right)?t.padding_right+1:t.axis_rotated?10+n:!t.axis_y2_show||t.axis_y2_inner?2+n+(e.axis.getY2AxisLabelPosition().isOuter?20:0):_(e.getAxisWidthByAxisId("y2"))+n},p.getParentRectValue=function(e){for(var t,n=this.selectChart.node();n&&"BODY"!==n.tagName;){try{t=n.getBoundingClientRect()[e]}catch(r){"width"===e&&(t=n.offsetWidth)}if(t)break;n=n.parentNode}return t},p.getParentWidth=function(){return this.getParentRectValue("width")},p.getParentHeight=function(){var e=this.selectChart.style("height");return e.indexOf("px")>0?+e.replace("px",""):0},p.getSvgLeft=function(e){var t=this,n=t.config,r=n.axis_rotated||!n.axis_rotated&&!n.axis_y_inner,o=n.axis_rotated?h.axisX:h.axisY,i=t.main.select("."+o).node(),a=i&&r?i.getBoundingClientRect():{right:0},u=t.selectChart.node().getBoundingClientRect(),s=t.hasArcType(),c=a.right-u.left-(s?0:t.getCurrentPaddingLeft(e));return c>0?c:0},p.getAxisWidthByAxisId=function(e,t){var n=this,r=n.axis.getLabelPositionById(e);return n.axis.getMaxTickWidth(e,t)+(r.isInner?20:40)},p.getHorizontalAxisHeight=function(e){var t=this,n=t.config,r=30;return"x"!==e||n.axis_x_show?"x"===e&&n.axis_x_height?n.axis_x_height:"y"!==e||n.axis_y_show?"y2"!==e||n.axis_y2_show?("x"===e&&!n.axis_rotated&&n.axis_x_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_x_tick_rotate)/180)),"y"===e&&n.axis_rotated&&n.axis_y_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_y_tick_rotate)/180)),r+(t.axis.getLabelPositionById(e).isInner?0:10)+("y2"===e?-10:0)):t.rotated_padding_top:!n.legend_show||t.isLegendRight||t.isLegendInset?1:10:8},p.getEventRectWidth=function(){return Math.max(0,this.xAxis.tickInterval())},p.getShapeIndices=function(e){var t,n,r=this,o=r.config,i={},a=0;return r.filterTargetsToShow(r.data.targets.filter(e,r)).forEach(function(e){for(t=0;t=0&&(c+=u(o[a].value)-s))}),c}},p.isWithinShape=function(e,t){var n,r=this,o=r.d3.select(e);return r.isTargetToShow(t.id)?"circle"===e.nodeName?n=r.isStepType(t)?r.isWithinStep(e,r.getYScale(t.id)(t.value)):r.isWithinCircle(e,1.5*r.pointSelectR(t)):"path"===e.nodeName&&(n=!o.classed(h.bar)||r.isWithinBar(e)):n=!1,n},p.getInterpolate=function(e){var t=this,n=t.isInterpolationType(t.config.spline_interpolation_type)?t.config.spline_interpolation_type:"cardinal";return t.isSplineType(e)?n:t.isStepType(e)?t.config.line_step_type:"linear"},p.initLine=function(){this.main.select("."+h.chart).append("g").attr("class",h.chartLines)},p.updateTargetsForLine=function(e){var t,n,r=this,o=r.config,i=r.classChartLine.bind(r),a=r.classLines.bind(r),u=r.classAreas.bind(r),s=r.classCircles.bind(r),c=r.classFocus.bind(r);t=r.main.select("."+h.chartLines).selectAll("."+h.chartLine).data(e).attr("class",function(e){return i(e)+c(e)}),n=t.enter().append("g").attr("class",i).style("opacity",0).style("pointer-events","none"),n.append("g").attr("class",a),n.append("g").attr("class",u),n.append("g").attr("class",function(e){return r.generateClass(h.selectedCircles,e.id)}),n.append("g").attr("class",s).style("cursor",function(e){return o.data_selection_isselectable(e)?"pointer":null}),e.forEach(function(e){r.main.selectAll("."+h.selectedCircles+r.getTargetSelectorSuffix(e.id)).selectAll("."+h.selectedCircle).each(function(t){t.value=e.values[t.index].value})})},p.updateLine=function(e){var t=this;t.mainLine=t.main.selectAll("."+h.lines).selectAll("."+h.line).data(t.lineData.bind(t)),t.mainLine.enter().append("path").attr("class",t.classLine.bind(t)).style("stroke",t.color),t.mainLine.style("opacity",t.initialOpacity.bind(t)).style("shape-rendering",function(e){return t.isStepType(e)?"crispEdges":""}).attr("transform",null),t.mainLine.exit().transition().duration(e).style("opacity",0).remove()},p.redrawLine=function(e,t){return[(t?this.mainLine.transition(Math.random().toString()):this.mainLine).attr("d",e).style("stroke",this.color).style("opacity",1)]},p.generateDrawLine=function(e,t){var n=this,r=n.config,o=n.d3.svg.line(),i=n.generateGetLinePoints(e,t),a=t?n.getSubYScale:n.getYScale,u=function(e){return(t?n.subxx:n.xx).call(n,e)},s=function(e,t){return r.data_groups.length>0?i(e,t)[0][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x(s).y(u):o.x(u).y(s),r.line_connectNull||(o=o.defined(function(e){return null!=e.value})),function(e){var i,u=r.line_connectNull?n.filterRemoveNull(e.values):e.values,s=t?n.x:n.subX,c=a.call(n,e.id),l=0,f=0;return n.isLineType(e)?r.data_regions[e.id]?i=n.lineWithRegions(u,s,c,r.data_regions[e.id]):(n.isStepType(e)&&(u=n.convertValuesToStep(u)),i=o.interpolate(n.getInterpolate(e))(u)):(u[0]&&(l=s(u[0].x),f=c(u[0].value)),i=r.axis_rotated?"M "+f+" "+l:"M "+l+" "+f),i||"M 0 0"}},p.generateGetLinePoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isLineType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?i(e,t)[0][1]:a.call(n,e.id)(n.getAreaBaseValue(e.id))},c=function(e,t){return r.data_groups.length>0?i(e,t)[1][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x0(s).x1(c).y(u):o.x(u).y0(r.area_above?0:s).y1(c),r.line_connectNull||(o=o.defined(function(e){return null!==e.value})),function(e){var t,i=r.line_connectNull?n.filterRemoveNull(e.values):e.values,a=0,u=0;return n.isAreaType(e)?(n.isStepType(e)&&(i=n.convertValuesToStep(i)),t=o.interpolate(n.getInterpolate(e))(i)):(i[0]&&(a=n.x(i[0].x),u=n.getYScale(e.id)(i[0].value)),t=r.axis_rotated?"M "+u+" "+a:"M "+a+" "+u),t||"M 0 0"}},p.getAreaBaseValue=function(){return 0},p.generateGetAreaPoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isAreaType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?(e=n.getShapeIndices(n.isLineType),t=n.generateGetLinePoints(e),n.circleY=function(e,n){return t(e,n)[0][1]}):n.circleY=function(e){return n.getYScale(e.id)(e.value)}},p.getCircles=function(e,t){var n=this;return(t?n.main.selectAll("."+h.circles+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.circle+(g(e)?"-"+e:""))},p.expandCircles=function(e,t,n){var r=this,o=r.pointExpandedR.bind(r);n&&r.unexpandCircles(),r.getCircles(e,t).classed(h.EXPANDED,!0).attr("r",o)},p.unexpandCircles=function(e){var t=this,n=t.pointR.bind(t);t.getCircles(e).filter(function(){return t.d3.select(this).classed(h.EXPANDED)}).classed(h.EXPANDED,!1).attr("r",n)},p.pointR=function(e){var t=this,n=t.config;return t.isStepType(e)?0:y(n.point_r)?n.point_r(e):n.point_r},p.pointExpandedR=function(e){var t=this,n=t.config;return n.point_focus_expand_enabled?n.point_focus_expand_r?n.point_focus_expand_r:1.75*t.pointR(e):t.pointR(e)},p.pointSelectR=function(e){var t=this,n=t.config;return y(n.point_select_r)?n.point_select_r(e):n.point_select_r?n.point_select_r:4*t.pointR(e)},p.isWithinCircle=function(e,t){var n=this.d3,r=n.mouse(e),o=n.select(e),i=+o.attr("cx"),a=+o.attr("cy");return Math.sqrt(Math.pow(i-r[0],2)+Math.pow(a-r[1],2))r.bar_width_max?r.bar_width_max:o},p.getBars=function(e,t){var n=this;return(t?n.main.selectAll("."+h.bars+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.bar+(g(e)?"-"+e:""))},p.expandBars=function(e,t,n){var r=this;n&&r.unexpandBars(),r.getBars(e,t).classed(h.EXPANDED,!0)},p.unexpandBars=function(e){this.getBars(e).classed(h.EXPANDED,!1)},p.generateDrawBar=function(e,t){var n=this,r=n.config,o=n.generateGetBarPoints(e,t);return function(e,t){var n=o(e,t),i=r.axis_rotated?1:0,a=r.axis_rotated?0:1;return"M "+n[0][i]+","+n[0][a]+" L"+n[1][i]+","+n[1][a]+" L"+n[2][i]+","+n[2][a]+" L"+n[3][i]+","+n[3][a]+" z"}},p.generateGetBarPoints=function(e,t){var n=this,r=t?n.subXAxis:n.xAxis,o=e.__max__+1,i=n.getBarW(r,o),a=n.getShapeX(i,o,e,!!t),u=n.getShapeY(!!t),s=n.getShapeOffset(n.isBarType,e,!!t),c=t?n.getSubYScale:n.getYScale;return function(e,t){var r=c.call(n,e.id)(0),o=s(e,t)||r,l=a(e),f=u(e);return n.config.axis_rotated&&(0i.width?r=i.width-a.width:r<0&&(r=4)),r},p.getYForText=function(e,t,n){var r,o=this,i=n.getBoundingClientRect();return o.config.axis_rotated?r=(e[0][0]+e[2][0]+.6*i.height)/2:(r=e[2][1],t.value<0||0===t.value&&!o.hasPositiveValue?(r+=i.height,o.isBarType(t)&&o.isSafari()?r-=3:!o.isBarType(t)&&o.isChrome()&&(r+=3)):r+=o.isBarType(t)?-3:-6),null!==t.value||o.config.axis_rotated||(rthis.height&&(r=this.height-4)),r},p.setTargetType=function(e,t){var n=this,r=n.config;n.mapToTargetIds(e).forEach(function(e){n.withoutFadeIn[e]=t===r.data_types[e],r.data_types[e]=t}),e||(r.data_type=t)},p.hasType=function(e,t){var n=this,r=n.config.data_types,o=!1;return t=t||n.data.targets,t&&t.length?t.forEach(function(t){var n=r[t.id];(n&&n.indexOf(e)>=0||!n&&"line"===e)&&(o=!0)}):Object.keys(r).length?Object.keys(r).forEach(function(t){r[t]===e&&(o=!0)}):o=n.config.data_type===e,o},p.hasArcType=function(e){return this.hasType("pie",e)||this.hasType("donut",e)||this.hasType("gauge",e)},p.isLineType=function(e){var t=this.config,n=m(e)?e:e.id;return!t.data_types[n]||["line","spline","area","area-spline","step","area-step"].indexOf(t.data_types[n])>=0},p.isStepType=function(e){var t=m(e)?e:e.id;return["step","area-step"].indexOf(this.config.data_types[t])>=0},p.isSplineType=function(e){var t=m(e)?e:e.id;return["spline","area-spline"].indexOf(this.config.data_types[t])>=0},p.isAreaType=function(e){var t=m(e)?e:e.id;return["area","area-spline","area-step"].indexOf(this.config.data_types[t])>=0},p.isBarType=function(e){var t=m(e)?e:e.id;return"bar"===this.config.data_types[t]},p.isScatterType=function(e){var t=m(e)?e:e.id;return"scatter"===this.config.data_types[t]},p.isPieType=function(e){var t=m(e)?e:e.id;return"pie"===this.config.data_types[t]},p.isGaugeType=function(e){var t=m(e)?e:e.id;return"gauge"===this.config.data_types[t]},p.isDonutType=function(e){var t=m(e)?e:e.id;return"donut"===this.config.data_types[t]},p.isArcType=function(e){return this.isPieType(e)||this.isDonutType(e)||this.isGaugeType(e)},p.lineData=function(e){return this.isLineType(e)?[e]:[]},p.arcData=function(e){return this.isArcType(e.data)?[e]:[]},p.barData=function(e){return this.isBarType(e)?e.values:[]},p.lineOrScatterData=function(e){return this.isLineType(e)||this.isScatterType(e)?e.values:[]},p.barOrLineData=function(e){return this.isBarType(e)||this.isLineType(e)?e.values:[]},p.isInterpolationType=function(e){return["linear","linear-closed","basis","basis-open","basis-closed","bundle","cardinal","cardinal-open","cardinal-closed","monotone"].indexOf(e)>=0},p.initGrid=function(){var e=this,t=e.config,n=e.d3;e.grid=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid),t.grid_x_show&&e.grid.append("g").attr("class",h.xgrids),t.grid_y_show&&e.grid.append("g").attr("class",h.ygrids),t.grid_focus_show&&e.grid.append("g").attr("class",h.xgridFocus).append("line").attr("class",h.xgridFocus),e.xgrid=n.selectAll([]),t.grid_lines_front||e.initGridLines()},p.initGridLines=function(){var e=this,t=e.d3;e.gridLines=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid+" "+h.gridLines),e.gridLines.append("g").attr("class",h.xgridLines),e.gridLines.append("g").attr("class",h.ygridLines),e.xgridLines=t.selectAll([])},p.updateXGrid=function(e){var t=this,n=t.config,r=t.d3,o=t.generateGridData(n.grid_x_type,t.x),i=t.isCategorized()?t.xAxis.tickOffset():0;t.xgridAttr=n.axis_rotated?{x1:0,x2:t.width,y1:function(e){return t.x(e)-i},y2:function(e){return t.x(e)-i}}:{x1:function(e){return t.x(e)+i},x2:function(e){return t.x(e)+i},y1:0,y2:t.height},t.xgrid=t.main.select("."+h.xgrids).selectAll("."+h.xgrid).data(o),t.xgrid.enter().append("line").attr("class",h.xgrid),e||t.xgrid.attr(t.xgridAttr).style("opacity",function(){return+r.select(this).attr(n.axis_rotated?"y1":"x1")===(n.axis_rotated?t.height:0)?0:1}),t.xgrid.exit().remove()},p.updateYGrid=function(){var e=this,t=e.config,n=e.yAxis.tickValues()||e.y.ticks(t.grid_y_ticks);e.ygrid=e.main.select("."+h.ygrids).selectAll("."+h.ygrid).data(n),e.ygrid.enter().append("line").attr("class",h.ygrid),e.ygrid.attr("x1",t.axis_rotated?e.y:0).attr("x2",t.axis_rotated?e.y:e.width).attr("y1",t.axis_rotated?0:e.y).attr("y2",t.axis_rotated?e.height:e.y),e.ygrid.exit().remove(),e.smoothLines(e.ygrid,"grid")},p.gridTextAnchor=function(e){return e.position?e.position:"end"},p.gridTextDx=function(e){return"start"===e.position?4:"middle"===e.position?0:-4},p.xGridTextX=function(e){return"start"===e.position?-this.height:"middle"===e.position?-this.height/2:0},p.yGridTextX=function(e){return"start"===e.position?0:"middle"===e.position?this.width/2:this.width},p.updateGrid=function(e){var t,n,r,o=this,i=o.main,a=o.config;o.grid.style("visibility",o.hasArcType()?"hidden":"visible"),i.select("line."+h.xgridFocus).style("visibility","hidden"),a.grid_x_show&&o.updateXGrid(),o.xgridLines=i.select("."+h.xgridLines).selectAll("."+h.xgridLine).data(a.grid_x_lines),t=o.xgridLines.enter().append("g").attr("class",function(e){return h.xgridLine+(e.class?" "+e.class:"")}),t.append("line").style("opacity",0),t.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"":"rotate(-90)").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),o.xgridLines.exit().transition().duration(e).style("opacity",0).remove(),a.grid_y_show&&o.updateYGrid(),o.ygridLines=i.select("."+h.ygridLines).selectAll("."+h.ygridLine).data(a.grid_y_lines),n=o.ygridLines.enter().append("g").attr("class",function(e){return h.ygridLine+(e.class?" "+e.class:"")}),n.append("line").style("opacity",0),n.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"rotate(-90)":"").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),r=o.yv.bind(o),o.ygridLines.select("line").transition().duration(e).attr("x1",a.axis_rotated?r:0).attr("x2",a.axis_rotated?r:o.width).attr("y1",a.axis_rotated?0:r).attr("y2",a.axis_rotated?o.height:r).style("opacity",1),o.ygridLines.select("text").transition().duration(e).attr("x",a.axis_rotated?o.xGridTextX.bind(o):o.yGridTextX.bind(o)).attr("y",r).text(function(e){return e.text}).style("opacity",1),o.ygridLines.exit().transition().duration(e).style("opacity",0).remove()},p.redrawGrid=function(e){var t=this,n=t.config,r=t.xv.bind(t),o=t.xgridLines.select("line"),i=t.xgridLines.select("text");return[(e?o.transition():o).attr("x1",n.axis_rotated?0:r).attr("x2",n.axis_rotated?t.width:r).attr("y1",n.axis_rotated?r:0).attr("y2",n.axis_rotated?r:t.height).style("opacity",1),(e?i.transition():i).attr("x",n.axis_rotated?t.yGridTextX.bind(t):t.xGridTextX.bind(t)).attr("y",r).text(function(e){return e.text}).style("opacity",1)]},p.showXGridFocus=function(e){var t=this,n=t.config,r=e.filter(function(e){return e&&g(e.value)}),o=t.main.selectAll("line."+h.xgridFocus),i=t.xx.bind(t);n.tooltip_show&&(t.hasType("scatter")||t.hasArcType()||(o.style("visibility","visible").data([r[0]]).attr(n.axis_rotated?"y1":"x1",i).attr(n.axis_rotated?"y2":"x2",i),t.smoothLines(o,"grid")))},p.hideXGridFocus=function(){this.main.select("line."+h.xgridFocus).style("visibility","hidden")},p.updateXgridFocus=function(){var e=this,t=e.config;e.main.select("line."+h.xgridFocus).attr("x1",t.axis_rotated?0:-10).attr("x2",t.axis_rotated?e.width:-10).attr("y1",t.axis_rotated?-10:0).attr("y2",t.axis_rotated?-10:e.height)},p.generateGridData=function(e,t){var n,r,o,i,a=this,u=[],s=a.main.select("."+h.axisX).selectAll(".tick").size();if("year"===e)for(n=a.getXDomain(),r=n[0].getFullYear(),o=n[1].getFullYear(),i=r;i<=o;i++)u.push(new Date(i+"-01-01 00:00:00"));else u=t.ticks(10),u.length>s&&(u=u.filter(function(e){return(""+e).indexOf(".")<0}));return u},p.getGridFilterToRemove=function(e){return e?function(t){var n=!1;return[].concat(e).forEach(function(e){("value"in e&&t.value===e.value||"class"in e&&t.class===e.class)&&(n=!0)}),n}:function(){return!0}},p.removeGridLines=function(e,t){var n=this,r=n.config,o=n.getGridFilterToRemove(e),i=function(e){return!o(e)},a=t?h.xgridLines:h.ygridLines,u=t?h.xgridLine:h.ygridLine;n.main.select("."+a).selectAll("."+u).filter(o).transition().duration(r.transition_duration).style("opacity",0).remove(),t?r.grid_x_lines=r.grid_x_lines.filter(i):r.grid_y_lines=r.grid_y_lines.filter(i)},p.initTooltip=function(){var e,t=this,n=t.config;if(t.tooltip=t.selectChart.style("position","relative").append("div").attr("class",h.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none"),n.tooltip_init_show){if(t.isTimeSeries()&&m(n.tooltip_init_x)){for(n.tooltip_init_x=t.parseDate(n.tooltip_init_x),e=0;e0&&r>0&&(n=e?y.indexOf(e.id):null,r=t?y.indexOf(t.id):null),g?n-r:r-n})}for(i=0;i"+(a||0===a?""+a+"":"")),void 0!==(u=T(h(e[i].value,e[i].ratio,e[i].id,e[i].index,e))))){if(null===e[i].name)continue;s=T(d(e[i].name,e[i].ratio,e[i].id,e[i].index)),c=l.levelColor?l.levelColor(e[i].value):r(e[i].id),o+="",o+=""+s+"",o+=""+u+"",o+=""}return o+""},p.tooltipPosition=function(e,t,n,r){var o,i,a,u,s,c=this,l=c.config,f=c.d3,p=c.hasArcType(),d=f.mouse(r);return p?(i=(c.width-(c.isLegendRight?c.getLegendWidth():0))/2+d[0],u=c.height/2+d[1]+20):(o=c.getSvgLeft(!0),l.axis_rotated?(i=o+d[0]+100,a=i+t,s=c.currentWidth-c.getCurrentPaddingRight(),u=c.x(e[0].x)+20):(i=o+c.getCurrentPaddingLeft(!0)+c.x(e[0].x)+20,a=i+t,s=o+c.currentWidth-c.getCurrentPaddingRight(),u=d[1]+15),a>s&&(i-=a-s+20),u+n>c.currentHeight&&(u-=n+30)),u<0&&(u=0),{top:u,left:i}},p.showTooltip=function(e,t){var n,r,o,i=this,a=i.config,u=i.hasArcType(),s=e.filter(function(e){return e&&g(e.value)}),c=a.tooltip_position||p.tooltipPosition;0!==s.length&&a.tooltip_show&&(i.tooltip.html(a.tooltip_contents.call(i,e,i.axis.getXAxisTickFormat(),i.getYFormat(u),i.color)).style("display","block"),n=i.tooltip.property("offsetWidth"),r=i.tooltip.property("offsetHeight"),o=c.call(this,s,n,r,t),i.tooltip.style("top",o.top+"px").style("left",o.left+"px"))},p.hideTooltip=function(){this.tooltip.style("display","none")},p.initLegend=function(){var e=this;if(e.legendItemTextBox={},e.legendHasRendered=!1,e.legend=e.svg.append("g").attr("transform",e.getTranslate("legend")),!e.config.legend_show)return e.legend.style("visibility","hidden"),void(e.hiddenLegendIds=e.mapToIds(e.data.targets));e.updateLegendWithDefaults()},p.updateLegendWithDefaults=function(){var e=this;e.updateLegend(e.mapToIds(e.data.targets),{withTransform:!1,withTransitionForTransform:!1,withTransition:!1})},p.updateSizeForLegend=function(e,t){var n=this,r=n.config,o={top:n.isLegendTop?n.getCurrentPaddingTop()+r.legend_inset_y+5.5:n.currentHeight-e-n.getCurrentPaddingBottom()-r.legend_inset_y,left:n.isLegendLeft?n.getCurrentPaddingLeft()+r.legend_inset_x+.5:n.currentWidth-t-n.getCurrentPaddingRight()-r.legend_inset_x+.5};n.margin3={top:n.isLegendRight?0:n.isLegendInset?o.top:n.currentHeight-e,right:NaN,bottom:0,left:n.isLegendRight?n.currentWidth-t:n.isLegendInset?o.left:0}},p.transformLegend=function(e){var t=this;(e?t.legend.transition():t.legend).attr("transform",t.getTranslate("legend"))},p.updateLegendStep=function(e){this.legendStep=e},p.updateLegendItemWidth=function(e){this.legendItemWidth=e},p.updateLegendItemHeight=function(e){this.legendItemHeight=e},p.getLegendWidth=function(){var e=this;return e.config.legend_show?e.isLegendRight||e.isLegendInset?e.legendItemWidth*(e.legendStep+1):e.currentWidth:0},p.getLegendHeight=function(){var e=this,t=0;return e.config.legend_show&&(t=e.isLegendRight?e.currentHeight:Math.max(20,e.legendItemHeight)*(e.legendStep+1)),t},p.opacityForLegend=function(e){return e.classed(h.legendItemHidden)?null:1},p.opacityForUnfocusedLegend=function(e){return e.classed(h.legendItemHidden)?null:.3},p.toggleFocusLegend=function(e,t){var n=this;e=n.mapToTargetIds(e),n.legend.selectAll("."+h.legendItem).filter(function(t){return e.indexOf(t)>=0}).classed(h.legendItemFocused,t).transition().duration(100).style("opacity",function(){return(t?n.opacityForLegend:n.opacityForUnfocusedLegend).call(n,n.d3.select(this))})},p.revertLegend=function(){var e=this,t=e.d3;e.legend.selectAll("."+h.legendItem).classed(h.legendItemFocused,!1).transition().duration(100).style("opacity",function(){return e.opacityForLegend(t.select(this))})},p.showLegend=function(e){var t=this,n=t.config;n.legend_show||(n.legend_show=!0,t.legend.style("visibility","visible"),t.legendHasRendered||t.updateLegendWithDefaults()),t.removeHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("visibility","visible").transition().style("opacity",function(){return t.opacityForLegend(t.d3.select(this))})},p.hideLegend=function(e){var t=this,n=t.config;n.legend_show&&E(e)&&(n.legend_show=!1,t.legend.style("visibility","hidden")),t.addHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("opacity",0).style("visibility","hidden")},p.clearLegendItemTextBoxCache=function(){this.legendItemTextBox={}},p.updateLegend=function(e,t,n){function r(e,t){return E.legendItemTextBox[t]||(E.legendItemTextBox[t]=E.getTextRect(e.textContent,h.legendItem,e)),E.legendItemTextBox[t]}function o(t,n,o){function i(e,t){t||(a=(h-M-d)/2)=P)&&(P=f),(!A||p>=A)&&(A=p),u=E.isLegendRight||E.isLegendInset?A:P,C.legend_equally?(Object.keys(N).forEach(function(e){N[e]=P}),Object.keys(D).forEach(function(e){D[e]=A}),a=(h-u*e.length)/2,a0&&0===w.size()&&(w=E.legend.insert("g","."+h.legendItem).attr("class",h.legendBackground).append("rect")),v=E.legend.selectAll("text").data(e).text(function(e){return b(C.data_names[e])?C.data_names[e]:e}).each(function(e,t){o(this,e,t)}),(y?v.transition():v).attr("x",a).attr("y",c),_=E.legend.selectAll("rect."+h.legendItemEvent).data(e),(y?_.transition():_).attr("width",function(e){return N[e]}).attr("height",function(e){return D[e]}).attr("x",u).attr("y",l),x=E.legend.selectAll("line."+h.legendItemTile).data(e),(y?x.transition():x).style("stroke",E.color).attr("x1",f).attr("y1",d).attr("x2",p).attr("y2",d),w&&(y?w.transition():w).attr("height",E.getLegendHeight()-12).attr("width",P*(F+1)+10),E.legend.selectAll("."+h.legendItem).classed(h.legendItemHidden,function(e){return!E.isTargetToShow(e)}),E.updateLegendItemWidth(P),E.updateLegendItemHeight(A),E.updateLegendStep(F),E.updateSizes(),E.updateScales(),E.updateSvgSize(),E.transformAll(m,n),E.legendHasRendered=!0},p.initTitle=function(){var e=this;e.title=e.svg.append("text").text(e.config.title_text).attr("class",e.CLASS.title)},p.redrawTitle=function(){var e=this;e.title.attr("x",e.xForTitle.bind(e)).attr("y",e.yForTitle.bind(e))},p.xForTitle=function(){var e=this,t=e.config,n=t.title_position||"left";return n.indexOf("right")>=0?e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width-t.title_padding.right:n.indexOf("center")>=0?(e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width)/2:t.title_padding.left},p.yForTitle=function(){var e=this;return e.config.title_padding.top+e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).height},p.getTitlePadding=function(){var e=this;return e.yForTitle()+e.config.title_padding.bottom},function(e,t){if(Object.create)t.prototype=Object.create(e.prototype);else{var n=function(){};n.prototype=e.prototype,t.prototype=new n}t.prototype.constructor=t}(a,c),c.prototype.init=function(){var e=this.owner,t=e.config,n=e.main;e.axes.x=n.append("g").attr("class",h.axis+" "+h.axisX).attr("clip-path",e.clipPathForXAxis).attr("transform",e.getTranslate("x")).style("visibility",t.axis_x_show?"visible":"hidden"),e.axes.x.append("text").attr("class",h.axisXLabel).attr("transform",t.axis_rotated?"rotate(-90)":"").style("text-anchor",this.textAnchorForXAxisLabel.bind(this)),e.axes.y=n.append("g").attr("class",h.axis+" "+h.axisY).attr("clip-path",t.axis_y_inner?"":e.clipPathForYAxis).attr("transform",e.getTranslate("y")).style("visibility",t.axis_y_show?"visible":"hidden"),e.axes.y.append("text").attr("class",h.axisYLabel).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForYAxisLabel.bind(this)),e.axes.y2=n.append("g").attr("class",h.axis+" "+h.axisY2).attr("transform",e.getTranslate("y2")).style("visibility",t.axis_y2_show?"visible":"hidden"),e.axes.y2.append("text").attr("class",h.axisY2Label).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForY2AxisLabel.bind(this))},c.prototype.getXAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={isCategory:u.isCategorized(),withOuterTick:o,tickMultiline:s.axis_x_tick_multiline,tickWidth:s.axis_x_tick_width,tickTextRotate:a?0:s.axis_x_tick_rotate,withoutTransition:i},f=l(u.d3,c).scale(e).orient(t);return u.isTimeSeries()&&r&&"function"!=typeof r&&(r=r.map(function(e){return u.parseDate(e)})),f.tickFormat(n).tickValues(r),u.isCategorized()&&(f.tickCentered(s.axis_x_tick_centered),E(s.axis_x_tick_culling)&&(s.axis_x_tick_culling=!1)),f},c.prototype.updateXAxisTickValues=function(e,t){var n,r=this.owner,o=r.config;return(o.axis_x_tick_fit||o.axis_x_tick_count)&&(n=this.generateTickValues(r.mapTargetsToUniqueXs(e),o.axis_x_tick_count,r.isTimeSeries())),t?t.tickValues(n):(r.xAxis.tickValues(n),r.subXAxis.tickValues(n)),n},c.prototype.getYAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={withOuterTick:o,withoutTransition:i,tickTextRotate:a?0:s.axis_y_tick_rotate},f=l(u.d3,c).scale(e).orient(t).tickFormat(n);return u.isTimeSeriesY()?f.ticks(u.d3.time[s.axis_y_tick_time_value],s.axis_y_tick_time_interval):f.tickValues(r),f},c.prototype.getId=function(e){var t=this.owner.config;return e in t.data_axes?t.data_axes[e]:"y"},c.prototype.getXAxisTickFormat=function(){var e=this.owner,t=e.config,n=e.isTimeSeries()?e.defaultAxisTimeFormat:e.isCategorized()?e.categoryName:function(e){return e<0?e.toFixed(0):e};return t.axis_x_tick_format&&(y(t.axis_x_tick_format)?n=t.axis_x_tick_format:e.isTimeSeries()&&(n=function(n){return n?e.axisTimeFormat(t.axis_x_tick_format)(n):""})),y(n)?function(t){return n.call(e,t)}:n},c.prototype.getTickValues=function(e,t){return e||(t?t.tickValues():void 0)},c.prototype.getXAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_x_tick_values,this.owner.xAxis)},c.prototype.getYAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y_tick_values,this.owner.yAxis)},c.prototype.getY2AxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y2_tick_values,this.owner.y2Axis)},c.prototype.getLabelOptionByAxisId=function(e){var t,n=this.owner,r=n.config;return"y"===e?t=r.axis_y_label:"y2"===e?t=r.axis_y2_label:"x"===e&&(t=r.axis_x_label),t},c.prototype.getLabelText=function(e){var t=this.getLabelOptionByAxisId(e);return m(t)?t:t?t.text:null},c.prototype.setLabelText=function(e,t){var n=this.owner,r=n.config,o=this.getLabelOptionByAxisId(e);m(o)?"y"===e?r.axis_y_label=t:"y2"===e?r.axis_y2_label=t:"x"===e&&(r.axis_x_label=t):o&&(o.text=t)},c.prototype.getLabelPosition=function(e,t){var n=this.getLabelOptionByAxisId(e),r=n&&"object"==typeof n&&n.position?n.position:t;return{isInner:r.indexOf("inner")>=0,isOuter:r.indexOf("outer")>=0,isLeft:r.indexOf("left")>=0,isCenter:r.indexOf("center")>=0,isRight:r.indexOf("right")>=0,isTop:r.indexOf("top")>=0,isMiddle:r.indexOf("middle")>=0,isBottom:r.indexOf("bottom")>=0}},c.prototype.getXAxisLabelPosition=function(){return this.getLabelPosition("x",this.owner.config.axis_rotated?"inner-top":"inner-right")},c.prototype.getYAxisLabelPosition=function(){return this.getLabelPosition("y",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getY2AxisLabelPosition=function(){return this.getLabelPosition("y2",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getLabelPositionById=function(e){return"y2"===e?this.getY2AxisLabelPosition():"y"===e?this.getYAxisLabelPosition():this.getXAxisLabelPosition()},c.prototype.textForXAxisLabel=function(){return this.getLabelText("x")},c.prototype.textForYAxisLabel=function(){return this.getLabelText("y")},c.prototype.textForY2AxisLabel=function(){return this.getLabelText("y2")},c.prototype.xForAxisLabel=function(e,t){var n=this.owner;return e?t.isLeft?0:t.isCenter?n.width/2:n.width:t.isBottom?-n.height:t.isMiddle?-n.height/2:0},c.prototype.dxForAxisLabel=function(e,t){return e?t.isLeft?"0.5em":t.isRight?"-0.5em":"0":t.isTop?"-0.5em":t.isBottom?"0.5em":"0"},c.prototype.textAnchorForAxisLabel=function(e,t){return e?t.isLeft?"start":t.isCenter?"middle":"end":t.isBottom?"start":t.isMiddle?"middle":"end"},c.prototype.xForXAxisLabel=function(){return this.xForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.xForYAxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.xForY2AxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dxForXAxisLabel=function(){return this.dxForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.dxForYAxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.dxForY2AxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dyForXAxisLabel=function(){var e=this.owner,t=e.config,n=this.getXAxisLabelPosition();return t.axis_rotated?n.isInner?"1.2em":-25-this.getMaxTickWidth("x"):n.isInner?"-0.5em":t.axis_x_height?t.axis_x_height-10:"3em"},c.prototype.dyForYAxisLabel=function(){var e=this.owner,t=this.getYAxisLabelPosition();return e.config.axis_rotated?t.isInner?"-0.5em":"3em":t.isInner?"1.2em":-10-(e.config.axis_y_inner?0:this.getMaxTickWidth("y")+10)},c.prototype.dyForY2AxisLabel=function(){var e=this.owner,t=this.getY2AxisLabelPosition();return e.config.axis_rotated?t.isInner?"1.2em":"-2.2em":t.isInner?"-0.5em":15+(e.config.axis_y2_inner?0:this.getMaxTickWidth("y2")+15)},c.prototype.textAnchorForXAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(!e.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.textAnchorForYAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.textAnchorForY2AxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.getMaxTickWidth=function(e,t){var n,r,o,i,a,u=this.owner,s=u.config,c=0;return t&&u.currentMaxTickWidths[e]?u.currentMaxTickWidths[e]:(u.svg&&(n=u.filterTargetsToShow(u.data.targets),"y"===e?(r=u.y.copy().domain(u.getYDomain(n,"y")),o=this.getYAxis(r,u.yOrient,s.axis_y_tick_format,u.yAxisTickValues,!1,!0,!0)):"y2"===e?(r=u.y2.copy().domain(u.getYDomain(n,"y2")),o=this.getYAxis(r,u.y2Orient,s.axis_y2_tick_format,u.y2AxisTickValues,!1,!0,!0)):(r=u.x.copy().domain(u.getXDomain(n)),o=this.getXAxis(r,u.xOrient,u.xAxisTickFormat,u.xAxisTickValues,!1,!0,!0),this.updateXAxisTickValues(n,o)),i=u.d3.select("body").append("div").classed("c3",!0),a=i.append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0),a.append("g").call(o).each(function(){u.d3.select(this).selectAll("text").each(function(){var e=this.getBoundingClientRect();c2){for(a=r-2,o=e[0],i=e[e.length-1],u=(i-o)/(a+1),l=[o],s=0;s=0?"":document.URL.split("#")[0])+"#"+e+")"},p.appendClip=function(e,t){return e.append("clipPath").attr("id",t).append("rect")},p.getAxisClipX=function(e){var t=Math.max(30,this.margin.left);return e?-(1+t):-(t-1)},p.getAxisClipY=function(e){return e?-20:-this.margin.top},p.getXAxisClipX=function(){var e=this;return e.getAxisClipX(!e.config.axis_rotated)},p.getXAxisClipY=function(){var e=this;return e.getAxisClipY(!e.config.axis_rotated)},p.getYAxisClipX=function(){var e=this;return e.config.axis_y_inner?-1:e.getAxisClipX(e.config.axis_rotated)},p.getYAxisClipY=function(){var e=this;return e.getAxisClipY(e.config.axis_rotated)},p.getAxisClipWidth=function(e){var t=this,n=Math.max(30,t.margin.left),r=Math.max(30,t.margin.right);return e?t.width+2+n+r:t.margin.left+20},p.getAxisClipHeight=function(e){return(e?this.margin.bottom:this.margin.top+this.height)+20},p.getXAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(!e.config.axis_rotated)},p.getXAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(!e.config.axis_rotated)},p.getYAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(e.config.axis_rotated)+(e.config.axis_y_inner?20:0)},p.getYAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(e.config.axis_rotated)},p.initPie=function(){var e=this,t=e.d3,n=e.config;e.pie=t.layout.pie().value(function(e){return e.values.reduce(function(e,t){return e+t.value},0)}),n.data_order||e.pie.sort(null)},p.updateRadius=function(){var e=this,t=e.config,n=t.gauge_width||t.donut_width;e.radiusExpanded=Math.min(e.arcWidth,e.arcHeight)/2,e.radius=.95*e.radiusExpanded,e.innerRadiusRatio=n?(e.radius-n)/e.radius:.6,e.innerRadius=e.hasType("donut")||e.hasType("gauge")?e.radius*e.innerRadiusRatio:0},p.updateArc=function(){var e=this;e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded(),e.svgArcExpandedSub=e.getSvgArcExpanded(.98)},p.updateAngle=function(e){var t,n,r,o,i=this,a=i.config,u=!1,s=0;return a?(i.pie(i.filterTargetsToShow(i.data.targets)).forEach(function(t){u||t.data.id!==e.data.id||(u=!0,e=t,e.index=s),s++}),isNaN(e.startAngle)&&(e.startAngle=0),isNaN(e.endAngle)&&(e.endAngle=e.startAngle),i.isGaugeType(e.data)&&(t=a.gauge_min,n=a.gauge_max,r=Math.PI*(a.gauge_fullCircle?2:1)/(n-t),o=e.value.375?1.175-36/a.radius:.8)*a.radius/o:0,c="translate("+n*i+","+r*i+")"),c},p.getArcRatio=function(e){var t=this,n=t.config,r=Math.PI*(t.hasType("gauge")&&!n.gauge_fullCircle?1:2);return e?(e.endAngle-e.startAngle)/r:null},p.convertToArcData=function(e){return this.addName({id:e.data.id,value:e.value,ratio:this.getArcRatio(e),index:e.index})},p.textForArcLabel=function(e){var t,n,r,o,i,a=this;return a.shouldShowArcLabel()?(t=a.updateAngle(e),n=t?t.value:null,r=a.getArcRatio(t),o=e.data.id,a.hasType("gauge")||a.meetsArcLabelThreshold(r)?(i=a.getArcLabelFormat(),i?i(n,r,o):a.defaultArcValueFormat(n,r)):""):""},p.expandArc=function(e){var t,n=this;if(n.transiting)return void(t=i.setInterval(function(){n.transiting||(i.clearInterval(t),n.legend.selectAll(".c3-legend-item-focused").size()>0&&n.expandArc(e))},10));e=n.mapToTargetIds(e),n.svg.selectAll(n.selectorTargets(e,"."+h.chartArc)).each(function(e){n.shouldExpand(e.data.id)&&n.d3.select(this).selectAll("path").transition().duration(n.expandDuration(e.data.id)).attr("d",n.svgArcExpanded).transition().duration(2*n.expandDuration(e.data.id)).attr("d",n.svgArcExpandedSub).each(function(e){n.isDonutType(e.data)})})},p.unexpandArc=function(e){var t=this;t.transiting||(e=t.mapToTargetIds(e),t.svg.selectAll(t.selectorTargets(e,"."+h.chartArc)).selectAll("path").transition().duration(function(e){return t.expandDuration(e.data.id)}).attr("d",t.svgArc),t.svg.selectAll("."+h.arc).style("opacity",1))},p.expandDuration=function(e){var t=this,n=t.config;return t.isDonutType(e)?n.donut_expand_duration:t.isGaugeType(e)?n.gauge_expand_duration:t.isPieType(e)?n.pie_expand_duration:50},p.shouldExpand=function(e){var t=this,n=t.config;return t.isDonutType(e)&&n.donut_expand||t.isGaugeType(e)&&n.gauge_expand||t.isPieType(e)&&n.pie_expand},p.shouldShowArcLabel=function(){var e=this,t=e.config,n=!0;return e.hasType("donut")?n=t.donut_label_show:e.hasType("pie")&&(n=t.pie_label_show),n},p.meetsArcLabelThreshold=function(e){var t=this,n=t.config;return e>=(t.hasType("donut")?n.donut_label_threshold:n.pie_label_threshold)},p.getArcLabelFormat=function(){var e=this,t=e.config,n=t.pie_label_format;return e.hasType("gauge")?n=t.gauge_label_format:e.hasType("donut")&&(n=t.donut_label_format),n},p.getArcTitle=function(){var e=this;return e.hasType("donut")?e.config.donut_title:""},p.updateTargetsForArc=function(e){var t,n,r=this,o=r.main,i=r.classChartArc.bind(r),a=r.classArcs.bind(r),u=r.classFocus.bind(r);t=o.select("."+h.chartArcs).selectAll("."+h.chartArc).data(r.pie(e)).attr("class",function(e){return i(e)+u(e.data)}),n=t.enter().append("g").attr("class",i),n.append("g").attr("class",a),n.append("text").attr("dy",r.hasType("gauge")?"-.1em":".35em").style("opacity",0).style("text-anchor","middle").style("pointer-events","none")},p.initArc=function(){var e=this;e.arcs=e.main.select("."+h.chart).append("g").attr("class",h.chartArcs).attr("transform",e.getTranslate("arc")),e.arcs.append("text").attr("class",h.chartArcsTitle).style("text-anchor","middle").text(e.getArcTitle())},p.redrawArc=function(e,t,n){var r,o=this,i=o.d3,a=o.config,u=o.main;r=u.selectAll("."+h.arcs).selectAll("."+h.arc).data(o.arcData.bind(o)),r.enter().append("path").attr("class",o.classArc.bind(o)).style("fill",function(e){return o.color(e.data)}).style("cursor",function(e){return a.interaction_enabled&&a.data_selection_isselectable(e)?"pointer":null}).style("opacity",0).each(function(e){o.isGaugeType(e.data)&&(e.startAngle=e.endAngle=a.gauge_startingAngle),this._current=e}),r.attr("transform",function(e){return!o.isGaugeType(e.data)&&n?"scale(0)":""}).style("opacity",function(e){return e===this._current?0:1}).on("mouseover",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.expandArc(t.data.id),o.api.focus(t.data.id),o.toggleFocusLegend(t.data.id,!0),o.config.data_onmouseover(n,this))}:null).on("mousemove",a.interaction_enabled?function(e){var t,n,r=o.updateAngle(e);r&&(t=o.convertToArcData(r),n=[t],o.showTooltip(n,this))}:null).on("mouseout",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.unexpandArc(t.data.id),o.api.revert(),o.revertLegend(),o.hideTooltip(),o.config.data_onmouseout(n,this))}:null).on("click",a.interaction_enabled?function(e,t){var n,r=o.updateAngle(e);r&&(n=o.convertToArcData(r),o.toggleShape&&o.toggleShape(this,n,t),o.config.data_onclick.call(o.api,n,this))}:null).each(function(){o.transiting=!0}).transition().duration(e).attrTween("d",function(e){var t,n=o.updateAngle(e);return n?(isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle),t=i.interpolate(this._current,n),this._current=t(0),function(n){var r=t(n);return r.data=e.data,o.getArc(r,!0)}):function(){return"M 0 0"}}).attr("transform",n?"scale(1)":"").style("fill",function(e){return o.levelColor?o.levelColor(e.data.values[0].value):o.color(e.data.id)}).style("opacity",1).call(o.endall,function(){o.transiting=!1}),r.exit().transition().duration(t).style("opacity",0).remove(),u.selectAll("."+h.chartArc).select("text").style("opacity",0).attr("class",function(e){return o.isGaugeType(e.data)?h.gaugeValue:""}).text(o.textForArcLabel.bind(o)).attr("transform",o.transformForArcLabel.bind(o)).style("font-size",function(e){return o.isGaugeType(e.data)?Math.round(o.radius/5)+"px":""}).transition().duration(e).style("opacity",function(e){return o.isTargetToShow(e.data.id)&&o.isArcType(e.data)?1:0}),u.select("."+h.chartArcsTitle).style("opacity",o.hasType("donut")||o.hasType("gauge")?1:0),o.hasType("gauge")&&(o.arcs.select("."+h.chartArcsBackground).attr("d",function(){var e={data:[{value:a.gauge_max}],startAngle:a.gauge_startingAngle,endAngle:-1*a.gauge_startingAngle};return o.getArc(e,!0,!0)}),o.arcs.select("."+h.chartArcsGaugeUnit).attr("dy",".75em").text(a.gauge_label_show?a.gauge_units:""),o.arcs.select("."+h.chartArcsGaugeMin).attr("dx",-1*(o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2))+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_min:""),o.arcs.select("."+h.chartArcsGaugeMax).attr("dx",o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2)+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_max:""))},p.initGauge=function(){var e=this.arcs;this.hasType("gauge")&&(e.append("path").attr("class",h.chartArcsBackground),e.append("text").attr("class",h.chartArcsGaugeUnit).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMin).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMax).style("text-anchor","middle").style("pointer-events","none"))},p.getGaugeLabelHeight=function(){return this.config.gauge_label_show?20:0},p.initRegion=function(){var e=this;e.region=e.main.append("g").attr("clip-path",e.clipPath).attr("class",h.regions)},p.updateRegion=function(e){var t=this,n=t.config;t.region.style("visibility",t.hasArcType()?"hidden":"visible"),t.mainRegion=t.main.select("."+h.regions).selectAll("."+h.region).data(n.regions),t.mainRegion.enter().append("g").append("rect").style("fill-opacity",0),t.mainRegion.attr("class",t.classRegion.bind(t)),t.mainRegion.exit().transition().duration(e).style("opacity",0).remove()},p.redrawRegion=function(e){var t=this,n=t.mainRegion.selectAll("rect").each(function(){var e=t.d3.select(this.parentNode).datum();t.d3.select(this).datum(e)}),r=t.regionX.bind(t),o=t.regionY.bind(t),i=t.regionWidth.bind(t),a=t.regionHeight.bind(t);return[(e?n.transition():n).attr("x",r).attr("y",o).attr("width",i).attr("height",a).style("fill-opacity",function(e){return g(e.opacity)?e.opacity:.1})]},p.regionX=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated&&"start"in e?r(e.start):0:n.axis_rotated?0:"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionY=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated?0:"end"in e?r(e.end):0:n.axis_rotated&&"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionWidth=function(e){var t,n=this,r=n.config,o=n.regionX(e),i="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated&&"end"in e?i(e.end):n.width:r.axis_rotated?n.width:"end"in e?n.x(n.isTimeSeries()?n.parseDate(e.end):e.end):n.width,t=0?h.focused:"")},p.classDefocused=function(e){return" "+(this.defocusedTargetIds.indexOf(e.id)>=0?h.defocused:"")},p.classChartText=function(e){return h.chartText+this.classTarget(e.id)},p.classChartLine=function(e){return h.chartLine+this.classTarget(e.id)},p.classChartBar=function(e){return h.chartBar+this.classTarget(e.id)},p.classChartArc=function(e){return h.chartArc+this.classTarget(e.data.id)},p.getTargetSelectorSuffix=function(e){return e||0===e?("-"+e).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g,"-"):""},p.selectorTarget=function(e,t){return(t||"")+"."+h.target+this.getTargetSelectorSuffix(e)},p.selectorTargets=function(e,t){var n=this;return e=e||[],e.length?e.map(function(e){return n.selectorTarget(e,t)}):null},p.selectorLegend=function(e){return"."+h.legendItem+this.getTargetSelectorSuffix(e)},p.selectorLegends=function(e){var t=this;return e&&e.length?e.map(function(e){return t.selectorLegend(e)}):null};var g=p.isValue=function(e){return e||0===e},y=p.isFunction=function(e){return"function"==typeof e},m=p.isString=function(e){return"string"==typeof e},v=p.isUndefined=function(e){return void 0===e},b=p.isDefined=function(e){return void 0!==e},_=p.ceil10=function(e){return 10*Math.ceil(e/10)},x=p.asHalfPixel=function(e){return Math.ceil(e)+.5},w=p.diffDomain=function(e){return e[1]-e[0]},E=p.isEmpty=function(e){return void 0===e||null===e||m(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length},C=p.notEmpty=function(e){return!p.isEmpty(e)},S=p.getOption=function(e,t,n){return b(e[t])?e[t]:n},O=p.hasValue=function(e,t){var n=!1;return Object.keys(e).forEach(function(r){e[r]===t&&(n=!0)}),n},T=p.sanitise=function(e){return"string"==typeof e?e.replace(//g,">"):e},P=p.getPathBox=function(e){var t=e.getBoundingClientRect(),n=[e.pathSegList.getItem(0),e.pathSegList.getItem(1)];return{x:n[0].x,y:Math.min(n[0].y,n[1].y),width:t.width,height:t.height}};f.focus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),this.revert(),this.defocus(),t.classed(h.focused,!0).classed(h.defocused,!1),n.hasArcType()&&n.expandArc(e),n.toggleFocusLegend(e,!0),n.focusedTargetIds=e,n.defocusedTargetIds=n.defocusedTargetIds.filter(function(t){return e.indexOf(t)<0})},f.defocus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),t.classed(h.focused,!1).classed(h.defocused,!0),n.hasArcType()&&n.unexpandArc(e),n.toggleFocusLegend(e,!1),n.focusedTargetIds=n.focusedTargetIds.filter(function(t){return e.indexOf(t)<0}),n.defocusedTargetIds=e},f.revert=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e)),t.classed(h.focused,!1).classed(h.defocused,!1),n.hasArcType()&&n.unexpandArc(e),n.config.legend_show&&(n.showLegend(e.filter(n.isLegendToShow.bind(n))),n.legend.selectAll(n.selectorLegends(e)).filter(function(){return n.d3.select(this).classed(h.legendItemFocused)}).classed(h.legendItemFocused,!1)),n.focusedTargetIds=[],n.defocusedTargetIds=[]},f.show=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.removeHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",1,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",1)}),t.withLegend&&r.showLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.hide=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.addHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",0,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",0)}),t.withLegend&&r.hideLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.toggle=function(e,t){var n=this,r=this.internal;r.mapToTargetIds(e).forEach(function(e){r.isTargetToShow(e)?n.hide(e,t):n.show(e,t)})},f.zoom=function(e){var t=this.internal;return e&&(t.isTimeSeries()&&(e=e.map(function(e){return t.parseDate(e)})),t.brush.extent(e),t.redraw({withUpdateXDomain:!0,withY:t.config.zoom_rescale}),t.config.zoom_onzoom.call(this,t.x.orgDomain())),t.brush.extent()},f.zoom.enable=function(e){var t=this.internal;t.config.zoom_enabled=e,t.updateAndRedraw()},f.unzoom=function(){var e=this.internal;e.brush.clear().update(),e.redraw({withUpdateXDomain:!0})},f.zoom.max=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_max;n.zoom_x_max=r.max([t.orgXDomain[1],e])},f.zoom.min=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_min;n.zoom_x_min=r.min([t.orgXDomain[0],e])},f.zoom.range=function(e){if(!arguments.length)return{max:this.domain.max(),min:this.domain.min()};b(e.max)&&this.domain.max(e.max),b(e.min)&&this.domain.min(e.min)},f.load=function(e){var t=this.internal,n=t.config;if(e.xs&&t.addXs(e.xs),"names"in e&&f.data.names.bind(this)(e.names),"classes"in e&&Object.keys(e.classes).forEach(function(t){n.data_classes[t]=e.classes[t]}),"categories"in e&&t.isCategorized()&&(n.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach(function(t){n.data_axes[t]=e.axes[t]}),"colors"in e&&Object.keys(e.colors).forEach(function(t){n.data_colors[t]=e.colors[t]}),"cacheIds"in e&&t.hasCaches(e.cacheIds))return void t.load(t.getCaches(e.cacheIds),e.done);"unload"in e?t.unload(t.mapToTargetIds("boolean"==typeof e.unload&&e.unload?null:e.unload),function(){t.loadFromArgs(e)}):t.loadFromArgs(e)},f.unload=function(e){var t=this.internal;e=e||{},e instanceof Array?e={ids:e}:"string"==typeof e&&(e={ids:[e]}),t.unload(t.mapToTargetIds(e.ids),function(){t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.done&&e.done()})},f.flow=function(e){var t,n,r,o,i,a,u,s=this.internal,c=[],l=s.getMaxDataCount(),f=0,p=0;if(e.json)n=s.convertJsonToData(e.json,e.keys);else if(e.rows)n=s.convertRowsToData(e.rows);else{if(!e.columns)return;n=s.convertColumnsToData(e.columns)}t=s.convertDataToTargets(n,!0),s.data.targets.forEach(function(e){var n,r,o=!1;for(n=0;n1?o.values[o.values.length-1].x-i.x:i.x-s.getXDomain(s.data.targets)[0]:1,r=[i.x-a,i.x],s.updateXDomain(null,!0,!0,!1,r)),s.updateTargets(s.data.targets),s.redraw({flow:{index:i.index,length:f,duration:g(e.duration)?e.duration:s.config.transition_duration,done:e.done,orgDataCount:l},withLegend:!0,withTransition:l>1,withTrimXDomain:!1,withUpdateXAxis:!0})},p.generateFlow=function(e){var t=this,n=t.config,r=t.d3;return function(){var o,i,a,u=e.targets,s=e.flow,c=e.drawBar,l=e.drawLine,f=e.drawArea,p=e.cx,d=e.cy,g=e.xv,y=e.xForText,m=e.yForText,v=e.duration,b=1,_=s.index,x=s.length,E=t.getValueOnIndex(t.data.targets[0].values,_),C=t.getValueOnIndex(t.data.targets[0].values,_+x),S=t.x.domain(),O=s.duration||v,T=s.done||function(){},P=t.generateWait(),A=t.xgrid||r.selectAll([]),k=t.xgridLines||r.selectAll([]),R=t.mainRegion||r.selectAll([]),M=t.mainText||r.selectAll([]),j=t.mainBar||r.selectAll([]),N=t.mainLine||r.selectAll([]),D=t.mainArea||r.selectAll([]),L=t.mainCircle||r.selectAll([]);t.flowing=!0,t.data.targets.forEach(function(e){e.values.splice(0,x)}),a=t.updateXDomain(u,!0,!0),t.updateXGrid&&t.updateXGrid(!0),s.orgDataCount?o=1===s.orgDataCount||(E&&E.x)===(C&&C.x)?t.x(S[0])-t.x(a[0]):t.isTimeSeries()?t.x(S[0])-t.x(a[0]):t.x(E.x)-t.x(C.x):1!==t.data.targets[0].values.length?o=t.x(S[0])-t.x(a[0]):t.isTimeSeries()?(E=t.getValueOnIndex(t.data.targets[0].values,0),C=t.getValueOnIndex(t.data.targets[0].values,t.data.targets[0].values.length-1),o=t.x(E.x)-t.x(C.x)):o=w(a)/2,b=w(S)/w(a),i="translate("+o+",0) scale("+b+",1)",t.hideXGridFocus(),r.transition().ease("linear").duration(O).each(function(){P.add(t.axes.x.transition().call(t.xAxis)),P.add(j.transition().attr("transform",i)),P.add(N.transition().attr("transform",i)),P.add(D.transition().attr("transform",i)),P.add(L.transition().attr("transform",i)),P.add(M.transition().attr("transform",i)),P.add(R.filter(t.isRegionOnX).transition().attr("transform",i)),P.add(A.transition().attr("transform",i)),P.add(k.transition().attr("transform",i))}).call(P,function(){var e,r=[],o=[],i=[];if(x){for(e=0;e=0,p=!t||t.indexOf(u)>=0,d=s.classed(h.SELECTED);s.classed(h.line)||s.classed(h.area)||(f&&p?i.data_selection_isselectable(a)&&!d&&l(!0,s.classed(h.SELECTED,!0),a,u):b(n)&&n&&d&&l(!1,s.classed(h.SELECTED,!1),a,u))})},f.unselect=function(e,t){var n=this.internal,r=n.d3,o=n.config;o.data_selection_enabled&&n.main.selectAll("."+h.shapes).selectAll("."+h.shape).each(function(i,a){var u=r.select(this),s=i.data?i.data.id:i.id,c=n.getToggle(this,i).bind(n),l=o.data_selection_grouped||!e||e.indexOf(s)>=0,f=!t||t.indexOf(a)>=0,p=u.classed(h.SELECTED);u.classed(h.line)||u.classed(h.area)||l&&f&&o.data_selection_isselectable(i)&&p&&c(!1,u.classed(h.SELECTED,!1),i,a)})},f.transform=function(e,t){var n=this.internal,r=["pie","donut"].indexOf(e)>=0?{withTransform:!0}:null;n.transformTo(t,e,r)},p.transformTo=function(e,t,n){var r=this,o=!r.hasArcType(),i=n||{withTransitionForAxis:o};i.withTransitionForTransform=!1,r.transiting=!1,r.setTargetType(e,t),r.updateTargets(r.data.targets),r.updateAndRedraw(i)},f.groups=function(e){var t=this.internal,n=t.config;return v(e)?n.data_groups:(n.data_groups=e,t.redraw(),n.data_groups)},f.xgrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_x_lines=e,t.redrawWithoutRescale(),n.grid_x_lines):n.grid_x_lines},f.xgrids.add=function(e){var t=this.internal;return this.xgrids(t.config.grid_x_lines.concat(e||[]))},f.xgrids.remove=function(e){this.internal.removeGridLines(e,!0)},f.ygrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_y_lines=e,t.redrawWithoutRescale(),n.grid_y_lines):n.grid_y_lines},f.ygrids.add=function(e){var t=this.internal;return this.ygrids(t.config.grid_y_lines.concat(e||[]))},f.ygrids.remove=function(e){this.internal.removeGridLines(e,!1)},f.regions=function(e){var t=this.internal,n=t.config;return e?(n.regions=e,t.redrawWithoutRescale(),n.regions):n.regions},f.regions.add=function(e){var t=this.internal,n=t.config;return e?(n.regions=n.regions.concat(e),t.redrawWithoutRescale(),n.regions):n.regions},f.regions.remove=function(e){var t,n,r,o=this.internal,i=o.config;return e=e||{},t=o.getOption(e,"duration",i.transition_duration),n=o.getOption(e,"classes",[h.region]),r=o.main.select("."+h.regions).selectAll(n.map(function(e){return"."+e})),(t?r.transition().duration(t):r).style("opacity",0).remove(),i.regions=i.regions.filter(function(e){var t=!1;return!e.class||(e.class.split(" ").forEach(function(e){n.indexOf(e)>=0&&(t=!0)}),!t)}),i.regions},f.data=function(e){var t=this.internal.data.targets;return void 0===e?t:t.filter(function(t){return[].concat(e).indexOf(t.id)>=0})},f.data.shown=function(e){return this.internal.filterTargetsToShow(this.data(e))},f.data.values=function(e){var t,n=null;return e&&(t=this.data(e),n=t[0]?t[0].values.map(function(e){return e.value}):null),n},f.data.names=function(e){return this.internal.clearLegendItemTextBoxCache(),this.internal.updateDataAttributes("names",e)},f.data.colors=function(e){return this.internal.updateDataAttributes("colors",e)},f.data.axes=function(e){return this.internal.updateDataAttributes("axes",e)},f.category=function(e,t){var n=this.internal,r=n.config;return arguments.length>1&&(r.axis_x_categories[e]=t,n.redraw()),r.axis_x_categories[e]},f.categories=function(e){var t=this.internal,n=t.config;return arguments.length?(n.axis_x_categories=e,t.redraw(),n.axis_x_categories):n.axis_x_categories},f.color=function(e){return this.internal.color(e)},f.x=function(e){var t=this.internal;return arguments.length&&(t.updateTargetX(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.xs=function(e){var t=this.internal;return arguments.length&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.axis=function(){},f.axis.labels=function(e){var t=this.internal;arguments.length&&(Object.keys(e).forEach(function(n){t.axis.setLabelText(n,e[n])}),t.axis.updateLabels())},f.axis.max=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_max,y:n.axis_y_max,y2:n.axis_y2_max};"object"==typeof e?(g(e.x)&&(n.axis_x_max=e.x),g(e.y)&&(n.axis_y_max=e.y),g(e.y2)&&(n.axis_y2_max=e.y2)):n.axis_y_max=n.axis_y2_max=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.min=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_min,y:n.axis_y_min,y2:n.axis_y2_min};"object"==typeof e?(g(e.x)&&(n.axis_x_min=e.x),g(e.y)&&(n.axis_y_min=e.y),g(e.y2)&&(n.axis_y2_min=e.y2)):n.axis_y_min=n.axis_y2_min=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.range=function(e){if(!arguments.length)return{max:this.axis.max(),min:this.axis.min()};b(e.max)&&this.axis.max(e.max),b(e.min)&&this.axis.min(e.min)},f.legend=function(){},f.legend.show=function(e){var t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.legend.hide=function(e){var t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.resize=function(e){var t=this.internal,n=t.config;n.size_width=e?e.width:null,n.size_height=e?e.height:null,this.flush()},f.flush=function(){this.internal.updateAndRedraw({withLegend:!0,withTransition:!1,withTransitionForTransform:!1})},f.destroy=function(){var e=this.internal;if(i.clearInterval(e.intervalForObserveInserted),void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),i.detachEvent)i.detachEvent("onresize",e.resizeFunction);else if(i.removeEventListener)i.removeEventListener("resize",e.resizeFunction);else{var t=i.onresize;t&&t.add&&t.remove&&t.remove(e.resizeFunction)}return e.selectChart.classed("c3",!1).html(""),Object.keys(e).forEach(function(t){e[t]=null}),null},f.tooltip=function(){},f.tooltip.show=function(e){var t,n,r=this.internal;e.mouse&&(n=e.mouse),e.data?r.isMultipleX()?(n=[r.x(e.data.x),r.getYScale(e.data.id)(e.data.value)],t=null):t=g(e.data.index)?e.data.index:r.getIndexByX(e.data.x):void 0!==e.x?t=r.getIndexByX(e.x):void 0!==e.index&&(t=e.index),r.dispatchEvent("mouseover",t,n),r.dispatchEvent("mousemove",t,n),r.config.tooltip_onshow.call(r,e.data)},f.tooltip.hide=function(){this.internal.dispatchEvent("mouseout",0),this.internal.config.tooltip_onhide.call(this)};var A;p.isSafari=function(){var e=i.navigator.userAgent;return e.indexOf("Safari")>=0&&e.indexOf("Chrome")<0},p.isChrome=function(){return i.navigator.userAgent.indexOf("Chrome")>=0},Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),function(){"SVGPathSeg"in i||(i.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},SVGPathSeg.PATHSEG_UNKNOWN=0,SVGPathSeg.PATHSEG_CLOSEPATH=1,SVGPathSeg.PATHSEG_MOVETO_ABS=2,SVGPathSeg.PATHSEG_MOVETO_REL=3,SVGPathSeg.PATHSEG_LINETO_ABS=4,SVGPathSeg.PATHSEG_LINETO_REL=5,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,SVGPathSeg.PATHSEG_ARC_ABS=10,SVGPathSeg.PATHSEG_ARC_REL=11,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},i.SVGPathSegClosePath=function(e){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},SVGPathSegClosePath.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},SVGPathSegClosePath.prototype.clone=function(){return new SVGPathSegClosePath(void 0)},i.SVGPathSegMovetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},SVGPathSegMovetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoAbs.prototype.clone=function(){return new SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegMovetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},SVGPathSegMovetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoRel.prototype.clone=function(){return new SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},SVGPathSegLinetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoAbs.prototype.clone=function(){return new SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},SVGPathSegLinetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoRel.prototype.clone=function(){return new SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcAbs=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcAbs.prototype.clone=function(){return new SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcRel=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcRel.prototype.clone=function(){return new SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},SVGPathSegLinetoHorizontalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},SVGPathSegLinetoHorizontalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},SVGPathSegLinetoVerticalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},SVGPathSegLinetoVerticalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new SVGPathSegClosePath(void 0)},SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new SVGPathSegMovetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new SVGPathSegMovetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new SVGPathSegLinetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new SVGPathSegLinetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicAbs(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicRel(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,r,o,i,a){return new SVGPathSegArcAbs(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,r,o,i,a){return new SVGPathSegArcRel(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new SVGPathSegLinetoHorizontalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new SVGPathSegLinetoHorizontalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new SVGPathSegLinetoVerticalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new SVGPathSegLinetoVerticalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)}),"SVGPathSegList"in i||(i.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},Object.defineProperty(SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(this._pathElement){var t=!1;e.forEach(function(e){"d"==e.attributeName&&(t=!0)}),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(e){e._owningPathSegList=null}),this._list=[],this._writeListToPath()},SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);var t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList._pathSegArrayAsString=function(e){var t="",n=!0;return e.forEach(function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()}),t},SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];var t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};var r=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};r.prototype._isCurrentSpace=function(){var e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||"\t"==e||"\r"==e||"\f"==e)},r.prototype._skipOptionalSpaces=function(){for(;this._currentIndex="0"&&e<="9")&&t!=SVGPathSeg.PATHSEG_CLOSEPATH?t==SVGPathSeg.PATHSEG_MOVETO_ABS?SVGPathSeg.PATHSEG_LINETO_ABS:t==SVGPathSeg.PATHSEG_MOVETO_REL?SVGPathSeg.PATHSEG_LINETO_REL:t:SVGPathSeg.PATHSEG_UNKNOWN},r.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var e=this.peekSegmentType();return e==SVGPathSeg.PATHSEG_MOVETO_ABS||e==SVGPathSeg.PATHSEG_MOVETO_REL},r.prototype._parseNumber=function(){var e=0,t=0,n=1,r=0,o=1,i=1,a=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex"9")&&"."!=this._string.charAt(this._currentIndex))){for(var u=this._currentIndex;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=u)for(var s=this._currentIndex-1,c=1;s>=u;)t+=c*(this._string.charAt(s--)-"0"),c*=10;if(this._currentIndex=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)r+=(this._string.charAt(this._currentIndex++)-"0")*(n*=.1)}if(this._currentIndex!=a&&this._currentIndex+1=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var l=t+r;if(l*=o,e&&(l*=Math.pow(10,i*e)),a!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),l}},r.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e}},r.prototype.parseSegment=function(){var e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==SVGPathSeg.PATHSEG_UNKNOWN)return null;if((n=this._nextCommandHelper(e,this._previousCommand))==SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case SVGPathSeg.PATHSEG_MOVETO_REL:return new SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_MOVETO_ABS:return new SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_REL:return new SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_ABS:return new SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new SVGPathSegLinetoVerticalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new SVGPathSegClosePath(t);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicRel(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicAbs(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothRel(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothAbs(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticRel(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticAbs(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_ARC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcRel(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);case SVGPathSeg.PATHSEG_ARC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcAbs(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);default:throw"Unknown path seg type."}};var o=new n,i=new r(e);if(!i.initialCommandIsMoveTo())return[];for(;i.hasMoreData();){var a=i.parseSegment();if(!a)return[];o.appendSegment(a)}return o.pathSegList})}(),r=[n(226)],void 0!==(o=function(){return d}.apply(t,r))&&(e.exports=o)}(window)},function(e,t,n){"use strict";e.exports=n(571)},function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!m.test(t)||!!v.test(t)}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function i(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||u.isString(e)||(t=e||{},e="default"),this.inline=new p,this.block=new f,this.core=new l,this.renderer=new c,this.linkify=new d,this.validateLink=r,this.normalizeLink=o,this.normalizeLinkText=i,this.utils=u,this.helpers=u.assign({},s),this.options={},this.configure(e),t&&this.set(t)}var u=n(6),s=n(579),c=n(583),l=n(584),f=n(592),p=n(606),d=n(619),h=n(228),g=n(621),y={default:n(622),zero:n(623),commonmark:n(624)},m=/^(vbscript|javascript|file|data):/,v=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];a.prototype.set=function(e){return u.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(u.isString(e)&&(t=e,!(e=y[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=a},function(e,t){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&s<=57343){l+=encodeURIComponent(e[i]+e[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[i]);return l}var i={};o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&o)&&t+91114111?c+="����":(s-=65536,c+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):c+="�";return c})}var i={};o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function o(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(s),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,a,s,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var l=u.exec(c);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var m=i.exec(c);if(m&&(m=m[0],o=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===c.substr(0,2))||m&&g[m]||(c=c.substr(2),this.slashes=!0)),!g[m]&&(s||m&&!y[m])){var v=-1;for(n=0;n127?S+="x":S+=C[O];if(!S.match(d)){var P=E.slice(0,n),A=E.slice(n+1),k=C.match(h);k&&(P.push(k[1]),A.unshift(k[2])),A.length&&(c=A.join(".")+c),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=c.indexOf("#");-1!==R&&(this.hash=c.substr(R),c=c.slice(0,R));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),y[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=o},function(e,t,n){"use strict";t.Any=n(229),t.Cc=n(230),t.Cf=n(578),t.P=n(133),t.Z=n(231)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(580),t.parseLinkDestination=n(581),t.parseLinkTitle=n(582)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u=-1,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos1)break;if(41===i&&--a<0)break;t++}return u===t?s:(s.str=o(e.slice(u,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(6).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,u=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t"+a(e[t].content)+""},u.code_block=function(e,t,n,r,o){var i=e[t];return""+a(e[t].content)+"\n"},u.fence=function(e,t,n,r,o){var u,s,c,l,f=e[t],p=f.info?i(f.info).trim():"",d="";return p&&(d=p.split(/\s+/g)[0]),u=n.highlight?n.highlight(f.content,d)||a(f.content):a(f.content),0===u.indexOf(""+u+"\n"):"
"+u+"
\n"},u.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},u.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},u.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},u.text=function(e,t){return a(e[t].content)},u.html_block=function(e,t){return e[t].content},u.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,u=e.length;a\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}var i=n(6).arrayReplaceAt;e.exports=function(e){var t,n,a,u,s,c,l,f,p,d,h,g,y,m,v,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=u[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&y>0&&y--,o(c.content)&&y++),!(y>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,_=e.md.linkify.match(p),l=[],g=c.level,h=0,f=0;f<_.length;f++)m=_[f].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),d=_[f].index,d>h&&(s=new e.Token("text","",0),s.content=p.slice(h,d),s.level=g,l.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",v]],s.level=g++,s.markup="linkify",s.info="auto",l.push(s),s=new e.Token("text","",0),s.content=b,s.level=g,l.push(s),s=new e.Token("link_close","a",-1),s.level=--g,s.markup="linkify",s.info="auto",l.push(s),h=_[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||o||(n.content=n.content.replace(s,r)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function i(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,u=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(u.test(e.tokens[t].content)&&o(e.tokens[t].children),a.test(e.tokens[t].content)&&i(e.tokens[t].children))}},function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function o(e,t){var n,o,s,f,p,d,h,g,y,m,v,b,_,x,w,E,C,S,O,T,P;for(O=[],n=0;n=0&&!(O[C].level<=h);C--);if(O.length=C+1,"text"===o.type){s=o.content,p=0,d=s.length;e:for(;p=0)y=s.charCodeAt(f.index-1);else for(C=n-1;C>=0;C--)if("text"===e[C].type){y=e[C].content.charCodeAt(e[C].content.length-1);break}if(m=32,p=48&&y<=57&&(E=w=!1),w&&E&&(w=!1,E=b),w||E){if(E)for(C=O.length-1;C>=0&&(g=O[C],!(O[C].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&o(e.tokens[t].children,e)}},function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var o=n(135);r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){this.ruler=new o;for(var e=0;e=n))&&!(e.sCount[a]=s){e.line=n;break}for(r=0;rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(u=e.src.charCodeAt(c++))&&45!==u&&58!==u)return!1;for(;c=4)return!1;if(p=o(s.replace(/^\||\|$/g,"")),(d=p.length)>g.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=m=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],l=0;l=4);f++){for(p=o(s.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),l=0;l=4))break;r++,o=r}return e.line=o,i=e.push("code_block","code",0),i.content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o,i,a,u,s,c,l,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(o=e.src.charCodeAt(p))&&96!==o)return!1;if(s=p,p=e.skipChars(p,o),(i=p-s)<3)return!1;if(l=e.src.slice(s,p),a=e.src.slice(p,d),a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(u=t;!(++u>=n)&&(p=s=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],!(p=4||(p=e.skipChars(p,o))-s=4)return!1;if(62!==e.src.charCodeAt(O++))return!1;if(o)return!0;for(s=h=e.sCount[t]+O-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(O)?(O++,s++,h++,i=!1,x=!0):9===e.src.charCodeAt(O)?(x=!0,(e.bsCount[t]+h)%4==3?(O++,s++,h++,i=!1):i=!0):x=!1,g=[e.bMarks[t]],e.bMarks[t]=O;O=T,b=[e.sCount[t]],e.sCount[t]=h-s,_=[e.tShift[t]],e.tShift[t]=O-e.bMarks[t],E=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",d=t+1;d=T));d++)if(62!==e.src.charCodeAt(O++)||c){if(f)break;for(w=!1,u=0,l=E.length;u=T,y.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(x?1:0),b.push(e.sCount[d]),e.sCount[d]=h-s,_.push(e.tShift[d]),e.tShift[d]=O-e.bMarks[d]}for(m=e.blkIndent,e.blkIndent=0,C=e.push("blockquote_open","blockquote",1),C.markup=">",C.map=p=[t,0],e.md.block.tokenize(e,t,d),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=S,e.parentType=v,p[1]=e.line,u=0;u<_.length;u++)e.bMarks[u+t]=g[u],e.tShift[u+t]=_[u],e.sCount[u+t]=b[u],e.bsCount[u+t]=y[u];return e.blkIndent=m,!0}},function(e,t,n){"use strict";var r=n(6).isSpace;e.exports=function(e,t,n,o){var i,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(c++))&&45!==i&&95!==i)return!1;for(a=1;c=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;n=e.src.charCodeAt(o++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}}return o=4)return!1;if(u&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(L=!0),(k=o(e,t))>=0){if(h=!0,M=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(M,k-M-1)),L&&1!==_)return!1}else{if(!((k=r(e,t))>=0))return!1;h=!1}if(L&&e.skipSpaces(k)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(k-1),u)return!0;for(v=e.tokens.length,h?(D=e.push("ordered_list_open","ol",1),1!==_&&(D.attrs=[["start",_]])):D=e.push("bullet_list_open","ul",1),D.map=m=[t,0],D.markup=String.fromCharCode(b),w=t,R=!1,N=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";w=x?1:E-d,p>4&&(p=1),f=d+p,D=e.push("list_item_open","li",1),D.markup=String.fromCharCode(b),D.map=g=[t,0],C=e.blkIndent,P=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=E,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!R||(I=!1),R=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=C,e.tShift[t]=T,e.sCount[t]=S,e.tight=P,D=e.push("list_item_close","li",-1),D.markup=String.fromCharCode(b),w=t=e.line,g[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E3||e.sCount[S]<0)){for(b=!1,f=0,p=_.length;f=4)return!1;if(35!==(i=e.src.charCodeAt(c))||c>=l)return!1;for(a=1,i=e.src.charCodeAt(++c);35===i&&c6||cc&&r(e.src.charCodeAt(u-1))&&(l=u),e.line=t+1,s=e.push("heading_open","h"+String(a),1),s.markup="########".slice(0,a),s.map=[t,e.line],s=e.push("inline","",0),s.content=e.src.slice(c,l).trim(),s.map=[t,e.line],s.children=[],s=e.push("heading_close","h"+String(a),-1),s.markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u,s,c,l,f,p,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d],c=e.eMarks[d],s=c))){l=61===f?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,i=0,a=h.length;i|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(s=e.src.slice(c,l),o=0;o3||e.sCount[s]<0)){for(r=!1,o=0,i=c.length;o0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var o,a,u,s,c,l,f,p=e;if(e>=t)return"";for(l=new Array(t-e),o=0;pn?new Array(a-n+1).join(" ")+this.src.slice(s,c):this.src.slice(s,c)}return l.join("")},r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){var e;for(this.ruler=new o,e=0;e=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var o,i,a,u=new this.State(e,t,n,r);for(this.tokenize(u),i=this.ruler2.getRules(""),a=i.length,o=0;o=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i=y)return!1;for(m=c,l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),l.ok&&(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?c=l.pos:h=""),m=c;c=y||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(m,c++):c=u+1):c=u+1,a||(a=e.src.slice(s,u)),!(f=e.env.references[r(a)]))return e.pos=g,!1;h=f.href,p=f.title}return t||(e.pos=s,e.posMax=u,d=e.push("link_open","a",1),d.attrs=n=[["href",h]],p&&n.push(["title",p]),e.md.inline.tokenize(e),d=e.push("link_close","a",-1)),e.pos=c,e.posMax=y,!0}},function(e,t,n){"use strict";var r=n(6).normalizeReference,o=n(6).isSpace;e.exports=function(e,t){var n,i,a,u,s,c,l,f,p,d,h,g,y,m="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=s+1)=b)return!1;for(y=l,p=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),p.ok&&(m=e.md.normalizeLink(p.str),e.md.validateLink(m)?l=p.pos:m=""),y=l;l=b||41!==e.src.charCodeAt(l))return e.pos=v,!1;l++}else{if(void 0===e.env.references)return!1;if(l=0?u=e.src.slice(y,l++):l=s+1):l=s+1,u||(u=e.src.slice(c,s)),!(f=e.env.references[r(u)]))return e.pos=v,!1;m=f.href,d=f.title}return t||(a=e.src.slice(c,s),e.md.inline.parse(a,e.md,e.env,g=[]),h=e.push("image","img",0),h.attrs=n=[["src",m],["alt",""]],h.children=g,h.content=a,d&&n.push(["title",d])),e.pos=l,e.posMax=b,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,i,a,u,s,c,l=e.pos;return 60===e.src.charCodeAt(l)&&(n=e.src.slice(l),!(n.indexOf(">")<0)&&(o.test(n)?(i=n.match(o),u=i[0].slice(1,-1),s=e.md.normalizeLink(u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=i[0].length,!0)):!!r.test(n)&&(a=n.match(r),u=a[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";function r(e){var t=32|e;return t>=97&&t<=122}var o=n(232).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,u,s=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=a)&&(!(33!==(n=e.src.charCodeAt(s+1))&&63!==n&&47!==n&&!r(n))&&(!!(i=e.src.slice(s).match(o))&&(t||(u=e.push("html_inline","",0),u.content=e.src.slice(s,s+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(227),o=n(6).has,i=n(6).isValidEntityCode,a=n(6).fromCodePoint,u=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,l=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1=0;){if(o=i[n],o.open&&o.marker===r.marker&&o.end<0&&o.level===r.level){var u=(o.close||r.open)&&void 0!==o.length&&void 0!==r.length&&(o.length+r.length)%3==0;if(!u){r.jump=t-n,r.open=!1,o.end=t,o.jump=0;break}}n-=o.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,o,s,c,l,f,p,d,h=e,g=!0,y=!0,m=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h0&&e.__compiled__[t]}).map(c).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),f(e)}function g(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function y(e,t){var n=new g(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);t||l(e)&&(t=e,e={}),this.__opts__=r({},v,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},b,e),this.__compiled__={},this.__tlds__=x,this.__tlds_replaced__=!1,this.re={},h(this)}var v={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},b={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},_="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",x="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");m.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,u,s;if(this.re.schema_test.test(e))for(u=this.re.schema_search,u.lastIndex=0;null!==(t=u.exec(e));)if(o=this.testSchemaAt(e,t[2],u.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(y(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(y(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(229).source,t.src_Cc=n(230).source,t.src_Z=n(231).source,t.src_P=n(133).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(M[e])}function u(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function s(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(R,"."),r+u(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=D(e>>>10&1023|55296),e=56320|1023&e),t+=D(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:x}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?N(e/S):e>>1,e+=N(e/t);e>j*E>>1;r+=x)e=N(e/j);return N(r+(j+1)*e/(e+C))}function h(e){var t,n,r,o,i,u,s,c,p,h,g=[],y=e.length,m=0,v=T,b=O;for(n=e.lastIndexOf(P),n<0&&(n=0),r=0;r=128&&a("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=y&&a("invalid-input"),c=f(e.charCodeAt(o++)),(c>=x||c>N((_-m)/u))&&a("overflow"),m+=c*u,p=s<=b?w:s>=b+E?E:s-b,!(cN(_/h)&&a("overflow"),u*=h;t=g.length+1,b=d(m-i,t,0==i),N(m/t)>_-v&&a("overflow"),v+=N(m/t),m%=t,g.splice(m++,0,v)}return l(g)}function g(e){var t,n,r,o,i,u,s,l,f,h,g,y,m,v,b,C=[];for(e=c(e),y=e.length,t=T,n=0,i=O,u=0;u=t&&gN((_-n)/m)&&a("overflow"),n+=(s-t)*m,t=s,u=0;u_&&a("overflow"),g==t){for(l=n,f=x;h=f<=i?w:f>=i+E?E:f-i,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=x-w,N=Math.floor,D=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:c,encode:l},decode:h,encode:g,toASCII:m,toUnicode:y},void 0!==(o=function(){return b}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(40)(e),n(24))},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){"use strict";function r(e){return void 0!==e.id}Object.defineProperty(t,"__esModule",{value:!0}),t.isActiveZoneOnCloudflare=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(235),c=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(0),c=r(s),l=n(1),f=r(l),p=n(92),d=r(p),h=n(632),g=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.state={child:null},o.gatewayRegistry=r.gatewayRegistry,o}return u(t,e),t.prototype.componentWillMount=function(){this.gatewayRegistry.addContainer(this.props.name,this)},t.prototype.componentWillUnmount=function(){this.gatewayRegistry.removeContainer(this.props.name,this)},t.prototype.render=function(){var e=this.props,t=e.component,n=e.tagName,r=o(e,["component","tagName"]);return delete r.name,c.default.createElement(t||n||"div",r,this.state.children)},t}(c.default.Component);g.contextTypes={gatewayRegistry:f.default.instanceOf(d.default).isRequired},g.propTypes={name:f.default.string.isRequired,tagName:(0,h.deprecated)(f.default.string,'Use "component" instead.'),component:f.default.oneOfType([f.default.string,f.default.func])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isRequiredForA11y=t.elementType=t.deprecated=t.componentOrElement=t.all=void 0;var o=n(633),i=r(o),a=n(634),u=r(a),s=n(635),c=r(s),l=n(636),f=r(l),p=n(637),d=r(p);t.all=i.default,t.componentOrElement=u.default,t.deprecated=c.default,t.elementType=f.default,t.isRequiredForA11y=d.default},function(e,t,n){"use strict";function r(){function e(){for(var e=arguments.length,t=Array(e),r=0;r>",l=s||r;if(null!=n[r]){var f=o+"."+r;(0,a.default)(u[f],"The "+i+" `"+l+"` of `"+c+"` is deprecated. "+t+"."),u[f]=!0}for(var p=arguments.length,d=Array(p>5?p-5:0),h=5;h>",u=i||n;if(null==t[n])return new Error("The "+o+" `"+u+"` is required to make `"+a+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,c=Array(s>5?s-5:0),l=5;l=200&&t.status<300)return n.callback(e,t);var r=new Error(t.statusText||"Unsuccessful HTTP response");r.original=e,r.response=t,r.status=t.status,n.callback(r,t)})}function h(e,t){var n=_("DELETE",e);return t&&n.end(t),n}var g,y=n(645),m=n(646),v=n(647),b=n(238);g="undefined"!=typeof window?window:"undefined"!=typeof self?self:this;var _=e.exports=n(648).bind(null,d);_.getXHR=function(){if(!(!g.XMLHttpRequest||g.location&&"file:"==g.location.protocol&&g.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1};var x="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};_.serializeObject=i,_.parseString=u,_.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},_.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},_.parse={"application/x-www-form-urlencoded":u,"application/json":JSON.parse},p.prototype.get=function(e){return this.header[e.toLowerCase()]},p.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=l(t);var n=f(t);for(var r in n)this[r]=n[r]},p.prototype.parseBody=function(e){var t=_.parse[this.type];return!t&&c(this.type)&&(t=_.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null},p.prototype.setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},p.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},_.Response=p,y(d.prototype);for(var w in v)d.prototype[w]=v[w];d.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr&&this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},d.prototype.type=function(e){return this.set("Content-Type",_.types[e]||e),this},d.prototype.responseType=function(e){return this._responseType=e,this},d.prototype.accept=function(e){return this.set("Accept",_.types[e]||e),this},d.prototype.auth=function(e,t,n){switch(n||(n={type:"basic"}),n.type){case"basic":var r=btoa(e+":"+t);this.set("Authorization","Basic "+r);break;case"auto":this.username=e,this.password=t}return this},d.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},d.prototype.attach=function(e,t,n){return this._getFormData().append(e,t,n||t.name),this},d.prototype._getFormData=function(){return this._formData||(this._formData=new g.FormData),this._formData},d.prototype.send=function(e){var t=b(e),n=this._header["content-type"];if(t&&b(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||o(e)?this:(n||this.type("json"),this)},p.prototype.parse=function(e){return g.console&&console.warn("Client-side parse() method has been renamed to serialize(). This method is not compatible with superagent v2.0"),this.serialize(e),this},p.prototype.serialize=function(e){return this._parser=e,this},d.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),n(e,t)},d.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},d.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},d.prototype.withCredentials=function(){return this._withCredentials=!0,this},d.prototype.end=function(e){var t=this,n=this.xhr=_.getXHR(),i=this._query.join("&"),a=this._timeout,u=this._formData||this._data;this._callback=e||r,n.onreadystatechange=function(){if(4==n.readyState){var e;try{e=n.status}catch(t){e=0}if(0==e){if(t.timedout)return t.timeoutError();if(t.aborted)return;return t.crossDomainError()}t.emit("end")}};var s=function(e){e.total>0&&(e.percent=e.loaded/e.total*100),e.direction="download",t.emit("progress",e)};this.hasListeners("progress")&&(n.onprogress=s);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=s)}catch(e){}if(a&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},a)),i&&(i=_.serializeObject(i),this.url+=~this.url.indexOf("?")?"&"+i:"?"+i),this.username&&this.password?n.open(this.method,this.url,!0,this.username,this.password):n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof u&&!o(u)){var l=this._header["content-type"],f=this._parser||_.serialize[l?l.split(";")[0]:""];!f&&c(l)&&(f=_.serialize["application/json"]),f&&(u=f(u))}for(var p in this.header)null!=this.header[p]&&n.setRequestHeader(p,this.header[p]);return this._responseType&&(n.responseType=this._responseType),this.emit("request",this),n.send(void 0!==u?u:null),this},_.Request=d,_.get=function(e,t,n){var r=_("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},_.head=function(e,t,n){var r=_("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.del=h,_.delete=h,_.patch=function(e,t,n){var r=_("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.post=function(e,t,n){var r=_("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.put=function(e,t,n){var r=_("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(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 o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function s(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(652),t.log=a,t.formatArgs=i,t.save=u,t.load=s,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),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(s())}).call(t,n(63))},function(e,t,n){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 o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var i=new Array(arguments.length),a=0;a100)){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]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;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*a;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>=s?Math.round(e/s)+"h":e>=u?Math.round(e/u)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,c,"day")||i(e,s,"hour")||i(e,u,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";function r(){return{type:i.APPLICATION_INIT}}Object.defineProperty(t,"__esModule",{value:!0}),t.applicationInit=r;var o=n(8),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o)},function(e,t,n){"use strict";function r(e){return e.intl.locale}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocale=r},function(e,t,n){"use strict";function r(){return{type:l.ZONE_FETCH_ANALYTICS}}function o(e,t){return{type:l.ZONE_FETCH_ANALYTICS_SUCCESS,zoneId:e,zoneAnalytics:t}}function i(){return{type:l.ZONE_FETCH_ANALYTICS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneAnalyticsDashboardGet)({zoneId:e,since:-43200},function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneFetchAnalytics=r,t.zoneFetchAnalyticsSuccess=o,t.zoneFetchAnalyticsError=i,t.asyncZoneFetchAnalytics=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(){return{type:l.ZONE_ENTITLEMENTS}}function o(e,t){return{type:l.ZONE_ENTITLEMENTS_SUCCESS,zoneId:e,zoneEntitlements:t}}function i(){return{type:l.ZONE_ENTITLEMENTS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneGetEntitlements)(e,function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneEntitlements=r,t.zoneEntitlementsSuccess=o,t.zoneEntitlementsError=i,t.asyncZoneEntitlements=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return{notifications:e.notifications}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t={listeners:[],keyframePrefixes:e.keyframePrefixes||["-webkit-","-moz-"],plugins:e.plugins||[],mediaQueryOrder:e.mediaQueryOrder||[],selectorPrefix:e.selectorPrefix||"",fontFaces:"",keyframes:"",statics:"",rules:"",mediaRules:a.f(e.mediaQueryOrder||[]),uniqueRuleIdentifier:0,uniqueKeyframeIdentifier:0,cache:{},styleNodes:{},renderRule:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.F(t,e(n),a.d,n);return t._renderStyleToClassNames(r).slice(1)},renderKeyframe:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e(n),o=JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.q(++t.uniqueKeyframeIdentifier),u=a.F(t,r,a.c,n),s=a.m(u,i,t.keyframePrefixes);t.cache[o]=i,t.keyframes+=s,t._emitChange({name:i,keyframe:s,type:a.c})}return t.cache[o]},renderFont:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e+JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.I(e),u=s({},r,{src:n.map(function(e){return"url("+a.j(e)+") format('"+a.i(e)+"')"}).join(","),fontFamily:i}),c=a.l(u);t.cache[o]=i,t.fontFaces+=c,t._emitChange({fontFamily:i,fontFace:c,type:a.b})}return t.cache[o]},renderStatic:function(e,n){var r=a.w(e,n);if(!t.cache.hasOwnProperty(r)){var o=a.o(e,t);t.cache[r]="","string"==typeof e?(t.statics+=o,t._emitChange({type:a.e,css:o})):n&&(t.statics+=a.r(n,o)),t._emitChange({type:a.e,css:o})}},renderToString:function(){return u.b(t)},subscribe:function(e){return t.listeners.push(e),{unsubscribe:function(){return t.listeners.splice(t.listeners.indexOf(e),1)}}},clear:function(){t.fontFaces="",t.keyframes="",t.statics="",t.rules="",t.mediaRules=a.f(t.mediaQueryOrder),t.uniqueRuleIdentifier=0,t.uniqueKeyframeIdentifier=0,t.cache={},t._emitChange({type:a.a})},_renderStyleToClassNames:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";for(var u in e){var s=e[u];if(a.A(s)){if(a.z(u))o+=t._renderStyleToClassNames(s,n+a.D(u),r);else if(a.y(u)){var c=a.u(r,u.slice(6).trim());o+=t._renderStyleToClassNames(s,n,c)}}else{var l=r+n+u+s;if(!t.cache.hasOwnProperty(l)){if(a.B(s)){t.cache[l]="";continue}var f=t.selectorPrefix+a.t(++t.uniqueRuleIdentifier);t.cache[l]=f;var p=i.a(u,s),d=a.s(f,n),h=a.r(d,p);r.length>0?(t.mediaRules.hasOwnProperty(r)||(t.mediaRules[r]=""),t.mediaRules[r]+=h):t.rules+=h,t._emitChange({selector:d,declaration:p,media:r,type:a.d})}o+=" "+t.cache[l]}}return o},_emitChange:function(e){a.g(t.listeners,function(t){return t(e)})}};return t.keyframePrefixes.push(""),t.clear(),e.enhancers&&a.g(e.enhancers,function(e){t=e(t)}),t}t.a=r;var o=n(241),i=n.n(o),a=n(13),u=n(248),s=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"";return'"}t.a=r},function(e,t,n){"use strict";function r(e){return"@font-face{"+i.a(e)+"}"}t.a=r;var o=n(69),i=n.n(o)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=u.a(e,function(e,t,n){return""+e+n+"{"+i.a(t)+"}"},"");return a.a(n,function(e,n){return e+"@"+n+"keyframes "+t+"{"+r+"}"},"")}t.a=r;var o=n(69),i=n.n(o),a=n(57),u=n(244)},function(e,t,n){"use strict";function r(e,t){return t?"@media "+e+"{"+t+"}":""}t.a=r},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return a.a(e);var n=u.a(t,e,s.e);return i.a(n)}t.a=r;var o=n(69),i=n.n(o),a=n(245),u=n(246),s=n(247)},function(e,t,n){"use strict";function r(e,t){return o.a(e,function(e,n){return e[n]=t[n],e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e){return"k"+e}t.a=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e<=i?o[e-1]+t:r(e/i|0,o[e%i]+t)}t.a=r;var o="abcdefghijklmnopqrstuvwxyz",i=o.length},function(e,t,n){"use strict";function r(e,t){return 0===e.length?t:e+" and "+t}t.a=r},function(e,t,n){"use strict";function r(e,t){return e+"{"+t+"}"}t.a=r},function(e,t,n){"use strict";function r(e){return"."+e+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(e.className){var n=t+e.className;return delete e.className,n}for(var r=JSON.stringify(e),o=5381,i=r.length;i;)o=33*o^r.charCodeAt(--i);return t+(o>>>0).toString(36)}t.a=r},function(e,t,n){"use strict";function r(e,t){return"string"==typeof e?e:t?t+JSON.stringify(e):""}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=n+r;return e[i]||(e[i]=o.a(n,r,t)),e[i]}t.a=r;var o=n(243)},function(e,t,n){"use strict";function r(e){return"@media"===e.substr(0,6)}t.a=r},function(e,t,n){"use strict";function r(e){return o.test(e)}t.a=r;var o=/^(:|\[|>|&)/},function(e,t,n){"use strict";function r(e){return"object"===(void 0===e?"undefined":o(e))&&!Array.isArray(e)}t.a=r;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(e,t,n){"use strict";function r(e){return void 0===e||"string"==typeof e&&-1!==e.indexOf("undefined")}t.a=r},function(e,t,n){"use strict";function r(e){return e&&1===e.nodeType}t.a=r},function(e,t,n){"use strict";function r(e){return"&"===e.charAt(0)?e.slice(1):e}t.a=r},function(e,t,n){"use strict";function r(){return o.a(document.querySelectorAll("[data-fela-type]"),function(e,t){return e[(t.getAttribute("data-fela-type")||"")+(t.getAttribute("media")||"")]=t,e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e,t){if("function"==typeof e){var n=e(t);return Array.isArray(n)?n:Object.keys(n)}return e}t.a=r},function(e,t,n){"use strict";function r(e){return'"'===e.charAt(0)?e:'"'+e+'"'}t.a=r},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e,t){if(!o.C(t))throw new Error("You need to specify a valid element node (mountNode.nodeType = 1) to render into.");var n=i.a(e);return t.textContent!==n&&(t.textContent=n),e.subscribe(function(){t.textContent=i.a(e)})}t.a=r;var o=n(13),i=n(249)},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?t-1:0),a=1;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){return function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=n.name?n.name:"FelaComponent",f=function(t,f){var p=f.renderer,d=f.theme,h=t.children,g=t._felaRule,y=t.passThrough,m=void 0===y?[]:y,v=o(t,["children","_felaRule","passThrough"]);if(!p)throw new Error("createComponent() can't render styles without the renderer in the context. Missing react-fela's at the app root?");var b=g?u.a(n,g):n;if(p.prettySelectors){var _="string"==typeof i?i:i.displayName||i.name||"";b.selectorPrefix=l+"_"+_+"__"}var x=[].concat(r(a.H(c,v)),r(a.H(m,v)));if(i._isFelaComponent)return e(i,s({_felaRule:b,passThrough:x},v),h);var w=a.p(x,v);if(v.theme=d||{},p.isNativeRenderer){var E=p.renderRule(b,v);w.style=v.style?[v.style,E]:E}else{v.style&&(w.style=v.style);var C=v.className?v.className+" ":"";w.className=C+p.renderRule(b,v)}v.id&&(w.id=v.id),v.innerRef&&(w.ref=v.innerRef);var S=v.is||i;return e(S,w,h)};return t&&(f.contextTypes=t),f.displayName=l,f._isFelaComponent=!0,f}}t.a=i;var a=n(13),u=n(250),s=Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:"",a=i.x(e,t,r,o);a.textContent!==n&&(a.textContent=n)}function o(e){e.styleNodes=i.G();var t=e.styleNodes[i.d];for(var n in a)e[n].length>0&&r(e.styleNodes,t,e[n],a[n]);for(var o in e.mediaRules){var u=e.mediaRules[o];u.length>0&&r(e.styleNodes,t,u,i.d,o)}}t.a=o;var i=n(13),a={fontFaces:i.b,statics:i.e,keyframes:i.c,rules:i.d}},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.b(r.Component,r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.c(r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=(n.n(a),n(1)),s=n.n(u),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"createRenderer",function(){return w}),n.d(t,"StyleProvider",function(){return E});var o=n(0),i=n.n(o),a=n(1),u=n.n(a),s=n(94),c=n(721),l=n(253),f=n(740),p=n(742),d=n(743),h=n(744),g=n(745),y=n(747),m=n(251),v=n(254),b=n(93),_=Object.assign||function(e){for(var t=1;t0&&(e[o]=u)}else{var h=(0,s.default)(r,o,i,e,n);h&&(e[o]=h),(0,a.default)(n,o,e)}}return e}var n=e.prefixMap,r=e.plugins;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(724),a=r(i),u=n(725),s=r(u),c=n(726),l=r(c),f=n(727),p=r(f);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e.hasOwnProperty(t))for(var r=e[t],o=0,a=r.length;o-1)return a.map(function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("filter(")>-1)return a.map(function(e){return t.replace(/filter\(/g,e+"filter(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("display"===e&&o.hasOwnProperty(t))return o[t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal"),i.hasOwnProperty(e)&&(n[i[e]]=o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},i={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&u.test(t))return a.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-","-moz-",""],u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(i.hasOwnProperty(e)&&a.hasOwnProperty(t))return o.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=["-webkit-","-moz-",""],i={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},a={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if((0,c.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),r=0,o=n.length;r-1&&"order"!==l)for(var f=t[s],p=0,h=f.length;p-1)return a;var u=i.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?u:(n["Webkit"+(0,f.default)(e)]=a,n["Moz"+(0,f.default)(e)]=u,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(95),u=r(a),s=n(70),c=r(s),l=n(252),f=r(l),p={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},d={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=(0,i.default)(e);return t.join(";"+n+":")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){var r=void 0===t?"undefined":c(t);return("number"===r||"string"===r&&t==parseFloat(t))&&(t+=n),t}function o(e,t,n){for(var i in e)!function(i){if(!u.a(i)){var a=e[i],c=n[i]||t;s.A(a)?e[i]=o(a,t,n):Array.isArray(a)?e[i]=a.map(function(e){return r(i,e,c)}):e[i]=r(i,a,c)}}(i);return e}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"px",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){return o(n,e,t)}}t.a=i;var a=n(741),u=n.n(a),s=n(13),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}},function(e,t,n){"use strict";function r(e){return a.hasOwnProperty(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;for(var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},u=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridColumn","order","lineClamp"],s=["Webkit","ms","Moz","O"],c=0,l=u.length;c=0&&t<=100}function i(e,t,n){for(var r in e){var i=e[r];s.A(i)?"from"===r||"to"===r||o(r)||(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe property.\n Expected either `to`, `from` or a percentage value between 0 and 100.",{percentage:r,style:i}),n&&delete e[r]):(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe value. An object was expected.",{percentage:r,style:i}),n&&delete e[r])}}function a(e,t,n){var o=n.logInvalid,a=n.deleteInvalid;return t===s.c?i(e,o,a):t===s.d&&r(e,o,a),e}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){return a(t,n,c({},l,e))}}t.a=u;var s=n(13),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var a in e)!function(a){var u=e[a];if("fontFace"===a&&i.A(u)){var s=u.fontFamily,c=u.src,l=r(u,["fontFamily","src"]);"string"==typeof s&&Array.isArray(c)&&(e.fontFamily=n.renderFont(s,c,l),delete e.fontFace)}else"animationName"===a&&i.A(u)?e[a]=n.renderKeyframe(function(){return u}):i.A(u)&&o(u,t,n)}(a);return e}var i=n(13);t.a=function(){return o}},function(e,t,n){"use strict";function r(e,t){return e.subscribe(function(){e.fontFaces=a.a(e.fontFaces,t),e.keyframes=a.a(e.keyframes,t),e.statics=a.a(e.statics,t),e.rules=a.a(e.rules,t),e.mediaRules=u.E(e.mediaRules,function(e,n,r){return e[r]=a.a(n,t),e},{})}),e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return r(t,s({},c,e))}}t.a=o;var i=n(746),a=n.n(i),u=n(13),s=Object.assign||function(e){for(var t=1;t="a"&&l<="z"||l>="A"&&l<="Z"||l>="0"&&l<="9"||"-_*.:#[]".indexOf(e)>=0}function i(){var e;for(e=g;e>0;e-=1)x+=s.indent}function a(){x=v(x),w?x+=" {":(x+="\n",i(),x+="{"),"\n"!==f&&(x+="\n"),g+=1}function u(){var e;g-=1,x=v(x),x.length>0&&E&&";"!==(e=x.charAt(x.length-1))&&"{"!==e&&(x+=";"),x+="\n",i(),x+="}",c.push(x),x=""}var s,c,l,f,p,d,h,g,y,m,v,b=0,_=e.length,x="",w=!0,E=!1;for(s=arguments.length>1?t:{},void 0===s.indent&&(s.indent=" "),"string"==typeof s.openbrace&&(w="end-of-line"===s.openbrace),"boolean"==typeof s.autosemicolon&&(E=s.autosemicolon),v=String.prototype.trimRight?function(e){return e.trimRight()}:function(e){return e.replace(/\s+$/,"")},h={Start:0,AtRule:1,Block:2,Selector:3,Ruleset:4,Property:5,Separator:6,Expression:7,URL:8},g=0,d=h.Start,m=!1,c=[],e=e.replace(/\r\n/g,"\n");b<_;)if(l=e.charAt(b),f=e.charAt(b+1),b+=1,r(y))x+=l,l===y&&(y=null),"\\"===l&&f===y&&(x+=f,b+=1);else if(r(l))x+=l,y=l;else if(m)x+=l,"*"===l&&"/"===f&&(m=!1,x+=f,b+=1);else if("/"!==l||"*"!==f){if(d===h.Start){if(0===c.length&&n(l)&&0===x.length)continue;if(l<=" "||l.charCodeAt(0)>=128){d=h.Start,x+=l;continue}if(o(l)||"@"===l){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1)||";"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}x+=l,d="@"===l?h.AtRule:h.Selector;continue}}if(d!==h.AtRule)if(d!==h.Block)if(d!==h.Selector)if(d!==h.Ruleset)if(d!==h.Property)if(d!==h.Separator)if(d!==h.Expression)d===h.URL&&")"===l&&x.charAt(x.length-1!=="\\")?(x+=l,d=h.Expression):x+=l;else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if(";"===l){x=v(x),x+=";\n",d=h.Ruleset;continue}if(x+=l,"("===l&&"l"===x.charAt(x.length-2)&&"r"===x.charAt(x.length-3)&&"u"===x.charAt(x.length-4)){d=h.URL;continue}}else{if(!n(l)){x+=l,d=h.Expression;continue}r(f)&&(d=h.Expression)}else{if(":"===l){x=v(x),x+=": ",d=h.Expression,n(f)&&(d=h.Separator);continue}if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}x+=l}else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if("\n"===l){x=v(x),x+="\n";continue}if(!n(l)){x=v(x),x+="\n",i(),x+=l,d=h.Property;continue}x+=l}else{if("{"===l){a(),d=h.Ruleset;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(o(l)){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}i(),x+=l,d=h.Selector;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(";"===l){x+=l,d=h.Start;continue}if("{"===l){p=v(x),a(),d="@font-face"===p?h.Ruleset:h.Block;continue}x+=l}}else m=!0,x+=l,x+=f,b+=1;return x=c.join("")+x}e.exports=t=n}()},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.prettySelectors=t,e._renderStyleToCache=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=u.E(n,function(n,i,a){if(u.A(i)){if(u.z(a))e._renderStyleToCache(t,i,r+u.D(a),o);else if(u.y(a)){var s=u.u(o,a.slice(6).trim());e._renderStyleToCache(t,i,r,s)}}else u.B(i)||(n[a]=i);return n},{});if(Object.keys(i).length>0){var s=a.a(i),c=u.s(t,r),l=u.r(c,s);o.length>0?(e.mediaRules.hasOwnProperty(o)||(e.mediaRules[o]=""),e.mediaRules[o]+=l):e.rules+=l,e._emitChange({selector:c,declaration:s,media:o,type:u.d})}},e._renderStyleToClassNames=function(t,n){if(Object.keys(t).length<1)return"";var r=e.prettySelectors&&n.name?n.name+"_":"",o=u.v(t,(e.selectorPrefix||"")+(n.selectorPrefix||r));return e.cache.hasOwnProperty(o)||(e._renderStyleToCache(o,t),e.cache[o]=!0),o},e.renderRule=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=u.F(e,t(n),u.d,n);return e._renderStyleToClassNames(r,t)},e}function o(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e){return r(e,!1)}}t.a=o;var i=n(69),a=n.n(i),u=n(13)},function(e,t,n){"use strict";var r=n(255);t.a={gradient:{primary:"linear-gradient(left, #76C4E2, #85CBA8)",two:"linear-gradient(left, #8176B5, #85CBA8)",three:"linear-gradient(left, #8176B5, #76C4E2)",four:"linear-gradient(left, #8176B5, #BA77B1)",five:"linear-gradient(left, #8176B5, #F16975)",six:"linear-gradient(left, #F16975, #F69259)",seven:"linear-gradient(left, #F69259, #FFDB6F)",eight:"linear-gradient(left, #85CBA8, #FFDB6F)"},color:{rain:"#408BC9",sky:"#76C4E2",dew:"#85CBA8",twilight:"#8176B5",sunset:"#BA77B1",dawn:"#F16975",sunrise:"#F69259",lightning:"#FFDB6F",night:"#404041",dusk:"#4D4D4F",storm:"#808285",hail:"#BCBEC0",moonshine:"#F7F7F7",cement:"#7D7D7D",grass:"#9BCA3E",marine:"#2F7BBF",tangerine:"#FF7900",apple:"#BD2527"},fontSize:"15px",boxShadow:"0 0 20px 0 rgba(136,136,136,0.50)",inputFontSize:"13px",lineHeight:1.5,inputLineHeight:1.4,em:"1em",rem:"1rem",fontFamily:'"Open Sans", Helvetica, Arial, sans-serif',weightLight:300,weightNormal:400,weightSemiBold:600,weightBold:700,fontWeight:400,fontColorHeadingCaption:"#888",borderRadius:"2px",arrowSize:"5px",disabledBackground:"#ededed",bodyBackground:"#ebebeb",bodyAccentColor:"#333",bodyOffsetColor:"#787878",fontColor:"#333",colorWhite:"#fff",colorBlack:"#000",colorOffsetLight:.15,colorOffsetDark:.07,colorInfo:"#00a9eb",colorSuccess:"#68970f",colorWarning:"#fca520",colorError:"#ff3100",colorMuted:"#7c7c7c",colorSmoke:"#f2f2f2",colorBlue:"#2f7bbf",colorBlueLight:r.b(.15,"#2f7bbf"),colorBlueDark:r.a(.07,"#2f7bbf"),colorOrange:"#ff7900",colorOrangeLight:r.b(.15,"#ff7900"),colorOrangeDark:r.a(.07,"#ff7900"),colorGray:"#7c7c7c",colorGrayLight:"#dedede",colorGrayLightOnboarding:"#F7F7F7",colorGrayDark:"#333",colorGrayBorder:"#666",colorGreen:"#9bca3e",colorGreenLight:r.b(.15,"#9bca3e"),colorGreenDark:r.a(.07,"#9bca3e"),colorRed:"#bd2527",colorRedLight:r.b(.15,"#bd2527"),colorRedDark:r.a(.07,"#bd2527"),colorYellow:"#ffd24d",colorYellowLight:r.b(.15,"#ffd24d"),colorYellowDark:r.a(.07,"#ffd24d"),colorPink:"#d91698",colorPinkLight:r.b(.15,"#d91698"),colorPinkDark:r.a(.07,"#d91698"),colorPurple:"#9545e5",colorPurpleLight:r.b(.15,"#d91698"),colorPurpleDark:r.a(.07,"#d91698"),colorTwitterBlue:"#00aced",colorFacebookBlue:"#3b5998",colorMainBackground:"#e6e6e6",colorOverlay:"rgba(0, 0, 0, .7)",zIndexMax:1e3}},function(e,t,n){(function(t){t.IntlPolyfill=n(750),n(751),t.Intl||(t.Intl=t.IntlPolyfill,t.IntlPolyfill.__applyLocaleSensitivePrototypes()),e.exports=t.IntlPolyfill}).call(t,n(24))},function(e,t,n){"use strict";(function(t){function n(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var t=Math.round(Math.log(e)*Math.LOG10E);return t-(Number("1e"+t)>e)}function r(e){for(var t in e)(e instanceof r||Ie.call(e,t))&&Fe(this,t,{value:e[t],enumerable:!0,writable:!0,configurable:!0})}function o(){Fe(this,"length",{writable:!0,value:0}),arguments.length&&qe.apply(this,Ue.call(arguments))}function i(){if(We.disableRegExpRestore)return function(){};for(var e={lastMatch:RegExp.lastMatch||"",leftContext:RegExp.leftContext,multiline:RegExp.multiline,input:RegExp.input},t=!1,n=1;n<=9;n++)t=(e["$"+n]=RegExp["$"+n])||t;return function(){var n=/[.?*+^$[\]\\(){}|-]/g,r=e.lastMatch.replace(n,"\\$&"),i=new o;if(t)for(var a=1;a<=9;a++){var u=e["$"+a];u?(u=u.replace(n,"\\$&"),r=r.replace(u,"("+u+")")):r="()"+r,qe.call(i,r.slice(0,r.indexOf("(")+1)),r=r.slice(r.indexOf("(")+1)}var s=Be.call(i,"")+r;s=s.replace(/(\\\(|\\\)|[^()])+/g,function(e){return"[\\s\\S]{"+e.replace("\\","").length+"}"});var c=new RegExp(s,e.multiline?"gm":"g");c.lastIndex=e.leftContext.length,c.exec(e.input)}}function a(e){if(null===e)throw new TypeError("Cannot convert null or undefined to object");return"object"===(void 0===e?"undefined":Ne.typeof(e))?e:Object(e)}function u(e){return"number"==typeof e?e:Number(e)}function s(e){var t=u(e);return isNaN(t)?0:0===t||-0===t||t===1/0||t===-1/0?t:t<0?-1*Math.floor(Math.abs(t)):Math.floor(Math.abs(t))}function c(e){var t=s(e);return t<=0?0:t===1/0?Math.pow(2,53)-1:Math.min(t,Math.pow(2,53)-1)}function l(e){return Ie.call(e,"__getInternalProperties")?e.__getInternalProperties(Ye):Ve(null)}function f(e){tt=e}function p(e){for(var t=e.length;t--;){var n=e.charAt(t);n>="a"&&n<="z"&&(e=e.slice(0,t)+n.toUpperCase()+e.slice(t+1))}return e}function d(e){return!!$e.test(e)&&(!Qe.test(e)&&!Je.test(e))}function h(e){var t=void 0,n=void 0;e=e.toLowerCase(),n=e.split("-");for(var r=1,o=n.length;r1&&(t.sort(),e=e.replace(RegExp("(?:"+et.source+")+","i"),Be.call(t,""))),Ie.call(nt.tags,e)&&(e=nt.tags[e]),n=e.split("-");for(var i=1,a=n.length;i-1)return n;var r=n.lastIndexOf("-");if(r<0)return;r>=2&&"-"===n.charAt(r-2)&&(r-=2),n=n.substring(0,r)}}function b(e,t){for(var n=0,o=t.length,i=void 0,a=void 0,u=void 0;n2){var O=c[S+1],T=C.call(x,O);-1!==T&&(w=O,E="-"+m+"-"+w)}else{var P=C(x,"true");-1!==P&&(w="true")}}if(Ie.call(n,"[["+m+"]]")){var A=n["[["+m+"]]"];-1!==C.call(x,A)&&A!==w&&(w=A,E="")}p["[["+m+"]]"]=w,d+=E,g++}if(d.length>2){var k=s.indexOf("-x-");if(-1===k)s+=d;else{s=s.substring(0,k)+d+s.substring(k)}s=h(s)}return p["[[locale]]"]=s,p}function w(e,t){for(var n=t.length,r=new o,i=0;ir)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(i)}return o}function T(e){for(var t=m(e),n=[],r=t.length,o=0;oi;i++){var a=n[i],u={};u.type=a["[[type]]"],u.value=a["[[value]]"],r[o]=u,o+=1}return r}function N(e,t){var n=l(e),r=n["[[dataLocale]]"],i=n["[[numberingSystem]]"],a=We.NumberFormat["[[localeData]]"][r],u=a.symbols[i]||a.symbols.latn,s=void 0;!isNaN(t)&&t<0?(t=-t,s=n["[[negativePattern]]"]):s=n["[[positivePattern]]"];for(var c=new o,f=s.indexOf("{",0),p=0,d=0,h=s.length;f>-1&&fd){var g=s.substring(d,f);qe.call(c,{"[[type]]":"literal","[[value]]":g})}var y=s.substring(f+1,p);if("number"===y)if(isNaN(t)){var m=u.nan;qe.call(c,{"[[type]]":"nan","[[value]]":m})}else if(isFinite(t)){"percent"===n["[[style]]"]&&isFinite(t)&&(t*=100);var v=void 0;v=Ie.call(n,"[[minimumSignificantDigits]]")&&Ie.call(n,"[[maximumSignificantDigits]]")?L(t,n["[[minimumSignificantDigits]]"],n["[[maximumSignificantDigits]]"]):I(t,n["[[minimumIntegerDigits]]"],n["[[minimumFractionDigits]]"],n["[[maximumFractionDigits]]"]),ut[i]?function(){var e=ut[i];v=String(v).replace(/\d/g,function(t){return e[t]})}():v=String(v);var b=void 0,_=void 0,x=v.indexOf(".",0);if(x>0?(b=v.substring(0,x),_=v.substring(x+1,x.length)):(b=v,_=void 0),!0===n["[[useGrouping]]"]){var w=u.group,E=[],C=a.patterns.primaryGroupSize||3,S=a.patterns.secondaryGroupSize||C;if(b.length>C){var O=b.length-C,T=O%S,P=b.slice(0,T);for(P.length&&qe.call(E,P);To;o++){r+=n[o]["[[value]]"]}return r}function L(e,t,r){var o=r,i=void 0,a=void 0;if(0===e)i=Be.call(Array(o+1),"0"),a=0;else{a=n(Math.abs(e));var u=Math.round(Math.exp(Math.abs(a-o+1)*Math.LN10));i=String(Math.round(a-o+1<0?e*u:e/u))}if(a>=o)return i+Be.call(Array(a-o+1+1),"0");if(a===o-1)return i;if(a>=0?i=i.slice(0,a+1)+"."+i.slice(a+1):a<0&&(i="0."+Be.call(Array(1-(a+1)),"0")+i),i.indexOf(".")>=0&&r>t){for(var s=r-t;s>0&&"0"===i.charAt(i.length-1);)i=i.slice(0,-1),s--;"."===i.charAt(i.length-1)&&(i=i.slice(0,-1))}return i}function I(e,t,n,r){var o=r,i=Math.pow(10,o)*e,a=0===i?"0":i.toFixed(0),u=void 0,s=(u=a.indexOf("e"))>-1?a.slice(u+1):0;s&&(a=a.slice(0,u).replace(".",""),a+=Be.call(Array(s-(a.length-1)+1),"0"));var c=void 0;if(0!==o){var l=a.length;if(l<=o){a=Be.call(Array(o+1-l+1),"0")+a,l=o+1}var f=a.substring(0,l-o);a=f+"."+a.substring(l-o,a.length),c=f.length}else c=a.length;for(var p=r-n;p>0&&"0"===a.slice(-1);)a=a.slice(0,-1),p--;if("."===a.slice(-1)&&(a=a.slice(0,-1)),cn&&(n=u,r=a),o++}return r}function Q(e,t){var n=[];for(var r in gt)Ie.call(gt,r)&&void 0!==e["[["+r+"]]"]&&n.push(r);if(1===n.length){var o=H(n[0],e["[["+n[0]+"]]"]);if(o)return o}for(var i=-1/0,a=void 0,u=0,s=t.length;u=2||m>=2&&y<=1?v>0?l-=6:v<0&&(l-=8):v>1?l-=3:v<-1&&(l-=6)}}c._.hour12!==e.hour12&&(l-=1),l>i&&(i=l,a=c),u++}return a}function J(){var e=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];return ne(this,void 0===e?Date.now():u(e))},n=Ze.call(t,this);e["[[boundFormat]]"]=n}return e["[[boundFormat]]"]}function ee(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],t=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!t||!t["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");return re(this,void 0===e?Date.now():u(e))}function te(e,t){if(!isFinite(t))throw new RangeError("Invalid valid date passed to format");var n=e.__getInternalProperties(Ye);i();for(var r=n["[[locale]]"],a=new it.NumberFormat([r],{useGrouping:!1}),u=new it.NumberFormat([r],{minimumIntegerDigits:2,useGrouping:!1}),s=oe(t,n["[[calendar]]"],n["[[timeZone]]"]),c=n["[[pattern]]"],l=new o,f=0,p=c.indexOf("{"),d=0,h=n["[[dataLocale]]"],g=We.DateTimeFormat["[[localeData]]"][h].calendars,y=n["[[calendar]]"];-1!==p;){var m=void 0;if(-1===(d=c.indexOf("}",p)))throw new Error("Unclosed pattern");p>f&&qe.call(l,{type:"literal",value:c.substring(f,p)});var v=c.substring(p+1,d);if(gt.hasOwnProperty(v)){var b=n["[["+v+"]]"],_=s["[["+v+"]]"];if("year"===v&&_<=0?_=1-_:"month"===v?_++:"hour"===v&&!0===n["[[hour12]]"]&&0===(_%=12)&&!0===n["[[hourNo0]]"]&&(_=12),"numeric"===b)m=D(a,_);else if("2-digit"===b)m=D(u,_),m.length>2&&(m=m.slice(-2));else if(b in ht)switch(v){case"month":m=Z(g,y,"months",b,s["[["+v+"]]"]);break;case"weekday":try{m=Z(g,y,"days",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+r)}break;case"timeZoneName":m="";break;case"era":try{m=Z(g,y,"eras",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find era data for locale "+r)}break;default:m=s["[["+v+"]]"]}qe.call(l,{type:v,value:m})}else if("ampm"===v){var x=s["[[hour]]"];m=Z(g,y,"dayPeriods",x>11?"pm":"am",null),qe.call(l,{type:"dayPeriod",value:m})}else qe.call(l,{type:"literal",value:c.substring(p,d+1)});f=d+1,p=c.indexOf("{",f)}return do;o++){r+=n[o].value}return r}function re(e,t){for(var n=te(e,t),r=[],o=0;n.length>o;o++){var i=n[o];r.push({type:i.type,value:i.value})}return r}function oe(e,t,n){var o=new Date(e),i="get"+(n||"");return new r({"[[weekday]]":o[i+"Day"](),"[[era]]":+(o[i+"FullYear"]()>=0),"[[year]]":o[i+"FullYear"](),"[[month]]":o[i+"Month"](),"[[day]]":o[i+"Date"](),"[[hour]]":o[i+"Hours"](),"[[minute]]":o[i+"Minutes"](),"[[second]]":o[i+"Seconds"](),"[[inDST]]":!1})}function ie(e,t){if(!e.number)throw new Error("Object passed doesn't contain locale data for Intl.NumberFormat");var n=void 0,r=[t],o=t.split("-");for(o.length>2&&4===o[1].length&&qe.call(r,o[0]+"-"+o[2]);n=He.call(r);)qe.call(We.NumberFormat["[[availableLocales]]"],n),We.NumberFormat["[[localeData]]"][n]=e.number,e.date&&(e.date.nu=e.number.nu,qe.call(We.DateTimeFormat["[[availableLocales]]"],n),We.DateTimeFormat["[[localeData]]"][n]=e.date);void 0===tt&&f(t)}var ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},ue=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,r,o){var i=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&i)for(var u in i)void 0===n[u]&&(n[u]=i[u]);else n||(n=i||{});if(1===a)n.children=o;else if(a>1){for(var s=Array(a),c=0;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Ee=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},Ce=void 0===t?self:t,Se=function e(t,n,r,o){var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var a=Object.getPrototypeOf(t);null!==a&&e(a,n,r,o)}else if("value"in i&&i.writable)i.value=r;else{var u=i.set;void 0!==u&&u.call(o,r)}return r},Oe=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Te=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var n,r=[],o=e[Symbol.iterator]();!(n=o.next()).done&&(r.push(n.value),!t||r.length!==t););return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")},Pe=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},Ae=function(e,t){return e.raw=t,e},ke=function(e,t,n){if(e===n)throw new ReferenceError(t+" is not defined - temporal dead zone");return e},Re={},Me=function(e){return Array.isArray(e)?e:Array.from(e)},je=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(257),p=Object.assign||function(e){for(var t=1;t-1},matchesSelector:function(e,t){return(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||function(t){return r(e,t)}).call(e,t)}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){e.addEventListener(t,n,!1)}function o(e,t,n){e.removeEventListener(t,n,!1)}var i=n(19),a=n(166),u=[];i.canUseDOM&&function(){var e=a("animationend"),t=a("transitionend");e&&u.push(e),t&&u.push(t)}();var s={addEndEventListener:function(e,t){if(0===u.length)return void window.setTimeout(t,0);u.forEach(function(n){r(e,n,t)})},removeEndEventListener:function(e,t){0!==u.length&&u.forEach(function(n){o(e,n,t)})}};e.exports=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t-1:!!l&&o(e,t,n)>-1}var o=n(808),i=n(266),a=n(815),u=n(816),s=n(820),c=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(809),i=n(810),a=n(811);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i-1&&e%1==0&&e requires either a `to` or `onClick` prop");var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.dropdownRegistry=n.dropdownRegistry,i.handleLinkBlur=i.handleLinkBlur.bind(i),i.handleLinkFocus=i.handleLinkFocus.bind(i),i.focus=i.focus.bind(i),i}return i(t,e),p(t,[{key:"componentDidMount",value:function(){this.dropdownRegistry.addChild(this)}},{key:"componentWillUnmount",value:function(){this.dropdownRegistry.removeChild(this)}},{key:"focus",value:function(){this.link.focus()}},{key:"handleLinkFocus",value:function(){this.dropdownRegistry.setFocusedChild(this)}},{key:"handleLinkBlur",value:function(){this.dropdownRegistry.removeFocusedChild()}},{key:"render",value:function(){var e=this;return u.a.createElement("li",{className:"cf-dropdown__link",role:"menuitem"},u.a.createElement(l.default,{ref:function(t){return e.link=t},to:this.props.to,onClick:this.props.onClick,onFocus:this.handleLinkFocus,onBlur:this.handleLinkBlur},this.props.children))}}]),t}(u.a.Component);d.propTypes={to:c.a.string,onClick:c.a.func,children:c.a.node},d.contextTypes={dropdownRegistry:c.a.instanceOf(f.a).isRequired},t.a=d},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=function(){return o.a.createElement("div",{className:"cf-dropdown__separator",role:"separator"})};t.a=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(861);t.default=r.a},function(e,t,n){"use strict";function r(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 o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(862),p=n.n(f),d=Object.assign||function(e){for(var t=1;t-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return s.default.map(e,function(e,t){return a.default.createElement(c.cardMapper[e],{key:t})})}Object.defineProperty(t,"__esModule",{value:!0}),t.renderCards=o;var i=n(0),a=r(i),u=n(15),s=r(u),c=n(840)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(1),c=n.n(s),l=function(){function e(e,t){for(var n=0;n8&&_<=11),E=32,C=String.fromCharCode(E),S={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},O=!1,T=null,P={eventTypes:S,extractEvents:function(e,t,n,r){return[s(e,t,n,r),f(e,t,n,r)]}};e.exports=P},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(9),i=n(39),a=n(157);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=C.getPooled(P.change,k,e,S(e));_.accumulateTwoPhaseDispatches(t),E.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue(!1)}function a(e,t){A=e,k=t,A.attachEvent("onchange",o)}function u(){A&&(A.detachEvent("onchange",o),A=null,k=null)}function s(e,t){if("topChange"===e)return t}function c(e,t,n){"topFocus"===e?(u(),a(t,n)):"topBlur"===e&&u()}function l(e,t){A=e,k=t,R=e.value,M=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(A,"value",D),A.attachEvent?A.attachEvent("onpropertychange",p):A.addEventListener("propertychange",p,!1)}function f(){A&&(delete A.value,A.detachEvent?A.detachEvent("onpropertychange",p):A.removeEventListener("propertychange",p,!1),A=null,k=null,R=null,M=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==R&&(R=t,o(e))}}function d(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(f(),l(t,n)):"topBlur"===e&&f()}function g(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&A&&A.value!==R)return R=A.value,k}function y(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function m(e,t){if("topClick"===e)return t}function v(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var b=n(60),_=n(59),x=n(19),w=n(14),E=n(28),C=n(31),S=n(101),O=n(102),T=n(160),P={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},A=null,k=null,R=null,M=null,j=!1;x.canUseDOM&&(j=O("change")&&(!document.documentMode||document.documentMode>8));var N=!1;x.canUseDOM&&(N=O("input")&&(!document.documentMode||document.documentMode>11));var D={get:function(){return M.get.call(this)},set:function(e){R=""+e,M.set.call(this,e)}},L={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,u=t?w.getNodeFromInstance(t):window;if(r(u)?j?i=s:a=c:T(u)?N?i=d:(i=g,a=h):y(u)&&(i=m),i){var l=i(e,t);if(l){var f=C.getPooled(P.change,l,n,o);return f.type="change",_.accumulateTwoPhaseDispatches(f),f}}a&&a(e,u,t),"topBlur"===e&&v(t,u)}};e.exports=L},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(296),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(7),i=(n(4),{addComponentAsRefTo:function(e,t,n){r(n)||o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)||o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(59),o=n(14),i=n(76),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===e){l=t;var p=n.relatedTarget||n.toElement;f=p?o.getClosestInstanceFromNode(p):null}else l=null,f=t;if(l===f)return null;var d=null==l?s:o.getNodeFromInstance(l),h=null==f?s:o.getNodeFromInstance(f),g=i.getPooled(a.mouseLeave,l,n,u);g.type="mouseleave",g.target=d,g.relatedTarget=h;var y=i.getPooled(a.mouseEnter,f,n,u);return y.type="mouseenter",y.target=h,y.relatedTarget=d,r.accumulateEnterLeaveDispatches(g,y,l,f),[g,y]}};e.exports=u},function(e,t,n){"use strict";var r=n(46),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};e.exports=c},function(e,t,n){"use strict";var r=n(104),o=n(305),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";var r=n(7),o=n(48),i=n(19),a=n(302),u=n(22),s=(n(4),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM||r("56"),t||r("57"),"HTML"===e.nodeName&&r("58"),"string"==typeof t){var n=a(t,u)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=s},function(e,t,n){"use strict";function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,t){var n=c;c||s(!1);var o=r(e),i=o&&u(o);if(i){n.innerHTML=i[1]+e+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t||s(!1),a(f).forEach(t));for(var p=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return p}var i=n(19),a=n(303),u=n(304),s=n(4),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":"<"+e+">",u[e]=!a.firstChild),u[e]?p[e]:null}var o=n(19),i=n(4),a=o.canUseDOM?document.createElement("div"):null,u={},s=[1,'"],c=[1,"","
"],l=[3,"","
"],f=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){p[e]=f,u[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(104),o=n(14),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(W[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&g("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&g("60"),"object"==typeof t.dangerouslySetInnerHTML&&U in t.dangerouslySetInnerHTML||g("61")),null!=t.style&&"object"!=typeof t.style&&g("62",r(e)))}function i(e,t,n,r){if(!(r instanceof j)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===q,u=i?o._node:o._ownerDocument;F(t,u),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;E.putListener(e.inst,e.registrationName,e.listener)}function u(){var e=this;P.postMountWrapper(e)}function s(){var e=this;R.postMountWrapper(e)}function c(){var e=this;A.postMountWrapper(e)}function l(){var e=this;e._rootNodeID||g("63");var t=I(e);switch(t||g("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[S.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in B)B.hasOwnProperty(n)&&e._wrapperState.listeners.push(S.trapBubbledEvent(n,B[n],t));break;case"source":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t),S.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[S.trapBubbledEvent("topReset","reset",t),S.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[S.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){k.postUpdateWrapper(this)}function p(e){K.call(X,e)||(Y.test(e)||g("65",e),X[e]=!0)}function d(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(7),y=n(9),m=n(307),v=n(308),b=n(48),_=n(105),x=n(46),w=n(165),E=n(60),C=n(98),S=n(79),O=n(154),T=n(14),P=n(317),A=n(319),k=n(167),R=n(320),M=(n(26),n(321)),j=n(328),N=(n(22),n(78)),D=(n(4),n(102),n(109),n(114),n(5),O),L=E.deleteListener,I=T.getNodeFromInstance,F=S.listenTo,z=C.registrationNameModules,V={string:!0,number:!0},U="__html",G={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,B={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},H={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Z={listing:!0,pre:!0,textarea:!0},W=y({menuitem:!0},H),Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},K={}.hasOwnProperty,$=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(l,this);break;case"input":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"option":A.mountWrapper(this,i,t),i=A.getHostProps(this,i);break;case"select":k.mountWrapper(this,i,t),i=k.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"textarea":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(l,this)}o(this,i);var a,f;null!=t?(a=t._namespaceURI,f=t._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===_.svg&&"foreignobject"===f)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var p;if(e.useCreateElement){var d,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var g=h.createElement("div"),y=this._currentElement.type;g.innerHTML="<"+y+">",d=g.removeChild(g.firstChild)}else d=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else d=h.createElementNS(a,this._currentElement.type);T.precacheNode(this,d),this._flags|=D.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(d),this._updateDOMProperties(null,i,e);var v=b(d);this._createInitialChildren(e,i,r,v),p=v}else{var x=this._createOpenTagMarkupAndPutListeners(e,i),E=this._createContentMarkup(e,i,r);p=!E&&H[this._tag]?x+"/>":x+">"+E+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(z.hasOwnProperty(r))o&&i(this,r,o,e);else{"style"===r&&(o&&(o=this._previousStyleCopy=y({},t.style)),o=v.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,t)?G.hasOwnProperty(r)||(a=w.createMarkupForCustomAttribute(r,o)):a=w.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=N(i);else if(null!=a){var u=this.mountChildren(a,e,n);r=u.join("")}}return Z[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var u=this.mountChildren(a,e,n),s=0;s0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e||s("35"),"_hostNode"in t||s("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e||s("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(s[c],"captured",i)}var s=n(7);n(4);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(e,t,n){"use strict";var r=n(7),o=n(9),i=n(104),a=n(48),u=n(14),s=n(78),c=(n(4),n(114),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,l=c.createComment(i),f=c.createComment(" /react-text "),p=a(c.createDocumentFragment());return a.queueChild(p,a(l)),this._stringText&&a.queueChild(p,a(c.createTextNode(this._stringText))),a.queueChild(p,a(f)),u.precacheNode(this,l),this._closingComment=f,p}var d=s(this._stringText);return e.renderToStaticMarkup?d:"\x3c!--"+i+"--\x3e"+d+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=u.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),e.exports=c},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(9),i=n(28),a=n(75),u=n(22),s={initialize:u,close:function(){p.isBatchingUpdates=!1}},c={initialize:u,close:i.flushBatchedUpdates.bind(i)},l=[c,s];o(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=p.isBatchingUpdates;return p.isBatchingUpdates=!0,a?e(t,n,r,o,i):f.perform(e,null,t,n,r,o,i)}};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=d(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do{e.ancestors.push(o),o=o&&r(o)}while(o);for(var i=0;it.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=c(e,o),s=c(e,i);if(u&&s){var f=document.createRange();f.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(f),n.extend(s.node,s.offset)):(f.setEnd(s.node,s.offset),n.addRange(f))}}}var s=n(19),c=n(339),l=n(157),f=s.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:f?o:i,setOffsets:f?a:u};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(341);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(342);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){i.Properties[e]=0,o[e]&&(i.DOMAttributeNames[e]=o[e])}),e.exports=i},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(v||null==g||g!==l())return null;var n=r(g);if(!m||!p(m,n)){m=n;var o=c.getPooled(h.select,y,e,t);return o.type="select",o.target=g,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(59),a=n(19),u=n(14),s=n(174),c=n(31),l=n(175),f=n(160),p=n(109),d=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},g=null,y=null,m=null,v=!1,b=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var i=t?u.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(i)||"true"===i.contentEditable)&&(g=i,y=t,m=null);break;case"topBlur":g=null,y=null,m=null;break;case"topMouseDown":v=!0;break;case"topContextMenu":case"topMouseUp":return v=!1,o(n,r);case"topSelectionChange":if(d)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(7),a=n(173),u=n(59),s=n(14),c=n(346),l=n(347),f=n(31),p=n(348),d=n(349),h=n(76),g=n(351),y=n(352),m=n(353),v=n(61),b=n(354),_=n(22),x=n(115),w=(n(4),{}),E={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[e]=o,E[r]=o});var C={},S={eventTypes:w,extractEvents:function(e,t,n,r){var o=E[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=f;break;case"topKeyPress":if(0===x(n))return null;case"topKeyDown":case"topKeyUp":a=d;break;case"topBlur":case"topFocus":a=p;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=g;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=y;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=m;break;case"topScroll":a=v;break;case"topWheel":a=b;break;case"topCopy":case"topCut":case"topPaste":a=l}a||i("86",e);var s=a.getPooled(o,t,n,r);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),u=s.getNodeFromInstance(e);C[i]||(C[i]=a.listen(u,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};e.exports=S},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(115),a=n(350),u=n(103),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(115),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(103),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(114),9);e.exports=r},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(358),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,i=e.length,a=-4&i;r0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],a=n||t+"Subscription",s=function(e){function n(i,a){r(this,n);var u=o(this,e.call(this,i,a));return u[t]=i.store,u}return i(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[a]=null,e},n.prototype.render=function(){return u.Children.only(this.props.children)},n}(u.Component);return s.propTypes={store:l.a.isRequired,children:c.a.element.isRequired},s.childContextTypes=(e={},e[t]=l.a.isRequired,e[a]=l.b,e),s.displayName="Provider",s}t.a=a;var u=n(0),s=(n.n(u),n(1)),c=n.n(s),l=n(178);n(116);t.b=a()},function(e,t,n){"use strict";var r=n(22),o=n(4),i=n(150);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=i,e=i},notify:function(){for(var n=e=t,r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}var a=n(179),u=n(366),s=n(367),c=n(382),l=n(383),f=n(384),p=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?a.a:t,d=e.mapStateToPropsFactories,h=void 0===d?c.a:d,g=e.mapDispatchToPropsFactories,y=void 0===g?s.a:g,m=e.mergePropsFactories,v=void 0===m?l.a:m,b=e.selectorFactory,_=void 0===b?f.a:b;return function(e,t,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=s.pure,l=void 0===c||c,f=s.areStatesEqual,d=void 0===f?i:f,g=s.areOwnPropsEqual,m=void 0===g?u.a:g,b=s.areStatePropsEqual,x=void 0===b?u.a:b,w=s.areMergedPropsEqual,E=void 0===w?u.a:w,C=r(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),S=o(e,h,"mapStateToProps"),O=o(t,y,"mapDispatchToProps"),T=o(a,v,"mergeProps");return n(_,p({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:O,initMergeProps:T,pure:l,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:x,areMergedPropsEqual:E},C))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){function i(o,i){return h=o,g=i,y=e(h,g),m=t(r,g),v=n(y,m,g),d=!0,v}function a(){return y=e(h,g),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function u(){return e.dependsOnOwnProps&&(y=e(h,g)),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function s(){var t=e(h,g),r=!p(t,y);return y=t,r&&(v=n(y,m,g)),v}function c(e,t){var n=!f(t,g),r=!l(e,h);return h=e,g=t,n&&r?a():n?u():r?s():v}var l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1,h=void 0,g=void 0,y=void 0,m=void 0,v=void 0;return function(e,t){return d?c(e,t):i(e,t)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,u=t.initMergeProps,s=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,s),l=a(e,s),f=u(e,s);return(s.pure?i:o)(c,l,f,e,s)}t.a=a;n(385)},function(e,t,n){"use strict";n(116)},function(e,t,n){"use strict";function r(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}var o=n(17),i=n.n(o),a=n(0),u=n.n(a),s=n(20),c=n.n(s),l=n(1),f=(n.n(l),n(187)),p=n(65),d=n(120),h=n(35),g=n(189),y=(n(49),Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=d({},t,{pathname:"/"+t.pathname})),r=t.pathname),c.a(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.a=s;var c=n(119),l=n(188),f=n(50),p=(n(49),n(35)),d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=e.history,o=e.routes,a=e.location,d=r(e,["history","routes","location"]);n||a||u.a(!1),n=n||s.a(d);var h=c.a(n,l.b(o));a=a?n.createLocation(a):n.getCurrentLocation(),h.match(a,function(e,r,o){var a=void 0;if(o){var u=f.b(n,h,o);a=p({},o,{router:u,matchContext:{transitionManager:h,router:u}})}t(e,r&&n.createLocation(r,i.REPLACE),a)})}var i=n(80),a=(n.n(i),n(17)),u=n.n(a),s=n(192),c=n(187),l=n(35),f=n(189),p=Object.assign||function(e){for(var t=1;t=0&&t=0&&y=e&&a&&(o=!0,n())}}()}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(120),a=(n(49),Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:r.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return u.reduceRight(function(t,n){return n(t,e)},o.a.createElement(i.a,a({},e,{createElement:c(e.createElement)})))}}},function(e,t,n){"use strict";var r=n(406),o=n.n(r),i=n(197);t.a=i.a(o.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 o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},p=t.getCurrentLocation=function(e,t){var n=e.decodePath(c()),r=(0,s.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,s.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var a=(0,s.parsePath)(n);return a.state=o,(0,i.createLocation)(a,void 0,r)},d=void 0,h=(t.startListener=function(e,t,n){var r=function(){var r=c(),o=t.encodePath(r);if(r!==o)f(o);else{var i=p(t,n);if(d&&i.key&&d.key===i.key)return;d=i,e(i)}},o=c(),i=t.encodePath(o);return o!==i&&f(i),(0,a.addEventListener)(window,"hashchange",r),function(){return(0,a.removeEventListener)(window,"hashchange",r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,s.createPath)(e));void 0!==o&&(a=(0,s.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),d=e,r(a)});t.pushLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&l(e)})},t.replaceLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&f(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,p.routerMiddleware)(e),r=(0,c.default)({collapsed:!0});return(0,i.applyMiddleware)(u.default,r,n)(i.createStore)(f.default,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(117),a=n(411),u=r(a),s=n(412),c=r(s),l=n(417),f=r(l),p=n(37)},function(e,t,n){"use strict";function r(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o({},s.default,e),n=t.logger,r=t.transformer,u=t.stateTransformer,c=t.errorTransformer,l=t.predicate,f=t.logErrors,p=t.diffPredicate;if(void 0===n)return function(){return function(e){return function(t){return e(t)}}};if(r&&console.error("Option 'transformer' is deprecated, use 'stateTransformer' instead!"),e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n\n\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\n\nconst logger = createLogger({\n // ...options\n});\n\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var d=[];return function(e){var n=e.getState;return function(e){return function(r){if("function"==typeof l&&!l(n,r))return e(r);var s={};d.push(s),s.started=a.timer.now(),s.startedTime=new Date,s.prevState=u(n()),s.action=r;var h=void 0;if(f)try{h=e(r)}catch(e){s.error=c(e)}else h=e(r);s.took=a.timer.now()-s.started,s.nextState=u(n());var g=t.diff&&"function"==typeof p?p(n,r):t.diff;if((0,i.printBuffer)(d,o({},t,{diff:g})),d.length=0,s.error)throw s.error;return h}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.defaults=void 0;var o=Object.assign||function(e){for(var t=1;t=n.length?r(new u(g,b,new a(e,t[b]))):l(t[b],n[b],r,f,g,b,h);for(;b=0?(l(t[o],n[o],r,f,g,o,h),x=s(x,a)):l(t[o],e,r,f,g,o,h)}),x.forEach(function(t){l(e,n[t],r,f,g,t,h)})}h.length=h.length-1}}else t!==n&&("number"===m&&isNaN(t)&&isNaN(n)||r(new o(g,t,n)))}function f(t,n,r,o){return o=o||[],l(t,n,function(e){e&&o.push(e)},r),o.length?o:e}function p(e,t,n){if(n.path&&n.path.length){var r,o=e[t],i=n.path.length-1;for(r=0;r2&&void 0!==arguments[2]?arguments[2]:{},r=n.selectLocationState,u=void 0===r?a:r,s=n.adjustUrlOnReplay,c=void 0===s||s;if(void 0===u(t.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var l=void 0,f=void 0,p=void 0,d=void 0,h=void 0,g=function(e){return u(t.getState()).locationBeforeTransitions||(e?l:void 0)};if(l=g(),c){var y=function(){var t=g(!0);h!==t&&l!==t&&(f=!0,h=t,e.transitionTo(o({},t,{action:"PUSH"})),f=!1)};p=t.subscribe(y),y()}var m=function(e){f||(h=e,!l&&(l=e,g())||t.dispatch({type:i.LOCATION_CHANGE,payload:e}))};return d=e.listen(m),e.getCurrentLocation&&m(e.getCurrentLocation()),o({},e,{listen:function(e){var n=g(!0),r=!1,o=t.subscribe(function(){var t=g(!0);t!==n&&(n=t,r||e(n))});return e(n),function(){r=!0,o()}},unsubscribe:function(){c&&p(),d()}})}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.ZONES_SET_ACTIVE_ZONE:return o({},e,{id:t.zone.id,name:t.zone.name,account:t.zone.account});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.APPLICATION_INIT:return o({},e,{isInitialized:!0});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case l.DNS_RECORD_CLEAR_ALL:var n=e.entities;return n[t.zoneId]={},i({},e,{entities:n});case l.DNS_RECORD_CREATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_CREATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_CREATE_ERROR:return i({},e,{updateIsFetching:""});case l.DNS_RECORD_FETCH_LIST:return i({},e,{isFetching:!0});case l.DNS_RECORD_FETCH_LIST_SUCCESS:var r=new a.Schema(t.zoneId,{idAttribute:"name"}),u=(0,a.normalize)(t.dnsRecords,(0,a.arrayOf)(r));return i({},e,{entities:s.default.merge(e.entities,u.entities),result:s.default.merge(e.result,u.result),isFetching:!1});case l.DNS_RECORD_FETCH_LIST_ERROR:return i({},e,{isFetching:!1});case l.DNS_RECORD_UPDATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_UPDATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_UPDATE_ERROR:return i({},e,{updateIsFetching:""});default:return e}}function o(e,t,n){return t[e][n.name]=n,t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,e),!t||"string"!=typeof t)throw new Error("A string non-empty key is required");this._key=t,this._assignEntity=n.assignEntity;var o=n.idAttribute||"id";this._getId="function"==typeof o?o:function(e){return e[o]},this._idAttribute=o,this._meta=n.meta,this._defaults=n.defaults}return o(e,[{key:"getAssignEntity",value:function(){return this._assignEntity}},{key:"getKey",value:function(){return this._key}},{key:"getId",value:function(e,t){return this._getId(e,t)}},{key:"getIdAttribute",value:function(){return this._idAttribute}},{key:"getMeta",value:function(e){if(!e||"string"!=typeof e)throw new Error("A string non-empty property name is required");return this._meta&&this._meta[e]}},{key:"getDefaults",value:function(){return this._defaults}},{key:"define",value:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}]),e}();t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(o(this,e),!(0,u.default)(t))throw new Error("ArraySchema requires item schema to be an object.");if(n.schemaAttribute){var r=n.schemaAttribute;this._itemSchema=new c.default(t,{schemaAttribute:r})}else this._itemSchema=t}return i(e,[{key:"getItemSchema",value:function(){return this._itemSchema}}]),e}();t.default=l},function(e,t,n){function r(e,t){return o(e,t)}var o=n(426);e.exports=r},function(e,t,n){function r(e,t,n,a,u){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,u))}var o=n(427),i=n(87);e.exports=r},function(e,t,n){function r(e,t,n,r,y,v){var b=c(e),_=c(t),x=b?h:s(e),w=_?h:s(t);x=x==d?g:x,w=w==d?g:w;var E=x==g,C=w==g,S=x==w;if(S&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(S&&!E)return v||(v=new o),b||f(e)?i(e,t,n,r,y,v):a(e,t,x,n,r,y,v);if(!(n&p)){var O=E&&m.call(e,"__wrapped__"),T=C&&m.call(t,"__wrapped__");if(O||T){var P=O?e.value():e,A=T?t.value():t;return v||(v=new o),y(P,A,n,r,v)}}return!!S&&(v||(v=new o),u(e,t,n,r,y,v))}var o=n(428),i=n(209),a=n(462),u=n(466),s=n(488),c=n(130),l=n(210),f=n(211),p=1,d="[object Arguments]",h="[object Array]",g="[object Object]",y=Object.prototype,m=y.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(82),i=n(434),a=n(435),u=n(436),s=n(437),c=n(438);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(83),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(83);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(83);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(83);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(82);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length-1&&e%1==0&&e0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.INTL_FETCH_TRANSLATIONS:return o({},e,{isFetching:!0});case a.INTL_FETCH_TRANSLATIONS_SUCCESS:return o({},e,{locale:t.locale,translations:t.translations,isFetching:!1});case a.INTL_FETCH_TRANSLATIONS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.NOTIFICATION_ADD:return[{key:Date.now(),level:t.level,message:t.message,localized:t.localized,persistant:t.persistant,delay:t.delay}].concat(r(e));case a.NOTIFICATION_REMOVE:return e.filter(function(e){return e.key!==t.key});default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.notificationsReducer=o;var i=n(8),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),u=[]},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.USER_LOGIN:return o({},e,{isFetching:!0});case a.USER_LOGIN_SUCCESS:return(0,u.setEmail)(t.email),o({},e,{isLoggedIn:!0,isFetching:!1});case a.USER_LOGIN_ERROR:return o({},e,{isFetching:!1});case a.USER_SIGNUP:return o({},e,{isFetching:!0});case a.USER_SIGNUP_SUCCESS:case a.USER_SIGNUP_ERROR:return o({},e,{isFetching:!1});case a.USER_LOGOUT:return(0,u.setEmail)(""),o({},e,{isLoggedIn:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.ZONE_FETCH_ANALYTICS:return i({},e,{isFetching:!0});case u.ZONE_FETCH_ANALYTICS_SUCCESS:var n={};return n[t.zoneId]=o(t.zoneAnalytics),i({},e,{entities:c.default.merge(e.entities,n),isFetching:!1});case u.ZONE_FETCH_ANALYTICS_ERROR:return i({},e,{isFetching:!1});default:return e}}function o(e){var t={totals:[],timeSeries:[],requests:[[],[]],bandwidth:[[],[]],threats:[[]],uniques:[[]]};return t.totals=c.default.clone(e.totals),e.timeseries.forEach(function(e){t.timeSeries.push(new Date(e.since)),void 0!==e.requests&&(t.requests[0].push(e.requests.cached),t.requests[1].push(e.requests.uncached)),void 0!==e.bandwidth&&(t.bandwidth[0].push(e.bandwidth.cached),t.bandwidth[1].push(e.bandwidth.uncached)),void 0!==e.threats&&t.threats[0].push(e.threats.all),void 0!==e.uniques&&t.uniques[0].push(e.uniques.all)}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.ZONE_PURGE_CACHE:return o({},e,{isFetching:!0});case a.ZONE_PURGE_CACHE_SUCCESS:case a.ZONE_PURGE_CACHE_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.ZONE_RAILGUNS_FETCH_ALL:return i({},e,{isFetching:!0});case u.ZONE_RAILGUNS_FETCH_ALL_SUCCESS:var n=(0,s.normalizeZoneRailgunGetAll)(t.zoneRailguns),r=i({},e.entities);return r[t.zoneId]=n.entities.railguns,i({},e,{entities:r,isFetching:!1});case u.ZONE_RAILGUNS_FETCH_ALL_ERROR:return i({},e,{isFetching:!1});case u.ZONE_RAILGUNS_CONNECTION_UPDATE:return i({},e,{entities:o(e,t),isFetching:!0});case u.ZONE_RAILGUNS_CONNECTION_UPDATE_SUCCESSS:case u.ZONE_RAILGUNS_CONNECTION_UPDATE_ERROR:return i({},e,{entities:o(e,t),isFetching:!1});default:return e}}function o(e,t){var n=i({},e.entities);return n[t.zoneId][t.zoneRailgun.id]=t.zoneRailgun,n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.ZONE_ENTITLEMENTS:return o({},e,{isFetching:!0});case a.ZONE_ENTITLEMENTS_SUCCESS:var n=(0,u.normalizeZoneEntitlements)(t.zoneEntitlements),r=o({},e.entities);return r[t.zoneId]=n.entities.entitlements,o({},e,{entities:r,isFetching:!1});case a.ZONE_ENTITLEMENTS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.ZONE_FETCH_SETTINGS:return i({},e,{isFetching:"fetchAllSettings"});case c.ZONE_FETCH_SETTINGS_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.zoneSettings);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.ZONE_FETCH_SETTINGS_ERROR:return i({},e,{isFetching:""});case c.ZONE_UPDATE_SETTING:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.ZONE_UPDATE_SETTING_SUCCESS:case c.ZONE_UPDATE_SETTING_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case s.ZONES_DELETE_ZONE:return o({},e,{zoneDeleteIsFetching:!0});case s.ZONES_DELETE_ZONE_SUCCESS:case s.ZONES_DELETE_ZONE_ERROR:return o({},e,{zoneDeleteIsFetching:!1});case s.ZONES_FETCH:return o({},e,{zoneFetchIsFetching:!0});case s.ZONES_FETCH_SUCCESS:var n=(0,c.normalizeZoneGetAll)(t.zoneList);return o({},e,{entities:a.default.merge(e.entities,n.entities),result:a.default.merge(e.result,n.result),zoneFetchIsFetching:!1});case s.ZONES_FETCH_ERROR:return o({},e,{zoneFetchIsFetching:!1});case s.ZONES_PROVISION_CNAME:return o({},e,{zoneProvisionCnameIsFetching:!0});case s.ZONES_PROVISION_CNAME_SUCCESS:case s.ZONES_PROVISION_CNAME_ERROR:return o({},e,{zoneProvisionCnameIsFetching:!1});case s.ZONES_PROVISION_FULL:return o({},e,{zoneProvisionFullIsFetching:!0});case s.ZONES_PROVISION_FULL_SUCCESS:case s.ZONES_PROVISION_FULL_ERROR:return o({},e,{zoneProvisionFullIsFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.PLUGIN_SETTINGS_FETCH:return i({},e,{isFetching:"FETCH ALL PLUGIN SETTINGS"});case c.PLUGIN_SETTINGS_FETCH_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.setting);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.PLUGIN_SETTINGS_FETCH_ERROR:return i({},e,{isFetching:""});case c.PLUGIN_SETTING_UPDATE:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.PLUGIN_SETTING_UPDATE_SUCCESS:case c.PLUGIN_SETTING_UPDATE_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;te&&(Xe=0,Ke={line:1,column:1,seenCR:!1}),function(e,n,r){var o,i;for(o=n;o$e&&($e=We,Qe=[]),Qe.push(e))}function o(r,o,i){var a=n(i),u=it.description?1:0});t1?i.slice(0,-1).join(", ")+" or "+i[e.length-1]:i[0],r=t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}(t)+'"':"end of input","Expected "+n+" but "+r+" found."}(o,u),o,u,i,a.line,a.column)}function i(){return a()}function a(){var e,t,n;for(e=We,t=[],n=u();n!==k;)t.push(n),n=u();return t!==k&&(Ye=e,t=j(t)),e=t}function u(){var e;return e=c(),e===k&&(e=f()),e}function s(){var e,n,r,o,i,a;if(e=We,n=[],r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N),r!==k)for(;r!==k;)n.push(r),r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N);else n=N;return n!==k&&(Ye=e,n=D(n)),e=n,e===k&&(e=We,n=x(),n!==k&&(n=t.substring(e,We)),e=n),e}function c(){var e,t;return e=We,t=s(),t!==k&&(Ye=e,t=L(t)),e=t}function l(){var e,n,o;if((e=S())===k){if(e=We,n=[],I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F)),o!==k)for(;o!==k;)n.push(o),I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F));else n=N;n!==k&&(n=t.substring(e,We)),e=n}return e}function f(){var e,n,o,i,a,u,s,c,f;return e=We,123===t.charCodeAt(We)?(n=z,We++):(n=k,0===Je&&r(V)),n!==k?(o=w(),o!==k?(i=l(),i!==k?(a=w(),a!==k?(u=We,44===t.charCodeAt(We)?(s=G,We++):(s=k,0===Je&&r(q)),s!==k?(c=w(),c!==k?(f=p(),f!==k?(s=[s,c,f],u=s):(We=u,u=N)):(We=u,u=N)):(We=u,u=N),u===k&&(u=U),u!==k?(s=w(),s!==k?(125===t.charCodeAt(We)?(c=B,We++):(c=k,0===Je&&r(H)),c!==k?(Ye=e,n=Z(i,u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function p(){var e;return e=d(),e===k&&(e=h())===k&&(e=g())===k&&(e=y()),e}function d(){var e,n,o,i,a,u,s;return e=We,t.substr(We,6)===W?(n=W,We+=6):(n=k,0===Je&&r(Y)),n===k&&(t.substr(We,4)===X?(n=X,We+=4):(n=k,0===Je&&r(K)),n===k&&(t.substr(We,4)===$?(n=$,We+=4):(n=k,0===Je&&r(Q)))),n!==k?(o=w(),o!==k?(i=We,44===t.charCodeAt(We)?(a=G,We++):(a=k,0===Je&&r(q)),a!==k?(u=w(),u!==k?(s=T(),s!==k?(a=[a,u,s],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i===k&&(i=U),i!==k?(Ye=e,n=J(n,i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function h(){var e,n,o,i,a,u;return e=We,t.substr(We,6)===ee?(n=ee,We+=6):(n=k,0===Je&&r(te)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ne(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function g(){var e,n,o,i,a,u;return e=We,t.substr(We,13)===re?(n=re,We+=13):(n=k,0===Je&&r(oe)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ie(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function y(){var e,n,o,i,a;if(e=We,t.substr(We,6)===ae?(n=ae,We+=6):(n=k,0===Je&&r(ue)),n!==k)if(w()!==k)if(44===t.charCodeAt(We)?(o=G,We++):(o=k,0===Je&&r(q)),o!==k)if(w()!==k){if(i=[],(a=v())!==k)for(;a!==k;)i.push(a),a=v();else i=N;i!==k?(Ye=e,n=se(i),e=n):(We=e,e=N)}else We=e,e=N;else We=e,e=N;else We=e,e=N;else We=e,e=N;return e}function m(){var e,n,o,i;return e=We,n=We,61===t.charCodeAt(We)?(o=ce,We++):(o=k,0===Je&&r(le)),o!==k?(i=S(),i!==k?(o=[o,i],n=o):(We=n,n=N)):(We=n,n=N),n!==k&&(n=t.substring(e,We)),e=n,e===k&&(e=T()),e}function v(){var e,n,o,i,u,s,c,l,f;return e=We,n=w(),n!==k?(o=m(),o!==k?(i=w(),i!==k?(123===t.charCodeAt(We)?(u=z,We++):(u=k,0===Je&&r(V)),u!==k?(s=w(),s!==k?(c=a(),c!==k?(l=w(),l!==k?(125===t.charCodeAt(We)?(f=B,We++):(f=k,0===Je&&r(H)),f!==k?(Ye=e,n=fe(o,c),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function b(){var e,n,o,i;return e=We,t.substr(We,7)===pe?(n=pe,We+=7):(n=k,0===Je&&r(de)),n!==k?(o=w(),o!==k?(i=S(),i!==k?(Ye=e,n=he(i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function _(){var e,t,n,r;if(e=We,t=b(),t===k&&(t=U),t!==k)if(w()!==k){if(n=[],(r=v())!==k)for(;r!==k;)n.push(r),r=v();else n=N;n!==k?(Ye=e,t=ge(t,n),e=t):(We=e,e=N)}else We=e,e=N;else We=e,e=N;return e}function x(){var e,n;if(Je++,e=[],me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve)),n!==k)for(;n!==k;)e.push(n),me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve));else e=N;return Je--,e===k&&(n=k,0===Je&&r(ye)),e}function w(){var e,n,o;for(Je++,e=We,n=[],o=x();o!==k;)n.push(o),o=x();return n!==k&&(n=t.substring(e,We)),e=n,Je--,e===k&&(n=k,0===Je&&r(be)),e}function E(){var e;return _e.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(xe)),e}function C(){var e;return we.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(Ee)),e}function S(){var e,n,o,i,a,u;if(e=We,48===t.charCodeAt(We)?(n=Ce,We++):(n=k,0===Je&&r(Se)),n===k){if(n=We,o=We,Oe.test(t.charAt(We))?(i=t.charAt(We),We++):(i=k,0===Je&&r(Te)),i!==k){for(a=[],u=E();u!==k;)a.push(u),u=E();a!==k?(i=[i,a],o=i):(We=o,o=N)}else We=o,o=N;o!==k&&(o=t.substring(n,We)),n=o}return n!==k&&(Ye=e,n=Pe(n)),e=n}function O(){var e,n,o,i,a,u,s,c;return Ae.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(ke)),e===k&&(e=We,t.substr(We,2)===Re?(n=Re,We+=2):(n=k,0===Je&&r(Me)),n!==k&&(Ye=e,n=je()),(e=n)===k&&(e=We,t.substr(We,2)===Ne?(n=Ne,We+=2):(n=k,0===Je&&r(De)),n!==k&&(Ye=e,n=Le()),(e=n)===k&&(e=We,t.substr(We,2)===Ie?(n=Ie,We+=2):(n=k,0===Je&&r(Fe)),n!==k&&(Ye=e,n=ze()),(e=n)===k&&(e=We,t.substr(We,2)===Ve?(n=Ve,We+=2):(n=k,0===Je&&r(Ue)),n!==k&&(Ye=e,n=Ge()),(e=n)===k&&(e=We,t.substr(We,2)===qe?(n=qe,We+=2):(n=k,0===Je&&r(Be)),n!==k?(o=We,i=We,a=C(),a!==k?(u=C(),u!==k?(s=C(),s!==k?(c=C(),c!==k?(a=[a,u,s,c],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i!==k&&(i=t.substring(o,We)),o=i,o!==k?(Ye=e,n=He(o),e=n):(We=e,e=N)):(We=e,e=N)))))),e}function T(){var e,t,n;if(e=We,t=[],(n=O())!==k)for(;n!==k;)t.push(n),n=O();else t=N;return t!==k&&(Ye=e,t=Ze(t)),e=t}var P,A=arguments.length>1?arguments[1]:{},k={},R={start:i},M=i,j=function(e){return{type:"messageFormatPattern",elements:e}},N=k,D=function(e){var t,n,r,o,i,a="";for(t=0,r=e.length;t=0)return!0;if("string"==typeof e){var t=/s$/.test(e)&&e.substr(0,e.length-1);if(t&&a.arrIndexOf.call(u,t)>=0)throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+t)}throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+u.join('", "')+'"')},r.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(r.defaultLocale);var t,n,o,i,a=r.__localeData__;for(t=0,n=e.length;t=0)return e;throw new Error('"'+e+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+s.join('", "')+'"')},r.prototype._selectUnits=function(e){var t,n,o;for(t=0,n=u.length;t0,n=f.default.Children.count(this.props.children);return this.props.component||n>1||"string"==typeof this.props.children||Array.isArray(this.props.children)&&1==n||void 0===this.props.children?f.default.createElement(this.props.component||"div",e,this.props.children):t?f.default.cloneElement(this.props.children,e):n?this.props.children:null}}]),t}(f.default.Component);O.displayName="MediaQuery",O.defaultProps={values:{}},t.default=O,e.exports=t.default},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(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(){g&&d&&(g=!1,d.length?h=d.concat(h):y=-1,h.length&&u())}function u(){if(!g){var e=o(a);g=!0;for(var t=h.length;t;){for(d=h,h=[];++y1)for(var n=1;n1?t-1:0),r=1;r2?r-2:0),i=2;i=u;case"max":return s<=u;default:return s===u}});return u&&!n||!u&&n})}function r(e){return e.split(",").map(function(e){e=e.trim();var t=e.match(u),n=t[1],r=t[2],o=t[3]||"",i={};return i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map(function(e){var t=e.match(s),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}}),i})}function o(e){var t,n=Number(e);return n||(t=e.match(/^(\d+)\s*\/\s*(\d+)$/),n=t[1]/t[2]),n}function i(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function a(e){var t=parseFloat(e);switch(String(e).match(l)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=n,t.parse=r;var u=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,s=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,l=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";function r(e,t){function n(e){s&&s.addListener(e)}function r(e){s&&s.removeListener(e)}function o(e){u.matches=e.matches,u.media=e.media}var u=this;if(a){var s=a.call(window,e);this.matches=s.matches,this.media=s.media,s.addListener(o)}else this.matches=i(e,t),this.media=e;this.addListener=n,this.removeListener=r}function o(e,t){return new r(e,t)}var i=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=o},function(e,t,n){(function(t){"use strict";function r(e,n,r,s,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{o("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",r,l),f=e[l](n,l,s,r,null,a)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",r,l,typeof f),f instanceof Error&&!(f.message in u)){u[f.message]=!0;var p=c?c():"";i(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(3),i=n(5),a=n(8),u={};e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var r=n(2),o=n(3);e.exports=function(){function e(){o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){(function(t){"use strict";var r=n(2),o=n(3),i=n(5),a=n(8),u=n(12);e.exports=function(e,n){function s(e){var t=e&&(C&&e[C]||e[S]);if("function"==typeof t)return t}function c(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function f(e){function r(r,c,f,p,d,h,g){if(p=p||O,h=h||f,g!==a)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=p+":"+f;!u[y]&&s<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),u[y]=!0,s++)}return null==c[f]?r?new l(null===c[f]?"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(c,f,p,d,h)}if("production"!==t.env.NODE_ENV)var u={},s=0;var c=r.bind(null,!1);return c.isRequired=r.bind(null,!0),c}function p(e){function t(t,n,r,o,i,a){var u=t[n];if(x(u)!==e)return new l("Invalid "+o+" `"+i+"` of type `"+w(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){return new l("Invalid "+o+" `"+i+"` of type `"+x(u)+"` supplied to `"+r+"`, expected an array.")}for(var s=0;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=(n.n(c),n(88)),f=n.n(l),p=Object.assign||function(e){for(var t=1;te.props.value.length&&e.clearOptions(),e.props.onChange(t)}};return n(s({},this.props,c,{isLoading:a,onInputChange:this._onInputChange}))}}]),t}(f.Component);t.default=w,w.propTypes=b,w.defaultProps=x,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(e).reduce(function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t},t)}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement(b.default,e)}function a(e){var t=e.option,n=e.options,r=e.labelKey,o=e.valueKey;return 0===n.filter(function(e){return e[r]===t[r]||e[o]===t[o]}).length}function u(e){return!!e.label}function s(e){var t=e.label,n=e.labelKey,r=e.valueKey,o={};return o[r]=t,o[n]=t,o.className="Select-create-option-placeholder",o}function c(e){return'Create option "'+e+'"'}function l(e){switch(e.keyCode){case 9:case 13:case 188:return!0}return!1}var f=Object.assign||function(e){for(var t=1;t0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(n.substring(o-=u,o+u)),!((s+=u+1)>r));)u=e[a=(a+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";t.a=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";t.a=function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";var r=n(131);t.a=function(e,t){var n=r.a(e,t);if(!n)return e+"";var o=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+new Array(i-o.length+2).join("0")}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(90);t.a=function(e){return Math.max(0,-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r.a(t)/3)))-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,r.a(t)-r.a(e))+1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(){return{}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(563),p=function(){function e(e,t){for(var n=0;n requires either a `to` or `onClick` prop");var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleClick=r.handleClick.bind(r),r.focus=r.focus.bind(r),r}return a(t,e),p(t,[{key:"focus",value:function(){this.link.focus()}},{key:"handleClick",value:function(e){e.preventDefault(),this.props.disabled||(this.props.to?f.a(this.props.to):this.props.onClick(e))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=t.to,i=t.children,a=t.className,u=t.disabled,c=r(t,["tagName","to","children","className","disabled"]);return c.href||"a"!==n||(c.href=o||"#!"),c.role||(o&&"a"!==n?c.role="link":o||(c.role="button")),c.className="cf-link",u&&(c.className+=" cf-link--disabled",c.disabled=!0),a&&(c.className+=" "+a),c.onClick=this.handleClick,c.ref=function(t){return e.link=t},s.a.createElement(n,c,i)}}]),t}(s.a.Component);d.propTypes={to:l.a.string,onClick:l.a.func,tagName:l.a.string,disabled:l.a.bool,className:l.a.string,children:l.a.node},d.defaultProps={tagName:"a"},t.a=d},function(e,t,n){"use strict";var r=n(564);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){if(!o)return void console.error("Warning: Route Handler: A handler needs to be setup before you can route");o(e)}t.a=r;var o=void 0},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n0&&e(t[o],n[o],r)})}(f,this,this)}function s(e){var t=this;t.d3=i.d3?i.d3:n(226),t.api=e,t.config=t.getDefaultConfig(),t.data={},t.cache={},t.axes={}}function c(e){a.call(this,e)}function l(e,t){function n(e,t){e.attr("transform",function(e){return"translate("+Math.ceil(t(e)+_)+", 0)"})}function r(e,t){e.attr("transform",function(e){return"translate(0,"+Math.ceil(t(e))+")"})}function o(e){var t=e[0],n=e[e.length-1];return t0&&r[0]>0&&r.unshift(r[0]-(r[1]-r[0])),r}function a(){var e,n=g.copy();return t.isCategory&&(e=g.domain(),n.domain([e[0],e[1]-1])),n}function u(e){var t=p?p(e):e;return void 0!==t?t:""}function s(e){if(A)return A;var t={h:11.5,w:5.5};return e.select("text").text(u).each(function(e){var n=this.getBoundingClientRect(),r=u(e),o=n.height,i=r?n.width/r.length:void 0;o&&i&&(t.h=o,t.w=i)}).text(""),A=t,t}function c(n){return t.withoutTransition?n:e.transition(n)}function l(p){p.each(function(){function p(e,n){function r(e,t){i=void 0;for(var u=1;u0?1:-1):B}(Z)).style("text-anchor",function(e){return e?e>0?"start":"end":"middle"}(Z)).attr("transform",function(e){return e?"rotate("+e+")":""}(Z)),U.attr("x",0).attr("dy",d).attr("dx",function(e){return e?8*Math.sin(Math.PI*(e/180)):0}(Z)),D.attr("d","M"+j[0]+","+f+"V0H"+j[1]+"V"+f);break;case"top":w=n,L.attr("y2",-m),F.attr("y",-B),I.attr("x2",0).attr("y2",-m),z.attr("x",0).attr("y",-B),V.style("text-anchor","middle"),U.attr("x",0).attr("dy","0em"),D.attr("d","M"+j[0]+","+-f+"V0H"+j[1]+"V"+-f);break;case"left":w=r,L.attr("x2",-m),F.attr("x",-B),I.attr("x2",-m).attr("y1",C).attr("y2",C),z.attr("x",-B).attr("y",_),V.style("text-anchor","end"),U.attr("x",-B).attr("dy",d),D.attr("d","M"+-f+","+j[0]+"H0V"+j[1]+"H"+-f);break;case"right":w=r,L.attr("x2",m),F.attr("x",B),I.attr("x2",m).attr("y2",0),z.attr("x",B).attr("y",0),V.style("text-anchor","start"),U.attr("x",B).attr("dy",d),D.attr("d","M"+f+","+j[0]+"H0V"+j[1]+"H"+f)}if(T.rangeBand){var W=T,Y=W.rangeBand()/2;O=T=function(e){return W(e)+Y}}else O.rangeBand?O=T:R.call(w,T);k.call(w,O),M.call(w,T)})}var f,p,d,h,g=e.scale.linear(),y="bottom",m=6,v=3,b=null,_=0,x=!0;return t=t||{},f=t.withOuterTick?6:0,l.scale=function(e){return arguments.length?(g=e,l):g},l.orient=function(e){return arguments.length?(y=e in{top:1,right:1,bottom:1,left:1}?e+"":"bottom",l):y},l.tickFormat=function(e){return arguments.length?(p=e,l):p},l.tickCentered=function(e){return arguments.length?(h=e,l):h},l.tickOffset=function(){return _},l.tickInterval=function(){var e,n;return t.isCategory?e=2*_:(n=l.g.select("path.domain").node().getTotalLength()-2*f,e=n/l.g.selectAll("line").size()),e===1/0?0:e},l.ticks=function(){return arguments.length?(d=arguments,l):d},l.tickCulling=function(e){return arguments.length?(x=e,l):x},l.tickValues=function(e){if("function"==typeof e)b=function(){return e(g.domain())};else{if(!arguments.length)return b;b=e}return l},l}var f,p,d={version:"0.4.11"};d.generate=function(e){return new u(e)},d.chart={fn:u.prototype,internal:{fn:s.prototype,axis:{fn:c.prototype}}},f=d.chart.fn,p=d.chart.internal.fn,d.chart.internal.axis.fn,p.beforeInit=function(){},p.afterInit=function(){},p.init=function(){var e=this,t=e.config;if(e.initParams(),t.data_url)e.convertUrlToData(t.data_url,t.data_mimeType,t.data_headers,t.data_keys,e.initWithData);else if(t.data_json)e.initWithData(e.convertJsonToData(t.data_json,t.data_keys));else if(t.data_rows)e.initWithData(e.convertRowsToData(t.data_rows));else{if(!t.data_columns)throw Error("url or json or rows or columns is required.");e.initWithData(e.convertColumnsToData(t.data_columns))}},p.initParams=function(){var e=this,t=e.d3,n=e.config;e.clipId="c3-"+ +new Date+"-clip",e.clipIdForXAxis=e.clipId+"-xaxis",e.clipIdForYAxis=e.clipId+"-yaxis",e.clipIdForGrid=e.clipId+"-grid",e.clipIdForSubchart=e.clipId+"-subchart",e.clipPath=e.getClipPath(e.clipId),e.clipPathForXAxis=e.getClipPath(e.clipIdForXAxis),e.clipPathForYAxis=e.getClipPath(e.clipIdForYAxis),e.clipPathForGrid=e.getClipPath(e.clipIdForGrid),e.clipPathForSubchart=e.getClipPath(e.clipIdForSubchart),e.dragStart=null,e.dragging=!1,e.flowing=!1,e.cancelClick=!1,e.mouseover=!1,e.transiting=!1,e.color=e.generateColor(),e.levelColor=e.generateLevelColor(),e.dataTimeFormat=n.data_xLocaltime?t.time.format:t.time.format.utc,e.axisTimeFormat=n.axis_x_localtime?t.time.format:t.time.format.utc,e.defaultAxisTimeFormat=e.axisTimeFormat.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%-m/%-d",function(e){return e.getDay()&&1!==e.getDate()}],["%-m/%-d",function(e){return 1!==e.getDate()}],["%-m/%-d",function(e){return e.getMonth()}],["%Y/%-m/%-d",function(){return!0}]]),e.hiddenTargetIds=[],e.hiddenLegendIds=[],e.focusedTargetIds=[],e.defocusedTargetIds=[],e.xOrient=n.axis_rotated?"left":"bottom",e.yOrient=n.axis_rotated?n.axis_y_inner?"top":"bottom":n.axis_y_inner?"right":"left",e.y2Orient=n.axis_rotated?n.axis_y2_inner?"bottom":"top":n.axis_y2_inner?"left":"right",e.subXOrient=n.axis_rotated?"left":"bottom",e.isLegendRight="right"===n.legend_position,e.isLegendInset="inset"===n.legend_position,e.isLegendTop="top-left"===n.legend_inset_anchor||"top-right"===n.legend_inset_anchor,e.isLegendLeft="top-left"===n.legend_inset_anchor||"bottom-left"===n.legend_inset_anchor,e.legendStep=0,e.legendItemWidth=0,e.legendItemHeight=0,e.currentMaxTickWidths={x:0,y:0,y2:0},e.rotated_padding_left=30,e.rotated_padding_right=n.axis_rotated&&!n.axis_x_show?0:30,e.rotated_padding_top=5,e.withoutFadeIn={},e.intervalForObserveInserted=void 0,e.axes.subx=t.selectAll([])},p.initChartElements=function(){this.initBar&&this.initBar(),this.initLine&&this.initLine(),this.initArc&&this.initArc(),this.initGauge&&this.initGauge(),this.initText&&this.initText()},p.initWithData=function(e){var t,n,r=this,o=r.d3,i=r.config,a=!0;r.axis=new c(r),r.initPie&&r.initPie(),r.initBrush&&r.initBrush(),r.initZoom&&r.initZoom(),i.bindto?"function"==typeof i.bindto.node?r.selectChart=i.bindto:r.selectChart=o.select(i.bindto):r.selectChart=o.selectAll([]),r.selectChart.empty()&&(r.selectChart=o.select(document.createElement("div")).style("opacity",0),r.observeInserted(r.selectChart),a=!1),r.selectChart.html("").classed("c3",!0),r.data.xs={},r.data.targets=r.convertDataToTargets(e),i.data_filter&&(r.data.targets=r.data.targets.filter(i.data_filter)),i.data_hide&&r.addHiddenTargetIds(!0===i.data_hide?r.mapToIds(r.data.targets):i.data_hide),i.legend_hide&&r.addHiddenLegendIds(!0===i.legend_hide?r.mapToIds(r.data.targets):i.legend_hide),r.hasType("gauge")&&(i.legend_show=!1),r.updateSizes(),r.updateScales(),r.x.domain(o.extent(r.getXDomain(r.data.targets))),r.y.domain(r.getYDomain(r.data.targets,"y")),r.y2.domain(r.getYDomain(r.data.targets,"y2")),r.subX.domain(r.x.domain()),r.subY.domain(r.y.domain()),r.subY2.domain(r.y2.domain()),r.orgXDomain=r.x.domain(),r.brush&&r.brush.scale(r.subX),i.zoom_enabled&&r.zoom.scale(r.x),r.svg=r.selectChart.append("svg").style("overflow","hidden").on("mouseenter",function(){return i.onmouseover.call(r)}).on("mouseleave",function(){return i.onmouseout.call(r)}),r.config.svg_classname&&r.svg.attr("class",r.config.svg_classname),t=r.svg.append("defs"),r.clipChart=r.appendClip(t,r.clipId),r.clipXAxis=r.appendClip(t,r.clipIdForXAxis),r.clipYAxis=r.appendClip(t,r.clipIdForYAxis),r.clipGrid=r.appendClip(t,r.clipIdForGrid),r.clipSubchart=r.appendClip(t,r.clipIdForSubchart),r.updateSvgSize(),n=r.main=r.svg.append("g").attr("transform",r.getTranslate("main")),r.initSubchart&&r.initSubchart(),r.initTooltip&&r.initTooltip(),r.initLegend&&r.initLegend(),r.initTitle&&r.initTitle(),n.append("text").attr("class",h.text+" "+h.empty).attr("text-anchor","middle").attr("dominant-baseline","middle"),r.initRegion(),r.initGrid(),n.append("g").attr("clip-path",r.clipPath).attr("class",h.chart),i.grid_lines_front&&r.initGridLines(),r.initEventRect(),r.initChartElements(),n.insert("rect",i.zoom_privileged?null:"g."+h.regions).attr("class",h.zoomRect).attr("width",r.width).attr("height",r.height).style("opacity",0).on("dblclick.zoom",null),i.axis_x_extent&&r.brush.extent(r.getDefaultExtent()),r.axis.init(),r.updateTargets(r.data.targets),a&&(r.updateDimension(),r.config.oninit.call(r),r.redraw({withTransition:!1,withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransitionForAxis:!1})),r.bindResize(),r.api.element=r.selectChart.node()},p.smoothLines=function(e,t){var n=this;"grid"===t&&e.each(function(){var e=n.d3.select(this),t=e.attr("x1"),r=e.attr("x2"),o=e.attr("y1"),i=e.attr("y2");e.attr({x1:Math.ceil(t),x2:Math.ceil(r),y1:Math.ceil(o),y2:Math.ceil(i)})})},p.updateSizes=function(){var e=this,t=e.config,n=e.legend?e.getLegendHeight():0,r=e.legend?e.getLegendWidth():0,o=e.isLegendRight||e.isLegendInset?0:n,i=e.hasArcType(),a=t.axis_rotated||i?0:e.getHorizontalAxisHeight("x"),u=t.subchart_show&&!i?t.subchart_size_height+a:0;e.currentWidth=e.getCurrentWidth(),e.currentHeight=e.getCurrentHeight(),e.margin=t.axis_rotated?{top:e.getHorizontalAxisHeight("y2")+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:e.getHorizontalAxisHeight("y")+o+e.getCurrentPaddingBottom(),left:u+(i?0:e.getCurrentPaddingLeft())}:{top:4+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:a+u+o+e.getCurrentPaddingBottom(),left:i?0:e.getCurrentPaddingLeft()},e.margin2=t.axis_rotated?{top:e.margin.top,right:NaN,bottom:20+o,left:e.rotated_padding_left}:{top:e.currentHeight-u-o,right:NaN,bottom:a+o,left:e.margin.left},e.margin3={top:0,right:NaN,bottom:0,left:0},e.updateSizeForLegend&&e.updateSizeForLegend(n,r),e.width=e.currentWidth-e.margin.left-e.margin.right,e.height=e.currentHeight-e.margin.top-e.margin.bottom,e.width<0&&(e.width=0),e.height<0&&(e.height=0),e.width2=t.axis_rotated?e.margin.left-e.rotated_padding_left-e.rotated_padding_right:e.width,e.height2=t.axis_rotated?e.height:e.currentHeight-e.margin2.top-e.margin2.bottom,e.width2<0&&(e.width2=0),e.height2<0&&(e.height2=0),e.arcWidth=e.width-(e.isLegendRight?r+10:0),e.arcHeight=e.height-(e.isLegendRight?0:10),e.hasType("gauge")&&!t.gauge_fullCircle&&(e.arcHeight+=e.height-e.getGaugeLabelHeight()),e.updateRadius&&e.updateRadius(),e.isLegendRight&&i&&(e.margin3.left=e.arcWidth/2+1.1*e.radiusExpanded)},p.updateTargets=function(e){var t=this;t.updateTargetsForText(e),t.updateTargetsForBar(e),t.updateTargetsForLine(e),t.hasArcType()&&t.updateTargetsForArc&&t.updateTargetsForArc(e),t.updateTargetsForSubchart&&t.updateTargetsForSubchart(e),t.showTargets()},p.showTargets=function(){var e=this;e.svg.selectAll("."+h.target).filter(function(t){return e.isTargetToShow(t.id)}).transition().duration(e.config.transition_duration).style("opacity",1)},p.redraw=function(e,t){var n,r,o,i,a,u,s,c,l,f,p,d,g,y,m,v,b,_,x,w,E,C,O,T,P,A,k,R,M,j=this,N=j.main,D=j.d3,L=j.config,I=j.getShapeIndices(j.isAreaType),F=j.getShapeIndices(j.isBarType),z=j.getShapeIndices(j.isLineType),V=j.hasArcType(),U=j.filterTargetsToShow(j.data.targets),G=j.xv.bind(j);if(e=e||{},n=S(e,"withY",!0),r=S(e,"withSubchart",!0),o=S(e,"withTransition",!0),u=S(e,"withTransform",!1),s=S(e,"withUpdateXDomain",!1),c=S(e,"withUpdateOrgXDomain",!1),l=S(e,"withTrimXDomain",!0),g=S(e,"withUpdateXAxis",s),f=S(e,"withLegend",!1),p=S(e,"withEventRect",!0),d=S(e,"withDimension",!0),i=S(e,"withTransitionForExit",o),a=S(e,"withTransitionForAxis",o),x=o?L.transition_duration:0,w=i?x:0,E=a?x:0,t=t||j.axis.generateTransitions(E),f&&L.legend_show?j.updateLegend(j.mapToIds(j.data.targets),e,t):d&&j.updateDimension(!0),j.isCategorized()&&0===U.length&&j.x.domain([0,j.axes.x.selectAll(".tick").size()]),U.length?(j.updateXDomain(U,s,c,l),L.axis_x_tick_values||(T=j.axis.updateXAxisTickValues(U))):(j.xAxis.tickValues([]),j.subXAxis.tickValues([])),L.zoom_rescale&&!e.flow&&(k=j.x.orgDomain()),j.y.domain(j.getYDomain(U,"y",k)),j.y2.domain(j.getYDomain(U,"y2",k)),!L.axis_y_tick_values&&L.axis_y_tick_count&&j.yAxis.tickValues(j.axis.generateTickValues(j.y.domain(),L.axis_y_tick_count)),!L.axis_y2_tick_values&&L.axis_y2_tick_count&&j.y2Axis.tickValues(j.axis.generateTickValues(j.y2.domain(),L.axis_y2_tick_count)),j.axis.redraw(t,V),j.axis.updateLabels(o),(s||g)&&U.length)if(L.axis_x_tick_culling&&T){for(P=1;P=0&&D.select(this).style("display",t%A?"none":"block")})}else j.svg.selectAll("."+h.axisX+" .tick text").style("display","block");y=j.generateDrawArea?j.generateDrawArea(I,!1):void 0,m=j.generateDrawBar?j.generateDrawBar(F):void 0,v=j.generateDrawLine?j.generateDrawLine(z,!1):void 0,b=j.generateXYForText(I,F,z,!0),_=j.generateXYForText(I,F,z,!1),n&&(j.subY.domain(j.getYDomain(U,"y")),j.subY2.domain(j.getYDomain(U,"y2"))),j.updateXgridFocus(),N.select("text."+h.text+"."+h.empty).attr("x",j.width/2).attr("y",j.height/2).text(L.data_empty_label_text).transition().style("opacity",U.length?0:1),j.updateGrid(x),j.updateRegion(x),j.updateBar(w),j.updateLine(w),j.updateArea(w),j.updateCircle(),j.hasDataLabel()&&j.updateText(w),j.redrawTitle&&j.redrawTitle(),j.redrawArc&&j.redrawArc(x,w,u),j.redrawSubchart&&j.redrawSubchart(r,t,x,w,I,F,z),N.selectAll("."+h.selectedCircles).filter(j.isBarType.bind(j)).selectAll("circle").remove(),L.interaction_enabled&&!e.flow&&p&&(j.redrawEventRect(),j.updateZoom&&j.updateZoom()),j.updateCircleY(),R=(j.config.axis_rotated?j.circleY:j.circleX).bind(j),M=(j.config.axis_rotated?j.circleX:j.circleY).bind(j),e.flow&&(O=j.generateFlow({targets:U,flow:e.flow,duration:e.flow.duration,drawBar:m,drawLine:v,drawArea:y,cx:R,cy:M,xv:G,xForText:b,yForText:_})),(x||O)&&j.isTabVisible()?D.transition().duration(x).each(function(){var t=[];[j.redrawBar(m,!0),j.redrawLine(v,!0),j.redrawArea(y,!0),j.redrawCircle(R,M,!0),j.redrawText(b,_,e.flow,!0),j.redrawRegion(!0),j.redrawGrid(!0)].forEach(function(e){e.forEach(function(e){t.push(e)})}),C=j.generateWait(),t.forEach(function(e){C.add(e)})}).call(C,function(){O&&O(),L.onrendered&&L.onrendered.call(j)}):(j.redrawBar(m),j.redrawLine(v),j.redrawArea(y),j.redrawCircle(R,M),j.redrawText(b,_,e.flow),j.redrawRegion(),j.redrawGrid(),L.onrendered&&L.onrendered.call(j)),j.mapToIds(j.data.targets).forEach(function(e){j.withoutFadeIn[e]=!0})},p.updateAndRedraw=function(e){var t,n=this,r=n.config;e=e||{},e.withTransition=S(e,"withTransition",!0),e.withTransform=S(e,"withTransform",!1),e.withLegend=S(e,"withLegend",!1),e.withUpdateXDomain=!0,e.withUpdateOrgXDomain=!0,e.withTransitionForExit=!1,e.withTransitionForTransform=S(e,"withTransitionForTransform",e.withTransition),n.updateSizes(),e.withLegend&&r.legend_show||(t=n.axis.generateTransitions(e.withTransitionForAxis?r.transition_duration:0),n.updateScales(),n.updateSvgSize(),n.transformAll(e.withTransitionForTransform,t)),n.redraw(e,t)},p.redrawWithoutRescale=function(){this.redraw({withY:!1,withSubchart:!1,withEventRect:!1,withTransitionForAxis:!1})},p.isTimeSeries=function(){return"timeseries"===this.config.axis_x_type},p.isCategorized=function(){return this.config.axis_x_type.indexOf("categor")>=0},p.isCustomX=function(){var e=this,t=e.config;return!e.isTimeSeries()&&(t.data_x||C(t.data_xs))},p.isTimeSeriesY=function(){return"timeseries"===this.config.axis_y_type},p.getTranslate=function(e){var t,n,r=this,o=r.config;return"main"===e?(t=x(r.margin.left),n=x(r.margin.top)):"context"===e?(t=x(r.margin2.left),n=x(r.margin2.top)):"legend"===e?(t=r.margin3.left,n=r.margin3.top):"x"===e?(t=0,n=o.axis_rotated?0:r.height):"y"===e?(t=0,n=o.axis_rotated?r.height:0):"y2"===e?(t=o.axis_rotated?0:r.width,n=o.axis_rotated?1:0):"subx"===e?(t=0,n=o.axis_rotated?0:r.height2):"arc"===e&&(t=r.arcWidth/2,n=r.arcHeight/2),"translate("+t+","+n+")"},p.initialOpacity=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?1:0},p.initialOpacityForCircle=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?this.opacityForCircle(e):0},p.opacityForCircle=function(e){var t=this.config.point_show?1:0;return g(e.value)?this.isScatterType(e)?.5:t:0},p.opacityForText=function(){return this.hasDataLabel()?1:0},p.xx=function(e){return e?this.x(e.x):null},p.xv=function(e){var t=this,n=e.value;return t.isTimeSeries()?n=t.parseDate(e.value):t.isCategorized()&&"string"==typeof e.value&&(n=t.config.axis_x_categories.indexOf(e.value)),Math.ceil(t.x(n))},p.yv=function(e){var t=this,n=e.axis&&"y2"===e.axis?t.y2:t.y;return Math.ceil(n(e.value))},p.subxx=function(e){return e?this.subX(e.x):null},p.transformMain=function(e,t){var n,r,o,i=this;t&&t.axisX?n=t.axisX:(n=i.main.select("."+h.axisX),e&&(n=n.transition())),t&&t.axisY?r=t.axisY:(r=i.main.select("."+h.axisY),e&&(r=r.transition())),t&&t.axisY2?o=t.axisY2:(o=i.main.select("."+h.axisY2),e&&(o=o.transition())),(e?i.main.transition():i.main).attr("transform",i.getTranslate("main")),n.attr("transform",i.getTranslate("x")),r.attr("transform",i.getTranslate("y")),o.attr("transform",i.getTranslate("y2")),i.main.select("."+h.chartArcs).attr("transform",i.getTranslate("arc"))},p.transformAll=function(e,t){var n=this;n.transformMain(e,t),n.config.subchart_show&&n.transformContext(e,t),n.legend&&n.transformLegend(e)},p.updateSvgSize=function(){var e=this,t=e.svg.select(".c3-brush .background");e.svg.attr("width",e.currentWidth).attr("height",e.currentHeight),e.svg.selectAll(["#"+e.clipId,"#"+e.clipIdForGrid]).select("rect").attr("width",e.width).attr("height",e.height),e.svg.select("#"+e.clipIdForXAxis).select("rect").attr("x",e.getXAxisClipX.bind(e)).attr("y",e.getXAxisClipY.bind(e)).attr("width",e.getXAxisClipWidth.bind(e)).attr("height",e.getXAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForYAxis).select("rect").attr("x",e.getYAxisClipX.bind(e)).attr("y",e.getYAxisClipY.bind(e)).attr("width",e.getYAxisClipWidth.bind(e)).attr("height",e.getYAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForSubchart).select("rect").attr("width",e.width).attr("height",t.size()?t.attr("height"):0),e.svg.select("."+h.zoomRect).attr("width",e.width).attr("height",e.height),e.selectChart.style("max-height",e.currentHeight+"px")},p.updateDimension=function(e){var t=this;e||(t.config.axis_rotated?(t.axes.x.call(t.xAxis),t.axes.subx.call(t.subXAxis)):(t.axes.y.call(t.yAxis),t.axes.y2.call(t.y2Axis))),t.updateSizes(),t.updateScales(),t.updateSvgSize(),t.transformAll(!1)},p.observeInserted=function(e){var t,n=this;if("undefined"==typeof MutationObserver)return void i.console.error("MutationObserver not defined.");t=new MutationObserver(function(r){r.forEach(function(r){"childList"===r.type&&r.previousSibling&&(t.disconnect(),n.intervalForObserveInserted=i.setInterval(function(){e.node().parentNode&&(i.clearInterval(n.intervalForObserveInserted),n.updateDimension(),n.brush&&n.brush.update(),n.config.oninit.call(n),n.redraw({withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransition:!1,withTransitionForTransform:!1,withLegend:!0}),e.transition().style("opacity",1))},10))})}),t.observe(e.node(),{attributes:!0,childList:!0,characterData:!0})},p.bindResize=function(){var e=this,t=e.config;if(e.resizeFunction=e.generateResize(),e.resizeFunction.add(function(){t.onresize.call(e)}),t.resize_auto&&e.resizeFunction.add(function(){void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),e.resizeTimeout=i.setTimeout(function(){delete e.resizeTimeout,e.api.flush()},100)}),e.resizeFunction.add(function(){t.onresized.call(e)}),i.attachEvent)i.attachEvent("onresize",e.resizeFunction);else if(i.addEventListener)i.addEventListener("resize",e.resizeFunction,!1);else{var n=i.onresize;n?n.add&&n.remove||(n=e.generateResize(),n.add(i.onresize)):n=e.generateResize(),n.add(e.resizeFunction),i.onresize=n}},p.generateResize=function(){function e(){t.forEach(function(e){e()})}var t=[];return e.add=function(e){t.push(e)},e.remove=function(e){for(var n=0;n0)for(a=u.hasNegativeValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e<0?e:0}),n=1;n0||(l[r][t]+=+e)});return u.d3.min(Object.keys(l).map(function(e){return u.d3.min(l[e])}))},p.getYDomainMax=function(e){var t,n,r,o,i,a,u=this,s=u.config,c=u.mapToIds(e),l=u.getValuesAsIdKeyed(e);if(s.data_groups.length>0)for(a=u.hasPositiveValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e>0?e:0}),n=1;n=0&&x>=0,p=_<=0&&x<=0,(g(v)&&f||g(b)&&p)&&(S=!1),S&&(f&&(_=0),p&&(x=0)),o=Math.abs(x-_),i=a=.1*o,void 0!==E&&(u=Math.max(Math.abs(_),Math.abs(x)),x=E+u,_=E-u),T?(s=d.getDataLabelLength(_,x,"width"),c=w(d.y.range()),l=[s[0]/c,s[1]/c],i+=o*(l[1]/(1-l[0]-l[1])),a+=o*(l[0]/(1-l[0]-l[1]))):P&&(s=d.getDataLabelLength(_,x,"height"),i+=d.axis.convertPixelsToAxisPadding(s[1],o),a+=d.axis.convertPixelsToAxisPadding(s[0],o)),"y"===t&&C(h.axis_y_padding)&&(i=d.axis.getPadding(h.axis_y_padding,"top",i,o),a=d.axis.getPadding(h.axis_y_padding,"bottom",a,o)),"y2"===t&&C(h.axis_y2_padding)&&(i=d.axis.getPadding(h.axis_y2_padding,"top",i,o),a=d.axis.getPadding(h.axis_y2_padding,"bottom",a,o)),S&&(f&&(a=_),p&&(i=-x)),r=[_-a,x+i],O?r.reverse():r)},p.getXDomainMin=function(e){var t=this,n=t.config;return b(n.axis_x_min)?t.isTimeSeries()?this.parseDate(n.axis_x_min):n.axis_x_min:t.d3.min(e,function(e){return t.d3.min(e.values,function(e){return e.x})})},p.getXDomainMax=function(e){var t=this,n=t.config;return b(n.axis_x_max)?t.isTimeSeries()?this.parseDate(n.axis_x_max):n.axis_x_max:t.d3.max(e,function(e){return t.d3.max(e.values,function(e){return e.x})})},p.getXDomainPadding=function(e){var t,n,r,o,i=this,a=i.config,u=e[1]-e[0];return i.isCategorized()?n=0:i.hasType("bar")?(t=i.getMaxDataCount(),n=t>1?u/(t-1)/2:.5):n=.01*u,"object"==typeof a.axis_x_padding&&C(a.axis_x_padding)?(r=g(a.axis_x_padding.left)?a.axis_x_padding.left:n,o=g(a.axis_x_padding.right)?a.axis_x_padding.right:n):r=o="number"==typeof a.axis_x_padding?a.axis_x_padding:n,{left:r,right:o}},p.getXDomain=function(e){var t=this,n=[t.getXDomainMin(e),t.getXDomainMax(e)],r=n[0],o=n[1],i=t.getXDomainPadding(n),a=0,u=0;return r-o!=0||t.isCategorized()||(t.isTimeSeries()?(r=new Date(.5*r.getTime()),o=new Date(1.5*o.getTime())):(r=0===r?1:.5*r,o=0===o?-1:1.5*o)),(r||0===r)&&(a=t.isTimeSeries()?new Date(r.getTime()-i.left):r-i.left),(o||0===o)&&(u=t.isTimeSeries()?new Date(o.getTime()+i.right):o+i.right),[a,u]},p.updateXDomain=function(e,t,n,r,o){var i=this,a=i.config;return n&&(i.x.domain(o||i.d3.extent(i.getXDomain(e))),i.orgXDomain=i.x.domain(),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent(),i.subX.domain(i.x.domain()),i.brush&&i.brush.scale(i.subX)),t&&(i.x.domain(o||(!i.brush||i.brush.empty()?i.orgXDomain:i.brush.extent())),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent()),r&&i.x.domain(i.trimXDomain(i.x.orgDomain())),i.x.domain()},p.trimXDomain=function(e){var t=this.getZoomDomain(),n=t[0],r=t[1];return e[0]<=n&&(e[1]=+e[1]+(n-e[0]),e[0]=n),r<=e[1]&&(e[0]=+e[0]-(e[1]-r),e[1]=r),e},p.isX=function(e){var t=this,n=t.config;return n.data_x&&e===n.data_x||C(n.data_xs)&&O(n.data_xs,e)},p.isNotX=function(e){return!this.isX(e)},p.getXKey=function(e){var t=this,n=t.config;return n.data_x?n.data_x:C(n.data_xs)?n.data_xs[e]:null},p.getXValuesOfXKey=function(e,t){var n,r=this;return(t&&C(t)?r.mapToIds(t):[]).forEach(function(t){r.getXKey(t)===e&&(n=r.data.xs[t])}),n},p.getIndexByX=function(e){var t=this,n=t.filterByX(t.data.targets,e);return n.length?n[0].index:null},p.getXValue=function(e,t){var n=this;return e in n.data.xs&&n.data.xs[e]&&g(n.data.xs[e][t])?n.data.xs[e][t]:t},p.getOtherTargetXs=function(){var e=this,t=Object.keys(e.data.xs);return t.length?e.data.xs[t[0]]:null},p.getOtherTargetX=function(e){var t=this.getOtherTargetXs();return t&&e1},p.isMultipleX=function(){return C(this.config.data_xs)||!this.config.data_xSort||this.hasType("scatter")},p.addName=function(e){var t,n=this;return e&&(t=n.config.data_names[e.id],e.name=void 0!==t?t:e.id),e},p.getValueOnIndex=function(e,t){var n=e.filter(function(e){return e.index===t});return n.length?n[0]:null},p.updateTargetX=function(e,t){var n=this;e.forEach(function(e){e.values.forEach(function(r,o){r.x=n.generateTargetX(t[o],e.id,o)}),n.data.xs[e.id]=t})},p.updateTargetXs=function(e,t){var n=this;e.forEach(function(e){t[e.id]&&n.updateTargetX([e],t[e.id])})},p.generateTargetX=function(e,t,n){var r=this;return r.isTimeSeries()?e?r.parseDate(e):r.parseDate(r.getXValue(t,n)):r.isCustomX()&&!r.isCategorized()?g(e)?+e:r.getXValue(t,n):n},p.cloneTarget=function(e){return{id:e.id,id_org:e.id_org,values:e.values.map(function(e){return{x:e.x,value:e.value,id:e.id}})}},p.updateXs=function(){var e=this;e.data.targets.length&&(e.xs=[],e.data.targets[0].values.forEach(function(t){e.xs[t.index]=t.x}))},p.getPrevX=function(e){var t=this.xs[e-1];return void 0!==t?t:null},p.getNextX=function(e){var t=this.xs[e+1];return void 0!==t?t:null},p.getMaxDataCount=function(){var e=this;return e.d3.max(e.data.targets,function(e){return e.values.length})},p.getMaxDataCountTarget=function(e){var t,n=e.length,r=0;return n>1?e.forEach(function(e){e.values.length>r&&(t=e,r=e.values.length)}):t=n?e[0]:null,t},p.getEdgeX=function(e){var t=this;return e.length?[t.d3.min(e,function(e){return e.values[0].x}),t.d3.max(e,function(e){return e.values[e.values.length-1].x})]:[0,0]},p.mapToIds=function(e){return e.map(function(e){return e.id})},p.mapToTargetIds=function(e){var t=this;return e?[].concat(e):t.mapToIds(t.data.targets)},p.hasTarget=function(e,t){var n,r=this.mapToIds(e);for(n=0;nt?1:e>=t?0:NaN})},p.addHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.concat(e)},p.removeHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.filter(function(t){return e.indexOf(t)<0})},p.addHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.concat(e)},p.removeHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.filter(function(t){return e.indexOf(t)<0})},p.getValuesAsIdKeyed=function(e){var t={};return e.forEach(function(e){t[e.id]=[],e.values.forEach(function(n){t[e.id].push(n.value)})}),t},p.checkValueInTargets=function(e,t){var n,r,o,i=Object.keys(e);for(n=0;n0})},p.isOrderDesc=function(){var e=this.config;return"string"==typeof e.data_order&&"desc"===e.data_order.toLowerCase()},p.isOrderAsc=function(){var e=this.config;return"string"==typeof e.data_order&&"asc"===e.data_order.toLowerCase()},p.orderTargets=function(e){var t=this,n=t.config,r=t.isOrderAsc(),o=t.isOrderDesc();return r||o?e.sort(function(e,t){var n=function(e,t){return e+Math.abs(t.value)},o=e.values.reduce(n,0),i=t.values.reduce(n,0);return r?i-o:o-i}):y(n.data_order)&&e.sort(n.data_order),e},p.filterByX=function(e,t){return this.d3.merge(e.map(function(e){return e.values})).filter(function(e){return e.x-t==0})},p.filterRemoveNull=function(e){return e.filter(function(e){return g(e.value)})},p.filterByXDomain=function(e,t){return e.map(function(e){return{id:e.id,id_org:e.id_org,values:e.values.filter(function(e){return t[0]<=e.x&&e.x<=t[1]})}})},p.hasDataLabel=function(){var e=this.config;return!("boolean"!=typeof e.data_labels||!e.data_labels)||!("object"!=typeof e.data_labels||!C(e.data_labels))},p.getDataLabelLength=function(e,t,n){var r=this,o=[0,0];return r.selectChart.select("svg").selectAll(".dummy").data([e,t]).enter().append("text").text(function(e){return r.dataLabelFormat(e.id)(e)}).each(function(e,t){o[t]=1.3*this.getBoundingClientRect()[n]}).remove(),o},p.isNoneArc=function(e){return this.hasTarget(this.data.targets,e.id)},p.isArc=function(e){return"data"in e&&this.hasTarget(this.data.targets,e.data.id)},p.findSameXOfValues=function(e,t){var n,r=e[t].x,o=[];for(n=t-1;n>=0&&r===e[n].x;n--)o.push(e[n]);for(n=t;n=0?r.data.xs[n]=(t&&r.data.xs[n]?r.data.xs[n]:[]).concat(e.map(function(e){return e[i]}).filter(g).map(function(e,t){return r.generateTargetX(e,n,t)})):o.data_x?r.data.xs[n]=r.getOtherTargetXs():C(o.data_xs)&&(r.data.xs[n]=r.getXValuesOfXKey(i,r.data.targets)):r.data.xs[n]=e.map(function(e,t){return t})}),i.forEach(function(e){if(!r.data.xs[e])throw new Error('x is not defined for id = "'+e+'".')}),n=i.map(function(t,n){var i=o.data_idConverter(t);return{id:i,id_org:t,values:e.map(function(e,a){var u,s=r.getXKey(t),c=e[s],l=null===e[t]||isNaN(e[t])?null:+e[t];return r.isCustomX()&&r.isCategorized()&&0===n&&!v(c)?(0===n&&0===a&&(o.axis_x_categories=[]),-1===(u=o.axis_x_categories.indexOf(c))&&(u=o.axis_x_categories.length,o.axis_x_categories.push(c))):u=r.generateTargetX(c,t,a),(v(e[t])||r.data.xs[t].length<=a)&&(u=void 0),{x:u,value:l,id:i}}).filter(function(e){return b(e.x)})}}),n.forEach(function(e){var t;o.data_xSort&&(e.values=e.values.sort(function(e,t){return(e.x||0===e.x?e.x:1/0)-(t.x||0===t.x?t.x:1/0)})),t=0,e.values.forEach(function(e){e.index=t++}),r.data.xs[e.id].sort(function(e,t){return e-t})}),r.hasNegativeValue=r.hasNegativeValueInTargets(n),r.hasPositiveValue=r.hasPositiveValueInTargets(n),o.data_type&&r.setTargetType(r.mapToIds(n).filter(function(e){return!(e in o.data_types)}),o.data_type),n.forEach(function(e){r.addCache(e.id_org,e)}),n},p.load=function(e,t){var n=this;e&&(t.filter&&(e=e.filter(t.filter)),(t.type||t.types)&&e.forEach(function(e){var r=t.types&&t.types[e.id]?t.types[e.id]:t.type;n.setTargetType(e.id,r)}),n.data.targets.forEach(function(t){for(var n=0;n0?n:320/(e.hasType("gauge")&&!t.gauge_fullCircle?2:1)},p.getCurrentPaddingTop=function(){var e=this,t=e.config,n=g(t.padding_top)?t.padding_top:0;return e.title&&e.title.node()&&(n+=e.getTitlePadding()),n},p.getCurrentPaddingBottom=function(){var e=this.config;return g(e.padding_bottom)?e.padding_bottom:0},p.getCurrentPaddingLeft=function(e){var t=this,n=t.config;return g(n.padding_left)?n.padding_left:n.axis_rotated?n.axis_x_show?Math.max(_(t.getAxisWidthByAxisId("x",e)),40):1:!n.axis_y_show||n.axis_y_inner?t.axis.getYAxisLabelPosition().isOuter?30:1:_(t.getAxisWidthByAxisId("y",e))},p.getCurrentPaddingRight=function(){var e=this,t=e.config,n=e.isLegendRight?e.getLegendWidth()+20:0;return g(t.padding_right)?t.padding_right+1:t.axis_rotated?10+n:!t.axis_y2_show||t.axis_y2_inner?2+n+(e.axis.getY2AxisLabelPosition().isOuter?20:0):_(e.getAxisWidthByAxisId("y2"))+n},p.getParentRectValue=function(e){for(var t,n=this.selectChart.node();n&&"BODY"!==n.tagName;){try{t=n.getBoundingClientRect()[e]}catch(r){"width"===e&&(t=n.offsetWidth)}if(t)break;n=n.parentNode}return t},p.getParentWidth=function(){return this.getParentRectValue("width")},p.getParentHeight=function(){var e=this.selectChart.style("height");return e.indexOf("px")>0?+e.replace("px",""):0},p.getSvgLeft=function(e){var t=this,n=t.config,r=n.axis_rotated||!n.axis_rotated&&!n.axis_y_inner,o=n.axis_rotated?h.axisX:h.axisY,i=t.main.select("."+o).node(),a=i&&r?i.getBoundingClientRect():{right:0},u=t.selectChart.node().getBoundingClientRect(),s=t.hasArcType(),c=a.right-u.left-(s?0:t.getCurrentPaddingLeft(e));return c>0?c:0},p.getAxisWidthByAxisId=function(e,t){var n=this,r=n.axis.getLabelPositionById(e);return n.axis.getMaxTickWidth(e,t)+(r.isInner?20:40)},p.getHorizontalAxisHeight=function(e){var t=this,n=t.config,r=30;return"x"!==e||n.axis_x_show?"x"===e&&n.axis_x_height?n.axis_x_height:"y"!==e||n.axis_y_show?"y2"!==e||n.axis_y2_show?("x"===e&&!n.axis_rotated&&n.axis_x_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_x_tick_rotate)/180)),"y"===e&&n.axis_rotated&&n.axis_y_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_y_tick_rotate)/180)),r+(t.axis.getLabelPositionById(e).isInner?0:10)+("y2"===e?-10:0)):t.rotated_padding_top:!n.legend_show||t.isLegendRight||t.isLegendInset?1:10:8},p.getEventRectWidth=function(){return Math.max(0,this.xAxis.tickInterval())},p.getShapeIndices=function(e){var t,n,r=this,o=r.config,i={},a=0;return r.filterTargetsToShow(r.data.targets.filter(e,r)).forEach(function(e){for(t=0;t=0&&(c+=u(o[a].value)-s))}),c}},p.isWithinShape=function(e,t){var n,r=this,o=r.d3.select(e);return r.isTargetToShow(t.id)?"circle"===e.nodeName?n=r.isStepType(t)?r.isWithinStep(e,r.getYScale(t.id)(t.value)):r.isWithinCircle(e,1.5*r.pointSelectR(t)):"path"===e.nodeName&&(n=!o.classed(h.bar)||r.isWithinBar(e)):n=!1,n},p.getInterpolate=function(e){var t=this,n=t.isInterpolationType(t.config.spline_interpolation_type)?t.config.spline_interpolation_type:"cardinal";return t.isSplineType(e)?n:t.isStepType(e)?t.config.line_step_type:"linear"},p.initLine=function(){this.main.select("."+h.chart).append("g").attr("class",h.chartLines)},p.updateTargetsForLine=function(e){var t,n,r=this,o=r.config,i=r.classChartLine.bind(r),a=r.classLines.bind(r),u=r.classAreas.bind(r),s=r.classCircles.bind(r),c=r.classFocus.bind(r);t=r.main.select("."+h.chartLines).selectAll("."+h.chartLine).data(e).attr("class",function(e){return i(e)+c(e)}),n=t.enter().append("g").attr("class",i).style("opacity",0).style("pointer-events","none"),n.append("g").attr("class",a),n.append("g").attr("class",u),n.append("g").attr("class",function(e){return r.generateClass(h.selectedCircles,e.id)}),n.append("g").attr("class",s).style("cursor",function(e){return o.data_selection_isselectable(e)?"pointer":null}),e.forEach(function(e){r.main.selectAll("."+h.selectedCircles+r.getTargetSelectorSuffix(e.id)).selectAll("."+h.selectedCircle).each(function(t){t.value=e.values[t.index].value})})},p.updateLine=function(e){var t=this;t.mainLine=t.main.selectAll("."+h.lines).selectAll("."+h.line).data(t.lineData.bind(t)),t.mainLine.enter().append("path").attr("class",t.classLine.bind(t)).style("stroke",t.color),t.mainLine.style("opacity",t.initialOpacity.bind(t)).style("shape-rendering",function(e){return t.isStepType(e)?"crispEdges":""}).attr("transform",null),t.mainLine.exit().transition().duration(e).style("opacity",0).remove()},p.redrawLine=function(e,t){return[(t?this.mainLine.transition(Math.random().toString()):this.mainLine).attr("d",e).style("stroke",this.color).style("opacity",1)]},p.generateDrawLine=function(e,t){var n=this,r=n.config,o=n.d3.svg.line(),i=n.generateGetLinePoints(e,t),a=t?n.getSubYScale:n.getYScale,u=function(e){return(t?n.subxx:n.xx).call(n,e)},s=function(e,t){return r.data_groups.length>0?i(e,t)[0][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x(s).y(u):o.x(u).y(s),r.line_connectNull||(o=o.defined(function(e){return null!=e.value})),function(e){var i,u=r.line_connectNull?n.filterRemoveNull(e.values):e.values,s=t?n.x:n.subX,c=a.call(n,e.id),l=0,f=0;return n.isLineType(e)?r.data_regions[e.id]?i=n.lineWithRegions(u,s,c,r.data_regions[e.id]):(n.isStepType(e)&&(u=n.convertValuesToStep(u)),i=o.interpolate(n.getInterpolate(e))(u)):(u[0]&&(l=s(u[0].x),f=c(u[0].value)),i=r.axis_rotated?"M "+f+" "+l:"M "+l+" "+f),i||"M 0 0"}},p.generateGetLinePoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isLineType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?i(e,t)[0][1]:a.call(n,e.id)(n.getAreaBaseValue(e.id))},c=function(e,t){return r.data_groups.length>0?i(e,t)[1][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x0(s).x1(c).y(u):o.x(u).y0(r.area_above?0:s).y1(c),r.line_connectNull||(o=o.defined(function(e){return null!==e.value})),function(e){var t,i=r.line_connectNull?n.filterRemoveNull(e.values):e.values,a=0,u=0;return n.isAreaType(e)?(n.isStepType(e)&&(i=n.convertValuesToStep(i)),t=o.interpolate(n.getInterpolate(e))(i)):(i[0]&&(a=n.x(i[0].x),u=n.getYScale(e.id)(i[0].value)),t=r.axis_rotated?"M "+u+" "+a:"M "+a+" "+u),t||"M 0 0"}},p.getAreaBaseValue=function(){return 0},p.generateGetAreaPoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isAreaType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?(e=n.getShapeIndices(n.isLineType),t=n.generateGetLinePoints(e),n.circleY=function(e,n){return t(e,n)[0][1]}):n.circleY=function(e){return n.getYScale(e.id)(e.value)}},p.getCircles=function(e,t){var n=this;return(t?n.main.selectAll("."+h.circles+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.circle+(g(e)?"-"+e:""))},p.expandCircles=function(e,t,n){var r=this,o=r.pointExpandedR.bind(r);n&&r.unexpandCircles(),r.getCircles(e,t).classed(h.EXPANDED,!0).attr("r",o)},p.unexpandCircles=function(e){var t=this,n=t.pointR.bind(t);t.getCircles(e).filter(function(){return t.d3.select(this).classed(h.EXPANDED)}).classed(h.EXPANDED,!1).attr("r",n)},p.pointR=function(e){var t=this,n=t.config;return t.isStepType(e)?0:y(n.point_r)?n.point_r(e):n.point_r},p.pointExpandedR=function(e){var t=this,n=t.config;return n.point_focus_expand_enabled?n.point_focus_expand_r?n.point_focus_expand_r:1.75*t.pointR(e):t.pointR(e)},p.pointSelectR=function(e){var t=this,n=t.config;return y(n.point_select_r)?n.point_select_r(e):n.point_select_r?n.point_select_r:4*t.pointR(e)},p.isWithinCircle=function(e,t){var n=this.d3,r=n.mouse(e),o=n.select(e),i=+o.attr("cx"),a=+o.attr("cy");return Math.sqrt(Math.pow(i-r[0],2)+Math.pow(a-r[1],2))r.bar_width_max?r.bar_width_max:o},p.getBars=function(e,t){var n=this;return(t?n.main.selectAll("."+h.bars+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.bar+(g(e)?"-"+e:""))},p.expandBars=function(e,t,n){var r=this;n&&r.unexpandBars(),r.getBars(e,t).classed(h.EXPANDED,!0)},p.unexpandBars=function(e){this.getBars(e).classed(h.EXPANDED,!1)},p.generateDrawBar=function(e,t){var n=this,r=n.config,o=n.generateGetBarPoints(e,t);return function(e,t){var n=o(e,t),i=r.axis_rotated?1:0,a=r.axis_rotated?0:1;return"M "+n[0][i]+","+n[0][a]+" L"+n[1][i]+","+n[1][a]+" L"+n[2][i]+","+n[2][a]+" L"+n[3][i]+","+n[3][a]+" z"}},p.generateGetBarPoints=function(e,t){var n=this,r=t?n.subXAxis:n.xAxis,o=e.__max__+1,i=n.getBarW(r,o),a=n.getShapeX(i,o,e,!!t),u=n.getShapeY(!!t),s=n.getShapeOffset(n.isBarType,e,!!t),c=t?n.getSubYScale:n.getYScale;return function(e,t){var r=c.call(n,e.id)(0),o=s(e,t)||r,l=a(e),f=u(e);return n.config.axis_rotated&&(0i.width?r=i.width-a.width:r<0&&(r=4)),r},p.getYForText=function(e,t,n){var r,o=this,i=n.getBoundingClientRect();return o.config.axis_rotated?r=(e[0][0]+e[2][0]+.6*i.height)/2:(r=e[2][1],t.value<0||0===t.value&&!o.hasPositiveValue?(r+=i.height,o.isBarType(t)&&o.isSafari()?r-=3:!o.isBarType(t)&&o.isChrome()&&(r+=3)):r+=o.isBarType(t)?-3:-6),null!==t.value||o.config.axis_rotated||(rthis.height&&(r=this.height-4)),r},p.setTargetType=function(e,t){var n=this,r=n.config;n.mapToTargetIds(e).forEach(function(e){n.withoutFadeIn[e]=t===r.data_types[e],r.data_types[e]=t}),e||(r.data_type=t)},p.hasType=function(e,t){var n=this,r=n.config.data_types,o=!1;return t=t||n.data.targets,t&&t.length?t.forEach(function(t){var n=r[t.id];(n&&n.indexOf(e)>=0||!n&&"line"===e)&&(o=!0)}):Object.keys(r).length?Object.keys(r).forEach(function(t){r[t]===e&&(o=!0)}):o=n.config.data_type===e,o},p.hasArcType=function(e){return this.hasType("pie",e)||this.hasType("donut",e)||this.hasType("gauge",e)},p.isLineType=function(e){var t=this.config,n=m(e)?e:e.id;return!t.data_types[n]||["line","spline","area","area-spline","step","area-step"].indexOf(t.data_types[n])>=0},p.isStepType=function(e){var t=m(e)?e:e.id;return["step","area-step"].indexOf(this.config.data_types[t])>=0},p.isSplineType=function(e){var t=m(e)?e:e.id;return["spline","area-spline"].indexOf(this.config.data_types[t])>=0},p.isAreaType=function(e){var t=m(e)?e:e.id;return["area","area-spline","area-step"].indexOf(this.config.data_types[t])>=0},p.isBarType=function(e){var t=m(e)?e:e.id;return"bar"===this.config.data_types[t]},p.isScatterType=function(e){var t=m(e)?e:e.id;return"scatter"===this.config.data_types[t]},p.isPieType=function(e){var t=m(e)?e:e.id;return"pie"===this.config.data_types[t]},p.isGaugeType=function(e){var t=m(e)?e:e.id;return"gauge"===this.config.data_types[t]},p.isDonutType=function(e){var t=m(e)?e:e.id;return"donut"===this.config.data_types[t]},p.isArcType=function(e){return this.isPieType(e)||this.isDonutType(e)||this.isGaugeType(e)},p.lineData=function(e){return this.isLineType(e)?[e]:[]},p.arcData=function(e){return this.isArcType(e.data)?[e]:[]},p.barData=function(e){return this.isBarType(e)?e.values:[]},p.lineOrScatterData=function(e){return this.isLineType(e)||this.isScatterType(e)?e.values:[]},p.barOrLineData=function(e){return this.isBarType(e)||this.isLineType(e)?e.values:[]},p.isInterpolationType=function(e){return["linear","linear-closed","basis","basis-open","basis-closed","bundle","cardinal","cardinal-open","cardinal-closed","monotone"].indexOf(e)>=0},p.initGrid=function(){var e=this,t=e.config,n=e.d3;e.grid=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid),t.grid_x_show&&e.grid.append("g").attr("class",h.xgrids),t.grid_y_show&&e.grid.append("g").attr("class",h.ygrids),t.grid_focus_show&&e.grid.append("g").attr("class",h.xgridFocus).append("line").attr("class",h.xgridFocus),e.xgrid=n.selectAll([]),t.grid_lines_front||e.initGridLines()},p.initGridLines=function(){var e=this,t=e.d3;e.gridLines=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid+" "+h.gridLines),e.gridLines.append("g").attr("class",h.xgridLines),e.gridLines.append("g").attr("class",h.ygridLines),e.xgridLines=t.selectAll([])},p.updateXGrid=function(e){var t=this,n=t.config,r=t.d3,o=t.generateGridData(n.grid_x_type,t.x),i=t.isCategorized()?t.xAxis.tickOffset():0;t.xgridAttr=n.axis_rotated?{x1:0,x2:t.width,y1:function(e){return t.x(e)-i},y2:function(e){return t.x(e)-i}}:{x1:function(e){return t.x(e)+i},x2:function(e){return t.x(e)+i},y1:0,y2:t.height},t.xgrid=t.main.select("."+h.xgrids).selectAll("."+h.xgrid).data(o),t.xgrid.enter().append("line").attr("class",h.xgrid),e||t.xgrid.attr(t.xgridAttr).style("opacity",function(){return+r.select(this).attr(n.axis_rotated?"y1":"x1")===(n.axis_rotated?t.height:0)?0:1}),t.xgrid.exit().remove()},p.updateYGrid=function(){var e=this,t=e.config,n=e.yAxis.tickValues()||e.y.ticks(t.grid_y_ticks);e.ygrid=e.main.select("."+h.ygrids).selectAll("."+h.ygrid).data(n),e.ygrid.enter().append("line").attr("class",h.ygrid),e.ygrid.attr("x1",t.axis_rotated?e.y:0).attr("x2",t.axis_rotated?e.y:e.width).attr("y1",t.axis_rotated?0:e.y).attr("y2",t.axis_rotated?e.height:e.y),e.ygrid.exit().remove(),e.smoothLines(e.ygrid,"grid")},p.gridTextAnchor=function(e){return e.position?e.position:"end"},p.gridTextDx=function(e){return"start"===e.position?4:"middle"===e.position?0:-4},p.xGridTextX=function(e){return"start"===e.position?-this.height:"middle"===e.position?-this.height/2:0},p.yGridTextX=function(e){return"start"===e.position?0:"middle"===e.position?this.width/2:this.width},p.updateGrid=function(e){var t,n,r,o=this,i=o.main,a=o.config;o.grid.style("visibility",o.hasArcType()?"hidden":"visible"),i.select("line."+h.xgridFocus).style("visibility","hidden"),a.grid_x_show&&o.updateXGrid(),o.xgridLines=i.select("."+h.xgridLines).selectAll("."+h.xgridLine).data(a.grid_x_lines),t=o.xgridLines.enter().append("g").attr("class",function(e){return h.xgridLine+(e.class?" "+e.class:"")}),t.append("line").style("opacity",0),t.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"":"rotate(-90)").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),o.xgridLines.exit().transition().duration(e).style("opacity",0).remove(),a.grid_y_show&&o.updateYGrid(),o.ygridLines=i.select("."+h.ygridLines).selectAll("."+h.ygridLine).data(a.grid_y_lines),n=o.ygridLines.enter().append("g").attr("class",function(e){return h.ygridLine+(e.class?" "+e.class:"")}),n.append("line").style("opacity",0),n.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"rotate(-90)":"").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),r=o.yv.bind(o),o.ygridLines.select("line").transition().duration(e).attr("x1",a.axis_rotated?r:0).attr("x2",a.axis_rotated?r:o.width).attr("y1",a.axis_rotated?0:r).attr("y2",a.axis_rotated?o.height:r).style("opacity",1),o.ygridLines.select("text").transition().duration(e).attr("x",a.axis_rotated?o.xGridTextX.bind(o):o.yGridTextX.bind(o)).attr("y",r).text(function(e){return e.text}).style("opacity",1),o.ygridLines.exit().transition().duration(e).style("opacity",0).remove()},p.redrawGrid=function(e){var t=this,n=t.config,r=t.xv.bind(t),o=t.xgridLines.select("line"),i=t.xgridLines.select("text");return[(e?o.transition():o).attr("x1",n.axis_rotated?0:r).attr("x2",n.axis_rotated?t.width:r).attr("y1",n.axis_rotated?r:0).attr("y2",n.axis_rotated?r:t.height).style("opacity",1),(e?i.transition():i).attr("x",n.axis_rotated?t.yGridTextX.bind(t):t.xGridTextX.bind(t)).attr("y",r).text(function(e){return e.text}).style("opacity",1)]},p.showXGridFocus=function(e){var t=this,n=t.config,r=e.filter(function(e){return e&&g(e.value)}),o=t.main.selectAll("line."+h.xgridFocus),i=t.xx.bind(t);n.tooltip_show&&(t.hasType("scatter")||t.hasArcType()||(o.style("visibility","visible").data([r[0]]).attr(n.axis_rotated?"y1":"x1",i).attr(n.axis_rotated?"y2":"x2",i),t.smoothLines(o,"grid")))},p.hideXGridFocus=function(){this.main.select("line."+h.xgridFocus).style("visibility","hidden")},p.updateXgridFocus=function(){var e=this,t=e.config;e.main.select("line."+h.xgridFocus).attr("x1",t.axis_rotated?0:-10).attr("x2",t.axis_rotated?e.width:-10).attr("y1",t.axis_rotated?-10:0).attr("y2",t.axis_rotated?-10:e.height)},p.generateGridData=function(e,t){var n,r,o,i,a=this,u=[],s=a.main.select("."+h.axisX).selectAll(".tick").size();if("year"===e)for(n=a.getXDomain(),r=n[0].getFullYear(),o=n[1].getFullYear(),i=r;i<=o;i++)u.push(new Date(i+"-01-01 00:00:00"));else u=t.ticks(10),u.length>s&&(u=u.filter(function(e){return(""+e).indexOf(".")<0}));return u},p.getGridFilterToRemove=function(e){return e?function(t){var n=!1;return[].concat(e).forEach(function(e){("value"in e&&t.value===e.value||"class"in e&&t.class===e.class)&&(n=!0)}),n}:function(){return!0}},p.removeGridLines=function(e,t){var n=this,r=n.config,o=n.getGridFilterToRemove(e),i=function(e){return!o(e)},a=t?h.xgridLines:h.ygridLines,u=t?h.xgridLine:h.ygridLine;n.main.select("."+a).selectAll("."+u).filter(o).transition().duration(r.transition_duration).style("opacity",0).remove(),t?r.grid_x_lines=r.grid_x_lines.filter(i):r.grid_y_lines=r.grid_y_lines.filter(i)},p.initTooltip=function(){var e,t=this,n=t.config;if(t.tooltip=t.selectChart.style("position","relative").append("div").attr("class",h.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none"),n.tooltip_init_show){if(t.isTimeSeries()&&m(n.tooltip_init_x)){for(n.tooltip_init_x=t.parseDate(n.tooltip_init_x),e=0;e0&&r>0&&(n=e?y.indexOf(e.id):null,r=t?y.indexOf(t.id):null),g?n-r:r-n})}for(i=0;i"+(a||0===a?""+a+"":"")),void 0!==(u=T(h(e[i].value,e[i].ratio,e[i].id,e[i].index,e))))){if(null===e[i].name)continue;s=T(d(e[i].name,e[i].ratio,e[i].id,e[i].index)),c=l.levelColor?l.levelColor(e[i].value):r(e[i].id),o+="",o+=""+s+"",o+=""+u+"",o+=""}return o+""},p.tooltipPosition=function(e,t,n,r){var o,i,a,u,s,c=this,l=c.config,f=c.d3,p=c.hasArcType(),d=f.mouse(r);return p?(i=(c.width-(c.isLegendRight?c.getLegendWidth():0))/2+d[0],u=c.height/2+d[1]+20):(o=c.getSvgLeft(!0),l.axis_rotated?(i=o+d[0]+100,a=i+t,s=c.currentWidth-c.getCurrentPaddingRight(),u=c.x(e[0].x)+20):(i=o+c.getCurrentPaddingLeft(!0)+c.x(e[0].x)+20,a=i+t,s=o+c.currentWidth-c.getCurrentPaddingRight(),u=d[1]+15),a>s&&(i-=a-s+20),u+n>c.currentHeight&&(u-=n+30)),u<0&&(u=0),{top:u,left:i}},p.showTooltip=function(e,t){var n,r,o,i=this,a=i.config,u=i.hasArcType(),s=e.filter(function(e){return e&&g(e.value)}),c=a.tooltip_position||p.tooltipPosition;0!==s.length&&a.tooltip_show&&(i.tooltip.html(a.tooltip_contents.call(i,e,i.axis.getXAxisTickFormat(),i.getYFormat(u),i.color)).style("display","block"),n=i.tooltip.property("offsetWidth"),r=i.tooltip.property("offsetHeight"),o=c.call(this,s,n,r,t),i.tooltip.style("top",o.top+"px").style("left",o.left+"px"))},p.hideTooltip=function(){this.tooltip.style("display","none")},p.initLegend=function(){var e=this;if(e.legendItemTextBox={},e.legendHasRendered=!1,e.legend=e.svg.append("g").attr("transform",e.getTranslate("legend")),!e.config.legend_show)return e.legend.style("visibility","hidden"),void(e.hiddenLegendIds=e.mapToIds(e.data.targets));e.updateLegendWithDefaults()},p.updateLegendWithDefaults=function(){var e=this;e.updateLegend(e.mapToIds(e.data.targets),{withTransform:!1,withTransitionForTransform:!1,withTransition:!1})},p.updateSizeForLegend=function(e,t){var n=this,r=n.config,o={top:n.isLegendTop?n.getCurrentPaddingTop()+r.legend_inset_y+5.5:n.currentHeight-e-n.getCurrentPaddingBottom()-r.legend_inset_y,left:n.isLegendLeft?n.getCurrentPaddingLeft()+r.legend_inset_x+.5:n.currentWidth-t-n.getCurrentPaddingRight()-r.legend_inset_x+.5};n.margin3={top:n.isLegendRight?0:n.isLegendInset?o.top:n.currentHeight-e,right:NaN,bottom:0,left:n.isLegendRight?n.currentWidth-t:n.isLegendInset?o.left:0}},p.transformLegend=function(e){var t=this;(e?t.legend.transition():t.legend).attr("transform",t.getTranslate("legend"))},p.updateLegendStep=function(e){this.legendStep=e},p.updateLegendItemWidth=function(e){this.legendItemWidth=e},p.updateLegendItemHeight=function(e){this.legendItemHeight=e},p.getLegendWidth=function(){var e=this;return e.config.legend_show?e.isLegendRight||e.isLegendInset?e.legendItemWidth*(e.legendStep+1):e.currentWidth:0},p.getLegendHeight=function(){var e=this,t=0;return e.config.legend_show&&(t=e.isLegendRight?e.currentHeight:Math.max(20,e.legendItemHeight)*(e.legendStep+1)),t},p.opacityForLegend=function(e){return e.classed(h.legendItemHidden)?null:1},p.opacityForUnfocusedLegend=function(e){return e.classed(h.legendItemHidden)?null:.3},p.toggleFocusLegend=function(e,t){var n=this;e=n.mapToTargetIds(e),n.legend.selectAll("."+h.legendItem).filter(function(t){return e.indexOf(t)>=0}).classed(h.legendItemFocused,t).transition().duration(100).style("opacity",function(){return(t?n.opacityForLegend:n.opacityForUnfocusedLegend).call(n,n.d3.select(this))})},p.revertLegend=function(){var e=this,t=e.d3;e.legend.selectAll("."+h.legendItem).classed(h.legendItemFocused,!1).transition().duration(100).style("opacity",function(){return e.opacityForLegend(t.select(this))})},p.showLegend=function(e){var t=this,n=t.config;n.legend_show||(n.legend_show=!0,t.legend.style("visibility","visible"),t.legendHasRendered||t.updateLegendWithDefaults()),t.removeHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("visibility","visible").transition().style("opacity",function(){return t.opacityForLegend(t.d3.select(this))})},p.hideLegend=function(e){var t=this,n=t.config;n.legend_show&&E(e)&&(n.legend_show=!1,t.legend.style("visibility","hidden")),t.addHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("opacity",0).style("visibility","hidden")},p.clearLegendItemTextBoxCache=function(){this.legendItemTextBox={}},p.updateLegend=function(e,t,n){function r(e,t){return E.legendItemTextBox[t]||(E.legendItemTextBox[t]=E.getTextRect(e.textContent,h.legendItem,e)),E.legendItemTextBox[t]}function o(t,n,o){function i(e,t){t||(a=(h-M-d)/2)=P)&&(P=f),(!A||p>=A)&&(A=p),u=E.isLegendRight||E.isLegendInset?A:P,C.legend_equally?(Object.keys(N).forEach(function(e){N[e]=P}),Object.keys(D).forEach(function(e){D[e]=A}),a=(h-u*e.length)/2,a0&&0===w.size()&&(w=E.legend.insert("g","."+h.legendItem).attr("class",h.legendBackground).append("rect")),v=E.legend.selectAll("text").data(e).text(function(e){return b(C.data_names[e])?C.data_names[e]:e}).each(function(e,t){o(this,e,t)}),(y?v.transition():v).attr("x",a).attr("y",c),_=E.legend.selectAll("rect."+h.legendItemEvent).data(e),(y?_.transition():_).attr("width",function(e){return N[e]}).attr("height",function(e){return D[e]}).attr("x",u).attr("y",l),x=E.legend.selectAll("line."+h.legendItemTile).data(e),(y?x.transition():x).style("stroke",E.color).attr("x1",f).attr("y1",d).attr("x2",p).attr("y2",d),w&&(y?w.transition():w).attr("height",E.getLegendHeight()-12).attr("width",P*(F+1)+10),E.legend.selectAll("."+h.legendItem).classed(h.legendItemHidden,function(e){return!E.isTargetToShow(e)}),E.updateLegendItemWidth(P),E.updateLegendItemHeight(A),E.updateLegendStep(F),E.updateSizes(),E.updateScales(),E.updateSvgSize(),E.transformAll(m,n),E.legendHasRendered=!0},p.initTitle=function(){var e=this;e.title=e.svg.append("text").text(e.config.title_text).attr("class",e.CLASS.title)},p.redrawTitle=function(){var e=this;e.title.attr("x",e.xForTitle.bind(e)).attr("y",e.yForTitle.bind(e))},p.xForTitle=function(){var e=this,t=e.config,n=t.title_position||"left";return n.indexOf("right")>=0?e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width-t.title_padding.right:n.indexOf("center")>=0?(e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width)/2:t.title_padding.left},p.yForTitle=function(){var e=this;return e.config.title_padding.top+e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).height},p.getTitlePadding=function(){var e=this;return e.yForTitle()+e.config.title_padding.bottom},function(e,t){if(Object.create)t.prototype=Object.create(e.prototype);else{var n=function(){};n.prototype=e.prototype,t.prototype=new n}t.prototype.constructor=t}(a,c),c.prototype.init=function(){var e=this.owner,t=e.config,n=e.main;e.axes.x=n.append("g").attr("class",h.axis+" "+h.axisX).attr("clip-path",e.clipPathForXAxis).attr("transform",e.getTranslate("x")).style("visibility",t.axis_x_show?"visible":"hidden"),e.axes.x.append("text").attr("class",h.axisXLabel).attr("transform",t.axis_rotated?"rotate(-90)":"").style("text-anchor",this.textAnchorForXAxisLabel.bind(this)),e.axes.y=n.append("g").attr("class",h.axis+" "+h.axisY).attr("clip-path",t.axis_y_inner?"":e.clipPathForYAxis).attr("transform",e.getTranslate("y")).style("visibility",t.axis_y_show?"visible":"hidden"),e.axes.y.append("text").attr("class",h.axisYLabel).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForYAxisLabel.bind(this)),e.axes.y2=n.append("g").attr("class",h.axis+" "+h.axisY2).attr("transform",e.getTranslate("y2")).style("visibility",t.axis_y2_show?"visible":"hidden"),e.axes.y2.append("text").attr("class",h.axisY2Label).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForY2AxisLabel.bind(this))},c.prototype.getXAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={isCategory:u.isCategorized(),withOuterTick:o,tickMultiline:s.axis_x_tick_multiline,tickWidth:s.axis_x_tick_width,tickTextRotate:a?0:s.axis_x_tick_rotate,withoutTransition:i},f=l(u.d3,c).scale(e).orient(t);return u.isTimeSeries()&&r&&"function"!=typeof r&&(r=r.map(function(e){return u.parseDate(e)})),f.tickFormat(n).tickValues(r),u.isCategorized()&&(f.tickCentered(s.axis_x_tick_centered),E(s.axis_x_tick_culling)&&(s.axis_x_tick_culling=!1)),f},c.prototype.updateXAxisTickValues=function(e,t){var n,r=this.owner,o=r.config;return(o.axis_x_tick_fit||o.axis_x_tick_count)&&(n=this.generateTickValues(r.mapTargetsToUniqueXs(e),o.axis_x_tick_count,r.isTimeSeries())),t?t.tickValues(n):(r.xAxis.tickValues(n),r.subXAxis.tickValues(n)),n},c.prototype.getYAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={withOuterTick:o,withoutTransition:i,tickTextRotate:a?0:s.axis_y_tick_rotate},f=l(u.d3,c).scale(e).orient(t).tickFormat(n);return u.isTimeSeriesY()?f.ticks(u.d3.time[s.axis_y_tick_time_value],s.axis_y_tick_time_interval):f.tickValues(r),f},c.prototype.getId=function(e){var t=this.owner.config;return e in t.data_axes?t.data_axes[e]:"y"},c.prototype.getXAxisTickFormat=function(){var e=this.owner,t=e.config,n=e.isTimeSeries()?e.defaultAxisTimeFormat:e.isCategorized()?e.categoryName:function(e){return e<0?e.toFixed(0):e};return t.axis_x_tick_format&&(y(t.axis_x_tick_format)?n=t.axis_x_tick_format:e.isTimeSeries()&&(n=function(n){return n?e.axisTimeFormat(t.axis_x_tick_format)(n):""})),y(n)?function(t){return n.call(e,t)}:n},c.prototype.getTickValues=function(e,t){return e||(t?t.tickValues():void 0)},c.prototype.getXAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_x_tick_values,this.owner.xAxis)},c.prototype.getYAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y_tick_values,this.owner.yAxis)},c.prototype.getY2AxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y2_tick_values,this.owner.y2Axis)},c.prototype.getLabelOptionByAxisId=function(e){var t,n=this.owner,r=n.config;return"y"===e?t=r.axis_y_label:"y2"===e?t=r.axis_y2_label:"x"===e&&(t=r.axis_x_label),t},c.prototype.getLabelText=function(e){var t=this.getLabelOptionByAxisId(e);return m(t)?t:t?t.text:null},c.prototype.setLabelText=function(e,t){var n=this.owner,r=n.config,o=this.getLabelOptionByAxisId(e);m(o)?"y"===e?r.axis_y_label=t:"y2"===e?r.axis_y2_label=t:"x"===e&&(r.axis_x_label=t):o&&(o.text=t)},c.prototype.getLabelPosition=function(e,t){var n=this.getLabelOptionByAxisId(e),r=n&&"object"==typeof n&&n.position?n.position:t;return{isInner:r.indexOf("inner")>=0,isOuter:r.indexOf("outer")>=0,isLeft:r.indexOf("left")>=0,isCenter:r.indexOf("center")>=0,isRight:r.indexOf("right")>=0,isTop:r.indexOf("top")>=0,isMiddle:r.indexOf("middle")>=0,isBottom:r.indexOf("bottom")>=0}},c.prototype.getXAxisLabelPosition=function(){return this.getLabelPosition("x",this.owner.config.axis_rotated?"inner-top":"inner-right")},c.prototype.getYAxisLabelPosition=function(){return this.getLabelPosition("y",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getY2AxisLabelPosition=function(){return this.getLabelPosition("y2",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getLabelPositionById=function(e){return"y2"===e?this.getY2AxisLabelPosition():"y"===e?this.getYAxisLabelPosition():this.getXAxisLabelPosition()},c.prototype.textForXAxisLabel=function(){return this.getLabelText("x")},c.prototype.textForYAxisLabel=function(){return this.getLabelText("y")},c.prototype.textForY2AxisLabel=function(){return this.getLabelText("y2")},c.prototype.xForAxisLabel=function(e,t){var n=this.owner;return e?t.isLeft?0:t.isCenter?n.width/2:n.width:t.isBottom?-n.height:t.isMiddle?-n.height/2:0},c.prototype.dxForAxisLabel=function(e,t){return e?t.isLeft?"0.5em":t.isRight?"-0.5em":"0":t.isTop?"-0.5em":t.isBottom?"0.5em":"0"},c.prototype.textAnchorForAxisLabel=function(e,t){return e?t.isLeft?"start":t.isCenter?"middle":"end":t.isBottom?"start":t.isMiddle?"middle":"end"},c.prototype.xForXAxisLabel=function(){return this.xForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.xForYAxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.xForY2AxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dxForXAxisLabel=function(){return this.dxForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.dxForYAxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.dxForY2AxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dyForXAxisLabel=function(){var e=this.owner,t=e.config,n=this.getXAxisLabelPosition();return t.axis_rotated?n.isInner?"1.2em":-25-this.getMaxTickWidth("x"):n.isInner?"-0.5em":t.axis_x_height?t.axis_x_height-10:"3em"},c.prototype.dyForYAxisLabel=function(){var e=this.owner,t=this.getYAxisLabelPosition();return e.config.axis_rotated?t.isInner?"-0.5em":"3em":t.isInner?"1.2em":-10-(e.config.axis_y_inner?0:this.getMaxTickWidth("y")+10)},c.prototype.dyForY2AxisLabel=function(){var e=this.owner,t=this.getY2AxisLabelPosition();return e.config.axis_rotated?t.isInner?"1.2em":"-2.2em":t.isInner?"-0.5em":15+(e.config.axis_y2_inner?0:this.getMaxTickWidth("y2")+15)},c.prototype.textAnchorForXAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(!e.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.textAnchorForYAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.textAnchorForY2AxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.getMaxTickWidth=function(e,t){var n,r,o,i,a,u=this.owner,s=u.config,c=0;return t&&u.currentMaxTickWidths[e]?u.currentMaxTickWidths[e]:(u.svg&&(n=u.filterTargetsToShow(u.data.targets),"y"===e?(r=u.y.copy().domain(u.getYDomain(n,"y")),o=this.getYAxis(r,u.yOrient,s.axis_y_tick_format,u.yAxisTickValues,!1,!0,!0)):"y2"===e?(r=u.y2.copy().domain(u.getYDomain(n,"y2")),o=this.getYAxis(r,u.y2Orient,s.axis_y2_tick_format,u.y2AxisTickValues,!1,!0,!0)):(r=u.x.copy().domain(u.getXDomain(n)),o=this.getXAxis(r,u.xOrient,u.xAxisTickFormat,u.xAxisTickValues,!1,!0,!0),this.updateXAxisTickValues(n,o)),i=u.d3.select("body").append("div").classed("c3",!0),a=i.append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0),a.append("g").call(o).each(function(){u.d3.select(this).selectAll("text").each(function(){var e=this.getBoundingClientRect();c2){for(a=r-2,o=e[0],i=e[e.length-1],u=(i-o)/(a+1),l=[o],s=0;s=0?"":document.URL.split("#")[0])+"#"+e+")"},p.appendClip=function(e,t){return e.append("clipPath").attr("id",t).append("rect")},p.getAxisClipX=function(e){var t=Math.max(30,this.margin.left);return e?-(1+t):-(t-1)},p.getAxisClipY=function(e){return e?-20:-this.margin.top},p.getXAxisClipX=function(){var e=this;return e.getAxisClipX(!e.config.axis_rotated)},p.getXAxisClipY=function(){var e=this;return e.getAxisClipY(!e.config.axis_rotated)},p.getYAxisClipX=function(){var e=this;return e.config.axis_y_inner?-1:e.getAxisClipX(e.config.axis_rotated)},p.getYAxisClipY=function(){var e=this;return e.getAxisClipY(e.config.axis_rotated)},p.getAxisClipWidth=function(e){var t=this,n=Math.max(30,t.margin.left),r=Math.max(30,t.margin.right);return e?t.width+2+n+r:t.margin.left+20},p.getAxisClipHeight=function(e){return(e?this.margin.bottom:this.margin.top+this.height)+20},p.getXAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(!e.config.axis_rotated)},p.getXAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(!e.config.axis_rotated)},p.getYAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(e.config.axis_rotated)+(e.config.axis_y_inner?20:0)},p.getYAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(e.config.axis_rotated)},p.initPie=function(){var e=this,t=e.d3,n=e.config;e.pie=t.layout.pie().value(function(e){return e.values.reduce(function(e,t){return e+t.value},0)}),n.data_order||e.pie.sort(null)},p.updateRadius=function(){var e=this,t=e.config,n=t.gauge_width||t.donut_width;e.radiusExpanded=Math.min(e.arcWidth,e.arcHeight)/2,e.radius=.95*e.radiusExpanded,e.innerRadiusRatio=n?(e.radius-n)/e.radius:.6,e.innerRadius=e.hasType("donut")||e.hasType("gauge")?e.radius*e.innerRadiusRatio:0},p.updateArc=function(){var e=this;e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded(),e.svgArcExpandedSub=e.getSvgArcExpanded(.98)},p.updateAngle=function(e){var t,n,r,o,i=this,a=i.config,u=!1,s=0;return a?(i.pie(i.filterTargetsToShow(i.data.targets)).forEach(function(t){u||t.data.id!==e.data.id||(u=!0,e=t,e.index=s),s++}),isNaN(e.startAngle)&&(e.startAngle=0),isNaN(e.endAngle)&&(e.endAngle=e.startAngle),i.isGaugeType(e.data)&&(t=a.gauge_min,n=a.gauge_max,r=Math.PI*(a.gauge_fullCircle?2:1)/(n-t),o=e.value.375?1.175-36/a.radius:.8)*a.radius/o:0,c="translate("+n*i+","+r*i+")"),c},p.getArcRatio=function(e){var t=this,n=t.config,r=Math.PI*(t.hasType("gauge")&&!n.gauge_fullCircle?1:2);return e?(e.endAngle-e.startAngle)/r:null},p.convertToArcData=function(e){return this.addName({id:e.data.id,value:e.value,ratio:this.getArcRatio(e),index:e.index})},p.textForArcLabel=function(e){var t,n,r,o,i,a=this;return a.shouldShowArcLabel()?(t=a.updateAngle(e),n=t?t.value:null,r=a.getArcRatio(t),o=e.data.id,a.hasType("gauge")||a.meetsArcLabelThreshold(r)?(i=a.getArcLabelFormat(),i?i(n,r,o):a.defaultArcValueFormat(n,r)):""):""},p.expandArc=function(e){var t,n=this;if(n.transiting)return void(t=i.setInterval(function(){n.transiting||(i.clearInterval(t),n.legend.selectAll(".c3-legend-item-focused").size()>0&&n.expandArc(e))},10));e=n.mapToTargetIds(e),n.svg.selectAll(n.selectorTargets(e,"."+h.chartArc)).each(function(e){n.shouldExpand(e.data.id)&&n.d3.select(this).selectAll("path").transition().duration(n.expandDuration(e.data.id)).attr("d",n.svgArcExpanded).transition().duration(2*n.expandDuration(e.data.id)).attr("d",n.svgArcExpandedSub).each(function(e){n.isDonutType(e.data)})})},p.unexpandArc=function(e){var t=this;t.transiting||(e=t.mapToTargetIds(e),t.svg.selectAll(t.selectorTargets(e,"."+h.chartArc)).selectAll("path").transition().duration(function(e){return t.expandDuration(e.data.id)}).attr("d",t.svgArc),t.svg.selectAll("."+h.arc).style("opacity",1))},p.expandDuration=function(e){var t=this,n=t.config;return t.isDonutType(e)?n.donut_expand_duration:t.isGaugeType(e)?n.gauge_expand_duration:t.isPieType(e)?n.pie_expand_duration:50},p.shouldExpand=function(e){var t=this,n=t.config;return t.isDonutType(e)&&n.donut_expand||t.isGaugeType(e)&&n.gauge_expand||t.isPieType(e)&&n.pie_expand},p.shouldShowArcLabel=function(){var e=this,t=e.config,n=!0;return e.hasType("donut")?n=t.donut_label_show:e.hasType("pie")&&(n=t.pie_label_show),n},p.meetsArcLabelThreshold=function(e){var t=this,n=t.config;return e>=(t.hasType("donut")?n.donut_label_threshold:n.pie_label_threshold)},p.getArcLabelFormat=function(){var e=this,t=e.config,n=t.pie_label_format;return e.hasType("gauge")?n=t.gauge_label_format:e.hasType("donut")&&(n=t.donut_label_format),n},p.getArcTitle=function(){var e=this;return e.hasType("donut")?e.config.donut_title:""},p.updateTargetsForArc=function(e){var t,n,r=this,o=r.main,i=r.classChartArc.bind(r),a=r.classArcs.bind(r),u=r.classFocus.bind(r);t=o.select("."+h.chartArcs).selectAll("."+h.chartArc).data(r.pie(e)).attr("class",function(e){return i(e)+u(e.data)}),n=t.enter().append("g").attr("class",i),n.append("g").attr("class",a),n.append("text").attr("dy",r.hasType("gauge")?"-.1em":".35em").style("opacity",0).style("text-anchor","middle").style("pointer-events","none")},p.initArc=function(){var e=this;e.arcs=e.main.select("."+h.chart).append("g").attr("class",h.chartArcs).attr("transform",e.getTranslate("arc")),e.arcs.append("text").attr("class",h.chartArcsTitle).style("text-anchor","middle").text(e.getArcTitle())},p.redrawArc=function(e,t,n){var r,o=this,i=o.d3,a=o.config,u=o.main;r=u.selectAll("."+h.arcs).selectAll("."+h.arc).data(o.arcData.bind(o)),r.enter().append("path").attr("class",o.classArc.bind(o)).style("fill",function(e){return o.color(e.data)}).style("cursor",function(e){return a.interaction_enabled&&a.data_selection_isselectable(e)?"pointer":null}).style("opacity",0).each(function(e){o.isGaugeType(e.data)&&(e.startAngle=e.endAngle=a.gauge_startingAngle),this._current=e}),r.attr("transform",function(e){return!o.isGaugeType(e.data)&&n?"scale(0)":""}).style("opacity",function(e){return e===this._current?0:1}).on("mouseover",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.expandArc(t.data.id),o.api.focus(t.data.id),o.toggleFocusLegend(t.data.id,!0),o.config.data_onmouseover(n,this))}:null).on("mousemove",a.interaction_enabled?function(e){var t,n,r=o.updateAngle(e);r&&(t=o.convertToArcData(r),n=[t],o.showTooltip(n,this))}:null).on("mouseout",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.unexpandArc(t.data.id),o.api.revert(),o.revertLegend(),o.hideTooltip(),o.config.data_onmouseout(n,this))}:null).on("click",a.interaction_enabled?function(e,t){var n,r=o.updateAngle(e);r&&(n=o.convertToArcData(r),o.toggleShape&&o.toggleShape(this,n,t),o.config.data_onclick.call(o.api,n,this))}:null).each(function(){o.transiting=!0}).transition().duration(e).attrTween("d",function(e){var t,n=o.updateAngle(e);return n?(isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle),t=i.interpolate(this._current,n),this._current=t(0),function(n){var r=t(n);return r.data=e.data,o.getArc(r,!0)}):function(){return"M 0 0"}}).attr("transform",n?"scale(1)":"").style("fill",function(e){return o.levelColor?o.levelColor(e.data.values[0].value):o.color(e.data.id)}).style("opacity",1).call(o.endall,function(){o.transiting=!1}),r.exit().transition().duration(t).style("opacity",0).remove(),u.selectAll("."+h.chartArc).select("text").style("opacity",0).attr("class",function(e){return o.isGaugeType(e.data)?h.gaugeValue:""}).text(o.textForArcLabel.bind(o)).attr("transform",o.transformForArcLabel.bind(o)).style("font-size",function(e){return o.isGaugeType(e.data)?Math.round(o.radius/5)+"px":""}).transition().duration(e).style("opacity",function(e){return o.isTargetToShow(e.data.id)&&o.isArcType(e.data)?1:0}),u.select("."+h.chartArcsTitle).style("opacity",o.hasType("donut")||o.hasType("gauge")?1:0),o.hasType("gauge")&&(o.arcs.select("."+h.chartArcsBackground).attr("d",function(){var e={data:[{value:a.gauge_max}],startAngle:a.gauge_startingAngle,endAngle:-1*a.gauge_startingAngle};return o.getArc(e,!0,!0)}),o.arcs.select("."+h.chartArcsGaugeUnit).attr("dy",".75em").text(a.gauge_label_show?a.gauge_units:""),o.arcs.select("."+h.chartArcsGaugeMin).attr("dx",-1*(o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2))+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_min:""),o.arcs.select("."+h.chartArcsGaugeMax).attr("dx",o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2)+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_max:""))},p.initGauge=function(){var e=this.arcs;this.hasType("gauge")&&(e.append("path").attr("class",h.chartArcsBackground),e.append("text").attr("class",h.chartArcsGaugeUnit).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMin).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMax).style("text-anchor","middle").style("pointer-events","none"))},p.getGaugeLabelHeight=function(){return this.config.gauge_label_show?20:0},p.initRegion=function(){var e=this;e.region=e.main.append("g").attr("clip-path",e.clipPath).attr("class",h.regions)},p.updateRegion=function(e){var t=this,n=t.config;t.region.style("visibility",t.hasArcType()?"hidden":"visible"),t.mainRegion=t.main.select("."+h.regions).selectAll("."+h.region).data(n.regions),t.mainRegion.enter().append("g").append("rect").style("fill-opacity",0),t.mainRegion.attr("class",t.classRegion.bind(t)),t.mainRegion.exit().transition().duration(e).style("opacity",0).remove()},p.redrawRegion=function(e){var t=this,n=t.mainRegion.selectAll("rect").each(function(){var e=t.d3.select(this.parentNode).datum();t.d3.select(this).datum(e)}),r=t.regionX.bind(t),o=t.regionY.bind(t),i=t.regionWidth.bind(t),a=t.regionHeight.bind(t);return[(e?n.transition():n).attr("x",r).attr("y",o).attr("width",i).attr("height",a).style("fill-opacity",function(e){return g(e.opacity)?e.opacity:.1})]},p.regionX=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated&&"start"in e?r(e.start):0:n.axis_rotated?0:"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionY=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated?0:"end"in e?r(e.end):0:n.axis_rotated&&"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionWidth=function(e){var t,n=this,r=n.config,o=n.regionX(e),i="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated&&"end"in e?i(e.end):n.width:r.axis_rotated?n.width:"end"in e?n.x(n.isTimeSeries()?n.parseDate(e.end):e.end):n.width,t=0?h.focused:"")},p.classDefocused=function(e){return" "+(this.defocusedTargetIds.indexOf(e.id)>=0?h.defocused:"")},p.classChartText=function(e){return h.chartText+this.classTarget(e.id)},p.classChartLine=function(e){return h.chartLine+this.classTarget(e.id)},p.classChartBar=function(e){return h.chartBar+this.classTarget(e.id)},p.classChartArc=function(e){return h.chartArc+this.classTarget(e.data.id)},p.getTargetSelectorSuffix=function(e){return e||0===e?("-"+e).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g,"-"):""},p.selectorTarget=function(e,t){return(t||"")+"."+h.target+this.getTargetSelectorSuffix(e)},p.selectorTargets=function(e,t){var n=this;return e=e||[],e.length?e.map(function(e){return n.selectorTarget(e,t)}):null},p.selectorLegend=function(e){return"."+h.legendItem+this.getTargetSelectorSuffix(e)},p.selectorLegends=function(e){var t=this;return e&&e.length?e.map(function(e){return t.selectorLegend(e)}):null};var g=p.isValue=function(e){return e||0===e},y=p.isFunction=function(e){return"function"==typeof e},m=p.isString=function(e){return"string"==typeof e},v=p.isUndefined=function(e){return void 0===e},b=p.isDefined=function(e){return void 0!==e},_=p.ceil10=function(e){return 10*Math.ceil(e/10)},x=p.asHalfPixel=function(e){return Math.ceil(e)+.5},w=p.diffDomain=function(e){return e[1]-e[0]},E=p.isEmpty=function(e){return void 0===e||null===e||m(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length},C=p.notEmpty=function(e){return!p.isEmpty(e)},S=p.getOption=function(e,t,n){return b(e[t])?e[t]:n},O=p.hasValue=function(e,t){var n=!1;return Object.keys(e).forEach(function(r){e[r]===t&&(n=!0)}),n},T=p.sanitise=function(e){return"string"==typeof e?e.replace(//g,">"):e},P=p.getPathBox=function(e){var t=e.getBoundingClientRect(),n=[e.pathSegList.getItem(0),e.pathSegList.getItem(1)];return{x:n[0].x,y:Math.min(n[0].y,n[1].y),width:t.width,height:t.height}};f.focus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),this.revert(),this.defocus(),t.classed(h.focused,!0).classed(h.defocused,!1),n.hasArcType()&&n.expandArc(e),n.toggleFocusLegend(e,!0),n.focusedTargetIds=e,n.defocusedTargetIds=n.defocusedTargetIds.filter(function(t){return e.indexOf(t)<0})},f.defocus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),t.classed(h.focused,!1).classed(h.defocused,!0),n.hasArcType()&&n.unexpandArc(e),n.toggleFocusLegend(e,!1),n.focusedTargetIds=n.focusedTargetIds.filter(function(t){return e.indexOf(t)<0}),n.defocusedTargetIds=e},f.revert=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e)),t.classed(h.focused,!1).classed(h.defocused,!1),n.hasArcType()&&n.unexpandArc(e),n.config.legend_show&&(n.showLegend(e.filter(n.isLegendToShow.bind(n))),n.legend.selectAll(n.selectorLegends(e)).filter(function(){return n.d3.select(this).classed(h.legendItemFocused)}).classed(h.legendItemFocused,!1)),n.focusedTargetIds=[],n.defocusedTargetIds=[]},f.show=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.removeHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",1,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",1)}),t.withLegend&&r.showLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.hide=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.addHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",0,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",0)}),t.withLegend&&r.hideLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.toggle=function(e,t){var n=this,r=this.internal;r.mapToTargetIds(e).forEach(function(e){r.isTargetToShow(e)?n.hide(e,t):n.show(e,t)})},f.zoom=function(e){var t=this.internal;return e&&(t.isTimeSeries()&&(e=e.map(function(e){return t.parseDate(e)})),t.brush.extent(e),t.redraw({withUpdateXDomain:!0,withY:t.config.zoom_rescale}),t.config.zoom_onzoom.call(this,t.x.orgDomain())),t.brush.extent()},f.zoom.enable=function(e){var t=this.internal;t.config.zoom_enabled=e,t.updateAndRedraw()},f.unzoom=function(){var e=this.internal;e.brush.clear().update(),e.redraw({withUpdateXDomain:!0})},f.zoom.max=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_max;n.zoom_x_max=r.max([t.orgXDomain[1],e])},f.zoom.min=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_min;n.zoom_x_min=r.min([t.orgXDomain[0],e])},f.zoom.range=function(e){if(!arguments.length)return{max:this.domain.max(),min:this.domain.min()};b(e.max)&&this.domain.max(e.max),b(e.min)&&this.domain.min(e.min)},f.load=function(e){var t=this.internal,n=t.config;if(e.xs&&t.addXs(e.xs),"names"in e&&f.data.names.bind(this)(e.names),"classes"in e&&Object.keys(e.classes).forEach(function(t){n.data_classes[t]=e.classes[t]}),"categories"in e&&t.isCategorized()&&(n.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach(function(t){n.data_axes[t]=e.axes[t]}),"colors"in e&&Object.keys(e.colors).forEach(function(t){n.data_colors[t]=e.colors[t]}),"cacheIds"in e&&t.hasCaches(e.cacheIds))return void t.load(t.getCaches(e.cacheIds),e.done);"unload"in e?t.unload(t.mapToTargetIds("boolean"==typeof e.unload&&e.unload?null:e.unload),function(){t.loadFromArgs(e)}):t.loadFromArgs(e)},f.unload=function(e){var t=this.internal;e=e||{},e instanceof Array?e={ids:e}:"string"==typeof e&&(e={ids:[e]}),t.unload(t.mapToTargetIds(e.ids),function(){t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.done&&e.done()})},f.flow=function(e){var t,n,r,o,i,a,u,s=this.internal,c=[],l=s.getMaxDataCount(),f=0,p=0;if(e.json)n=s.convertJsonToData(e.json,e.keys);else if(e.rows)n=s.convertRowsToData(e.rows);else{if(!e.columns)return;n=s.convertColumnsToData(e.columns)}t=s.convertDataToTargets(n,!0),s.data.targets.forEach(function(e){var n,r,o=!1;for(n=0;n1?o.values[o.values.length-1].x-i.x:i.x-s.getXDomain(s.data.targets)[0]:1,r=[i.x-a,i.x],s.updateXDomain(null,!0,!0,!1,r)),s.updateTargets(s.data.targets),s.redraw({flow:{index:i.index,length:f,duration:g(e.duration)?e.duration:s.config.transition_duration,done:e.done,orgDataCount:l},withLegend:!0,withTransition:l>1,withTrimXDomain:!1,withUpdateXAxis:!0})},p.generateFlow=function(e){var t=this,n=t.config,r=t.d3;return function(){var o,i,a,u=e.targets,s=e.flow,c=e.drawBar,l=e.drawLine,f=e.drawArea,p=e.cx,d=e.cy,g=e.xv,y=e.xForText,m=e.yForText,v=e.duration,b=1,_=s.index,x=s.length,E=t.getValueOnIndex(t.data.targets[0].values,_),C=t.getValueOnIndex(t.data.targets[0].values,_+x),S=t.x.domain(),O=s.duration||v,T=s.done||function(){},P=t.generateWait(),A=t.xgrid||r.selectAll([]),k=t.xgridLines||r.selectAll([]),R=t.mainRegion||r.selectAll([]),M=t.mainText||r.selectAll([]),j=t.mainBar||r.selectAll([]),N=t.mainLine||r.selectAll([]),D=t.mainArea||r.selectAll([]),L=t.mainCircle||r.selectAll([]);t.flowing=!0,t.data.targets.forEach(function(e){e.values.splice(0,x)}),a=t.updateXDomain(u,!0,!0),t.updateXGrid&&t.updateXGrid(!0),s.orgDataCount?o=1===s.orgDataCount||(E&&E.x)===(C&&C.x)?t.x(S[0])-t.x(a[0]):t.isTimeSeries()?t.x(S[0])-t.x(a[0]):t.x(E.x)-t.x(C.x):1!==t.data.targets[0].values.length?o=t.x(S[0])-t.x(a[0]):t.isTimeSeries()?(E=t.getValueOnIndex(t.data.targets[0].values,0),C=t.getValueOnIndex(t.data.targets[0].values,t.data.targets[0].values.length-1),o=t.x(E.x)-t.x(C.x)):o=w(a)/2,b=w(S)/w(a),i="translate("+o+",0) scale("+b+",1)",t.hideXGridFocus(),r.transition().ease("linear").duration(O).each(function(){P.add(t.axes.x.transition().call(t.xAxis)),P.add(j.transition().attr("transform",i)),P.add(N.transition().attr("transform",i)),P.add(D.transition().attr("transform",i)),P.add(L.transition().attr("transform",i)),P.add(M.transition().attr("transform",i)),P.add(R.filter(t.isRegionOnX).transition().attr("transform",i)),P.add(A.transition().attr("transform",i)),P.add(k.transition().attr("transform",i))}).call(P,function(){var e,r=[],o=[],i=[];if(x){for(e=0;e=0,p=!t||t.indexOf(u)>=0,d=s.classed(h.SELECTED);s.classed(h.line)||s.classed(h.area)||(f&&p?i.data_selection_isselectable(a)&&!d&&l(!0,s.classed(h.SELECTED,!0),a,u):b(n)&&n&&d&&l(!1,s.classed(h.SELECTED,!1),a,u))})},f.unselect=function(e,t){var n=this.internal,r=n.d3,o=n.config;o.data_selection_enabled&&n.main.selectAll("."+h.shapes).selectAll("."+h.shape).each(function(i,a){var u=r.select(this),s=i.data?i.data.id:i.id,c=n.getToggle(this,i).bind(n),l=o.data_selection_grouped||!e||e.indexOf(s)>=0,f=!t||t.indexOf(a)>=0,p=u.classed(h.SELECTED);u.classed(h.line)||u.classed(h.area)||l&&f&&o.data_selection_isselectable(i)&&p&&c(!1,u.classed(h.SELECTED,!1),i,a)})},f.transform=function(e,t){var n=this.internal,r=["pie","donut"].indexOf(e)>=0?{withTransform:!0}:null;n.transformTo(t,e,r)},p.transformTo=function(e,t,n){var r=this,o=!r.hasArcType(),i=n||{withTransitionForAxis:o};i.withTransitionForTransform=!1,r.transiting=!1,r.setTargetType(e,t),r.updateTargets(r.data.targets),r.updateAndRedraw(i)},f.groups=function(e){var t=this.internal,n=t.config;return v(e)?n.data_groups:(n.data_groups=e,t.redraw(),n.data_groups)},f.xgrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_x_lines=e,t.redrawWithoutRescale(),n.grid_x_lines):n.grid_x_lines},f.xgrids.add=function(e){var t=this.internal;return this.xgrids(t.config.grid_x_lines.concat(e||[]))},f.xgrids.remove=function(e){this.internal.removeGridLines(e,!0)},f.ygrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_y_lines=e,t.redrawWithoutRescale(),n.grid_y_lines):n.grid_y_lines},f.ygrids.add=function(e){var t=this.internal;return this.ygrids(t.config.grid_y_lines.concat(e||[]))},f.ygrids.remove=function(e){this.internal.removeGridLines(e,!1)},f.regions=function(e){var t=this.internal,n=t.config;return e?(n.regions=e,t.redrawWithoutRescale(),n.regions):n.regions},f.regions.add=function(e){var t=this.internal,n=t.config;return e?(n.regions=n.regions.concat(e),t.redrawWithoutRescale(),n.regions):n.regions},f.regions.remove=function(e){var t,n,r,o=this.internal,i=o.config;return e=e||{},t=o.getOption(e,"duration",i.transition_duration),n=o.getOption(e,"classes",[h.region]),r=o.main.select("."+h.regions).selectAll(n.map(function(e){return"."+e})),(t?r.transition().duration(t):r).style("opacity",0).remove(),i.regions=i.regions.filter(function(e){var t=!1;return!e.class||(e.class.split(" ").forEach(function(e){n.indexOf(e)>=0&&(t=!0)}),!t)}),i.regions},f.data=function(e){var t=this.internal.data.targets;return void 0===e?t:t.filter(function(t){return[].concat(e).indexOf(t.id)>=0})},f.data.shown=function(e){return this.internal.filterTargetsToShow(this.data(e))},f.data.values=function(e){var t,n=null;return e&&(t=this.data(e),n=t[0]?t[0].values.map(function(e){return e.value}):null),n},f.data.names=function(e){return this.internal.clearLegendItemTextBoxCache(),this.internal.updateDataAttributes("names",e)},f.data.colors=function(e){return this.internal.updateDataAttributes("colors",e)},f.data.axes=function(e){return this.internal.updateDataAttributes("axes",e)},f.category=function(e,t){var n=this.internal,r=n.config;return arguments.length>1&&(r.axis_x_categories[e]=t,n.redraw()),r.axis_x_categories[e]},f.categories=function(e){var t=this.internal,n=t.config;return arguments.length?(n.axis_x_categories=e,t.redraw(),n.axis_x_categories):n.axis_x_categories},f.color=function(e){return this.internal.color(e)},f.x=function(e){var t=this.internal;return arguments.length&&(t.updateTargetX(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.xs=function(e){var t=this.internal;return arguments.length&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.axis=function(){},f.axis.labels=function(e){var t=this.internal;arguments.length&&(Object.keys(e).forEach(function(n){t.axis.setLabelText(n,e[n])}),t.axis.updateLabels())},f.axis.max=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_max,y:n.axis_y_max,y2:n.axis_y2_max};"object"==typeof e?(g(e.x)&&(n.axis_x_max=e.x),g(e.y)&&(n.axis_y_max=e.y),g(e.y2)&&(n.axis_y2_max=e.y2)):n.axis_y_max=n.axis_y2_max=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.min=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_min,y:n.axis_y_min,y2:n.axis_y2_min};"object"==typeof e?(g(e.x)&&(n.axis_x_min=e.x),g(e.y)&&(n.axis_y_min=e.y),g(e.y2)&&(n.axis_y2_min=e.y2)):n.axis_y_min=n.axis_y2_min=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.range=function(e){if(!arguments.length)return{max:this.axis.max(),min:this.axis.min()};b(e.max)&&this.axis.max(e.max),b(e.min)&&this.axis.min(e.min)},f.legend=function(){},f.legend.show=function(e){var t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.legend.hide=function(e){var t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.resize=function(e){var t=this.internal,n=t.config;n.size_width=e?e.width:null,n.size_height=e?e.height:null,this.flush()},f.flush=function(){this.internal.updateAndRedraw({withLegend:!0,withTransition:!1,withTransitionForTransform:!1})},f.destroy=function(){var e=this.internal;if(i.clearInterval(e.intervalForObserveInserted),void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),i.detachEvent)i.detachEvent("onresize",e.resizeFunction);else if(i.removeEventListener)i.removeEventListener("resize",e.resizeFunction);else{var t=i.onresize;t&&t.add&&t.remove&&t.remove(e.resizeFunction)}return e.selectChart.classed("c3",!1).html(""),Object.keys(e).forEach(function(t){e[t]=null}),null},f.tooltip=function(){},f.tooltip.show=function(e){var t,n,r=this.internal;e.mouse&&(n=e.mouse),e.data?r.isMultipleX()?(n=[r.x(e.data.x),r.getYScale(e.data.id)(e.data.value)],t=null):t=g(e.data.index)?e.data.index:r.getIndexByX(e.data.x):void 0!==e.x?t=r.getIndexByX(e.x):void 0!==e.index&&(t=e.index),r.dispatchEvent("mouseover",t,n),r.dispatchEvent("mousemove",t,n),r.config.tooltip_onshow.call(r,e.data)},f.tooltip.hide=function(){this.internal.dispatchEvent("mouseout",0),this.internal.config.tooltip_onhide.call(this)};var A;p.isSafari=function(){var e=i.navigator.userAgent;return e.indexOf("Safari")>=0&&e.indexOf("Chrome")<0},p.isChrome=function(){return i.navigator.userAgent.indexOf("Chrome")>=0},Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),function(){"SVGPathSeg"in i||(i.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},SVGPathSeg.PATHSEG_UNKNOWN=0,SVGPathSeg.PATHSEG_CLOSEPATH=1,SVGPathSeg.PATHSEG_MOVETO_ABS=2,SVGPathSeg.PATHSEG_MOVETO_REL=3,SVGPathSeg.PATHSEG_LINETO_ABS=4,SVGPathSeg.PATHSEG_LINETO_REL=5,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,SVGPathSeg.PATHSEG_ARC_ABS=10,SVGPathSeg.PATHSEG_ARC_REL=11,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},i.SVGPathSegClosePath=function(e){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},SVGPathSegClosePath.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},SVGPathSegClosePath.prototype.clone=function(){return new SVGPathSegClosePath(void 0)},i.SVGPathSegMovetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},SVGPathSegMovetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoAbs.prototype.clone=function(){return new SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegMovetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},SVGPathSegMovetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoRel.prototype.clone=function(){return new SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},SVGPathSegLinetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoAbs.prototype.clone=function(){return new SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},SVGPathSegLinetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoRel.prototype.clone=function(){return new SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcAbs=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcAbs.prototype.clone=function(){return new SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcRel=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcRel.prototype.clone=function(){return new SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},SVGPathSegLinetoHorizontalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},SVGPathSegLinetoHorizontalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},SVGPathSegLinetoVerticalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},SVGPathSegLinetoVerticalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new SVGPathSegClosePath(void 0)},SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new SVGPathSegMovetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new SVGPathSegMovetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new SVGPathSegLinetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new SVGPathSegLinetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicAbs(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicRel(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,r,o,i,a){return new SVGPathSegArcAbs(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,r,o,i,a){return new SVGPathSegArcRel(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new SVGPathSegLinetoHorizontalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new SVGPathSegLinetoHorizontalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new SVGPathSegLinetoVerticalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new SVGPathSegLinetoVerticalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)}),"SVGPathSegList"in i||(i.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},Object.defineProperty(SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(this._pathElement){var t=!1;e.forEach(function(e){"d"==e.attributeName&&(t=!0)}),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(e){e._owningPathSegList=null}),this._list=[],this._writeListToPath()},SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);var t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList._pathSegArrayAsString=function(e){var t="",n=!0;return e.forEach(function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()}),t},SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];var t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};var r=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};r.prototype._isCurrentSpace=function(){var e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||"\t"==e||"\r"==e||"\f"==e)},r.prototype._skipOptionalSpaces=function(){for(;this._currentIndex="0"&&e<="9")&&t!=SVGPathSeg.PATHSEG_CLOSEPATH?t==SVGPathSeg.PATHSEG_MOVETO_ABS?SVGPathSeg.PATHSEG_LINETO_ABS:t==SVGPathSeg.PATHSEG_MOVETO_REL?SVGPathSeg.PATHSEG_LINETO_REL:t:SVGPathSeg.PATHSEG_UNKNOWN},r.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var e=this.peekSegmentType();return e==SVGPathSeg.PATHSEG_MOVETO_ABS||e==SVGPathSeg.PATHSEG_MOVETO_REL},r.prototype._parseNumber=function(){var e=0,t=0,n=1,r=0,o=1,i=1,a=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex"9")&&"."!=this._string.charAt(this._currentIndex))){for(var u=this._currentIndex;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=u)for(var s=this._currentIndex-1,c=1;s>=u;)t+=c*(this._string.charAt(s--)-"0"),c*=10;if(this._currentIndex=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)r+=(this._string.charAt(this._currentIndex++)-"0")*(n*=.1)}if(this._currentIndex!=a&&this._currentIndex+1=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var l=t+r;if(l*=o,e&&(l*=Math.pow(10,i*e)),a!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),l}},r.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e}},r.prototype.parseSegment=function(){var e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==SVGPathSeg.PATHSEG_UNKNOWN)return null;if((n=this._nextCommandHelper(e,this._previousCommand))==SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case SVGPathSeg.PATHSEG_MOVETO_REL:return new SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_MOVETO_ABS:return new SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_REL:return new SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_ABS:return new SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new SVGPathSegLinetoVerticalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new SVGPathSegClosePath(t);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicRel(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicAbs(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothRel(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothAbs(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticRel(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticAbs(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_ARC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcRel(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);case SVGPathSeg.PATHSEG_ARC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcAbs(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);default:throw"Unknown path seg type."}};var o=new n,i=new r(e);if(!i.initialCommandIsMoveTo())return[];for(;i.hasMoreData();){var a=i.parseSegment();if(!a)return[];o.appendSegment(a)}return o.pathSegList})}(),r=[n(226)],void 0!==(o=function(){return d}.apply(t,r))&&(e.exports=o)}(window)},function(e,t,n){"use strict";e.exports=n(571)},function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!m.test(t)||!!v.test(t)}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function i(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||u.isString(e)||(t=e||{},e="default"),this.inline=new p,this.block=new f,this.core=new l,this.renderer=new c,this.linkify=new d,this.validateLink=r,this.normalizeLink=o,this.normalizeLinkText=i,this.utils=u,this.helpers=u.assign({},s),this.options={},this.configure(e),t&&this.set(t)}var u=n(6),s=n(579),c=n(583),l=n(584),f=n(592),p=n(606),d=n(619),h=n(228),g=n(621),y={default:n(622),zero:n(623),commonmark:n(624)},m=/^(vbscript|javascript|file|data):/,v=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];a.prototype.set=function(e){return u.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(u.isString(e)&&(t=e,!(e=y[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=a},function(e,t){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&s<=57343){l+=encodeURIComponent(e[i]+e[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[i]);return l}var i={};o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&o)&&t+91114111?c+="����":(s-=65536,c+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):c+="�";return c})}var i={};o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function o(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(s),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,a,s,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var l=u.exec(c);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var m=i.exec(c);if(m&&(m=m[0],o=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===c.substr(0,2))||m&&g[m]||(c=c.substr(2),this.slashes=!0)),!g[m]&&(s||m&&!y[m])){var v=-1;for(n=0;n127?S+="x":S+=C[O];if(!S.match(d)){var P=E.slice(0,n),A=E.slice(n+1),k=C.match(h);k&&(P.push(k[1]),A.unshift(k[2])),A.length&&(c=A.join(".")+c),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=c.indexOf("#");-1!==R&&(this.hash=c.substr(R),c=c.slice(0,R));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),y[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=o},function(e,t,n){"use strict";t.Any=n(229),t.Cc=n(230),t.Cf=n(578),t.P=n(133),t.Z=n(231)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(580),t.parseLinkDestination=n(581),t.parseLinkTitle=n(582)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u=-1,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos1)break;if(41===i&&--a<0)break;t++}return u===t?s:(s.str=o(e.slice(u,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(6).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,u=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t"+a(e[t].content)+""},u.code_block=function(e,t,n,r,o){var i=e[t];return""+a(e[t].content)+"\n"},u.fence=function(e,t,n,r,o){var u,s,c,l,f=e[t],p=f.info?i(f.info).trim():"",d="";return p&&(d=p.split(/\s+/g)[0]),u=n.highlight?n.highlight(f.content,d)||a(f.content):a(f.content),0===u.indexOf(""+u+"\n"):"
"+u+"
\n"},u.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},u.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},u.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},u.text=function(e,t){return a(e[t].content)},u.html_block=function(e,t){return e[t].content},u.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,u=e.length;a\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}var i=n(6).arrayReplaceAt;e.exports=function(e){var t,n,a,u,s,c,l,f,p,d,h,g,y,m,v,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=u[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&y>0&&y--,o(c.content)&&y++),!(y>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,_=e.md.linkify.match(p),l=[],g=c.level,h=0,f=0;f<_.length;f++)m=_[f].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),d=_[f].index,d>h&&(s=new e.Token("text","",0),s.content=p.slice(h,d),s.level=g,l.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",v]],s.level=g++,s.markup="linkify",s.info="auto",l.push(s),s=new e.Token("text","",0),s.content=b,s.level=g,l.push(s),s=new e.Token("link_close","a",-1),s.level=--g,s.markup="linkify",s.info="auto",l.push(s),h=_[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||o||(n.content=n.content.replace(s,r)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function i(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,u=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(u.test(e.tokens[t].content)&&o(e.tokens[t].children),a.test(e.tokens[t].content)&&i(e.tokens[t].children))}},function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function o(e,t){var n,o,s,f,p,d,h,g,y,m,v,b,_,x,w,E,C,S,O,T,P;for(O=[],n=0;n=0&&!(O[C].level<=h);C--);if(O.length=C+1,"text"===o.type){s=o.content,p=0,d=s.length;e:for(;p=0)y=s.charCodeAt(f.index-1);else for(C=n-1;C>=0;C--)if("text"===e[C].type){y=e[C].content.charCodeAt(e[C].content.length-1);break}if(m=32,p=48&&y<=57&&(E=w=!1),w&&E&&(w=!1,E=b),w||E){if(E)for(C=O.length-1;C>=0&&(g=O[C],!(O[C].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&o(e.tokens[t].children,e)}},function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var o=n(135);r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){this.ruler=new o;for(var e=0;e=n))&&!(e.sCount[a]=s){e.line=n;break}for(r=0;rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(u=e.src.charCodeAt(c++))&&45!==u&&58!==u)return!1;for(;c=4)return!1;if(p=o(s.replace(/^\||\|$/g,"")),(d=p.length)>g.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=m=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],l=0;l=4);f++){for(p=o(s.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),l=0;l=4))break;r++,o=r}return e.line=o,i=e.push("code_block","code",0),i.content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o,i,a,u,s,c,l,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(o=e.src.charCodeAt(p))&&96!==o)return!1;if(s=p,p=e.skipChars(p,o),(i=p-s)<3)return!1;if(l=e.src.slice(s,p),a=e.src.slice(p,d),a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(u=t;!(++u>=n)&&(p=s=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],!(p=4||(p=e.skipChars(p,o))-s=4)return!1;if(62!==e.src.charCodeAt(O++))return!1;if(o)return!0;for(s=h=e.sCount[t]+O-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(O)?(O++,s++,h++,i=!1,x=!0):9===e.src.charCodeAt(O)?(x=!0,(e.bsCount[t]+h)%4==3?(O++,s++,h++,i=!1):i=!0):x=!1,g=[e.bMarks[t]],e.bMarks[t]=O;O=T,b=[e.sCount[t]],e.sCount[t]=h-s,_=[e.tShift[t]],e.tShift[t]=O-e.bMarks[t],E=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",d=t+1;d=T));d++)if(62!==e.src.charCodeAt(O++)||c){if(f)break;for(w=!1,u=0,l=E.length;u=T,y.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(x?1:0),b.push(e.sCount[d]),e.sCount[d]=h-s,_.push(e.tShift[d]),e.tShift[d]=O-e.bMarks[d]}for(m=e.blkIndent,e.blkIndent=0,C=e.push("blockquote_open","blockquote",1),C.markup=">",C.map=p=[t,0],e.md.block.tokenize(e,t,d),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=S,e.parentType=v,p[1]=e.line,u=0;u<_.length;u++)e.bMarks[u+t]=g[u],e.tShift[u+t]=_[u],e.sCount[u+t]=b[u],e.bsCount[u+t]=y[u];return e.blkIndent=m,!0}},function(e,t,n){"use strict";var r=n(6).isSpace;e.exports=function(e,t,n,o){var i,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(c++))&&45!==i&&95!==i)return!1;for(a=1;c=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;n=e.src.charCodeAt(o++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}}return o=4)return!1;if(u&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(L=!0),(k=o(e,t))>=0){if(h=!0,M=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(M,k-M-1)),L&&1!==_)return!1}else{if(!((k=r(e,t))>=0))return!1;h=!1}if(L&&e.skipSpaces(k)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(k-1),u)return!0;for(v=e.tokens.length,h?(D=e.push("ordered_list_open","ol",1),1!==_&&(D.attrs=[["start",_]])):D=e.push("bullet_list_open","ul",1),D.map=m=[t,0],D.markup=String.fromCharCode(b),w=t,R=!1,N=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";w=x?1:E-d,p>4&&(p=1),f=d+p,D=e.push("list_item_open","li",1),D.markup=String.fromCharCode(b),D.map=g=[t,0],C=e.blkIndent,P=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=E,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!R||(I=!1),R=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=C,e.tShift[t]=T,e.sCount[t]=S,e.tight=P,D=e.push("list_item_close","li",-1),D.markup=String.fromCharCode(b),w=t=e.line,g[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E3||e.sCount[S]<0)){for(b=!1,f=0,p=_.length;f=4)return!1;if(35!==(i=e.src.charCodeAt(c))||c>=l)return!1;for(a=1,i=e.src.charCodeAt(++c);35===i&&c6||cc&&r(e.src.charCodeAt(u-1))&&(l=u),e.line=t+1,s=e.push("heading_open","h"+String(a),1),s.markup="########".slice(0,a),s.map=[t,e.line],s=e.push("inline","",0),s.content=e.src.slice(c,l).trim(),s.map=[t,e.line],s.children=[],s=e.push("heading_close","h"+String(a),-1),s.markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u,s,c,l,f,p,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d],c=e.eMarks[d],s=c))){l=61===f?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,i=0,a=h.length;i|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(s=e.src.slice(c,l),o=0;o3||e.sCount[s]<0)){for(r=!1,o=0,i=c.length;o0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var o,a,u,s,c,l,f,p=e;if(e>=t)return"";for(l=new Array(t-e),o=0;pn?new Array(a-n+1).join(" ")+this.src.slice(s,c):this.src.slice(s,c)}return l.join("")},r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){var e;for(this.ruler=new o,e=0;e=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var o,i,a,u=new this.State(e,t,n,r);for(this.tokenize(u),i=this.ruler2.getRules(""),a=i.length,o=0;o=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i=y)return!1;for(m=c,l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),l.ok&&(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?c=l.pos:h=""),m=c;c=y||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(m,c++):c=u+1):c=u+1,a||(a=e.src.slice(s,u)),!(f=e.env.references[r(a)]))return e.pos=g,!1;h=f.href,p=f.title}return t||(e.pos=s,e.posMax=u,d=e.push("link_open","a",1),d.attrs=n=[["href",h]],p&&n.push(["title",p]),e.md.inline.tokenize(e),d=e.push("link_close","a",-1)),e.pos=c,e.posMax=y,!0}},function(e,t,n){"use strict";var r=n(6).normalizeReference,o=n(6).isSpace;e.exports=function(e,t){var n,i,a,u,s,c,l,f,p,d,h,g,y,m="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=s+1)=b)return!1;for(y=l,p=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),p.ok&&(m=e.md.normalizeLink(p.str),e.md.validateLink(m)?l=p.pos:m=""),y=l;l=b||41!==e.src.charCodeAt(l))return e.pos=v,!1;l++}else{if(void 0===e.env.references)return!1;if(l=0?u=e.src.slice(y,l++):l=s+1):l=s+1,u||(u=e.src.slice(c,s)),!(f=e.env.references[r(u)]))return e.pos=v,!1;m=f.href,d=f.title}return t||(a=e.src.slice(c,s),e.md.inline.parse(a,e.md,e.env,g=[]),h=e.push("image","img",0),h.attrs=n=[["src",m],["alt",""]],h.children=g,h.content=a,d&&n.push(["title",d])),e.pos=l,e.posMax=b,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,i,a,u,s,c,l=e.pos;return 60===e.src.charCodeAt(l)&&(n=e.src.slice(l),!(n.indexOf(">")<0)&&(o.test(n)?(i=n.match(o),u=i[0].slice(1,-1),s=e.md.normalizeLink(u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=i[0].length,!0)):!!r.test(n)&&(a=n.match(r),u=a[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";function r(e){var t=32|e;return t>=97&&t<=122}var o=n(232).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,u,s=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=a)&&(!(33!==(n=e.src.charCodeAt(s+1))&&63!==n&&47!==n&&!r(n))&&(!!(i=e.src.slice(s).match(o))&&(t||(u=e.push("html_inline","",0),u.content=e.src.slice(s,s+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(227),o=n(6).has,i=n(6).isValidEntityCode,a=n(6).fromCodePoint,u=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,l=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1=0;){if(o=i[n],o.open&&o.marker===r.marker&&o.end<0&&o.level===r.level){var u=(o.close||r.open)&&void 0!==o.length&&void 0!==r.length&&(o.length+r.length)%3==0;if(!u){r.jump=t-n,r.open=!1,o.end=t,o.jump=0;break}}n-=o.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,o,s,c,l,f,p,d,h=e,g=!0,y=!0,m=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h0&&e.__compiled__[t]}).map(c).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),f(e)}function g(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function y(e,t){var n=new g(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);t||l(e)&&(t=e,e={}),this.__opts__=r({},v,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},b,e),this.__compiled__={},this.__tlds__=x,this.__tlds_replaced__=!1,this.re={},h(this)}var v={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},b={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},_="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",x="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");m.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,u,s;if(this.re.schema_test.test(e))for(u=this.re.schema_search,u.lastIndex=0;null!==(t=u.exec(e));)if(o=this.testSchemaAt(e,t[2],u.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(y(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(y(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(229).source,t.src_Cc=n(230).source,t.src_Z=n(231).source,t.src_P=n(133).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(M[e])}function u(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function s(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(R,"."),r+u(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=D(e>>>10&1023|55296),e=56320|1023&e),t+=D(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:x}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?N(e/S):e>>1,e+=N(e/t);e>j*E>>1;r+=x)e=N(e/j);return N(r+(j+1)*e/(e+C))}function h(e){var t,n,r,o,i,u,s,c,p,h,g=[],y=e.length,m=0,v=T,b=O;for(n=e.lastIndexOf(P),n<0&&(n=0),r=0;r=128&&a("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=y&&a("invalid-input"),c=f(e.charCodeAt(o++)),(c>=x||c>N((_-m)/u))&&a("overflow"),m+=c*u,p=s<=b?w:s>=b+E?E:s-b,!(cN(_/h)&&a("overflow"),u*=h;t=g.length+1,b=d(m-i,t,0==i),N(m/t)>_-v&&a("overflow"),v+=N(m/t),m%=t,g.splice(m++,0,v)}return l(g)}function g(e){var t,n,r,o,i,u,s,l,f,h,g,y,m,v,b,C=[];for(e=c(e),y=e.length,t=T,n=0,i=O,u=0;u=t&&gN((_-n)/m)&&a("overflow"),n+=(s-t)*m,t=s,u=0;u_&&a("overflow"),g==t){for(l=n,f=x;h=f<=i?w:f>=i+E?E:f-i,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=x-w,N=Math.floor,D=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:c,encode:l},decode:h,encode:g,toASCII:m,toUnicode:y},void 0!==(o=function(){return b}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(40)(e),n(24))},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){"use strict";function r(e){return void 0!==e.id}Object.defineProperty(t,"__esModule",{value:!0}),t.isActiveZoneOnCloudflare=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(235),c=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(0),c=r(s),l=n(1),f=r(l),p=n(92),d=r(p),h=n(632),g=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.state={child:null},o.gatewayRegistry=r.gatewayRegistry,o}return u(t,e),t.prototype.componentWillMount=function(){this.gatewayRegistry.addContainer(this.props.name,this)},t.prototype.componentWillUnmount=function(){this.gatewayRegistry.removeContainer(this.props.name,this)},t.prototype.render=function(){var e=this.props,t=e.component,n=e.tagName,r=o(e,["component","tagName"]);return delete r.name,c.default.createElement(t||n||"div",r,this.state.children)},t}(c.default.Component);g.contextTypes={gatewayRegistry:f.default.instanceOf(d.default).isRequired},g.propTypes={name:f.default.string.isRequired,tagName:(0,h.deprecated)(f.default.string,'Use "component" instead.'),component:f.default.oneOfType([f.default.string,f.default.func])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isRequiredForA11y=t.elementType=t.deprecated=t.componentOrElement=t.all=void 0;var o=n(633),i=r(o),a=n(634),u=r(a),s=n(635),c=r(s),l=n(636),f=r(l),p=n(637),d=r(p);t.all=i.default,t.componentOrElement=u.default,t.deprecated=c.default,t.elementType=f.default,t.isRequiredForA11y=d.default},function(e,t,n){"use strict";function r(){function e(){for(var e=arguments.length,t=Array(e),r=0;r>",l=s||r;if(null!=n[r]){var f=o+"."+r;(0,a.default)(u[f],"The "+i+" `"+l+"` of `"+c+"` is deprecated. "+t+"."),u[f]=!0}for(var p=arguments.length,d=Array(p>5?p-5:0),h=5;h>",u=i||n;if(null==t[n])return new Error("The "+o+" `"+u+"` is required to make `"+a+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,c=Array(s>5?s-5:0),l=5;l=200&&t.status<300)return n.callback(e,t);var r=new Error(t.statusText||"Unsuccessful HTTP response");r.original=e,r.response=t,r.status=t.status,n.callback(r,t)})}function h(e,t){var n=_("DELETE",e);return t&&n.end(t),n}var g,y=n(645),m=n(646),v=n(647),b=n(238);g="undefined"!=typeof window?window:"undefined"!=typeof self?self:this;var _=e.exports=n(648).bind(null,d);_.getXHR=function(){if(!(!g.XMLHttpRequest||g.location&&"file:"==g.location.protocol&&g.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1};var x="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};_.serializeObject=i,_.parseString=u,_.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},_.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},_.parse={"application/x-www-form-urlencoded":u,"application/json":JSON.parse},p.prototype.get=function(e){return this.header[e.toLowerCase()]},p.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=l(t);var n=f(t);for(var r in n)this[r]=n[r]},p.prototype.parseBody=function(e){var t=_.parse[this.type];return!t&&c(this.type)&&(t=_.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null},p.prototype.setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},p.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},_.Response=p,y(d.prototype);for(var w in v)d.prototype[w]=v[w];d.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr&&this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},d.prototype.type=function(e){return this.set("Content-Type",_.types[e]||e),this},d.prototype.responseType=function(e){return this._responseType=e,this},d.prototype.accept=function(e){return this.set("Accept",_.types[e]||e),this},d.prototype.auth=function(e,t,n){switch(n||(n={type:"basic"}),n.type){case"basic":var r=btoa(e+":"+t);this.set("Authorization","Basic "+r);break;case"auto":this.username=e,this.password=t}return this},d.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},d.prototype.attach=function(e,t,n){return this._getFormData().append(e,t,n||t.name),this},d.prototype._getFormData=function(){return this._formData||(this._formData=new g.FormData),this._formData},d.prototype.send=function(e){var t=b(e),n=this._header["content-type"];if(t&&b(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||o(e)?this:(n||this.type("json"),this)},p.prototype.parse=function(e){return g.console&&console.warn("Client-side parse() method has been renamed to serialize(). This method is not compatible with superagent v2.0"),this.serialize(e),this},p.prototype.serialize=function(e){return this._parser=e,this},d.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),n(e,t)},d.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},d.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},d.prototype.withCredentials=function(){return this._withCredentials=!0,this},d.prototype.end=function(e){var t=this,n=this.xhr=_.getXHR(),i=this._query.join("&"),a=this._timeout,u=this._formData||this._data;this._callback=e||r,n.onreadystatechange=function(){if(4==n.readyState){var e;try{e=n.status}catch(t){e=0}if(0==e){if(t.timedout)return t.timeoutError();if(t.aborted)return;return t.crossDomainError()}t.emit("end")}};var s=function(e){e.total>0&&(e.percent=e.loaded/e.total*100),e.direction="download",t.emit("progress",e)};this.hasListeners("progress")&&(n.onprogress=s);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=s)}catch(e){}if(a&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},a)),i&&(i=_.serializeObject(i),this.url+=~this.url.indexOf("?")?"&"+i:"?"+i),this.username&&this.password?n.open(this.method,this.url,!0,this.username,this.password):n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof u&&!o(u)){var l=this._header["content-type"],f=this._parser||_.serialize[l?l.split(";")[0]:""];!f&&c(l)&&(f=_.serialize["application/json"]),f&&(u=f(u))}for(var p in this.header)null!=this.header[p]&&n.setRequestHeader(p,this.header[p]);return this._responseType&&(n.responseType=this._responseType),this.emit("request",this),n.send(void 0!==u?u:null),this},_.Request=d,_.get=function(e,t,n){var r=_("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},_.head=function(e,t,n){var r=_("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.del=h,_.delete=h,_.patch=function(e,t,n){var r=_("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.post=function(e,t,n){var r=_("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.put=function(e,t,n){var r=_("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(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 o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function s(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(652),t.log=a,t.formatArgs=i,t.save=u,t.load=s,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),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(s())}).call(t,n(63))},function(e,t,n){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 o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var i=new Array(arguments.length),a=0;a100)){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]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;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*a;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>=s?Math.round(e/s)+"h":e>=u?Math.round(e/u)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,c,"day")||i(e,s,"hour")||i(e,u,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";function r(){return{type:i.APPLICATION_INIT}}Object.defineProperty(t,"__esModule",{value:!0}),t.applicationInit=r;var o=n(8),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o)},function(e,t,n){"use strict";function r(e){return e.intl.locale}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocale=r},function(e,t,n){"use strict";function r(){return{type:l.ZONE_FETCH_ANALYTICS}}function o(e,t){return{type:l.ZONE_FETCH_ANALYTICS_SUCCESS,zoneId:e,zoneAnalytics:t}}function i(){return{type:l.ZONE_FETCH_ANALYTICS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneAnalyticsDashboardGet)({zoneId:e,since:-43200},function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneFetchAnalytics=r,t.zoneFetchAnalyticsSuccess=o,t.zoneFetchAnalyticsError=i,t.asyncZoneFetchAnalytics=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(){return{type:l.ZONE_ENTITLEMENTS}}function o(e,t){return{type:l.ZONE_ENTITLEMENTS_SUCCESS,zoneId:e,zoneEntitlements:t}}function i(){return{type:l.ZONE_ENTITLEMENTS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneGetEntitlements)(e,function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneEntitlements=r,t.zoneEntitlementsSuccess=o,t.zoneEntitlementsError=i,t.asyncZoneEntitlements=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return{notifications:e.notifications}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t={listeners:[],keyframePrefixes:e.keyframePrefixes||["-webkit-","-moz-"],plugins:e.plugins||[],mediaQueryOrder:e.mediaQueryOrder||[],selectorPrefix:e.selectorPrefix||"",fontFaces:"",keyframes:"",statics:"",rules:"",mediaRules:a.f(e.mediaQueryOrder||[]),uniqueRuleIdentifier:0,uniqueKeyframeIdentifier:0,cache:{},styleNodes:{},renderRule:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.F(t,e(n),a.d,n);return t._renderStyleToClassNames(r).slice(1)},renderKeyframe:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e(n),o=JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.q(++t.uniqueKeyframeIdentifier),u=a.F(t,r,a.c,n),s=a.m(u,i,t.keyframePrefixes);t.cache[o]=i,t.keyframes+=s,t._emitChange({name:i,keyframe:s,type:a.c})}return t.cache[o]},renderFont:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e+JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.I(e),u=s({},r,{src:n.map(function(e){return"url("+a.j(e)+") format('"+a.i(e)+"')"}).join(","),fontFamily:i}),c=a.l(u);t.cache[o]=i,t.fontFaces+=c,t._emitChange({fontFamily:i,fontFace:c,type:a.b})}return t.cache[o]},renderStatic:function(e,n){var r=a.w(e,n);if(!t.cache.hasOwnProperty(r)){var o=a.o(e,t);t.cache[r]="","string"==typeof e?(t.statics+=o,t._emitChange({type:a.e,css:o})):n&&(t.statics+=a.r(n,o)),t._emitChange({type:a.e,css:o})}},renderToString:function(){return u.b(t)},subscribe:function(e){return t.listeners.push(e),{unsubscribe:function(){return t.listeners.splice(t.listeners.indexOf(e),1)}}},clear:function(){t.fontFaces="",t.keyframes="",t.statics="",t.rules="",t.mediaRules=a.f(t.mediaQueryOrder),t.uniqueRuleIdentifier=0,t.uniqueKeyframeIdentifier=0,t.cache={},t._emitChange({type:a.a})},_renderStyleToClassNames:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";for(var u in e){var s=e[u];if(a.A(s)){if(a.z(u))o+=t._renderStyleToClassNames(s,n+a.D(u),r);else if(a.y(u)){var c=a.u(r,u.slice(6).trim());o+=t._renderStyleToClassNames(s,n,c)}}else{var l=r+n+u+s;if(!t.cache.hasOwnProperty(l)){if(a.B(s)){t.cache[l]="";continue}var f=t.selectorPrefix+a.t(++t.uniqueRuleIdentifier);t.cache[l]=f;var p=i.a(u,s),d=a.s(f,n),h=a.r(d,p);r.length>0?(t.mediaRules.hasOwnProperty(r)||(t.mediaRules[r]=""),t.mediaRules[r]+=h):t.rules+=h,t._emitChange({selector:d,declaration:p,media:r,type:a.d})}o+=" "+t.cache[l]}}return o},_emitChange:function(e){a.g(t.listeners,function(t){return t(e)})}};return t.keyframePrefixes.push(""),t.clear(),e.enhancers&&a.g(e.enhancers,function(e){t=e(t)}),t}t.a=r;var o=n(241),i=n.n(o),a=n(13),u=n(248),s=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"";return'"}t.a=r},function(e,t,n){"use strict";function r(e){return"@font-face{"+i.a(e)+"}"}t.a=r;var o=n(69),i=n.n(o)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=u.a(e,function(e,t,n){return""+e+n+"{"+i.a(t)+"}"},"");return a.a(n,function(e,n){return e+"@"+n+"keyframes "+t+"{"+r+"}"},"")}t.a=r;var o=n(69),i=n.n(o),a=n(57),u=n(244)},function(e,t,n){"use strict";function r(e,t){return t?"@media "+e+"{"+t+"}":""}t.a=r},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return a.a(e);var n=u.a(t,e,s.e);return i.a(n)}t.a=r;var o=n(69),i=n.n(o),a=n(245),u=n(246),s=n(247)},function(e,t,n){"use strict";function r(e,t){return o.a(e,function(e,n){return e[n]=t[n],e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e){return"k"+e}t.a=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e<=i?o[e-1]+t:r(e/i|0,o[e%i]+t)}t.a=r;var o="abcdefghijklmnopqrstuvwxyz",i=o.length},function(e,t,n){"use strict";function r(e,t){return 0===e.length?t:e+" and "+t}t.a=r},function(e,t,n){"use strict";function r(e,t){return e+"{"+t+"}"}t.a=r},function(e,t,n){"use strict";function r(e){return"."+e+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(e.className){var n=t+e.className;return delete e.className,n}for(var r=JSON.stringify(e),o=5381,i=r.length;i;)o=33*o^r.charCodeAt(--i);return t+(o>>>0).toString(36)}t.a=r},function(e,t,n){"use strict";function r(e,t){return"string"==typeof e?e:t?t+JSON.stringify(e):""}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=n+r;return e[i]||(e[i]=o.a(n,r,t)),e[i]}t.a=r;var o=n(243)},function(e,t,n){"use strict";function r(e){return"@media"===e.substr(0,6)}t.a=r},function(e,t,n){"use strict";function r(e){return o.test(e)}t.a=r;var o=/^(:|\[|>|&)/},function(e,t,n){"use strict";function r(e){return"object"===(void 0===e?"undefined":o(e))&&!Array.isArray(e)}t.a=r;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(e,t,n){"use strict";function r(e){return void 0===e||"string"==typeof e&&-1!==e.indexOf("undefined")}t.a=r},function(e,t,n){"use strict";function r(e){return e&&1===e.nodeType}t.a=r},function(e,t,n){"use strict";function r(e){return"&"===e.charAt(0)?e.slice(1):e}t.a=r},function(e,t,n){"use strict";function r(){return o.a(document.querySelectorAll("[data-fela-type]"),function(e,t){return e[(t.getAttribute("data-fela-type")||"")+(t.getAttribute("media")||"")]=t,e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e,t){if("function"==typeof e){var n=e(t);return Array.isArray(n)?n:Object.keys(n)}return e}t.a=r},function(e,t,n){"use strict";function r(e){return'"'===e.charAt(0)?e:'"'+e+'"'}t.a=r},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e,t){if(!o.C(t))throw new Error("You need to specify a valid element node (mountNode.nodeType = 1) to render into.");var n=i.a(e);return t.textContent!==n&&(t.textContent=n),e.subscribe(function(){t.textContent=i.a(e)})}t.a=r;var o=n(13),i=n(249)},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?t-1:0),a=1;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){return function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=n.name?n.name:"FelaComponent",f=function(t,f){var p=f.renderer,d=f.theme,h=t.children,g=t._felaRule,y=t.passThrough,m=void 0===y?[]:y,v=o(t,["children","_felaRule","passThrough"]);if(!p)throw new Error("createComponent() can't render styles without the renderer in the context. Missing react-fela's at the app root?");var b=g?u.a(n,g):n;if(p.prettySelectors){var _="string"==typeof i?i:i.displayName||i.name||"";b.selectorPrefix=l+"_"+_+"__"}var x=[].concat(r(a.H(c,v)),r(a.H(m,v)));if(i._isFelaComponent)return e(i,s({_felaRule:b,passThrough:x},v),h);var w=a.p(x,v);if(v.theme=d||{},p.isNativeRenderer){var E=p.renderRule(b,v);w.style=v.style?[v.style,E]:E}else{v.style&&(w.style=v.style);var C=v.className?v.className+" ":"";w.className=C+p.renderRule(b,v)}v.id&&(w.id=v.id),v.innerRef&&(w.ref=v.innerRef);var S=v.is||i;return e(S,w,h)};return t&&(f.contextTypes=t),f.displayName=l,f._isFelaComponent=!0,f}}t.a=i;var a=n(13),u=n(250),s=Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:"",a=i.x(e,t,r,o);a.textContent!==n&&(a.textContent=n)}function o(e){e.styleNodes=i.G();var t=e.styleNodes[i.d];for(var n in a)e[n].length>0&&r(e.styleNodes,t,e[n],a[n]);for(var o in e.mediaRules){var u=e.mediaRules[o];u.length>0&&r(e.styleNodes,t,u,i.d,o)}}t.a=o;var i=n(13),a={fontFaces:i.b,statics:i.e,keyframes:i.c,rules:i.d}},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.b(r.Component,r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.c(r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=(n.n(a),n(1)),s=n.n(u),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"createRenderer",function(){return w}),n.d(t,"StyleProvider",function(){return E});var o=n(0),i=n.n(o),a=n(1),u=n.n(a),s=n(94),c=n(721),l=n(253),f=n(740),p=n(742),d=n(743),h=n(744),g=n(745),y=n(747),m=n(251),v=n(254),b=n(93),_=Object.assign||function(e){for(var t=1;t0&&(e[o]=u)}else{var h=(0,s.default)(r,o,i,e,n);h&&(e[o]=h),(0,a.default)(n,o,e)}}return e}var n=e.prefixMap,r=e.plugins;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(724),a=r(i),u=n(725),s=r(u),c=n(726),l=r(c),f=n(727),p=r(f);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e.hasOwnProperty(t))for(var r=e[t],o=0,a=r.length;o-1)return a.map(function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("filter(")>-1)return a.map(function(e){return t.replace(/filter\(/g,e+"filter(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("display"===e&&o.hasOwnProperty(t))return o[t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal"),i.hasOwnProperty(e)&&(n[i[e]]=o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},i={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&u.test(t))return a.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-","-moz-",""],u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(i.hasOwnProperty(e)&&a.hasOwnProperty(t))return o.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=["-webkit-","-moz-",""],i={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},a={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if((0,c.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),r=0,o=n.length;r-1&&"order"!==l)for(var f=t[s],p=0,h=f.length;p-1)return a;var u=i.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?u:(n["Webkit"+(0,f.default)(e)]=a,n["Moz"+(0,f.default)(e)]=u,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(95),u=r(a),s=n(70),c=r(s),l=n(252),f=r(l),p={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},d={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=(0,i.default)(e);return t.join(";"+n+":")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){var r=void 0===t?"undefined":c(t);return("number"===r||"string"===r&&t==parseFloat(t))&&(t+=n),t}function o(e,t,n){for(var i in e)!function(i){if(!u.a(i)){var a=e[i],c=n[i]||t;s.A(a)?e[i]=o(a,t,n):Array.isArray(a)?e[i]=a.map(function(e){return r(i,e,c)}):e[i]=r(i,a,c)}}(i);return e}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"px",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){return o(n,e,t)}}t.a=i;var a=n(741),u=n.n(a),s=n(13),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}},function(e,t,n){"use strict";function r(e){return a.hasOwnProperty(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;for(var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},u=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridColumn","order","lineClamp"],s=["Webkit","ms","Moz","O"],c=0,l=u.length;c=0&&t<=100}function i(e,t,n){for(var r in e){var i=e[r];s.A(i)?"from"===r||"to"===r||o(r)||(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe property.\n Expected either `to`, `from` or a percentage value between 0 and 100.",{percentage:r,style:i}),n&&delete e[r]):(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe value. An object was expected.",{percentage:r,style:i}),n&&delete e[r])}}function a(e,t,n){var o=n.logInvalid,a=n.deleteInvalid;return t===s.c?i(e,o,a):t===s.d&&r(e,o,a),e}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){return a(t,n,c({},l,e))}}t.a=u;var s=n(13),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var a in e)!function(a){var u=e[a];if("fontFace"===a&&i.A(u)){var s=u.fontFamily,c=u.src,l=r(u,["fontFamily","src"]);"string"==typeof s&&Array.isArray(c)&&(e.fontFamily=n.renderFont(s,c,l),delete e.fontFace)}else"animationName"===a&&i.A(u)?e[a]=n.renderKeyframe(function(){return u}):i.A(u)&&o(u,t,n)}(a);return e}var i=n(13);t.a=function(){return o}},function(e,t,n){"use strict";function r(e,t){return e.subscribe(function(){e.fontFaces=a.a(e.fontFaces,t),e.keyframes=a.a(e.keyframes,t),e.statics=a.a(e.statics,t),e.rules=a.a(e.rules,t),e.mediaRules=u.E(e.mediaRules,function(e,n,r){return e[r]=a.a(n,t),e},{})}),e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return r(t,s({},c,e))}}t.a=o;var i=n(746),a=n.n(i),u=n(13),s=Object.assign||function(e){for(var t=1;t="a"&&l<="z"||l>="A"&&l<="Z"||l>="0"&&l<="9"||"-_*.:#[]".indexOf(e)>=0}function i(){var e;for(e=g;e>0;e-=1)x+=s.indent}function a(){x=v(x),w?x+=" {":(x+="\n",i(),x+="{"),"\n"!==f&&(x+="\n"),g+=1}function u(){var e;g-=1,x=v(x),x.length>0&&E&&";"!==(e=x.charAt(x.length-1))&&"{"!==e&&(x+=";"),x+="\n",i(),x+="}",c.push(x),x=""}var s,c,l,f,p,d,h,g,y,m,v,b=0,_=e.length,x="",w=!0,E=!1;for(s=arguments.length>1?t:{},void 0===s.indent&&(s.indent=" "),"string"==typeof s.openbrace&&(w="end-of-line"===s.openbrace),"boolean"==typeof s.autosemicolon&&(E=s.autosemicolon),v=String.prototype.trimRight?function(e){return e.trimRight()}:function(e){return e.replace(/\s+$/,"")},h={Start:0,AtRule:1,Block:2,Selector:3,Ruleset:4,Property:5,Separator:6,Expression:7,URL:8},g=0,d=h.Start,m=!1,c=[],e=e.replace(/\r\n/g,"\n");b<_;)if(l=e.charAt(b),f=e.charAt(b+1),b+=1,r(y))x+=l,l===y&&(y=null),"\\"===l&&f===y&&(x+=f,b+=1);else if(r(l))x+=l,y=l;else if(m)x+=l,"*"===l&&"/"===f&&(m=!1,x+=f,b+=1);else if("/"!==l||"*"!==f){if(d===h.Start){if(0===c.length&&n(l)&&0===x.length)continue;if(l<=" "||l.charCodeAt(0)>=128){d=h.Start,x+=l;continue}if(o(l)||"@"===l){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1)||";"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}x+=l,d="@"===l?h.AtRule:h.Selector;continue}}if(d!==h.AtRule)if(d!==h.Block)if(d!==h.Selector)if(d!==h.Ruleset)if(d!==h.Property)if(d!==h.Separator)if(d!==h.Expression)d===h.URL&&")"===l&&x.charAt(x.length-1!=="\\")?(x+=l,d=h.Expression):x+=l;else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if(";"===l){x=v(x),x+=";\n",d=h.Ruleset;continue}if(x+=l,"("===l&&"l"===x.charAt(x.length-2)&&"r"===x.charAt(x.length-3)&&"u"===x.charAt(x.length-4)){d=h.URL;continue}}else{if(!n(l)){x+=l,d=h.Expression;continue}r(f)&&(d=h.Expression)}else{if(":"===l){x=v(x),x+=": ",d=h.Expression,n(f)&&(d=h.Separator);continue}if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}x+=l}else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if("\n"===l){x=v(x),x+="\n";continue}if(!n(l)){x=v(x),x+="\n",i(),x+=l,d=h.Property;continue}x+=l}else{if("{"===l){a(),d=h.Ruleset;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(o(l)){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}i(),x+=l,d=h.Selector;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(";"===l){x+=l,d=h.Start;continue}if("{"===l){p=v(x),a(),d="@font-face"===p?h.Ruleset:h.Block;continue}x+=l}}else m=!0,x+=l,x+=f,b+=1;return x=c.join("")+x}e.exports=t=n}()},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.prettySelectors=t,e._renderStyleToCache=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=u.E(n,function(n,i,a){if(u.A(i)){if(u.z(a))e._renderStyleToCache(t,i,r+u.D(a),o);else if(u.y(a)){var s=u.u(o,a.slice(6).trim());e._renderStyleToCache(t,i,r,s)}}else u.B(i)||(n[a]=i);return n},{});if(Object.keys(i).length>0){var s=a.a(i),c=u.s(t,r),l=u.r(c,s);o.length>0?(e.mediaRules.hasOwnProperty(o)||(e.mediaRules[o]=""),e.mediaRules[o]+=l):e.rules+=l,e._emitChange({selector:c,declaration:s,media:o,type:u.d})}},e._renderStyleToClassNames=function(t,n){if(Object.keys(t).length<1)return"";var r=e.prettySelectors&&n.name?n.name+"_":"",o=u.v(t,(e.selectorPrefix||"")+(n.selectorPrefix||r));return e.cache.hasOwnProperty(o)||(e._renderStyleToCache(o,t),e.cache[o]=!0),o},e.renderRule=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=u.F(e,t(n),u.d,n);return e._renderStyleToClassNames(r,t)},e}function o(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e){return r(e,!1)}}t.a=o;var i=n(69),a=n.n(i),u=n(13)},function(e,t,n){"use strict";var r=n(255);t.a={gradient:{primary:"linear-gradient(left, #76C4E2, #85CBA8)",two:"linear-gradient(left, #8176B5, #85CBA8)",three:"linear-gradient(left, #8176B5, #76C4E2)",four:"linear-gradient(left, #8176B5, #BA77B1)",five:"linear-gradient(left, #8176B5, #F16975)",six:"linear-gradient(left, #F16975, #F69259)",seven:"linear-gradient(left, #F69259, #FFDB6F)",eight:"linear-gradient(left, #85CBA8, #FFDB6F)"},color:{rain:"#408BC9",sky:"#76C4E2",dew:"#85CBA8",twilight:"#8176B5",sunset:"#BA77B1",dawn:"#F16975",sunrise:"#F69259",lightning:"#FFDB6F",night:"#404041",dusk:"#4D4D4F",storm:"#808285",hail:"#BCBEC0",moonshine:"#F7F7F7",cement:"#7D7D7D",grass:"#9BCA3E",marine:"#2F7BBF",tangerine:"#FF7900",apple:"#BD2527"},fontSize:"15px",boxShadow:"0 0 20px 0 rgba(136,136,136,0.50)",inputFontSize:"13px",lineHeight:1.5,inputLineHeight:1.4,em:"1em",rem:"1rem",fontFamily:'"Open Sans", Helvetica, Arial, sans-serif',weightLight:300,weightNormal:400,weightSemiBold:600,weightBold:700,fontWeight:400,fontColorHeadingCaption:"#888",borderRadius:"2px",arrowSize:"5px",disabledBackground:"#ededed",bodyBackground:"#ebebeb",bodyAccentColor:"#333",bodyOffsetColor:"#787878",fontColor:"#333",colorWhite:"#fff",colorBlack:"#000",colorOffsetLight:.15,colorOffsetDark:.07,colorInfo:"#00a9eb",colorSuccess:"#68970f",colorWarning:"#fca520",colorError:"#ff3100",colorMuted:"#7c7c7c",colorSmoke:"#f2f2f2",colorBlue:"#2f7bbf",colorBlueLight:r.b(.15,"#2f7bbf"),colorBlueDark:r.a(.07,"#2f7bbf"),colorOrange:"#ff7900",colorOrangeLight:r.b(.15,"#ff7900"),colorOrangeDark:r.a(.07,"#ff7900"),colorGray:"#7c7c7c",colorGrayLight:"#dedede",colorGrayLightOnboarding:"#F7F7F7",colorGrayDark:"#333",colorGrayBorder:"#666",colorGreen:"#9bca3e",colorGreenLight:r.b(.15,"#9bca3e"),colorGreenDark:r.a(.07,"#9bca3e"),colorRed:"#bd2527",colorRedLight:r.b(.15,"#bd2527"),colorRedDark:r.a(.07,"#bd2527"),colorYellow:"#ffd24d",colorYellowLight:r.b(.15,"#ffd24d"),colorYellowDark:r.a(.07,"#ffd24d"),colorPink:"#d91698",colorPinkLight:r.b(.15,"#d91698"),colorPinkDark:r.a(.07,"#d91698"),colorPurple:"#9545e5",colorPurpleLight:r.b(.15,"#d91698"),colorPurpleDark:r.a(.07,"#d91698"),colorTwitterBlue:"#00aced",colorFacebookBlue:"#3b5998",colorMainBackground:"#e6e6e6",colorOverlay:"rgba(0, 0, 0, .7)",zIndexMax:1e3}},function(e,t,n){(function(t){t.IntlPolyfill=n(750),n(751),t.Intl||(t.Intl=t.IntlPolyfill,t.IntlPolyfill.__applyLocaleSensitivePrototypes()),e.exports=t.IntlPolyfill}).call(t,n(24))},function(e,t,n){"use strict";(function(t){function n(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var t=Math.round(Math.log(e)*Math.LOG10E);return t-(Number("1e"+t)>e)}function r(e){for(var t in e)(e instanceof r||Ie.call(e,t))&&Fe(this,t,{value:e[t],enumerable:!0,writable:!0,configurable:!0})}function o(){Fe(this,"length",{writable:!0,value:0}),arguments.length&&qe.apply(this,Ue.call(arguments))}function i(){if(We.disableRegExpRestore)return function(){};for(var e={lastMatch:RegExp.lastMatch||"",leftContext:RegExp.leftContext,multiline:RegExp.multiline,input:RegExp.input},t=!1,n=1;n<=9;n++)t=(e["$"+n]=RegExp["$"+n])||t;return function(){var n=/[.?*+^$[\]\\(){}|-]/g,r=e.lastMatch.replace(n,"\\$&"),i=new o;if(t)for(var a=1;a<=9;a++){var u=e["$"+a];u?(u=u.replace(n,"\\$&"),r=r.replace(u,"("+u+")")):r="()"+r,qe.call(i,r.slice(0,r.indexOf("(")+1)),r=r.slice(r.indexOf("(")+1)}var s=Be.call(i,"")+r;s=s.replace(/(\\\(|\\\)|[^()])+/g,function(e){return"[\\s\\S]{"+e.replace("\\","").length+"}"});var c=new RegExp(s,e.multiline?"gm":"g");c.lastIndex=e.leftContext.length,c.exec(e.input)}}function a(e){if(null===e)throw new TypeError("Cannot convert null or undefined to object");return"object"===(void 0===e?"undefined":Ne.typeof(e))?e:Object(e)}function u(e){return"number"==typeof e?e:Number(e)}function s(e){var t=u(e);return isNaN(t)?0:0===t||-0===t||t===1/0||t===-1/0?t:t<0?-1*Math.floor(Math.abs(t)):Math.floor(Math.abs(t))}function c(e){var t=s(e);return t<=0?0:t===1/0?Math.pow(2,53)-1:Math.min(t,Math.pow(2,53)-1)}function l(e){return Ie.call(e,"__getInternalProperties")?e.__getInternalProperties(Ye):Ve(null)}function f(e){tt=e}function p(e){for(var t=e.length;t--;){var n=e.charAt(t);n>="a"&&n<="z"&&(e=e.slice(0,t)+n.toUpperCase()+e.slice(t+1))}return e}function d(e){return!!$e.test(e)&&(!Qe.test(e)&&!Je.test(e))}function h(e){var t=void 0,n=void 0;e=e.toLowerCase(),n=e.split("-");for(var r=1,o=n.length;r1&&(t.sort(),e=e.replace(RegExp("(?:"+et.source+")+","i"),Be.call(t,""))),Ie.call(nt.tags,e)&&(e=nt.tags[e]),n=e.split("-");for(var i=1,a=n.length;i-1)return n;var r=n.lastIndexOf("-");if(r<0)return;r>=2&&"-"===n.charAt(r-2)&&(r-=2),n=n.substring(0,r)}}function b(e,t){for(var n=0,o=t.length,i=void 0,a=void 0,u=void 0;n2){var O=c[S+1],T=C.call(x,O);-1!==T&&(w=O,E="-"+m+"-"+w)}else{var P=C(x,"true");-1!==P&&(w="true")}}if(Ie.call(n,"[["+m+"]]")){var A=n["[["+m+"]]"];-1!==C.call(x,A)&&A!==w&&(w=A,E="")}p["[["+m+"]]"]=w,d+=E,g++}if(d.length>2){var k=s.indexOf("-x-");if(-1===k)s+=d;else{s=s.substring(0,k)+d+s.substring(k)}s=h(s)}return p["[[locale]]"]=s,p}function w(e,t){for(var n=t.length,r=new o,i=0;ir)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(i)}return o}function T(e){for(var t=m(e),n=[],r=t.length,o=0;oi;i++){var a=n[i],u={};u.type=a["[[type]]"],u.value=a["[[value]]"],r[o]=u,o+=1}return r}function N(e,t){var n=l(e),r=n["[[dataLocale]]"],i=n["[[numberingSystem]]"],a=We.NumberFormat["[[localeData]]"][r],u=a.symbols[i]||a.symbols.latn,s=void 0;!isNaN(t)&&t<0?(t=-t,s=n["[[negativePattern]]"]):s=n["[[positivePattern]]"];for(var c=new o,f=s.indexOf("{",0),p=0,d=0,h=s.length;f>-1&&fd){var g=s.substring(d,f);qe.call(c,{"[[type]]":"literal","[[value]]":g})}var y=s.substring(f+1,p);if("number"===y)if(isNaN(t)){var m=u.nan;qe.call(c,{"[[type]]":"nan","[[value]]":m})}else if(isFinite(t)){"percent"===n["[[style]]"]&&isFinite(t)&&(t*=100);var v=void 0;v=Ie.call(n,"[[minimumSignificantDigits]]")&&Ie.call(n,"[[maximumSignificantDigits]]")?L(t,n["[[minimumSignificantDigits]]"],n["[[maximumSignificantDigits]]"]):I(t,n["[[minimumIntegerDigits]]"],n["[[minimumFractionDigits]]"],n["[[maximumFractionDigits]]"]),ut[i]?function(){var e=ut[i];v=String(v).replace(/\d/g,function(t){return e[t]})}():v=String(v);var b=void 0,_=void 0,x=v.indexOf(".",0);if(x>0?(b=v.substring(0,x),_=v.substring(x+1,x.length)):(b=v,_=void 0),!0===n["[[useGrouping]]"]){var w=u.group,E=[],C=a.patterns.primaryGroupSize||3,S=a.patterns.secondaryGroupSize||C;if(b.length>C){var O=b.length-C,T=O%S,P=b.slice(0,T);for(P.length&&qe.call(E,P);To;o++){r+=n[o]["[[value]]"]}return r}function L(e,t,r){var o=r,i=void 0,a=void 0;if(0===e)i=Be.call(Array(o+1),"0"),a=0;else{a=n(Math.abs(e));var u=Math.round(Math.exp(Math.abs(a-o+1)*Math.LN10));i=String(Math.round(a-o+1<0?e*u:e/u))}if(a>=o)return i+Be.call(Array(a-o+1+1),"0");if(a===o-1)return i;if(a>=0?i=i.slice(0,a+1)+"."+i.slice(a+1):a<0&&(i="0."+Be.call(Array(1-(a+1)),"0")+i),i.indexOf(".")>=0&&r>t){for(var s=r-t;s>0&&"0"===i.charAt(i.length-1);)i=i.slice(0,-1),s--;"."===i.charAt(i.length-1)&&(i=i.slice(0,-1))}return i}function I(e,t,n,r){var o=r,i=Math.pow(10,o)*e,a=0===i?"0":i.toFixed(0),u=void 0,s=(u=a.indexOf("e"))>-1?a.slice(u+1):0;s&&(a=a.slice(0,u).replace(".",""),a+=Be.call(Array(s-(a.length-1)+1),"0"));var c=void 0;if(0!==o){var l=a.length;if(l<=o){a=Be.call(Array(o+1-l+1),"0")+a,l=o+1}var f=a.substring(0,l-o);a=f+"."+a.substring(l-o,a.length),c=f.length}else c=a.length;for(var p=r-n;p>0&&"0"===a.slice(-1);)a=a.slice(0,-1),p--;if("."===a.slice(-1)&&(a=a.slice(0,-1)),cn&&(n=u,r=a),o++}return r}function Q(e,t){var n=[];for(var r in gt)Ie.call(gt,r)&&void 0!==e["[["+r+"]]"]&&n.push(r);if(1===n.length){var o=H(n[0],e["[["+n[0]+"]]"]);if(o)return o}for(var i=-1/0,a=void 0,u=0,s=t.length;u=2||m>=2&&y<=1?v>0?l-=6:v<0&&(l-=8):v>1?l-=3:v<-1&&(l-=6)}}c._.hour12!==e.hour12&&(l-=1),l>i&&(i=l,a=c),u++}return a}function J(){var e=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];return ne(this,void 0===e?Date.now():u(e))},n=Ze.call(t,this);e["[[boundFormat]]"]=n}return e["[[boundFormat]]"]}function ee(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],t=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!t||!t["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");return re(this,void 0===e?Date.now():u(e))}function te(e,t){if(!isFinite(t))throw new RangeError("Invalid valid date passed to format");var n=e.__getInternalProperties(Ye);i();for(var r=n["[[locale]]"],a=new it.NumberFormat([r],{useGrouping:!1}),u=new it.NumberFormat([r],{minimumIntegerDigits:2,useGrouping:!1}),s=oe(t,n["[[calendar]]"],n["[[timeZone]]"]),c=n["[[pattern]]"],l=new o,f=0,p=c.indexOf("{"),d=0,h=n["[[dataLocale]]"],g=We.DateTimeFormat["[[localeData]]"][h].calendars,y=n["[[calendar]]"];-1!==p;){var m=void 0;if(-1===(d=c.indexOf("}",p)))throw new Error("Unclosed pattern");p>f&&qe.call(l,{type:"literal",value:c.substring(f,p)});var v=c.substring(p+1,d);if(gt.hasOwnProperty(v)){var b=n["[["+v+"]]"],_=s["[["+v+"]]"];if("year"===v&&_<=0?_=1-_:"month"===v?_++:"hour"===v&&!0===n["[[hour12]]"]&&0===(_%=12)&&!0===n["[[hourNo0]]"]&&(_=12),"numeric"===b)m=D(a,_);else if("2-digit"===b)m=D(u,_),m.length>2&&(m=m.slice(-2));else if(b in ht)switch(v){case"month":m=Z(g,y,"months",b,s["[["+v+"]]"]);break;case"weekday":try{m=Z(g,y,"days",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+r)}break;case"timeZoneName":m="";break;case"era":try{m=Z(g,y,"eras",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find era data for locale "+r)}break;default:m=s["[["+v+"]]"]}qe.call(l,{type:v,value:m})}else if("ampm"===v){var x=s["[[hour]]"];m=Z(g,y,"dayPeriods",x>11?"pm":"am",null),qe.call(l,{type:"dayPeriod",value:m})}else qe.call(l,{type:"literal",value:c.substring(p,d+1)});f=d+1,p=c.indexOf("{",f)}return do;o++){r+=n[o].value}return r}function re(e,t){for(var n=te(e,t),r=[],o=0;n.length>o;o++){var i=n[o];r.push({type:i.type,value:i.value})}return r}function oe(e,t,n){var o=new Date(e),i="get"+(n||"");return new r({"[[weekday]]":o[i+"Day"](),"[[era]]":+(o[i+"FullYear"]()>=0),"[[year]]":o[i+"FullYear"](),"[[month]]":o[i+"Month"](),"[[day]]":o[i+"Date"](),"[[hour]]":o[i+"Hours"](),"[[minute]]":o[i+"Minutes"](),"[[second]]":o[i+"Seconds"](),"[[inDST]]":!1})}function ie(e,t){if(!e.number)throw new Error("Object passed doesn't contain locale data for Intl.NumberFormat");var n=void 0,r=[t],o=t.split("-");for(o.length>2&&4===o[1].length&&qe.call(r,o[0]+"-"+o[2]);n=He.call(r);)qe.call(We.NumberFormat["[[availableLocales]]"],n),We.NumberFormat["[[localeData]]"][n]=e.number,e.date&&(e.date.nu=e.number.nu,qe.call(We.DateTimeFormat["[[availableLocales]]"],n),We.DateTimeFormat["[[localeData]]"][n]=e.date);void 0===tt&&f(t)}var ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},ue=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,r,o){var i=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&i)for(var u in i)void 0===n[u]&&(n[u]=i[u]);else n||(n=i||{});if(1===a)n.children=o;else if(a>1){for(var s=Array(a),c=0;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Ee=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},Ce=void 0===t?self:t,Se=function e(t,n,r,o){var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var a=Object.getPrototypeOf(t);null!==a&&e(a,n,r,o)}else if("value"in i&&i.writable)i.value=r;else{var u=i.set;void 0!==u&&u.call(o,r)}return r},Oe=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Te=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var n,r=[],o=e[Symbol.iterator]();!(n=o.next()).done&&(r.push(n.value),!t||r.length!==t););return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")},Pe=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},Ae=function(e,t){return e.raw=t,e},ke=function(e,t,n){if(e===n)throw new ReferenceError(t+" is not defined - temporal dead zone");return e},Re={},Me=function(e){return Array.isArray(e)?e:Array.from(e)},je=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(257),p=Object.assign||function(e){for(var t=1;t-1},matchesSelector:function(e,t){return(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||function(t){return r(e,t)}).call(e,t)}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){e.addEventListener(t,n,!1)}function o(e,t,n){e.removeEventListener(t,n,!1)}var i=n(19),a=n(166),u=[];i.canUseDOM&&function(){var e=a("animationend"),t=a("transitionend");e&&u.push(e),t&&u.push(t)}();var s={addEndEventListener:function(e,t){if(0===u.length)return void window.setTimeout(t,0);u.forEach(function(n){r(e,n,t)})},removeEndEventListener:function(e,t){0!==u.length&&u.forEach(function(n){o(e,n,t)})}};e.exports=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t-1:!!l&&o(e,t,n)>-1}var o=n(808),i=n(266),a=n(815),u=n(816),s=n(820),c=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(809),i=n(810),a=n(811);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i-1&&e%1==0&&e requires either a `to` or `onClick` prop");var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.dropdownRegistry=n.dropdownRegistry,i.handleLinkBlur=i.handleLinkBlur.bind(i),i.handleLinkFocus=i.handleLinkFocus.bind(i),i.focus=i.focus.bind(i),i}return i(t,e),p(t,[{key:"componentDidMount",value:function(){this.dropdownRegistry.addChild(this)}},{key:"componentWillUnmount",value:function(){this.dropdownRegistry.removeChild(this)}},{key:"focus",value:function(){this.link.focus()}},{key:"handleLinkFocus",value:function(){this.dropdownRegistry.setFocusedChild(this)}},{key:"handleLinkBlur",value:function(){this.dropdownRegistry.removeFocusedChild()}},{key:"render",value:function(){var e=this;return u.a.createElement("li",{className:"cf-dropdown__link",role:"menuitem"},u.a.createElement(l.default,{ref:function(t){return e.link=t},to:this.props.to,onClick:this.props.onClick,onFocus:this.handleLinkFocus,onBlur:this.handleLinkBlur},this.props.children))}}]),t}(u.a.Component);d.propTypes={to:c.a.string,onClick:c.a.func,children:c.a.node},d.contextTypes={dropdownRegistry:c.a.instanceOf(f.a).isRequired},t.a=d},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=function(){return o.a.createElement("div",{className:"cf-dropdown__separator",role:"separator"})};t.a=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(861);t.default=r.a},function(e,t,n){"use strict";function r(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 o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(862),p=n.n(f),d=Object.assign||function(e){for(var t=1;t Date: Mon, 5 Oct 2020 11:14:36 -0700 Subject: [PATCH 2/2] v3.8.3 --- cloudflare.php | 2 +- composer.json | 2 +- composer.lock | 2 +- config.json | 4 ++-- readme.txt | 6 +++++- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/cloudflare.php b/cloudflare.php index b96906e5..a73e0ccd 100644 --- a/cloudflare.php +++ b/cloudflare.php @@ -3,7 +3,7 @@ Plugin Name: Cloudflare Plugin URI: https://blog.cloudflare.com/new-wordpress-plugin/ Description: Cloudflare speeds up and protects your WordPress site. -Version: 3.8.2 +Version: 3.8.3 Author: Cloudflare, Inc. License: BSD-3-Clause */ diff --git a/composer.json b/composer.json index 60d72f13..c6052d9b 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "_comment": [ "php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195" ], - "version": "3.8.2", + "version": "3.8.3", "config": { "platform": { "php": "5.6.40" diff --git a/composer.lock b/composer.lock index d3e29c96..62690324 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "415745a9b5b1a3f6b0b42ac1e7f79235", + "content-hash": "04424d401190912e6e604bbc33e79895", "packages": [ { "name": "cloudflare/cf-ip-rewrite", diff --git a/config.json b/config.json index ceb6e7c7..e3f093de 100644 --- a/config.json +++ b/config.json @@ -25,5 +25,5 @@ }, "locale": "en", "integrationName": "wordpress", - "version": "3.8.2" -} \ No newline at end of file + "version": "3.8.3" +} diff --git a/readme.txt b/readme.txt index 254a34ae..f6437077 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: icyapril, manatarms, thillcf, deuill, epatryk Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free Requires at least: 3.4 Tested up to: 5.5.1 -Stable tag: 3.8.2 +Stable tag: 3.8.3 License: BSD-3-Clause All of Cloudflare’s performance and security benefits in a simple one-click install. @@ -91,6 +91,10 @@ Yes, Cloudflare works with, and helps speed up your site even more, if you have == Changelog == += 3.8.3 - 2020-10-05 = + +* Fixed setting all APO values properly for correct dashboard rendering + = 3.8.2 - 2020-10-02 = * re-relase broken version, no changes