sticker-market-blog/build/js/vendors.9d13aeb150165ab32cb0.js

216 lines
433 KiB
JavaScript
Raw Normal View History

2019-05-19 13:47:54 -04:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t){var n;e.exports=function(e,t,r,i){n||(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var a=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),t&&a)for(var l in a)void 0===t[l]&&(t[l]=a[l]);else t||(t=a||{});if(1===o)t.children=i;else if(o>1){for(var u=new Array(o),s=0;s<o;s++)u[s]=arguments[s+3];t.children=u}return{$$typeof:n,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}},function(e,t,n){"use strict";e.exports=n(21)},function(e,t,n){"use strict";n.d(t,"c",function(){return u}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return c}),n.d(t,"e",function(){return f}),n.d(t,"d",function(){return d});var r=n(8),i=n(9),a=n(4),o=n(10),l=n(5),u=1,s=2,c=3,f={};function d(e,t,n){var r;null==n&&(n=f),Object.defineProperties(this,{_observer:{value:n,writable:!0},_definition:{value:m,writable:!0},_duplicate:{value:void 0,writable:!0},_duplicates:{value:void 0,writable:!0},_indegree:{value:-1,writable:!0},_inputs:{value:[],writable:!0},_invalidate:{value:l.a,writable:!0},_module:{value:t},_name:{value:null,writable:!0},_outputs:{value:new Set,writable:!0},_promise:{value:Promise.resolve(void 0),writable:!0},_reachable:{value:n!==f,writable:!0},_rejector:{value:(r=this,function(e){if(e===m)throw new a.a(r._name+" is not defined",r._name);throw new a.a(r._name+" could not be resolved",r._name)})},_type:{value:e},_value:{value:void 0,writable:!0},_version:{value:0,writable:!0}})}function p(e){e._module._runtime._dirty.add(e),e._outputs.add(this)}function h(e){e._module._runtime._dirty.add(e),e._outputs.delete(this)}function m(){throw m}function v(e){return function(){throw new a.a(e+" is defined more than once")}}function g(e,t,n){var r=this._module._scope,i=this._module._runtime;if(this._inputs.forEach(h,this),t.forEach(p,this),this._inputs=t,this._definition=n,this._value=void 0,n===l.a?i._variables.delete(this):i._variables.add(this),e==this._name&&r.get(e)===this)this._outputs.forEach(i._updates.add,i._updates);else{var a,o;if(this._name)if(this._outputs.size)r.delete(this._name),(o=this._module._resolve(this._name))._outputs=this._outputs,this._outputs=new Set,o._outputs.forEach(function(e){e._inputs[e._inputs.indexOf(this)]=o},this),o._outputs.forEach(i._updates.add,i._updates),i._dirty.add(o).add(this),r.set(this._name,o);else if((o=r.get(this._name))===this)r.delete(this._name);else{if(o._type!==c)throw new Error;o._duplicates.delete(this),this._duplicate=void 0,1===o._duplicates.size&&(o=o._duplicates.keys().next().value,a=r.get(this._name),o._outputs=a._outputs,a._outputs=new Set,o._outputs.forEach(function(e){e._inputs[e._inputs.indexOf(a)]=o}),o._definition=o._duplicate,o._duplicate=void 0,i._dirty.add(a).add(o),i._updates.add(o),r.set(this._name,o))}if(this._outputs.size)throw new Error;e&&((o=r.get(e))?o._type===c?(this._definition=v(e),this._duplicate=n,o._duplicates.add(this)):o._type===s?(this._outputs=o._outputs,o._outputs=new Set,this._outputs.forEach(function(e){e._inputs[e._inputs.indexOf(o)]=this},this),i._dirty.add(o).add(this),r.set(e,this)):(o._duplicate=o._definition,this._duplicate=n,(a=new d(c,this._module))._name=e,a._definition=this._definition=o._definition=v(e),a._outputs=o._outputs,o._outputs=new Set,a._outputs.forEach(function(e){e._inputs[e._inputs.indexOf(o)]=a}),a._duplicates=new Set([this,o]),i._dirty.add(o).add(a),i._updates.add(o).add(a),r.set(e,a)):r.set(e,this)),this._name=e}return i._updates.add(this),i._compute(),this}Object.defineProperties(d.prototype,{_pending:{value:function(){this._observer.pending&&this._observer.pending()},writable:!0,configurable:!0},_fulfilled:{value:function(e){this._observer.fulfilled&&this._observer.fulfilled(e,this._name)},writable:!0,configurable:!0},_rejected:{value:function(e){this._observer.rejected&&this._observer.rejected(e,this._name)},writable:!0,configurable:!0},define:{value:function(e,t,n){switch(arguments.length){case 1:n=e,e=t=null;break;case 2:n=t,"string"==typeof e?t=null:(t=e,e=null)}return g.call(this,
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var s in n=Object(arguments[u]))i.call(n,s)&&(l[s]=n[s]);if(r){o=r(n);for(var c=0;c<o.length;c++)a.call(n,o[c])&&(l[o[c]]=n[o[c]])}}return l}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(22)},function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.next&&"function"==typeof e.return}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(7),i=n(6);function a(e,t,n){if("function"==typeof t&&(n=t,t=null),"function"!=typeof n)throw new Error("invalid observer");null==t&&(t=new r.a);const{modules:a,id:o}=e,l=new Map,u=new i.a(t),s=c(o);function c(e){let t=l.get(e);return t||l.set(e,t=u.module()),t}for(const e of a){const t=c(e.id);let r=0;for(const i of e.variables)i.from?t.import(i.remote,i.name,c(i.from)):t===s?t.variable(n(i,r,e.variables)).define(i.name,i.inputs,i.value):t.define(i.name,i.inputs,i.value),++r}return u}},function(e,t,n){"use strict";(function(e){var t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=o(n(29)),i=o(n(1)),a=o(n(30));function o(e){return e&&e.__esModule?e:{default:e}}var l=function(e,t){e=e.replace(/(<([^>]+)>)/gi,"");var n=/\$\$[\s\S]+?\$\$|\$[\s\S]+?\$/g,i=[],a=e.match(n),o=e.split(n);a?o.forEach(function(e,t){var n;i.push({string:e,type:"text"}),a[t]&&i.push({string:(n=a[t],n="$"===n[1]?n.slice(2,-2):n.slice(1,-1)),type:"latex"})}):i.push({string:e,type:"text"});return i.map(function(e){return"text"===e.type?e.string:function(e){var n=void 0;try{n=r.default.renderToString(e,t)}catch(t){return console.error("couldn`t convert string",e),e}return n}(e.string)}).join(" ")},u=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),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}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i.default.Component),t(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.displayMode;return i.default.createElement("span",{dangerouslySetInnerHTML:{__html:l(t,{displayMode:n})}})}}]),n}();u.propTypes={children:a.default.string,displayMode:a.default.bool},u.defaultProps={children:"",displayMode:!1},e&&e.exports?e.exports=u:window.Latex=u}).call(this,n(28)(e))},,function(e,t,n){t.hot=function(e){return e}},function(e,t,n){"use strict";function r(e,t){const n=e.module();return n.variable(t()).define(["md"],function(e){return e`# Inputs
<div style="margin-top: -3px; font-weight: 100; font-size: 1.05em;">*a.k.a The Grand Native Inputs Bazaar*</div>
<img width="350px" src="https://gist.githubusercontent.com/jashkenas/0c1a40e6fdd2a8df5d3a4177e0a2a5cd/raw/66df7c29968fc8398833ffe7c72f06cb37211c69/capstan.gif" />
A collection of assorted fancy inputs, odds and ends with which to produce values to feed your burgeoning sketches. All inputs support optional **titles** and **descriptions**; where it makes sense, inputs also support a **submit** option, which allows you to prevent the value from updating until the input has been finalized.
Wares we have on offer:
* [\`slider\`](#sliderDemo)
* [\`button\`](#buttonDemo)
* [\`select\`](#selectDemo)
* [\`color\`](#colorDemo)
* [\`coordinates\`](#coordinatesDemo)
* [\`worldMapCoordinates\`](#worldMapCoordinatesDemo)
* [\`usaMapCoordinates\`](#usaMapCoordinatesDemo)
* [\`date\`](#dateDemo)
* [\`time\`](#timeDemo)
* [\`file\`](#fileDemo)
* [\`text\`](#textDemo)
* [\`textarea\`](#textareaDemo)
* [\`radio\`](#radioDemo)
* [\`checkbox\`](#checkboxDemo)
* [\`number\`](#numberDemo)
* [\`password\`](#passwordDemo)
#### Friends & Family:
- For fully custom forms, combining various inputs into a single reactive cell, try [@mbostock/form-input](/@mbostock/form-input).
- For data-driven range sliders, displaying a histogram of the distribution and allowing you to filter out a range of a dataset along a given attribute, try: [@bumbeishvili/data-driven-range-sliders](/@bumbeishvili/data-driven-range-sliders), or [@trebor/snapping-histogram-slider](/@trebor/snapping-histogram-slider)
- For a ternary plot input, describing the percentages of a whole composed of exactly three things, give [@yurivish/ternary-slider](/@yurivish/ternary-slider) a try.
*If you have any improvements for the bazaar, [please make your change in a fork and send it to me as a suggestion.](https://observablehq.com/@observablehq/suggestions-and-comments)*`}),n.variable(t("sliderDemo")).define("sliderDemo",["md"],function(e){return e`---
## Sliders
~~~js
import {slider} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof a")).define("viewof a",["slider"],function(e){return e()}),n.variable(t("a")).define("a",["Generators","viewof a"],(e,t)=>e.input(t)),n.variable(t("viewof a1")).define("viewof a1",["slider"],function(e){return e({min:0,max:1,step:.01,format:".0%",description:"Zero to one, formatted as a percentage"})}),n.variable(t("a1")).define("a1",["Generators","viewof a1"],(e,t)=>e.input(t)),n.variable(t("viewof a1_1")).define("viewof a1_1",["slider"],function(e){return e({min:0,max:1,step:.01,format:e=>`${Math.round(100*e)} per cent`,description:"Zero to one, formatted with a custom function"})}),n.variable(t("a1_1")).define("a1_1",["Generators","viewof a1_1"],(e,t)=>e.input(t)),n.variable(t("viewof a2")).define("viewof a2",["slider"],function(e){return e({min:0,max:1e9,step:1e3,value:325e4,format:",",description:"Zero to one billion, in steps of one thousand, formatted as a (US) number"})}),n.variable(t("a2")).define("a2",["Generators","viewof a2"],(e,t)=>e.input(t)),n.variable(t("viewof a3")).define("viewof a3",["slider"],function(e){return e({min:0,max:100,step:1,value:10,title:"Integers",description:"Integers from zero through 100"})}),n.variable(t("a3")).define("a3",["Generators","viewof a3"],(e,t)=>e.input(t)),n.variable(t("viewof a4")).define("viewof a4",["slider"],function(e){return e({min:.9,max:1.1,precision:3,description:"A high precision slider example"})}),n.variable(t("a4")).define("a4",["Generators","viewof a4"],(e,t)=>e.input(t)),n.variable(t("viewof a5")).define("viewof a5",["slider"],function(e){return e({min:.9,max:1.1,precision:3,submit:!0,description:"The same as a4, but only changes value on submit"})}),n.variable(t("a5")).define("a5",["Generators","viewof a5"],(e,t)=>e.input(t)),n.variable(t()).define(["md"],function(e){return e`More [fancy slider techniques](https://beta.observablehq.com/@mootari/prime-numbers-slider).`}),n.variable(t("slider")).define("slider",["input"],function(e){return function(t={}){let{value:n,min:r=0,max:i=1,step:a="any",precision:o=2,title:l,description:u,getValue:s,format:c,display:f,submit:d}=t;return"number"==typeof t&&(n=t),null==n&&(n=(i+r)/2),o=Math.pow(10,o),s||(s=(e=>Math.round(e.valueAsNumber*o)/o)),e({type:"range",title:l,description:u,submit:d,format:c,display:f,attributes:{min:r,max:i,step:a,value:n},getValue:s})}}),n.variable(t("buttonDemo")).define("buttonDemo",["md"],function(e){return e`---
## Buttons
~~~js
import {button} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof b")).define("viewof b",["button"],function(e){return e()}),n.variable(t("b")).define("b",["Generators","viewof b"],(e,t)=>e.input(t)),n.variable(t()).define(["b"],function(e){return!this}),n.variable(t("viewof b1")).define("viewof b1",["button"],function(e){return e({value:"Click me",description:"We use a reference to the button below to record the time you pressed it."})}),n.variable(t("b1")).define("b1",["Generators","viewof b1"],(e,t)=>e.input(t)),n.variable(t()).define(["b1"],function(e){return new Date(Date.now()).toUTCString()}),n.variable(t("button")).define("button",["input"],function(e){return function(t={}){let{value:n,title:r,description:i,disabled:a}=t;"string"==typeof t&&(n=t),n||(n="Ok");const o=e({type:"button",title:r,description:i,attributes:{disabled:a,value:n}});return o.output.remove(),o}}),n.variable(t("selectDemo")).define("selectDemo",["md"],function(e){return e`---
## Dropdown Menus and Multiselects
~~~js
import {select} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof dd")).define("viewof dd",["select"],function(e){return e(["Spring","Summer","Fall","Winter"])}),n.variable(t("dd")).define("dd",["Generators","viewof dd"],(e,t)=>e.input(t)),n.variable(t()).define(["dd"],function(e){return e}),n.variable(t("viewof dd1")).define("viewof dd1",["select"],function(e){return e({title:"Stooges",description:"Please pick your favorite stooge.",options:["Curly","Larry","Moe","Shemp"],value:"Moe"})}),n.variable(t("dd1")).define("dd1",["Generators","viewof dd1"],(e,t)=>e.input(t)),n.variable(t()).define(["dd1"],function(e){return e}),n.variable(t("viewof dd2")).define("viewof dd2",["select"],function(e){return e({description:"As a child, which vegetables did you refuse to eat?",options:["Spinach","Broccoli","Brussels Sprouts","Cauliflower","Kale","Turnips","Green Beans","Asparagus"],multiple:!0})}),n.variable(t("dd2")).define("dd2",["Generators","viewof dd2"],(e,t)=>e.input(t)),n.variable(t()).define(["dd2"],function(e){return e}),n.variable(t("viewof dd3")).define("viewof dd3",["select"],function(e){const t=e({title:"How are you feeling today?",options:[{label:"🤷",value:"shrug"},{label:"😂",value:"tears-of-joy"},{label:"😍",value:"loving-it"},{label:"🤔",value:"hmmm"},{label:"😱",value:"yikes"},{label:"😈",value:"mischievous"},{label:"💩",value:"poo"}],value:"hmmm"});return t.input.style.fontSize="30px",t.input.style.marginTop="8px",t}),n.variable(t("dd3")).define("dd3",["Generators","viewof dd3"],(e,t)=>e.input(t)),n.variable(t()).define(["dd3"],function(e){return e}),n.variable(t("select")).define("select",["input","html"],function(e,t){return function(n={}){let{value:r,title:i,description:a,submit:o,multiple:l,size:u,options:s}=n;Array.isArray(n)&&(s=n),s=s.map(e=>"object"==typeof e?e:{value:e,label:e});const c=e({type:"select",title:i,description:a,submit:o,getValue:e=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>e.value);return l?t:t[0]},form:t`
<form>
<select name="input" ${l?`multiple size="${u||s.length}"`:""}>
${s.map(({value:e,label:n})=>Object.assign(t`<option>`,{value:e,selected:Array.isArray(r)?r.includes(e):r===e,textContent:n}))}
</select>
</form>
`});return c.output.remove(),c}}),n.variable(t("colorDemo")).define("colorDemo",["md"],function(e){return e`---
## Color Pickers
*value: a hexadecimal string, e.g. * \`"#bada55"\`
~~~js
import {color} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof c")).define("viewof c",["color"],function(e){return e()}),n.variable(t("c")).define("c",["Generators","viewof c"],(e,t)=>e.input(t)),n.variable(t("viewof c1")).define("viewof c1",["color"],function(e){return e({value:"#0000ff",title:"Background Color",description:"This color picker starts out blue"})}),n.variable(t("c1")).define("c1",["Generators","viewof c1"],(e,t)=>e.input(t)),n.variable(t("color")).define("color",["input"],function(e){return function(t={}){let{value:n,title:r,description:i,submit:a,display:o}=t;"string"==typeof t&&(n=t),null==n&&(n="#000000");const l=e({type:"color",title:r,description:i,submit:a,display:o,attributes:{value:n}});return(r||i)&&(l.input.style.margin="5px 0"),l}}),n.variable(t("coordinatesDemo")).define("coordinatesDemo",["md"],function(e){return e` ---
## Coordinates
*value: an array pair of \`[longitude, latitude]\`, e.g. * \`[-122.27, 37.87]\`
~~~js
import {coordinates} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof coords1")).define("viewof coords1",["coordinates"],function(e){return e()}),n.variable(t("coords1")).define("coords1",["Generators","viewof coords1"],(e,t)=>e.input(t)),n.variable(t()).define(["coords1"],function(e){return e}),n.variable(t("viewof coords2")).define("viewof coords2",["coordinates"],function(e){return e({title:"Hometown",description:"Enter the coordinates of where you were born",value:[-122.27,37.87],submit:!0})}),n.variable(t("coords2")).define("coords2",["Generators","viewof coords2"],(e,t)=>e.input(t)),n.variable(t()).define(["coords2"],function(e){return e}),n.variable(t("coordinates")).define("coordinates",["html","input"],function(e,t){return function(n={}){let{value:r=[],title:i,description:a,submit:o}=n;Array.isArray(n)&&(r=n);let[l,u]=r;const s=e`<input name="input" type="number" autocomplete="off" min="-180" max="180" style="width: 80px;" step="any" value="${l=null!=l?l:""}" />`,c=e`<input name="input" type="number" autocomplete="off" min="-90" max="90" style="width: 80px;" step="any" value="${u=null!=u?u:""}" />`,f=t({type:"coordinates",title:i,description:a,submit:o,getValue:()=>{const e=s.valueAsNumber,t=c.valueAsNumber;return[isNaN(e)?null:e,isNaN(t)?null:t]},form:e`
<form>
<label style="display: inline-block; font: 600 0.8rem sans-serif; margin: 6px 0 0;">
<span style="display: inline-block; width: 70px;">Longitude:</span>
${s}
</label>
<br>
<label style="display: inline-block; font: 600 0.8rem sans-serif; margin: 0 0 6px;">
<span style="display: inline-block; width: 70px;">Latitude:</span>
${c}
</label>
</form>
`});return f.output.remove(),f}}),n.variable(t("worldMapCoordinatesDemo")).define("worldMapCoordinatesDemo",["md"],function(e){return e` ---
## World Map Coordinates
*value: an array pair of \`[longitude, latitude]\`, e.g. * \`[-122.27, 37.87]\`
~~~js
import {worldMapCoordinates} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof worldMap1")).define("viewof worldMap1",["worldMapCoordinates"],function(e){return e([-122.27,37.87])}),n.variable(t("worldMap1")).define("worldMap1",["Generators","viewof worldMap1"],(e,t)=>e.input(t)),n.variable(t()).define(["worldMap1"],function(e){return e}),n.variable(t("worldMapCoordinates")).define("worldMapCoordinates",["html","DOM","d3geo","graticule","land","countries","input"],function(e,t,n,r,i,a,o){return function(l={}){let{value:u=[],title:s,description:c,width:f=400}=l;Array.isArray(l)&&(u=l);const d=Math.round(.525*f);let[p,h]=u;p=null!=p?p:null,h=null!=h?h:null;const m=e`<form style="width: ${f}px;"></form>`,v=t.context2d(f,d),g=v.canvas;g.style.margin="10px 0 0";const b=n.geoNaturalEarth1().precision(.1).fitSize([f,d],{type:"Sphere"}),y=n.geoPath(b,v).pointRadius(2.5);function w(){if(v.fillStyle="#fff",v.fillRect(0,0,f,d),v.beginPath(),y(r),v.lineWidth=.35,v.strokeStyle="#ddd",v.stroke(),v.beginPath(),y(i),v.fillStyle="#f4f4f4",v.fill(),v.beginPath(),y(a),v.strokeStyle="#aaa",v.stroke(),null!=p&&null!=h){const e={type:"MultiPoint",coordinates:[[p,h]]};v.beginPath(),y(e),v.fillStyle="#f00",v.fill()}}return m.append(g),g.onclick=function(e){const{offsetX:t,offsetY:n}=e;var r=b.invert([t,n]);p=+r[0].toFixed(2),h=+r[1].toFixed(2),w(),g.dispatchEvent(new CustomEvent("input",{bubbles:!0}))},w(),o({type:"worldMapCoordinates",title:s,description:c,display:t=>e`<div style="position: absolute; width: ${f}px; white-space: nowrap; color: #444; text-align: center; font: 13px sans-serif; margin-top: -18px;">
<span style="color: #777;">Longitude:</span> ${null!=p?p:""}
&nbsp; &nbsp;
<span style="color: #777;">Latitude:</span> ${null!=h?h:""}
</div>`,getValue:()=>[null!=p?p:null,null!=h?h:null],form:m})}}),n.variable(t("usaMapCoordinatesDemo")).define("usaMapCoordinatesDemo",["md"],function(e){return e` ---
## U.S.A. Map Coordinates
*value: an array pair of \`[longitude, latitude]\`, e.g. * \`[-122.27, 37.87]\`
~~~js
import {usaMapCoordinates} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof usaMap1")).define("viewof usaMap1",["usaMapCoordinates"],function(e){return e([-122.27,37.87])}),n.variable(t("usaMap1")).define("usaMap1",["Generators","viewof usaMap1"],(e,t)=>e.input(t)),n.variable(t()).define(["usaMap1"],function(e){return e}),n.variable(t("viewof usaMap2")).define("viewof usaMap2",["usaMapCoordinates"],function(e){return e({title:"A Mini Map",description:"Defaults to New York City",width:200,value:[-74,40.71]})}),n.variable(t("usaMap2")).define("usaMap2",["Generators","viewof usaMap2"],(e,t)=>e.input(t)),n.variable(t()).define(["usaMap2"],function(e){return e}),n.variable(t("usaMapCoordinates")).define("usaMapCoordinates",["html","DOM","d3geo","nation","states","input"],function(e,t,n,r,i,a){return function(o={}){let{value:l=[],title:u,description:s,width:c=400}=o;Array.isArray(o)&&(l=o);const f=c/960,d=600*f;let[p,h]=l;p=null!=p?p:null,h=null!=h?h:null;const m=e`<form style="width: ${c}px;"></form>`,v=t.context2d(c,d),g=v.canvas;g.style.margin="5px 0 0";const b=n.geoAlbersUsa().scale(1280).translate([480,300]),y=n.geoPath().context(v).pointRadius(2.5/f);function w(){if(v.clearRect(0,0,c,d),v.save(),v.scale(f,f),v.lineWidth=.35/f,v.beginPath(),y(r),v.fillStyle="#f4f4f4",v.fill(),v.beginPath(),y(i),v.strokeStyle="#aaa",v.stroke(),null!=p&&null!=h){const e={type:"MultiPoint",coordinates:[b([p,h])]};v.beginPath(),y(e),v.fillStyle="#f00",v.fill()}v.restore()}return m.append(g),g.onclick=function(e){const{offsetX:t,offsetY:n}=e;var r=b.invert([t/f,n/f]);p=+r[0].toFixed(2),h=+r[1].toFixed(2),w(),g.dispatchEvent(new CustomEvent("input",{bubbles:!0}))},w(),a({type:"worldMapCoordinates",title:u,description:s,display:t=>e`<div style="position: absolute; width: ${c}px; white-space: nowrap; color: #444; text-align: center; font: 13px sans-serif; margin-top: -18px;">
<span style="color: #777;">Longitude:</span> ${null!=p?p:""}
&nbsp; &nbsp;
<span style="color: #777;">Latitude:</span> ${null!=h?h:""}
</div>`,getValue:()=>[null!=p?p:null,null!=h?h:null],form:m})}}),n.variable(t("dateDemo")).define("dateDemo",["md"],function(e){return e` ---
## Dates
*value: a YYYY-MM-DD formatted string: * \`"2016-11-08"\`
~~~js
import {date} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof d")).define("viewof d",["date"],function(e){return e()}),n.variable(t("d")).define("d",["Generators","viewof d"],(e,t)=>e.input(t)),n.variable(t("viewof d1")).define("viewof d1",["date"],function(e){return e({title:"2017",min:"2017-01-01",max:"2017-12-31",value:"2017-01-01",description:"Only dates within the 2017 calendar year are allowed"})}),n.variable(t("d1")).define("d1",["Generators","viewof d1"],(e,t)=>e.input(t)),n.variable(t("date")).define("date",["input"],function(e){return function(t={}){let{min:n,max:r,value:i,title:a,description:o,display:l}=t;return"string"==typeof t&&(i=t),e({type:"date",title:a,description:o,display:l,attributes:{min:n,max:r,value:i}})}}),n.variable(t("timeDemo")).define("timeDemo",["md"],function(e){return e` ---
## Times
*value: a HH:MM:SS formatted string: * \`"09:30:45"\`
<br>*(Time values are always in 24-hour format)*
~~~js
import {time} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof t")).define("viewof t",["time"],function(e){return e()}),n.variable(t("t")).define("t",["Generators","viewof t"],(e,t)=>e.input(t)),n.variable(t()).define(["t"],function(e){return e}),n.variable(t("viewof t1")).define("viewof t1",["time"],function(e){return e({title:"Afternoon",min:"12:00:00",max:"23:59:59",value:"13:00:00",step:1,description:"Only times after noon are allowed, and seconds are included"})}),n.variable(t("t1")).define("t1",["Generators","viewof t1"],(e,t)=>e.input(t)),n.variable(t()).define(["t1"],function(e){return e}),n.variable(t("time")).define("time",["input"],function(e){return function(t={}){let{min:n,max:r,step:i,value:a,title:o,description:l,display:u}=t;"string"==typeof t&&(a=t);const s=e({type:"time",title:o,description:l,display:u,getValue:e=>e.value?e.value:void 0,attributes:{min:n,max:r,step:i,value:a}});return s.output.remove(),s}}),n.variable(t("fileDemo")).define("fileDemo",["md"],function(e){return e`---
## File Upload
*Use the JavaScript [File API](https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications) to work with uploaded file contents.*
\`import {file} from "@jashkenas/inputs"\``}),n.variable(t("viewof e")).define("viewof e",["file"],function(e){return e()}),n.variable(t("e")).define("e",["Generators","viewof e"],(e,t)=>e.input(t)),n.variable(t("viewof e1")).define("viewof e1",["file"],function(e){return e({title:"Photographs",description:"Only .jpg files are allowed in this example. Choose some images, and theyll appear in the cell below.",accept:".jpg",multiple:!0})}),n.variable(t("e1")).define("e1",["Generators","viewof e1"],(e,t)=>e.input(t)),n.variable(t()).define(["html","e1","Files"],async function(e,t,n){const r=e`<div>`;for(var i=0;i<t.length;i++){t[i];let a=e`<img height="125px" style="margin: 2px;" />`;a.src=await n.url(t[i]),r.append(a)}return r}),n.variable(t("file")).define("file",["input"],function(e){return function(t={}){let{multiple:n,accept:r,title:i,description:a}=t;const o=e({type:"file",title:i,description:a,attributes:{multiple:n,accept:r},action:e=>{e.input.onchange=(()=>{e.value=n?e.input.files:e.input.files[0],e.dispatchEvent(new CustomEvent("input"))})}});return o.output.remove(),o.input.onchange(),o}}),n.variable(t("textDemo")).define("textDemo",["md"],function(e){return e`---
## Text Inputs
~~~js
import {text} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof f")).define("viewof f",["text"],function(e){return e()}),n.variable(t("f")).define("f",["Generators","viewof f"],(e,t)=>e.input(t)),n.variable(t("viewof f1")).define("viewof f1",["text"],function(e){return e({title:"A Text Input",placeholder:"Placeholder text",description:"Note that text inputs dont show output on the right"})}),n.variable(t("f1")).define("f1",["Generators","viewof f1"],(e,t)=>e.input(t)),n.variable(t()).define(["f1"],function(e){return e}),n.variable(t("viewof f2")).define("viewof f2",["text"],function(e){return e({placeholder:"Placeholder text",description:"This input only changes value on submit",submit:"Go"})}),n.variable(t("f2")).define("f2",["Generators","viewof f2"],(e,t)=>e.input(t)),n.variable(t()).define(["f2"],function(e){return e}),n.variable(t("text")).define("text",["input"],function(e){return function(t={}){const{value:n,title:r,description:i,autocomplete:a="off",maxlength:o,minlength:l,pattern:u,placeholder:s,size:c,submit:f}=t;"string"==typeof t&&(n=t);const d=e({type:"text",title:r,description:i,submit:f,attributes:{value:n,autocomplete:a,maxlength:o,minlength:l,pattern:u,placeholder:s,size:c}});return d.output.remove(),d.input.style.fontSize="1em",d}}),n.variable(t("textareaDemo")).define("textareaDemo",["md"],function(e){return e`---
## Textareas
~~~js
import {textarea} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof g")).define("viewof g",["textarea"],function(e){return e()}),n.variable(t("g")).define("g",["Generators","viewof g"],(e,t)=>e.input(t)),n.variable(t()).define(["g"],function(e){return e}),n.variable(t("viewof g1")).define("viewof g1",["textarea"],function(e){return e({title:"Your Great American Novel",placeholder:"Insert story here...",spellcheck:!0,width:"100%",rows:10,submit:"Publish"})}),n.variable(t("g1")).define("g1",["Generators","viewof g1"],(e,t)=>e.input(t)),n.variable(t()).define(["g1"],function(e){return e}),n.variable(t("textarea")).define("textarea",["input","html"],function(e,t){return function(n={}){let{value:r,title:i,description:a,autocomplete:o,cols:l=45,rows:u=3,width:s,height:c,maxlength:f,placeholder:d,spellcheck:p,wrap:h,submit:m}=n;"string"==typeof n&&(r=n),null==r&&(r="");const v=e({form:t`<form><textarea style="display: block; font-size: 0.8em;" name=input>${r}</textarea></form>`,title:i,description:a,submit:m,attributes:{autocomplete:o,cols:l,rows:u,maxlength:f,placeholder:d,spellcheck:p,wrap:h}});return v.output.remove(),null!=s&&(v.input.style.width=s),null!=c&&(v.input.style.height=c),m&&(v.submit.style.margin="0"),(i||a)&&(v.input.style.margin="3px 0"),v}}),n.variable(t("radioDemo")).define("radioDemo",["md"],function(e){return e`---
## Radio Buttons
~~~js
import {radio} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof r")).define("viewof r",["radio"],function(e){return e(["Lust","Gluttony","Greed","Sloth","Wrath","Envy","Pride"])}),n.variable(t("r")).define("r",["Generators","viewof r"],(e,t)=>e.input(t)),n.variable(t()).define(["r"],function(e){return e}),n.variable(t("viewof r1")).define("viewof r1",["radio"],function(e){return e({title:"Contact Us",description:"Please select your preferred contact method",options:[{label:"By Email",value:"email"},{label:"By Phone",value:"phone"},{label:"By Pager",value:"pager"}],value:"pager"})}),n.variable(t("r1")).define("r1",["Generators","viewof r1"],(e,t)=>e.input(t)),n.variable(t()).define(["r1"],function(e){return e}),n.variable(t("radio")).define("radio",["input","html"],function(e,t){return function(n={}){let{value:r,title:i,description:a,submit:o,options:l}=n;Array.isArray(n)&&(l=n),l=l.map(e=>"string"==typeof e?{value:e,label:e}:e);const u=e({type:"radio",title:i,description:a,submit:o,getValue:e=>{const t=Array.prototype.find.call(e,e=>e.checked);return t?t.value:void 0},form:t`
<form>
${l.map(({value:e,label:n})=>{const i=t`<input type=radio name=input ${e===r?"checked":""} style="vertical-align: baseline;" />`;return i.setAttribute("value",e),t`
<label style="display: inline-block; margin: 5px 10px 3px 0; font-size: 0.85em;">
${i}
${n}
</label>`})}
</form>
`});return u.output.remove(),u}}),n.variable(t("checkboxDemo")).define("checkboxDemo",["md"],function(e){return e`---
## Checkboxes
~~~js
import {checkbox} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof ch")).define("viewof ch",["checkbox"],function(e){return e(["Lust","Gluttony","Greed","Sloth","Wrath","Envy","Pride"])}),n.variable(t("ch")).define("ch",["Generators","viewof ch"],(e,t)=>e.input(t)),n.variable(t()).define(["ch"],function(e){return e}),n.variable(t("viewof ch1")).define("viewof ch1",["checkbox"],function(e){return e({title:"Colors",description:"Please select your favorite colors",options:[{value:"r",label:"Red"},{value:"o",label:"Orange"},{value:"y",label:"Yellow"},{value:"g",label:"Green"},{value:"b",label:"Blue"},{value:"i",label:"Indigo"},{value:"v",label:"Violet"}],value:["r","g","b"],submit:!0})}),n.variable(t("ch1")).define("ch1",["Generators","viewof ch1"],(e,t)=>e.input(t)),n.variable(t()).define(["ch1"],function(e){return e}),n.variable(t("viewof ch3")).define("viewof ch3",["checkbox"],function(e){return e({description:"Just a single checkbox to toggle",options:[{value:"toggle",label:"On"}],value:"toggle"})}),n.variable(t("ch3")).define("ch3",["Generators","viewof ch3"],(e,t)=>e.input(t)),n.variable(t()).define(["ch3"],function(e){return e}),n.variable(t("checkbox")).define("checkbox",["input","html"],function(e,t){return function(n={}){let{value:r,title:i,description:a,submit:o,options:l}=n;Array.isArray(n)&&(l=n),l=l.map(e=>"string"==typeof e?{value:e,label:e}:e);const u=e({type:"checkbox",title:i,description:a,submit:o,getValue:e=>e.length?Array.prototype.filter.call(e,e=>e.checked).map(e=>e.value):!!e.checked&&e.value,form:t`
<form>
${l.map(({value:e,label:n})=>{const i=t`<input type=checkbox name=input ${(r||[]).indexOf(e)>-1?"checked":""} style="vertical-align: baseline;" />`;return i.setAttribute("value",e),t`<label style="display: inline-block; margin: 5px 10px 3px 0; font-size: 0.85em;">
${i}
${n}
</label>`})}
</form>
`});return u.output.remove(),u}}),n.variable(t("numberDemo")).define("numberDemo",["md"],function(e){return e`---
## Numbers
~~~js
import {number} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof h")).define("viewof h",["number"],function(e){return e()}),n.variable(t("h")).define("h",["Generators","viewof h"],(e,t)=>e.input(t)),n.variable(t()).define(["h"],function(e){return e}),n.variable(t("viewof h1")).define("viewof h1",["number"],function(e){return e({placeholder:"13+",title:"Your Age",submit:!0})}),n.variable(t("h1")).define("h1",["Generators","viewof h1"],(e,t)=>e.input(t)),n.variable(t()).define(["h1"],function(e){return e}),n.variable(t("number")).define("number",["input"],function(e){return function(t={}){const{value:n,title:r,description:i,placeholder:a,submit:o,step:l="any",min:u,max:s}=t;"number"==typeof t&&(n=t);const c=e({type:"number",title:r,description:i,submit:o,attributes:{value:n,placeholder:a,step:l,min:u,max:s,autocomplete:"off"},getValue:e=>e.valueAsNumber});return c.output.remove(),c.input.style.width="auto",c.input.style.fontSize="1em",c}}),n.variable(t("passwordDemo")).define("passwordDemo",["md"],function(e){return e`---
## Passwords
~~~js
import {password} from "@jashkenas/inputs"
~~~`}),n.variable(t("viewof i")).define("viewof i",["password"],function(e){return e({value:"password"})}),n.variable(t("i")).define("i",["Generators","viewof i"],(e,t)=>e.input(t)),n.variable(t()).define(["i"],function(e){return e}),n.variable(t("viewof i1")).define("viewof i1",["password"],function(e){return e({title:"Your super secret password",description:"Less than 12 characters, please.",minlength:6,maxlength:12})}),n.variable(t("i1")).define("i1",["Generators","viewof i1"],(e,t)=>e.input(t)),n.variable(t()).define(["i1"],function(e){return e}),n.variable(t("password")).define("password",["input"],function(e){return function(t={}){const{value:n,title:r,description:i,autocomplete:a="off",maxlength:o,minlength:l,pattern:u,placeholder:s,size:c,submit:f}=t;"string"==typeof t&&(n=t);const d=e({type:"password",title:r,description:i,submit:f,attributes:{value:n,autocomplete:a,maxlength:o,minlength:l,pattern:u,placeholder:s,size:c}});return d.output.remove(),d.input.style.fontSize="1em",d}}),n.variable(t()).define(["md"],function(e){return e`---
## Wishlist (Send suggestions, please!)
* Location picker!
* 2D coordinate input (using a &lt;svg>)
* 3D coordinate input (for say, positioning a camera in a WebGL sketch)
* Degrees or radians input, for circular things, or angles.
* A dimensions input, or a box-model input, with margin (and optionally, padding).
* A map-projection-picker input, rendering little thumbnails of all the d3-geo-projections.
* Other useful formatting options.
---`}),n.variable(t("input")).define("input",["html","d3format"],function(e,t){return function(n){let{form:r,type:i="text",attributes:a={},action:o,getValue:l,title:u,description:s,format:c,display:f,submit:d,options:p}=n;const h=e`<div></div>`;if(r||(r=e`<form>
<input name=input type=${i} />
</form>`),Object.keys(a).forEach(e=>{const t=a[e];null!=t&&r.input.setAttribute(e,t)}),d&&r.append(e`<input name=submit type=submit style="margin: 0 0.75em" value="${"string"==typeof d?d:"Submit"}" />`),r.append(e`<output name=output style="font: 14px Menlo, Consolas, monospace; margin-left: 0.5em;"></output>`),u&&r.prepend(e`<div style="font: 700 0.9rem sans-serif;">${u}</div>`),s&&r.append(e`<div style="font-size: 0.85rem; font-style: italic;">${s}</div>`),c&&(c="function"==typeof c?c:t.format(c)),o)o(r);else{const e=d?"onsubmit":"button"==i?"onclick":"checkbox"==i||"radio"==i?"onchange":"oninput";r[e]=(t=>{t&&t.preventDefault();const n=l?l(r.input):r.input.value;if(r.output){const e=f?f(n):c?c(n):n;if(e instanceof window.Element){for(;r.output.hasChildNodes();)r.output.removeChild(r.output.lastChild);r.output.append(e)}else r.output.value=e}r.value=n,"oninput"!==e&&r.dispatchEvent(new CustomEvent("input",{bubbles:!0}))}),"oninput"!==e&&(h.oninput=(e=>e&&e.stopPropagation()&&e.preventDefault())),"onsubmit"!==e&&(r.onsubmit=(e=>e&&e.preventDefault())),r[e]()}for(;r.childNodes.length;)h.appendChild(r.childNodes[0]);return r.append(h),r}}),n.variable(t("d3geo")).define("d3geo",["require"],function(e){return e("d3-geo@1")}),n.variable(t("d3format")).define("d3format",["require"],function(e){return e("d3-format@1")}),n.variable(t("topojson")).define("topojson",["require"],function(e){return e("topojson-client@3")}),n.variable(t("world")).define("world",async function(){return(await fetch("https://cdn.jsdelivr.net/npm/world-atlas@1/world/110m.json")).json()}),n.variable(t("land")).define("land",["topojson","world"],function(e,t){return e.feature(t,t.objects.land)}),n.variable(t("countries")).define("countries",["topojson","world"],function(e,t){return e.feature(t,t.objects.countries)}),n.variable(t("usa")).define("usa",async function(){return(await fetch("https://cdn.jsdelivr.net/npm/us-atlas@^2.1/us/states-10m.json")).json()}),n.variable(t("nation")).define("nation",["topojson","usa"],function(e,t){return e.feature(t,t.objects.nation)}),n.variable(t("states")).define("states",["topojson","usa"],function(e,t){return e.feature(t,t.objects.states)}),n.variable(t("graticule")).define("graticule",["d3geo"],function(e){return e.geoGraticule10()}),n.variable(t("viewof license")).define("viewof license",["md"],function(e){const t=e`License: [MIT](https://opensource.org/licenses/MIT)`;return t.value="MIT",t}),n.variable(t("license")).define("license",["Generators","viewof license"],(e,t)=>e.input(t)),n.variable(t()).define(["md"],function(e){return e`*Clip art courtesy [ClipArt ETC](https://etc.usf.edu/clipart/), radio buttons and checkboxes courtesy [Amit Sch](https://beta.observablehq.com/@meetamit/multiple-choice-inputs).*`}),n}function i(e,t){const n=e.module();n.variable(t()).define(["md"],function(e){return e`# Status Token Economics: ENS Usernames`}),n.variable(t("viewof numberStatusUsers")).define("viewof numberStatusUsers",["slider"],function(e){return e({min:1e3,max:1e9,step:1e3,value:1e3,title:"Number of current Status users",description:"Increments in 1000 users"})}),n.variable(t("numberStatusUsers")).define("numberStatusUsers",["Generators","viewof numberStatusUsers"],(e,t)=>e.input(t)),n.variable(t("viewof userGrowthRate")).define("viewof userGrowthRate",["slider"],function(e){return e({min:.1,max:10,step:.1,value:3,title:"User growth rate per annum (percent)",description:"percentages from 10% through 1000%"})}),n.variable(t("userGrowthRate")).define("userGrowthRate",["Generators","viewof userGrowthRate"],(e,t)=>e.input(t)),n.variable(t("viewof userChurnRate")).define("viewof userChurnRate",["slider"],function(e){return e({min:.01,max:1,step:.01,value:.1,title:"User churn rate per annum (percent)",description:"percentages from 1% through 100%"})}),n.variable(t("userChurnRate")).define("userChurnRate",["Generators","viewof userChurnRate"],(e,t)=>e.input(t)),n.variable(t("users")).define("users",["numberStatusUsers","userGrowthRate","userChurnRate"],function(e,t,n){let r=[e];for(let e=1;e<10;e++){let i=r[e-1]*t,a=r[e-
/** @license React v16.8.6
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(12),i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,l=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,s=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.concurrent_mode"):60111,p=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,a,o,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,l],s=0;(e=Error(t.replace(/%s/g,function(){return u[s++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function x(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}function k(){}function S(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&b("85"),this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=x.prototype;var T=S.prototype=new k;T.constructor=S,r(T,x.prototype),T.isPureReactComponent=!0;var _={current:null},M={current:null},C=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function z(e,t,n){var r=void 0,i={},o=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=""+t.key),t)C.call(t,r)&&!E.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:a,type:e,key:o,ref:l,props:i,_owner:M.current}}function N(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var O=/\/+/g,P=[];function A(e,t,n,r){if(P.length){var i=P.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function j(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function D(e,t,n){return null==e?0:function e(t,n,r,i){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var u=!1;if(null===t)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case a:case o:u=!0}}if(u)return r(i,t,""===n?"."+R(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+R(l=t[s],s);u+=e(l,c,r,i)}else if(c=null===t||"object"!=typeof t?null:"function"==typeof(c=g&&t[g]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),s=0;!(l=t.next()).done;)u+=e(l=l.value,c=n+R(l,s++),r,i);else"object"===l&&b("31","[object Object]"==(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return u}(e,"",t,n)}function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function I(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?q(e,r,n,function(e){return e}):null!=e&&(N(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function q(e,t,n,r,i){var
/** @license React v16.8.6
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(1),i=n(12),a=n(23);function o(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,a,o,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,l],s=0;(e=Error(t.replace(/%s/g,function(){return u[s++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}r||o("227");var l=!1,u=null,s=!1,c=null,f={onError:function(e){l=!0,u=e}};function d(e,t,n,r,i,a,o,s,c){l=!1,u=null,function(e,t,n,r,i,a,o,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}.apply(f,arguments)}var p=null,h={};function m(){if(p)for(var e in h){var t=h[e],n=p.indexOf(e);if(-1<n||o("96",e),!g[n])for(var r in t.extractEvents||o("97",e),g[n]=t,n=t.eventTypes){var i=void 0,a=n[r],l=t,u=r;b.hasOwnProperty(u)&&o("99",u),b[u]=a;var s=a.phasedRegistrationNames;if(s){for(i in s)s.hasOwnProperty(i)&&v(s[i],l,u);i=!0}else a.registrationName?(v(a.registrationName,l,u),i=!0):i=!1;i||o("98",r,e)}}}function v(e,t,n){y[e]&&o("100",e),y[e]=t,w[e]=t.eventTypes[n].dependencies}var g=[],b={},y={},w={},x=null,k=null,S=null;function T(e,t,n){var r=e.type||"unknown-event";e.currentTarget=S(n),function(e,t,n,r,i,a,f,p,h){if(d.apply(this,arguments),l){if(l){var m=u;l=!1,u=null}else o("198"),m=void 0;s||(s=!0,c=m)}}(r,t,void 0,e),e.currentTarget=null}function _(e,t){return null==t&&o("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function M(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var C=null;function E(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)T(e,t[r],n[r]);else t&&T(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var z={injectEventPluginOrder:function(e){p&&o("101"),p=Array.prototype.slice.call(e),m()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];h.hasOwnProperty(t)&&h[t]===r||(h[t]&&o("102",t),h[t]=r,n=!0)}n&&m()}};function N(e,t){var n=e.stateNode;if(!n)return null;var r=x(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&o("231",t,typeof n),n)}function O(e){if(null!==e&&(C=_(C,e)),e=C,C=null,e&&(M(e,E),C&&o("95"),s))throw e=c,s=!1,c=null,e}var P=Math.random().toString(36).slice(2),A="__reactInternalInstance$"+P,j="__reactEventHandlers$"+P;function D(e){if(e[A])return e[A];for(;!e[A];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[A]).tag||6===e.tag?e:null}function R(e){return!(e=e[A])||5!==e.tag&&6!==e.tag?null:e}function I(e){if(5===e.tag||6===e.tag)return e.stateNode;o("33")}function L(e){return e[j]||null}function q(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function B(e,t,n){(t=N(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=_(n._dispatchListeners,t),n._dispatchInstances=_(n._dispatchInstances,e))}function F(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=q(t);for(t=n.length;0<t--;)B(n[t],"captured",e);for(t=0;t<n.length;t++)B(n[t],"bubbled",e)}}function U(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=N(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=_(n._dispatchListeners,t),n._dispatchInstances=_(n._dispatchInstances,e))}function H(e){e&&e.dispatchConfig.registrationName&&U(
/** @license React v0.13.6
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Object.defineProperty(t,"__esModule",{value:!0});var n=null,r=!1,i=3,a=-1,o=-1,l=!1,u=!1;function s(){if(!l){var e=n.expirationTime;u?S():u=!0,k(d,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var r=n.previous;n=r.next=t,t.previous=r}e.next=e.previous=null,r=e.callback,t=e.expirationTime,e=e.priorityLevel;var a=i,l=o;i=e,o=t;try{var u=r()}finally{i=a,o=l}if("function"==typeof u)if(u={callback:u,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=u.next=u.previous=u;else{r=null,e=n;do{if(e.expirationTime>=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=u,s()),(t=r.previous).next=r.previous=u,u.next=r,u.previous=t}}function f(){if(-1===a&&null!==n&&1===n.priorityLevel){l=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{l=!1,null!==n?s():u=!1}}}function d(e){l=!0;var i=r;r=e;try{if(e)for(;null!==n;){var a=t.unstable_now();if(!(n.expirationTime<=a))break;do{c()}while(null!==n&&n.expirationTime<=a)}else if(null!==n)do{c()}while(null!==n&&!T())}finally{l=!1,r=i,null!==n?s():u=!1,f()}}var p,h,m=Date,v="function"==typeof setTimeout?setTimeout:void 0,g="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,y="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function w(e){p=b(function(t){g(h),e(t)}),h=v(function(){y(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return m.now()};var k,S,T,_=null;if("undefined"!=typeof window?_=window:void 0!==e&&(_=e),_&&_._schedMock){var M=_._schedMock;k=M[0],S=M[1],T=M[2],t.unstable_now=M[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var C=null,E=function(e){if(null!==C)try{C(e)}finally{C=null}};k=function(e){null!==C?setTimeout(k,0,e):(C=e,setTimeout(E,0,!1))},S=function(){C=null},T=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var z=null,N=!1,O=-1,P=!1,A=!1,j=0,D=33,R=33;T=function(){return j<=t.unstable_now()};var I=new MessageChannel,L=I.port2;I.port1.onmessage=function(){N=!1;var e=z,n=O;z=null,O=-1;var r=t.unstable_now(),i=!1;if(0>=j-r){if(!(-1!==n&&n<=r))return P||(P=!0,w(q)),z=e,void(O=n);i=!0}if(null!==e){A=!0;try{e(i)}finally{A=!1}}};var q=function(e){if(null!==z){w(q);var t=e-j+R;t<R&&D<R?(8>t&&(t=8),R=t<D?D:t):D=t,j=e+R,N||(N=!0,L.postMessage(void 0))}else P=!1};k=function(e,t){z=e,O=t,A||0>t?L.postMessage(void 0):P||(P=!0,w(q))},S=function(){z=null,N=!1,O=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,o=a;i=e,a=t.unstable_now();try{return n()}finally{i=r,a=o,f()}},t.unstable_next=function(e){switch(i){case 1:case 2:case 3:var n=3;break;default:n=i}var r=i,o=a;i=n,a=t.unstable_now();try{return e()}finally{i=r,a=o,f()}},t.unstable_scheduleCallback=function(e,r){var o=-1!==a?a:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=o+r.timeout;else switch(i){case 1:r=o+-1;break;case 2:r=o+250;break;case 5:r=o+1073741823;break;case 4:r=o+1e4;break;default:r=o+5e3}if(e={callback:e,priorityLevel:i,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,s();else{o=null;var l=n;do{if(l.expirationTime>r){o=l;break}l=l.next}while(l!==n);null===o?o=n:o===n&&(n=e,s()),(r=o.previous).next=o.previous=e,e.next=o,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.uns
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var s in n=Object(arguments[u]))i.call(n,s)&&(l[s]=n[s]);if(r){o=r(n);for(var c=0;c<o.length;c++)a.call(n,o[c])&&(l[o[c]]=n[o[c]])}}return l}},function(e,t){e.exports={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}}},function(e,t,n){"use strict";t.a={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","":"ắ","":"ằ","":"ẵ","ǎ":"ǎ","â":"â","":"ấ","":"ầ","":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","":"ḃ","ć":"ć","č":"č","ĉ":"ĉ","ċ":"ċ","ď":"ď","":"ḋ","é":"é","è":"è","ë":"ë","":"ẽ","ē":"ē","":"ḗ","":"ḕ","ĕ":"ĕ","ě":"ě","ê":"ê","ế":"ế","":"ề","":"ễ","ė":"ė","":"ḟ","ǵ":"ǵ","":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","":"ḧ","ȟ":"ȟ","ĥ":"ĥ","":"ḣ","í":"í","ì":"ì","ï":"ï","":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","":"ḱ","ǩ":"ǩ","ĺ":"ĺ","ľ":"ľ","ḿ":"ḿ","":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","":"ṅ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","":"ṍ","":"ṏ","ȭ":"ȭ","ō":"ō","":"ṓ","":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","":"ố","":"ồ","":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","":"ṕ","":"ṗ","ŕ":"ŕ","ř":"ř","":"ṙ","ś":"ś","":"ṥ","š":"š","":"ṧ","ŝ":"ŝ","":"ṡ","":"ẗ","ť":"ť","":"ṫ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","":"ṹ","ū":"ū","":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","":"ṽ","":"ẃ","":"ẁ","":"ẅ","ŵ":"ŵ","":"ẇ","":"ẘ","":"ẍ","":"ẋ","ý":"ý","":"ỳ","ÿ":"ÿ","":"ỹ","ȳ":"ȳ","ŷ":"ŷ","":"ẏ","":"ẙ","ź":"ź","ž":"ž","":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","":"Ắ","":"Ằ","":"Ẵ","Ǎ":"Ǎ","Â":"Â","":"Ấ","":"Ầ","":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","":"Ḃ","Ć":"Ć","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ď":"Ď","":"Ḋ","É":"É","È":"È","Ë":"Ë","":"Ẽ","Ē":"Ē","":"Ḗ","":"Ḕ","Ĕ":"Ĕ","Ě":"Ě","Ê":"Ê","":"Ế","":"Ề","":"Ễ","Ė":"Ė","":"Ḟ","Ǵ":"Ǵ","":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","":"Ḣ","Í":"Í","Ì":"Ì","Ï":"Ï","":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","":"Ḱ","Ǩ":"Ǩ","Ĺ":"Ĺ","Ľ":"Ľ","":"Ḿ","":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","":"Ṅ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","":"Ṍ","":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","":"Ṓ","":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","":"Ố","":"Ồ","":"Ỗ","Ȯ":"Ȯ","<EFBFBD>
//# sourceMappingURL=vendors.9d13aeb150165ab32cb0.js.map