1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[7],{AvNi:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/form",function(){return n("BWbJ")}])},BWbJ:function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return y}));var r=n("nKUr"),o=n("ZHh6"),c=n("8Kt/"),a=n.n(c);function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){return!e||"object"!==l(e)&&"function"!==typeof e?i(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=n("vnQH"),m=n.n(p),h=n("q1tI");function d(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}var j=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(a,t);var e,n,o,c=d(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=c.call(this,t)).submitForm=e.submitForm.bind(i(e)),e.state={status:""},e}return e=a,(n=[{key:"render",value:function(){var t=this.state.status;return Object(r.jsxs)("form",{onSubmit:this.submitForm,action:"https://formspree.io/f/mleoawzr",method:"POST",children:[Object(r.jsx)("label",{className:m.a.label,children:"Your Email"}),Object(r.jsx)("input",{className:"".concat(m.a.field," ").concat(m.a.email),type:"email",name:"email"}),Object(r.jsx)("label",{className:m.a.label,children:"Message"}),Object(r.jsx)("textarea",{className:"".concat(m.a.field," ").concat(m.a.message),type:"text",name:"message",placeholder:"Brief description of the resource and a link to it!"}),"SUCCESS"===t?Object(r.jsx)("p",{className:m.a.success,children:"Thanks for submitting a resource! I will review and add it shortly."}):Object(r.jsx)("button",{className:"".concat(m.a.btn," ").concat(m.a.pill," ").concat(m.a.submit),children:"Submit resource"}),"ERROR"===t&&Object(r.jsx)("p",{className:m.a.error,children:"Ooops! There was an error."})]})}},{key:"submitForm",value:function(t){var e=this;t.preventDefault();var n=t.target,r=new FormData(n),o=new XMLHttpRequest;o.open(n.method,n.action),o.setRequestHeader("Accept","application/json"),o.onreadystatechange=function(){o.readyState===XMLHttpRequest.DONE&&(200===o.status?(n.reset(),e.setState({status:"SUCCESS"})):e.setState({status:"ERROR"}))},o.send(r)}}])&&s(e.prototype,n),o&&s(e,o),a}(n.n(h).a.Component);function y(){return Object(r.jsxs)(r.Fragment,{children:[Object(r.jsxs)(a.a,{children:[Object(r.jsx)("title",{children:"Submit a Resource \u2014 Resource Library"}),Object(r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),Object(r.jsx)(o.a,{}),Object(r.jsx)("main",{className:m.a.formcontainer,children:Object(r.jsxs)("div",{className:"form",children:[Object(r.jsx)("h1",{className:m.a.title,children:"Submit a resource"}),Object(r.jsx)("p",{className:m.a.subtitle,children:"Please include your email and description + link of the resource you're submitting!"}),Object(r.jsx)(j,{})]})})]})}}},[["AvNi",0,2,1,3]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.