PageSourceSearch

https://bythebay.vercel.app/static/js/33.8b7af484.chunk.js

js bythebay.vercel.app collected 2026-10-03 06:19:46 UTC 649,781 bytes, 2 lines download raw bytes

1webpackJsonp([33],{453:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(4),i=function(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n\theight: ","px;\n\t@media screen and (max-width: 767px) {\n\t\theight: ","px;\n\t}\n"],["\n\theight: ","px;\n\t@media screen and (max-width: 767px) {\n\t\theight: ","px;\n\t}\n"]),o=r.b.div(i,function(t){return t.height},function(t){return t.xsHeight})},454:function(t,e,n){"use strict";function r(t){return o.test("number"===typeof t?i(t):t.charAt(0))}t.exports=r;var i=String.fromCharCode,o=/\s/},455:function(t,e){function n(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var i in n)r.call(n,i)&&(t[i]=n[i])}return t}t.exports=n;var r=Object.prototype.hasOwnProperty},456:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(4),p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),h=a(["\n\twidth: 100%;\n"],["\n\twidth: 100%;\n"]),d=a(["\n\tdisplay: inline-block;\n\theight: 0;\n\twidth: ",";\n\tborder: 3px solid black;\n\tborder-radius: 3px;\n\tmargin-left: ","px;\n\tmargin-right: ","px;\n\tmargin-bottom: 5px;\n"],["\n\tdisplay: inline-block;\n\theight: 0;\n\twidth: ",";\n\tborder: 3px solid black;\n\tborder-radius: 3px;\n\tmargin-left: ","px;\n\tmargin-right: ","px;\n\tmargin-bottom: 5px;\n"]),g=f.b.div(h),y=f.b.div(d,function(t){return t.lineWidth<0?"100%":t.lineWidth+"px"},function(t){return t.isReversed?0:t.lineWidth<0||t.isEmpty?0:20},function(t){return t.isReversed?t.lineWidth<0||t.isEmpty?0:20:0}),m=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleResize=function(){var t=n.innerContents.getBoundingClientRect().width,e=n.container.getBoundingClientRect().width,r=0===t?e-t:e-t-26;n.setState({isEmpty:0===t,lineWidth:r})},n.state={lineWidth:100},n}return o(e,t),p(e,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize),this.handleResize()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(t){t.trigger!==this.props.trigger&&this.handleResize()}},{key:"render",value:function(){var t=this,e=this.state,n=e.borderRadius,r=e.lineWidth,i=e.isEmpty,o="right"===this.props.align;return u.a.createElement("span",{ref:function(e){return t.container=e}},u.a.createElement(g,null,o&&u.a.createElement(y,{br:n,isReversed:o,lineWidth:r,isEmpty:i}),u.a.createElement("span",{ref:function(e){return t.innerContents=e}},this.props.children),!o&&u.a.createElement(y,{br:n,isReversed:o,lineWidth:r,isEmpty:i})))}}]),e}(u.a.Component);m.propTypes={align:l.a.string},m.defaultProps={align:"left"},e.a=m},457:function(t,e){function n(t){return t.replace(/^\s*|\s*$/g,"")}e=t.exports=n,e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}},458:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(7),s=n.n(a),u=n(4),c=n(456),l=n(453),f=r(["\n\tdisplay: inline;\n\tmargin: 20px 0 3px 0;\n\t@media screen and (max-width: 767px) {\n\t\ttext-align: center;\n\t\tdisplay: inline-block;\n\t}\n"],["\n\tdisplay: inline;\n\tmargin: 20px 0 3px 0;\n\t@media screen and (max-width: 767px) {\n\t\ttext-align: center;\n\t\tdisplay: inline-block;\n\t}\n"]),p=r(["\n\tfont-style: italic;\n\tfont-size: 14px;\n\ttext-align: ",";\n\t@media screen and (max-width: 767px) {\n\t\ttext-align: center;\n\t}\n"],["\n\tfont-style: italic;\n\tfont-size: 14px;\n\ttext-align: ",";\n\t@media screen and (max-width: 767px) {\n\t\ttext-align: center;\n\t}\n"]),h=r(["\n\tdisplay: inline;\n\twidth: 32px;\n\tmargin-right: ","px;\n\tmargin-left: ","px;\n\ttransform: rotate(","deg);\n\t@media screen and (max-width: 767px) {\n\t\tdisplay: block;\n\t\tmargin: 0 auto; \n\t}\n\t\n"],["\n\tdisplay: inline;\n\twidth: 32px;\n\tmargin-right: ","px;\n\tmargin-left: ","px;\n\ttransform: rotate(","deg);\n\t@media screen and (max-width: 767px) {\n\t\tdisplay: block;\n\t\tmargin: 0 auto; \n\t}\n\t\n"]),d=u.b.h2(f),g=u.b.div(p,function(t){return t.align}),y=u.b.img(h,function(t){return t.isReversed?0:10},function(t){return t.isReversed?10:0},function(t){return t.isReversed?-13:13}),m=function(t){var e=t.img,n=t.title,r=t.subtitle,i=t.align,a="right"===i;return o.a.createElement("div",null,o.a.createElement(l.a,{height:30}),o.a.createElement(c.a,{align:i},e&&!a&&o.a.createElement(y,{src:e,isReversed:a,alt:"title image"}),o.a.createElement(d,null,n),e&&a&&o.a.createElement(y,{src:e,isReversed:a,alt:"title image"})),r&&o.a.createElement(g,{align:i},r))};
1m.propTypes={title:s.a.oneOfType([s.a.string,s.a.object]).isRequired,subtitle:s.a.oneOfType([s.a.string,s.a.object]),img:s.a.string,align:s.a.string},e.a=m},459:function(t,e,n){"use strict";function r(t){o.a.event(t)}e.a=r;var i=n(131),o=n.n(i)},460:function(t,e,n){"use strict";function r(t){var e="string"===typeof t?t.charCodeAt(0):t;return e>=48&&e<=57}t.exports=r},461:function(t,e,n){"use strict";function r(t,e,n,r){function o(t,e){var r=e[e.length-1],i=r?r.children.indexOf(t):null;return n(t,i,r)}"function"===typeof e&&"function"!==typeof n&&(r=n,n=e,e=null),i(t,e,o,r)}t.exports=r;var i=n(534),o=i.CONTINUE,a=i.SKIP,s=i.EXIT;r.CONTINUE=o,r.SKIP=a,r.EXIT=s},462:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(7),c=n.n(u),l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f={loading:{opacity:0},loaded:{opacity:1,transition:"opacity 150ms ease-in"}},p=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleImageLoaded=function(){n.setState({loadingStyle:f.loaded})},n.handleImageErrored=function(){console.warn("Error loading image")},n.state={loadingStyle:f.loading},n}return o(e,t),l(e,[{key:"render",value:function(){var t=this.props,e=t.imageHandles,n=t.img_webp_1x,r=t.img_webp_2x,i=t.style,o=t.alt,a=t.className,u=e?e._1x_webp:n,c=e?e._2x_webp:r,l=e?e._1x:this.props.img_1x,f=e?e._2x:this.props.img_2x;if(null==u&&null==c){var p=f?l+" 1x,"+f+" 2x":l+" 1x,"+l+" 2x";return s.a.createElement("span",{style:this.state.loadingStyle},s.a.createElement("img",{style:i,alt:o,src:l,srcSet:p,onLoad:this.handleImageLoaded,onError:this.handleImageErrored,className:a}))}var h=l.split(".").pop(),d=c?u+" 1x, "+c+" 2x":u,g=f?l+" 1x, "+f+" 2x":l;return s.a.createElement("span",{style:this.state.loadingStyle},s.a.createElement("picture",null,s.a.createElement("source",{srcSet:d,type:"image/webp"}),s.a.createElement("source",{srcSet:g,type:"image/"+h}),s.a.createElement("img",{onLoad:this.handleImageLoaded,onError:this.handleImageErrored,style:i,alt:o,src:l,className:a})))}}]),e}(s.a.Component);p.defaultProps={imageHandles:null,img_webp_1x:null,img_webp_2x:null,img_1x:null,img_2x:null,alt:null},p.propTypes={imageHandles:c.a.shape({_1x_webp:c.a.string,_2x_webp:c.a.string,_1x:c.a.string,_2x:c.a.string}),alt:c.a.string.isRequired},e.a=p},463:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"i",function(){return v}),n.d(e,"a",function(){return _}),n.d(e,"e",function(){return b}),n.d(e,"b",function(){return x}),n.d(e,"h",function(){return w}),n.d(e,"f",function(){return E}),n.d(e,"g",function(){return S}),n.d(e,"c",function(){return k}),n.d(e,"d",function(){return O}),n.d(e,"j",function(){return M});var i=n(4),o=n(18),a=n(472),s=n(476),u=r(["\n  font-family: ",";\n  font-weight: bold;\n  display: inline-block;\n  box-sizing: border-box;\n  line-height: 20px;\n  text-transform: none;\n  letter-spacing: none;\n  width: 100%;\n  font-size: 16px;\n  padding-left: 4px;\n  padding-top: 10px;\n  padding-bottom: 10px;\n  margin-top: 9px;\n  margin-bottom: 9px;\n  border-left: none;\n  border-right: none;\n  border-top: none;\n  border-bottom: 5px solid #eee;\n  outline: none;\n  background-color: transparent;\n  border-radius: 3px;\n\n  ::placeholder {\n    color: #999;\n  }\n  &:focus {\n    transition: background-color 200ms ease-in;\n    background-color: rgba(0,0,0,0.025);\n    border-bottom: 5px solid ",";\n  }\n  @media screen and (max-width: 767px) {\n    font-size: 16px;\n    border-radius: 0;\n  }\n\n"],["\n  font-family: ",";\n  font-weight: bold;\n  display: inline-block;\n  box-sizing: border-box;\n  line-height: 20px;\n  text-transform: none;\n  letter-spacing: none;\n  width: 100%;\n  font-size: 16px;\n  padding-left: 4px;\n  padding-top: 10px;\n  padding-bottom: 10px;\n  margin-top: 9px;\n  margin-bottom: 9px;\n  border-left: none;
1\n  border-right: none;\n  border-top: none;\n  border-bottom: 5px solid #eee;\n  outline: none;\n  background-color: transparent;\n  border-radius: 3px;\n\n  ::placeholder {\n    color: #999;\n  }\n  &:focus {\n    transition: background-color 200ms ease-in;\n    background-color: rgba(0,0,0,0.025);\n    border-bottom: 5px solid ",";\n  }\n  @media screen and (max-width: 767px) {\n    font-size: 16px;\n    border-radius: 0;\n  }\n\n"]),c=r(["\n  margin-top: 5px;\n  font-family: ",";\n  text-align: center;\n  color: ",";\n"],["\n  margin-top: 5px;\n  font-family: ",";\n  text-align: center;\n  color: ",";\n"]),l=r(["\n  font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;\n  margin-top: 20px;\n  font-size: 13px;\n  outline: none;\n  display: block;\n"],["\n  font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;\n  margin-top: 20px;\n  font-size: 13px;\n  outline: none;\n  display: block;\n"]),f=r(["\n  border: none;\n  padding: 0;\n  margin: 0;\n"],["\n  border: none;\n  padding: 0;\n  margin: 0;\n"]),p=r(["\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n\n  display: block;\n  margin-top: 12px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  background-color: #C9FFF3;\n  color: #333;\n  border: 4px solid #C9FFF3;\n  -webkit-appearance: none;\n  border-radius: 3px;\n  text-align: center;\n"],["\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n\n  display: block;\n  margin-top: 12px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  background-color: #C9FFF3;\n  color: #333;\n  border: 4px solid #C9FFF3;\n  -webkit-appearance: none;\n  border-radius: 3px;\n  text-align: center;\n"]),h=r(["\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n\n  text-align:center;\n  display: block;\n  margin-top: 12px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  color: ",";\n  border: 4px solid ",";\n  -webkit-appearance: none;\n  border-radius: 3px;\n\n  &:focus {\n    background-color: ",";\n    color: white;\n    text-decoration: underline;\n    outline: none;\n  }\n\n  @media not all and (hover: none) {\n    &:hover{\n      background-color: ",";\n      color: white;\n      cursor: pointer;\n    }\n  }\n"],["\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n\n  text-align:center;\n  display: block;\n  margin-top: 12px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  color: ",";\n  border: 4px solid ",";\n  -webkit-appearance: none;\n  border-radius: 3px;\n\n  &:focus {\n    background-color: ",";\n    color: white;\n    text-decoration: underline;\n    outline: none;\n  }\n\n  @media not all and (hover: none) {\n    &:hover{\n      background-color: ",";\n      color: white;\n      cursor: pointer;\n    }\n  }\n"]),d=r(["\n  font-family: ",";\n  font-weight: 500;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n\n  text-align:center;\n  display: flex;\n  justify-content: center;\n  margin-top: 12px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  box-shadow: none;\n  background-color: #999;\n  color: #666;\n  border: 4px solid #999;\n  -webkit-appearance: none;\n  border-radius: 3px;\n"],["\n  font-family: ",";\n  font-weight: 500;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n\n  text-align:center;\n  display: flex;\n  justify-content: center;\n  margin-top: 12px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  box-shadow: none;\n  background-color: #999;\n  color: #666;\n  border: 4px solid #999;\n  -webkit-appearance: none;\n  border-radius: 3px;\n"]),g=r(["\n  padding: 30px 70px;\n  border 4px solid black;\n  border-radius: 5px;\n  @media screen and (max-width: 767px) {\n    padding: 20px;\n  }\n"],["\n  padding: 30px 70px;\n  border 4px solid black;\n  border-radius: 5px;\n  @media screen and (max-width: 767px) {\n    padding: 20px;\n  }\n"]),y=r(["\n  margin-top: 70px;\n  text-align: center;\n  margin-bottom: 30px;\n"],["\n  margin-top: 70px;\n  text-align: center;\n  margin-bottom: 30px;\n"]),m=r(["\n  text-align: center;\n  margin-top: 70px;\n  margin-bottom: 30px;\n"],["\n  text-align: center;\n  margin-top: 70px;\n  margin-bottom: 30px;\n"]),v=Object(i.b)(a.a)(u,function(t){return t.theme.fonts.h5},Object(o.a)("blue")),_=i.b.div(c,function(t){return t.theme.fonts.h3},Object(o.a)("red")),b=i.b.div(l),x=i.b.fieldset(f),w=i.b.div(p,function(t){return t.theme.fonts.h2}),E=Object(i.b)(s.a)(h,function(t){return t.theme.fonts.h2},Object(o.a)("blue"),Object(o.a)("blue"),Object(o.a)("blue"),Object(o.a)("blue")),S=i.b.div(d,function(t){return t.theme.fonts.h2}),k=i.b.div(g),O=i.b.h1(y),M=i.b.h4(m)},464:function(t,e,n){"use strict";function r(t,e){var n,r,o={};e||(e={});for(r in y)n=e[r],o[r]=null===n||void 0===n?y[r]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),i(t,o)}function i(t,e){function n(){return{line:vt,column:mt,offset:gt+(pt.offset||0)}}function r(t,e){var r=n();r.column+=e,r.offset+=e,ut.call(ft,U[t],r,t)}function i(){_t&&(bt.push(_t),at&&at.call(ct,_t,{start:tt,end:n()}),_t="")}var c,l,y,Y,F,H,q,W,V,G,Q,Z,J,X,$,tt,et,nt,rt,it=e.additional,ot=e.nonTerminated,at=e.text,st=e.reference,ut=e.warning,ct=e.textContext,lt=e.referenceContext,ft=e.warningContext,pt=e.position,ht=e.indent||[],dt=t.length,gt=0,yt=-1,mt=pt.column||1,vt=pt.line||1,_t="",bt=[];for("string"===typeof it&&(it=it.charCodeAt(0)),tt=n(),W=ut?r:g,gt--,dt++;++gt<dt;)if(F===v&&(mt=ht[yt]||1),(F=t.charCodeAt(gt))===x){if((q=t.charCodeAt(gt+1))===m||q===v||q===_||q===b||q===x||q===E||q!==q||it&&q===it){_t+=d(F),mt++;continue}
1for(J=gt+1,Z=J,rt=J,q===k?(rt=++Z,q=t.charCodeAt(rt),q===O||q===M?(X=C,rt=++Z):X=D):X=I,c="",Q="",Y="",$=j[X],rt--;++rt<dt&&(q=t.charCodeAt(rt),$(q));)Y+=d(q),X===I&&h.call(s,Y)&&(c=Y,Q=s[Y]);y=t.charCodeAt(rt)===w,y&&(rt++,(l=X===I&&p(Y))&&(c=Y,Q=l)),nt=1+rt-J,(y||ot)&&(Y?X===I?(y&&!Q?W(R,1):(c!==Y&&(rt=Z+c.length,nt=1+rt-Z,y=!1),y||(V=c?A:z,e.attribute?(q=t.charCodeAt(rt),q===S?(W(V,nt),Q=null):f(q)?Q=null:W(V,nt)):W(V,nt))),H=Q):(y||W(N,nt),H=parseInt(Y,L[X]),o(H)?(W(K,nt),H=d(T)):H in u?(W(B,nt),H=u[H]):(G="",a(H)&&W(B,nt),H>65535&&(H-=65536,G+=d(H>>>10|55296),H=56320|1023&H),H=G+d(H))):X!==I&&W(P,nt)),H?(i(),tt=n(),gt=rt-1,mt+=rt-J+1,bt.push(H),et=n(),et.offset++,st&&st.call(lt,H,{start:tt,end:et},t.slice(J-1,rt)),tt=et):(Y=t.slice(J-1,rt),_t+=Y,mt+=Y.length,gt=rt-1)}else 10===F&&(vt++,yt++,mt=0),F===F?(_t+=d(F),mt++):i();return bt.join("")}function o(t){return t>=55296&&t<=57343||t>1114111}function a(t){return t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||65535===(65535&t)||65534===(65535&t)}var s=n(523),u=n(524),c=n(460),l=n(525),f=n(526),p=n(527);t.exports=r;var h={}.hasOwnProperty,d=String.fromCharCode,g=Function.prototype,y={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},m=9,v=10,_=12,b=32,x=38,w=59,E=60,S=61,k=35,O=88,M=120,T=65533,I="named",C="hexadecimal",D="decimal",L={};L[C]=16,L[D]=10;var j={};j[I]=f,j[D]=c,j[C]=l;var A=1,N=2,z=3,P=4,R=5,B=6,K=7,U={};U[A]="Named character references must be terminated by a semicolon",U[N]="Numeric character references must be terminated by a semicolon",U[z]="Named character references cannot be empty",U[P]="Numeric character references cannot be empty",U[R]="Named character references must be known",U[B]="Numeric character references cannot be disallowed",U[K]="Numeric character references cannot be outside the permissible Unicode range"},465:function(t,e,n){"use strict";function r(t,e){if("string"!==typeof t)throw new TypeError("expected a string");if(1===e)return t;if(2===e)return t+t;var n=t.length*e;if(i!==t||"undefined"===typeof i)i=t,o="";else if(o.length>=n)return o.substr(0,n);for(;n>o.length&&e>1;)1&e&&(o+=t),e>>=1,t+=t;return o+=t,o=o.substr(0,n)}var i,o="";t.exports=r},466:function(t,e,n){"use strict";function r(t){return String(t).replace(/\n+$/,"")}t.exports=r},467:function(t,e,n){"use strict";function r(t,e,n,r){for(var i,o,a,s,u,c,l=["pedantic","commonmark"],f=l.length,p=t.length,h=-1;++h<p;){for(i=t[h],o=i[1]||{},a=i[0],s=-1,c=!1;++s<f;)if(u=l[s],void 0!==o[u]&&o[u]!==n.options[u]){c=!0;break}if(!c&&e[a].apply(n,r))return!0}return!1}t.exports=r},468:function(t,e,n){"use strict";function r(t){return i(t).toLowerCase()}var i=n(547);t.exports=r},469:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function s(t){return{user:t.user.data||{},annotations:t.annotations,votePrefs:t.votePrefs}}var u=n(0),c=n.n(u),l=n(7),f=n.n(l),p=n(5),h=n(24),d=n(4),g=n(39),y=n(18),m=n(498),v=n(488),_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=a(["\n  text-align: left;\n"],["\n  text-align: left;\n"]),x=a(["\n  display: flex;\n  align-items: center;\n  font-family: ",";\n  font-weight: bold;\n  @media not all and (hover: none) {\n    &:hover {\n      cursor: pointer;\n      color: ",";\n    }\n  }\n"],["\n  display: flex;\n  align-items: center;\n  font-family: ",";\n  font-weight: bold;\n  @media not all and (hover: none) {\n    &:hover {\n      cursor: pointer;\n      color: ",";\n    }\n  }\n"]),w=a(["\n  margin-left: 5px;\n  width: 35px;\n  height: 35px;\n"],["\n  margin-left: 5px;\n  width: 35px;\n  height: 35px;\n"]),E=a(["\n  opacity: ",";\n  transform: scale(",");\n  transition-property: opacity, transform;\n  transition-duration: 150ms; \n  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);\n\n  box-sizing: border-box;\n  background-color: WHITESMOKE;\n  padding: 30px 35px;\n  margin-top: 24px;\n"],["\n  opacity: ",";\n  transform: scale(",");\n  transition-property: opacity, transform;\n  transition-duration: 150ms; \n  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);\n\n  box-sizing: border-box;\n  background-color: WHITESMOKE;\n  padding: 30px 35px;\n  margin-top: 24px;\n"]),S=a(["\n  display: flex;\n  justify-content: center;\n"],["\n  display: flex;\n  justify-content: center;\n"]),k=d.b.h4(b),O=d.b.div(x,function(t){return t.theme.fonts.h5},Object(y.a)("teal")),M=d.b.div(w),T=d.b.div(E,function(t){return t.opacity},function(t){return t.scale}),I=d.b.div(S),C=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getAnnoData=function(t,e){return n.props.annotations[t+"#"+e]||{}},n.getAnnotations=function(t,e){return t&&t.data?t.data.filter(function(t){return t.sectionId===e}):[]},n.handleCreate=function(t){n.setState({showCreate:!n.state.showCreate})},n.state={showCreate:!1,opacity:0,scale:.97},n}
1return o(e,t),_(e,[{key:"componentDidMount",value:function(){this.setState({opacity:1,scale:1})}},{key:"render",value:function(){var t=this.props,e=t.user,n=t.pageId,r=t.loggedInUserId,i=t.authorUserId,o=t.sectionId,a=i||r,s=r===i||r===e.userId&&r,u=this.getAnnoData(n,a),l=e.first?e.first+"'s":"my";i&&r!==i&&(l=u.user?u.user.name+".'s":"");var f=this.getAnnotations(u,o),p=f.map(function(t){return c.a.createElement(m.a,{key:"annotation-"+t.id,pageId:n,userId:a,sectionId:o,annotationId:t.id,text:t.text,userName:l,createdAt:t.createdAt,updatedAt:t.updatedAt})}),h=null;this.state.showCreate?h=c.a.createElement(v.a,{pageId:n,userId:a,sectionId:o,onCancel:this.handleCreate}):s&&(h=c.a.createElement(O,{onClick:this.handleCreate},"Add a note",c.a.createElement(M,null,c.a.createElement(g.a,{color:Object(y.a)("teal")}))));var d=this.state,_=d.opacity,b=d.scale;return c.a.createElement(T,{opacity:_,scale:b},p.length>0&&c.a.createElement(k,null,l," Notes"),p,c.a.createElement(I,null,h))}}]),e}(c.a.Component);C.contextTypes={store:f.a.object},C.propTypes={pageId:f.a.string.isRequired,loggedInUserId:f.a.string,authorUserId:f.a.string,sectionId:f.a.string.isRequired},e.a=Object(h.b)(s,{})(Object(p.withRouter)(C))},470:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(4),p=n(491),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=a(["\n\tuser-select: none;\n\tposition: absolute;\n\twidth: 300px;\n\tmin-height: 150px;\n\tbackground-color: white;\n\tborder: 5px solid black;\n\tborder-radius: 5px;\n\tpadding: 10px 30px 40px 30px;\n\tz-index: 5;\n"],["\n\tuser-select: none;\n\tposition: absolute;\n\twidth: 300px;\n\tmin-height: 150px;\n\tbackground-color: white;\n\tborder: 5px solid black;\n\tborder-radius: 5px;\n\tpadding: 10px 30px 40px 30px;\n\tz-index: 5;\n"]),g=a(["\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbackground-color: ",";\n"],["\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbackground-color: ",";\n"]),y=f.b.div(d),m=f.b.div(g,function(t){return t.color?t.color:"rgba(255,218,185,0.6)"}),v=function(t){function e(){var t,n,o,a;r(this,e);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=o=i(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(u))),o.handleKeyDown=function(t){"Escape"===t.key&&o.props.onToggleVisibility(!1)},a=n,i(o,a)}return o(e,t),h(e,[{key:"componentDidMount",value:function(){window.addEventListener("keydown",this.handleKeyDown),document.body.classList.add("stopscroll")}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeyDown),document.body.classList.remove("stopscroll")}},{key:"render",value:function(){var t=this;return u.a.createElement(p.a,null,u.a.createElement(m,{color:this.props.overlayColor,onClick:function(){return t.props.onToggleVisibility(!1)}},u.a.createElement(y,{onClick:function(t){t.stopPropagation()}},this.props.children)))}}]),e}(u.a.Component);v.propTypes={overlayColor:l.a.string,onToggleVisibility:l.a.func.isRequired},e.a=v},471:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(38),u=(n.n(s),n(18)),c=n(456),l=n(39),f=n(453),p=r(["\n\tdisplay: inline-block;\n\tcolor: #333;\n"],["\n\tdisplay: inline-block;\n\tcolor: #333;\n"]),h=r(["\n\tcolor: #666;\n\tmargin-bottom: 10px;\n"],["\n\tcolor: #666;\n\tmargin-bottom: 10px;\n"]),d=r(["\n\tfont-family: ",";\n\tdisplay: block;\n\tcolor: ",";\n\tmargin-top: 8px;\n"],["\n\tfont-family: ",";\n\tdisplay: block;\n\tcolor: ",";\n\tmargin-top: 8px;\n"]),g=r(["\n\tmargin: 0 auto;\n\tmargin-bottom: 30px;\n\t@media screen and (max-width: 767px) {\n\t\ttext-align: center;\n\t}\n"],["\n\tmargin: 0 auto;\n\tmargin-bottom: 30px;\n\t@media screen and (max-width: 767px) {\n\t\ttext-align: center;\n\t}\n"]),y=r(["\n\t@media print {\n\t\tdisplay: none;\n\t}\n"],["\n\t@media print {\n\t\tdisplay: none;\n\t}\n"]),m=r(["\n\tfont-style: italic;\n\tfont-size: 14px;\n\tmargin-bottom: 30px;\n"],["\n\tfont-style: italic;\n\tfont-size: 14px;\n\tmargin-bottom: 30px;\n"]),v=a.b.h2(p),_=a.b.h4(h),b=a.b.a(d,function(t){return t.theme.fonts.h3},Object(u.a)("purple")),x=a.b.div(g),w=a.b.div(y),E=a.b.div(m),S=function(t){var e=t.data.links.map(function(t,e){return o.a.createElement(o.a.Fragment,{key:e},o.a.createElement(b,{target:"_blank",rel:"noopener noreferrer",href:t.url},o.a.createElement(l.g,null,o.a.createElement(l.f,null)),t.text))});return o.a.createElement(x,null,o.a.createElement(_,null,t.data.subsectionTitle),e)},k=function(t){var e=t.data.subsections.map(function(t,e){return e%2===0?o.a.createElement(S,{key:e,data:t}):null}),n=t.data.subsections.map(function(t,e){return e%2===1?o.a.createElement(S,{key:e,data:t}):null});return o.a.createElement(w,null,o.a.createElement(s.Row,null,o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:1,sm:10,mdOffset:1,md:10,lgOffset:1,lg:10},o.a.createElement(f.a,{height:70}),o.a.createElement(c.a,null,o.a.createElement(v,null,"More reading")),o.a.createElement(E,null,"Other articles, analyses, and opinions. Let us know if there's another perspective we should include: [email protected]."))),o.a.createElement(s.Row,null,o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:4,sm:4,mdOffset:3,md:3,lgOffset:3,lg:3},e),o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:4,sm:4,mdOffset:0,md:3,lgOffset:0,lg:3},n)))};e.a=k},472:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(7),a=n.n(o),s=function(t){return i.a.createElement("input",{required:t.required,type:t.type,name:t.name,id:t.
1id,style:t.style,placeholder:t.placeholder,tabIndex:"0",onChange:function(e){t.onChange(e)},onSubmit:function(){t.onSubmit()},autoComplete:"on",autoCapitalize:"off",autoCorrect:"off","aria-label":t.placeholder,size:t.size,className:t.className,value:t.value,maxLength:t.maxLength})};s.propTypes={type:a.a.string.isRequired,name:a.a.string.isRequired,placeholder:a.a.string.isRequired,onChange:a.a.func},s.defaultProps={value:"",onChange:function(){}},e.a=s},473:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s});var r=function(t){switch(t){case"SF":return"SF";case"SJ":return"San Jose";case"SantaClaraCounty":return"Santa Clara County";case"CAOnly":return"California";default:return"SF"}},i=[94016,94102,94103,94104,94105,94107,94108,94109,94110,94111,94112,94114,94115,94116,94117,94118,94119,94120,94121,94122,94123,94124,94125,94126,94127,94129,94130,94131,94132,94133,94134,94137,94139,94140,94141,94142,94143,94144,94145,94146,94147,94151,94153,94154,94156,94158,94159,94160,94161,94162,94163,94164,94171,94172,94177,94188],o=[94088,94089,94538,94560,95002,95008,95013,95035,95037,95050,95054,95101,95103,95106,95108,95109,95110,95111,95112,95113,95115,95116,95117,95118,95119,95120,95121,95122,95123,95124,95125,95126,95127,95128,95129,95130,95131,95132,95133,95134,95135,95136,95138,95139,95141,95148,95150,95151,95152,95153,95154,95155,95156,95157,95158,95160,95161,95164,95170,95172,95173,95190,95191,95192,95193,95194,95196],a=[94022,94023,94024,94035,94039,94040,94041,94042,94043,94085,94086,94087,94301,94302,94303,94304,94305,94306,94309,95009,95011,95014,95015,95020,95021,95026,95030,95031,95032,95036,95038,95042,95044,95046,95051,95052,95053,95055,95056,95070,95071,95140,95159],s=function(t){var e=parseInt(t,10);return isNaN(e)?"SF":e>9e4?i.includes(e)?"SF":o.includes(e)?"SJ":a.includes(e)?"SantaClaraCounty":"CAOnly":"OutsideCA"}},474:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(7),c=n.n(u),l=n(475),f=n.n(l),p=n(18),h=n(477),d=n(478),g=n(459),y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m={selectText:{backgroundColor:Object(p.a)("yellow"),transition:"background-color 150ms ease-in",borderRadius:5},deselectText:{backgroundColor:"transparent"},hoverText:{backgroundColor:Object(p.a)("yellow",0,20,.7)}},v=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleTouch=function(t){t.preventDefault(),t.stopPropagation(),n.clickLocationY=t.touches[0].pageY,n.toggleVisibility()},n.handleIconClick=function(t){n.clickLocationY=t.pageY,n.toggleVisibility(),Object(g.a)({category:"Citation",action:"Clicked to view citation"})},n.selectText=function(){n.setState({taggedTextStyle:m.hoverText})},n.deselectText=function(){n.setState({taggedTextStyle:m.deselectText})},n.toggleVisibility=function(t){var e=!n.state.isPopupVisible;void 0!==t&&(e=t),n.setState({isPopupVisible:e,taggedTextStyle:e?m.selectText:m.deselectText,isActive:e})},n.state={isPopupVisible:!1,taggedTextStyle:m.deselectText,isActive:!1},n.clickLocationY=0,n.marker=null,n}return o(e,t),y(e,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"handleClickOutside",value:function(){this.toggleVisibility(!1)}},{key:"render",value:function(){var t=this.state,e=t.isActive,n=t.taggedTextStyle,r=t.isPopupVisible;return s.a.createElement("span",null,s.a.createElement("span",{style:n},this.props.children,s.a.createElement(h.a,{onTouchEnd:this.handleTouch,isActive:e,onHover:this.selectText,onMouseLeave:this.deselectText,onClick:this.handleIconClick})),r&&s.a.createElement(s.a.Fragment,null,s.a.createElement(d.a,Object.assign({toggleVisibility:this.toggleVisibility,clickPos:this.clickLocationY},this.props),this.props.children)))}}]),e}(s.a.Component);v.propTypes={link:c.a.string,publication:c.a.string,headline:c.a.string,directQuote:c.a.string,data:c.a.shape({link:c.a.string,publication:c.a.string.isRequired,headline:c.a.string.isRequired,directQuote:c.a.string.isRequired})},v=f()(v),e.a=v},475:function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(40),l=n(0),f=n(66);t.exports=function(t){var e=t.displayName||t.name,n=function(e){function n(t){i(this,n);var e=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return e.handleClickOutside=e.handleClickOutside.bind(e),e}
1return a(n,e),u(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(t){var e=this.__domNode;e&&e.contains(t.target)||"function"!==typeof this.__wrappedComponent.handleClickOutside||this.__wrappedComponent.handleClickOutside(t)}},{key:"render",value:function(){var e=this,n=this.props,i=n.wrappedRef,o=r(n,["wrappedRef"]);return l.createElement(t,s({},o,{ref:function(t){e.__wrappedComponent=t,e.__domNode=f.findDOMNode(t),i&&i(t)}}))}}]),n}(l.Component);return n.displayName="clickOutside("+e+")",c(n,t)}},476:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=function(t){return i.a.createElement("input",{className:t.className,type:"submit",value:t.value,disabled:t.disabled?"disabled":null,name:t.name})};e.a=o},477:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(4),l=n(18),f=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=a(["\n\tdisplay: inline-block;\n\tposition: relative;\n\ttop: -5px;\n\tline-height: 0;\n\theight: 14px;\n\tmargin-left: 3px;\n\tbackground-color: ",";\n\tborder-radius: 1px;\n\tpointer-events: auto;\n\tcursor: pointer;\n\n\t@media not all and (hover: none) {\n\t\t&:hover {\n\t\t\tborder-color: transparent;\n\t\t\tbackground-color: ",";\n\t\t}\n\t}\n"],["\n\tdisplay: inline-block;\n\tposition: relative;\n\ttop: -5px;\n\tline-height: 0;\n\theight: 14px;\n\tmargin-left: 3px;\n\tbackground-color: ",";\n\tborder-radius: 1px;\n\tpointer-events: auto;\n\tcursor: pointer;\n\n\t@media not all and (hover: none) {\n\t\t&:hover {\n\t\t\tborder-color: transparent;\n\t\t\tbackground-color: ",";\n\t\t}\n\t}\n"]),h=a(["\n\tdisplay: flex;\n\tjustify-content: space-evenly;\n\talign-items: center;\n\twidth: 14px;\n\theight: 100%;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-evenly;\n\talign-items: center;\n\twidth: 14px;\n\theight: 100%;\n"]),d=a(["\n\tdisplay: block;\n\twidth: 2px;\n\theight: 2px;\n\tbackground-color: black;\n\tborder-radius: 1px;\n"],["\n\tdisplay: block;\n\twidth: 2px;\n\theight: 2px;\n\tbackground-color: black;\n\tborder-radius: 1px;\n"]),g=c.b.span(p,function(t){return t.isActive?Object(l.a)("yellow"):"#eee"},Object(l.a)("yellow")),y=c.b.span(h),m=c.b.span(d),v=function(t){function e(){var t,n,o,a;r(this,e);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=o=i(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(u))),o.handleMouseEnter=function(){o.props.isActive||o.props.onHover()},o.handleMouseLeave=function(){o.props.isActive||o.props.onMouseLeave()},a=n,i(o,a)}return o(e,t),f(e,[{key:"render",value:function(){var t=this.props,e=t.onClick,n=t.onTouchStart,r=t.isActive;return u.a.createElement(g,{onClick:e,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onTouchEnd:n,isActive:r},u.a.createElement(y,null,u.a.createElement(m,null),u.a.createElement(m,null),u.a.createElement(m,null)))}}]),e}(u.a.Component);v.defaultProps={isActive:!1},e.a=v},478:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(4),p=n(479),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=a(["\n\tposition: absolute;\n\tleft: 20px;\n\tz-index: 3;\n\ttransform: translateY(-","px);\n\t@media screen and (max-width: 767px) {\n\t\tposition: static;\n\t\twidth: 100%;\n\t}\n"],["\n\tposition: absolute;\n\tleft: 20px;\n\tz-index: 3;\n\ttransform: translateY(-","px);\n\t@media screen and (max-width: 767px) {\n\t\tposition: static;\n\t\twidth: 100%;\n\t}\n"]),g=a(["\n  font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;\n\tposition: absolute;\n\tdisplay: inline-block;\n\twidth: ","px;\n\toverflow: hidden;\n\tbox-shadow: 12px 12px 2px rgba(0,0,0,0.1), -20px 16px 2px rgba(0,0,0,0.04);\n\tcolor: white;\n\tborder-radius: 4px;\n\t@media screen and (max-width: 767px) {\n\t\tborder-radius: 0;\n\t\tmax-height: 270;\n\t\tposition: fixed;\n\t\twidth: 100%;\n\t\tleft: 0;\n\t\tbottom: 0;\n\t\tz-index: 3;\n\t}\n\n"],["\n  font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;\n\tposition: absolute;\n\tdisplay: inline-block;\n\twidth: ","px;\n\toverflow: hidden;\n\tbox-shadow: 12px 12px 2px rgba(0,0,0,0.1), -20px 16px 2px rgba(0,0,0,0.04);\n\tcolor: white;\n\tborder-radius: 4px;\n\t@media screen and (max-width: 767px) {\n\t\tborder-radius: 0;\n\t\tmax-height: 270;\n\t\tposition: fixed;\n\t\twidth: 100%;\n\t\tleft: 0;\n\t\tbottom: 0;\n\t\tz-index: 3;\n\t}\n\n"]),y={height:220,width:245},m=f.b.span(d,y.height),v=f.b.span(g,y.width),_=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.removeScrollListener=function(){window.removeEventListener("scroll",n.handleScroll)},n.handleKeyDown=function(t){"Escape"===t.key&&n.props.toggleVisibility(!1)},n.handleResize=function(){var t=window.innerWidth||document.documentElement.clientWidth;n.setState({windowWidth:t}),t<1024?n.setState({isXsScreen:!0}):n.setState({isXsScreen:!1}),n.props.toggleVisibility(!1)},n.handleDismiss=function(){n.props.toggleVisibility(!1)},n.handleScroll=function(){var t=window.pageYOffset||document.documentElement.scrollTop,e=window.innerHeight||document.documentElement.clientHeight;n.state.doneScrolling&&Math.abs(t-n.state.initialScrollY)>e/6&&n.props.toggleVisibility(!1)};var o=window.innerWidth||document.documentElement.clientWidth;return n.state={windowWidth:o,isXsScreen:o<1024,initialScrollY:0,doneScrolling:!1},n}
1return o(e,t),h(e,[{key:"componentDidMount",value:function(){var t=this;window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.handleScroll),this.state.isXsScreen?window.scroll({top:this.props.clickPos-(window.innerHeight||document.documentElement.clientHeight)/4,behavior:"smooth"}):window.scroll({top:this.props.clickPos-(window.innerHeight||document.documentElement.clientHeight)/2,behavior:"smooth"}),setTimeout(function(){t.setState({initialScrollY:window.pageYOffset||document.documentElement.scrollTop,doneScrolling:!0})},600)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll)}},{key:"render",value:function(){return u.a.createElement(m,null,u.a.createElement(v,null,u.a.createElement(p.a,this.props)))}}]),e}(u.a.Component);_.propTypes={toggleVisibility:l.a.func.isRequired,clickPos:l.a.number.isRequired,noComment:l.a.bool},e.a=_},479:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(4),l=n(18),f=n(459),p=n(39),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=a(["\n\tbox-sizing: border-box;\n\tdisplay: block;\n\tpadding: 10px;\n\tbackground-color: white;\n\tcolor: black;\n\tborder: 4px solid black;\n\tborder-radius: 4px;\n\twidth: 100%;\n"],["\n\tbox-sizing: border-box;\n\tdisplay: block;\n\tpadding: 10px;\n\tbackground-color: white;\n\tcolor: black;\n\tborder: 4px solid black;\n\tborder-radius: 4px;\n\twidth: 100%;\n"]),g=a(["\n\tdisplay: block;\n\tfont-family: ",";\n\tfont-weight: bold;\n\ttext-align: center;\n\tfont-size: 16px;\n\tcolor: black;\n"],["\n\tdisplay: block;\n\tfont-family: ",";\n\tfont-weight: bold;\n\ttext-align: center;\n\tfont-size: 16px;\n\tcolor: black;\n"]),y=a(["\n\tfont-family: ",";\n\tdisplay: block;\n  font-size: 14px;\n  text-transform: uppercase;\n  font-weight: normal;\n\tmargin-top: 10px;\n\tline-height: 14px;\n\tcolor: #333;\n\tmargin-top: 12px;\n\ttext-align: left;\n"],["\n\tfont-family: ",";\n\tdisplay: block;\n  font-size: 14px;\n  text-transform: uppercase;\n  font-weight: normal;\n\tmargin-top: 10px;\n\tline-height: 14px;\n\tcolor: #333;\n\tmargin-top: 12px;\n\ttext-align: left;\n"]),m=a(["\n\tdisplay: block;\n\tfont-family: ",";\n\ttext-transform: none;\n\tfont-weight: bold;\n\tfont-size: 14px;\n\tline-height: 16px;\n\tmargin-top: 4px;\n\ttext-align: left;\n"],["\n\tdisplay: block;\n\tfont-family: ",";\n\ttext-transform: none;\n\tfont-weight: bold;\n\tfont-size: 14px;\n\tline-height: 16px;\n\tmargin-top: 4px;\n\ttext-align: left;\n"]),v=a(["\n\tdisplay: block;\n\ttext-transform: none;\n\tmargin-top: 12px;\n\tfont-size: 12px;\n\tfont-weight: normal\n\ttext-align: left;\n\tline-height: 16px;\n"],["\n\tdisplay: block;\n\ttext-transform: none;\n\tmargin-top: 12px;\n\tfont-size: 12px;\n\tfont-weight: normal\n\ttext-align: left;\n\tline-height: 16px;\n"]),_=a(["\n\tdisplay: flex;\n\tjustify-content: center;\n\tmargin-top: 12px;\n\tmargin-bottom: 12px;\n\theight: auto;\n\twidth: 100%;\n"],["\n\tdisplay: flex;\n\tjustify-content: center;\n\tmargin-top: 12px;\n\tmargin-bottom: 12px;\n\theight: auto;\n\twidth: 100%;\n"]),b=a(["\n\tposition: absolute;\n\tfont-family: Georgia, serif;\n\tcolor: black;\n\tfont-size 14pt;\n"],["\n\tposition: absolute;\n\tfont-family: Georgia, serif;\n\tcolor: black;\n\tfont-size 14pt;\n"]),x=a(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tbackground-color: white;\n\tfont-family: ",";\n\tfont-weight: bold;\n\tborder: 4px solid black;\n\tfont-size: 12px;\n\tcolor: black;\n\ttext-align: center;\n\tpadding: 6px 9px 6px 5px;\n\tborder-radius: 4px;\n\tuser-select: none;\n\tcursor: pointer;\n\n\t@media not all and (hover: none) {\n\t\t&:hover {\n\t\t\tbackground-color: ",";\n\t\t\ttext-decoration: underline;\n\t\t\toutline: none;\n\t\t}\n\t}\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tbackground-color: white;\n\tfont-family: ",";\n\tfont-weight: bold;\n\tborder: 4px solid black;\n\tfont-size: 12px;\n\tcolor: black;\n\ttext-align: center;\n\tpadding: 6px 9px 6px 5px;\n\tborder-radius: 4px;\n\tuser-select: none;\n\tcursor: pointer;\n\n\t@media not all and (hover: none) {\n\t\t&:hover {\n\t\t\tbackground-color: ",";\n\t\t\ttext-decoration: underline;\n\t\t\toutline: none;\n\t\t}\n\t}\n"]),w=a(["\n\tdisplay: inline-block;
1\n\twidth: 20px;\n\ttransform: translateY(3px);\n"],["\n\tdisplay: inline-block;\n\twidth: 20px;\n\ttransform: translateY(3px);\n"]),E=c.b.span(d),S=c.b.span(g,function(t){return t.theme.fonts.h5}),k=c.b.span(y,function(t){return t.theme.fonts.h3}),O=c.b.span(m,function(t){return t.theme.fonts.h5}),M=c.b.span(v),T=c.b.span(_),I=c.b.span(b),C=c.b.div(x,function(t){return t.theme.fonts.h5},Object(l.a)("yellow")),D=c.b.div(w),L=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),h(e,[{key:"render",value:function(){var t=this.props.data?this.props.data:this.props,e=t.publication,n=t.headline,r=t.directQuote,i=t.link,o=t.noLink;return u.a.createElement(E,null,u.a.createElement(S,null,"Source"),u.a.createElement(k,null,e),u.a.createElement(O,null,n),u.a.createElement(M,null,u.a.createElement(I,null,"\u201c"),"\xa0\xa0\xa0",r,u.a.createElement(I,null,"\u201d")),u.a.createElement(T,null,!o&&u.a.createElement("span",{onClick:function(){Object(f.a)({category:"Citation",action:"Clicked to Read More",label:i})}},u.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:i,style:{textDecoration:"none"}},u.a.createElement(C,null,u.a.createElement(D,null,u.a.createElement(p.f,null)),"Read more")))))}}]),e}(s.Component);e.a=L},480:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(39),u=n(18),c=r(["\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\theight: 70px;\n\ttext-align: center;\n\tmargin-top: 30px;\n"],["\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\theight: 70px;\n\ttext-align: center;\n\tmargin-top: 30px;\n"]),l=r(["\n\tdisplay: block;\n\theight: 40px;\n\twidth: 40px;\n\tpadding: 5px;\n\tbox-sizing: border-box;\n\tborder-radius: 4px;\n\tbackground-color: ",";\n\tmargin: 0 5px;\n\t@media not all and (hover: none) {\n\t\t&:hover{\n\t\t\tbackground-color: ",";\n\t\t}\n\t}\n"],["\n\tdisplay: block;\n\theight: 40px;\n\twidth: 40px;\n\tpadding: 5px;\n\tbox-sizing: border-box;\n\tborder-radius: 4px;\n\tbackground-color: ",";\n\tmargin: 0 5px;\n\t@media not all and (hover: none) {\n\t\t&:hover{\n\t\t\tbackground-color: ",";\n\t\t}\n\t}\n"]),f=r(["\n\theight: 100%;\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tobject-fit: contain;\n"],["\n\theight: 100%;\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tobject-fit: contain;\n"]),p=a.b.div(c),h=a.b.a(l,Object(u.a)("pink"),Object(u.a)("pink",0,-10)),d=a.b.div(f),g=function(){return o.a.createElement(p,null,o.a.createElement("h4",null,"And helping your friends vote is .cool too"),o.a.createElement(y,{url:"https://www.facebook.com/dialog/share?app_id=1134187086655814&display=popup&href=https%3A%2F%2Fbythebay.cool%2Felection%2F",img:o.a.createElement(s.e,null)}),o.a.createElement(y,{url:"https://twitter.com/intent/tweet?url=https%3A%2F%2Fbythebay.cool%2Felection%2F&text=SF+and+CA+voted+on+some+rad+races+and+propositions.+Check+out+@bythebaydotcool\u2019s+election+result",img:o.a.createElement(s.k,null)}),o.a.createElement(y,{url:"mailto:?subject=voter guide&body=Check out this nonpartisan voter guide https://bythebay.cool/",img:o.a.createElement(s.d,null)}))},y=function(t){return o.a.createElement(h,{target:"_blank",rel:"noopener noreferrer",href:t.url},o.a.createElement(d,null,t.img))};e.a=g},481:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}function i(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,r="/"===a.charAt(0))}return e=n(i(e.split("/"),function(t){return!!t}),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),a="/"===o(t,-1);return t=n(i(t.split("/"),function(t){return!!t}),!r).join("/"),t||r||(t="."),t&&a&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(i(t,function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,u=0;u<a;u++)if(i[u]!==o[u]){s=u;break}for(var c=[],u=s;u<i.length;u++)c.push("..");return c=c.concat(o.slice(s)),c.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;
1return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(e,n(67))},482:function(t,e,n){"use strict";function r(t){var e="string"===typeof t?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}t.exports=r},483:function(t,e,n){"use strict";t.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(531)}},484:function(t,e,n){"use strict";function r(t){for(var e,n=0,r=0,o=t.charAt(n),a={};o in i;)e=i[o],r+=e,e>1&&(r=Math.floor(r/e)*e),a[r]=n,o=t.charAt(++n);return{indent:r,stops:a}}t.exports=r;var i={" ":1,"\t":4}},485:function(t,e,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";e.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),e.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},486:function(t,e,n){"use strict";function r(t,e){return t.indexOf("<",e)}t.exports=r},487:function(t,e,n){"use strict";function r(t,e){var n=t.indexOf("[",e),r=t.indexOf("![",e);return-1===r?n:n<r?n:r}t.exports=r},488:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){return{user:t.user.data||{},annotations:t.annotations}}var u=n(0),c=n.n(u),l=n(7),f=n.n(l),p=n(5),h=n(24),d=n(4),g=n(8),y=n(578),m=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=function(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n  max-width: 100%;\n  margin-top: 20px;\n"],["\n  max-width: 100%;\n  margin-top: 20px;\n"]),_=d.b.div(v),b=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getAnnotation=function(t){var e=n.props;return e.annotations[e.pageId+"#"+e.userId]},n.saveAnnotation=function(t){t.preventDefault();var e=n.context.store,r=n.props,i=r.pageId,o=r.userId,a=r.annotationId,s=r.sectionId;n.props.annotationId?e.dispatch({type:"UPDATE_ANNOTATION_REQUESTED",payload:{pageId:i,userId:o,annotationId:a,sectionId:s,text:n.state.text}}):e.dispatch({type:"CREATE_ANNOTATION_REQUESTED",payload:{pageId:i,userId:o,sectionId:s,text:n.state.text}})},n.handleInputChange=function(t){n.setState(r({},t.target.name,t.target.value))},n.handleEditorChange=function(t){n.setState({text:t})},n.state={text:t.text,annotationId:t.annotationId},n}return a(e,t),m(e,[{key:"componentWillReceiveProps",value:function(t){this.getAnnotation(t).status===g.a.COMPLETE&&this.props.onCancel()}},{key:"render",value:function(){return c.a.createElement(_,null,c.a.createElement("form",{onSubmit:this.saveAnnotation},c.a.createElement(y.a,{value:this.state.text,onChange:this.handleEditorChange}),c.a.createElement("div",null,c.a.createElement("button",{onClick:this.props.onCancel},"Cancel"),c.a.createElement("button",{action:"submit"}
1,"Save"))))}}]),e}(c.a.Component);b.contextTypes={store:f.a.object},b.propTypes={pageId:f.a.string.isRequired,userId:f.a.string.isRequired,sectionId:f.a.string.isRequired,annotationId:f.a.string,text:f.a.string,onCancel:f.a.func.isRequired},e.a=Object(h.b)(s,{})(Object(p.withRouter)(b))},489:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"b",function(){return x}),n.d(e,"c",function(){return w}),n.d(e,"a",function(){return E});var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(38),p=(n.n(f),n(4)),h=n(458),d=n(18),g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=a(["\n\tmargin-top: 40px;\n\tdisplay: flex;\n\t@media screen and (max-width: 767px) {\n\t\tflex-direction: column;\n\t}\n"],["\n\tmargin-top: 40px;\n\tdisplay: flex;\n\t@media screen and (max-width: 767px) {\n\t\tflex-direction: column;\n\t}\n"]),m=a(["\n\tborder-top: 2px solid black;\n\tpadding-top: 10px;\n\tmargin-top: 6px;\n\tmargin-right: 40px;\n\ttext-align: right;\n\twidth: 30%;\n\t@media screen and (max-width: 767px) {\n\t\twidth: 100%;\n\t\tborder: none;\n\t\tmargin: 0;\n\t\ttext-align: center;\n\t}\n"],["\n\tborder-top: 2px solid black;\n\tpadding-top: 10px;\n\tmargin-top: 6px;\n\tmargin-right: 40px;\n\ttext-align: right;\n\twidth: 30%;\n\t@media screen and (max-width: 767px) {\n\t\twidth: 100%;\n\t\tborder: none;\n\t\tmargin: 0;\n\t\ttext-align: center;\n\t}\n"]),v=a(["\n\twidth: calc(70% - 40px);\n\t@media screen and (max-width: 767px) {\n\t\twidth: 100%;\n\t}\n"],["\n\twidth: calc(70% - 40px);\n\t@media screen and (max-width: 767px) {\n\t\twidth: 100%;\n\t}\n"]),_=a(["\n\tmargin: 40px auto 0 auto;\n\tpadding: 10px 20px;\n\tdisplay: flex;\n\tmax-width: 200px;\n\talign-items: center;\n\tjustify-content: center;\n\tbackground-color: black;\n\tborder-radius: 4px;\n\t@media not all and (hover: none) {\n    &:hover{\n      background-color: ",";\n      cursor: pointer;\n    }\n  }\n"],["\n\tmargin: 40px auto 0 auto;\n\tpadding: 10px 20px;\n\tdisplay: flex;\n\tmax-width: 200px;\n\talign-items: center;\n\tjustify-content: center;\n\tbackground-color: black;\n\tborder-radius: 4px;\n\t@media not all and (hover: none) {\n    &:hover{\n      background-color: ",";\n      cursor: pointer;\n    }\n  }\n"]),b=a(["\n\ttext-align: center;\n\tcolor: white;\n"],["\n\ttext-align: center;\n\tcolor: white;\n"]),x=p.b.div(y),w=p.b.div(m),E=p.b.div(v),S=p.b.div(_,Object(d.a)("purple")),k=p.b.h4(b),O=function(t){return u.a.createElement(x,null,u.a.createElement(w,null,u.a.createElement("h3",null,t.title)),u.a.createElement(E,null,t.description))},M=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.expandContainer=function(){n.setState({expanded:!0})},n.state={expanded:!1},n}return o(e,t),g(e,[{key:"render",value:function(){var t=this,e=this.props.data,n=e.title,r=e.subtitle,i=e.stories,o=i.map(function(e,n){return n<t.props.listNItems?u.a.createElement(O,{key:n,title:e.title,description:e.description}):null}),a=i.map(function(e,n){return n>=t.props.listNItems?u.a.createElement(O,{key:n,title:e.title,description:e.description}):null});return null===a[a.length-1]&&(a=null),u.a.createElement("div",null,u.a.createElement(f.Row,null,u.a.createElement(f.Col,{xsOffset:1,xs:10,smOffset:1,sm:10,mdOffset:1,md:10,lgOffset:1,lg:10},u.a.createElement(h.a,{title:n,subtitle:r}))),u.a.createElement(f.Row,null,u.a.createElement(f.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:3,md:6,lgOffset:3,lg:6},o,!this.state.expanded&&a&&u.a.createElement(S,{onClick:this.expandContainer},u.a.createElement(k,null,"See more")),this.state.expanded&&a)))}}]),e}(u.a.Component);M.propTypes={listNItems:l.a.number},M.defaultProps={listNItems:3},e.d=M},490:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(453),u=n(5),c=n(18),l=n(39),f=r(["\n  @media print {\n    display: none;\n  }\n"],["\n  @media print {\n    display: none;\n  }\n"]),p=r(["\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: space-between;\n\tbox-sizing: border-box;\n\tbackground-color: ",";\n  @media screen and (max-width: 767px) {\n  \tflex-direction: column;\n  \talign-items: center;\n  }\n"],["\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: space-between;\n\tbox-sizing: border-box;\n\tbackground-color: ",";\n  @media screen and (max-width: 767px) {\n  \tflex-direction: column;\n  \talign-items: center;\n  }\n"]),h=r(["\n\tpadding-top: 20px;\n\tpadding-bottom: ","px;\n\tmax-height: 200px;\n\tmax-width: 380px;\n\tborder-radius: 1px;\n\tcursor: pointer;\n  @media not all and (hover: none) {\n    &:hover {\n      background-color: rgba(255,255,255,0.4);\n      transition: background-color 150ms ease-out;\n    }\n  }\n"],["\n\tpadding-top: 20px;\n\tpadding-bottom: ","px;\n\tmax-height: 200px;\n\tmax-width: 380px;\n\tborder-radius: 1px;\n\tcursor: pointer;\n  @media not all and (hover: none) {\n    &:hover {\n      background-color: rgba(255,255,255,0.4);\n      transition: background-color 150ms ease-out;\n    }\n  }\n"]),d=r(["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\ttext-decoration: none;\n\tcolor: black;\n"],["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\ttext-decoration: none;\n\tcolor: black;\n"]),g=r(["\n\twidth: ",";\n\tobject-fit: contain;\n\tmax-height: 200px;\n"],["\n\twidth: ",";\n\tobject-fit: contain;\n\tmax-height: 200px;\n"]),y=r(["\n\tpadding: 0 10px;\n\tdisplay: block;\n\tbox-sizing: border-box;\n\twidth: 70%;\n\torder: ",";\n\ttext-align: ",";\n"],["\n\tpadding: 0 10px;\n\tdisplay: block;\n\tbox-sizing: border-box;\n\twidth: 70%;\n\torder: ",";\n\ttext-align: ",";\n"]),m=r(["\n\twidth: 50px;\n\torder: ",";\n\ttransform: ",";\n"],["\n\twidth: 50px;\n\torder: ",";\n\ttransform: ",";\n"]),v=a.b.div(f),_=a.b.div(p,function(t){return Object(c.a)(t.color)}),b=a.b.div(h,function(t){return t.bottomOut?0:20}),x=Object(a.b)(u.Link)(d),w=a.b.img(g,function(t){return t.bottomOut?"":"40%"}),E=a.b.h3(y,function(t){return t.evenOdd%2===0?1:0},function(t){return t.evenOdd%2===0?"left":"right"}),S=a.b.div(m,function(t){return t.evenOdd%2===0?0:3},function(t){return t.evenOdd%2===0?"rotate(180deg)":"none"}),k=function(t){var e=t.data.tiles.map(function(e,n){var r=e.img,i=e.text,a=e.to;return o.a.createElement(b,{bottomOut:t.bottomOut,key:n},o.a.createElement(x,{to:a},o.a.createElement(S,{evenOdd:n},o.a.createElement(l.j,{color:"#333"})),o.a.createElement(E,{evenOdd:n},i),o.a.createElement(w,{bottomOut:t.bottomOut,src:r,alt:"Navigate to "+i})))});return o.a.createElement(v,null,o.a.createElement(s.a,{height:30}),o.a.createElement(_,{color:t.color},e))};e.a=k},491:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(66),c=n.n(u),l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=document.getElementById("modal-root"),p=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.el=document.createElement("div"),n}
1return o(e,t),l(e,[{key:"componentDidMount",value:function(){f.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){f.removeChild(this.el)}},{key:"render",value:function(){return c.a.createPortal(this.props.children,this.el)}}]),e}(s.a.Component);e.a=p},492:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"h",function(){return y}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return v}),n.d(e,"a",function(){return _}),n.d(e,"e",function(){return b}),n.d(e,"f",function(){return x}),n.d(e,"g",function(){return w}),n.d(e,"b",function(){return E});var i=n(5),o=n(4),a=n(18),s=r(["\n\tpadding: 5px 100px;\n\tbackground-color: whitesmoke;\n\tborder-radius: 1px;\n  @media screen and (max-width: 767px) {\n\t\tpadding: 10px;\n\t\tbackground-color: none;\n  }\n  @media print {\n    display: none;\n  }\n"],["\n\tpadding: 5px 100px;\n\tbackground-color: whitesmoke;\n\tborder-radius: 1px;\n  @media screen and (max-width: 767px) {\n\t\tpadding: 10px;\n\t\tbackground-color: none;\n  }\n  @media print {\n    display: none;\n  }\n"]),u=r(["\n\tborder: 3px solid black;\n\tborder-radius: 3px;\n\tmin-height: 65px;\n\tbox-sizing: border-box;\n\tpadding: 10px 20px;\n\tbackground-color: white;\n"],["\n\tborder: 3px solid black;\n\tborder-radius: 3px;\n\tmin-height: 65px;\n\tbox-sizing: border-box;\n\tpadding: 10px 20px;\n\tbackground-color: white;\n"]),c=r(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tmin-height: 65px;\n\tfont-family: ",";\n\tfont-weight: bold;\n\tfont-size: 14px;\n\tcolor: black;\n"],["\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n\tmin-height: 65px;\n\tfont-family: ",";\n\tfont-weight: bold;\n\tfont-size: 14px;\n\tcolor: black;\n"]),l=r(["\n\tdisplay: inline;\n\tfont-family: ",";\n\tfont-weight: bold;\n\tfont-size: 14px;\n\tbackground-color: transparent;\n\tcolor: ",";\n\toutline: none;\n\tborder: none;\n\tborder-bottom: 2px solid black;\n\t-webkit-appearance: none;\n\tmargin-left: 4px;\n\tmargin-right: 4px;\n\n  &:focus {\n    transition: background-color 200ms ease-in;\n    background-color: rgba(0,0,0,0.05);\n  }\n"],["\n\tdisplay: inline;\n\tfont-family: ",";\n\tfont-weight: bold;\n\tfont-size: 14px;\n\tbackground-color: transparent;\n\tcolor: ",";\n\toutline: none;\n\tborder: none;\n\tborder-bottom: 2px solid black;\n\t-webkit-appearance: none;\n\tmargin-left: 4px;\n\tmargin-right: 4px;\n\n  &:focus {\n    transition: background-color 200ms ease-in;\n    background-color: rgba(0,0,0,0.05);\n  }\n"]),f=r(["\n\ttext-align: left;\n\tcolor: #999;\n\tmargin-top: 0;\n\tmargin-bottom: 5px;\n"],["\n\ttext-align: left;\n\tcolor: #999;\n\tmargin-top: 0;\n\tmargin-bottom: 5px;\n"]),p=r(["\n\tfont-weight: normal;\n\tmargin-left: 20px;\n\tmargin-top: 5px;\n\tdisplay: inline-block;\n\tcursor: pointer;\n"],["\n\tfont-weight: normal;\n\tmargin-left: 20px;\n\tmargin-top: 5px;\n\tdisplay: inline-block;\n\tcursor: pointer;\n"]),h=r(["\n\ttext-align: right;\n"],["\n\ttext-align: right;\n"]),d=r(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n"]),g=r(["\n\tfont-family: ",";\n\ttext-transform: uppercase;\n\tfont-size: 14px;\n\tpadding-top: 5px;\n\ttext-decoration: none;\n\tcolor: #333;\n"],["\n\tfont-family: ",";\n\ttext-transform: uppercase;\n\tfont-size: 14px;\n\tpadding-top: 5px;\n\ttext-decoration: none;\n\tcolor: #333;\n"]),y=o.b.div(s),m=o.b.div(u),v=o.b.div(c,function(t){return t.theme.fonts.h5}),_=(o.b.input(l,function(t){return t.theme.fonts.h5},Object(a.a)("purple")),o.b.h3(f)),b=o.b.h3(p),x=o.b.div(h),w=o.b.div(d),E=Object(o.b)(i.Link)(g,function(t){return t.theme.fonts.h3})},493:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(4),l=n(38),f=(n.n(l),n(494)),p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),h=a(["\n\ttext-align: center;\n\tmargin-bottom: 0;\n"],["\n\ttext-align: center;\n\tmargin-bottom: 0;\n"]),d=a(["\n\ttext-align: center;\n\tfont-size: 14px;\n\tline-height: 20px;\n"],["\n\ttext-align: center;\n\tfont-size: 14px;\n\tline-height: 20px;\n"]),g=a(["\n\ttext-align: center;\n"],["\n\ttext-align: center;\n"]),y=a(["\n\tposition: absolute;\n\tfont-size: 12px;\n\ttext-align: right;\n\tfont-weight: 400;\n\tline-height: 18px;\n\tright: 60px;\n\ttop: 80px;\n\tcolor: #666;\n\t@media screen and (max-width: 767px) {\n\t\tfont-size: 12px;\n\t\ttext-align: center;\n\t\tposition: static;\n\t\tdisplay: block;\n\t}\n"],["\n\tposition: absolute;\n\tfont-size: 12px;\n\ttext-align: right;\n\tfont-weight: 400;\n\tline-height: 18px;\n\tright: 60px;\n\ttop: 80px;\n\tcolor: #666;\n\t@media screen and (max-width: 767px) {\n\t\tfont-size: 12px;\n\t\ttext-align: center;\n\t\tposition: static;\n\t\tdisplay: block;\n\t}\n"]),m=c.b.h1(h),v=c.b.p(d),_=c.b.h3(g),b=c.b.h2(y),x=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),p(e,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.subtitle,r=t.lastUpdated,i=t.showLocationChange;return u.a.createElement(l.Row,null,u.a.createElement(l.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:2,md:8,lgOffset:2,lg:8},u.a.createElement(m,null,e)),u.a.createElement(l.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:3,md:6,lgOffset:3,lg:6},u.a.createElement(v,null,n),r&&u.a.createElement(_,null,"Last updated: ",r)),u.a.createElement(l.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:0,md:3,lgOffset:0,lg:3},i&&u.a.createElement(b,null,u.a.createElement(f.a,null))))}}]),e}(u.a.Component);e.a=x},494:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return{locale:t.locale}}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(24),p=n(133),h=n(5),d=n(495),g=n(473),y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),y(e,[{key:"render",value:function(){var t=this,e=this.props.locale,n=e.status,r=e.locale;return u.a.createElement(u.a.Fragment,null,"Showing ballot info for ",Object(g.b)(r),".",u.a.createElement("br",null),u.a.createElement(h.Link,{to:"/election/",onClick:function(e){e.preventDefault(),t.context.store.dispatch({type:"LOCATION_
1STARTED"})}},"Change my location"),n===p.a.PENDING&&u.a.createElement(d.a,null))}}]),e}(u.a.Component);m.contextTypes={store:l.a.object},e.a=Object(f.b)(a,{})(m)},495:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){return{locale:t.locale}}var u=n(0),c=n.n(u),l=n(7),f=n.n(l),p=n(24),h=n(5),d=n(463),g=n(473),y=n(4),m=n(18),v=n(453),_=n(470),b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x=function(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n  text-align:center;\n\n  margin-top: 10px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  color: ",";\n  border: 4px solid ",";\n  -webkit-appearance: none;\n  border-radius: 3px;\n\n  &:focus {\n    background-color: ",";\n    color: white;\n    text-decoration: underline;\n    outline: none;\n  }\n\n  @media not all and (hover: none) {\n    &:hover{\n      background-color: ",";\n      color: white;\n      cursor: pointer;\n    }\n  }\n"],["\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  line-height: 1.5em;\n  letter-spacing: 1.4px;\n  text-transform: uppercase;\n  text-align:center;\n\n  margin-top: 10px;\n  margin-left: auto;\n  margin-right: auto;\n  padding: 10px 25px;\n  color: ",";\n  border: 4px solid ",";\n  -webkit-appearance: none;\n  border-radius: 3px;\n\n  &:focus {\n    background-color: ",";\n    color: white;\n    text-decoration: underline;\n    outline: none;\n  }\n\n  @media not all and (hover: none) {\n    &:hover{\n      background-color: ",";\n      color: white;\n      cursor: pointer;\n    }\n  }\n"]),w=y.b.div(x,function(t){return t.theme.fonts.h2},Object(m.a)("blue"),Object(m.a)("blue"),Object(m.a)("blue"),Object(m.a)("blue")),E=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setLocation=function(t){return{type:"LOCATION_SET",payload:t}},n.boundSetLocation=function(t){n.context.store.dispatch(n.setLocation(t)),n.props.history.push("/election/props/")},n.handleInputChange=function(t){var e=t.target,i="checkbox"===e.type?e.checked:e.value;n.setState(r({},e.name,i))},n.handleSubmit=function(t){t.preventDefault();var e=Object(g.a)(n.state.zip);n.boundSetLocation(e)},n.toggleVisibility=function(t){!1===t&&n.context.store.dispatch({type:"LOCATION_FORGOTTEN"})},n.state={zip:void 0},n}return a(e,t),b(e,[{key:"render",value:function(){var t=this;return c.a.createElement(_.a,{onToggleVisibility:this.toggleVisibility},c.a.createElement("h1",null,"Change city"),"For this election, we're covering San Francisco and San Jose's ballot. If you vote in Santa Clara County or California, we still have stuff we can help you on. (Sorry LA, we'll get you in November.)",c.a.createElement(v.a,{height:30}),c.a.createElement("h3",null,"Enter your zip"),c.a.createElement(v.a,{height:15}),c.a.createElement("form",{onSubmit:this.handleSubmit},c.a.createElement(d.i,{required:!0,type:"number",name:"zip",id:"zip",placeholder:"zipcode",value:this.state.zip,onChange:this.handleInputChange,maxLength:"5",style:{textAlign:"center",backgroundColor:"#eee",marginTop:-20}})),c.a.createElement("h3",null,"Or choose a city"),c.a.createElement(w,{onClick:function(){return t.boundSetLocation("SF")}},"I live in San Francisco"),c.a.createElement(w,{onClick:function(){return t.boundSetLocation("SJ")}},"I live in San Jose"))}}]),e}(c.a.Component);E.contextTypes={store:f.a.object},e.a=Object(p.b)(s,{})(Object(h.withRouter)(E))},497:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"f",function(){return f}),n.d(e,"a",function(){return p}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return d}),n.d(e,"e",function(){return g}),n.d(e,"b",function(){return y});var i=n(4),o=r(["\n  font-family: -apple-system-body, Helvetica Neue, Helvetica, 'Helvetica-bd', sans-serif;\n  font-weight: bold;\n  color: #fff;\n  font-size: 13pt;\n  font-weight: normal;\n  max-width: 360px;\n  margin: 40px auto; \n  div {\t\n\t  max-width: 200px;\n\t  word-wrap: break-word;\n\t  margin-bottom: 10px;\n\t  line-height: 22px; \n  }\n"],["\n  font-family: -apple-system-body, Helvetica Neue, Helvetica, 'Helvetica-bd', sans-serif;\n  font-weight: bold;\n  color: #fff;\n  font-size: 13pt;\n  font-weight: normal;\n  max-width: 360px;\n  margin: 40px auto; \n  div {\t\n\t  max-width: 200px;\n\t  word-wrap: break-word;\n\t  margin-bottom: 10px;\n\t  line-height: 22px; \n  }\n"]),a=r([" \n  clear: both; \n"],[" \n  clear: both; \n"]),s=r([' \n  position: relative;\n  padding: 10px 20px;\n  color: white;\n  background: #0B93F6;\n  border-radius: 25px;\n  float: right; \n\t&:before {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: -1;\n\t  bottom: -2px;\n\t  right: -7px;\n\t  height: 20px;\n\t  border-right: 20px solid #0B93F6;\n\t  border-bottom-left-radius: 16px 14px;\n\t  -webkit-transform: translate(0, -2px); \n\t  -moz-transform: translate(0, -2px); \n\t}\n\t&:after {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: 1;\n\t  bottom: -2px;\n\t  right: -56px;\n\t  width: 26px;\n\t  height: 20px;\n\t  background: white;\n\t  border-bottom-left-radius: 10px;\n\t  -webkit-transform: translate(-30px, -2px); \n\t  -moz-transform: translate(-30px, -2px); \n\t}\n'],[' \n  position: relative;\n  padding: 10px 20px;\n  color: white;\n  background: #0B93F6;\n  border-radius: 25px;\n  float: right; \n\t&:before {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: -1;\n\t  bottom: -2px;\n\t  right: -7px;\n\t  height: 20px;\n\t  border-right: 20px solid #0B93F6;\n\t  border-bottom-left-radius: 16px 14px;\n\t  -webkit-transform: translate(0, -2px); \n\t  -moz-transform: translate(0, -2px); \n\t}\n\t&:after {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: 1;\n\t  bottom: -2px;\n\t  right: -56px;\n\t  width: 26px;\n\t  height: 20px;\n\t  background: white;\n\t  border-bottom-left-radius: 10px;\n\t  -webkit-transform: translate(-30px, -2px); \n\t  -moz-transform: translate(-30px, -2px); \n\t}\n']),u=r(['\n  position: relative;\n  padding: 10px 20px;\n  background: #E5E5EA;\n  border-radius: 25px;\n  color: black;\n  float: left; \n\t&:before {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: 2;\n\t  bottom: -2px;
1\n\t  left: -7px;\n\t  height: 20px;\n\t  border-left: 20px solid #E5E5EA;\n\t  border-bottom-right-radius: 16px 14px;\n\t  -webkit-transform: translate(0, -2px); \n\t}\n\t&:after {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: 3;\n\t  bottom: -2px;\n\t  left: 4px;\n\t  width: 26px;\n\t  height: 20px;\n\t  background: white;\n\t  border-bottom-right-radius: 10px;\n\t  -webkit-transform: translate(-30px, -2px); \n\t  -moz-transform: translate(-30px, -2px); \n\t}\n'],['\n  position: relative;\n  padding: 10px 20px;\n  background: #E5E5EA;\n  border-radius: 25px;\n  color: black;\n  float: left; \n\t&:before {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: 2;\n\t  bottom: -2px;\n\t  left: -7px;\n\t  height: 20px;\n\t  border-left: 20px solid #E5E5EA;\n\t  border-bottom-right-radius: 16px 14px;\n\t  -webkit-transform: translate(0, -2px); \n\t}\n\t&:after {\n\t  content: "";\n\t  position: absolute;\n\t  z-index: 3;\n\t  bottom: -2px;\n\t  left: 4px;\n\t  width: 26px;\n\t  height: 20px;\n\t  background: white;\n\t  border-bottom-right-radius: 10px;\n\t  -webkit-transform: translate(-30px, -2px); \n\t  -moz-transform: translate(-30px, -2px); \n\t}\n']),c=r(["\n\tbackground: none;\n\t&:before {\n\t\tborder-left: none;\n\t}\n"],["\n\tbackground: none;\n\t&:before {\n\t\tborder-left: none;\n\t}\n"]),l=r([" \n\tfont-size:60pt;\n\tline-height: 55pt;\n"],[" \n\tfont-size:60pt;\n\tline-height: 55pt;\n"]),f=i.b.div(o),p=i.b.div(a),h=i.b.div(s),d=i.b.div(u),g=d.extend(c),y=i.b.span(l)},498:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function s(t){return{user:t.user.data||{}}}var u=n(0),c=n.n(u),l=n(7),f=n.n(l),p=n(5),h=n(24),d=n(4),g=n(499),y=n(501),m=n(488),v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_=a(["\n  width: 100%;\n  height: 0;\n  border: 2px solid black;\n  border-radius: 2px;\n  margin: 30px 0 1px 0;\n\n"],["\n  width: 100%;\n  height: 0;\n  border: 2px solid black;\n  border-radius: 2px;\n  margin: 30px 0 1px 0;\n\n"]),b=a(["\n  font-family: ",";\n  font-size: 13px;\n  line-height: 20px;\n  blockquote {\n    border-left: 5px solid #eee;\n    color: #666;\n    font-style: italic;\n    margin: 16px 0;\n    padding: 10px 20px;\n  }\n  h2 {\n    margin: 5px 0;\n  }\n  p {\n    margin: 5px 0;\n  }\n"],["\n  font-family: ",";\n  font-size: 13px;\n  line-height: 20px;\n  blockquote {\n    border-left: 5px solid #eee;\n    color: #666;\n    font-style: italic;\n    margin: 16px 0;\n    padding: 10px 20px;\n  }\n  h2 {\n    margin: 5px 0;\n  }\n  p {\n    margin: 5px 0;\n  }\n"]),x=a(["\n  display: flex;\n  justify-content: space-between;\n  width: 100%;\n"],["\n  display: flex;\n  justify-content: space-between;\n  width: 100%;\n"]),w=a(["\n  font-weight: normal;\n  display: inline-block;\n  margin: 0;\n  padding: 0 10px;\n  cursor: pointer;  \n  color: #333;\n"],["\n  font-weight: normal;\n  display: inline-block;\n  margin: 0;\n  padding: 0 10px;\n  cursor: pointer;  \n  color: #333;\n"]),E=a(["\n  font-weight: normal;\n  display: inline-block;\n  margin: 0;\n  padding-left: 10px;\n  cursor: pointer;  \n  color: #333;\n\n"],["\n  font-weight: normal;\n  display: inline-block;\n  margin: 0;\n  padding-left: 10px;\n  cursor: pointer;  \n  color: #333;\n\n"]),S=a(["\n  font-family: ",";\n  font-weight: normal;\n  margin: 0;\n  display: inline-block;\n  color: #666;\n  font-size: 11px;\n  font-weight: normal;\n"],["\n  font-family: ",";\n  font-weight: normal;\n  margin: 0;\n  display: inline-block;\n  color: #666;\n  font-size: 11px;\n  font-weight: normal;\n"]),k=a(["\n  overflow-wrap: break-word;\n"],["\n  overflow-wrap: break-word;\n"]),O=d.b.div(_),M=d.b.div(b,function(t){return t.theme.fonts.h5}),T=d.b.div(x),I=d.b.h3(w),C=d.b.h3(E),D=d.b.div(S,function(t){return t.theme.fonts.h5}),L=d.b.div(k),j=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.deleteAnnotation=function(t){var e=n.context.store,r=n.props,i=r.pageId,o=r.userId,a=r.annotationId;e.dispatch({type:"DELETE_ANNOTATION_REQUESTED",payload:{pageId:i,userId:o,annotationId:a}})},n.toggleEdit=function(t){n.setState({showEditor:!n.state.showEditor})},n.state={showEditor:!1},n}return o(e,t),v(e,[{key:"render",value:function(){var t=this.props,e=t.user,n=t.pageId,r=t.userId,i=t.sectionId,o=t.text,a=t.annotationId,s=t.createdAt,u=t.updatedAt,l=!this.state.showEditor&&e.userId===r,f=c.a.createElement(L,null,c.a.createElement(y.a,{input:o}
1));this.state.showEditor&&(f=c.a.createElement(m.a,{pageId:n,userId:r,sectionId:i,annotationId:a,text:o,onCancel:this.toggleEdit}));var p=u>s?u:s,h=u>s?"Edited":"Posted";return c.a.createElement(M,null,c.a.createElement(O,null),c.a.createElement(T,null,c.a.createElement(D,null,h," ",c.a.createElement(g.a,{timestamp:p}),l&&c.a.createElement(I,{onClick:this.toggleEdit},"Edit")),l&&c.a.createElement(C,{onClick:this.deleteAnnotation},"Delete \ud83d\uddd1")),f)}}]),e}(c.a.Component);j.contextTypes={store:f.a.object},j.propTypes={pageId:f.a.string.isRequired,userId:f.a.string.isRequired,sectionId:f.a.string.isRequired,annotationId:f.a.string.isRequired,text:f.a.string.isRequired,createdAt:f.a.number.isRequired,updatedAt:f.a.number.isRequired,userName:f.a.string.isRequired},e.a=Object(h.b)(s,{})(Object(p.withRouter)(j))},499:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(7),c=n.n(u),l=n(500),f=n.n(l),p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),h=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),p(e,[{key:"render",value:function(){var t=this.props.timestamp,e=f()(1e3*t).fromNow();return s.a.createElement("span",null,e)}}]),e}(s.a.Component);e.a=h,h.propTypes={timestamp:c.a.number.isRequired}},500:function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return Mr.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function i(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function o(t){return void 0===t}function a(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,r){return Se(t,e,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(t){return null==t._pf&&(t._pf=p()),t._pf}function d(t){if(null==t._isValid){var e=h(t),n=Tr.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function g(t){var e=f(NaN);return null!=t?l(h(e),t):h(e).userInvalidated=!0,e}function y(t,e){var n,r,i;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=h(e)),o(e._locale)||(t._locale=e._locale),Ir.length>0)for(n=0;n<Ir.length;n++)r=Ir[n],i=e[r],o(i)||(t[r]=i);return t}function m(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Cr&&(Cr=!0,e.updateOffset(this),Cr=!1)}function v(t){return t instanceof m||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function b(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function x(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&b(t[r])!==b(e[r]))&&a++;return a+o}function w(t){!1===e.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function E(t,n){var r=!0;return l(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"===typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}w(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function S(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),Dr[t]||(w(n),Dr[t]=!0)}function k(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function O(t){var e,n;for(n in t)e=t[n],k(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function M(t,e){var n,i=l({},t);for(n in e)c(e,n)&&(r(t[n])&&r(e[n])?(i[n]={},l(i[n],t[n]),l(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)c(t,n)&&!c(e,n)&&r(t[n])&&(i[n]=l({},i[n]));return i}function T(t){null!=t&&this.set(t)}function I(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return k(r)?r.call(e,n):r}function C(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function D(){return this._invalidDate}function L(t){return this._ordinal.replace("%d",t)}function j(t,e,n,r){var i=this._relativeTime[n];return k(i)?i(t,e,n,r):i.replace(/%d/i,t)}function A(t,e){var n=this._relativeTime[t>0?"future":"past"];return k(n)?n(e):n.replace(/%s/i,e)}function N(t,e){var n=t.toLowerCase();Pr[n]=Pr[n+"s"]=Pr[e]=t}function z(t){return"string"===typeof t?Pr[t]||Pr[t.toLowerCase()]:void 0}function P(t){var e,n,r={};for(n in t)c(t,n)&&(e=z(n))&&(r[e]=t[n]);return r}function R(t,e){Rr[t]=e}function B(t){var e=[];for(var n in t)e.push({unit:n,priority:Rr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function K(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function U(t,e,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),t&&(Yr[t]=i),e&&(Yr[e[0]]=function(){return K(i.apply(this,arguments),e[1],e[2])}),n&&(Yr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function Y(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function F(t){var e,n,r=t.match(Br);for(e=0,n=r.length;e<n;e++)Yr[r[e]]?r[e]=Yr[r[e]]:r[e]=Y(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=k(r[i])?r[i].call(e,t):r[i];return o}}function H(t,e){return t.isValid()?(e=q(e,t.localeData()),Ur[e]=Ur[e]||F(e),Ur[e](t)):t.localeData().invalidDate()}function q(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Kr.lastIndex=0;r>=0&&Kr.test(t);)t=t.replace(Kr,n),Kr.lastIndex=0,r-=1;return t}function W(t,e,n){ai[t]=k(e)?e:function(t,r){return t&&n?n:e}}function V(t,e){return c(ai,t)?ai[t](e._strict,e._locale):new RegExp(G(t))}function G(t){return Q(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function Q(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(t,e){var n,r=e;for("string"===typeof t&&(t=[t]),a(e)&&(r=function(t,n){n[e]=b(t)}),n=0;n<t.length;n++)si[t[n]]=r}function J(t,e){Z(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function X(t,e,n){null!=e&&c(si,t)&&si[t](e,n._a,n,t)}function $(t){return tt(t)?366:365}function tt(t){return t%4===0&&t%100!==0||t%400===0}function et(){return tt(this.year())}function nt(t,n){return function(r){return null!=r?(it(this,t,r),e.updateOffset(this,n),this):rt(this,t)}}function rt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function it(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&tt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),ut(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function ot(t){return t=z(t),k(this[t])?this[t]():this}function at(t,e){if("object"===typeof t){t=P(t);for(var n=B(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=z(t),k(this[t]))return this[t](e);return this}function st(t,e){return(t%e+e)%e}function ut(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=st(e,12);return t+=(e-n)/12,1===n?tt(t)?29:28:31-n%7%2}function ct(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||_i).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function lt(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[_i.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ft(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(i=mi.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mi.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===e?-1!==(i=m
vendor: 11,689 bytes, line 1
1i.call(this._shortMonthsParse,a))?i:(i=mi.call(this._longMonthsParse,a),-1!==i?i:null):-1!==(i=mi.call(this._longMonthsParse,a))?i:(i=mi.call(this._shortMonthsParse,a),-1!==i?i:null)}function pt(t,e,n){var r,i,o;if(this._monthsParseExact)return ft.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ht(t,e){var n;if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=b(e);else if(e=t.localeData().monthsParse(e),!a(e))return t;return n=Math.min(t.date(),ut(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function dt(t){return null!=t?(ht(this,t),e.updateOffset(this,!0),this):rt(this,"Month")}function gt(){return ut(this.year(),this.month())}function yt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||vt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=wi),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||vt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Ei),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function vt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=f([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=Q(r[e]),i[e]=Q(i[e]);for(e=0;e<24;e++)o[e]=Q(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function _t(t,e,n,r,i,o,a){var s=new Date(t,e,n,r,i,o,a);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function bt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function xt(t,e,n){var r=7+e-n;return-(7+bt(t,0,r).getUTCDay()-e)%7+r-1}function wt(t,e,n,r,i){var o,a,s=(7+n-r)%7,u=xt(t,r,i),c=1+7*(e-1)+s+u;return c<=0?(o=t-1,a=$(o)+c):c>$(t)?(o=t+1,a=c-$(t)):(o=t,a=c),{year:o,dayOfYear:a}}function Et(t,e,n){var r,i,o=xt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+St(i,e,n)):a>St(t.year(),e,n)?(r=a-St(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function St(t,e,n){var r=xt(t,e,n),i=xt(t+1,e,n);return($(t)-r+i)/7}function kt(t){return Et(t,this._week.dow,this._week.doy).week}function Ot(){return this._week.dow}function Mt(){return this._week.doy}function Tt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function It(t){var e=Et(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ct(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Dt(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Lt(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:n(this._weekdays)?this._weekdays:this._weekdays.standalone}function jt(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function At(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Nt(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=mi.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=mi.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mi.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?-1!==(i=mi.call(this._weekdaysParse,a))?i:-1!==(i=mi.call(this._shortWeekdaysParse,a))?i:(i=mi.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===e?-1!==(i=mi.call(this._shortWeekdaysParse,a))?i:-1!==(i=mi.call(this._weekdaysParse,a))?i:(i=mi.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=mi.call(this._minWeekdaysParse,a))?i:-1!==(i=mi.call(this._weekdaysParse,a))?i:(i=mi.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function zt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Nt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Pt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ct(t,this.localeData()),this.add(t-e,"d")):e}function Rt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Bt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Dt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Kt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ft.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ti),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ut(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ft.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ii),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Yt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ft.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ci),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ft(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],u=[],c=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(t),s.sort(t),u.sort(t),c.sort(t),e=0;e<7;e++)s[e]=Q(s[e]),u[e]=Q(u[e]),c[e]=Q(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ht(){return this.hours()%12||12}function qt(){return this.hours()||24}function Wt(t,e){U(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Vt(t,e){return e._meridiemParse}function Gt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Qt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Zt(t){return t?t.toLowerCase().replace("_","-"):t}function Jt(t){for(var e,n,r,i,o=0;o<t.length;){for(i=Zt(t[o]).split("-"),e=i.length,n=Zt(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=Xt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&x(i,n,!0)>=e-1)break;e--}o++}return Di}function Xt(e){var n=null;if(!Ni[e]&&"undefined"!==typeof t&&t&&t.exports)try{n=Di._abbr;!function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),$t(n)}catch(t){}return Ni[e]}function $t(t,e){var n;return t&&(n=o(e)?ne(t):te(t,e),n?Di=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Di._abbr}function te(t,e){if(null!==e){var n,r=Ai;if(e.abbr=t,null!=Ni[t])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Ni[t]._config;else if(null!=e.parentLocale)if(null!=Ni[e.parentLocale])r=Ni[e.parentLocale]._config;else{if(null==(n=Xt(e.parentLocale)))return zi[e.parentLocale]||(zi[e.parentLocale]=[]),zi[e.parentLocale].push({name:t,config:e}),null;r=n._config}return Ni[t]=new T(M(r,e)),zi[t]&&zi[t].forEach(function(t){te(t.name,t.config)}),$t(t),Ni[t]}return delete Ni[t],null}function ee(t,e){if(null!=e){var n,r,i=Ai;r=Xt(t),null!=r&&(i=r._config),e=M(i,e),n=new T(e),n.parentLocale=Ni[t],Ni[t]=n,$t(t)}else null!=Ni[t]&&(null!=Ni[t].parentLocale?Ni[t]=Ni[t].parentLocale:null!=Ni[t]&&delete Ni[t]);return Ni[t]}function ne(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Di;if(!n(t)){if(e=Xt(t))return e;t=[t]}return Jt(t)}function re(){return Lr(Ni)}function ie(t){var e,n=t._a;return n&&-2===h(t).overflow&&(e=n[ci]<0||n[ci]>11?ci:n[li]<1||n[li]>ut(n[ui],n[ci])?li:n[fi]<0||n[fi]>24||24===n[fi]&&(0!==n[pi]||0!==n[hi]||0!==n[di])?fi:n[pi]<0||n[pi]>59?pi:n[hi]<0||n[hi]>59?hi:n[di]<0||n[di]>999?di:-1,h(t)._overflowDayOfYear&&(e<ui||e>li)&&(e=li),h(t)._overflowWeeks&&-1===e&&(e=gi),h(t)._overflowWeekday&&-1===e&&(e=yi),h(t).overflow=e),t}function oe(t,e,n){return null!=t?t:null!=e?e:n}function ae(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function se(t){var e,n,r,i,o,a=[];if(!t._d){for(r=ae(t),t._w&&null==t._a[li]&&null==t._a[ci]&&ue(t),null!=t._dayOfYear&&(o=oe(t._a[ui],r[ui]),(t._dayOfYear>$(o)||0===t._dayOfYear)&&(h(t)._overflowDayOfYear=!0),n=bt(o,0,t._dayOfYear),t._a[ci]=n.getUTCMonth(),t._a[li]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[fi]&&0===t._a[pi]&&0===t._a[hi]&&0===t._a[di]&&(t._nextDay=!0,t._a[fi]=0),t._d=(t._useUTC?bt:_t).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[fi]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==i&&(h(t).weekdayMismatch=!0)}}function ue(t){var e,n,r,i,o,a,s,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,a=4,n=oe(e.GG,t._a[ui],Et(ke(),1,4).year),r=oe(e.W,1),((i=oe(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var c=Et(ke(),o,a);n=oe(e.gg,t._a[ui],c.year),r=oe(e.w,c.week),null!=e.d?((i=e.d)<0||i>
vendor: 10,521 bytes, line 1
16)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>St(n,o,a)?h(t)._overflowWeeks=!0:null!=u?h(t)._overflowWeekday=!0:(s=wt(n,r,i,o,a),t._a[ui]=s.year,t._dayOfYear=s.dayOfYear)}function ce(t){var e,n,r,i,o,a,s=t._i,u=Pi.exec(s)||Ri.exec(s);if(u){for(h(t).iso=!0,e=0,n=Ki.length;e<n;e++)if(Ki[e][1].exec(u[1])){i=Ki[e][0],r=!1!==Ki[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=Ui.length;e<n;e++)if(Ui[e][1].exec(u[3])){o=(u[2]||" ")+Ui[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!Bi.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),me(t)}else t._isValid=!1}function le(t,e,n,r,i,o){var a=[fe(t),xi.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function fe(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function pe(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function he(t,e,n){if(t){if(Oi.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function de(t,e,n){if(t)return Hi[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function ge(t){var e=Fi.exec(pe(t._i));if(e){var n=le(e[4],e[3],e[2],e[5],e[6],e[7]);if(!he(e[1],n,t))return;t._a=n,t._tzm=de(e[8],e[9],e[10]),t._d=bt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),h(t).rfc2822=!0}else t._isValid=!1}function ye(t){var n=Yi.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));ce(t),!1===t._isValid&&(delete t._isValid,ge(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function me(t){if(t._f===e.ISO_8601)return void ce(t);if(t._f===e.RFC_2822)return void ge(t);t._a=[],h(t).empty=!0;var n,r,i,o,a,s=""+t._i,u=s.length,c=0;for(i=q(t._f,t._locale).match(Br)||[],n=0;n<i.length;n++)o=i[n],r=(s.match(V(o,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&h(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Yr[o]?(r?h(t).empty=!1:h(t).unusedTokens.push(o),X(o,r,t)):t._strict&&!r&&h(t).unusedTokens.push(o);h(t).charsLeftOver=u-c,s.length>0&&h(t).unusedInput.push(s),t._a[fi]<=12&&!0===h(t).bigHour&&t._a[fi]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[fi]=ve(t._locale,t._a[fi],t._meridiem),se(t),ie(t)}function ve(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function _e(t){var e,n,r,i,o;if(0===t._f.length)return h(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],me(e),d(e)&&(o+=h(e).charsLeftOver,o+=10*h(e).unusedTokens.length,h(e).score=o,(null==r||o<r)&&(r=o,n=e));l(t,n||e)}function be(t){if(!t._d){var e=P(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),se(t)}}function xe(t){var e=new m(ie(we(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function we(t){var e=t._i,r=t._f;return t._locale=t._locale||ne(t._l),null===e||void 0===r&&""===e?g({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),v(e)?new m(ie(e)):(s(e)?t._d=e:n(r)?_e(t):r?me(t):Ee(t),d(t)||(t._d=null),t))}function Ee(t){var i=t._i;o(i)?t._d=new Date(e.now()):s(i)?t._d=new Date(i.valueOf()):"string"===typeof i?ye(t):n(i)?(t._a=u(i.slice(0),function(t){return parseInt(t,10)}),se(t)):r(i)?be(t):a(i)?t._d=new Date(i):e.createFromInputFallback(t)}function Se(t,e,o,a,s){var u={};return!0!==o&&!1!==o||(a=o,o=void 0),(r(t)&&i(t)||n(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=o,u._i=t,u._f=e,u._strict=a,xe(u)}function ke(t,e,n,r){return Se(t,e,n,r,!1)}function Oe(t,e){var r,i;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return ke();for(r=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](r)||(r=e[i]);return r}function Me(){return Oe("isBefore",[].slice.call(arguments,0))}function Te(){return Oe("isAfter",[].slice.call(arguments,0))}function Ie(t){for(var e in t)if(-1===mi.call(Gi,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Gi.length;++r)if(t[Gi[r]]){if(n)return!1;parseFloat(t[Gi[r]])!==b(t[Gi[r]])&&(n=!0)}return!0}function Ce(){return this._isValid}function De(){return Ze(NaN)}function Le(t){var e=P(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,u=e.minute||0,c=e.second||0,l=e.millisecond||0;this._isValid=Ie(e),this._milliseconds=+l+1e3*c+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ne(),this._bubble()}function je(t){return t instanceof Le}function Ae(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){U(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+K(~~(t/60),2)+e+K(~~t%60,2)})}function ze(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Qi)||["-",0,0],o=60*i[1]+b(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Pe(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(v(t)||s(t)?t.valueOf():ke(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):ke(t).local()}function Re(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Be(t,n,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(null===(t=ze(ri,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(i=Re(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!n||this._changeInProgress?en(this,Ze(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Re(this)}function Ke(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ue(t){return this.utcOffset(0,t)}function Ye(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Re(this),"m")),this}function Fe(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=ze(ni,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function He(t){return!!this.isValid()&&(t=t?ke(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function qe(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function We(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),t=we(t),t._a){var e=t._isUTC?f(t._a):ke(t._a);this._isDSTShifted=this.isValid()&&x(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ve(){return!!this.isValid()&&!this._isUTC}function Ge(){return!!this.isValid()&&this._isUTC}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ze(t,e){var n,r,i,o=t,s=null;return je(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:a(t)?(o={},e?o[e]=t:o.milliseconds=t):(s=Zi.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:b(s[li])*n,h:b(s[fi])*n,m:b(s[pi])*n,s:b(s[hi])*n,ms:b(Ae(1e3*s[di]))*n}):(s=Ji.exec(t))?(n="-"===s[1]?-1:(s[1],1),o={y:Je(s[2],n),M:Je(s[3],n),w:Je(s[4],n),d:Je(s[5],n),h:Je(s[6],n),m:Je(s[7],n),s:Je(s[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=$e(ke(o.from),ke(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Le(o),je(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function Je(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Xe(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function $e(t,e){var n;return t.isValid()&&e.isValid()?(e=Pe(e,t),t.isBefore(e)?n=Xe(t,e):(n=Xe(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"===typeof n?+n:n,i=Ze(n,r),en(this,i,t),this}}function en(t,n,r,i){var o=n._milliseconds,a=Ae(n._days),s=Ae(n._months);t.isValid()&&(i=null==i||i,s&&ht(t,rt(t,"Month")+s*r),a&&it(t,"Date",rt(t,"Date")+a*r),o&&t._d.setTime(t._d.valueOf()+o*r),i&&e.updateOffset(t,a||s))}function nn(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function rn(t,n){var r=t||ke(),i=Pe(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",a=n&&(k(n[o])?n[o].call(this,r):n[o]);return this.format(a||this.localeData().calendar(o,this,ke(r)))}function on(){return new m(this)}function an(t,e){var n=v(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&(e=z(o(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function sn(t,e){var n=v(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&(e=z(o(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function un(t,e,n,r){return r=r||"()",("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function cn(t,e){var n,r=v(t)?t:ke(t);return!(!this.isValid()||!r.isValid())&&(e=z(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function ln(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function fn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function pn(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(r=Pe(t,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=z(e)){case"year":o=hn(this,r)/12;break;case"month":o=hn(this,r);break;case"quarter":o=hn(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:_(o)}function hn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return e-o<0?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)||0}function dn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function gn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;
1return n.year()<0||n.year()>9999?H(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function yn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function mn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=H(this,t);return this.localeData().postformat(n)}function vn(t,e){return this.isValid()&&(v(t)&&t.isValid()||ke(t).isValid())?Ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function _n(t){return this.from(ke(),t)}function bn(t,e){return this.isValid()&&(v(t)&&t.isValid()||ke(t).isValid())?Ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function xn(t){return this.to(ke(),t)}function wn(t){var e;return void 0===t?this._locale._abbr:(e=ne(t),null!=e&&(this._locale=e),this)}function En(){return this._locale}function Sn(t){switch(t=z(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function kn(t){return void 0===(t=z(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function On(){return this._d.valueOf()-6e4*(this._offset||0)}function Mn(){return Math.floor(this.valueOf()/1e3)}function Tn(){return new Date(this.valueOf())}function In(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Cn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Dn(){return this.isValid()?this.toISOString():null}function Ln(){return d(this)}function jn(){return l({},h(this))}function An(){return h(this).overflow}function Nn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function zn(t,e){U(0,[t,t.length],0,e)}function Pn(t){return Un.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Rn(t){return Un.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Bn(){return St(this.year(),1,4)}function Kn(){var t=this.localeData()._week;return St(this.year(),t.dow,t.doy)}function Un(t,e,n,r,i){var o;return null==t?Et(this,r,i).year:(o=St(t,r,i),e>o&&(e=o),Yn.call(this,t,e,n,r,i))}function Yn(t,e,n,r,i){var o=wt(t,e,n,r,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Hn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function qn(t,e){e[di]=b(1e3*("0."+t))}function Wn(){return this._isUTC?"UTC":""}function Vn(){return this._isUTC?"Coordinated Universal Time":""}function Gn(t){return ke(1e3*t)}function Qn(){return ke.apply(null,arguments).parseZone()}function Zn(t){return t}function Jn(t,e,n,r){var i=ne(),o=f().set(r,e);return i[n](o,t)}function Xn(t,e,n){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return Jn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Jn(t,r,n,"month");return i}function $n(t,e,n,r){"boolean"===typeof t?(a(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,a(e)&&(n=e,e=void 0),e=e||"");var i=ne(),o=t?i._week.dow:0;if(null!=n)return Jn(e,(n+o)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=Jn(e,(s+o)%7,r,"day");return u}function tr(t,e){return Xn(t,e,"months")}function er(t,e){return Xn(t,e,"monthsShort")}function nr(t,e,n){return $n(t,e,n,"weekdays")}function rr(t,e,n){return $n(t,e,n,"weekdaysShort")}function ir(t,e,n){return $n(t,e,n,"weekdaysMin")}function or(){var t=this._data;return this._milliseconds=uo(this._milliseconds),this._days=uo(this._days),this._months=uo(this._months),t.milliseconds=uo(t.milliseconds),t.seconds=uo(t.seconds),t.minutes=uo(t.minutes),t.hours=uo(t.hours),t.months=uo(t.months),t.years=uo(t.years),this}function ar(t,e,n,r){var i=Ze(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function sr(t,e){return ar(this,t,e,1)}function ur(t,e){return ar(this,t,e,-1)}function cr(t){return t<0?Math.floor(t):Math.ceil(t)}function lr(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*cr(pr(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=_(o/1e3),u.seconds=t%60,e=_(t/60),u.minutes=e%60,n=_(e/60),u.hours=n%24,a+=_(n/24),i=_(fr(a)),s+=i,a-=cr(pr(i)),r=_(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function fr(t){return 4800*t/146097}function pr(t){return 146097*t/4800}function hr(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=z(t))||"year"===t)return e=this._days+r/864e5,n=this._months+fr(e),"month"===t?n:n/12;switch(e=this._days+Math.round(pr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function dr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}function gr(t){return function(){return this.as(t)}}function yr(){return Ze(this)}function mr(t){return t=z(t),this.isValid()?this[t+"s"]():NaN}function vr(t){return function(){return this.isValid()?this._data[t]:NaN}}function _r(){return _(this.days()/7)}function br(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function xr(t,e,n){var r=Ze(t).abs(),i=ko(r.as("s")),o=ko(r.as("m")),a=ko(r.as("h")),s=ko(r.as("d")),u=ko(r.as("M")),c=ko(r.as("y")),l=i<=Oo.ss&&["s",i]||i<Oo.s&&["ss",i]||o<=1&&["m"]||o<Oo.m&&["mm",o]||a<=1&&["h"]||a<Oo.h&&["hh",a]||s<=1&&["d"]||s<Oo.d&&["dd",s]||u<=1&&["M"]||u<Oo.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=e,l[3]=+t>0,l[4]=n,br.apply(null,l)}function wr(t){return void 0===t?ko:"function"===typeof t&&(ko=t,!0)}function Er(t,e){return void 0!==Oo[t]&&(void 0===e?Oo[t]:(Oo[t]=e,"s"===t&&(Oo.ss=e-1),!0))}function Sr(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=xr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function kr(t){return(t>0)-(t<0)||+t}
1function Or(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=Mo(this._milliseconds)/1e3,i=Mo(this._days),o=Mo(this._months);t=_(r/60),e=_(t/60),r%=60,t%=60,n=_(o/12),o%=12;var a=n,s=o,u=i,c=e,l=t,f=r?r.toFixed(3).replace(/\.?0+$/,""):"",p=this.asSeconds();if(!p)return"P0D";var h=p<0?"-":"",d=kr(this._months)!==kr(p)?"-":"",g=kr(this._days)!==kr(p)?"-":"",y=kr(this._milliseconds)!==kr(p)?"-":"";return h+"P"+(a?d+a+"Y":"")+(s?d+s+"M":"")+(u?g+u+"D":"")+(c||l||f?"T":"")+(c?y+c+"H":"")+(l?y+l+"M":"")+(f?y+f+"S":"")}var Mr,Tr;Tr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var Ir=e.momentProperties=[],Cr=!1,Dr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Lr;Lr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var jr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ar={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Nr=/\d{1,2}/,zr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Pr={},Rr={},Br=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Kr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ur={},Yr={},Fr=/\d/,Hr=/\d\d/,qr=/\d{3}/,Wr=/\d{4}/,Vr=/[+-]?\d{6}/,Gr=/\d\d?/,Qr=/\d\d\d\d?/,Zr=/\d\d\d\d\d\d?/,Jr=/\d{1,3}/,Xr=/\d{1,4}/,$r=/[+-]?\d{1,6}/,ti=/\d+/,ei=/[+-]?\d+/,ni=/Z|[+-]\d\d:?\d\d/gi,ri=/Z|[+-]\d\d(?::?\d\d)?/gi,ii=/[+-]?\d+(\.\d{1,3})?/,oi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ai={},si={},ui=0,ci=1,li=2,fi=3,pi=4,hi=5,di=6,gi=7,yi=8;U("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),U(0,["YY",2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),N("year","y"),R("year",1),W("Y",ei),W("YY",Gr,Hr),W("YYYY",Xr,Wr),W("YYYYY",$r,Vr),W("YYYYYY",$r,Vr),Z(["YYYYY","YYYYYY"],ui),Z("YYYY",function(t,n){n[ui]=2===t.length?e.parseTwoDigitYear(t):b(t)}),Z("YY",function(t,n){n[ui]=e.parseTwoDigitYear(t)}),Z("Y",function(t,e){e[ui]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var mi,vi=nt("FullYear",!0);mi=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},U("M",["MM",2],"Mo",function(){return this.month()+1}),U("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),U("MMMM",0,0,function(t){return this.localeData().months(this,t)}),N("month","M"),R("month",8),W("M",Gr),W("MM",Gr,Hr),W("MMM",function(t,e){return e.monthsShortRegex(t)}),W("MMMM",function(t,e){return e.monthsRegex(t)}),Z(["M","MM"],function(t,e){e[ci]=b(t)-1}),Z(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ci]=i:h(n).invalidMonth=t});var _i=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wi=oi,Ei=oi;U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),R("week",5),R("isoWeek",5),W("w",Gr),W("ww",Gr,Hr),W("W",Gr),W("WW",Gr,Hr),J(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=b(t)});var Si={dow:0,doy:6};U("d",0,"do","day"),U("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),U("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),U("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),W("d",Gr),W("e",Gr),W("E",Gr),W("dd",function(t,e){return e.weekdaysMinRegex(t)}),W("ddd",function(t,e){return e.weekdaysShortRegex(t)}),W("dddd",function(t,e){return e.weekdaysRegex(t)}),J(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._str
vendor: 8,554 bytes, line 1
1ict);null!=i?e.d=i:h(n).invalidWeekday=t}),J(["d","e","E"],function(t,e,n,r){e[r]=b(t)});var ki="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Oi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Mi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ti=oi,Ii=oi,Ci=oi;U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Ht),U("k",["kk",2],0,qt),U("hmm",0,0,function(){return""+Ht.apply(this)+K(this.minutes(),2)}),U("hmmss",0,0,function(){return""+Ht.apply(this)+K(this.minutes(),2)+K(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+K(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+K(this.minutes(),2)+K(this.seconds(),2)}),Wt("a",!0),Wt("A",!1),N("hour","h"),R("hour",13),W("a",Vt),W("A",Vt),W("H",Gr),W("h",Gr),W("k",Gr),W("HH",Gr,Hr),W("hh",Gr,Hr),W("kk",Gr,Hr),W("hmm",Qr),W("hmmss",Zr),W("Hmm",Qr),W("Hmmss",Zr),Z(["H","HH"],fi),Z(["k","kk"],function(t,e,n){var r=b(t);e[fi]=24===r?0:r}),Z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Z(["h","hh"],function(t,e,n){e[fi]=b(t),h(n).bigHour=!0}),Z("hmm",function(t,e,n){var r=t.length-2;e[fi]=b(t.substr(0,r)),e[pi]=b(t.substr(r)),h(n).bigHour=!0}),Z("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[fi]=b(t.substr(0,r)),e[pi]=b(t.substr(r,2)),e[hi]=b(t.substr(i)),h(n).bigHour=!0}),Z("Hmm",function(t,e,n){var r=t.length-2;e[fi]=b(t.substr(0,r)),e[pi]=b(t.substr(r))}),Z("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[fi]=b(t.substr(0,r)),e[pi]=b(t.substr(r,2)),e[hi]=b(t.substr(i))});var Di,Li=/[ap]\.?m?\.?/i,ji=nt("Hours",!0),Ai={calendar:jr,longDateFormat:Ar,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Nr,relativeTime:zr,months:bi,monthsShort:xi,week:Si,weekdays:ki,weekdaysMin:Mi,weekdaysShort:Oi,meridiemParse:Li},Ni={},zi={},Pi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bi=/Z|[+-]\d\d(?::?\d\d)?/,Ki=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ui=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Yi=/^\/?Date\((\-?\d+)/i,Fi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Hi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var qi=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Wi=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}),Vi=function(){return Date.now?Date.now():+new Date},Gi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ne("Z",":"),Ne("ZZ",""),W("Z",ri),W("ZZ",ri),Z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=ze(ri,t)});var Qi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Zi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ji=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Ze.fn=Le.prototype,Ze.invalid=De;var Xi=tn(1,"add"),$i=tn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var to=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),zn("gggg","weekYear"),zn("ggggg","weekYear"),zn("GGGG","isoWeekYear"),zn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),W("G",ei),W("g",ei),W("GG",Gr,Hr),W("gg",Gr,Hr),W("GGGG",Xr,Wr),W("gggg",Xr,Wr),W("GGGGG",$r,Vr),W("ggggg",$r,Vr),J(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=b(t)}),J(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),U("Q",0,"Qo","quarter"),N("quarter","Q"),R("quarter",7),W("Q",Fr),Z("Q",function(t,e){e[ci]=3*(b(t)-1)}),U("D",["DD",2],"Do","date"),N("date","D"),R("date",9),W("D",Gr),W("DD",Gr,Hr),W("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Z(["D","DD"],li),Z("Do",function(t,e){e[li]=b(t.match(Gr)[0])});var eo=nt("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),R("dayOfYear",4),W("DDD",Jr),W("DDDD",qr),Z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=b(t)}),U("m",["mm",2],0,"minute"),N("minute","m"),R("minute",14),W("m",Gr),W("mm",Gr,Hr),Z(["m","mm"],pi);var no=nt("Minutes",!1);U("s",["ss",2],0,"second"),N("second","s"),R("second",15),W("s",Gr),W("ss",Gr,Hr),Z(["s","ss"],hi);var ro=nt("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),R("millisecond",16),W("S",Jr,Fr),W("SS",Jr,Hr),W("SSS",Jr,qr);var io;for(io="SSSS";io.length<=9;io+="S")W(io,ti);for(io="S";io.length<=9;io+="S")Z(io,qn);var oo=nt("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var ao=m.prototype;ao.add=Xi,ao.calendar=rn,ao.clone=on,ao.diff=pn,ao.endOf=kn,ao.format=mn,ao.from=vn,ao.fromNow=_n,ao.to=bn,ao.toNow=xn,ao.get=ot,ao.invalidAt=An,ao.isAfter=an,ao.isBefore=sn,ao.isBetween=un,ao.isSame=cn,ao.isSameOrAfter=ln,ao.isSameOrBefore=fn,ao.isValid=Ln,ao.lang=to,ao.locale=wn,ao.localeData=En,ao.max=Wi,ao.min=qi,ao.parsingFlags=jn,ao.set=at,ao.startOf=Sn,ao.subtract=$i,ao.toArray=In,ao.toObject=Cn,ao.toDate=Tn,ao.toISOString=gn,ao.inspect=yn,ao.toJSON=Dn,ao.toString=dn,ao.unix=Mn,ao.valueOf=On,ao.creationData=Nn,ao.year=vi,ao.isLeapYear=et,ao.weekYear=Pn,ao.isoWeekYear=Rn,ao.quarter=ao.quarters=Fn,ao.month=dt,ao.daysInMonth=gt,ao.week=ao.weeks=Tt,ao.isoWeek=ao.isoWeeks=It,ao.weeksInYear=Kn,ao.isoWeeksInYear=Bn,ao.date=eo,ao.day=ao.days=Pt,ao.weekday=Rt,ao.isoWeekday=Bt,ao.dayOfYear=Hn,ao.hour=ao.hours=ji,ao.minute=ao.minutes=no,ao.second=ao.seconds=ro,ao.millisecond=ao.milliseconds=oo,ao.utcOffset=Be,ao.utc=Ue,ao.local=Ye,ao.parseZone=Fe,ao.hasAlignedHourOffset=He,ao.isDST=qe,ao.isLocal=Ve,ao.isUtcOffset=Ge,ao.isUtc=Qe,ao.isUTC=Qe,ao.zoneAbbr=Wn,ao.zoneName=Vn,ao.dates=E("dates accessor is deprecated. Use date instead.",eo),ao.months=E("months accessor is deprecated. Use month instead",dt),ao.years=E("years accessor is deprecated. Use year instead",vi),ao.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ke),ao.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",We);var so=T.prototype;so.calendar=I,so.longDateFormat=C,so.invalidDate=D,so.ordinal=L,so.preparse=Zn,so.postformat=Zn,so.relativeTime=j,so.pastFuture=A,so.set
1=O,so.months=ct,so.monthsShort=lt,so.monthsParse=pt,so.monthsRegex=mt,so.monthsShortRegex=yt,so.week=kt,so.firstDayOfYear=Mt,so.firstDayOfWeek=Ot,so.weekdays=Lt,so.weekdaysMin=At,so.weekdaysShort=jt,so.weekdaysParse=zt,so.weekdaysRegex=Kt,so.weekdaysShortRegex=Ut,so.weekdaysMinRegex=Yt,so.isPM=Gt,so.meridiem=Qt,$t("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=E("moment.lang is deprecated. Use moment.locale instead.",$t),e.langData=E("moment.langData is deprecated. Use moment.localeData instead.",ne);var uo=Math.abs,co=gr("ms"),lo=gr("s"),fo=gr("m"),po=gr("h"),ho=gr("d"),go=gr("w"),yo=gr("M"),mo=gr("y"),vo=vr("milliseconds"),_o=vr("seconds"),bo=vr("minutes"),xo=vr("hours"),wo=vr("days"),Eo=vr("months"),So=vr("years"),ko=Math.round,Oo={ss:44,s:45,m:45,h:22,d:26,M:11},Mo=Math.abs,To=Le.prototype;return To.isValid=Ce,To.abs=or,To.add=sr,To.subtract=ur,To.as=hr,To.asMilliseconds=co,To.asSeconds=lo,To.asMinutes=fo,To.asHours=po,To.asDays=ho,To.asWeeks=go,To.asMonths=yo,To.asYears=mo,To.valueOf=dr,To._bubble=lr,To.clone=yr,To.get=mr,To.milliseconds=vo,To.seconds=_o,To.minutes=bo,To.hours=xo,To.days=wo,To.weeks=_r,To.months=Eo,To.years=So,To.humanize=Sr,To.toISOString=Or,To.toString=Or,To.toJSON=Or,To.locale=wn,To.localeData=En,To.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Or),To.lang=to,U("X",0,0,"unix"),U("x",0,0,"valueOf"),W("x",ei),W("X",ii),Z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Z("x",function(t,e,n){n._d=new Date(b(t))}),e.version="2.22.1",function(t){Mr=t}(ke),e.fn=ao,e.min=Me,e.max=Te,e.now=Vi,e.utc=f,e.unix=Gn,e.months=tr,e.isDate=s,e.locale=$t,e.invalid=g,e.duration=Ze,e.isMoment=v,e.weekdays=nr,e.parseZone=Qn,e.localeData=ne,e.isDuration=je,e.monthsShort=er,e.weekdaysMin=ir,e.defineLocale=te,e.updateLocale=ee,e.locales=re,e.weekdaysShort=rr,e.normalizeUnits=z,e.relativeTimeRounding=wr,e.relativeTimeThreshold=Er,e.calendarFormat=nn,e.prototype=ao,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},e})}).call(e,n(41)(t))},501:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(7),a=n.n(o),s=n(502),u=n.n(s),c=function(t){return i.a.createElement(u.a,{source:t.input})};c.propTypes={input:a.a.string.isRequired},e.a=c},502:function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)?t.use(e[0],e[1]):t.use(e)}function i(t){var e=[p],n=t.disallowedTypes;t.allowedTypes&&(n=y.filter(function(e){return"root"!==e&&-1===t.allowedTypes.indexOf(e)}));var r=t.unwrapDisallowed?"unwrap":"remove";return n&&n.length>0&&e.push(l.ofType(n,r)),t.allowNode&&e.push(l.ifNotMatch(t.allowNode,r)),!t.escapeHtml&&!t.skipHtml&&e.push(c),t.astPlugins?e.concat(t.astPlugins):e}var o=n(455),a=n(503),s=n(515),u=n(7),c=n(571),l=n(572),f=n(573),p=n(574),h=n(575),d=n(576),g=n(577),y=Object.keys(g),m=function(t){var e=t.source||t.children||"";if(t.allowedTypes&&t.disallowedTypes)throw new Error("Only one of `allowedTypes` and `disallowedTypes` should be defined");var n=o(g,t.renderers),u=[s].concat(t.plugins||[]),c=u.reduce(r,a()),l=c.parse(e),p=o(t,{renderers:n,definitions:h(l)}),d=i(t),y=d.reduce(function(t,e){return e(t,p)},l);return f(y,p)};m.defaultProps={renderers:{},escapeHtml:!0,skipHtml:!1,transformLinkUri:d},m.propTypes={className:u.string,source:u.string,children:u.string,sourcePos:u.bool,escapeHtml:u.bool,skipHtml:u.bool,allowNode:u.func,allowedTypes:u.arrayOf(u.oneOf(y)),disallowedTypes:u.arrayOf(u.oneOf(y)),transformLinkUri:u.oneOfType([u.func,u.bool]),transformImageUri:u.func,astPlugins:u.arrayOf(u.func),unwrapDisallowed:u.bool,renderers:u.object},m.types=y,m.renderers=g,m.uriTransformer=d,t.exports=m},503:function(t,e,n){"use strict";function r(t,e){e.tree=t.parse(e.file)}function i(t,e,n){function r(t,r,i){t?n(t):(e.tree=r,e.file=i,n())}t.run(e.tree,e.file,r)}function o(t,e){e.file.contents=t.stringify(e.tree,e.file)}function a(){function t(){for(var t=a(),e=M.length,n=-1;++n<e;)t.use.apply(null,M[n]);return t.data(d(!0,{},I)),t}function e(){var e,n,r,i;if(C)return t;for(;++D<M.length;)e=M[D],n=e[0],r=e[1],i=null,!1!==r&&(!0===r&&(e[1]=void 0),"function"===typeof(i=n.apply(t,e.slice(1)))&&T.use(i));return C=!0,D=1/0,t}function n(e,n){return v(e)?2===arguments.length?(f("data",C),I[e]=n,t):x.call(I,e)&&I[e]||null:e?(f("data",C),I=e,t):I}function r(e){function n(t){o(t.plugins),t.settings&&(s=d(s||{},t.settings))}function r(t){if("function"===typeof t)a(t);else{if("object"!==typeof t)throw new Error("Expected usable value, not `"+t+"`");"length"in t?a.apply(null,t):n(t)}}function o(t){var e,n;if(null===t||void 0===t);else{if(!("object"===typeof t&&"length"in t))throw new Error("Expected a list of plugins, not `"+t+"`");for(e=t.length,n=-1;++n<e;)r(t[n])}}function a(t,e){var n=i(t);n?(_(n[1])&&_(e)&&(e=d(n[1],e)),n[1]=e):M.push(b.call(arguments))}var s;if(f("use",C),null===e||void 0===e);else if("function"===typeof e)a.apply(null,arguments);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?o(e):n(e)}return s&&(I.settings=d(I.settings||{},s)),t}function i(t){for(var e,n=M.length,r=-1;++r<n;)if(e=M[r],e[0]===t)return e}function o(n){var r,i=y(n);return e(),r=t.Parser,c("parse",r),s(r)?new r(String(i),i).parse():r(String(i),i)}function u(t,n,r){function i(e,i){function o(n,o,a){o=o||t,n?i(n):e?e(o):r(null,o,a)}T.run(t,y(n),o)}if(p(t),e(),r||"function"!==typeof n||(r=n,n=null),!r)return new Promise(i);i(null,r)}function E(t,e){function n(t,e){i=!0,g(t),r=e}var r,i=!1;return u(t,e,n),h("runSync","run",i),r}function S(n,r){var i,o=y(r);return e(),i=t.Compiler,l("stringify",i),p(n),s(i)?new i(n,o).compile():i(n,o)}function k(n,r){function i(e,i){function o(t){t?i(t):e?e(a):r(null,a)}var a=y(n);w.run(t,{file:a},o)}if(e(),c("process",t.Parser),l("process",t.Compiler),!r)return new Promise(i);i(null,r)}function O(n){function r(t){o=!0,g(t)}var i,o=!1;return e(),c("processSync",t.Parser),l("processSync",t.Compiler),i=y(n),k(i,r),h("processSync","process",o),i}var M=[],T=m(),I={},C=!1,D=-1;return t.data=n,t.freeze=e,t.attachers=M,t.use=r,t.parse=o,t.stringify=S,t.run=u,t.runSync=E,t.process=k,t.processSync=O,t}function s(t){return"function"===typeof t&&u(t.prototype)}function u(t){var e;
1for(e in t)return!0;return!1}function c(t,e){if("function"!==typeof e)throw new Error("Cannot `"+t+"` without `Parser`")}function l(t,e){if("function"!==typeof e)throw new Error("Cannot `"+t+"` without `Compiler`")}function f(t,e){if(e)throw new Error(["Cannot invoke `"+t+"` on a frozen processor.\nCreate a new ","processor first, by invoking it: use `processor()` instead of ","`processor`."].join(""))}function p(t){if(!t||!v(t.type))throw new Error("Expected node, got `"+t+"`")}function h(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}var d=n(504),g=n(505),y=n(506),m=n(511),v=n(513),_=n(514);t.exports=a().freeze();var b=[].slice,x={}.hasOwnProperty,w=m().use(r).use(i).use(o)},504:function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},u=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e=r.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!n)return!1;var o;for(o in t);return"undefined"===typeof o||r.call(t,o)},c=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},l=function(t,e){if("__proto__"===e){if(!r.call(t,e))return;if(a)return a(t,e).value}return t[e]};t.exports=function t(){var e,n,r,i,o,a,f=arguments[0],p=1,h=arguments.length,d=!1;for("boolean"===typeof f&&(d=f,f=arguments[1]||{},p=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});p<h;++p)if(null!=(e=arguments[p]))for(n in e)r=l(f,n),i=l(e,n),f!==i&&(d&&i&&(u(i)||(o=s(i)))?(o?(o=!1,a=r&&s(r)?r:[]):a=r&&u(r)?r:{},c(f,{name:n,newValue:t(d,a,i)})):"undefined"!==typeof i&&c(f,{name:n,newValue:i}));return f}},505:function(t,e,n){"use strict";function r(t){if(t)throw t}t.exports=r},506:function(t,e,n){"use strict";function r(t,e,n){var r=this.path,i=new a(t,e,n);return r&&(i.name=r+":"+i.name,i.file=r),i.fatal=!1,this.messages.push(i),i}function i(){var t=this.message.apply(this,arguments);throw t.fatal=!0,t}function o(){var t=this.message.apply(this,arguments);return t.fatal=null,t}var a=n(507),s=n(509);t.exports=s;var u=s.prototype;u.message=r,u.info=o,u.fail=i,u.warn=r},507:function(t,e,n){"use strict";function r(){}function i(t,e,n){var r,i,s;"string"===typeof e&&(n=e,e=null),r=o(n),i=a(e)||"1:1",s={start:{line:null,column:null},end:{line:null,column:null}},e&&e.position&&(e=e.position),e&&(e.start?(s=e,e=e.start):s.start=e),t.stack&&(this.stack=t.stack,t=t.message),this.message=t,this.name=i,this.reason=t,this.line=e?e.line:null,this.column=e?e.column:null,this.location=s,this.source=r[0],this.ruleId=r[1]}function o(t){var e,n=[null,null];return"string"===typeof t&&(e=t.indexOf(":"),-1===e?n[1]=t:(n[0]=t.slice(0,e),n[1]=t.slice(e+1))),n}var a=n(508);t.exports=i,r.prototype=Error.prototype,i.prototype=new r;var s=i.prototype;s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},508:function(t,e,n){"use strict";function r(t){return t&&"object"===typeof t?s.call(t,"position")||s.call(t,"type")?o(t.position):s.call(t,"start")||s.call(t,"end")?o(t):s.call(t,"line")||s.call(t,"column")?i(t):null:null}function i(t){return t&&"object"===typeof t||(t={}),a(t.line)+":"+a(t.column)}function o(t){return t&&"object"===typeof t||(t={}),i(t.start)+"-"+i(t.end)}function a(t){return t&&"number"===typeof t?t:1}var s={}.hasOwnProperty;t.exports=r},509:function(t,e,n){"use strict";(function(e){function r(t){var n,i,o;if(t){if("string"===typeof t||l(t))t={contents:t};else if("message"in t&&"messages"in t)return t}else t={};if(!(this instanceof r))return new r(t);for(this.data={},this.messages=[],this.history=[],this.cwd=e.cwd(),i=-1,o=h.length;++i<o;)n=h[i],f.call(t,n)&&(this[n]=t[n]);for(n in t)-1===h.indexOf(n)&&(this[n]=t[n])}function i(t){var e=this.contents||"";return l(e)?e.toString(t):String(e)}function o(t,e){if(-1!==t.indexOf(u.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+u.sep+"`")}function a(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function s(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}var u=n(481),c=n(510),l=n(134);t.exports=r;var f={}.hasOwnProperty,p=r.prototype;p.toString=i;var h=["history","path","basename","stem","extname","dirname"];Object.defineProperty(p,"path",{get:function(){return this.history[this.history.length-1]},set:function(t){a(t,"path"),t!==this.path&&this.history.push(t)}}),Object.defineProperty(p,"dirname",{get:function(){return"string"===typeof this.path?u.dirname(this.path):void 0},set:function(t){s(this.path,"dirname"),this.path=u.join(t||"",this.basename)}}),Object.defineProperty(p,"basename",{get:function(){return"string"===typeof this.path?u.basename(this.path):void 0},set:function(t){a(t,"basename"),o(t,"basename"),this.path=u.join(this.dirname||"",t)}}),Object.defineProperty(p,"extname",{get:function(){return"string"===typeof this.path?u.extname(this.path):void 0},set:function(t){var e=t||"";if(o(e,"extname"),s(this.path,"extname"),e){if("."!==e.charAt(0))throw new Error("`extname` must start with `.`");
1if(-1!==e.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=c(this.path,e)}}),Object.defineProperty(p,"stem",{get:function(){return"string"===typeof this.path?u.basename(this.path,this.extname):void 0},set:function(t){a(t,"stem"),o(t,"stem"),this.path=u.join(this.dirname||"",t+(this.extname||""))}})}).call(e,n(67))},510:function(t,e,n){"use strict";function r(t,e){if("string"!==typeof t)return t;if(0===t.length)return t;var n=i.basename(t,i.extname(t))+e;return i.join(i.dirname(t),n)}var i=n(481);t.exports=r},511:function(t,e,n){"use strict";function r(){function t(){function t(s){var u=n[++e],c=o.call(arguments,0),l=c.slice(1),f=r.length,p=-1;if(s)return void a(s);for(;++p<f;)null!==l[p]&&void 0!==l[p]||(l[p]=r[p]);r=l,u?i(u,t).apply(null,r):a.apply(null,[null].concat(r))}var e=-1,r=o.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!==typeof a)throw new Error("Expected function as last argument, not "+a);t.apply(null,[null].concat(r))}function e(t){if("function"!==typeof t)throw new Error("Expected `fn` to be a function, not "+t);return n.push(t),r}var n=[],r={};return r.run=t,r.use=e,r}var i=n(512);t.exports=r,r.wrap=i;var o=[].slice},512:function(t,e,n){"use strict";function r(t,e){function n(){var e,n=i.call(arguments,0),s=t.length>n.length;s&&n.push(r);try{e=t.apply(null,n)}catch(t){if(s&&a)throw t;return r(t)}s||(e&&"function"===typeof e.then?e.then(o,r):e instanceof Error?r(e):o(e))}function r(){a||(a=!0,e.apply(null,arguments))}function o(t){r(null,t)}var a;return n}var i=[].slice;t.exports=r},513:function(t,e){function n(t){return"[object String]"===r.call(t)}var r=Object.prototype.toString;t.exports=n},514:function(t,e,n){"use strict";var r=Object.prototype.toString;t.exports=function(t){var e;return"[object Object]"===r.call(t)&&(null===(e=Object.getPrototypeOf(t))||e===Object.getPrototypeOf({}))}},515:function(t,e,n){"use strict";function r(t){var e=i(a);e.prototype.options=o(e.prototype.options,this.data("settings"),t),this.Parser=e}var i=n(516),o=n(455),a=n(518);t.exports=r,r.Parser=a},516:function(t,e,n){"use strict";function r(t){function e(e){return t.apply(this,e)}function n(){return this instanceof n?t.apply(this,arguments):new e(arguments)}var r,a,s;o(n,t),o(e,n),r=n.prototype;for(a in r)(s=r[a])&&"object"===typeof s&&(r[a]="concat"in s?s.concat():i(s));return n}var i=n(455),o=n(517);t.exports=r},517:function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},518:function(t,e,n){"use strict";function r(t,e){this.file=e,this.offset={},this.options=o(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=s(e).toOffset,this.unescape=u(this,"escape"),this.decode=c(this)}function i(t){var e,n=[];for(e in t)n.push(e);return n}var o=n(455),a=n(519),s=n(520),u=n(521),c=n(522),l=n(528);t.exports=r;var f=r.prototype;f.setOptions=n(529),f.parse=n(532),f.options=n(483),f.exitStart=a("atStart",!0),f.enterList=a("inList",!1),f.enterLink=a("inLink",!1),f.enterBlock=a("inBlock",!1),f.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],f.blockTokenizers={newline:n(536),indentedCode:n(537),fencedCode:n(538),blockquote:n(539),atxHeading:n(540),thematicBreak:n(541),list:n(542),setextHeading:n(544),html:n(545),footnote:n(546),definition:n(548),table:n(549),paragraph:n(550)},f.inlineTokenizers={escape:n(551),autoLink:n(553),url:n(554),html:n(556),link:n(557),reference:n(558),strong:n(559),emphasis:n(561),deleti
1on:n(564),code:n(566),break:n(568),text:n(570)},f.blockMethods=i(f.blockTokenizers),f.inlineMethods=i(f.inlineTokenizers),f.tokenizeBlock=l("block"),f.tokenizeInline=l("inline"),f.tokenizeFactory=l},519:function(t,e,n){"use strict";function r(t,e,n){function r(){function r(){i[t]=o}var i=n||this,o=i[t];return i[t]=!e,r}return r}t.exports=r},520:function(t,e,n){"use strict";function r(t){var e=a(String(t));return{toPosition:i(e),toOffset:o(e)}}function i(t){function e(e){var n=-1,r=t.length;if(e<0)return{};for(;++n<r;)if(t[n]>e)return{line:n+1,column:e-(t[n-1]||0)+1,offset:e};return{}}return e}function o(t){function e(e){var n=e&&e.line,r=e&&e.column;return!isNaN(n)&&!isNaN(r)&&n-1 in t?(t[n-2]||0)+r-1||0:-1}return e}function a(t){for(var e=[],n=t.indexOf("\n");-1!==n;)e.push(n+1),n=t.indexOf("\n",n+1);return e.push(t.length+1),e}t.exports=r},521:function(t,e,n){"use strict";function r(t,e){function n(n){for(var r,i=0,o=n.indexOf("\\"),a=t[e],s=[];-1!==o;)s.push(n.slice(i,o)),i=o+1,r=n.charAt(i),r&&-1!==a.indexOf(r)||s.push("\\"),o=n.indexOf("\\",i);return s.push(n.slice(i)),s.join("")}return n}t.exports=r},522:function(t,e,n){"use strict";function r(t){function e(e){for(var n=t.offset,r=e.line,i=[];++r&&r in n;)i.push((n[r]||0)+1);return{start:e,indent:i}}function n(e,n,r){3!==r&&t.file.message(e,n)}function r(r,i,a){o(r,{position:e(i),warning:n,text:a,reference:a,textContext:t,referenceContext:t})}function a(t,r,a){return o(t,i(a,{position:e(r),warning:n}))}return r.raw=a,r}var i=n(455),o=n(464);t.exports=r},523:function(t,e){t.exports={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Acirc:"\xc2",Agrave:"\xc0",Aring:"\xc5",Atilde:"\xc3",Auml:"\xc4",COPY:"\xa9",Ccedil:"\xc7",ETH:"\xd0",Eacute:"\xc9",Ecirc:"\xca",Egrave:"\xc8",Euml:"\xcb",GT:">",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},524:function(t,e){t.exports={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"}},525:function(t,e,n){"use strict";function r(t){var e="string"===typeof t?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}t.exports=r},526:function(t,e,n){"use strict";function r(t){return i(t)||o(t)}var i=n(482),o=n(460);t.exports=r},527:function(t,e,n){"use strict";function r(t){var e,n="&"+t+";";return i=i||document.createElement("i"),i.innerHTML=n,e=i.textContent,(e.charCodeAt(e.length-1)!==o||"semi"===t)&&(e!==n&&e)}var i,o=59;t.exports=r},528:function(t,e,n){"use strict";function r(t){var e,n;return"text"!==t.type||!t.position||(e=t.position.start,n=t.position.end,e.line!==n.line||n.column-e.column===t.value.length)}function i(t,e){return t.value+=e.value,t}function o(t,e){return this.options.commonmark?e:(t.children=t.children.concat(e.children),t)}function a(t){function e(e,n){function i(t){for(var e=-1,n=t.indexOf("\n");-1!==n;)S++,e=n,n=t.indexOf("\n",n+1);-1===e?k+=t.length:k=t.length-e,S in b&&(-1!==e?k+=b[S]:k<=b[S]&&(k=b[S]+1))}function o(){var t=[],e=S+1;return function(){for(var n=S+1;e<n;)t.push((b[e]||0)+1),e++;return t}}function a(){var t={line:S,column:k};return t.offset=_.toOffset(t),t}function u(t){this.start=t,this.end=a()}function c(t){e.substring(0,t.length)!==t&&_.file.fail(new Error("Incorrectly eaten value: please report this warning on http://git.io/vg5Ft"),a())}function l(){function t(t,n){var r=t.position,i=r?r.start:e,o=[],a=r&&r.end.line,s=e.line;if(t.position=new u(i),r&&n&&r.indent){if(o=r.indent,a<s){for(;++a<s;)o.push((b[a]||0)+1);o.push(e.column)}n=o.concat(n)}return t.position.indent=n||[],t}var e=a();return t}function f(t,e){var n=e?e.children:x,i=n[n.length-1];return i&&t.type===i.type&&t.type in s&&r(i)&&r(t)&&(t=s[t.type].call(_,i,t)),t!==i&&n.push(t),_.atStart&&0!==x.length&&_.exitStart(),t}function p(t){function n(t,e){return p(f(p(t),e),u)}function r(){var r=n.apply(null,arguments);return S=h.line,k=h.column,e=t+e,r}function s(){var n=p({});return S=h.line,k=h.column,e=t+e,n.position}var u=o(),p=l(),h=a();return c(t),n.reset=r,r.test=s,n.test=s,e=e.substring(t.length),i(t),u=u(),n}var h,d,g,y,m,v,_=this,b=_.offset,x=[],w=_[t+"Methods"],E=_[t+"Tokenizers"],S=n.line,k=n.column;if(!e)return x;for(p.now=a,p.file=_.file,i("");e;){for(h=-1,d=w.length,m=!1;++h<d&&(y=w[h],!(g=E[y])||g.onlyAtStart&&!_.atStart||g.notInList&&_.inList||g.notInBlock&&_.inBlock||g.notInLink&&_.inLink||(v=e.length,g.apply(_,[p,e]),!(m=v!==e.length))););m||_.file.fail(new Error("Infinite loop"),p.now())}return _.eof=a(),x}return e}t.exports=a;var s={text:i,blockquote:o}},529:function(t,e,n){"use strict";function r(t){var e,n,r=this,s=r.options;if(null==t)t={};else{if("object"!==typeof t)throw new Error("Invalid value `"+t+"` for setting `options`");t=i(t)}for(e in a){if(n=t[e],null==n&&(n=s[e]),"blocks"!==e&&"boolean"!==typeof n||"blocks"===e&&"object"!==typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+e+"`");t[e]=n}return r.options=t,r.escape=o(t),r}var i=n(455),o=n(530),a=n(483);t.exports=r},530:function(t,e,n){"use strict";function r(t){var e=t||{};return e.commonmark?a:e.gfm?o:i}t.exports=r;var i=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],o=i.concat(["~","|"]),a=o.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);r.default=i,r.gfm=o,r.commonmark=a},531:function(t,e){t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},532:function(t,e,n){"use strict";function r(){var t,e=this,n=String(e.file),r={line:1,column:1,offset:0},u=i(r);return n=n.replace(s,a),65279===n.charCodeAt(0)&&(n=n.slice(1),u.column++,u.offset++),t={type:"root",children:e.tokenizeBlock(n,u),position:{start:r,end:e.eof||i(r)}},e.options.position||o(t,!0),t}var i=n(455),o=n(533);t.exports=r;var a="\n",s=/\r\n|\r/g},533:function(t,e,n){"use strict";function r(t,e){return a(t,e?i:o),t}function i(t){delete t.position}function o(t){t.position=void 0}var a=n(461);t.exports=r},534:function(t,e,n){"use strict";function r(t,e,n,r){function a(t,r,o){var a,f=[];return(e&&!l(t,r,o[o.length-1]||null)||(f=i(n(t,o)),f[0]!==u))&&t.children&&f[0]!==s?(a=i(c(t.children,o.concat(t))),a[0]===u?a:f):f}function c(t,e){for(var n,i=r?-1:1,o=(r?t.length:-1)+i;o>-1&&o<t.length;){if(n=a(t[o],o,e),n[0]===u)return n;o="number"===typeof n[1]?n[1]:o+i}}var l;"function"===typeof e&&"function"!==typeof n&&(r=n,n=e,e=null),l=o(e),a(t,null,[])}function i(t){return null!==t&&"object"===typeof t&&"length"in t?t:"number"===typeof t?[a,t]:[t]}t.exports=r;var o=n(535),a=!0,s="skip",u=!1;r.CONTINUE=a,r.SKIP=s,r.EXIT=u},535:function(t,e,n){"use strict";function r(t){if("string"===typeof t)return s(t);if(null===t||void 0===t)return u;if("object"===typeof t)return("length"in t?a:o)(t);if("function"===typeof t)return t;throw new Error("Expected function, string, or object as test")}function i(t){for(var e=[],n=t.length,i=-1;++i<n;)e[i]=r(t[i]);return e}function o(t){function e(e){var n;for(n in t)if(e[n]!==t[n])return!1;return!0}return e}function a(t){function e(){for(var t=-1;++t<r;)if(n[t].apply(this,arguments))return!0;return!1}var n=i(t),r=n.length;return e}function s(t){function e(e){return Boolean(e&&e.type===t)}return e}function u(){return!0}t.exports=r},536:function(t,e,n){"use strict";function r(t,e,n){var r,o,a,s,u=e.charAt(0);if("\n"===u){if(n)return!0;for(s=1,r=e.length,o=u,a="";s<r&&(u=e.charAt(s),i(u));
1)a+=u,"\n"===u&&(o+=a,a=""),s++;t(o)}}var i=n(454);t.exports=r},537:function(t,e,n){"use strict";function r(t,e,n){for(var r,i,l,f=-1,p=e.length,h="",d="",g="",y="";++f<p;)if(r=e.charAt(f),l)if(l=!1,h+=g,d+=y,g="",y="",r===a)g=r,y=r;else for(h+=r,d+=r;++f<p;){if(!(r=e.charAt(f))||r===a){y=r,g=r;break}h+=r,d+=r}else if(r===u&&e.charAt(f+1)===r&&e.charAt(f+2)===r&&e.charAt(f+3)===r)g+=c,f+=3,l=!0;else if(r===s)g+=r,l=!0;else{for(i="";r===s||r===u;)i+=r,r=e.charAt(++f);if(r!==a)break;g+=i+r,y+=r}if(d)return!!n||t(h)({type:"code",lang:null,value:o(d)})}var i=n(465),o=n(466);t.exports=r;var a="\n",s="\t",u=" ",c=i(u,4)},538:function(t,e,n){"use strict";function r(t,e,n){var r,p,h,d,g,y,m,v,_,b,x,w=this,E=w.options,S=e.length+1,k=0,O="";if(E.gfm){for(;k<S&&((h=e.charAt(k))===s||h===a);)O+=h,k++;if(b=k,(h=e.charAt(k))===u||h===c){for(k++,p=h,r=1,O+=h;k<S&&(h=e.charAt(k))===p;)O+=h,r++,k++;if(!(r<l)){for(;k<S&&((h=e.charAt(k))===s||h===a);)O+=h,k++;for(d="",g="";k<S&&(h=e.charAt(k))!==o&&h!==u&&h!==c;)h===s||h===a?g+=h:(d+=g+h,g=""),k++;if(!(h=e.charAt(k))||h===o){if(n)return!0;for(x=t.now(),x.column+=O.length,x.offset+=O.length,O+=d,d=w.decode.raw(w.unescape(d),x),g&&(O+=g),g="",v="",_="",y="",m="";k<S;)if(h=e.charAt(k),y+=v,m+=_,v="",_="",h===o){for(y?(v+=h,_+=h):O+=h,g="",k++;k<S&&(h=e.charAt(k))===s;)g+=h,k++;if(v+=g,_+=g.slice(b),!(g.length>=f)){for(g="";k<S&&(h=e.charAt(k))===p;)g+=h,k++;if(v+=g,_+=g,!(g.length<r)){for(g="";k<S&&((h=e.charAt(k))===s||h===a);)v+=h,_+=h,k++;if(!h||h===o)break}}}else y+=h,_+=h,k++;return O+=y+v,t(O)({type:"code",lang:d||null,value:i(m)})}}}}}var i=n(466);t.exports=r;var o="\n",a="\t",s=" ",u="~",c="`",l=3,f=4},539:function(t,e,n){"use strict";function r(t,e,n){for(var r,l,f,p,h,d,g,y,m,v=this,_=v.offset,b=v.blockTokenizers,x=v.interruptBlockquote,w=t.now(),E=w.line,S=e.length,k=[],O=[],M=[],T=0;T<S&&((l=e.charAt(T))===u||l===s);)T++;if(e.charAt(T)===c){if(n)return!0;for(T=0;T<S;){for(p=e.indexOf(a,T),g=T,y=!1,-1===p&&(p=S);T<S&&((l=e.charAt(T))===u||l===s);)T++;if(e.charAt(T)===c?(T++,y=!0,e.charAt(T)===u&&T++):T=g,h=e.slice(T,p),!y&&!i(h)){T=g;break}if(!y&&(f=e.slice(T),o(x,b,v,[t,f,!0])))break;d=g===T?h:e.slice(g,p),M.push(T-g),k.push(d),O.push(h),T=p+1}for(T=-1,S=M.length,r=t(k.join(a));++T<S;)_[E]=(_[E]||0)+M[T],E++;
1return m=v.enterBlock(),O=v.tokenizeBlock(O.join(a),w),m(),r({type:"blockquote",children:O})}}var i=n(457),o=n(467);t.exports=r;var a="\n",s="\t",u=" ",c=">"},540:function(t,e,n){"use strict";function r(t,e,n){for(var r,c,l,f=this,p=f.options,h=e.length+1,d=-1,g=t.now(),y="",m="";++d<h;){if((r=e.charAt(d))!==a&&r!==o){d--;break}y+=r}for(l=0;++d<=h;){if((r=e.charAt(d))!==s){d--;break}y+=r,l++}if(!(l>u)&&l&&(p.pedantic||e.charAt(d+1)!==s)){for(h=e.length+1,c="";++d<h;){if((r=e.charAt(d))!==a&&r!==o){d--;break}c+=r}if(p.pedantic||0!==c.length||!r||r===i){if(n)return!0;for(y+=c,c="",m="";++d<h&&(r=e.charAt(d))&&r!==i;)if(r===a||r===o||r===s){for(;r===a||r===o;)c+=r,r=e.charAt(++d);for(;r===s;)c+=r,r=e.charAt(++d);for(;r===a||r===o;)c+=r,r=e.charAt(++d);d--}else m+=c+r,c="";return g.column+=y.length,g.offset+=y.length,y+=m+c,t(y)({type:"heading",depth:l,children:f.tokenizeInline(m,g)})}}}t.exports=r;var i="\n",o="\t",a=" ",s="#",u=6},541:function(t,e,n){"use strict";function r(t,e,n){for(var r,f,p,h,d=-1,g=e.length+1,y="";++d<g&&((r=e.charAt(d))===o||r===a);)y+=r;if(r===s||r===c||r===u)for(f=r,y+=r,p=1,h="";++d<g;)if((r=e.charAt(d))===f)p++,y+=h+f,h="";else{if(r!==a)return p>=l&&(!r||r===i)?(y+=h,!!n||t(y)({type:"thematicBreak"})):void 0;h+=r}}t.exports=r;var i="\n",o="\t",a=" ",s="*",u="_",c="-",l=3},542:function(t,e,n){"use strict";function r(t,e,n){for(var r,o,a,u,l,f,_,x,w,E,S,k,I,C,D,L,j,A,N,z,P,R,B,K,U=this,Y=U.options.commonmark,F=U.options.pedantic,H=U.blockTokenizers,q=U.interruptList,W=0,V=e.length,G=null,Q=0;W<V;){if((u=e.charAt(W))===v)Q+=b-Q%b;else{if(u!==y)break;Q++}W++}if(!(Q>=b)){if(u=e.charAt(W),r=Y?T:M,!0===O[u])l=u,a=!1;else{for(a=!0,o="";W<V&&(u=e.charAt(W),c(u));)o+=u,W++;if(u=e.charAt(W),!o||!0!==r[u])return;G=parseInt(o,10),l=u}if((u=e.charAt(++W))===y||u===v){if(n)return!0;for(W=0,C=[],D=[],L=[];W<V;){for(f=e.indexOf(m,W),_=W,x=!1,K=!1,-1===f&&(f=V),B=W+b,Q=0;W<V;){if((u=e.charAt(W))===v)Q+=b-Q%b;else{if(u!==y)break;Q++}W++}if(Q>=b&&(K=!0),j&&Q>=j.indent&&(K=!0),u=e.charAt(W),w=null,!K){if(!0===O[u])w=u,W++,Q++;else{for(o="";W<V&&(u=e.charAt(W),c(u));)o+=u,W++;u=e.charAt(W),W++,o&&!0===r[u]&&(w=u,Q+=o.length+1)}if(w)if((u=e.charAt(W))===v)Q+=b-Q%b,W++;else if(u===y){for(B=W+b;W<B&&e.charAt(W)===y;)W++,Q++;W===B&&e.charAt(W)===y&&(W-=b-1,Q-=b-1)}else u!==m&&""!==u&&(w=null)}if(w){if(!F&&l!==w)break;x=!0}else Y||K||e.charAt(_)!==y?Y&&j&&(K=Q>=j.indent||Q>b):K=!0,x=!1,W=_;if(S=e.slice(_,f),E=_===W?S:e.slice(W,f),(w===h||w===d||w===g)&&H.thematicBreak.call(U,t,S,!0))break;if(k=I,I=!s(E).length,K&&j)j.value=j.value.concat(L,S),D=D.concat(L,S),L=[];else if(x)0!==L.length&&(j.value.push(""),j.trail=L.concat()),j={value:[S],indent:Q,trail:[]},C.push(j),D=D.concat(L,S),L=[];else if(I){if(k)break;L.push(S)}else{if(k)break;if(p(q,H,U,[t,S,!0]))break;j.value=j.value.concat(L,S),D=D.concat(L,S),L=[]}W=f+1}for(P=t(D.join(m)).reset({type:"list",ordered:a,start:G,loose:null,children:[]}),A=U.enterList(),N=U.enterBlock(),z=!1,W=-1,V=C.length;++W<V;)j=C[W].value.join(m),R=t.now(),j=t(j)(i(U,j,R),P),j.loose&&(z=!0),j=C[W].trail.join(m),W!==V-1&&(j+=m),t(j);return A(),N(),P.loose=z,P}}}function i(t,e,n){var r,i,s=t.offset,u=t.options.pedantic?o:a,c=null;return e=u.apply(null,arguments),t.options.gfm&&(r=e.match(w))&&(i=r[0].length,c=r[1].toLowerCase()===_,s[n.line]+=i,e=e.slice(i)),{type:"listItem",loose:x.test(e)||e.charAt(e.length-1)===m,checked:c,children:t.tokenizeBlock(e,n)}}function o(t,e,n){function r(t){return i[o]=(i[o]||0)+t.length,o++,""}var i=t.offset,o=n.line;return e=e.replace(S,r),o=n.line,e.replace(k,r)}function a(t,e,n){function r(t,e,n,r,s){return o=e+n+r,a=s,Number(n)<10&&o.length%2===1&&(n=y+n),(i=e+u(y,n.length)+r)+a}var i,o,a,s,c,p,h,d=t.offset,g=n.line;for(e=e.replace(E,r),s=e.split(m),c=f(e,l(i).indent).split(m),c[0]=a,d[g]=(d[g]||0)+o.length,g++,p=0,h=s.length;++p<h;)d[g]=(d[g]||0)+s[p].length-c[p].length,g++;return c.join(m)}var s=n(457),u=n(465),c=n(460),l=n(484),f=n(543),p=n(467);t.exports=r;var h="*",d="_",g="-",y=" ",m="\n",v="\t",_="x",b=4,x=/\n\n(?!\s*$)/,w=/^\[([ \t]|x|X)][ \t]/,E=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,S=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,k=/^( {1,4}|\t)?/gm,O={};O[h]=!0,O["+"]=!0,O[g]=!0;var M={};M["."]=!0;var T={};T["."]=!0,T[")"]=!0},543:function(t,e,n){"use strict";function r(t,e){var n,r,l,f,p=t.split(u),h=p.length+1,d=1/0,g=[];for(p.unshift(o(s,e)+"!");h--;)if(r=a(p[h]),g[h]=r.stops,0!==i(p[h]).length){if(!r.indent){d=1/0;break}r.indent>0&&r.indent<d&&(d=r.indent)}if(d!==1/0)for(h=p.length;h--;){for(l=g[h],n=d;n&&!(n in l);)n--;f=0!==i(p[h]).length&&d&&n!==d?c:"",p[h]=f+p[h].slice(n in l?l[n]+1:0)}return p.shift(),p.join(u)}var i=n(457),o=n(465),a=n(484);t.exports=r;var s=" ",u="\n",c="\t"},544:function(t,e,n){"use strict";function r(t,e,n){for(var r,c,l,f,p,h=this,d=t.now(),g=e.length,y=-1,m="";++y<g;){if((l=e.charAt(y))!==a||y>=s){y--;break}m+=l}for(r="",c="";++y<g;){if((l=e.charAt(y))===i){y--;break}l===a||l===o?c+=l:(r+=c+l,c="")}if(d.column+=m.length,d.offset+=m.length,m+=r+c,l=e.charAt(++y),f=e.charAt(++y),l===i&&u[f]){for(m+=l,c=f,p=u[f];++y<g;){if((l=e.charAt(y))!==f){if(l!==i)return;y--;break}c+=l}return!!n||t(m+c)({type:"heading",depth:p,children:h.tokenizeInline(r,d)})}}t.exports=r;var i="\n",o="\t",a=" ",s=3,u={};u["="]=1,u["-"]=2},545:function(t,e,n){"use strict";function r(t,e,n){for(var r,c,l,f,p,h,d,g=this,y=g.options.blocks,m=e.length,v=0,_=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+y.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];v<m&&((f=e.charAt(v))===o||f===a);)v++;if(e.charAt(v)===u){for(r=e.indexOf(s,v+1),r=-1===r?m:r,c=e.slice(v,r),l=-1,p=_.length;++l<p;)if(_[l][0].test(c)){h=_[l];break}
1if(h){if(n)return h[2];if(v=r,!h[1].test(c))for(;v<m;){if(r=e.indexOf(s,v+1),r=-1===r?m:r,c=e.slice(v+1,r),h[1].test(c)){c&&(v=r);break}v=r}return d=e.slice(0,v),t(d)({type:"html",value:d})}}}var i=n(485).openCloseTag;t.exports=r;var o="\t",a=" ",s="\n",u="<"},546:function(t,e,n){"use strict";function r(t,e,n){var r,g,y,m,v,_,b,x,w,E,S,k,O=this,M=O.offset;if(O.options.footnotes){for(r=0,g=e.length,y="",m=t.now(),v=m.line;r<g&&(w=e.charAt(r),i(w));)y+=w,r++;if(e.charAt(r)===l&&e.charAt(r+1)===p){for(y+=l+p,r=y.length,b="";r<g&&(w=e.charAt(r))!==f;)w===a&&(b+=w,r++,w=e.charAt(r)),b+=w,r++;if(b&&e.charAt(r)===f&&e.charAt(r+1)===h){if(n)return!0;for(E=o(b),y+=b+f+h,r=y.length;r<g&&((w=e.charAt(r))===u||w===c);)y+=w,r++;for(m.column+=y.length,m.offset+=y.length,b="",_="",x="";r<g;){if((w=e.charAt(r))===s){for(x=w,r++;r<g&&(w=e.charAt(r))===s;)x+=w,r++;for(b+=x,x="";r<g&&(w=e.charAt(r))===c;)x+=w,r++;if(0===x.length)break;b+=x}b&&(_+=b,b=""),_+=w,r++}return y+=_,_=_.replace(d,function(t){return M[v]=(M[v]||0)+t.length,v++,""}),S=t(y),k=O.enterBlock(),_=O.tokenizeBlock(_,m),k(),S({type:"footnoteDefinition",identifier:E,children:_})}}}}var i=n(454),o=n(468);t.exports=r,r.notInList=!0,r.notInBlock=!0;var a="\\",s="\n",u="\t",c=" ",l="[",f="]",p="^",h=":",d=/^( {4}|\t)?/gm},547:function(t,e,n){"use strict";function r(t){return String(t).replace(/\s+/g," ")}t.exports=r},548:function(t,e,n){"use strict";function r(t,e,n){for(var r,a,b,x,w,E,S,k,O=this,M=O.options.commonmark,T=0,I=e.length,C="";T<I&&((x=e.charAt(T))===h||x===p);)C+=x,T++;if((x=e.charAt(T))===d){for(T++,C+=x,b="";T<I&&(x=e.charAt(T))!==g;)x===l&&(b+=x,T++,x=e.charAt(T)),b+=x,T++;if(b&&e.charAt(T)===g&&e.charAt(T+1)===v){for(E=b,C+=b+g+v,T=C.length,b="";T<I&&((x=e.charAt(T))===p||x===h||x===f);)C+=x,T++;if(x=e.charAt(T),b="",r=C,x===_){for(T++;T<I&&(x=e.charAt(T),i(x));)b+=x,T++;if((x=e.charAt(T))===i.delimiter)C+=_+b+x,T++;else{if(M)return;T-=b.length+1,b=""}}if(!b){for(;T<I&&(x=e.charAt(T),o(x));)b+=x,T++;C+=b}if(b){for(S=b,b="";T<I&&((x=e.charAt(T))===p||x===h||x===f);)b+=x,T++;if(x=e.charAt(T),w=null,x===u?w=u:x===c?w=c:x===y&&(w=m),w){if(!b)return;for(C+=b+x,T=C.length,b="";T<I&&(x=e.charAt(T))!==w;){if(x===f){if(T++,(x=e.charAt(T))===f||x===w)return;b+=f}b+=x,T++}if((x=e.charAt(T))!==w)return;a=C,C+=b+x,T++,k=b,b=""}else b="",T=C.length;for(;T<I&&((x=e.charAt(T))===p||x===h);)C+=x,T++;return x=e.charAt(T),x&&x!==f?void 0:!!n||(r=t(r).test().end,S=O.decode.raw(O.unescape(S),r,{nonTerminated:!1}),k&&(a=t(a).test().end,k=O.decode.raw(O.unescape(k),a)),t(C)({type:"definition",identifier:s(E),title:k||null,url:S}))}}}}function i(t){return t!==b&&t!==d&&t!==g}function o(t){return t!==d&&t!==g&&!a(t)}var a=n(454),s=n(468);t.exports=r,r.notInList=!0,r.notInBlock=!0;var u='"',c="'",l="\\",f="\n",p="\t",h=" ",d="[",g="]",y="(",m=")",v=":",_="<",b=">";i.delimiter=b},549:function(t,e,n){"use strict";function r(t,e,n){var r,_,b,x,w,E,S,k,O,M,T,I,C,D,L,j,A,N,z,P,R,B,K,U,Y=this;if(Y.options.gfm){for(r=0,N=0,E=e.length+1,S=[];r<E;){if(B=e.indexOf(f,r),K=e.indexOf(u,r+1),-1===B&&(B=e.length),-1===K||K>B){if(N<d)return;break}S.push(e.slice(r,B)),N++,r=B+1}for(x=S.join(f),_=S.splice(1,1)[0]||[],r=0,E=_.length,N--,b=!1,T=[];r<E;){if((O=_.charAt(r))===u){if(M=null,!1===b){if(!1===U)return}else T.push(b),b=!1;U=!1}else if(O===s)M=!0,b=b||v;else if(O===c)b=b===g?y:M&&b===v?m:g;else if(!i(O))return;r++}if(!1!==b&&T.push(b),!(T.length<h)){if(n)return!0;for(A=-1,P=[],R=t(x).reset({type:"table",align:T,children:P});++A<N;){for(z=S[A],w={type:"tableRow",children:[]},A&&t(f),t(z).reset(w,R),E=z.length+1,r=0,k="",I="",C=!0,D=null,L=null;r<E;)if((O=z.charAt(r))!==p&&O!==l){if(""===O||O===u)if(C)t(O);else{if(O&&L){k+=O,r++;continue}!I&&!O||C||(x=I,k.length>1&&(O?(x+=k.slice(0,k.length-1),k=k.charAt(k.length-1)):(x+=k,k="")),j=t.now(),t(x)({type:"tableCell",children:Y.tokenizeInline(I,j)},w)),t(k+O),k="",I=""}else if(k&&(I+=k,k=""),I+=O,O===o&&r!==E-2&&(I+=z.charAt(r+1),r++),O===a){for(D=1;z.charAt(r+1)===O;)I+=O,r++,D++;L?D>=L&&(L=0):L=D}C=!1,r++}else I?k+=O:t(O),r++;A||t(f+_)}return R}}}var i=n(454);t.exports=r;var o="\\",a="`",s="-",u="|",c=":",l=" ",f="\n",p="\t",h=1,d=2,g="left",y="center",m="right",v=null},550:function(t,e,n){"use strict";function r(t,e,n){for(var r,p,h,d,g,y=this,m=y.options,v=m.commonmark,_=m.gfm,b=y.blockTokenizers,x=y.interruptParagraph,w=e.indexOf(u),E=e.length;w<E;){if(-1===w){w=E;break}if(e.charAt(w+1)===u)break;if(v){for(d=0,r=w+1;r<E;){if((h=e.charAt(r))===c){d=f;break}if(h!==l)break;d++,r++}if(d>=f){w=e.indexOf(u,w+1);continue}}if(p=e.slice(w+1),s(x,b,y,[t,p,!0]))break;if(b.list.call(y,t,p,!0)&&(y.inList||v||_&&!o(i.left(p).charAt(0))))break;if(r=w,-1!==(w=e.indexOf(u,w+1))&&""===i(e.slice(r,w))){w=r;break}}return p=e.slice(0,w),""===i(p)?(t(p),null):!!n||(g=t.now(),p=a(p),t(p)({type:"paragraph",children:y.tokenizeInline(p,g)}))}var i=n(457),o=n(460),a=n(466),s=n(467);t.exports=r;var u="\n",c="\t",l=" ",f=4},551:function(t,e,n){"use strict";function r(t,e,n){var r,i,o=this;if("\\"===e.charAt(0)&&(r=e.charAt(1),-1!==o.escape.indexOf(r)))return!!n||(i="\n"===r?{type:"break"}:{type:"text",value:r},t("\\"+r)(i))}var i=n(552);t.exports=r,r.locator=i},552:function(t,e,n){"use strict";function r(t,e){return t.indexOf("\\",e)}t.exports=r},553:function(t,e,n){"use strict";function r(t,e,n){var r,a,h,d,g,y,m,v,_,b,x,w;if(e.charAt(0)===s){for(r=this,a="",h=e.length,d=0,g="",m=!1,v="",d++,a=s;d<h&&(y=e.charAt(d),!(i(y)||y===u||y===c||":"===y&&e.charAt(d+1)===l));)g+=y,d++;if(g){if(v+=g,g="",y=e.charAt(d),v+=y,d++,y===c)m=!0;else{if(":"!==y||e.charAt(d+1)!==l)return;v+=l,d++}for(;d<h&&(y=e.charAt(d),!i(y)&&y!==u);)g+=y,d++;if(y=e.charAt(d),g&&y===u)return!!n||(v+=g,b=v,a+=v+y,_=t.now(),_.column++,_.offset++,m&&(v.slice(0,p).toLowerCase()===f?(b=b.substr(p),_.column+=p,_.offset+=p):v=f+v),x=r.inlineTokenizers,r.inlineTokenizers={text:x.text},w=r.enterLink(),b=r.tokenizeInline(b,_),r.inlineTokenizers=x,w(),t(a)({type:"link",title:null,url:o(v,{nonTerminated:!1}),children:b}))}}}var i=n(454),o=n(464),a=n(486);t.exports=r,r.locator=a,r.notInLink=!0;var s="<",u=">",c="@",l="/",f="mailto:",p=f.length},554:function(t,e,n){"use strict";function r(t,e,n){var r,a,y,m,v,_,b,x,w,E,S,k,O=this;if(O.options.gfm){for(r="",m=-1,x=g;++m<x;)if(_=d[m],b=e.slice(0,_.length),b.toLowerCase()===_){r=b;break}if(r){for(m=r.length,x=e.length,w="",E=0;m<x&&(y=e.charAt(m),!o(y)&&y!==f)&&("."!==y&&","!==y&&":"!==y&&";"!==y&&'"'!==y&&"'"!==y&&")"!==y&&"]"!==y||(S=e.charAt(m+1))&&!o(S))&&(y!==c&&y!==s||E++,y!==l&&y!==u||!(--E<0));
1)w+=y,m++;if(w){if(r+=w,a=r,_===h){if(-1===(v=w.indexOf(p))||v===x-1)return;a=a.substr(h.length)}return!!n||(k=O.enterLink(),a=O.tokenizeInline(a,t.now()),k(),t(r)({type:"link",title:null,url:i(r,{nonTerminated:!1}),children:a}))}}}}var i=n(464),o=n(454),a=n(555);t.exports=r,r.locator=a,r.notInLink=!0;var s="[",u="]",c="(",l=")",f="<",p="@",h="mailto:",d=["http://","https://",h],g=d.length},555:function(t,e,n){"use strict";function r(t,e){var n,r=i.length,o=-1,a=-1;if(!this.options.gfm)return-1;for(;++o<r;)-1!==(n=t.indexOf(i[o],e))&&(n<a||-1===a)&&(a=n);return a}t.exports=r;var i=["https://","http://","mailto:"]},556:function(t,e,n){"use strict";function r(t,e,n){var r,o,c=this,l=e.length;if(!("<"!==e.charAt(0)||l<3)&&(r=e.charAt(1),(i(r)||"?"===r||"!"===r||"/"===r)&&(o=e.match(a))))return!!n||(o=o[0],!c.inLink&&s.test(o)?c.inLink=!0:c.inLink&&u.test(o)&&(c.inLink=!1),t(o)({type:"html",value:o}))}var i=n(482),o=n(486),a=n(485).tag;t.exports=r,r.locator=o;var s=/^<a /i,u=/^<\/a>/i},557:function(t,e,n){"use strict";function r(t,e,n){var r,o,m,v,_,b,x,w,E,S,k,O,M,T,I,C,D,L,j,A=this,N="",z=0,P=e.charAt(0),R=A.options.pedantic,B=A.options.commonmark,K=A.options.gfm;if("!"===P&&(E=!0,N=P,P=e.charAt(++z)),P===u&&(E||!A.inLink)){for(N+=P,I="",z++,O=e.length,D=t.now(),T=0,D.column+=z,D.offset+=z;z<O;){if(P=e.charAt(z),b=P,P===d){for(o=1;e.charAt(z+1)===d;)b+=P,z++,o++;m?o>=m&&(m=0):m=o}else if(P===s)z++,b+=e.charAt(z);else if(m&&!K||P!==u){if((!m||K)&&P===c){if(!T){if(!R)for(;z<O&&(P=e.charAt(z+1),i(P));)b+=P,z++;if(e.charAt(z+1)!==l)return;b+=l,r=!0,z++;break}T--}}else T++;I+=b,b="",z++}if(r){for(S=I,N+=I+b,z++;z<O&&(P=e.charAt(z),i(P));)N+=P,z++;if(P=e.charAt(z),w=B?y:g,I="",v=N,P===p){for(z++,v+=p;z<O&&(P=e.charAt(z))!==h;){if(B&&"\n"===P)return;I+=P,z++}if(e.charAt(z)!==h)return;N+=p+I+h,C=I,z++}else{for(P=null,b="";z<O&&(P=e.charAt(z),!b||!a.call(w,P));){if(i(P)){if(!R)break;b+=P}else{if(P===l)T++;else if(P===f){if(0===T)break;T--}I+=b,b="",P===s&&(I+=s,P=e.charAt(++z)),I+=P}z++}N+=I,C=I,z=N.length}for(I="";z<O&&(P=e.charAt(z),i(P));)I+=P,z++;if(P=e.charAt(z),N+=I,I&&a.call(w,P))if(z++,N+=P,I="",k=w[P],_=N,B){for(;z<O&&(P=e.charAt(z))!==k;)P===s&&(I+=s,P=e.charAt(++z)),z++,I+=P;if((P=e.charAt(z))!==k)return;for(M=I,N+=I+P,z++;z<O&&(P=e.charAt(z),i(P));)N+=P,z++}else for(b="";z<O;){if((P=e.charAt(z))===k)x&&(I+=k+b,b=""),x=!0;else if(x){if(P===f){N+=I+k+b,M=I;break}i(P)?b+=P:(I+=k+b+P,b="",x=!1)}else I+=P;z++}if(e.charAt(z)===f)return!!n||(N+=f,C=A.decode.raw(A.unescape(C),t(v).test().end,{nonTerminated:!1}),M&&(_=t(_).test().end,M=A.decode.raw(A.unescape(M),_)),j={type:E?"image":"link",title:M||null,url:C},E?j.alt=A.decode.raw(A.unescape(S),D)||null:(L=A.enterLink(),j.children=A.tokenizeInline(S,D),L()),t(N)(j))}}}var i=n(454),o=n(487);t.exports=r,r.locator=o;var a={}.hasOwnProperty,s="\\",u="[",c="]",l="(",f=")",p="<",h=">",d="`",g={};g['"']='"',g["'"]="'";var y={};y['"']='"',y["'"]="'",y[l]=f},558:function(t,e,n){"use strict";function r(t,e,n){var r,o,m,v,_,b,x,w,E=this,S=e.charAt(0),k=0,O=e.length,M="",T="",I=s,C=l;if("!"===S&&(I=u,T=S,S=e.charAt(++k)),S===g){if(k++,T+=S,b="",E.options.footnotes&&e.charAt(k)===h){if(I===u)return;T+=h,k++,I=c}for(w=0;k<O;){if((S=e.charAt(k))===g)x=!0,w++;else if(S===y){if(!w)break;w--}S===d&&(b+=d,S=e.charAt(++k)),b+=S,k++}if(M=b,r=b,(S=e.charAt(k))===y){for(k++,M+=S,b="";k<O&&(S=e.charAt(k),i(S));)b+=S,k++;if(S=e.charAt(k),I!==c&&S===g){for(o="",b+=S,k++;k<O&&(S=e.charAt(k))!==g&&S!==y;)S===d&&(o+=d,S=e.charAt(++k)),o+=S,k++;S=e.charAt(k),S===y?(C=o?p:f,b+=o+S,k++):o="",M+=b,b=""}else{if(!r)return;o=r}if(C===p||!x)return M=T+M,I===s&&E.inLink?null:!!n||(I===c&&-1!==r.indexOf(" ")?t(M)({type:"footnote",children:this.tokenizeInline(r,t.now())}):(m=t.now(),m.column+=T.length,m.offset+=T.length,o=C===p?o:r,v={type:I+"Reference",identifier:a(o)},I!==s&&I!==u||(v.referenceType=C),I===s?(_=E.enterLink(),v.children=E.tokenizeInline(r,m),_()):I===u&&(v.alt=E.decode.raw(E.unescape(r),m)||null),t(M)(v)))}}}var i=n(454),o=n(487),a=n(468);t.exports=r,r.locator=o;var s="link",u="image",c="footnote",l="shortcut",f="collapsed",p="full",h="^",d="\\",g="[",y="]"},559:function(t,e,n){"use strict";function r(t,e,n){var r,a,c,l,f,p,h,d=this,g=0,y=e.charAt(g);if((y===s||y===u)&&e.charAt(++g)===y&&(a=d.options.pedantic,c=y,f=c+c,p=e.length,g++,l="",y="",!a||!o(e.charAt(g))))for(;g<p;){if(h=y,(y=e.charAt(g))===c&&e.charAt(g+1)===c&&(!a||!o(h))&&(y=e.charAt(g+2))!==c){if(!i(l))return;return!!n||(r=t.now(),r.column+=2,r.offset+=2,t(f+l+f)({type:"strong",children:d.tokenizeInline(l,r)}))}a||"\\"!==y||(l+=y,y=e.charAt(++g)),l+=y,g++}}var i=n(457),o=n(454),a=n(560);t.exports=r,r.locator=a;var s="*",u="_"},560:function(t,e,n){"use strict";function r(t,e){var n=t.indexOf("**",e),r=t.indexOf("__",e);return-1===r?n:-1===n?r:r<n?r:n}t.exports=r},561:function(t,e,n){"use strict";function r(t,e,n){var r,s,l,f,p,h,d,g=this,y=0,m=e.charAt(y);if((m===u||m===c)&&(s=g.options.pedantic,p=m,l=m,h=e.length,y++,f="",m="",!s||!a(e.charAt(y))))for(;y<h;){if(d=m,(m=e.charAt(y))===l&&(!s||!a(d))){if((m=e.charAt(++y))!==l){if(!i(f)||d===l)return;if(!s&&l===c&&o(m)){f+=l;continue}return!!n||(r=t.now(),r.column++,r.offset++,t(p+f+l)({type:"emphasis",children:g.tokenizeInline(f,r)}))}f+=l}s||"\\"!==m||(f+=m,m=e.charAt(++y)),f+=m,y++}}var i=n(457),o=n(562),a=n(454),s=n(563);t.exports=r,r.locator=s;var u="*",c="_"},562:function(t,e,n){"use strict";function r(t){return o.test("number"===typeof t?i(t):t.charAt(0))}t.exports=r;var i=String.fromCharCode,o=/\w/},563:function(t,e,n){"use strict";function r(t,e){var n=t.indexOf("*",e),r=t.indexOf("_",e);return-1===r?n:-1===n?r:r<n?r:n}t.exports=r},564:function(t,e,n){"use strict";function r(t,e,n){var r,o,u,c=this,l="",f="",p="",h="";if(c.options.gfm&&e.charAt(0)===a&&e.charAt(1)===a&&!i(e.charAt(2)))for(r=1,o=e.length,u=t.now(),u.column+=2,u.offset+=2;++r<o;){if((l=e.charAt(r))===a&&f===a&&(!p||!i(p)))return!!n||t(s+h+s)({type:"delete",children:c.tokenizeInline(h,u)});h+=f,p=f,f=l}}var i=n(454),o=n(565);t.exports=r,r.locator=o;var a="~",s="~~"},565:function(t,e,n){"use strict";function r(t,e){return t.indexOf("~~",e)}t.exports=r},566:function(t,e,n){"use strict";function r(t,e,n){for(var r,o,s,u,c,l,f,p,h=e.length,d=0,g="",y="";d<h&&e.charAt(d)===a;)g+=a,d++;if(g){for(c=g,u=d,g="",p=e.charAt(d),s=0;d<h;){if(l=p,p=e.charAt(d+1),l===a?(s++,y+=l):(s=0,g+=l),s&&p!==a){if(s===u){c+=g+y,f=!0;break}g+=y,y=""}d++}if(!f){if(u%2!==0)return;g=""}if(n)return!0;for(r="",o="",h=g.length,d=-1;++d<h;)l=g.charAt(d),i(l)?o+=l:(o&&(r&&(r+=o),o=""),r+=l);return t(c)({type:"inlineCode",value:r})}}var i=n(454),o=n(567);t.exports=r,r.locator=o;var a="`"},567:function(t,e,n){"use strict";function r(t,e){return t.indexOf("`",e)}t.exports=r},568:function(t,e,n){"use strict";function r(t,e,n){for(var r,i=e.length,a=-1,s="";++a<i;){if("\n"===(r=e.charAt(a))){if(a<o)return;return!!n||(s+=r,t(s)({type:"break"}))}if(" "!==r)return;s+=r}}var i=n(569);t.exports=r,r.locator=i;var o=2},569:function(t,e,n){"use strict";function r(t,e){for(var n=t.indexOf("\n",e);n>e&&" "===t.charAt(n-1);)n--;return n}t.exports=r},570:function(t,e,n){"use strict";function r(t,e,n){var r,i,o,a,s,u,c,l,f,p,h=this;if(n)return!0;for(r=h.inlineMethods,a=r.length,i=h.inlineTokenizers,o=-1,f=e.length;++o<a;)"text"!==(l=r[o])&&i[l]&&(c=i[l].locator,c||t.file.fail("Missing locator: `"+l+"`"),-1!==(u=c.call(h,e,1))&&u<f&&(f=u));s=e.slice(0,f),p=t.now(),h.decode(s,p,function(e,n,r){t(r||e)({type:"text",value:e})})}t.exports=r},571:function(t,e,n){"use strict";function r(t,e){for(var n=t.length;n--;)if(t[n].tag===e)return t.splice(n,1)[0];return!1}function i(t,e){var n=t.value.match(l);return!!n&&{tag:n[2],opening:!n[1],node:t}}function o(t){var e=t.value.match(c);return!!e&&e[1]}function a(t,e,n){var r=n.children.indexOf(t.node),i=n.children.indexOf(e.node),o=n.children.splice(r,i-r+1),a=o.slice(1,-1);return{type:u,children:a,tag:t.tag,position:{start:t.node.position.start,end:e.node.position.end,indent:[]}}}var s=n(461),u="virtualHtml",c=/^<(area|base|br|col|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\s*\/?>$/i,l=/^<(\/?)([a-z]+)\s*>$/;t.exports=function(t){var e=void 0,n=void 0;return s(t,"html",function(t,s,c){n!==c&&(e=[],n=c);var l=o(t);if(l)return c.children.splice(s,1,{type:u,tag:l,position:t.position}),!0;var f=i(t,c);if(!f)return!0;var p=r(e,f.tag);return p?c.children.splice(s,0,a(f,p,c)):f.opening||e.push(f),!0},!0),t}},572:function(t,e,n){"use strict";function r(t,e,n,r){if("remove"===r)n.children.splice(e,1);else if("unwrap"===r){var i=[e,1].concat(t.children);Array.prototype.splice.apply(n.children,i)}}var i=n(461);e.ofType=function(t,e){function n(t,n,i){i&&r(t,n,i,e)}return function(e){return t.forEach(function(t){return i(e,t,n,!0)}),e}}
1,e.ifNotMatch=function(t,e){function n(n,i,o){o&&!t(n,i,o)&&r(n,i,o,e)}return function(t){return i(t,n,!0),t}}},573:function(t,e,n){"use strict";function r(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=e.renderers[t.type],u=t.position.start,l=[t.type,u.line,u.column].join("-");if("text"===t.type)return s?s(t.value,l):t.value;if("function"!==typeof s&&"string"!==typeof s&&!i(s))throw new Error("Renderer for type `"+t.type+"` not defined or is not renderable");var f=o(t,l,e,s,n,a);return c.createElement(s,f,f.children||function(){return t.children&&t.children.map(function(n,i){return r(n,e,{node:t,props:f},i)})}()||void 0)}function i(t){return c.Fragment&&c.Fragment===t}function o(t,e,n,i,o,c){var f={key:e};n.sourcePos&&t.position&&(f["data-sourcepos"]=s(t.position));var p=t.identifier?n.definitions[t.identifier]||{}:null;switch(t.type){case"root":a(f,{className:n.className});break;case"heading":f.level=t.depth;break;case"list":f.start=t.start,f.ordered=t.ordered,f.tight=!t.loose;break;case"listItem":f.checked=t.checked,f.tight=!t.loose,f.children=(f.tight?u(t):t.children).map(function(e,i){return r(e,n,{node:t,props:f},i)});break;case"definition":a(f,{identifier:t.identifier,title:t.title,url:t.url});break;case"code":a(f,{language:t.lang&&t.lang.split(/\s/,1)[0]});break;case"inlineCode":f.children=t.value,f.inline=!0;break;case"link":a(f,{title:t.title||void 0,href:n.transformLinkUri?n.transformLinkUri(t.url,t.children,t.title):t.url});break;case"image":a(f,{alt:t.alt||void 0,title:t.title||void 0,src:n.transformImageUri?n.transformImageUri(t.url,t.children,t.title,t.alt):t.url});break;case"linkReference":a(f,l(p,{href:n.transformLinkUri?n.transformLinkUri(p.href):p.href}));break;case"imageReference":a(f,{src:n.transformImageUri&&p.href?n.transformImageUri(p.href,t.children,p.title,t.alt):p.href,title:p.title||void 0,alt:t.alt||void 0});break;case"table":case"tableHead":case"tableBody":f.columnAlignment=t.align;break;case"tableRow":f.isHeader="tableHead"===o.node.type,f.columnAlignment=o.props.columnAlignment;break;case"tableCell":a(f,{isHeader:o.props.isHeader,align:o.props.columnAlignment[c]});break;case"virtualHtml":f.tag=t.tag;break;case"html":f.isBlock=t.position.start.line!==t.position.end.line,f.escapeHtml=n.escapeHtml,f.skipHtml=n.skipHtml}return"string"!==typeof i&&t.value&&(f.value=t.value),f}function a(t,e){for(var n in e)"undefined"!==typeof e[n]&&(t[n]=e[n])}function s(t){return[t.start.line,":",t.start.column,"-",t.end.line,":",t.end.column].map(String).join("")}function u(t){return t.children.reduce(function(t,e){return t.concat("paragraph"===e.type?e.children||[]:[e])},[])}var c=n(0),l=n(455);t.exports=r},574:function(t,e,n){"use strict";function r(t){var e=t.children;t.children=[{type:"tableHead",align:t.align,children:[e[0]],position:e[0].position}],e.length>1&&t.children.push({type:"tableBody",align:t.align,children:e.slice(1),position:{start:e[1].position.start,end:e[e.length-1].position.end}})}var i=n(461);t.exports=function(t){return i(t,"table",r),t}},575:function(t,e,n){"use strict";t.exports=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e.children||[]).reduce(function(e,n){return"definition"===n.type&&(e[n.identifier]={href:n.url,title:n.title}),t(n,e)},n)}},576:function(t,e,n){"use strict";var r=["http","https","mailto","tel"];t.exports=function(t){var e=(t||"").trim(),n=e.charAt(0);if("#"===n||"/"===n)return e;var i=e.indexOf(":");if(-1===i)return e;for(var o=r.length,a=-1;++a<o;){var s=r[a];if(i===s.length&&e.slice(0,s.length)===s)return e}return-1!==(a=e.indexOf("?"))&&i>a?e:(a=e.indexOf("#"),-1!==a&&i>a?e:"javascript:void(0)")}},577:function(t,e,n){"use strict";function r(t,e){return y(t,h(e),e.children)}function i(t){var e=t.align?{textAlign:t.align}:void 0,n=h(t);return y(t.isHeader?"th":"td",e?d({style:e},n):n,t.children)}function o(t){return y("h"+t.level,h(t),t.children)}function a(t){var e=h(t);return null!==t.start&&1!==t.start&&(e.start=t.start.toString()),y(t.ordered?"ol":"ul",e,t.children)}function s(t){var e=null;if(null!==t.checked){var n=t.checked;e=y("input",{type:"checkbox",checked:n,readOnly:!0})}return y("li",h(t),e,t.children)}function u(t){var e=t.language&&"language-"+t.language,n=y("code",e?{className:e}:null,t.value);return y("pre",h(t),n)}function c(t){return y("code",h(t),t.children)}function l(t){if(t.skipHtml)return null;var e=t.isBlock?"div":"span";if(t.escapeHtml)return y(e,null,t.value);var n={dangerouslySetInnerHTML:{__html:t.value}};return y(e,n)}function f(t){return y(t.tag,h(t),t.children)}function p(){return null}function h(t){return t["data-sourcepos"]?{"data-sourcepos":t["data-sourcepos"]}:{}}var d=n(455),g=n(0),y=g.createElement;t.exports={root:"div",break:"br",paragraph:"p",emphasis:"em",strong:"strong",thematicBreak:"hr",blockquote:"blockquote",delete:"del",link:"a",image:"img",linkReference:"a",imageReference:"img",table:r.bind(null,"table"),tableHead:r.bind(null,"thead"),tableBody:r.bind(null,"tbody"),tableRow:r.bind(null,"tr"),tableCell:i,list:a,listItem:s,definition:p,heading:o,inlineCode:c,code:u,html:l,virtualHtml:f}},578:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}
1var a=n(0),s=n.n(a),u=n(7),c=n.n(u),l=n(579),f=n.n(l),p=n(580),h=(n.n(p),function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()),d=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));g.call(n);var o=null;return o=t.value?f.a.createValueFromString(t.value,"markdown"):f.a.createEmptyValue(),n.state={value:o},n}return o(e,t),h(e,[{key:"render",value:function(){var t={display:["INLINE_STYLE_BUTTONS","BLOCK_TYPE_BUTTONS","LINK_BUTTONS","BLOCK_TYPE_DROPDOWN"],INLINE_STYLE_BUTTONS:[{label:"Bold",style:"BOLD"},{label:"Italic",style:"ITALIC"}],BLOCK_TYPE_DROPDOWN:[{label:"Normal",style:"unstyled"},{label:"Title",style:"header-three"}],BLOCK_TYPE_BUTTONS:[{label:"UL",style:"unordered-list-item"},{label:"OL",style:"ordered-list-item"},{label:"Blockquote",style:"blockquote"}]};return s.a.createElement(f.a,{value:this.state.value,onChange:this.onChange,toolbarConfig:t,toolbarClassName:"custom-toolbar",editorClassName:"custom-editor"})}}]),e}(s.a.Component),g=function(){var t=this;this.onChange=function(e){t.setState({value:e}),t.props.onChange&&t.props.onChange(e.toString("markdown"))}};d.propTypes={onChange:c.a.func},e.a=d},579:function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=144)}([function(t,e,n){!function(e,n){t.exports=function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return o(t)?t:I(t)}function n(t){return a(t)?t:C(t)}function r(t){return s(t)?t:D(t)}function i(t){return o(t)&&!u(t)?t:L(t)}function o(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[fn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[pn])}function l(t){return t.value=!1,t}function f(t){t&&(t.value=!0)}function p(){}function h(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function d(t){return void 0===t.size&&(t.size=t.__iterate(y)),t.size}function g(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?d(t)+e:e}function y(){return!0}function m(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function v(t,e){return b(t,e,0)}function _(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function x(t){this.next=t}function w(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function E(){return{value:void 0,done:!0}}function S(t){return!!M(t)}function k(t){return t&&"function"==typeof t.next}function O(t){var e=M(t);return e&&e.call(t)}function M(t){var e=t&&(wn&&t[wn]||t[En]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function I(t){return null===t||void 0===t?R():o(t)?t.toSeq():U(t)}function C(t){return null===t||void 0===t?R().toKeyedSeq():o(t)?a(t)?t.toSeq():t.fromEntrySeq():B(t)}function D(t){return null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t.toIndexedSeq():K(t)}function L(t){return(null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t:K(t)).toSetSeq()}function j(t){this._array=t,this.size=t.length}function A(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function N(t){this._iterable=t,this.size=t.length||t.size}function z(t){this._iterator=t,this._iteratorCache=[]}function P(t){return!(!t||!t[kn])}function R(){return On||(On=new j([]))}function B(t){var e=Array.isArray(t)?new j(t).fromEntrySeq():k(t)?new z(t).fromEntrySeq():S(t)?new N(t).fromEntrySeq():"object"==typeof t?new A(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function K(t){var e=Y(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function U(t){var e=Y(t)||"object"==typeof t&&new A(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function Y(t){return T(t)?new j(t):k(t)?new z(t):S(t)?new N(t):void 0}function F(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new x(function(){var t=i[n?o-a:a];return a++>o?E():w(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function q(t,e){return e?W(e,t,"",{"":t}):V(t)}function W(t,e,n,r){return Array.isArray(e)?t.call(r,n,D(e).map(function(n,r){return W(t,n,r,e)})):G(e)?t.call(r,n,C(e).map(function(n,r){return W(t,n,r,e)})):e}function V(t){return Array.isArray(t)?D(t).map(V).toList():G(t)?C(t).map(V).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function Q(t,e){if(t===e||t!==t&&e!==e)return!0;
vendor: 46,686 bytes, line 1
1if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function Z(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&Q(i[1],t)&&(n||Q(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var l=t;t=e,e=l}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):i?!Q(e,t.get(r,yn)):!Q(t.get(r,yn),e))return f=!1,!1});return f&&t.size===p}function J(t,e){if(!(this instanceof J))return new J(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Mn)return Mn;Mn=this}}function X(t,e){if(!t)throw new Error(e)}function $(t,e,n){if(!(this instanceof $))return new $(t,e,n);if(X(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function it(t){return t>>>1&1073741824|3221225471&t}function ot(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>zn?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Bn[t];return void 0===e&&(e=st(t),Rn===Pn&&(Rn=0,Bn={}),Rn++,Bn[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return it(e)}function ut(t){var e;if(jn&&void 0!==(e=In.get(t)))return e;if(void 0!==(e=t[Nn]))return e;if(!Ln){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Nn]))return e;if(void 0!==(e=ct(t)))return e}if(e=++An,1073741824&An&&(An=0),jn)In.set(t,e);else{if(void 0!==Dn&&!1===Dn(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Ln)Object.defineProperty(t,Nn,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Nn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Nn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){X(t!==1/0,"Cannot perform this action with an infinite size.")}function ft(t){return null===t||void 0===t?wt():pt(t)&&!c(t)?t:wt().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Kn])}function ht(t,e){this.ownerID=t,this.entries=e}function dt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function gt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function mt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function vt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function _t(t,e){return w(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function xt(t,e,n,r){var i=Object.create(Un);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function wt(){return Yn||(Yn=xt(0))}function Et(t,e,n){var r,i;if(t._root){var o=l(mn),a=l(vn);if(r=St(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===yn?-1:1:0)}else{if(n===yn)return t;i=1,r=new ht(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?xt(i,r):wt()}function St(t,e,n,r,i,o,a,s){return t?t.update(e,n,r,i,o,a,s):o===yn?t:(f(s),f(a),new mt(e,r,[i,o]))}function kt(t){return t.constructor===mt||t.constructor===yt}function Ot(t,e,n,r,i){if(t.keyHash===r)return new yt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&gn,s=(0===n?r:r>>>n)&gn;return new dt(e,1<<a|1<<s,a===s?[Ot(t,e,n+hn,r,i)]:(o=new mt(e,r,i),a<s?[t,o]:[o,t]))}function Mt(t,e,n,r){t||(t=new p);for(var i=new mt(t,ot(n),[n,r]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}function Tt(t,e,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new dt(t,i,a)}function It(t,e,n,r,i){for(var o=0,a=new Array(dn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new gt(t,o+1,a)}function Ct(t,e,r){for(var i=[],a=0;a<r.length;a++){var s=r[a],u=n(s);o(s)||(u=u.map(function(t){return q(t)})),i.push(u)}return jt(t,e,i)}function Dt(t,e,n){return t&&t.mergeDeep&&o(e)?t.mergeDeep(e):Q(t,e)?t:e}function Lt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&o(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return Q(e,i)?e:i}}function jt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,yn,function(t){return t===yn?n:e(t,n,r)})}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)}):t.constructor(n[0])}function At(t,e,n,r){var i=t===yn,o=e.next();if(o.done){var a=i?n:t,s=r(a);return s===a?t:s}X(i||t&&t.set,"invalid keyPath");var u=o.value,c=i?yn:t.get(u,yn),l=At(c,e,n,r);return l===c?t:l===yn?t.remove(u):(i?wt():t).set(u,l)}function Nt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function zt(t,e,n,r){var i=r?t:h(t);return i[e]=n,i}function Pt(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,s=0;s<i;s++)s===e?(o[s]=n,a=-1):o[s]=t[s+a];return o}function Rt(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,a=0;a<r;a++)a===e&&(o=1),i[a]=t[a+o];return i}function Bt(t){var e=Ht();if(null===t||void 0===t)return e;if(Kt(t))return t;var n=r(t),i=n.size;return 0===i?e:(lt(i),i>0&&i<dn?Ft(0,i,hn,null,new Ut(n.toArray())):e.withMutations(function(t){t.setSize(i),n.forEach(function(e,n){return t.set(n,e)})}))}function Kt(t){return!(!t||!t[Wn])}function Ut(t,e){this.array=t,this.ownerID=e}function Yt(t,e){function n(t,e,n){return 0===e?r(t,n):i(t,e,n)}function r(t,n){var r=n===s?u&&u.array:t&&t.array,i=n>o?0:o-n,c=a-n;return c>dn&&(c=dn),function(){if(i===c)return Qn;var t=e?--c:i++;return r&&r[t]}}function i(t,r,i){var s,u=t&&t.array,c=i>o?0:o-i>>r,l=1+(a-i>>r);return l>dn&&(l=dn),function(){for(;;){if(s){var t=s();if(t!==Qn)return t;s=null}if(c===l)return Qn;var o=e?--l:c++;s=n(u&&u[o],r-hn,i+(o<<r))}}}var o=t._origin,a=t._capacity,s=Jt(a),u=t._tail;return n(t._root,t._level,0)}function Ft(t,e,n,r,i,o,a){var s=Object.create(Vn);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Ht(){return Gn||(Gn=Ft(0,0,hn))}function qt(t,e,n){if((e=g(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Qt(t,e).set(0,n):Qt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=l(vn);return e>=Jt(t._capacity)?r=Wt(r,t.__ownerID,0,e,n,o):i=Wt(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Ft(t._origin,t._capacity,t._level,i,r):t}function Wt(t,e,n,r,i,o){var a=r>>>n&gn,s=t&&a<t.array.length;if(!s&&void 0===i)return t;var u;if(n>0){var c=t&&t.array[a],l=Wt(c,e,n-hn,r,i,o);return l===c?t:(u=Vt(t,e),u.array[a]=l,u)}return s&&t.array[a]===i?t:(f(o),u=Vt(t,e),void 0===i&&a===u.array.length-1?u.array.pop():u.array[a]=i,u)}function Vt(t,e){return e&&t&&e===t.ownerID?t:new Ut(t?t.array.slice():[],e)}function Gt(t,e){if(e>=Jt(t._capacity))return t._tail;if(e<1<<t._level+hn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&gn],r-=hn;return n}}function Qt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new Ut(c&&c.array.length?[void 0,c]:[],r),u+=hn,l+=1<<u;l&&(a+=l,i+=l,s+=l,o+=l);for(var f=Jt(o),h=Jt(s);h>=1<<u+hn;)c=new Ut(c&&c.array.length?[c]:[],r),u+=hn;var d=t._tail,g=h<f?Gt(t,s-1):h>f?new Ut([],r):d;if(d&&h>f&&a<o&&d.array.length){c=Vt(c,r);for(var y=c,m=u;m>hn;m-=hn){var v=f>>>m&gn;y=y.array[v]=Vt(y.array[v],r)}y.array[f>>>hn&gn]=d}if(s<o&&(g=g&&g.removeAfter(r,0,s)),a>=h)a-=h,s-=h,u=hn,c=null,g=g&&g.removeBefore(r,0,a);else if(a>i||h<f){for(l=0;c;){var _=a>>>u&gn;if(_!==h>>>u&gn)break;_&&(l+=(1<<u)*_),u-=hn,c=c.array[_]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&h<f&&(c=c.removeAfter(r,u,h-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):Ft(a,s,u,c,g)}function Zt(t,e,n){for(var i=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),o(u)||(c=c.map(function(t){return q(t)})),i.push(c)}return a>t.size&&(t=t.setSize(a)),jt(t,e,i)}function Jt(t){return t<dn?0:t-1>>>hn<<hn}function Xt(t){return null===t||void 0===t?ee():$t(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function $t(t){return pt(t)&&c(t)}function te(t,e,n,r){var i=Object.create(Xt.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function ee(){return Zn||(Zn=te(wt(),Ht()))}function ne(t,e,n){var r,i,o=t._map,a=t._list,s=o.get(e),u=void 0!==s;if(n===yn){if(!u)return t;a.size>=dn&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&s!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):te(r,i)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Te(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Ie,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===xn){var r=t.__iterator(e,n);return new x(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===bn?_n:bn,n)},e}function ue(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,yn);return o===yn?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return!1!==r(e.call(n,t,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(xn,i);return new x(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return w(r,s,e.call(n,a[1],s,t),i)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Ie,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function le(t,e,n,r){var i=Te(t);return r&&(i.has=function(r){var i=t.get(r,yn);return i!==yn&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,yn);return o!==yn&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate(function(t,o,u){if(e.call(n,t,o,u))return s++,i(t,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(xn,o),s=0;return new x(function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return w(i,r?c:s++,l,o)}})},i}function fe(t,e,n){var r=ft().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),i=(c(t)?Xt():ft()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return t=t||[],t.push(r?[a,o]:o),t})});var o=Me(t);return i.map(function(e){return Se(t,o(e))})}function he(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),m(e,n,i))return t;var o=v(e,i),a=_(n,i);if(o!==o||a!==a)return he(t.toSeq().cacheResult(),e,n,r);var s,u=a-o;u===u&&(s=u<0?0:u);var c=Te(t);return c.size=0===s?s:t.size&&s||void 0,!r&&P(t)&&s>=0&&(c.get=function(e,n){return e=g(this,e),e>=0&&e<s?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,u=!0,c=0;return t.__iterate(function(t,n){if(!u||!(u=a++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==s}),c},c.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var i=0!==s&&t.__iterator(e,n),a=0,u=0;return new x(function(){for(;a++<o;)i.next();if(++u>s)return E();var t=i.next();return r||e===bn?t:e===_n?w(e,u-1,void 0,t):w(e,u-1,t.value[1],t)})},c}function de(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,s){return e.call(n,t,i,s)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(xn,i),s=!0;return new x(function(){if(!s)return E();var t=a.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?r===xn?t:w(r,u,c,t):(s=!1,E())})},r}function ge(t,e,n,r){var i=Te(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate(function(t,o,c){if(!s||!(s=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,a)}),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(xn,o),u=!0,c=0;return new x(function(){var t,o,l;do{if(t=s.next(),t.done)return r||i===bn?t:i===_n?w(i,c++,void 0,t):w(i,c++,t.value[1],t);var f=t.value;o=f[0],l=f[1],u&&(u=e.call(n,l,o,a))}while(u);return i===xn?t:w(i,o,l,t)})},i}function ye(t,e){var r=a(t),i=[t].concat(e).map(function(t){return o(t)?r&&(t=n(t)):t=r?B(t):K(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var u=i[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new j(i);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function me(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,i){function a(t,c){var l=this;t.__iterate(function(t,i){return(!e||c<e)&&o(t)?a(t,c+1):!1===r(t,n?i:s++,l)&&(u=!0),!u},i)}var s=0,u=!1;return a(t,0),s},r.__iteratorUncached=function(r,i){var a=t.__iterator(r,i),s=[],u=0;return new x(function(){for(;a;){var t=a.next();if(!1===t.done){var c=t.value;if(r===xn&&(c=c[1]),e&&!(s.length<e)||!o(c))return n?t:w(r,u++,c,t);s.push(a),a=c.__iterator(r,i)}else a=s.pop()}return E()})},r}function ve(t,e,n){var r=Me(t);return t.toSeq().map(function(i,o){return r(e.call(n,i,o,t))}).flatten(!0)}function _e(t,e){var n=Te(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate(function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)},r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(bn,r),a=0;return new x(function(){return(!i||a%2)&&(i=o.next(),i.done)?i:a%2?w(n,a++,e):w(n,a++,i.value,i)})},n}function be(t,e,n){e||(e=Ce);var r=a(t),i=0,o=t.toSeq().map(function(e,r){return[r,e,i++,n?n(e,r,t):e]}).toArray();return o.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?C(o):s(t)?D(o):L(o)}function xe(t,e,n){if(e||(e=Ce),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return we(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return we(e,t,n)?n:t})}function we(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function Ee(t,n,r){var i=Te(t);return i.size=new j(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(bn,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=e(t),O(i?t.reverse():t)}),a=0,s=!1;return new x(function(){var e;return s||(e=o.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?E():w(t,a++,n.apply(null,e.map(function(t){return t.value})))})},i}function Se(t,e){return P(t)?e:t.constructor(e)}function ke(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Oe(t){return lt(t.size),d(t)}function Me(t){return a(t)?n:s(t)?r:i}function Te(t){return Object.create((a(t)?C:s(t)?D:L).prototype)}function Ie(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):I.prototype.cacheResult.call(this)}function Ce(t,e){return t>e?1:t<e?-1:0}function De(t){var n=O(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=O(e(t))}return n}function Le(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(t);Ne(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=ft(o)},i=r.prototype=Object.create(Jn);return i.constructor=r,r}function je(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ae(t){return t._name||t.constructor.name||"Record"}function Ne(t,e){try{e.forEach(ze.bind(void 0,t))}catch(t){}}function ze(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){X(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Pe(t){return null===t||void 0===t?Ue():Re(t)&&!c(t)?t:Ue().withMutations(function(e){var n=i(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Re(t){return!(!t||!t[Xn])}function Be(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Ke(t,e){var n=Object.create($n);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ue(){return tr||(tr=Ke(wt()))}function Ye(t){return null===t||void 0===t?qe():Fe(t)?t:qe().withMutations(function(e){var n=i(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Fe(t){return Re(t)&&c(t)}function He(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function qe(){return nr||(nr=He(ee()))}function We(t){return null===t||void 0===t?Qe():Ve(t)?t:Qe().unshiftAll(t)}function Ve(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var i=Object.create(ir);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qe(){return or||(or=Ge(0))}function Ze(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Je(t,e){return e}function Xe(t,e){return[e,t]}function $e(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):t}function nn(){return h(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+sn(ot(t),ot(e))|0}:function(t,e){r=r+sn(ot(t),ot(e))|0}:e?function(t){r=31*r+ot(t)|0}:function(t){r=r+ot(t)|0}),r)}function an(t,e){return e=Cn(e,3432918353),e=Cn(e<<15|e>>>-15,461845907),e=Cn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Cn(e^e>>>16,2246822507),e=Cn(e^e>>>13,3266489909),e=it(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(i,e),e.isIterable=o,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=i;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",hn=5,dn=1<<hn,gn=dn-1,yn={},mn={value:!1},vn={value:!1},_n=0,bn=1,xn=2,wn="function"==typeof Symbol&&Symbol.iterator,En="@@iterator",Sn=wn||En;x.prototype.toString=function(){return"[Iterator]"},x.KEYS=_n,x.VALUES=bn,x.ENTRIES=xn,x.prototype.inspect=x.prototype.toSource=function(){return this.toString()},x.prototype[Sn]=function(){return this},t(I,e),I.of=function(){return I(arguments)},I.prototype.toSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq {","}")},I.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},I.prototype.__iterate=function(t,e){return F(this,t,e,!0)},I.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(C,I),C.prototype.toKeyedSeq=function(){return this},t(D,I),D.of=function(){return D(arguments)},D.prototype.toIndexedSeq=function(){return this},D.prototype.toString=function(){return this.__toString("Seq [","]")},D.prototype.__iterate=function(t,e){return F(this,t,e,!1)},D.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(L,I),L.of=function(){return L(arguments)},L.prototype.toSetSeq=function(){return this},I.isSeq=P,I.Keyed=C,I.Set=L,I.Indexed=D;var kn="@@__IMMUTABLE_SEQ__@@";I.prototype[kn]=!0,t(j,D),j.prototype.get=function(t,e){return this.has(t)?this._array[g(this,t)]:e},j.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},j.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new x(function(){return i>r?E():w(t,i,n[e?r-i++:i++])})},t(A,C),A.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},A.prototype.has=function(t){return this._object.hasOwnProperty(t)},A.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(!1===t(n[a],a,this))return o+1}return o},A.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new x(function(){var a=r[e?i-o:o];return o++>i?E():w(t,a,n[a])})},A.prototype[pn]=!0,t(N,D),N.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=O(n),i=0;if(k(r))for(var o;!(o=r.next()).done&&!1!==t(o.value,i++,this););return i},N.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=O(n);if(!k(r))return new x(E);var i=0;return new x(function(){var e=r.next();return e.done?e:w(t,i++,e.value)})},t(z,D),z.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,i=0;i<r.length;)if(!1===t(r[i],i++,this))return i;for(var o;!(o=n.next()).done;){var a=o.value;if(r[i]=a,!1===t(a,i++,this))break}return i},z.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new x(function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return w(t,i,r[i++])})};var On;t(J,D),J.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},J.prototype.get=function(t,e){return this.has(t)?this._value:e},J.prototype.includes=function(t){return Q(this._value,t)},J.prototype.slice=function(t,e){var n=this.size;return m(t,e,n)?this:new J(this._value,_(e,n)-v(t,n))},J.prototype.reverse=function(){return this},J.prototype.indexOf=function(t){return Q(this._value,t)?0:-1},J.prototype.lastIndexOf=function(t){return Q(this._value,t)?this.size:-1},J.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},J.prototype.__iterator=function(t,e){var n=this,r=0;return new x(function(){return r<n.size?w(t,r++,n._value):E()})},J.prototype.equals=function(t){return t instanceof J?Q(this._value,t._value):Z(t)};var Mn;t($,D),$.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},$.prototype.get=function(t,e){return this.has(t)?this._start+g(this,t)*this._step:e},$.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},$.prototype.slice=function(t,e){return m(t,e,this.size)?this:(t=v(t,this.size),e=_(e,this.size),e<=t?new $(0,0):new $(this.get(t,this._end),this.get(e,this._end),this._step))},$.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},$.prototype.lastIndexOf=function(t){return this.indexOf(t)},$.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},$.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new x(function(){var a=i;return i+=e?-r:r,o>n?E():w(t,o++,a)})},$.prototype.equals=function(t){return t instanceof $?this._start===t._start&&this._end===t._end&&this._step===t._step:Z(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var In,Cn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Dn=Object.isExtensible,Ln=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),jn="function"==typeof WeakMap;jn&&(In=new WeakMap);var An=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var zn=16,Pn=255,Rn=0,Bn={};t(ft,et),ft.prototype.toString=function(){return this.__toString("Map {","}")},ft.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ft.prototype.set=function(t,e){return Et(this,t,e)},ft.prototype.setIn=function(t,e){return this.updateIn(t,yn,function(){return e})},ft.prototype.remove=function(t){return Et(this,t,yn)},ft.prototype.deleteIn=function(t){return this.updateIn(t,function(){return yn})},ft.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ft.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=At(this,De(t),e,n);return r===yn?void 0:r},ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):wt()},ft.prototype.merge=function(){return Ct(this,void 0,arguments)},ft.prototype.mergeWith=function(t){return Ct(this,t,un.call(arguments,1))},ft.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ft.prototype.mergeDeep=function(){return Ct(this,Dt,arguments)},ft.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Ct(this,Lt(t),e)},ft.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ft.prototype.sort=function(t){return Xt(be(this,t))},ft.prototype.sortBy=function(t,e){return Xt(be(this,e,t))},ft.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ft.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},ft.prototype.asImmutable=function(){return this.__ensureOwner()},ft.prototype.wasAltered=function(){return this.__altered},ft.prototype.__iterator=function(t,e){return new vt(this,t,e)},ft.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?xt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ft.isMap=pt;var Kn="@@__IMMUTABLE_MAP__@@",Un=ft.prototype;Un[Kn]=!0,Un.delete=Un.remove,Un.removeIn=Un.deleteIn,ht.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Q(n,i[o][0]))return i[o][1];return r},ht.prototype.update=function(t,e,n,r,i,o,a){for(var s=i===yn,u=this.entries,c=0,l=u.length;c<l&&!Q(r,u[c][0]);c++);var p=c<l;if(p?u[c][1]===i:s)return this;if(f(a),(s||!p)&&f(o),!s||1!==u.length){if(!p&&!s&&u.length>=Fn)return Mt(t,u,r,i);var d=t&&t===this.ownerID,g=d?u:h(u);return p?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,i]:g.push([r,i]),d?(this.entries=g,this):new ht(t,g)}},dt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=1<<((0===t?e:e>>>t)&gn),o=this.bitmap;return 0==(o&i)?r:this.nodes[Nt(o&i-1)].get(t+hn,e,n,r)},dt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&gn,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===yn)return this;var f=Nt(c&u-1),p=this.nodes,h=l?p[f]:void 0,d=St(h,t,e+hn,n,r,i,o,a);if(d===h)return this;if(!l&&d&&p.length>=Hn)return It(t,p,c,s,d);if(l&&!d&&2===p.length&&kt(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&kt(d))return d;var g=t&&t===this.ownerID,y=l?d?c:c^u:c|u,m=l?d?zt(p,f,d,g):Rt(p,f,g):Pt(p,f,d,g);return g?(this.bitmap=y,this.nodes=m,this):new dt(t,y,m)},gt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=(0===t?e:e>>>t)&gn,o=this.nodes[i];return o?o.get(t+hn,e,n,r):r},gt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&gn,u=i===yn,c=this.nodes,l=c[s];if(u&&!l)return this;var f=St(l,t,e+hn,n,r,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<qn)return Tt(t,c,p,s)}else p++;var h=t&&t===this.ownerID,d=zt(c,s,f,h);return h?(this.count=p,this.nodes=d,this):new gt(t,p,d)},yt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Q(n,i[o][0]))return i[o][1];return r},yt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=i===yn;if(n!==this.keyHash)return s?this:(f(a),f(o),Ot(this,t,e,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!Q(r,u[c][0]);c++);var p=c<l;if(p?u[c][1]===i:s)return this;if(f(a),(s||!p)&&f(o),s&&2===l)return new mt(t,this.keyHash,u[1^c]);var d=t&&t===this.ownerID,g=d?u:h(u);return p?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,i]:g.push([r,i]),d?(this.entries=g,this):new yt(t,this.keyHash,g)},mt.prototype.get=function(t,e,n,r){return Q(n,this.entry[0])?this.entry[1]:r},mt.prototype.update=function(t,e,n,r,i,o,a){var s=i===yn,u=Q(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(f(a),s?void f(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new mt(t,this.keyHash,[r,i]):(f(o),Ot(this,t,e,ot(r),[r,i])))},ht.prototype.iterate=yt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},dt.prototype.iterate=gt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},mt.prototype.iterate=function(t,e){return t(this.entry)},t(vt,x),vt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return _t(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,i<=n)return _t(t,r.entries[this._reverse?n-i:i])}else if(n=r.nodes.length-1,i<=n){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return _t(t,o.entry);e=this._stack=bt(o,e)}continue}e=this._stack=this._stack.__prev}return E()};var Yn,Fn=dn/4,Hn=dn/2,qn=dn/4;t(Bt,nt),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("List [","]")},Bt.prototype.get=function(t,e){if((t=g(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&gn]}return e},Bt.prototype.set=function(t,e){return qt(this,t,e)},Bt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Bt.prototype.insert=function(t,e){return this.splice(t,0,e)},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Bt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Qt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Bt.prototype.pop=function(){return Qt(this,0,-1)},Bt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Qt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Bt.prototype.shift=function(){return Qt(this,1)},Bt.prototype.merge=function(){return Zt(this,void 0,arguments)},Bt.prototype.mergeWith=function(t){return Zt(this,t,un.call(arguments,1))},Bt.prototype.mergeDeep=function(){return Zt(this,Dt,arguments)},Bt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Zt(this,Lt(t),e)},Bt.prototype.setSize=function(t){return Qt(this,0,t)},Bt.prototype.slice=function(t,e){var n=this.size;return m(t,e,n)?this:Qt(this,v(t,n),_(e,n))},Bt.prototype.__iterator=function(t,e){var n=0,r=Yt(this,e);return new x(function(){var e=r();return e===Qn?E():w(t,n++,e)})},Bt.prototype.__iterate=function(t,e){for(var n,r=0,i=Yt(this,e);(n=i())!==Qn&&!1!==t(n,r++,this););return r},Bt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ft(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Bt.isList=Kt;var Wn="@@__IMMUTABLE_LIST__@@",Vn=Bt.prototype;Vn[Wn]=!0,Vn.delete=Vn.remove,Vn.setIn=Un.setIn,Vn.deleteIn=Vn.removeIn=Un.removeIn,Vn.update=Un.update,Vn.updateIn=Un.updateIn,Vn.mergeIn=Un.mergeIn,Vn.mergeDeepIn=Un.mergeDeepIn,Vn.withMutations=Un.withMutations,Vn.asMutable=Un.asMutable,Vn.asImmutable=Un.asImmutable,Vn.wasAltered=Un.wasAltered,Ut.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&gn;if(r>=this.array.length)return new Ut([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-hn,n))===a&&o)return this}if(o&&!i)return this;var s=Vt(this,t);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ut.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&gn;if(r>=this.array.length)return this;var i;if(e>0){var o=this.array[r];if((i=o&&o.removeAfter(t,e-hn,n))===o&&r===this.array.length-1)return this}var a=Vt(this,t);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Gn,Qn={};t(Xt,ft),Xt.of=function(){return this(arguments)},Xt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Xt.prototype.set=function(t,e){return ne(this,t,e)},Xt.prototype.remove=function(t){return ne(this,t,yn)},Xt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Xt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Xt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Xt.isOrderedMap=$t,Xt.prototype[pn]=!0,Xt.prototype.delete=Xt.prototype.remove;var Zn;t(re,C),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Oe(this):0,function(i){return t(i,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(bn,e),r=e?Oe(this):0;return new x(function(){var i=n.next();return i.done?i:w(t,e?--r:r++,i.value,i)})},re.prototype[pn]=!0,t(ie,D),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e),r=0;return new x(function(){var e=n.next();return e.done?e:w(t,r++,e.value,e)})},t(oe,L),oe.prototype.has=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new x(function(){var e=n.next();return e.done?e:w(t,e.value,e.value,e)})},t(ae,C),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){ke(e);var r=o(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new x(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){ke(r);var i=o(r);return w(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=oe.prototype.cacheResult=ae.prototype.cacheResult=Ie,t(Le,et),Le.prototype.toString=function(){return this.__toString(Ae(this)+" {","}")},Le.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Le.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Le.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=je(this,wt()))},Le.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ae(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:je(this,n)},Le.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:je(this,e)},Le.prototype.wasAltered=function(){return this._map.wasAltered()},Le.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Le.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Le.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?je(this,e,t):(this.__ownerID=t,this._map=e,this)};var Jn=Le.prototype;Jn.delete=Jn.remove,Jn.deleteIn=Jn.removeIn=Un.removeIn,Jn.merge=Un.merge,Jn.mergeWith=Un.mergeWith,Jn.mergeIn=Un.mergeIn,Jn.mergeDeep=Un.mergeDeep,Jn.mergeDeepWith=Un.mergeDeepWith,Jn.mergeDeepIn=Un.mergeDeepIn,Jn.setIn=Un.setIn,Jn.update=Un.update,Jn.updateIn=Un.updateIn,Jn.withMutations=Un.withMutations,Jn.asMutable=Un.asMutable,Jn.asImmutable=Un.asImmutable,t(Pe,rt),Pe.of=function(){return this(arguments)},Pe.fromKeys=function(t){return this(n(t).keySeq())},Pe.prototype.toString=function(){return this.__toString("Set {","}")},Pe.prototype.has=function(t){return this._map.has(t)},Pe.prototype.add=function(t){return Be(this,this._map.set(t,!0))},Pe.prototype.remove=function(t){return Be(this,this._map.remove(t))},Pe.prototype.clear=function(){return Be(this,this._map.clear())},Pe.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Pe.prototype.intersect=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return i(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Pe.prototype.subtract=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return i(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Pe.prototype.merge=function(){return this.union.apply(this,arguments)},Pe.prototype.mergeWith=function(t){var e=un.call(arguments,1);return this.union.apply(this,e)},Pe.prototype.sort=function(t){return Ye(be(this,t))},Pe.prototype.sortBy=function(t,e){return Ye(be(this,e,t))},Pe.prototype.wasAltered=function(){return this._map.wasAltered()},Pe.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Pe.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Pe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Pe.isSet=Re;var Xn="@@__IMMUTABLE_SET__@@",$n=Pe.prototype;$n[Xn]=!0,$n.delete=$n.remove,$n.mergeDeep=$n.merge,$n.mergeDeepWith=$n.mergeWith,$n.withMutations=Un.withMutations,$n.asMutable=Un.asMutable,$n.asImmutable=Un.asImmutable,$n.__empty=Ue,$n.__make=Ke;var tr;t(Ye,Pe),Ye.of=function(){return this(arguments)},Ye.fromKeys=function(t){return this(n(t).keySeq())},Ye.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ye.isOrderedSet=Fe;var er=Ye.prototype;er[pn]=!0,er.__empty=qe,er.__make=He;var nr;t(We,nt),We.of=function(){return this(arguments)},We.prototype.toString=function(){return this.__toString("Stack [","]")},We.prototype.get=function(t,e){var n=this._head;for(t=g(this,t);n&&t--;)n=n.next;return n?n.value:e},We.prototype.peek=function(){return this._head&&this._head.value},We.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Ge(t,e)},We.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Ge(e,n)},We.prototype.pop=function(){return this.slice(1)},We.prototype.unshift=function(){return this.push.apply(this,arguments)},We.prototype.unshiftAll=function(t){return this.pushAll(t)},We.prototype.shift=function(){return this.pop.apply(this,arguments)},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qe()},We.prototype.slice=function(t,e){if(m(t,e,this.size))return this;var n=v(t,this.size);if(_(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Ge(r,i)},We.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},We.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},We.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new x(function(){if(r){var e=r.value;return r=r.next,w(t,n++,e)}return E()})},We.isStack=Ve;var rr="@@__IMMUTABLE_STACK__@@",ir=We.prototype;ir[rr]=!0,ir.withMutations=Un.withMutations,ir.asMutable=Un.asMutable,ir.asImmutable=Un.asImmutable,ir.wasAltered=Un.wasAltered;var or;e.Iterator=x,Ze(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return ft(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Xt(this.toKeyedSeq())},toOrderedSet:function(){return Ye(a(this)?this.valueSeq():this)},toSet:function(){return Pe(a(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return We(a(this)?this.valueSeq():this)},toList:function(){return Bt(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Se(this,ye(this,un.call(arguments,0)))},includes:function(t){return this.some(function(e){return Q(e,t)})},entries:function(){return this.__iterator(xn)},every:function(t,e){lt(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1}),n},filter:function(t,e){return Se(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate(function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1}),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)}
vendor: 9,532 bytes, line 1
1,forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(_n)},map:function(t,e){return Se(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,i;return arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Se(this,ce(this,!0))},slice:function(t,e){return Se(this,he(this,t,e,!0))},some:function(t,e){return!this.every($e(t),e)},sort:function(t){return Se(this,be(this,t))},values:function(){return this.__iterator(bn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return d(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return fe(this,t,e)},equals:function(t){return Z(this,t)},entrySeq:function(){var t=this;if(t._cache)return new j(t._cache);var e=t.toSeq().map(Xe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter($e(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(y)},flatMap:function(t,e){return Se(this,ve(this,t,e))},flatten:function(t){return Se(this,me(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return Q(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=De(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,yn):yn)===yn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,yn)!==yn},hasIn:function(t){return this.getIn(t,yn)!==yn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keySeq:function(){return this.toSeq().map(Je).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return xe(this,t)},maxBy:function(t,e){return xe(this,e,t)},min:function(t){return xe(this,t?tn(t):rn)},minBy:function(t,e){return xe(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Se(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Se(this,ge(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile($e(t),e)},sortBy:function(t,e){return Se(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Se(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Se(this,de(this,t,e))},takeUntil:function(t,e){return this.takeWhile($e(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[cn]=!0,ar[Sn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,function(){try{Object.defineProperty(ar,"length",{get:function(){if(!e.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Ze(n,{flip:function(){return Se(this,se(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return Q(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return Q(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Se(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Se(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var sr=n.prototype;return sr[ln]=!0,sr[Sn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Ze(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Se(this,le(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Se(this,ce(this,!1))},slice:function(t,e){return Se(this,he(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=v(t,t<0?this.count():this.size);var r=this.slice(0,t);return Se(this,1===n?r:r.concat(h(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Se(this,me(this,t,!1))},get:function(t,e){return t=g(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=g(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Se(this,_e(this,t))},interleave:function(){var t=[this].concat(h(arguments)),e=Ee(this.toSeq(),D.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Se(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Se(this,ge(this,t,e,!1))},zip:function(){return Se(this,Ee(this,nn,[this].concat(h(arguments))))},zipWith:function(t){var e=h(arguments);return e[0]=this,Se(this,Ee(this,t,e))}}),r.prototype[fn]=!0,r.prototype[pn]=!0,Ze(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=ar.includes,Ze(C,n.prototype),Ze(D,r.prototype),Ze(L,i.prototype),Ze(et,n.prototype),Ze(nt,r.prototype),Ze(rt,i.prototype),{Iterable:e,Seq:I,Collection:tt,Map:ft,OrderedMap:Xt,List:Bt,Stack:We,Set:Pe,OrderedSet:Ye,Record:Le,Range:$,Repeat:J,is:Q,fromJS:q}}()}()},function(t,e,n){"use strict";function r(t,e,n,r,o,a,s,u){if(i(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,s,u],f=0;c=new Error(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var i=function(t){};t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n){return S.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function o(t,e){return t.getBlockMap().map(function(n){return d.generate(t,n,e)}).toOrderedMap()}function a(t,e,n,r){var i=t.getCurrentContent().set("entityMap",n),o=i.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter(function(t,e){return t!==o.get(e)}).map(function(t){return d.generate(i,t,r)}))}function s(t,e,n,r,i){return n.merge(e.toSeq().filter(function(e){return r.getDecorations(e,t)!==i.getDecorations(e,t)}).map(function(e){return d.generate(t,e,r)}))}function u(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function c(t,e){var n=e.getStartKey(),r=e.getStartOffset(),i=t.getBlockForKey(n);return r>0?i.getInlineStyleAt(r-1):i.getLength()?i.getInlineStyleAt(0):f(t,n)}function l(t,e){var n=e.getStartKey(),r=e.getStartOffset(),i=t.getBlockForKey(n);return r<i.getLength()?i.getInlineStyleAt(r):r>0?i.getInlineStyleAt(r-1):f(t,n)}function f(t,e){var n=t.getBlockMap().reverse().skipUntil(function(t,n){return n===e}).skip(1).skipUntil(function(t,e){return t.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):_()}var p=n(9),h=p||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},d=n(114),g=n(82),y=n(190),m=n(0),v=n(43),_=m.OrderedSet,b=m.Record,x=m.Stack,w={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:x(),selection:null,treeMap:null,undoStack:x()},E=b(w),S=function(){function t(e){r(this,t),this._immutable=e}return t.createEmpty=function(e){return t.createWithContent(g.createFromText(""),e)},t.createWithContent=function(e,n){var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:x(),redoStack:x(),decorator:n||null,selection:v.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=e.decorator,i=h({},e,{treeMap:o(n,r),directionMap:y.getDirectionMap(n)});return new t(new E(i))},t.set=function(e,n){return new t(e.getImmutable().withMutations(function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var u=n.currentContent||e.getCurrentContent();if(i!==r){var c,l=t.get("treeMap");return c=i&&r?s(u,u.getBlockMap(),l,i,r):o(u,i),void t.merge({decorator:i,treeMap:c,nativelyRenderedContent:null})}u!==e.getCurrentContent()&&t.set("treeMap",a(e,u.getBlockMap(),u.getEntity
vendor: 14,329 bytes, line 1
1Map(),i)),t.merge(n)}))},t.prototype.toJS=function(){return this.getImmutable().toJS()},t.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.prototype.getSelection=function(){return this.getImmutable().get("selection")},t.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},t.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},t.prototype.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?c(e,n):l(e,n)},t.prototype.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.prototype.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.prototype.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent(),e=t.getBlockMap(),n=e.last(),r=n.getLength();return this.getSelection().hasEdgeWithin(n.getKey(),r,r)},t.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(t,e){return i(t,e,!1)},t.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),i(t,e,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent(),r=n.getLastBlock(),i=r.getKey(),o=r.getLength();return t.acceptSelection(e,new v({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){if(e.getCurrentContent()===n)return e;var i="insert-characters"!==r,o=y.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),c=e.getUndoStack(),l=n;a!==s.getSelectionAfter()||u(e,r)?(c=c.push(s),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",s.getSelectionBefore()));var f=e.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(f=null);var p={currentContent:l,directionMap:o,undoStack:c,redoStack:x(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:f};return t.set(e,p)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=y.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=y.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.prototype.getImmutable=function(){return this._immutable},t}();t.exports=S},function(t,e){t.exports=n(0)},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";var r=n(7),i=n(179),o=n(31),a=n(0),s=n(180),u=n(182),c=n(60),l=n(185),f=n(186),p=n(1),h=n(187),d=n(111),g=n(188),y=n(189),m=a.OrderedSet,v={replaceText:function(t,e,n,i,o){var a=d(t,e),s=g(a,e),u=r.create({style:i||m(),entity:o||null});return f(s,s.getSelectionAfter(),n,u)},insertText:function(t,e,n,r,i){return e.isCollapsed()||p(!1),v.replaceText(t,e,n,r,i)},moveText:function(t,e,n){var r=c(t,e),i=v.removeRange(t,e,"backward");return v.replaceWithFragment(i,n,r)},replaceWithFragment:function(t,e,n){var r=d(t,e),i=g(r,e);return l(i,i.getSelectionAfter(),n)},removeRange:function(t,e,n){var r=void 0,i=void 0,a=void 0,s=void 0;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),i=e.getFocusKey(),a=t.getBlockForKey(r),s=t.getBlockForKey(i);var c=e.getStartOffset(),l=e.getEndOffset(),f=a.getEntityAt(c),p=s.getEntityAt(l-1);if(r===i&&f&&f===p){var h=u(t.getEntityMap(),a,s,e,n);return g(t,h)}var y=e;o.draft_segmented_entities_behavior&&(y=u(t.getEntityMap(),a,s,e,n));var m=d(t,y);return g(m,y)},splitBlock:function(t,e){var n=d(t,e),r=g(n,e);return y(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return i.add(t,e,n)},removeInlineStyle:function(t,e,n){return i.remove(t,e,n)},setBlockType:function(t,e,n){return h(t,e,function(t){return t.merge({type:n,depth:0})})},setBlockData:function(t,e,n){return h(t,e,function(t){return t.merge({data:n})})},mergeBlockData:function(t,e,n){return h(t,e,function(t){return t.merge({data:t.getData().merge(n)})})},applyEntity:function(t,e,n){var r=d(t,e);return s(r,e,n)}};t.exports=v},function(t,e,n){var r=n(72)("wks"),i=n(54),o=n(14).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=a.Map,u=a.OrderedSet,c=a.Record,l=u(),f={style:l,entity:null},p=c(f),h=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.getStyle=function(){return this.get("style")},e.prototype.getEntity=function(){return this.get("entity")},e.prototype.hasStyle=function(t){return this.getStyle().includes(t)},e.applyStyle=function(t,n){var r=t.set("style",t.getStyle().add(n));return e.create(r)},e.removeStyle=function(t,n){var r=t.set("style",t.getStyle().remove(n));return e.create(r)},e.applyEntity=function(t,n){var r=t.getEntity()===n?t:t.set("entity",n);return e.create(r)},e.create=function(t){if(!t)return d;var n={style:l,entity:null},r=s(n).merge(t),i=g.get(r);if(i)return i;var o=new e(r);return g=g.set(r,o),o},e}(p),d=new h,g=s([[s(f),d]]);h.EMPTY=d,t.exports=h},function(t,e,n){var r=n(14),i=n(4),o=n(34),a=n(29),s=function(t,e,n){var u,c,l,f=t&s.F,p=t&s.G,h=t&s.S,d=t&s.P,g=t&s.B,y=t&s.W,m=p?i:i[e]||(i[e]={}),v=m.prototype,_=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(u in n)(c=!f&&_&&void 0!==_[u])&&u in m||(l=c?_[u]:n[u],m[u]=p&&"function"!=typeof _[u]?n[u]:g&&c?o(l,r):y&&_[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[u]=l,t&s.R&&v&&!v[u]&&a(v,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,s,u=r(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)o.call(n,l)&&(u[l]=n[l]);if(i){s=i(n);for(var f=0;f<s.length;f++)a.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(7),s=n(0),u=n(49),c=s.List,l=s.Map,f=s.OrderedSet,p=s.Record,h=s.Repeat,d=f(),g={parent:null,characterList:c(),data:l(),depth:0,key:"",text:"",type:"unstyled",children:c(),prevSibling:null,nextSibling:null},y=function(t,e){return t.getStyle()===e.getStyle()},m=function(t,e){return t.getEntity()===e.getEntity()},v=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=c(h(a.EMPTY,n.length))),t},_=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;return r(this,e),i(this,t.call(this,v(n)))}return o(e,t),e.prototype.getKey=function(){return this.get("key")},e.prototype.getType=function(){return this.get("type")},e.prototype.getText=function(){return this.get("text")},e.prototype.getCharacterList=function(){return this.get("characterList")},e.prototype.getLength=function(){return this.getText().length},e.prototype.getDepth=function(){return this.get("depth")},e.prototype.getData=function(){return this.get("data")},e.prototype.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():d},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.getChildKeys=function(){return this.get("children")},e.prototype.getParentKey=function(){return this.get("parent")},e.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},e.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},e.prototype.findStyleRanges=function(t,e){u(this.getCharacterList(),y,t,e)},e.prototype.findEntityRanges=function(t,e){u(this.getCharacterList(),m,t,e)},e}(p(g));t.exports=_},function(t,e,n){var r=n(30),i=n(99),o=n(66),a=Object.defineProperty;e.f=n(15)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";var r=n(177),i=n(48),o=n(7),a=n(193),s=n(37),u=n(82),c=n(85),l=n(117),f=n(194),p=n(119),h=n(61),d=n(5),g=n(115),y=n(2),m=n(64),v=n(133),_=n(43),b=n(257),x=n(131),w=n(260),E=n(25),S=n(92),k=n(265),O={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:s,ContentState:u,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:m,Modifier:d,RichUtils:v,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:x,convertFromRaw:w,convertToRaw:b,genKey:E,getDefaultKeyBinding:S,getVisibleSelectionRect:k};t.exports=O},function(t,e,n){"use strict";var r=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};t.exports=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){t.exports=!n(35)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(102),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){"use strict";function r(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var i=n.slice(t.length);return!!e&&(i=r?r(i):i,a.contains(i,e))}function i(t){return"Windows"===o.platformName?t.replace(/^\s*NT/,""):t}var o=n(200),a=n(203),s=n(204),u=n(205),c={isBrowser:function(t){return r(o.browserName,o.browserFullVersion,t)},isBrowserArchitecture:function(t){return r(o.browserArchitecture,null,t)},isDevice:function(t){return r(o.deviceName,null,t)},isEngine:function(t){return r(o.engineName,o.engineVersion,t)},isPlatform:function(t){return r(o.platformName,o.platformFullVersion,t,i)},isPlatformArchitecture:function(t){return r(o.platformArchitecture,null,t)}};t.exports=s(c,u)},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=d[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(l(r.parts[o],e))}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(l(r.parts[o],e));d[r.id]={id:r.id,refs:1,parts:a}}}}function i(t,e){for(var n=[],r={},i=0;i<t.length;
vendor: 5,215 bytes, line 1
1i++){var o=t[i],a=e.base?o[0]+e.base:o[0],s=o[1],u=o[2],c=o[3],l={css:s,media:u,sourceMap:c};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}function o(t,e){var n=y(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=_[_.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),_.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=_.indexOf(t);e>=0&&_.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),o(t,e),e}function u(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),o(t,e),e}function c(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function l(t,e){var n,r,i,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var c=v++;n=m||(m=s(e)),r=f.bind(null,n,c,!1),i=f.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(e),r=h.bind(null,n,e),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=p.bind(null,n),i=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function f(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=x(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function p(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function h(t,e,n){var r=n.css,i=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&i;(e.convertToAbsoluteUrls||o)&&(r=b(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var d={},g=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),y=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),m=null,v=0,_=[],b=n(294);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=g()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=i(t,e);return r(n,e),function(t){for(var o=[],a=0;a<n.length;a++){var s=n[a],u=d[s.id];u.refs--,o.push(u)}t&&r(i(t,e),e);for(var a=0;a<o.length;a++){var u=o[a];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete d[u.id]}}}};var x=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(97),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=i.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){t.exports={default:n(152),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(75),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,i.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(170),o=r(i),a=n(174),s=r(a),u=n(75),c=r(u);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,c.default)(e)));t.prototype=(0,s.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o.default?(0,o.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";function r(){for(var t=void 0;void 0===t||i.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*o).toString(32);return i[t]=!0,t}var i={},o=Math.pow(2,24);t.exports=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r,i;!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r))t.push(n.apply(null,r));
vendor: 10,646 bytes, line 1
1else if("object"===i)for(var a in r)o.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}var o={}.hasOwnProperty;void 0!==t&&t.exports?t.exports=n:(r=[],void 0!==(i=function(){return n}.apply(e,r))&&(t.exports=i))}()},function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){var r=n(11),i=n(45);t.exports=n(15)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(20);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r=n(178);t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(267);Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})}),Object.defineProperty(e,"Constants",{enumerable:!0,get:function(){return r(i).default}});var o=n(268);Object.defineProperty(e,"getEntityRanges",{enumerable:!0,get:function(){return r(o).default}});var a=n(94);Object.defineProperty(e,"getSelectedBlocks",{enumerable:!0,get:function(){return r(a).default}});var s=n(269);Object.defineProperty(e,"selectionContainsEntity",{enumerable:!0,get:function(){return r(s).default}});var u=n(270);Object.defineProperty(e,"callModifierForSelectedBlocks",{enumerable:!0,get:function(){return r(u).default}})},function(t,e,n){"use strict";function r(t){return!0===a[t]}function i(t){return"function"==typeof t}function o(t,e){null==e&&(e=Object.getPrototypeOf(t));for(var n=Object.getOwnPropertyNames(e),o=n,a=Array.isArray(o),s=0,o=a?o:o[Symbol.iterator]();;){var u;if(a){if(s>=o.length)break;u=o[s++]}else{if(s=o.next(),s.done)break;u=s.value}var c=u;i(e[c])&&!r(c)&&(t[c]=e[c].bind(t))}}e.__esModule=!0,e.default=o;var a={getChildContext:!0,render:!0,componentWillMount:!0,componentDidMount:!0,componentWillReceiveProps:!0,shouldComponentUpdate:!0,componentWillUpdate:!0,componentDidUpdate:!0,componentWillUnmount:!0}},function(t,e,n){var r=n(98);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return t.getStyle()===e.getStyle()}function s(t,e){return t.getEntity()===e.getEntity()}var u=n(7),c=n(0),l=n(49),f=c.List,p=c.Map,h=c.OrderedSet,d=c.Record,g=c.Repeat,y=h(),m={key:"",type:"unstyled",text:"",characterList:f(),depth:0,data:p()},v=d(m),_=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=f(g(u.EMPTY,n.length))),t},b=function(t){function e(n){return r(this,e),i(this,t.call(this,_(n)))}return o(e,t),e.prototype.getKey=function(){return this.get("key")},e.prototype.getType=function(){return this.get("type")},e.prototype.getText=function(){return this.get("text")},e.prototype.getCharacterList=function(){return this.get("characterList")},e.prototype.getLength=function(){return this.getText().length},e.prototype.getDepth=function(){return this.get("depth")},e.prototype.getData=function(){return this.get("data")},e.prototype.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():y},e.prototype.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},e.prototype.findStyleRanges=function(t,e){l(this.getCharacterList(),a,t,e)},e.prototype.findEntityRanges=function(t,e){l(this.getCharacterList(),s,t,e)},e}(v);t.exports=b},function(t,e){t.exports=n(66)},function(t,e,n){"use strict";function r(t){return p<=t&&t<=g}function i(t,e){if(0<=e&&e<t.length||f(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),r=t.charCodeAt(e+1);return p<=n&&n<=h&&d<=r&&r<=g}function o(t){return y.test(t)}function a(t,e){return 1+r(t.charCodeAt(e))}function s(t){if(!o(t))return t.length;for(var e=0,n=0;n<t.length;n+=a(t,n))e++;return e}function u(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!o(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var i=0;if(e>0){for(;e>0&&i<r;e--)i+=a(t,i);if(i>=r)return""}else if(e<0){for(i=r;e<0&&0<i;e++)i-=a(t,i-1);i<0&&(i=0)}var s=r;if(n<r)for(s=i;n>0&&s<r;n--)s+=a(t,s);return t.substring(i,s)}function c(t,e,n){e=e||0,n=void 0===n?1/0:n||0,e<0&&(e=0),n<0&&(n=0);var r=Math.abs(n-e);return e=e<n?e:n,u(t,e,r)}function l(t){for(var e=[],n=0;n<t.length;n+=a(t,n))e.push(t.codePointAt(n));return e}var f=n(1),p=55296,h=56319,d=56320,g=57343,y=/[\uD800-\uDFFF]/,m={getCodePoints:l,getUTF16Length:a,hasSurrogateUnit:o,isCodeUnitInSurrogateRange:r,isSurrogatePair:i,strlen:s,substring:c,substr:u};t.exports=m},function(t,e,n){var r=n(67),i=n(69);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},function(t,e){t.exports={}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=a.Record,u={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},c=s(u),l=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},e.prototype.getAnchorKey=function(){return this.get("anchorKey")},e.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},e.prototype.getFocusKey=function(){return this.get("focusKey")},e.prototype.getFocusOffset=function(){return this.get("focusOffset")},e.prototype.getIsBackward=function(){return this.get("isBackward")},e.prototype.getHasFocus=function(){return this.get("hasFocus")},e.prototype.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===t){var o=this.getStartOffset();return e<=this.getEndOffset()&&o<=n}if(t!==r&&t!==i)return!1;var a=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=a&&n>=a},e.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},e.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},e.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},e.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},e.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},e.createEmpty=function(t){return new e({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},e}(c);t.exports=l},function(t,e,n){"use strict";function r(t){return"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}).map(i).join(" "):Array.prototype.map.call(arguments,i).join(" ")}function i(t){return t.replace(/\//g,"-")}t.exports=r},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(69);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(157)(!0);n(76)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),i=r.OrderedMap,o={createFromArray:function(t){return i(t.map(function(t){return[t.getKey(),t]}))}};t.exports=o},function(t,e,n){"use strict";function r(t,e,n,r){if(t.size){var i=0;t.reduce(function(t,o,a){return e(t,o)||(n(t)&&r(i,a),i=a),o}),n(t.last())&&r(i,t.count())}}t.exports=r},function(t,e,n){"use strict";function r(t){return"handled"===t||!0===t}t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=t.getSelection(),o=t.getCurrentContent(),a=r;if(r.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return o}else if(t.isSelectionAtStartOfContent())return o;if((a=e(t))===r)return o}return i.removeRange(o,a,n)}var i=n(5);t.exports=r},function(t,e,n){var r=n(101),i=n(73);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(70),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";
vendor: 5,643 bytes, line 1
1e.__esModule=!0;var r=n(102),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e,n){return e in t?(0,i.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(30),i=n(159),o=n(73),a=n(71)("IE_PROTO"),s=function(){},u=function(){var t,e=n(100)("iframe"),r=o.length;for(e.style.display="none",n(160).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(11).f,i=n(36),o=n(6)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){n(161);for(var r=n(14),i=n(29),o=n(42),a=n(6)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var c=s[u],l=r[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},function(t,e,n){"use strict";var r=n(110),i=n(111),o=function(t,e){var n=e.getStartKey(),o=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),u=i(t,e),c=u.getBlockMap(),l=c.keySeq(),f=l.indexOf(n),p=l.indexOf(a)+1;return r(c.slice(f,p).map(function(t,e){var r=t.getText(),i=t.getCharacterList();return n===a?t.merge({text:r.slice(o,s),characterList:i.slice(o,s)}):e===n?t.merge({text:r.slice(o),characterList:i.slice(o)}):e===a?t.merge({text:r.slice(0,s),characterList:i.slice(0,s)}):t}))};t.exports=o},function(t,e,n){"use strict";function r(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var i=n(9),o=i||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(115),s=n(0),u=n(1),c=s.Map,l=c(),f=0,p={getLastCreatedEntityKey:function(){return r("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(t,e,n){return r("DraftEntity.create","contentState.createEntity"),p.__create(t,e,n)},add:function(t){return r("DraftEntity.add","contentState.addEntity"),p.__add(t)},get:function(t){return r("DraftEntity.get","contentState.getEntity"),p.__get(t)},mergeData:function(t,e){return r("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(t,e)},replaceData:function(t,e){return r("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return""+f},__create:function(t,e,n){return p.__add(new a({type:t,mutability:e,data:n||{}}))},__add:function(t){var e=""+ ++f;return l=l.set(e,t),e},__get:function(t){var e=l.get(t);return e||u(!1),e},__mergeData:function(t,e){var n=p.__get(t),r=o({},n.getData(),e),i=n.set("data",r);return l=l.set(t,i),i},__replaceData:function(t,e){var n=p.__get(t),r=n.set("data",e);return l=l.set(t,r),r}};t.exports=p},function(t,e,n){"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(t,e,n){"use strict";var r={encode:function(t,e,n){return t+"-"+e+"-"+n},decode:function(t){var e=t.split("-"),n=e[0],r=e[1],i=e[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(i,10)}}};t.exports=r},function(t,e,n){"use strict";var r=n(18),i=r.isPlatform("Mac OS X"),o={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return i&&t.altKey},hasCommandModifier:function(t){return i?!!t.metaKey&&!t.altKey:o.isCtrlKeyCommand(t)}};t.exports=o},function(t,e,n){var r=n(34),i=n(136),o=n(137),a=n(30),s=n(53),u=n(95),c={},l={},e=t.exports=function(t,e,n,f,p){var h,d,g,y,m=p?function(){return t}:u(t),v=r(n,f,e?2:1),_=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(h=s(t.length);h>_;_++)if((y=e?v(a(d=t[_])[0],d[1]):v(t[_]))===c||y===l)return y}else for(g=m.call(t);!(d=g.next()).done;)if((y=i(g,v,d.value,e))===c||y===l)return y};e.BREAK=c,e.RETURN=l},function(t,e,n){var r=n(20);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(68);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(72)("keys"),i=n(54);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(14),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleStr
1ing,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(155),o=r(i),a=n(163),s=r(a),u="function"==typeof s.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===u(o.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":void 0===t?"undefined":u(t)}},function(t,e,n){"use strict";var r=n(77),i=n(8),o=n(104),a=n(29),s=n(36),u=n(42),c=n(158),l=n(58),f=n(103),p=n(6)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,g,y,m,v){c(n,e,g);var _,b,x,w=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",S="values"==y,k=!1,O=t.prototype,M=O[p]||O["@@iterator"]||y&&O[y],T=!h&&M||w(y),I=y?S?w("entries"):T:void 0,C="Array"==e?O.entries||M:M;if(C&&(x=f(C.call(new t)))!==Object.prototype&&x.next&&(l(x,E,!0),r||s(x,p)||a(x,p,d)),S&&M&&"values"!==M.name&&(k=!0,T=function(){return M.call(this)}),r&&!v||!h&&!k&&O[p]||a(O,p,T),u[e]=T,u[E]=d,y)if(_={values:S?T:w("values"),keys:m?T:w("keys"),entries:I},v)for(b in _)b in O||o(O,b,_[b]);else i(i.P+i.F*(h||k),e,_);return _}},function(t,e){t.exports=!0},function(t,e,n){e.f=n(6)},function(t,e,n){var r=n(54)("meta"),i=n(20),o=n(36),a=n(11).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(35)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},h=function(t){return c&&d.NEED&&u(t)&&!o(t,r)&&l(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:h}},function(t,e,n){var r=n(14),i=n(4),o=n(77),a=n(78),s=n(11).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(48),s=n(7),u=n(37),c=n(10),l=n(61),f=n(31),p=n(0),h=n(43),d=n(25),g=n(83),y=p.List,m=p.Record,v=p.Repeat,_=f.draft_tree_data_support,b={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},x=_?c:u,w=m(b),E=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.getEntityMap=function(){return l},e.prototype.getBlockMap=function(){return this.get("blockMap")},e.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},e.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},e.prototype.getBlockForKey=function(t){return this.getBlockMap().get(t)},e.prototype.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil(function(e){return e===t}).skip(1).first()},e.prototype.getBlockAfter=function(t){return this.getBlockMap().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).first()},e.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},e.prototype.getFirstBlock=function(){return this.getBlockMap().first()},e.prototype.getLastBlock=function(){return this.getBlockMap().last(
vendor: 6,208 bytes, line 1
1)},e.prototype.getPlainText=function(t){return this.getBlockMap().map(function(t){return t?t.getText():""}).join(t||"\n")},e.prototype.getLastCreatedEntityKey=function(){return l.__getLastCreatedEntityKey()},e.prototype.hasText=function(){var t=this.getBlockMap();return t.size>1||t.first().getLength()>0},e.prototype.createEntity=function(t,e,n){return l.__create(t,e,n),this},e.prototype.mergeEntityData=function(t,e){return l.__mergeData(t,e),this},e.prototype.replaceEntityData=function(t,e){return l.__replaceData(t,e),this},e.prototype.addEntity=function(t){return l.__add(t),this},e.prototype.getEntity=function(t){return l.__get(t)},e.createFromBlockArray=function(t,n){var r=Array.isArray(t)?t:t.contentBlocks,i=a.createFromArray(r),o=i.isEmpty()?new h:h.createEmpty(i.first().getKey());return new e({blockMap:i,entityMap:n||l,selectionBefore:o,selectionAfter:o})},e.createFromText=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=t.split(n),i=r.map(function(t){return t=g(t),new x({key:d(),text:t,type:"unstyled",characterList:y(v(s.EMPTY,t.length))})});return e.createFromBlockArray(i)},e}(w);t.exports=E},function(t,e,n){"use strict";function r(t){return t.replace(i,"")}var i=new RegExp("\r","g");t.exports=r},function(t,e,n){"use strict";function r(t){return t===l||t===f}function i(t){return r(t)||c(!1),t===l?"ltr":"rtl"}function o(t,e){return r(t)||c(!1),r(e)||c(!1),t===e?null:i(t)}function a(t){p=t}function s(){a(l)}function u(){return p||this.initGlobalDir(),p||c(!1),p}var c=n(1),l="LTR",f="RTL",p=null,h={NEUTRAL:"NEUTRAL",LTR:l,RTL:f,isStrong:r,getHTMLDir:i,getHTMLDirIfDifferent:o,setGlobalDir:a,initGlobalDir:s,getGlobalDir:u};t.exports=h},function(t,e,n){"use strict";var r=n(0),i=r.Map,o=n(3),a=n(44),s=o.createElement("ul",{className:a("public/DraftStyleDefault/ul")}),u=o.createElement("ol",{className:a("public/DraftStyleDefault/ol")}),c=o.createElement("pre",{className:a("public/DraftStyleDefault/pre")}),l=i({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:s},"ordered-list-item":{element:"li",wrapper:u},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:c},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=l},function(t,e,n){"use strict";function r(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),o=e.getAnchorOffset();return o>0?(n=t.getBlockForKey(r).getEntityAt(o-1),n!==t.getBlockForKey(r).getEntityAt(o)?null:i(t.getEntityMap(),n)):null}var a=e.getStartKey(),s=e.getStartOffset(),u=t.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),i(t.getEntityMap(),n)}function i(t,e){return e&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=r},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!i(t)&&(i(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var i=n(208);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var i=n(210),o={get:i,getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},function(t,e,n){"use strict";function r(t){var e=i(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),r=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-r.clientWidth,s=t.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}var i=n(215),o=n(216);t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=t;e&&e!==document.documentElement;){var n=i(e);if(null!=n)return n;e=e.parentNode}return null}var i=n(123);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.getSelection(),r=t.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(e>o){var u=r.getKeyBefore(i);null==u?a=i:(a=u,s=r.getBlockForKey(u).getText().length)}else s=o-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}t.exports=r},function(t,e,n){"use strict";function r(t){return f&&t.altKey||g(t)}function i(t){return d(t)?t.shiftKey?"redo":"undo":null}function o(t){return p&&t.shiftKey?null:r(t)?"delete-word":"delete"}function a(t){return d(t)&&f?"backspace-to-start-of-line":r(t)?"backspace-word":"backspace"}function s(t){switch(t.keyCode){case 66:return d(t)?"bold":null;case 68:return g(t)?"delete":null;case 72:return g(t)?"backspace":null;case 73:return d(t)?"italic":null;case 74:return d(t)?"code":null;case 75:return!p&&g(t)?"secondary-cut":null;case 77:case 79:return g(t)?"split-block":null;case 84:return f&&g(t)?"transpose-characters":null;case 85:return d(t)?"underline":null;case 87:return f&&g(t)?"backspace-word":null;case 89:return g(t)?p?"redo":"secondary-paste":null;case 90:return i(t)||null;case c.RETURN:return"split-block";case c.DELETE:return o(t);case c.BACKSPACE:return a(t);case c.LEFT:return h&&d(t)?"move-selection-to-start-of-block":null;case c.RIGHT:return h&&d(t)?"move-selection-to-end-of-block":null;default:return null}}var u=n(64),c=n(62),l=n(18),f=l.isPlatform("Mac OS X"),p=l.isPlatform("Windows"),h=f&&l.isBrowser("Firefox < 29"),d=u.hasCommandModifier,g=u.isCtrlKeyCommand;t.exports=s},function(t,e,n){!function(e,n){t.exports=function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return o(t)?t:I(t)}function n(t){return a(t)?t:C(t)}function r(t){return s(t)?t:D(t)}function i(t){return o(t)&&!u(t)?t:L(t)}function o(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[fn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[pn])}function l(t){return t.value=!1,t}function f(t){t&&(t.value=!0)}function p(){}function h(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function d(t){return void 0===t.size&&(t.size=t.__iterate(y)),t.size}function g(t,e){if("number"!=typeof e){var n=e>>>0;
vendor: 37,301 bytes, line 1
1if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?d(t)+e:e}function y(){return!0}function m(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function v(t,e){return b(t,e,0)}function _(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function x(t){this.next=t}function w(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function E(){return{value:void 0,done:!0}}function S(t){return!!M(t)}function k(t){return t&&"function"==typeof t.next}function O(t){var e=M(t);return e&&e.call(t)}function M(t){var e=t&&(wn&&t[wn]||t[En]);if("function"==typeof e)return e}function T(t){return t&&"number"==typeof t.length}function I(t){return null===t||void 0===t?R():o(t)?t.toSeq():U(t)}function C(t){return null===t||void 0===t?R().toKeyedSeq():o(t)?a(t)?t.toSeq():t.fromEntrySeq():B(t)}function D(t){return null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t.toIndexedSeq():K(t)}function L(t){return(null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t:K(t)).toSetSeq()}function j(t){this._array=t,this.size=t.length}function A(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function N(t){this._iterable=t,this.size=t.length||t.size}function z(t){this._iterator=t,this._iteratorCache=[]}function P(t){return!(!t||!t[kn])}function R(){return On||(On=new j([]))}function B(t){var e=Array.isArray(t)?new j(t).fromEntrySeq():k(t)?new z(t).fromEntrySeq():S(t)?new N(t).fromEntrySeq():"object"==typeof t?new A(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function K(t){var e=Y(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function U(t){var e=Y(t)||"object"==typeof t&&new A(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function Y(t){return T(t)?new j(t):k(t)?new z(t):S(t)?new N(t):void 0}function F(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new x(function(){var t=i[n?o-a:a];return a++>o?E():w(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function q(t,e){return e?W(e,t,"",{"":t}):V(t)}function W(t,e,n,r){return Array.isArray(e)?t.call(r,n,D(e).map(function(n,r){return W(t,n,r,e)})):G(e)?t.call(r,n,C(e).map(function(n,r){return W(t,n,r,e)})):e}function V(t){return Array.isArray(t)?D(t).map(V).toList():G(t)?C(t).map(V).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function Q(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function Z(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&Q(i[1],t)&&(n||Q(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var l=t;t=e,e=l}var f=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):i?!Q(e,t.get(r,yn)):!Q(t.get(r,yn),e))return f=!1,!1});return f&&t.size===p}function J(t,e){if(!(this instanceof J))return new J(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Mn)return Mn;Mn=this}}function X(t,e){if(!t)throw new Error(e)}function $(t,e,n){if(!(this instanceof $))return new $(t,e,n);if(X(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Tn)return Tn;Tn=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function it(t){return t>>>1&1073741824|3221225471&t}function ot(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>zn?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Bn[t];return void 0===e&&(e=st(t),Rn===Pn&&(Rn=0,Bn={}),Rn++,Bn[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return it(e)}function ut(t){var e;if(jn&&void 0!==(e=In.get(t)))return e;if(void 0!==(e=t[Nn]))return e;if(!Ln){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Nn]))return e;if(void 0!==(e=ct(t)))return e}if(e=++An,1073741824&An&&(An=0),jn)In.set(t,e);else{if(void 0!==Dn&&!1===Dn(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Ln)Object.defineProperty(t,Nn,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Nn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Nn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){X(t!==1/0,"Cannot perform this action with an infinite size.")}function ft(t){return null===t||void 0===t?wt():pt(t)&&!c(t)?t:wt().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Kn])}function ht(t,e){this.ownerID=t,this.entries=e}function dt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function gt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function mt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function vt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function _t(t,e){return w(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function xt(t,e,n,r){var i=Object.create(Un);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function wt(){return Yn||(Yn=xt(0))}function Et(t,e,n){var r,i;if(t._root){var o=l(mn),a=l(vn);if(r=St(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===yn?-1:1:0)}else{if(n===yn)return t;i=1,r=new ht(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?xt(i,r):wt()}function St(t,e,n,r,i,o,a,s){return t?t.update(e,n,r,i,o,a,s):o===yn?t:(f(s),f(a),new mt(e,r,[i,o]))}function kt(t){return t.constructor===mt||t.constructor===yt}function Ot(t,e,n,r,i){if(t.keyHash===r)return new yt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&gn,s=(0===n?r:r>>>n)&gn;return new dt(e,1<<a|1<<s,a===s?[Ot(t,e,n+hn,r,i)]:(o=new mt(e,r,i),a<s?[t,o]:[o,t]))}function Mt(t,e,n,r){t||(t=new p);for(var i=new mt(t,ot(n),[n,r]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}function Tt(t,e,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new dt(t,i,a)}function It(t,e,n,r,i){for(var o=0,a=new Array(dn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new gt(t,o+1,a)}function Ct(t,e,r){for(var i=[],a=0;a<r.length;a++){var s=r[a],u=n(s);o(s)||(u=u.map(function(t){return q(t)})),i.push(u)}return jt(t,e,i)}function Dt(t,e,n){return t&&t.mergeDeep&&o(e)?t.mergeDeep(e):Q(t,e)?t:e}function Lt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&o(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return Q(e,i)?e:i}}function jt(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,yn,function(t){return t===yn?n:e(t,n,r)})}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)}):t.constructor(n[0])}function At(t,e,n,r){var i=t===yn,o=e.next();if(o.done){var a=i?n:t,s=r(a);return s===a?t:s}X(i||t&&t.set,"invalid keyPath");var u=o.value,c=i?yn:t.get(u,yn),l=At(c,e,n,r);return l===c?t:l===yn?t.remove(u):(i?wt():t).set(u,l)}function Nt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function zt(t,e,n,r){var i=r?t:h(t);return i[e]=n,i}function Pt(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,s=0;s<i;s++)s===e?(o[s]=n,a=-1):o[s]=t[s+a];return o}function Rt(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,a=0;a<r;a++)a===e&&(o=1),i[a]=t[a+o];return i}function Bt(t){var e=Ht();if(null===t||void 0===t)return e;if(Kt(t))return t;var n=r(t),i=n.size;return 0===i?e:(lt(i),i>0&&i<dn?Ft(0,i,hn,null,new Ut(n.toArray())):e.withMutations(function(t){t.setSize(i),n.forEach(function(e,n){return t.set(n,e)})}))}function Kt(t){return!(!t||!t[Wn])}function Ut(t,e){this.array=t,this.ownerID=e}function Yt(t,e){function n(t,e,n){return 0===e?r(t,n):i(t,e,n)}function r(t,n){var r=n===s?u&&u.array:t&&t.array,i=n>o?0:o-n,c=a-n;return c>dn&&(c=dn),function(){if(i===c)return Qn;var t=e?--c:i++;return r&&r[t]}}function i(t,r,i){var s,u=t&&t.array,c=i>o?0:o-i>>r,l=1+(a-i>>r);return l>dn&&(l=dn),function(){for(;;){if(s){var t=s();if(t!==Qn)return t;s=null}if(c===l)return Qn;var o=e?--l:c++;s=n(u&&u[o],r-hn,i+(o<<r))}}}var o=t._origin,a=t._capacity,s=Jt(a),u=t._tail;return n(t._root,t._level,0)}function Ft(t,e,n,r,i,o,a){var s=Object.create(Vn);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Ht(){return Gn||(Gn=Ft(0,0,hn))}function qt(t,e,n){if((e=g(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Qt(t,e).set(0,n):Qt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=l(vn);return e>=Jt(t._capacity)?r=Wt(r,t.__ownerID,0,e,n,o):i=Wt(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Ft(t._origin,t._capacity,t._level,i,r):t}function Wt(t,e,n,r,i,o){var a=r>>>n&gn,s=t&&a<t.array.length;if(!s&&void 0===i)return t;var u;if(n>0){var c=t&&t.array[a],l=Wt(c,e,n-hn,r,i,o);return l===c?t:(u=Vt(t,e),u.array[a]=l,u)}return s&&t.array[a]===i?t:(f(o),u=Vt(t,e),void 0===i&&a===u.array.length-1?u.array.pop():u.array[a]=i,u)}function Vt(t,e){return e&&t&&e===t.ownerID?t:new Ut(t?t.array.slice():[],e)}function Gt(t,e){if(e>=Jt(t._capacity))return t._tail;if(e<1<<t._level+hn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&gn],r-=hn;return n}}function Qt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new Ut(c&&c.array.length?[void 0,c]:[],r),u+=hn,l+=1<<u;l&&(a+=l,i+=l,s+=l,o+=l);for(var f=Jt(o),h=Jt(s);h>=1<<u+hn;)c=new Ut(c&&c.array.length?[c]:[],r),u+=hn;var d=t._tail,g=h<f?Gt(t,s-1):h>f?new Ut([],r):d;if(d&&h>f&&a<o&&d.array.length){c=Vt(c,r);for(var y=c,m=u;m>hn;m-=hn){var v=f>>>m&gn;y=y.array[v]=Vt(y.array[v],r)}y.array[f>>>hn&gn]=d}if(s<o&&(g=g&&g.removeAfter(r,0,s)),a>=h)a-=h,s-=h,u=hn,c=null,g=g&&g.removeBefore(r,0,a);else if(a>i||h<f){for(l=0;c;){var _=a>>>u&gn;if(_!==h>>>u&gn)break;_&&(l+=(1<<u)*_),u-=hn,c=c.array[_]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&h<f&&(c=c.removeAfter(r,u,h-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):Ft(a,s,u,c,g)}function Zt(t,e,n){for(var i=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),o(u)||(c=c.map(function(t){return q(t)})),i.push(c)}return a>t.size&&(t=t.setSize(a)),jt(t,e,i)}function Jt(t){return t<dn?0:t-1>>>hn<<hn}function Xt(t){return null===t||void 0===t?ee():$t(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function $t(t){return pt(t)&&c(t)}function te(t,e,n,r){var i=Object.create(Xt.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function ee(){return Zn||(Zn=te(wt(),Ht()))}function ne(t,e,n){var r,i,o=t._map,a=t._list,s=o.get(e),u=void 0!==s;if(n===yn){if(!u)return t;a.size>=dn&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&s!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):te(r,i)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Te(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Ie,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===xn){var r=t.__iterator(e,n);return new x(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===bn?_n:bn,n)},e}function ue(t,e,n){var r=Te(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,yn);return o===yn?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return!1!==r(e.call(n,t,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(xn,i);return new x(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return w(r,s,e.call(n,a[1],s,t),i)})},r}function ce(t,e){var n=Te(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Ie,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function le(t,e,n,r){var i=Te(t);return r&&(i.has=function(r){var i=t.get(r,yn);return i!==yn&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,yn);return o!==yn&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate(function(t,o,u){if(e.call(n,t,o,u))return s++,i(t,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(xn,o),s=0;return new x(function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return w(i,r?c:s++,l,o)}})},i}function fe(t,e,n){var r=ft().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),i=(c(t)?Xt():ft()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return t=t||[],t.push(r?[a,o]:o),t})});var o=Me(t);return i.map(function(e){return Se(t,o(e))})}function he(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),m(e,n,i))return t;var o=v(e,i),a=_(n,i);if(o!==o||a!==a)return he(t.toSeq().cacheResult(),e,n,r);var s,u=a-o;u===u&&(s=u<0?0:u);var c=Te(t);return c.size=0===s?s:t.size&&s||void 0,!r&&P(t)&&s>=0&&(c.get=function(e,n){return e=g(this,e),e>=0&&e<s?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,u=!0,c=0;return t.__iterate(function(t,n){if(!u||!(u=a++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==s}),c},c.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var i=0!==s&&t.__iterator(e,n),a=0,u=0;return new x(function(){for(;a++<o;)i.next();if(++u>s)return E();var t=i.next();return r||e===bn?t:e===_n?w(e,u-1,void 0,t):w(e,u-1,t.value[1],t)})},c}function de(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,s){return e.call(n,t,i,s)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(xn,i),s=!0;return new x(function(){if(!s)return E();var t=a.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?r===xn?t:w(r,u,c,t):(s=!1,E())})},r}function ge(t,e,n,r){var i=Te(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate(function(t,o,c){if(!s||!(s=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,a)}),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(xn,o),u=!0,c=0;return new x(function(){var t,o,l;do{if(t=s.next(),t.done)return r||i===bn?t:i===_n?w(i,c++,void 0,t):w(i,c++,t.value[1],t);var f=t.value;o=f[0],l=f[1],u&&(u=e.call(n,l,o,a))}while(u);return i===xn?t:w(i,o,l,t)})},i}function ye(t,e){var r=a(t),i=[t].concat(e).map(function(t){return o(t)?r&&(t=n(t)):t=r?B(t):K(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var u=i[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new j(i);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function me(t,e,n){var r=Te(t);return r.__iterateUncached=function(r,i){function a(t,c){var l=this;t.__iterate(function(t,i){return(!e||c<e)&&o(t)?a(t,c+1):!1===r(t,n?i:s++,l)&&(u=!0),!u},i)}var s=0,u=!1;return a(t,0),s},r.__iteratorUncached=function(r,i){var a=t.__iterator(r,i),s=[],u=0;return new x(function(){for(;a;){var t=a.next();if(!1===t.done){var c=t.value;if(r===xn&&(c=c[1]),e&&!(s.length<e)||!o(c))return n?t:w(r,u++,c,t);s.push(a),a=c.__iterator(r,i)}else a=s.pop()}return E()})},r}function ve(t,e,n){var r=Me(t);return t.toSeq().map(function(i,o){return r(e.call(n,i,o,t))}).flatten(!0)}function _e(t,e){var n=Te(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate(function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)},r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(bn,r),a=0;return new x(function(){return(!i||a%2)&&(i=o.next(),i.done)?i:a%2?w(n,a++,e):w(n,a++,i.value,i)})},n}function be(t,e,n){e||(e=Ce);var r=a(t),i=0,o=t.toSeq().map(function(e,r){return[r,e,i++,n?n(e,r,t):e]}).toArray();return o.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?C(o):s(t)?D(o):L(o)}function xe(t,e,n){if(e||(e=Ce),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return we(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return we(e,t,n)?n:t})}function we(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function Ee(t,n,r){var i=Te(t);return i.size=new j(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(bn,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=e(t),O(i?t.reverse():t)}),a=0,s=!1;return new x(function(){var e;return s||(e=o.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?E():w(t,a++,n.apply(null,e.map(function(t){return t.value})))})},i}function Se(t,e){return P(t)?e:t.constructor(e)}function ke(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Oe(t){return lt(t.size),d(t)}function Me(t){return a(t)?n:s(t)?r:i}function Te(t){return Object.create((a(t)?C:s(t)?D:L).prototype)}function Ie(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):I.prototype.cacheResult.call(this)}function Ce(t,e){return t>e?1:t<e?-1:0}function De(t){var n=O(t);if(!n){if(!T(t))throw new TypeError("Expected iterable or array-like: "+t);n=O(e(t))}return n}function Le(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(t);Ne(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=ft(o)},i=r.prototype=Object.create(Jn);return i.constructor=r,r}function je(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ae(t){return t._name||t.constructor.name||"Record"}function Ne(t,e){try{e.forEach(ze.bind(void 0,t))}catch(t){}}function ze(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){X(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Pe(t){return null===t||void 0===t?Ue():Re(t)&&!c(t)?t:Ue().withMutations(function(e){var n=i(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Re(t){return!(!t||!t[Xn])}function Be(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Ke(t,e){var n=Object.create($n);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ue(){return tr||(tr=Ke(wt()))}function Ye(t){return null===t||void 0===t?qe():Fe(t)?t:qe().withMutations(function(e){var n=i(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Fe(t){return Re(t)&&c(t)}function He(t,e){var n=Object.create(er);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function qe(){return nr||(nr=He(ee()))}function We(t){return null===t||void 0===t?Qe():Ve(t)?t:Qe().unshiftAll(t)}function Ve(t){return!(!t||!t[rr])}function Ge(t,e,n,r){var i=Object.create(ir);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qe(){return or||(or=Ge(0))}function Ze(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Je(t,e){return e}function Xe(t,e){return[e,t]}function $e(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):String(t)}function nn(){return h(arguments)}function rn(t,e){return t<e?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+sn(ot(t),ot(e))|0}:function(t,e){r=r+sn(ot(t),ot(e))|0}:e?function(t){r=31*r+ot(t)|0}:function(t){r=r+ot(t)|0}),r)}function an(t,e){return e=Cn(e,3432918353),e=Cn(e<<15|e>>>-15,461845907),e=Cn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Cn(e^e>>>16,2246822507),e=Cn(e^e>>>13,3266489909),e=it(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(i,e),e.isIterable=o,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=i;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",hn=5,dn=1<<hn,gn=dn-1,yn={},mn={value:!1},vn={value:!1},_n=0,bn=1,xn=2,wn="function"==typeof Symbol&&Symbol.iterator,En="@@iterator",Sn=wn||En;x.prototype.toString=function(){return"[Iterator]"},x.KEYS=_n,x.VALUES=bn,x.ENTRIES=xn,x.prototype.inspect=x.prototype.toSource=function(){return this.toString()},x.prototype[Sn]=function(){return this},t(I,e),I.of=function(){return I(arguments)},I.prototype.toSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq {","}")},I.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},I.prototype.__iterate=function(t,e){return F(this,t,e,!0)},I.prototype.__iterator=function(t,e){return H(this,t,e,!0)},t(C,I),C.prototype.toKeyedSeq=function(){return this},t(D,I),D.of=function(){return D(arguments)},D.prototype.toIndexedSeq=function(){return this},D.prototype.toString=function(){return this.__toString("Seq [","]")},D.prototype.__iterate=function(t,e){return F(this,t,e,!1)},D.prototype.__iterator=function(t,e){return H(this,t,e,!1)},t(L,I),L.of=function(){return L(arguments)},L.prototype.toSetSeq=function(){return this},I.isSeq=P,I.Keyed=C,I.Set=L,I.Indexed=D;var kn="@@__IMMUTABLE_SEQ__@@";I.prototype[kn]=!0,t(j,D),j.prototype.get=function(t,e){return this.has(t)?this._array[g(this,t)]:e},j.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},j.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new x(function(){return i>r?E():w(t,i,n[e?r-i++:i++])})},t(A,C),A.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},A.prototype.has=function(t){return this._object.hasOwnProperty(t)},A.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(!1===t(n[a],a,this))return o+1}return o},A.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new x(function(){var a=r[e?i-o:o];return o++>i?E():w(t,a,n[a])})},A.prototype[pn]=!0,t(N,D),N.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=O(n),i=0;if(k(r))for(var o;!(o=r.next()).done&&!1!==t(o.value,i++,this););return i},N.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=O(n);if(!k(r))return new x(E);var i=0;return new x(function(){var e=r.next();return e.done?e:w(t,i++,e.value)})},t(z,D),z.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,i=0;i<r.length;)if(!1===t(r[i],i++,this))return i;for(var o;!(o=n.next()).done;){var a=o.value;if(r[i]=a,!1===t(a,i++,this))break}return i},z.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new x(function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return w(t,i,r[i++])})};var On;t(J,D),J.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},J.prototype.get=function(t,e){return this.has(t)?this._value:e},J.prototype.includes=function(t){return Q(this._value,t)},J.prototype.slice=function(t,e){var n=this.size;return m(t,e,n)?this:new J(this._value,_(e,n)-v(t,n))},J.prototype.reverse=function(){return this},J.prototype.indexOf=function(t){return Q(this._value,t)?0:-1},J.prototype.lastIndexOf=function(t){return Q(this._value,t)?this.size:-1},J.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},J.prototype.__iterator=function(t,e){var n=this,r=0;return new x(function(){return r<n.size?w(t,r++,n._value):E()})},J.prototype.equals=function(t){return t instanceof J?Q(this._value,t._value):Z(t)};var Mn;t($,D),$.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},$.prototype.get=function(t,e){return this.has(t)?this._start+g(this,t)*this._step:e},$.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},$.prototype.slice=function(t,e){return m(t,e,this.size)?this:(t=v(t,this.size),e=_(e,this.size),e<=t?new $(0,0):new $(this.get(t,this._end),this.get(e,this._end),this._step))},$.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},$.prototype.lastIndexOf=function(t){return this.indexOf(t)},$.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},$.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new x(function(){var a=i;return i+=e?-r:r,o>n?E():w(t,o++,a)})},$.prototype.equals=function(t){return t instanceof $?this._start===t._start&&this._end===t._end&&this._step===t._step:Z(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var In,Cn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Dn=Object.isExtensible,Ln=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),jn="function"==typeof WeakMap;jn&&(In=new WeakMap);var An=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var zn=16,Pn=255,Rn=0,Bn={};t(ft,et),ft.of=function(){var t=un.call(arguments,0);return wt().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},ft.prototype.toString=function(){return this.__toString("Map {","}")},ft.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ft.prototype.set=function(t,e){return Et(this,t,e)},ft.prototype.setIn=function(t,e){return this.updateIn(t,yn,function(){return e})},ft.prototype.remove=function(t){return Et(this,t,yn)},ft.prototype.deleteIn=function(t){return this.updateIn(t,function(){return yn})},ft.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ft.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=At(this,De(t),e,n);return r===yn?void 0:r},ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):wt()},ft.prototype.merge=function(){return Ct(this,void 0,arguments)},ft.prototype.mergeWith=function(t){return Ct(this,t,un.call(arguments,1))},ft.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ft.prototype.mergeDeep=function(){return Ct(this,Dt,arguments)},ft.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Ct(this,Lt(t),e)},ft.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ft.prototype.sort=function(t){return Xt(be(this,t))},ft.prototype.sortBy=function(t,e){return Xt(be(this,e,t))},ft.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ft.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},ft.prototype.asImmutable=function(){return this.__ensureOwner()},ft.prototype.wasAltered=function(){return this.__altered},ft.prototype.__iterator=function(t,e){return new vt(this,t,e)},ft.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?xt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ft.isMap=pt;var Kn="@@__IMMUTABLE_MAP__@@",Un=ft.prototype;Un[Kn]=!0,Un.delete=Un.remove,Un.removeIn=Un.deleteIn,ht.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Q(n,i[o][0]))return i[o][1];return r},ht.prototype.update=function(t,e,n,r,i,o,a){for(var s=i===yn,u=this.entries,c=0,l=u.length;c<l&&!Q(r,u[c][0]);c++);var p=c<l;if(p?u[c][1]===i:s)return this;if(f(a),(s||!p)&&f(o),!s||1!==u.length){if(!p&&!s&&u.length>=Fn)return Mt(t,u,r,i);var d=t&&t===this.ownerID,g=d?u:h(u);return p?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,i]:g.push([r,i]),d?(this.entries=g,this):new ht(t,g)}},dt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=1<<((0===t?e:e>>>t)&gn),o=this.bitmap;return 0==(o&i)?r:this.nodes[Nt(o&i-1)].get(t+hn,e,n,r)},dt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&gn,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===yn)return this;var f=Nt(c&u-1),p=this.nodes,h=l?p[f]:void 0,d=St(h,t,e+hn,n,r,i,o,a);if(d===h)return this;if(!l&&d&&p.length>=Hn)return It(t,p,c,s,d);if(l&&!d&&2===p.length&&kt(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&kt(d))return d;var g=t&&t===this.ownerID,y=l?d?c:c^u:c|u,m=l?d?zt(p,f,d,g):Rt(p,f,g):Pt(p,f,d,g);return g?(this.bitmap=y,this.nodes=m,this):new dt(t,y,m)},gt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=(0===t?e:e>>>t)&gn,o=this.nodes[i];return o?o.get(t+hn,e,n,r):r},gt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&gn,u=i===yn,c=this.nodes,l=c[s];if(u&&!l)return this;var f=St(l,t,e+hn,n,r,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<qn)return Tt(t,c,p,s)}else p++;var h=t&&t===this.ownerID,d=zt(c,s,f,h);return h?(this.count=p,this.nodes=d,this):new gt(t,p,d)},yt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Q(n,i[o][0]))return i[o][1];return r},yt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=i===yn;if(n!==this.keyHash)return s?this:(f(a),f(o),Ot(this,t,e,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!Q(r,u[c][0]);c++);var p=c<l;if(p?u[c][1]===i:s)return this;if(f(a),(s||!p)&&f(o),s&&2===l)return new mt(t,this.keyHash,u[1^c]);var d=t&&t===this.ownerID,g=d?u:h(u);return p?s?c===l-1?g.pop():g[c]=g.pop():g[c]=[r,i]:g.push([r,i]),d?(this.entries=g,this):new yt(t,this.keyHash,g)},mt.prototype.get=function(t,e,n,r){return Q(n,this.entry[0])?this.entry[1]:r},mt.prototype.update=function(t,e,n,r,i,o,a){var s=i===yn,u=Q(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(f(a),s?void f(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new mt(t,this.keyHash,[r,i]):(f(o),Ot(this,t,e,ot(r),[r,i])))},ht.prototype.iterate=yt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},dt.prototype.iterate=gt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},mt.prototype.iterate=function(t,e){return t(this.entry)},t(vt,x),vt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return _t(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,i<=n)return _t(t,r.entries[this._reverse?n-i:i])}else if(n=r.nodes.length-1,i<=n){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return _t(t,o.entry);e=this._stack=bt(o,e)}continue}e=this._stack=this._stack.__prev}return E()};var Yn,Fn=dn/4,Hn=dn/2,qn=dn/4;t(Bt,nt),Bt.of=function(){return this(arguments)},Bt.prototype.toString=function(){return this.__toString("List [","]")},Bt.prototype.get=function(t,e){if((t=g(this,t))>=0&&t<this.size){t+=this._origin;var n=Gt(this,t);return n&&n.array[t&gn]}return e},Bt.prototype.set=function(t,e){return qt(this,t,e)},Bt.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Bt.prototype.insert=function(t,e){return this.splice(t,0,e)},Bt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Bt.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Qt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Bt.prototype.pop=function(){return Qt(this,0,-1)},Bt.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Qt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Bt.prototype.shift=function(){return Qt(this,1)},Bt.prototype.merge=function(){return Zt(this,void 0,arguments)},Bt.prototype.mergeWith=function(t){return Zt(this,t,un.call(arguments,1))},Bt.prototype.mergeDeep=function(){return Zt(this,Dt,arguments)},Bt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Zt(this,Lt(t),e)},Bt.prototype.setSize=function(t){return Qt(this,0,t)},Bt.prototype.slice=function(t,e){var n=this.size;return m(t,e,n)?this:Qt(this,v(t,n),_(e,n))},Bt.prototype.__iterator=function(t,e){var n=0,r=Yt(this,e);return new x(function(){var e=r();return e===Qn?E():w(t,n++,e)})},Bt.prototype.__iterate=function(t,e){for(var n,r=0,i=Yt(this,e);(n=i())!==Qn&&!1!==t(n,r++,this););return r},Bt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ft(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Bt.isList=Kt;
vendor: 6,611 bytes, line 1
1var Wn="@@__IMMUTABLE_LIST__@@",Vn=Bt.prototype;Vn[Wn]=!0,Vn.delete=Vn.remove,Vn.setIn=Un.setIn,Vn.deleteIn=Vn.removeIn=Un.removeIn,Vn.update=Un.update,Vn.updateIn=Un.updateIn,Vn.mergeIn=Un.mergeIn,Vn.mergeDeepIn=Un.mergeDeepIn,Vn.withMutations=Un.withMutations,Vn.asMutable=Un.asMutable,Vn.asImmutable=Un.asImmutable,Vn.wasAltered=Un.wasAltered,Ut.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&gn;if(r>=this.array.length)return new Ut([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-hn,n))===a&&o)return this}if(o&&!i)return this;var s=Vt(this,t);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ut.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&gn;if(r>=this.array.length)return this;var i;if(e>0){var o=this.array[r];if((i=o&&o.removeAfter(t,e-hn,n))===o&&r===this.array.length-1)return this}var a=Vt(this,t);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Gn,Qn={};t(Xt,ft),Xt.of=function(){return this(arguments)},Xt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Xt.prototype.set=function(t,e){return ne(this,t,e)},Xt.prototype.remove=function(t){return ne(this,t,yn)},Xt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Xt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Xt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Xt.isOrderedMap=$t,Xt.prototype[pn]=!0,Xt.prototype.delete=Xt.prototype.remove;var Zn;t(re,C),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Oe(this):0,function(i){return t(i,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(bn,e),r=e?Oe(this):0;return new x(function(){var i=n.next();return i.done?i:w(t,e?--r:r++,i.value,i)})},re.prototype[pn]=!0,t(ie,D),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e),r=0;return new x(function(){var e=n.next();return e.done?e:w(t,r++,e.value,e)})},t(oe,L),oe.prototype.has=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new x(function(){var e=n.next();return e.done?e:w(t,e.value,e.value,e)})},t(ae,C),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){ke(e);var r=o(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(bn,e);return new x(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){ke(r);var i=o(r);return w(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=oe.prototype.cacheResult=ae.prototype.cacheResult=Ie,t(Le,et),Le.prototype.toString=function(){return this.__toString(Ae(this)+" {","}")},Le.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Le.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Le.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=je(this,wt()))},Le.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ae(this));if(this._map&&!this._map.has(t)&&e===this._defaultValues[t])return this;var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:je(this,n)},Le.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:je(this,e)},Le.prototype.wasAltered=function(){return this._map.wasAltered()},Le.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Le.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Le.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?je(this,e,t):(this.__ownerID=t,this._map=e,this)};var Jn=Le.prototype;Jn.delete=Jn.remove,Jn.deleteIn=Jn.removeIn=Un.removeIn,Jn.merge=Un.merge,Jn.mergeWith=Un.mergeWith,Jn.mergeIn=Un.mergeIn,Jn.mergeDeep=Un.mergeDeep,Jn.mergeDeepWith=Un.mergeDeepWith,Jn.mergeDeepIn=Un.mergeDeepIn,Jn.setIn=Un.setIn,Jn.update=Un.update,Jn.updateIn=Un.updateIn,Jn.withMutations=Un.withMutations,Jn.asMutable=Un.asMutable,Jn.asImmutable=Un.asImmutable,t(Pe,rt),Pe.of=function(){return this(arguments)},Pe.fromKeys=function(t){return this(n(t).keySeq())},Pe.prototype.toString=function(){return this.__toString("Set {","}")},Pe.prototype.has=function(t){return this._map.has(t)},Pe.prototype.add=function(t){return Be(this,this._map.set(t,!0))},Pe.prototype.remove=function(t){return Be(this,this._map.remove(t))},Pe.prototype.clear=function(){return Be(this,this._map.clear())},Pe.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;
vendor: 11,098 bytes, line 1
1n++)i(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},Pe.prototype.intersect=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return i(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},Pe.prototype.subtract=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return i(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},Pe.prototype.merge=function(){return this.union.apply(this,arguments)},Pe.prototype.mergeWith=function(t){var e=un.call(arguments,1);return this.union.apply(this,e)},Pe.prototype.sort=function(t){return Ye(be(this,t))},Pe.prototype.sortBy=function(t,e){return Ye(be(this,e,t))},Pe.prototype.wasAltered=function(){return this._map.wasAltered()},Pe.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},Pe.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},Pe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Pe.isSet=Re;var Xn="@@__IMMUTABLE_SET__@@",$n=Pe.prototype;$n[Xn]=!0,$n.delete=$n.remove,$n.mergeDeep=$n.merge,$n.mergeDeepWith=$n.mergeWith,$n.withMutations=Un.withMutations,$n.asMutable=Un.asMutable,$n.asImmutable=Un.asImmutable,$n.__empty=Ue,$n.__make=Ke;var tr;t(Ye,Pe),Ye.of=function(){return this(arguments)},Ye.fromKeys=function(t){return this(n(t).keySeq())},Ye.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ye.isOrderedSet=Fe;var er=Ye.prototype;er[pn]=!0,er.__empty=qe,er.__make=He;var nr;t(We,nt),We.of=function(){return this(arguments)},We.prototype.toString=function(){return this.__toString("Stack [","]")},We.prototype.get=function(t,e){var n=this._head;for(t=g(this,t);n&&t--;)n=n.next;return n?n.value:e},We.prototype.peek=function(){return this._head&&this._head.value},We.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Ge(t,e)},We.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Ge(e,n)},We.prototype.pop=function(){return this.slice(1)},We.prototype.unshift=function(){return this.push.apply(this,arguments)},We.prototype.unshiftAll=function(t){return this.pushAll(t)},We.prototype.shift=function(){return this.pop.apply(this,arguments)},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qe()},We.prototype.slice=function(t,e){if(m(t,e,this.size))return this;var n=v(t,this.size);if(_(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Ge(r,i)},We.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ge(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},We.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},We.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new x(function(){if(r){var e=r.value;return r=r.next,w(t,n++,e)}return E()})},We.isStack=Ve;var rr="@@__IMMUTABLE_STACK__@@",ir=We.prototype;ir[rr]=!0,ir.withMutations=Un.withMutations,ir.asMutable=Un.asMutable,ir.asImmutable=Un.asImmutable,ir.wasAltered=Un.wasAltered;var or;e.Iterator=x,Ze(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return ft(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Xt(this.toKeyedSeq())},toOrderedSet:function(){return Ye(a(this)?this.valueSeq():this)},toSet:function(){return Pe(a(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return We(a(this)?this.valueSeq():this)},toList:function(){return Bt(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Se(this,ye(this,un.call(arguments,0)))},includes:function(t){return this.some(function(e){return Q(e,t)})},entries:function(){return this.__iterator(xn)},every:function(t,e){lt(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1}),n},filter:function(t,e){return Se(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(_n)},map:function(t,e){return Se(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,i;return arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Se(this,ce(this,!0))},slice:function(t,e){return Se(this,he(this,t,e,!0))},some:function(t,e){return!this.every($e(t),e)},sort:function(t){return Se(this,be(this,t))},values:function(){return this.__iterator(bn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return d(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return fe(this,t,e)},equals:function(t){return Z(this,t)},entrySeq:function(){var t=this;if(t._cache)return new j(t._cache);var e=t.toSeq().map(Xe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter($e(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(y)},flatMap:function(t,e){return Se(this,ve(this,t,e))},flatten:function(t){return Se(this,me(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return Q(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=De(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,yn):yn)===yn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,yn)!==yn},hasIn:function(t){return this.getIn(t,yn)!==yn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return Q(e,t)})},keySeq:function(){return this.toSeq().map(Je).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return xe(this,t)},maxBy:function(t,e){return xe(this,e,t)},min:function(t){return xe(this,t?tn(t):rn)},minBy:function(t,e){return xe(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Se(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Se(this,ge(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile($e(t),e)},sortBy:function(t,e){return Se(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Se(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Se(this,de(this,t,e))},takeUntil:function(t,e){return this.takeWhile($e(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[cn]=!0,ar[Sn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,Ze(n,{flip:function(){return Se(this,se(this))},mapEntries:function(t,e){var n=this,r=0;return Se(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Se(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var sr=n.prototype;return sr[ln]=!0,sr[Sn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Ze(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Se(this,le(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Se(this,ce(this,!1))},slice:function(t,e){return Se(this,he(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=v(t,t<0?this.count():this.size);var r=this.slice(0,t);return Se(this,1===n?r:r.concat(h(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Se(this,me(this,t,!1))},get:function(t,e){return t=g(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=g(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Se(this,_e(this,t))},interleave:function(){var t=[this].concat(h(arguments)),e=Ee(this.toSeq(),D.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Se(this,n)}
1,keySeq:function(){return $(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Se(this,ge(this,t,e,!1))},zip:function(){return Se(this,Ee(this,nn,[this].concat(h(arguments))))},zipWith:function(t){var e=h(arguments);return e[0]=this,Se(this,Ee(this,t,e))}}),r.prototype[fn]=!0,r.prototype[pn]=!0,Ze(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=ar.includes,i.prototype.contains=i.prototype.includes,Ze(C,n.prototype),Ze(D,r.prototype),Ze(L,i.prototype),Ze(et,n.prototype),Ze(nt,r.prototype),Ze(rt,i.prototype),{Iterable:e,Seq:I,Collection:tt,Map:ft,OrderedMap:Xt,List:Bt,Stack:We,Set:Pe,OrderedSet:Ye,Record:Le,Range:$,Repeat:J,is:Q,fromJS:q}}()}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r=e===n,i=t.getBlockForKey(e);if(!i)return[];var o=[i];if(!r)for(var a=e;a!==n;){var s=t.getBlockAfter(a);if(!s){o=[];break}o.push(s),a=s.getKey()}return o}},function(t,e,n){var r=n(96),i=n(6)("iterator"),o=n(42);t.exports=n(4).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(68),i=n(6)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){t.exports={default:n(145),__esModule:!0}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=!n(15)&&!n(35)(function(){return 7!=Object.defineProperty(n(100)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(20),i=n(14).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(36),i=n(40),o=n(148)(!1),a=n(71)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){t.exports={default:n(150),__esModule:!0}},function(t,e,n){var r=n(36),i=n(46),o=n(71)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){t.exports=n(29)},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(68);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(101),i=n(73).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(55),i=n(45),o=n(40),a=n(66),s=n(36),u=n(99),c=Object.getOwnPropertyDescriptor;e.f=n(15)?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){"use strict";var r=n(10),i=n(0),o=n(25),a=i.OrderedMap,s=function(t){var e={},n=void 0;return a(t.withMutations(function(t){t.forEach(function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),u=r.getPrevSiblingKey(),c=r.getChildKeys(),l=r.getParentKey(),f=o();if(e[a]=f,s&&(t.get(s)?t.setIn([s,"prevSibling"],f):t.setIn([a,"nextSibling"],null)),u&&(t.get(u)?t.setIn([u,"nextSibling"],f):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var p=t.get(l),h=p.getChildKeys();t.setIn([l,"children"],h.set(h.indexOf(r.getKey()),f))}else t.setIn([a,"parent"],null),n&&(t.setIn([n.getKey(),"nextSibling"],f),t.setIn([a,"prevSibling"],e[n.getKey()])),n=t.get(a);c.forEach(function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([a,"children"],r.getChildKeys().filter(function(t){return t!==e}))})})}).toArray().map(function(t){return[e[t.getKey()],t.set("key",e[t.getKey()])]}))},u=function(t){return a(t.toArray().map(function(t){var e=o();return[e,t.set("key",e)]}))},c=function(t){return t.first()instanceof r?s(t):u(t)};t.exports=c},function(t,e,n){"use strict";
vendor: 4,701 bytes, line 1
1function r(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),i={},a=e.getStartKey(),s=e.getStartOffset(),u=n.get(a),c=o(r,u,s);c!==u&&(i[a]=c);var l=e.getEndKey(),f=e.getEndOffset(),p=n.get(l);a===l&&(p=c);var h=o(r,p,f);return h!==p&&(i[l]=h),Object.keys(i).length?t.merge({blockMap:n.merge(i),selectionAfter:e}):t.set("selectionAfter",e)}function i(t,e,n){var r;return s(t,function(t,e){return t.getEntity()===e.getEntity()},function(t){return t.getEntity()===e},function(t,e){t<=n&&e>=n&&(r={start:t,end:e})}),"object"!=typeof r&&u(!1),r}function o(t,e,n){var r=e.getCharacterList(),o=n>0?r.get(n-1):void 0,s=n<r.count()?r.get(n):void 0,u=o?o.getEntity():void 0,c=s?s.getEntity():void 0;if(c&&c===u&&"MUTABLE"!==t.__get(c).getMutability()){for(var l,f=i(r,c,n),p=f.start,h=f.end;p<h;)l=r.get(p),r=r.set(p,a.applyEntity(l,null)),p++;return e.set("characterList",r)}return e}var a=n(7),s=n(49),u=n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){if(n===t.count())e.forEach(function(e){t=t.push(e)});else if(0===n)e.reverse().forEach(function(e){t=t.unshift(e)});else{var r=t.slice(0,n),i=t.slice(n);t=r.concat(e,i).toList()}return t}t.exports=r},function(t,e,n){"use strict";var r=n(10),i=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var i=t.getParentKey();if(!i)return null;for(var o=e.get(i);o&&!o.getNextSiblingKey();){var a=o.getParentKey();o=a?e.get(a):null}return o?o.getNextSiblingKey():null};t.exports=i},function(t,e,n){"use strict";function r(t,e){var n=[],r=t.map(function(t){return t.getStyle()}).toList();return s(r,i,f,function(t,r){n.push(new h({start:t+e,end:r+e}))}),u(n)}function i(t,e){return t===e}var o=n(0),a=n(81),s=n(49),u=o.List,c=o.Repeat,l=o.Record,f=a.thatReturnsTrue,p={start:null,end:null},h=l(p),d={start:null,end:null,decoratorKey:null,leaves:null},g=l(d),y={generate:function(t,e,n){var o=e.getLength();if(!o)return u.of(new g({start:0,end:0,decoratorKey:null,leaves:u.of(new h({start:0,end:0}))}));var a=[],l=n?n.getDecorations(e,t):u(c(null,o)),p=e.getCharacterList();return s(l,i,f,function(t,e){a.push(new g({start:t,end:e,decoratorKey:l.get(t),leaves:r(p.slice(t,e).toList(),t)}))}),u(a)},getFingerprint:function(t){return t.map(function(t){var e=t.get("decoratorKey");return(null!==e?e+"."+(t.get("end")-t.get("start")):"")+"."+t.get("leaves").size}).join("-")}};t.exports=y},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=a.Record,u=s({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),c=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.getType=function(){return this.get("type")},e.prototype.getMutability=function(){return this.get("mutability")},e.prototype.getData=function(){return this.get("data")},e}(u);t.exports=c},function(t,e,n){"use strict";function r(t){var e=p.exec(t);return null==e?null:e[0]}function i(t){var e=r(t);return null==e?c.NEUTRAL:h.exec(e)?c.RTL:c.LTR}function o(t,e){if(e=e||c.NEUTRAL,!t.length)return e;var n=i(t);return n===c.NEUTRAL?e:n}function a(t,e){return e||(e=c.getGlobalDir()),c.isStrong(e)||l(!1),o(t,e)}function s(t,e){return a(t,e)===c.LTR}function u(t,e){return a(t,e)===c.RTL}var c=n(84),l=n(1),f={L:"A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u01ba\u01bb\u01bc-\u01bf\u01c0-\u01c3\u01c4-\u0293\u0294\u0295-\u02af\u02b0-\u02b8\u02bb-\u02c1\u02d0-\u02d1\u02e0-\u02e4\u02ee\u0370-\u0373\u0376-\u0377\u037a\u037b-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0482\u048a-\u052f\u0531-\u0556\u0559\u055a-\u055f\u0561-\u0587\u0589\u0903\u0904-\u0939\u093b\u093d\u093e-\u0940\u0949-\u094c\u094e-\u094f\u0950\u0958-\u0961\u0964-\u0965\u0966-\u096f\u0970\u0971\u0972-\u0980\u0982-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09be-\u09c0\u09c7-\u09c8\u09cb-\u09cc\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e1\u09e6-\u09ef\u09f0-\u09f1\u09f4-\u09f9\u09fa\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3e-\u0a40\u0a59-\u0a5c\u0a5e\u0a66-\u0a6f\u0a72-\u0a74\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0
1ab9\u0abd\u0abe-\u0ac0\u0ac9\u0acb-\u0acc\u0ad0\u0ae0-\u0ae1\u0ae6-\u0aef\u0af0\u0b02-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b3e\u0b40\u0b47-\u0b48\u0b4b-\u0b4c\u0b57\u0b5c-\u0b5d\u0b5f-\u0b61\u0b66-\u0b6f\u0b70\u0b71\u0b72-\u0b77\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bbf\u0bc1-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd0\u0bd7\u0be6-\u0bef\u0bf0-\u0bf2\u0c01-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c41-\u0c44\u0c58-\u0c59\u0c60-\u0c61\u0c66-\u0c6f\u0c7f\u0c82-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cbe\u0cbf\u0cc0-\u0cc4\u0cc6\u0cc7-\u0cc8\u0cca-\u0ccb\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce1\u0ce6-\u0cef\u0cf1-\u0cf2\u0d02-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d4e\u0d57\u0d60-\u0d61\u0d66-\u0d6f\u0d70-\u0d75\u0d79\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dcf-\u0dd1\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0df4\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e45\u0e46\u0e4f\u0e50-\u0e59\u0e5a-\u0e5b\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f01-\u0f03\u0f04-\u0f12\u0f13\u0f14\u0f15-\u0f17\u0f1a-\u0f1f\u0f20-\u0f29\u0f2a-\u0f33\u0f34\u0f36\u0f38\u0f3e-\u0f3f\u0f40-\u0f47\u0f49-\u0f6c\u0f7f\u0f85\u0f88-\u0f8c\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce-\u0fcf\u0fd0-\u0fd4\u0fd5-\u0fd8\u0fd9-\u0fda\u1000-\u102a\u102b-\u102c\u1031\u1038\u103b-\u103c\u103f\u1040-\u1049\u104a-\u104f\u1050-\u1055\u1056-\u1057\u105a-\u105d\u1061\u1062-\u1064\u1065-\u1066\u1067-\u106d\u106e-\u1070\u1075-\u1081\u1083-\u1084\u1087-\u108c\u108e\u108f\u1090-\u1099\u109a-\u109c\u109e-\u109f\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fb\u10fc\u10fd-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1360-\u1368\u1369-\u137c\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166d-\u166e\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16eb-\u16ed\u16ee-\u16f0\u16f1-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1735-\u1736\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17b6\u17be-\u17c5\u17c7-\u17c8\u17d4-\u17d6\u17d7\u17d8-\u17da\u17dc\u17e0-\u17e9\u1810-\u1819\u1820-\u1842\u1843\u1844-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1923-\u1926\u1929-\u192b\u1930-\u1931\u1933-\u1938\u1946-\u194f\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c0\u19c1-\u19c7\u19c8-\u19c9\u19d0-\u19d9\u19da\u1a00-\u1a16\u1a19-\u1a1a\u1a1e-\u1a1f\u1a20-\u1a54\u1a55\u1a57\u1a61\u1a63-\u1a64\u1a6d-\u1a72\u1a80-\u1a89\u1a90-\u1a99\u1aa0-\u1aa6\u1aa7\u1aa8-\u1aad\u1b04\u1b05-\u1b33\u1b35\u1b3b\u1b3d-\u1b41\u1b43-\u1b44\u1b45-\u1b4b\u1b50-\u1b59\u1b5a-\u1b60\u1b61-\u1b6a\u1b74-\u1b7c\u1b82\u1b83-\u1ba0\u1ba1\u1ba6-\u1ba7\u1baa\u1bae-\u1baf\u1bb0-\u1bb9\u1bba-\u1be5\u1be7\u1bea-\u1bec\u1bee\u1bf2-\u1bf3\u1bfc-\u1bff\u1c00-\u1c23\u1c24-\u1c2b\u1c34-\u1c35\u1c3b-\u1c3f\u1c40-\u1c49\u1c4d-\u1c4f\u1c50-\u1c59\u1c5a-\u1c77\u1c78-\u1c7d\u1c7e-\u1c7f\u1cc0-\u1cc7\u1cd3\u1ce1\u1ce9-\u1cec\u1cee-\u1cf1\u1cf2-\u1cf3\u1cf5-\u1cf6\u1d00-\u1d2b\u1d2c-\u1d6a\u1d6b-\u1d77\u1d78\u1d79-\u1d9a\u1d9b-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200e\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2134\u2135-\u2138\u2139\u213c-\u213f\u2145-\u2149\u214e\u214f\u2160-\u2182\u2183-\u2184\u2185-\u2188\u2336-\u237a\u2395\u249c-\u24e9\u26ac\u2800-\u28ff\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2c7b\u2c7c-\u2c7d\u2c7e-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d70\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005\u3006\u3007\u3021-\u3029\u302e-\u302f\u3031-\u3035\u3038-\u303a\u303b\u303c\u3041-\u3096\u309d-\u309e\u309f\u30a1-\u30fa\u30fc-\u30fe\u30ff\u3105-\u312d\u3131-\u318e\u3190-\u3191\u3192-\u3195\u3196-\u319f\u31a0-\u31ba\u31f0-\u31ff\u3200-\u321c\u3220-\u3229\u322a-\u3247\u3248-\u324f\u3260-\u327b\u327f\u3280-\u3289\u328a-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua014\ua015\ua016-\ua48c\ua4d0-\ua4f7\ua4f8-\ua4fd\ua4fe-\ua4ff\ua500-\ua60b\ua60c\ua610-\ua61f\ua620-\ua629\ua62a-\ua62b\ua640-\ua66d\ua66e\ua680-\ua69b\ua69c-\ua69d\ua6a0-\ua6e5\ua6e6-\ua6ef\ua6f2-\ua6f7\ua722-\ua76f\ua770\ua771-\ua787\ua789-\ua78a\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7\ua7f8-\ua7f9\ua7fa\ua7fb-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua823-\ua824\ua827\ua830-\ua835\ua836-\ua837\ua840-\ua873\ua880-\ua881\ua882-\ua8b3\ua8b4-\ua8c3\ua8ce-\ua8cf\ua8d0-\ua8d9\ua8f2-\ua8f7\ua8f8-\ua8fa\ua8fb\ua900-\ua909\ua90a-\ua925\ua92e-\ua92f\ua930-\ua946\ua952-\ua953\ua95f\ua960-\ua97c\ua983\ua984-\ua9b2\ua9b4-\ua9b5\ua9ba-\ua9bb\ua9bd-\ua9c0\ua9c1-\ua9cd\ua9cf\ua9d0-\ua9d9\ua9de-\ua9df\ua9e0-\ua9e4\ua9e6\ua9e7-\ua9ef\ua9f0-\ua9f9\ua9fa-\ua9fe\uaa00-\uaa28\uaa2f-\uaa30\uaa33-\uaa34\uaa40-\uaa42\uaa44-\uaa4b\uaa4d\uaa50-\uaa59\uaa5c-\uaa5f\uaa60-\uaa6f\uaa70\uaa71-\uaa76\uaa77-\uaa79\uaa7a\uaa7b\uaa7d\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadc\uaadd\uaade-\uaadf\uaae0-\uaaea\uaaeb\uaaee-\uaaef\uaaf0-\uaaf1\uaaf2\uaaf3-\uaaf4\uaaf5\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5b\uab5c-\uab5f\uab64-\uab65\uabc0-\uabe2\uabe3-\uabe4\uabe6-\uabe7\uabe9-\uabea\uabeb\uabec\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\ue000-\uf8ff\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\uff21-\uff3a\uff41-\uff5a\uff66-\uff6f\uff70\uff71-\uff9d\uff9e-\uff9f\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",R:"\u0590\u05be\u05c0\u05c3\u05c6\u05c8-\u05cf\u05d0-\u05ea\u05eb-\u05ef\u05f0-\u05f2\u05f3-\u05f4\u05f5-\u05ff\u07c0-\u07c9\u07ca-\u07ea\u07f4-\u07f5\u07fa\u07fb-\u07ff\u0800-\u0815\u081a\u0824\u0828\u082e-\u082f\u0830-\u083e\u083f\u0840-\u0858\u085c-\u085d\u085e\u085f-\u089f\u200f\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb37\ufb38-\ufb3c\ufb3d\ufb3e\ufb3f\ufb40-\ufb41\ufb42\ufb43-\ufb44\ufb45\ufb46-\ufb4f",AL:"\u0608\u060b\u060d\u061b\u061c\u061d\u061e-\u061f\u0620-\u063f\u0640\u0641-\u064a\u066d\u066e-\u066f\u0671-\u06d3\u06d4\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06fd-\u06fe\u06ff\u0700-\u070d\u070e\u070f\u0710\u0712-\u072f\u074b-\u074c\u074d-\u07a5\u07b1\u07b2-\u07bf\u08a0-\u08b2\u08b3-\u08e3\ufb50-\ufbb1\ufbb2-\ufbc1\ufbc2-\ufbd2\ufbd3-\ufd3d\ufd40-\ufd4f\ufd50-\ufd8f\ufd90-\ufd91\ufd92-\ufdc7\ufdc8-\ufdcf\ufdf0-\ufdfb\ufdfc\ufdfe-\ufdff\ufe70-\ufe74\ufe75\ufe76-\ufefc\ufefd-\ufefe"},p=new RegExp("["+f.L+f.R+f.AL+"]"),h=new RegExp("["+f.R+f.AL+"]"),d={firstStrongChar:r,firstStrongCharDir:i,resolveBlockDir:o,getDirection:a,isDirectionLTR:s,isDirectionRTL:u};t.exports=d},function(t,e,n){"use strict";
vendor: 9,055 bytes, line 1
1t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),i=e.getStartOffset(),o=!1;return r.some(function(t){return i===t.get("start")?(o=!0,!0):i<t.get("end")&&t.get("leaves").some(function(t){var e=t.get("start");return i===e&&(o=!0,!0)})}),o}t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(9),s=a||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(198),c=n(63),l=n(3),f=n(38),p=n(121),h=n(88),d=n(116),g=n(84),y=n(44),m=n(213),v=n(89),_=n(217),b=n(1),x=n(13),w=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},E=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||w(t.selection,t.block.getKey())&&t.forceSelection},e.prototype.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=f.findDOMNode(this),r=h.getScrollParent(n),i=v(r),o=void 0;if(r===window){var a=m(n);(o=a.y+a.height-_().height)>0&&window.scrollTo(i.x,i.y+o+10)}else n instanceof HTMLElement||b(!1),(o=n.offsetHeight+n.offsetTop-(r.offsetHeight+i.y))>0&&p.setTop(r,p.getTop(r)+o+10)}},e.prototype._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),i=this.props.tree.size-1,o=w(this.props.selection,n);return this.props.tree.map(function(a,f){var p=a.get("leaves"),h=p.size-1,y=p.map(function(a,s){var p=c.encode(n,f,s),d=a.get("start"),g=a.get("end");return l.createElement(u,{key:p,offsetKey:p,block:e,start:d,selection:o?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(d,g),styleSet:e.getInlineStyleAt(d),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:f===i&&s===h})}).toArray(),m=a.get("decoratorKey");if(null==m)return y;if(!t.props.decorator)return y;var v=x(t.props.decorator),_=v.getComponentForKey(m);if(!_)return y;var b=v.getPropsForKey(m),w=c.encode(n,f,0),E=r.slice(p.first().get("start"),p.last().get("end")),S=g.getHTMLDirIfDifferent(d.getDirection(E),t.props.direction);return l.createElement(_,s({},b,{contentState:t.props.contentState,decoratedText:E,dir:S,key:w,entityKey:e.getEntityAt(a.get("start")),offsetKey:w}),y)}).toArray()},e.prototype.render=function(){var t=this.props,e=t.direction,n=t.offsetKey,r=y({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===e,"public/DraftStyleDefault/rtl":"RTL"===e});return l.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},e}(l.Component);t.exports=E},function(t,e,n){"use strict";function r(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}t.exports=r},function(t,e,n){"use strict";function r(t,e){return!!e&&(t===e.documentElement||t===e.body)}var i={getTop:function(t){var e=t.ownerDocument;return r(t,e)?e.body.scrollTop||e.documentElement.scrollTop:t.scrollTop},setTop:function(t,e){var n=t.ownerDocument;r(t,n)?n.body.scrollTop=n.documentElement.scrollTop=e:t.scrollTop=e},getLeft:function(t){var e=t.ownerDocument;return r(t,e)?e.body.scrollLeft||e.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,e){var n=t.ownerDocument;r(t,n)?n.body.scrollLeft=n.documentElement.scrollLeft=e:t.scrollLeft=e}};t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){if("file"==t.kind)return t.getAsFile()}var o=n(220),a=n(221),s=n(81),u=new RegExp("\r\n","g"),c={"text/rtf":1,"text/html":1},l=function(){function t(e){r(this,t),this.data=e,this.types=e.types?a(e.types):[]}return t.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(t){return c[t]})},t.prototype.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(u,"\n"):null},t.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.prototype.isLink=function(){return this.types.some(function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")})},t.prototype.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.prototype.isImage=function(){if(this.types.some(function(t){return-1!=t.indexOf("application/x-moz-file")}))return!0;for(var t=this.getFiles(),e=0;e<t.length;e++){var n=t[e].type;if(!o.isImage(n))return!1}return!0},t.prototype.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(i).filter(s.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.prototype.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=l},function(t,e,n){"use strict";function r(t){if(t instanceof Element){var e=t.getAttribute("data-offset-key");if(e)return e;for(var n=0;n<t.childNodes.length;n++){var i=r(t.childNodes[n]);if(i)return i}}return null}t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e){var n=0,r=[];t.forEach(function(o){i(o,function(i){n++,i&&r.push(i.slice(0,u)),n==t.length&&e(r.join("\r"))})})}function i(t,n){if(!e.FileReader||t.type&&!(t.type in s))return void n("");if(""===t.type){var r="";return a.test(t.name)&&(r=t.name.replace(a,"")),void n(r)}var i=new FileReader;i.onload=function(){var t=i.result;"string"!=typeof t&&o(!1),n(t)},i.onerror=function(){n("")},i.readAsText(t)}var o=n(1),a=/\.textClipping$/,s={"text/plain":!0,"text/html":!0,"text/rtf":!0},u=5e3;t.exports=r}).call(e,n(26))},function(t,e,n){"use strict";function r(t,e,n,r,a){var s=o(t.getSelection()),u=i.decode(e),c=u.blockKey,l=t.getBlockTree(c).getIn([u.decoratorKey,"leaves",u.leafKey]),f=i.decode(r),p=f.blockKey,h=t.getBlockTree(p).getIn([f.decoratorKey,"leaves",f.leafKey]),d=l.get("start"),g=h.get("start"),y=l?d+n:null,m=h?g+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===y&&s.getFocusKey()===p&&s.getFocusOffset()===m)return s;var v=!1;if(c===p){var _=l.get("end"),b=h.get("end");v=g===d&&b===_?a<n:g<d}else v=t.getCurrentContent().getBlockMap().keySeq().skipUntil(function(t){return t===c||t===p}).first()===p;return s.merge({anchorKey:c,anchorOffset:y,focusKey:p,focusOffset:m,isBackward:v})}var i=n(63),o=n(13);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();return e.isCollapsed()?null:i(t.getCurrentContent(),e)}var i=n(60);t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var i=r===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a=Array.from(e.getClientRects());if(n.push(a),i){var s;return n.reverse(),(s=[]).concat.apply(s,n)}e.setEndBefore(r)}o(!1)}var i=n(18),o=n(1),a=i.isBrowser("Chrome"),s=a?r:function(t){return Array.from(t.getClientRects())};t.exports=s},function(t,e,n){"use strict";function r(t,e,n,r,i,o){var s=n.nodeType===Node.TEXT_NODE,c=i.nodeType===Node.TEXT_NODE;if(s&&c)return{selectionState:l(t,p(u(n)),r,p(u(i)),o),needsRecovery:!1};var f=null,h=null,d=!0;return s?(f={key:p(u(n)),offset:r},h=a(e,i,o)):c?(h={key:p(u(i)),offset:o},f=a(e,n,r)):(f=a(e,n,r),h=a(e,i,o),n===i&&r===o&&(d=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:l(t,f.key,f.offset,h.key,h.offset),needsRecovery:d}}function i(t){for(;t.firstChild&&(t.firstChild instanceof Element&&"true"===t.firstChild.getAttribute("data-blocks")||c(t.firstChild));)t=t.firstChild;return t}function o(t){for(;
1t.lastChild&&(t.lastChild instanceof Element&&"true"===t.lastChild.getAttribute("data-blocks")||c(t.lastChild));)t=t.lastChild;return t}function a(t,e,n){var r=e,a=u(r);if(null!=a||t&&(t===r||t.firstChild===r)||f(!1),t===r&&(r=r.firstChild,r instanceof Element&&"true"===r.getAttribute("data-contents")||f(!1),n>0&&(n=r.childNodes.length)),0===n){var l=null;if(null!=a)l=a;else{var h=i(r);l=p(c(h))}return{key:l,offset:0}}var d=r.childNodes[n-1],g=null,y=null;if(c(d)){var m=o(d);g=p(c(m)),y=s(m)}else g=p(a),y=s(d);return{key:g,offset:y}}function s(t){var e=t.textContent;return"\n"===e?0:e.length}var u=n(90),c=n(123),l=n(125),f=n(1),p=n(13);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=e?l.exec(t):u.exec(t);return n?n[0]:t}var i=n(240),o=i.getPunctuation(),a="\\s|(?![_])"+o,s="^(?:"+a+")*(?:['\u2018\u2019]|(?!"+a+").)*(?:(?!"+a+").)",u=new RegExp(s),c="(?:(?!"+a+").)(?:['\u2018\u2019]|(?!"+a+").)*(?:"+a+")*$",l=new RegExp(c),f={getBackward:function(t){return r(t,!0)},getForward:function(t){return r(t,!1)}};t.exports=f},function(t,e,n){"use strict";function r(t,e){var n,r=t.getSelection(),i=r.getStartKey(),o=r.getStartOffset(),a=t.getCurrentContent(),s=i;return e>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),n=0):n=o+e,r.merge({focusKey:s,focusOffset:n})}t.exports=r},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i,o=a||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(9),s=n(7),u=n(37),c=n(10),l=n(85),f=n(61),p=n(31),h=n(0),d=n(0),g=d.Set,y=n(251),m=n(44),v=n(25),_=n(132),b=n(1),x=n(83),w=p.draft_tree_data_support,E=h.List,S=h.OrderedSet,k=new RegExp("\r","g"),O=new RegExp("\n","g"),M=new RegExp("&nbsp;","g"),T=new RegExp("&#13;?","g"),I=new RegExp("&#8203;?","g"),C=["bold","bolder","500","600","700","800","900"],D=["light","lighter","100","200","300","400"],L={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},j=(i={},r(i,m("public/DraftStyleDefault/depth0"),0),r(i,m("public/DraftStyleDefault/depth1"),1),r(i,m("public/DraftStyleDefault/depth2"),2),r(i,m("public/DraftStyleDefault/depth3"),3),r(i,m("public/DraftStyleDefault/depth4"),4),i),A=["className","href","rel","target","title"],N=["alt","className","height","src","width"],z=void 0,P={text:"",inlines:[],entities:[],blocks:[]},R={children:E(),depth:0,key:"",type:""},B=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null},K=function(t){var e=t.get("unstyled").element,n=g([]);return t.forEach(function(t){t.aliasedElements&&t.aliasedElements.forEach(function(t){n=n.add(t)}),n=n.add(t.element)}),n.filter(function(t){return t&&t!==e}).toArray().sort()},U=function(t,e,n){for(var r=0;r<n.length;r++){var i=n[r](t,e);if(i)return i}return null},Y=function(t,e,n){var r=n.filter(function(e){return e.element===t||e.wrapper===t||e.aliasedElements&&e.aliasedElements.some(function(e){return e===t})}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return U(t,e,[B])||"unstyled"}},F=function(t,e,n){var r=L[t];if(r)n=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var i=e;n=n.withMutations(function(t){var e=i.style.fontWeight,n=i.style.fontStyle,r=i.style.textDecoration;C.indexOf(e)>=0?t.add("BOLD"):D.indexOf(e)>=0&&t.remove("BOLD"),"italic"===n?t.add("ITALIC"):"normal"===n&&t.remove("ITALIC"),"underline"===r&&t.add("UNDERLINE"),"line-through"===r&&t.add("STRIKETHROUGH"),"none"===r&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}).toOrderedSet()}return n},H=function(t,e,n){var r=t.text.slice(-1),i=e.text.slice(0,1);if("\r"!==r||"\r"!==i||n||(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===r){if(" "===e.text||"\n"===e.text)return t;" "!==i&&"\n"!==i||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},q=function(t,e){return e.some(function(e){return-1!==t.indexOf("<"+e)})},W=function(t){t instanceof HTMLAnchorElement||b(!1);var e=t.protocol;return"http:"===e||"https:"===e||"mailto:"===e},V=function(t){var e=new Array(1);return t&&(e[0]=t),o({},P,{text:" ",inlines:[S()],entities:e})},G=function(){return o({}
1,P,{text:"\n",inlines:[S()],entities:new Array(1)})},Q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o({},R,t)},Z=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{text:"\r",inlines:[S()],entities:new Array(1),blocks:[Q({parent:n,key:v(),type:t,depth:Math.max(0,Math.min(4,e))})]}},J=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(j).some(function(n){t.classList.contains(n)&&(e=j[n])}),e},X=function t(e,n,r,i,a,s,u,c,l,p){var h=z,d=n.nodeName.toLowerCase(),g=e,m="unstyled",v=!1,_=a&&Y(a,i,c),b=o({},P),x=null,E=void 0;if("#text"===d){var S=n.textContent,k=S.trim();if(i&&""===k&&n.parentElement){var M=n.parentElement.nodeName.toLowerCase();if("ol"===M||"ul"===M)return{chunk:o({},P),entityMap:e}}return""===k&&"pre"!==a?{chunk:V(l),entityMap:e}:("pre"!==a&&(S=S.replace(O," ")),z=d,{chunk:{text:S,inlines:Array(S.length).fill(r),entities:Array(S.length).fill(l),blocks:[]},entityMap:e})}if(z=d,"br"===d)return"br"!==h||a&&"unstyled"!==_?{chunk:G(),entityMap:e}:{chunk:Z("unstyled",u,p),entityMap:e};if("img"===d&&n instanceof HTMLImageElement&&n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value){var T=n,I={};N.forEach(function(t){var e=T.getAttribute(t);e&&(I[t]=e)}),n.textContent="\ud83d\udcf7",l=f.__create("IMAGE","MUTABLE",I||{})}r=F(d,n,r),"ul"!==d&&"ol"!==d||(i&&(u+=1),i=d),!w&&"li"===d&&n instanceof HTMLElement&&(u=J(n,u));var C=Y(d,i,c),D=i&&"li"===a&&"li"===d,L=(!a||w)&&-1!==s.indexOf(d);(D||L)&&(b=Z(C,u,p),E=b.blocks[0].key,a=d,v=!w),D&&(m="ul"===i?"unordered-list-item":"ordered-list-item");var j=n.firstChild;null!=j&&(d=j.nodeName.toLowerCase());for(var R=null;j;){j instanceof HTMLAnchorElement&&j.href&&W(j)?function(){var t=j,e={};A.forEach(function(n){var r=t.getAttribute(n);r&&(e[n]=r)}),e.url=new y(t.href).toString(),R=f.__create("LINK","MUTABLE",e||{})}():R=void 0;var B=t(g,j,r,i,a,s,u,c,R||l,w?E:null),K=B.chunk,U=B.entityMap;x=K,g=U,b=H(b,x,w);var q=j.nextSibling;!p&&q&&s.indexOf(d)>=0&&a&&(b=H(b,G())),q&&(d=q.nodeName.toLowerCase()),j=q}return v&&(b=H(b,Z(m,u,p))),{chunk:b,entityMap:g}},$=function(t,e,n,r){t=t.trim().replace(k,"").replace(M," ").replace(T,"").replace(I,"");var i=K(n),a=e(t);if(!a)return null;z=null;var s=q(t,i)?i:["div"],u=X(r,a,S(),"ul",null,s,-1,n),c=u.chunk,l=u.entityMap;return 0===c.text.indexOf("\r")&&(c={text:c.text.slice(1),inlines:c.inlines.slice(1),entities:c.entities.slice(1),blocks:c.blocks}),"\r"===c.text.slice(-1)&&(c.text=c.text.slice(0,-1),c.inlines=c.inlines.slice(0,-1),c.entities=c.entities.slice(0,-1),c.blocks.pop()),0===c.blocks.length&&c.blocks.push(o({},P,{type:"unstyled",depth:0})),c.text.split("\r").length===c.blocks.length+1&&c.blocks.unshift({type:"unstyled",depth:0}),{chunk:c,entityMap:l}},tt=function(t){if(!t||!t.text||!Array.isArray(t.blocks))return null;var e={cacheRef:{},contentBlocks:[]},n=0,r=t.blocks,i=t.inlines,o=t.entities,a=w?c:u;return t.text.split("\r").reduce(function(t,e,u){e=x(e);var l=r[u],f=n+e.length,p=i.slice(n,f),h=o.slice(n,f),d=E(p.map(function(t,e){var n={style:t,entity:null};return h[e]&&(n.entity=h[e]),s.create(n)}));n=f+1;var g=l.depth,y=l.type,m=l.parent,_=l.key||v(),b=null;if(m){var w=t.cacheRef[m],S=t.contentBlocks[w];if(S.getChildKeys().isEmpty()&&S.getText()){var k=S.getCharacterList(),O=S.getText();b=v();var M=new c({key:b,text:O,characterList:k,parent:m,nextSibling:_});t.contentBlocks.push(M),S=S.withMutations(function(t){t.set("characterList",E()).set("text","").set("children",S.children.push(M.getKey()))})}t.contentBlocks[w]=S.set("children",S.children.push(_))}var T=new a({key:_,parent:m,type:y,depth:g,text:e,characterList:d,prevSibling:b||(0===u||r[u-1].parent!==m?null:r[u-1].key),nextSibling:u===r.length-1||r[u+1].parent!==m?null:r[u+1].key});return t.contentBlocks.push(T),t.cacheRef[T.key]=u,t},e).contentBlocks},et=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,r=$(t,e,n,f);if(null==r)return null;var i=r.chunk,o=r.entityMap;return{contentBlocks:tt(i),entityMap:o}};t.exports=et},function(t,e,n){"use strict";function r(t){var e,n=null;return!a&&document.implementation&&document.implementation.createHTMLDocument&&(e=document.implementation.createHTMLDocument("foo"),e.documentElement||o(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}var i=n(18),o=n(1),a=i.isBrowser("IE <= 9");t.exports=r},function(t,e,n){"use strict";var r=n(5),i=n(2),o=(n(43),n(252)),a=n(13),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntity
vendor: 14,953 bytes, line 1
1Map();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some(function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()})},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=i.push(t,e,"insert-characters");return i.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),o=n.getBlockBefore(r);if(o&&"atomic"===o.getType()){var a=n.getBlockMap().delete(o.getKey()),u=n.merge({blockMap:a,selectionAfter:e});if(u!==n)return i.push(t,u,"remove-range")}var c=s.tryToRemoveBlockStyle(t);return c?i.push(t,c,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),o=e.getStartKey(),a=n.getBlockForKey(o),s=a.getLength();if(e.getStartOffset()<s)return null;var u=n.getBlockAfter(o);if(!u||"atomic"!==u.getType())return null;var c=e.merge({focusKey:u.getKey(),focusOffset:u.getLength()}),l=r.removeRange(n,c,"forward");return l!==n?i.push(t,l,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var s=e.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=s.getBlockBefore(a);if(!l)return e;var f=l.getType();if("unordered-list-item"!==f&&"ordered-list-item"!==f)return e;var p=u.getDepth();if(!t.shiftKey&&p===n)return e;n=Math.min(l.getDepth()+1,n);var h=o(s,r,t.shiftKey?-1:1,n);return i.push(e,h,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),o=n.getStartKey(),s=n.getEndKey(),u=t.getCurrentContent(),c=n;if(o!==s&&0===n.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:o,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile(function(t,e){return e!==o}).reverse().skipWhile(function(t,e){return e!==s}).some(function(t){return"atomic"===t.getType()}))return t;var f=u.getBlockForKey(o).getType()===e?"unstyled":e;return i.push(t,r.setBlockType(u,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),o=t.getCurrentInlineStyle();if(n.isCollapsed())return i.setInlineStyleOverride(t,o.has(e)?o.remove(e):o.add(e));var a,s=t.getCurrentContent();return a=o.has(e)?r.removeInlineStyle(s,n,e):r.applyInlineStyle(s,n,e),i.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var o=r.applyEntity(t.getCurrentContent(),e,n);return i.push(t,o,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var i=e.getAnchorKey(),o=t.getCurrentContent(),a=o.getBlockForKey(i),s=o.getFirstBlock();if(a.getLength()>0&&a!==s)return null;var u=a.getType(),c=o.getBlockBefore(i);if("code-block"===u&&c&&"code-block"===c.getType()&&0!==c.getLength())return null;if("unstyled"!==u)return r.setBlockType(o,e,"unstyled")}return null}};t.exports=s},function(t,e,n){"use strict";var r={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=r},function(t,e,n){t.exports={default:n(272),__esModule:!0}},function(t,e,n){var r=n(30);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(42),i=n(6)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(29);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(20);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(323);Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(325);Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})})},function(t,e,n){"use strict";function r(t){this.tokens=[],this.tokens.links={},this.options=l({},t||p),this.rules=h.normal,this.options.gfm&&(this.rules=h.gfm)}function i(t,e){if(this.options=l({},e||p),this.links=t,this.rules=d.normal,this.renderer=this.options.renderer||new o,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=d.breaks:this.rules=d.gfm:this.options.pedantic&&(this.rules=d.pedantic)}function o(t){this.options=t||{}}function a(t){this.tokens=[],this.token=null,this.options=l({},t||p),this.options.renderer=this.options.renderer||new o,this.renderer=this.options.renderer,this.renderer.options=this.options}function s(t,e){return t=t.source,e=e||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),t=t.replace(r,i),n):new RegExp(t,e)}}Object.defineProperty(e,"__esModule",{value:!0});var u=n(142),c=Object.prototype.hasOwnProperty,l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)c.call(n,r)&&(t[r]=n[r])}return t},f=function(){};f.exec=f;var p={gfm:!0,breaks:!1,pedantic:!1,smartLists:!1,silent:!1,langPrefix:"lang-",renderer:new o,xhtml:!1},h={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:f,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:f,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|def))+)\n*/,text:/^[^\n]+/};h.bullet=/(?:[*+-]|\d+\.)/,h.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,h.item=s(h.item,"gm")(/bull/g,h.bullet)(),h.list=s(h.list)(/bull/g,h.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+h.def.source+")")(),h.blockquote=s(h.blockquote)("def",h.def)(),h.paragraph=s(h.paragraph)("hr",h.hr)("heading",h.heading)("lheading",h.lheading)("blockquote",h.blockquote)("def",h.def)(),h.normal=l({},h),h.gfm=l({},h.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),h.gfm.paragraph=s(h.paragraph)("(?!","(?!"+h.gfm.fences.source.replace("\\1","\\2")+"|"+h.list.source.replace("\\1","\\3")+"|")(),r.rules=h,r.parse=function(t,e){return new r(e).parse(t)},r.prototype.parse=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(t,!0)},r.prototype.token=function(t,e,n){var r,i,o,a,s,u,c,l,f;for(t=t.replace(/^ +$/gm,"");t;)if((o=this.rules.newline.exec(t))&&(t=t.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(t))t=t.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]});else if(o=this.rules.heading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(o=this.rules.lheading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(o=this.rules.hr.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,e,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(t)){for(t=t.substring(o[0].length),a=o[2],this.tokens.push({type:"list_start",ordered:a.length>1}),o=o[0].match(this.rules.item),r=!1,f=o.length,l=0;l<f;l++)u=o[l],c=u.length,u=u.replace(/^ *([*+-]|\d+\.) +/,""),~u.indexOf("\n ")&&(c-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&l!==f-1&&(s=h.bullet.exec(o[l+1])[0],a===s||a.length>1&&s.length>1||(t=o.slice(l+1).join("\n")+t,l=f-1)),i=r||/\n\n(?!\s*$)/.test(u),l!==f-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(!n&&e&&(o=this.rules.def.exec(t)))t=t.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(e&&(o=this.rules.paragraph.exec(t)))t=t.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0));return this.tokens};var d={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:f,ins:f,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};d._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,d._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,d.link=s(d.link)("inside",d._inside)("href",d._href)(),d.reflink=s(d.reflink)("inside",d._inside)(),d.normal=l({},d),d.pedantic=l({},d.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),d.gfm=l({},d.normal,{escape:s(d.escape)("])","~|])")(),del:/^~~(?=\S)([\s\S]*?\S)~~/,ins:/^\+\+(?=\S)([\s\S]*?\S)\+\+/,text:s(d.text)("]|","~+]|")()}),d.breaks=l({},d.gfm,{br:s(d.br)("{2,}","*")(),text:s(d.gfm.text)("{2,}","*")()}),i.rules=d,i.parse=function(t,e,n){return new i(e,n).parse(t)},i.prototype.parse=function(t){for(var e,n,r=new u.FragmentNode;t;)if(n=this.rules.escape.exec(t))t=t.substring(n[0].length),r.appendChild(new u.TextNode(n[1]));else if(n=this.rules.link.exec(t))t=t.substring(n[0].length),this.inLink=!0,r.appendChild(this.outputLink(n,{href:n[2],title:n[3]})),this.inLink=!1;else if((n=this.rules.reflink.exec(t))||(n=this.rules.nolink.exec(t))){if(t=t.substring(n[0].length),e=(n[2]||n[1]).replace(/\s+/g," "),!(e=this.links[e.toLowerCase()])||!e.href){r.appendChild(new u.TextNode(n[0].charAt(0))),t=n[0].substring(1)+t;continue}this.inLink=!0,r.appendChild(this.outputLink(n,e)),this.inLink=!1}else if(n=this.rules.strong.exec(t))t=t.substring(n[0].length),r.appendChild(this.renderer.strong(this.parse(n[2]||n[1])));else if(n=this.rules.em.exec(t))t=t.substring(n[0].length),r.appendChild(this.renderer.em(this.parse(n[2]||n[1])));else if(n=this.rules.code.exec(t))t=t.substring(n[0].length),r.appendChild(this.renderer.codespan(n[2]));else if(n=this.rules.br.exec(t))t=t.substring(n[0].length),r.appendChild(this.renderer.br());else if(n=this.rules.del.exec(t))t=t.substring(n[0].length),r.appendChild(this.renderer.del(this.parse(n[1])));else if(n=this.rules.ins.exec(t))t=t.substring(n[0].length),r.appendChild(this.renderer.ins(this.parse(n[1])));else if(n=this.rules.text.exec(t))t=t.substring(n[0].length),r.appendChild(this.renderer.text(new u.TextNode(n[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0));return r},i.prototype.outputLink=function(t,e){var n=e.href,r=e.title;return"!"!==t[0].charAt(0)?this.renderer.link(n,r,this.parse(t[1])):this.renderer.image(n,r,t[1])},o.prototype.code=function(t,e){var n=[];e&&n.push({name:"class",value:this.options.langPrefix+e});var r=new u.ElementNode("code",n,[t]);return new u.ElementNode("pre",[],[r])},o.prototype.blockquote=function(t){return new u.ElementNode("blockquote",[],[t])},o.prototype.heading=function(t,e){return new u.ElementNode("h"+e,[],[t])},o.prototype.hr=function(){return new u.ElementNode("hr",[],u.SELF_CLOSING)},o.prototype.list=function(t,e){return new u.ElementNode(e?"ol":"ul",[],[t])},o.prototype.listitem=function(t){return new u.ElementNode("li",[],[t])},o.prototype.paragraph=function(t){return new u.ElementNode("p",[],[t])},o.prototype.strong=function(t){return new u.ElementNode("strong",[],[t])},o.prototype.em=function(t){return new u.ElementNode("em",[],[t])},o.prototype.codespan=function(t){return new u.ElementNode("code",[],[new u.TextNode(t)])},o.prototype.br=function(){return new u.ElementNode("br",[],u.SELF_CLOSING)},o.prototype.del=function(t){return new u.ElementNode("del",[],[t])},o.prototype.ins=function(t){return new u.ElementNode("ins",[],[t])},o.prototype.link=function(t,e,n){var r=[{name:"href",value:t}];return e&&r.push({name:"title",value:e}),new u.ElementNode("a",r,[n])},o.prototype.image=function(t,e,n){var r=[{name:"src",value:t}];return e&&r.push({name:"title",value:e}),n&&r.push({name:"alt",value:n}),new u.ElementNode("img",r,u.SELF_CLOSING)},o.prototype.text=function(t){return t},a.parse=function(t,e,n){return new a(e,n).parse(t)},a.prototype.parse=function(t){this.inline=new i(t.links,this.options,this.renderer),this.tokens=t.slice().reverse();for(var e=new u.FragmentNode;this.next();)e.appendChild(this.tok());return e},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var t=this.token.text;"text"===this.peek().type;)t+="\n"+this.next().text;return this.inline.parse(t)},a.prototype.tok=function(){switch(this.token.type){case"space":return new u.TextNode("");case"hr":return this.renderer.hr();
vendor: 28,053 bytes, line 1
1case"heading":return this.renderer.heading(this.inline.parse(this.token.text),this.token.depth);case"code":return this.renderer.code(this.token.text,this.token.lang);case"blockquote_start":for(var t=new u.FragmentNode;"blockquote_end"!==this.next().type;)t.appendChild(this.tok());return this.renderer.blockquote(t);case"list_start":for(var e=new u.FragmentNode,n=this.token.ordered;"list_end"!==this.next().type;)e.appendChild(this.tok());return this.renderer.list(e,n);case"list_item_start":for(var r=new u.FragmentNode;"list_item_end"!==this.next().type;)r.appendChild("text"===this.token.type?this.parseText():this.tok());return this.renderer.listitem(r);case"loose_item_start":for(var i=new u.FragmentNode;"list_item_end"!==this.next().type;)i.appendChild(this.tok());return this.renderer.listitem(i);case"paragraph":return this.renderer.paragraph(this.inline.parse(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var g={parse:function(t,e){e=l({},p,e);try{var n=a.parse(r.parse(t,e),e)}catch(t){if(!e.silent)throw t;n=new u.FragmentNode([new u.ElementNode("p",[],[new u.TextNode("An error occured:")]),new u.ElementNode("pre",[],[new u.TextNode(t.message)])])}return e.getAST?new u.ElementNode("body",[],[n]):n.toString(this.options.xhtml)}};e.default=g},function(t,e,n){"use strict";function r(t,e,n){var r=t.getCurrentContent(),i=r.getBlockForKey(e);if(i.getDepth()===n)return t;var o=i.set("depth",n),a=r.merge({blockMap:r.getBlockMap().set(e,o)});return Y.EditorState.push(t,a,"adjust-depth")}function i(t,e,n){var r=t.getCurrentContent(),i=r.getBlockForKey(e);if(i.getType()===n)return t;var o=i.set("type",n),a=r.merge({blockMap:r.getBlockMap().set(e,o)});return Y.EditorState.push(t,a,"change-block-type")}function o(t){var e=t.getCurrentContent(),n=e.getBlockMap(),r=t.getSelection();if(r.isCollapsed())return new q.OrderedMap;var i=r.getStartKey(),o=r.getEndKey();return i===o?new q.OrderedMap({startKey:e.getBlockForKey(i)}):n.takeUntil(function(t,e){return e===o}).skipUntil(function(t,e){return e===i})}function a(t,e,n){var r=t.getCurrentContent(),i=r.getBlockMap(),o=i.get(e),a=i.toSeq().takeUntil(function(t){return t===o}),s=i.toSeq().skipUntil(function(t){return t===o}).rest(),u=Object(Y.genKey)(),c=new Y.ContentBlock({key:u,type:n,text:"",characterList:o.getCharacterList().slice(0,0),depth:0}),l=a.concat([[e,o],[u,c]],s).toOrderedMap(),f=t.getSelection(),p=r.merge({blockMap:l,selectionBefore:f,selectionAfter:f.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})});return Y.EditorState.push(t,p,"split-block")}function s(t){var e=t.getType();return e===W.BLOCK_TYPE.UNORDERED_LIST_ITEM||e===W.BLOCK_TYPE.ORDERED_LIST_ITEM}function u(t){var e=lt()(t.className,vt.a.root);return U.a.createElement("div",M()({},t,{className:e}))}function c(t){var e=lt()(t.className,Ot.a.root);return U.a.createElement("div",M()({},t,{className:e}))}function l(t,e){var n=t.getEntityAt(e);if(null==n)return null;for(var r=e;r>0&&t.getEntityAt(r-1)===n;)r-=1;for(var i=r,o=t.getLength();i<o&&t.getEntityAt(i+1)===n;)i+=1;return{entityKey:n,blockKey:t.getKey(),startOffset:r,endOffset:i+1}}function f(t){var e=t.getSelection(),n=e.getStartKey(),r=t.getCurrentContent().getBlockForKey(n),i=e.getStartOffset();if(e.isCollapsed())return l(r,0===i?i:i-1);if(n!==e.getEndKey())return null;for(var o=e.getEndOffset(),a=r.getEntityAt(i),s=i;s<o;s++){var u=r.getEntityAt(s);if(null==u||u!==a)return null}return{entityKey:a,blockKey:r.getKey(),startOffset:i,endOffset:o}}function p(t,e,n,r){var i=t.getCurrentContent(),o=i.getBlockMap(),a=o.get(e),s=a.getCharacterList(),u=s.map(function(t,e){return e>=n&&e<r?Y.CharacterMetadata.applyEntity(t,null):t}),c=a.set("characterList",u),l=o.set(e,c),f=i.set("blockMap",l);return Y.EditorState.push(t,f,"apply-entity")}function h(t,e,n){var r=t.getCurrentContent();switch(e){case"html":return Object(qt.stateToHTML)(r,n);case"markdown":return Object(Vt.stateToMarkdown)(r);case"raw":return Ht()(Object(Y.convertToRaw)(r));default:throw new Error("Format not supported: "+e)}}function d(t,e,n){switch(e){case"html":return Object(Wt.stateFromHTML)(t,n);case"markdown":return Object(Gt.stateFromMarkdown)(t,n);case"raw":return Object(Y.convertFromRaw)(JSON.parse(t));default:throw new Error("Format not supported: "+e)}}function g(t){var e=t.contentState.getEntity(t.entityKey).getData(),n=e.url;return U.a.createElement("a",{href:n},t.children)}function y(t,e,n){t.findEntityRanges(function(t){var e=t.getEntity();if(null!=e){var r=n?n.getEntity(e):null;return null!=r&&r.getType()===W.ENTITY_TYPE.LINK}return!1},e)}function m(t,e,n){t.findEntityRanges(function(t){var e=t.getEntity();if(null!=e){var r=n?n.getEntity(e):null;return null!=r&&r.getType()===W.ENTITY_TYPE.IMAGE}return!1},e)}function v(t,e){return function(n){if(e){var r=e(n);if(null!=r)return r}return t(n)}}function _(t){var e=se.a.block;switch(t.getType()){case"unstyled":return lt()(e,se.a.paragraph);case"blockquote":return lt()(e,se.a.blockquote);case"code-block":return lt()(e,se.a.codeBlock);default:return e}}function b(){return Zt.createEmpty(le)}function x(t,e,n){return Zt.createFromString(t,e,le,n)}Object.defineProperty(e,"__esModule",{value:!0});var w=n(97),E=n.n(w),S=n(56),k=n.n(S),O=n(21),M=n.n(O),T=n(41),I=n.n(T),C=n(22),D=n.n(C),L=n(16),j=n.n(L),A=n(17),N=n.n(A),z=n(23),P=n.n(z),R=n(24),B=n.n(R),K=n(3),U=n.n(K),Y=n(12),F=n(92),H=n.n(F),q=n(93),W=n(32),V=n(271),G=n.n(V),Q=n(135),Z=n.n(Q),J=n(276),X=n.n(J),$=n(75),tt=n.n($),et=n(64),nt=n(38),rt=n.n(nt),it=[{label:"Bold",style:"BOLD"},{label:"Italic",style:"ITALIC"},{label:"Strikethrough",style:"STRIKETHROUGH"},{label:"Monospace",style:"CODE"},{label:"Underline",style:"UNDERLINE"}],ot=[{label:"Normal",style:"unstyled"},{label:"Heading Large",style:"header-one"},{label:"Heading Medium",style:"header-two"},{label:"Heading Small",style:"header-three"},{label:"Code Block",style:"code-block"}],at=[{label:"UL",style:"unordered-list-item"},{label:"OL",style:"ordered-list-item"},{label:"Blockquote",style:"blockquote"}],st={display:["INLINE_STYLE_BUTTONS","BLOCK_TYPE_BUTTONS","LINK_BUTTONS","IMAGE_BUTTON","BLOCK_TYPE_DROPDOWN","HISTORY_BUTTONS"],INLINE_STYLE_BUTTONS:it,BLOCK_TYPE_DROPDOWN:ot,BLOCK_TYPE_BUTTONS:at},ut=st,ct=n(27),lt=n.n(ct),ft=n(33),pt=n.n(ft),ht=n(292),dt=n.n(ht),gt=function(t){function e(){j()(this,e);var t=P()(this,(e.__proto__||D()(e)).apply(this,arguments));return pt()(t),t}return B()(e,t),N()(e,[{key:"render",value:function(){var t=this.props,e=t.className,n=t.isDisabled,r=t.focusOnClick,i=t.formSubmit,o=I()(t,["className","isDisabled","focusOnClick","formSubmit"]);e=lt()(e,dt.a.root);var a=!1===r?this._onMouseDownPreventDefault:t.onMouseDown,s=i?"submit":"button";return U.a.createElement("button",M()({type:s},o,{onMouseDown:a,className:e,disabled:n}),t.children)}},{key:"_onMouseDownPreventDefault",value:function(t){t.preventDefault();var e=this.props.onMouseDown;null!=e&&e(t)}}]),e}(K.Component),yt=gt,mt=n(295),vt=n.n(mt),_t=n(297),bt=n.n(_t),xt=function(t){function e(){return j()(this,e),P()(this,(e.__proto__||D()(e)).apply(this,arguments))}return B()(e,t),N()(e,[{key:"render",value:function(){var t,e=this.props,n=e.className,r=e.iconName,i=e.label,o=e.children,a=e.isActive,s=I()(e,["className","iconName","label","children","isActive"]);return n=lt()(n,(t={},k()(t,bt.a.root,!0),k()(t,bt.a.isActive,a),t)),U.a.createElement(u,null,U.a.createElement(yt,M()({},s,{title:i,className:n}),U.a.createElement("span",{className:bt.a["icon-"+r]})),o)}}]),e}(K.Component),wt=xt,Et=function(t){function e(){j()(this,e);var t=P()(this,(e.__proto__||D()(e)).apply(this,arguments));return pt()(t),t}return B()(e,t),N()(e,[{key:"render",value:function(){var t=this.props,e=t.style,n=(t.onToggle,I()(t,["style","onToggle"])),r=e.toLowerCase();return U.a.createElement(wt,M()({},n,{iconName:r,onClick:this._onClick,focusOnClick:!1}))}},{key:"_onClick",value:function(){this.props.onToggle(this.props.style)}}]),e}(K.Component),St=Et,kt=n(299),Ot=n.n(kt),Mt=n(301),Tt=n.n(Mt),It=function(t){function e(){j()(this,e);var t=P()(this,(e.__proto__||D()(e)).apply(this,arguments));return pt()(t),t}return B()(e,t),N()(e,[{key:"componentDidMount",value:function(){document.addEventListener("click",this._onDocumentClick),document.addEventListener("keydown",this._onDocumentKeydown),this._inputRef&&this._inputRef.focus()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this._onDocumentClick),document.removeEventListener("keydown",this._onDocumentKeydown)}},{key:"render",value:function(){var t=this.props,e=lt()(t.className,Tt.a.root);return U.a.createElement("div",{className:e},U.a.createElement("div",{className:Tt.a.inner},U.a.createElement("input",{ref:this._setInputRef,type:"text",placeholder:"https://example.com/",className:Tt.a.input,onKeyPress:this._onInputKeyPress}),U.a.createElement(c,{className:Tt.a.buttonGroup},U.a.createElement(wt,{label:"Cancel",iconName:"cancel",onClick:t.onCancel}),U.a.createElement(wt,{label:"Submit",iconName:"accept",onClick:this._onSubmit}))))}},{key:"_setInputRef",value:function(t){this._inputRef=t}},{key:"_onInputKeyPress",value:function(t){13===t.which&&(t.preventDefault(),this._onSubmit())}},{key:"_onSubmit",value:function(){var t=this._inputRef?this._inputRef.value:"";this.props.onSubmit(t)}},{key:"_onDocumentClick",value:function(t){rt.a.findDOMNode(this).contains(t.target)||this.props.onCancel(t)}},{key:"_onDocumentKeydown",value:function(t){27===t.keyCode&&this.props.onCancel()}}]),e}(K.Component),Ct=It,Dt=function(t){function e(){j()(this,e);var t=P()(this,(e.__proto__||D()(e)).apply(this,arguments));return pt()(t),t}return B()(e,t),N()(e,[{key:"render",value:function(){var t=this.props,e=t.onTogglePopover,n=(t.showPopover,I()(t,["onTogglePopover","showPopover"]));return U.a.createElement(wt,M()({},n,{onClick:e}),this._renderPopover())}},{key:"_renderPopover",value:function(){return this.props.showPopover?U.a.createElement(Ct,{onSubmit:this._onSubmit,onCancel:this._hidePopover}):null}},{key:"_onSubmit",value:function(){var t;(t=this.props).onSubmit.apply(t,arguments)}},{key:"_hidePopover",value:function(){if(this.props.showPopover){var t;(t=this.props).onTogglePopover.apply(t,arguments)}}}]),e}(K.Component),Lt=Dt,jt=n(303),At=n.n(jt),Nt=n(310),zt=n.n(Nt),Pt=function(t){function e(){j()(this,e);var t=P()(this,(e.__proto__||D()(e)).apply(this,arguments));return pt()(t),t}return B()(e,t),N()(e,[{key:"render",value:function(){var t=this.props,e=t.choices,n=t.selectedKey,r=t.className,i=I()(t,["choices","selectedKey","className"]);r=lt()(r,zt.a.root);var o=null==n?null:e.get(n),a=o&&o.label||"";return U.a.createElement("span",{className:r,title:a},U.a.createElement("select",M()({},i,{value:n,onChange:this._onChange}),this._renderChoices()),U.a.createElement("span",{className:zt.a.value},a))}},{key:"_onChange",value:function(t){var e=t.target.value;this.props.onChange(e)}},{key:"_renderChoices",value:function(){var t=this.props.choices;return Z()(t.entries()).map(function(t){var e=At()(t,2),n=e[0],r=e[1],i=r.label,o=r.className;return U.a.createElement("option",{key:n,value:n,className:o},i)})}}]),e}(K.Component),Rt=Pt,Bt=n(312),Kt=n.n(Bt),Ut=function(t){function e(){j()(this,e);var t=P()(this,(e.__proto__||D()(e)).apply(this,arguments));return pt()(t),t.state={showLinkInput:!1,showImageInput:!1,customControlState:{}},t}return B()(e,t),N()(e,[{key:"componentWillMount",value:function(){this.props.keyEmitter.on("keypress",this._onKeypress)}},{key:"componentWillUnmount",value:function(){this.props.keyEmitter.removeListener("keypress",this._onKeypress)}},{key:"render",value:function(){var t=this,e=this.props,n=e.className,r=e.toolbarConfig,i=e.rootStyle;null==r&&(r=ut);var o=r.display||ut.display,a=o.map(function(e){switch(e){case"INLINE_STYLE_BUTTONS":return t._renderInlineStyleButtons(e,r);case"BLOCK_TYPE_DROPDOWN":return t._renderBlockTypeDropdown(e,r);case"LINK_BUTTONS":return t._renderLinkButtons(e,r);case"IMAGE_BUTTON":return t._renderImageButton(e,r);case"BLOCK_TYPE_BUTTONS":return t._renderBlockTypeButtons(e,r);case"HISTORY_BUTTONS":return t._renderUndoRedo(e,r)}});return U.a.createElement("div",{className:lt()(Kt.a.root,n),style:i},a,this._renderCustomControls())}},{key:"_renderCustomControls",value:function(){var t=this,e=this.props,n=e.customControls,r=e.editorState;if(null!=n)return n.map(function(e){switch(void 0===e?"undefined":tt()(e)){case"function":return e(t._setCustomControlState,t._getCustomControlState,r);default:return e}})}},{key:"_setCustomControlState",value:function(t,e){this.setState(function(n){var r=n.customControlState;return{customControlState:M()({},r,k()({},t,e))}})}},{key:"_getCustomControlState",value:function(t){return this.state.customControlState[t]}},{key:"_renderBlockTypeDropdown",value:function(t,e){var n=this._getCurrentBlockType(),r=new X.a((e.BLOCK_TYPE_DROPDOWN||[]).map(function(t){return[t.style,{label:t.label,className:t.className}]}));return r.has(n)||(n=Z()(r.keys())[0]),U.a.createElement(c,{key:t},U.a.createElement(Rt,M()({},e.extraProps,{choices:r,selectedKey:n,onChange:this._selectBlockType})))}},{key:"_renderBlockTypeButtons",value:function(t,e){var n=this,r=this._getCurrentBlockType(),i=(e.BLOCK_TYPE_BUTTONS||[]).map(function(t,i){return U.a.createElement(St,M()({},e.extraProps,{key:String(i),isActive:t.style===r,label:t.label,onToggle:n._toggleBlockType,style:t.style,className:t.className}))});return U.a.createElement(c,{key:t},i)}},{key:"_renderInlineStyleButtons",value:function(t,e){var n=this,r=this.props.editorState,i=r.getCurrentInlineStyle(),o=(e.INLINE_STYLE_BUTTONS||[]).map(function(t,r){return U.a.createElement(St,M()({},e.extraProps,{key:String(r),isActive:i.has(t.style),label:t.label,onToggle:n._toggleInlineStyle,style:t.style,className:t.className}))});return U.a.createElement(c,{key:t},o)}},{key:"_renderLinkButtons",value:function(t,e){var n=this.props.editorState,r=n.getSelection(),i=this._getEntityAtCursor(),o=!r.isCollapsed(),a=null!=i&&i.type===W.ENTITY_TYPE.LINK,s=o||a;return U.a.createElement(c,{key:t},U.a.createElement(Lt,{label:"Link",iconName:"link",isDisabled:!s,showPopover:this.state.showLinkInput,onTogglePopover:this._toggleShowLinkInput,onSubmit:this._setLink}),U.a.createElement(wt,M()({},e.extraProps,{label:"Remove Link",iconName:"remove-link",isDisabled:!a,onClick:this._removeLink,focusOnClick:!1})))}},{key:"_renderImageButton",value:function(t){return U.a.createElement(c,{key:t},U.a.createElement(Lt,{label:"Image",iconName:"image",showPopover:this.state.showImageInput,onTogglePopover:this._toggleShowImageInput,onSubmit:this._setImage}))}},{key:"_renderUndoRedo",value:function(t,e){var n=this.props.editorState,r=0!==n.getUndoStack().size,i=0!==n.getRedoStack().size;return U.a.createElement(c,{key:t},U.a.createElement(wt,M()({},e.extraProps,{label:"Undo",iconName:"undo",isDisabled:!r,onClick:this._undo,focusOnClick:!1})),U.a.createElement(wt,M()({},e.extraProps,{label:"Redo",iconName:"redo",isDisabled:!i,onClick:this._redo,focusOnClick:!1})))}},{key:"_onKeypress",value:function(t,e){Object(et.hasCommandModifier)(t)&&75===t.keyCode&&(this.props.editorState.getSelection().isCollapsed()||(this.setState({showLinkInput:!0}),e.wasHandled=!0))}},{key:"_toggleShowLinkInput",value:function(t){var e=this.state.showLinkInput;if(e){var n=!0;if(t&&"click"===t.type){var r=rt.a.findDOMNode(this).parentNode,i=document,o=i.activeElement;null==o||o===document.body||r.contains(o)||(n=!1)}n&&this.props.focusEditor()}this.setState({showLinkInput:!e})}},{key:"_toggleShowImageInput",value:function(t){var e=this.state.showImageInput;if(e){var n=!0;if(t&&"click"===t.type){var r=rt.a.findDOMNode(this).parentNode,i=document,o=i.activeElement;null==o||o===document.body||r.contains(o)||(n=!1)}n&&this.props.focusEditor()}this.setState({showImageInput:!e})}},{key:"_setImage",value:function(t){var e=this.props.editorState,n=e.getCurrentContent(),r=e.getSelection();n=n.createEntity(W.ENTITY_TYPE.IMAGE,"IMMUTABLE",{src:t});var i=n.getLastCreatedEntityKey(),o=Y.Modifier.insertText(n,r," ",null,i);this.setState({showImageInput:!1}),this.props.onChange(Y.EditorState.push(e,o)),this._focusEditor()}},{key:"_setLink",value:function(t){var e=this.props.editorState,n=e.getCurrentContent(),r=e.getSelection();n=n.createEntity(W.ENTITY_TYPE.LINK,"MUTABLE",{url:t});var i=n.getLastCreatedEntityKey(),o=Y.EditorState.push(e,n);this.setState({showLinkInput:!1}),this.props.onChange(Y.RichUtils.toggleLink(o,r,i)),this._focusEditor()}},{key:"_removeLink",value:function(){var t=this.props.editorState,e=f(t);if(null!=e){var n=e.blockKey,r=e.startOffset,i=e.endOffset;this.props.onChange(p(t,n,r,i))}}},{key:"_getEntityAtCursor",value:function(){var t=this.props.editorState,e=t.getCurrentContent(),n=f(t);return null==n?null:e.getEntity(n.entityKey)}},{key:"_getCurrentBlockType",value:function(){var t=this.props.editorState,e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()}},{key:"_selectBlockType",value:function(){this._toggleBlockType.apply(this,arguments),this._focusEditor()}},{key:"_toggleBlockType",value:function(t){this.props.onChange(Y.RichUtils.toggleBlockType(this.props.editorState,t))}},{key:"_toggleInlineStyle",value:function(t){this.props.onChange(Y.RichUtils.toggleInlineStyle(this.props.editorState,t))}},{key:"_undo",value:function(){var t=this.props.editorState;this.props.onChange(Y.EditorState.undo(t))}},{key:"_redo",value:function(){var t=this.props.editorState;this.props.onChange(Y.EditorState.redo(t))}},{key:"_focusEditor",value:function(){var t=this;setTimeout(function(){t.props.focusEditor()},50)}}]),e}(K.Component),Yt=Ut,Ft=n(314),Ht=n.n(Ft),qt=n(316),Wt=n(321),Vt=n(328),Gt=n(330),Qt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j()(this,t),this._cache=n,this._editorState=e}return N()(t,[{key:"getEditorState",value:function(){return this._editorState}},{key:"setEditorState",value:function(e){return this._editorState===e?this:new t(e)}},{key:"toString",value:function(t,e){var n=this._cache[t];return null!=n?n:this._cache[t]=h(this.getEditorState(),t,e)}},{key:"setContentFromString",value:function(e,n,r){return new t(Y.EditorState.push(this._editorState,d(e,n,r),"secondary-paste"),k()({},n,e))}}],[{key:"createEmpty",value:function(e){return new t(Y.EditorState.createEmpty(e))}},{key:"createFromState",value:function(e){return new t(e)}},{key:"createFromString",value:function(e,n,r,i){var o=d(e,n,i);return new t(Y.EditorState.createWithContent(o,r),k()({},n,e))}}]),t}(),Zt=Qt,Jt={strategy:y,component:g},Xt=n(332),$t=n.n(Xt),te=function(t){function e(t){j()(this,e);var n=P()(this,(e.__proto__||D()(e)).call(this,t));pt()(n);var r=t.contentState.getEntity(t.entityKey),i=r.getData(),o=i.width,a=i.height;return n.state={width:o,height:a},n}return B()(e,t),N()(e,[{key:"componentDidMount",value:function(){var t=this,e=this.state,n=e.width,r=e.height,i=this.props.contentState.getEntity(this.props.entityKey),o=new Image,a=i.getData(),s=a.src;o.src=s,o.onload=function(){null!=n&&null!=r||(t.setState({width:o.width,height:o.height}),Y.Entity.mergeData(t.props.entityKey,{width:o.width,height:o.height,originalWidth:o.width,originalHeight:o.height}))}}},{key:"render",value:function(){var t=this.state,e=t.width,n=t.height,r=this.props.className,i=this.props.contentState.getEntity(this.props.entityKey),o=i.getData(),a=o.src;r=lt()(r,$t.a.root);var s={verticalAlign:"bottom",backgroundImage:'url("'+a+'")',backgroundSize:e+"px "+n+"px",lineHeight:n+"px",fontSize:n+"px",width:e,height:n,letterSpacing:e};return U.a.createElement("span",{className:r,style:s,onClick:this._onClick},this.props.children)}},{key:"_onClick",value:function(){console.log("image clicked")}},{key:"_handleResize",value:function(t,e){var n=e.size,r=n.width,i=n.height;this.setState({width:r,height:i}),Y.Entity.mergeData(this.props.entityKey,{width:r,height:i})}}]),e}(K.Component),ee=te,ne={strategy:m,component:ee},re=v,ie=n(334),oe=n.n(ie),ae=(n(335),n(337)),se=n.n(ae);n.d(e,"decorator",function(){return le}),n.d(e,"createEmptyValue",function(){return b}),n.d(e,"createValueFromString",function(){return x}),n.d(e,"EditorValue",function(){return Zt}),n.d(e,"ButtonGroup",function(){return c}),n.d(e,"Button",function(){return yt}),n.d(e,"Dropdown",function(){return Rt});var ue={CODE:{backgroundColor:"#f3f3f3",fontFamily:'"Inconsolata", "Menlo", "Consolas", monospace',fontSize:16,padding:2}},ce=function(t){function e(){j()(this,e);var t=P()(this,(e.__proto__||D()(e)).apply(this,arguments));return t._keyEmitter=new oe.a,pt()(t),t}return B()(e,t),N()(e,[{key:"componentDidMount",value:function(){this.props.autoFocus&&this._focus()}},{key:"render",value:function(){var t,e=this.props,n=e.value,r=e.className,i=e.toolbarClassName,o=e.editorClassName,a=e.placeholder,s=e.customStyleMap,u=e.readOnly,c=e.disabled,l=e.toolbarConfig,f=e.blockStyleFn,p=e.customControls,h=e.keyBindingFn,d=e.rootStyle,g=e.toolbarStyle,y=e.editorStyle,m=I()(e,["value","className","toolbarClassName","editorClassName","placeholder","customStyleMap","readOnly","disabled","toolbarConfig","blockStyleFn","customControls","keyBindingFn","rootStyle","toolbarStyle","editorStyle"]),v=n.getEditorState();s=s?M()({},ue,s):ue;var b=lt()((t={},k()(t,se.a.editor,!0),k()(t,se.a.hidePlaceholder,this._shouldHidePlaceholder()),t),o);null==u&&(u=c);var x=void 0;return u||(x=U.a.createElement(Yt,{rootStyle:g,className:i,keyEmitter:this._keyEmitter,editorState:v,onChange:this._onChange,focusEditor:this._focus,toolbarConfig:l,customControls:p})),U.a.createElement("div",{className:lt()(se.a.root,r),style:d},x,U.a.createElement("div",{className:b,style:y},U.a.createElement(Y.Editor,M()({},m,{blockStyleFn:re(_,f),customStyleMap:s,editorState:v,handleReturn:this._handleReturn,keyBindingFn:h||this._customKeyHandler,handleKeyCommand:this._handleKeyCommand,onTab:this._onTab,onChange:this._onChange,placeholder:a,ref:"editor",spellCheck:!0,readOnly:u}))))}},{key:"_shouldHidePlaceholder",value:function(){var t=this.props.value.getEditorState(),e=t.getCurrentContent();return!e.hasText()&&"unstyled"!==e.getBlockMap().first().getType()}},{key:"_handleReturn",value:function(t){var e=this.props.handleReturn;return!!(null!=e&&e(t)||this._handleReturnSoftNewline(t)||this._handleReturnEmptyListItem()||this._handleReturnSpecialBlock())}},{key:"_handleReturnSoftNewline",value:function(t){var e=this.props.value.getEditorState();if(G()(t)){var n=e.getSelection();if(n.isCollapsed())this._onChange(Y.RichUtils.insertSoftNewline(e));else{var r=e.getCurrentContent(),i=Y.Modifier.removeRange(r,n,"forward"),o=i.getSelectionAfter(),a=i.getBlockForKey(o.getStartKey());i=Y.Modifier.insertText(i,o,"\n",a.getInlineStyleAt(o.getStartOffset()),null),this._onChange(Y.EditorState.push(e,i,"insert-fragment"))}return!0}return!1}},{key:"_handleReturnEmptyListItem",value:function(){var t=this.props.value.getEditorState(),e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),o=e.getStartKey(),a=n.getBlockForKey(o);if(s(a)&&0===a.getLength()){var u=a.getDepth(),c=0===u?i(t,o,W.BLOCK_TYPE.UNSTYLED):r(t,o,u-1);return this._onChange(c),!0}}return!1}},{key:"_handleReturnSpecialBlock",value:function(){var t=this.props.value.getEditorState(),e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockForKey(r);if(!s(i)&&i.getType()!==W.BLOCK_TYPE.UNSTYLED&&i.getLength()===e.getStartOffset()){var o=a(t,r,W.BLOCK_TYPE.UNSTYLED);return this._onChange(o),!0}}return!1}},{key:"_onTab",value:function(t){var e=this.props.value.getEditorState(),n=Y.RichUtils.onTab(t,e,2);n!==e&&this._onChange(n)}},{key:"_customKeyHandler",value:function(t){var e={};return this._keyEmitter.emit("keypress",t,e),e.wasHandled?null:H()(t)}},{key:"_handleKeyCommand",value:function(t){var e=this.props.value.getEditorState(),n=Y.RichUtils.handleKeyCommand(e,t);return!!n&&(this._onChange(n),!0)}},{key:"_onChange",value:function(t){var e=this.props,n=e.onChange,r=e.value;if(null!=n){var i=r.setEditorState(t),o=i.getEditorState();this._handleInlineImageSelection(o),n(i)}}},{key:"_handleInlineImageSelection",value:function(t){var e=t.getSelection(),n=o(t),r=function(t,e){var n=t.getEntityAt(e);Y.Entity.mergeData(n,{selected:!0})},i=function(t){return t>0&&t<n.size-1},a=function(t,n){return 0===n&&t>e.getStartOffset()},s=function(t,r){return r===n.size-1&&t<e.getEndOffset()};n.toIndexedSeq().forEach(function(t,e){ne.strategy(t,function(n){(a(n,e)||i(e)||s(n,e))&&r(t,n)})})}},{key:"_focus",value:function(){this.refs.editor.focus()}}]),e}(K.Component),le=(e.default=ce,new Y.CompositeDecorator([Jt,ne]));E()(ce,{EditorValue:Zt,decorator:le,createEmptyValue:b,createValueFromString:x,ButtonGroup:c,Button:yt,Dropdown:Rt})},function(t,e,n){n(146),t.exports=n(4).Object.assign},function(t,e,n){var r=n(8);r(r.S+r.F,"Object",{assign:n(147)})},function(t,e,n){"use strict";var r=n(52),i=n(74),o=n(55),a=n(46),s=n(67),u=Object.assign;t.exports=!u||n(35)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=i.f,f=o.f;u>c;)for(var p,h=s(arguments[c++]),d=l?r(h).concat(l(h)):r(h),g=d.length,y=0;g>y;)f.call(h,p=d[y++])&&(n[p]=h[p]);return n}:u},function(t,e,n){var r=n(40),i=n(53),o=n(149);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(70),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){n(151);var r=n(4).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(8);r(r.S+r.F*!n(15),"Object",{defineProperty:n(11).f})},function(t,e,n){n(153),t.exports=n(4).Object.getPrototypeOf},function(t,e,n){var r=n(46),i=n(103);n(154)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(8),i=n(4),o=n(35);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){t.exports={default:n(156),__esModule:!0}},function(t,e,n){n(47),n(59),t.exports=n(78).f("iterator")},function(t,e,n){var r=n(70),i=n(69);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(57),i=n(45),o=n(58),a={};n(29)(a,n(6)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(11),i=n(30),o=n(52);t.exports=n(15)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(14).document;t.exports=r&&r.documentElement},function(t,e,n){"use strict";var r=n(162),i=n(105),o=n(42),a=n(40);t.exports=n(76)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e,n){t.exports={default:n(164),__esModule:!0}},function(t,e,n){n(165),n(109),n(168),n(169),t.exports=n(4).Symbol},function(t,e,n){"use strict";var r=n(14),i=n(36),o=n(15),a=n(8),s=n(104),u=n(79).KEY,c=n(35),l=n(72),f=n(58),p=n(54),h=n(6),d=n(78),g=n(80),y=n(166),m=n(106),v=n(30),_=n(20),b=n(40),x=n(66),w=n(45),E=n(57),S=n(167),k=n(108),O=n(11),M=n(52),T=k.f,I=O.f,C=S.f,D=r.Symbol,L=r.JSON,j=L&&L.stringify,A=h("_hidden"),N=h("toPrimitive"),z={}.propertyIsEnumerable,P=l("symbol-registry"),R=l("symbols"),B=l("op-symbol
1s"),K=Object.prototype,U="function"==typeof D,Y=r.QObject,F=!Y||!Y.prototype||!Y.prototype.findChild,H=o&&c(function(){return 7!=E(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=T(K,e);r&&delete K[e],I(t,e,n),r&&t!==K&&I(K,e,r)}:I,q=function(t){var e=R[t]=E(D.prototype);return e._k=t,e},W=U&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},V=function(t,e,n){return t===K&&V(B,e,n),v(t),e=x(e,!0),v(n),i(R,e)?(n.enumerable?(i(t,A)&&t[A][e]&&(t[A][e]=!1),n=E(n,{enumerable:w(0,!1)})):(i(t,A)||I(t,A,w(1,{})),t[A][e]=!0),H(t,e,n)):I(t,e,n)},G=function(t,e){v(t);for(var n,r=y(e=b(e)),i=0,o=r.length;o>i;)V(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?E(t):G(E(t),e)},Z=function(t){var e=z.call(this,t=x(t,!0));return!(this===K&&i(R,t)&&!i(B,t))&&(!(e||!i(this,t)||!i(R,t)||i(this,A)&&this[A][t])||e)},J=function(t,e){if(t=b(t),e=x(e,!0),t!==K||!i(R,e)||i(B,e)){var n=T(t,e);return!n||!i(R,e)||i(t,A)&&t[A][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=C(b(t)),r=[],o=0;n.length>o;)i(R,e=n[o++])||e==A||e==u||r.push(e);return r},$=function(t){for(var e,n=t===K,r=C(n?B:b(t)),o=[],a=0;r.length>a;)!i(R,e=r[a++])||n&&!i(K,e)||o.push(R[e]);return o};U||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===K&&e.call(B,n),i(this,A)&&i(this[A],t)&&(this[A][t]=!1),H(this,t,w(1,n))};return o&&F&&H(K,t,{configurable:!0,set:e}),q(t)},s(D.prototype,"toString",function(){return this._k}),k.f=J,O.f=V,n(107).f=S.f=X,n(55).f=Z,n(74).f=$,o&&!n(77)&&s(K,"propertyIsEnumerable",Z,!0),d.f=function(t){return q(h(t))}),a(a.G+a.W+a.F*!U,{Symbol:D});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=M(h.store),rt=0;nt.length>rt;)g(nt[rt++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return i(P,t+="")?P[t]:P[t]=D(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in P)if(P[e]===t)return e},useSetter:function(){F=!0},useSimple:function(){F=!1}}),a(a.S+a.F*!U,"Object",{create:Q,defineProperty:V,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:$}),L&&a(a.S+a.F*(!U||c(function(){var t=D();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!W(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!W(e))return e}),r[1]=e,j.apply(L,r)}}),D.prototype[N]||n(29)(D.prototype,N,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(52),i=n(74),o=n(55);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var r=n(40),i=n(107).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},function(t,e,n){n(80)("asyncIterator")},function(t,e,n){n(80)("observable")},function(t,e,n){t.exports={default:n(171),__esModule:!0}},function(t,e,n){n(172),t.exports=n(4).Object.setPrototypeOf},function(t,e,n){var r=n(8);r(r.S,"Object",{setPrototypeOf:n(173).set})},function(t,e,n){var r=n(20),i=n(30),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(34)(Function.call,n(108).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){t.exports={default:n(175),__esModule:!0}},function(t,e,n){n(176);var r=n(4).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(8);r(r.S,"Object",{create:n(57)})},function(t,e,n){"use strict";var r=n(9),i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(48),a=n(7),s=n(37),u=n(10),c=n(31),l=n(5),f=n(2),p=n(0),h=(n(43),n(25)),d=n(192),g=c.draft_tree_data_support,y=g?u:s,m=p.List,v=p.Repeat,_={insertAtomicBlock:function(t,e,n){var r=t.getCurrentContent(),s=t.getSelection(),u=l.removeRange(r,s,"backward"),c=u.getSelectionAfter(),p=l.splitBlock(u,c),d=p.getSelectionAfter(),_=l.setBlockType(p,d,"atomic"),b=a.create({entity:e}),x={key:h(),type:"atomic",text:n,characterList:m(v(b,n.length))},w={key:h(),type:"unstyled"};g&&(x=i({},x,{nextSibling:w.key}),w=i({},w,{prevSibling:x.key}
vendor: 4,292 bytes, line 1
1));var E=[new y(x),new y(w)],S=o.createFromArray(E),k=l.replaceWithFragment(_,d,S),O=k.merge({selectionBefore:s,selectionAfter:k.getSelectionAfter().set("hasFocus",!0)});return f.push(t,O,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var i=t.getCurrentContent(),o=t.getSelection(),a=void 0;if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());a=d(i,e,s,r)}else{var u=l.removeRange(i,n,"backward"),c=u.getSelectionAfter(),p=u.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())a=d(u,e,p,"before");else if(c.getEndOffset()===p.getLength())a=d(u,e,p,"after");else{var h=l.splitBlock(u,c),g=h.getSelectionAfter(),y=h.getBlockForKey(g.getFocusKey());a=d(h,e,y,"before")}}var m=a.merge({selectionBefore:o,selectionAfter:a.getSelectionAfter().set("hasFocus",!0)});return f.push(t,m,"move-block")}};t.exports=_},function(t,e,n){"use strict";var r={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1};t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){var o=t.getBlockMap(),s=e.getStartKey(),u=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=o.skipUntil(function(t,e){return e===s}).takeUntil(function(t,e){return e===c}).concat(a([[c,o.get(c)]])).map(function(t,e){var o,a;s===c?(o=u,a=l):(o=e===s?u:0,a=e===c?l:t.getLength());for(var f,p=t.getCharacterList();o<a;)f=p.get(o),p=p.set(o,r?i.applyStyle(f,n):i.removeStyle(f,n)),o++;return t.set("characterList",p)});return t.merge({blockMap:o.merge(f),selectionBefore:e,selectionAfter:e})}var i=n(7),o=n(0),a=o.Map,s={add:function(t,e,n){return r(t,e,n,!0)},remove:function(t,e,n){return r(t,e,n,!1)}};t.exports=s},function(t,e,n){"use strict";function r(t,e,n){var r=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=r.skipUntil(function(t,e){return e===a}).takeUntil(function(t,e){return e===u}).toOrderedMap().merge(i.OrderedMap([[u,r.get(u)]])).map(function(t,e){var r=e===a?s:0,i=e===u?c:t.getLength();return o(t,r,i,n)});return t.merge({blockMap:r.merge(l),selectionBefore:e,selectionAfter:e})}var i=n(0),o=n(181);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){for(var o=t.getCharacterList();e<n;)o=o.set(e,i.applyEntity(o.get(e),r)),e++;return t.set("characterList",o)}var i=n(7);t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r,o){var a=r.getStartOffset(),s=r.getEndOffset(),u=e.getEntityAt(a),c=n.getEntityAt(s-1);if(!u&&!c)return r;var l=r;if(u&&u===c)l=i(t,e,l,o,u,!0,!0);else if(u&&c){var f=i(t,e,l,o,u,!1,!0),p=i(t,n,l,o,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(u){var h=i(t,e,l,o,u,!1,!0);l=l.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(c){var d=i(t,n,l,o,c,!1,!1);l=l.merge({focusOffset:d.getEndOffset(),isBackward:!1})}return l}function i(t,e,n,r,i,u,c){var l=n.getStartOffset(),f=n.getEndOffset(),p=t.__get(i),h=p.getMutability(),d=c?l:f;if("MUTABLE"===h)return n;var g=a(e,i).filter(function(t){return d<=t.end&&d>=t.start});1!=g.length&&s(!1);var y=g[0];if("IMMUTABLE"===h)return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1});u||(c?f=y.end:l=y.start);var m=o.getRemovalRange(l,f,e.getText().slice(y.start,y.end),y.start,r);return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1})}var o=n(183),a=n(184),s=n(1);t.exports=r},function(t,e,n){"use strict";var r={getRemovalRange:function(t,e,n,r,i){var o=n.split(" ");o=o.map(function(t,e){if("forward"===i){if(e>0)return" "+t}else if(e<o.length-1)return t+" ";return t});for(var a,s,u=r,c=null,l=null,f=0;f<o.length;f++){if(s=o[f],a=u+s.length,t<a&&u<e)null!==c?l=a:(c=u,l=a);else if(null!==c)break;u=a}var p=r+n.length,h=c===r,d=l===p;return(!h&&d||h&&!d)&&("forward"===i?l!==p&&l++:c!==r&&c--),{start:c,end:l}}};t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return t.getEntity()===e},function(t,e){n.push({start:t,end:e})}),n.length||i(!1),n}var i=n(1);t.exports=r},function(t,e,n){"use strict";var r=n(48),i=n(10),o=n(0),a=n(112),s=n(1),u=n(110),c=o.List,l=function(t,e,n,r,i,o){var s=n.get(i),u=s.getText(),c=s.getCharacterList(),l=i,f=o+r.getText().length,p=s.merge
vendor: 1,688 bytes, line 1
1({text:u.slice(0,o)+r.getText()+u.slice(o),characterList:a(c,r.getCharacterList(),o),data:r.getData()});return t.merge({blockMap:n.set(i,p),selectionBefore:e,selectionAfter:e.merge({anchorKey:l,anchorOffset:f,focusKey:l,focusOffset:f,isBackward:!1})})},f=function(t,e,n){var r=t.getText(),i=t.getCharacterList(),o=r.slice(0,e),a=i.slice(0,e),s=n.first();return t.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?t.getType():s.getType(),data:s.getData()})},p=function(t,e,n){var r=t.getText(),i=t.getCharacterList(),o=r.length,a=r.slice(e,o),s=i.slice(e,o),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})},h=function(t,e){var n=t.getKey(),r=t,i=[];for(e.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=e.get(o)}return i},d=function(t,e,n,r){return t.withMutations(function(e){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=h(r,t),l=u[u.length-1];if(e.get(o)?(e.setIn([i,"nextSibling"],o),e.setIn([o,"prevSibling"],i)):(e.setIn([i,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],i)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),u.forEach(function(t){return e.setIn([t,"parent"],s)}),s){var f=t.get(s),p=f.getChildKeys(),d=p.indexOf(i),g=d+1,y=p.toArray();y.splice.apply(y,[g,0].concat(u)),e.setIn([s,"children"],c(y))}})},g=function(t,e,n,o,a,s){var u=n.first()instanceof i,c=[],l=o.size,h=n.get(a),g=o.first(),y=o.last(),m=y.getLength(),v=y.getKey(),_=u&&(!h.getChildKeys().isEmpty()||!g.getChildKeys().isEmpty());n.forEach(function(t,e){if(e!==a)return void c.push(t);
1_?c.push(t):c.push(f(t,s,o)),o.slice(_?0:1,l-1).forEach(function(t){return c.push(t)}),c.push(p(t,s,o))});var b=r.createFromArray(c);return u&&(b=d(b,0,h,g)),t.merge({blockMap:b,selectionBefore:e,selectionAfter:e.merge({anchorKey:v,anchorOffset:m,focusKey:v,focusOffset:m,isBackward:!1})})},y=function(t,e,n){e.isCollapsed()||s(!1);var r=t.getBlockMap(),o=u(n),a=e.getStartKey(),c=e.getStartOffset(),f=r.get(a);return f instanceof i&&(f.getChildKeys().isEmpty()||s(!1)),1===o.size?l(t,e,r,o.first(),a,c):g(t,e,r,o,a,c)};t.exports=y},function(t,e,n){"use strict";function r(t,e,n,r){e.isCollapsed()||a(!1);var i=n.length;if(!i)return t;var u=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=u.get(c),p=f.getText(),h=f.merge({text:p.slice(0,l)+n+p.slice(l,f.getLength()),characterList:o(f.getCharacterList(),s(r,i).toList(),l)}),d=l+i;return t.merge({blockMap:u.set(c,h),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})}var i=n(0),o=n(112),a=n(1),s=i.Repeat;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===r}).takeUntil(function(t,e){return e===i}).concat(o([[i,a.get(i)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}var i=n(0),o=i.Map;t.exports=r},function(t,e,n){"use strict";var r=n(10),i=n(0),o=n(113),a=(i.List,i.Map),s=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},u=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?e.get(i):null}return n},c=function(t,e){var n=[];if(!t)return n;for(var r=o(t,e);r&&e.get(r);){var i=e.get(r);n.push(r),r=i.getParentKey()?o(i,e):null}return n},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},f=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},p=function(t,e,n,r){return t.withMutations(function(t){s(e.getKey(),t,function(n){return n.merge({nextSibling:l(e,t,r),prevSibling:f(e,t,r)})}),s(n.getKey(),t,function(e){return e.merge({nextSibling:l(n,t,r),prevSibling:f(n,t,r)})}),u(e.getKey(),r).forEach(function(e){return s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:l(e,t,r),prevSibling:f(e,t,r)})})}),s(e.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})}),s(e.getPrevSiblingKey(),t,function(n){return n.merge({nextSibling:l(e,t,r)})}),s(n.getNextSiblingKey(),t,function(e){return e.merge({prevSibling:f(n,t,r)})}),s(n.getPrevSiblingKey(),t,function(t){return t.merge({nextSibling:n.getNextSiblingKey()})}),u(n.getKey(),r).forEach(function(e){s(e,t,function(e){return e.merge({children:e.getChildKeys().filter(function(e){return t.get(e)}),nextSibling:l(e,t,r),prevSibling:f(e,t,r)})})}),c(n,r).forEach(function(e){return s(e,t,function(e){return e.merge({nextSibling:l(e,t,r),prevSibling:f(e,t,r)})})})})},h=function(t,e){if(e.isCollapsed())return t;var n=t.getBlockMap(),i=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=n.get(i),h=n.get(c),g=f instanceof r,y=[];if(g){var m=h.getChildKeys(),v=u(c,n);h.getNextSiblingKey()&&(y=y.concat(v)),m.isEmpty()||(y=y.concat(v.concat([c]))),y=y.concat(u(o(h,n),n))}var _=void 0;_=f===h?d(f.getCharacterList(),s,l):f.getCharacterList().slice(0,s).concat(h.getCharacterList().slice(l));var b=f.merge({text:f.getText().slice(0,s)+h.getText().slice(l),characterList:_}),x=n.toSeq().skipUntil(function(t,e){return e===i}).takeUntil(function(t,e){return e===c}).filter(function(t,e){return-1===y.indexOf(e)}).concat(a([[c,null]])).map(function(t,e){return e===i?b:null}),w=n.merge(x).filter(function(t){return!!t});return g&&(w=p(w,f,h,n)),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:i,anchorOffset:s,focusKey:i,focusOffset:s,isBackward:!1})})},d=function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),i=t.slice(n);t=r.concat(i).toList()}return t};t.exports=h},function(t,e,n){"use strict";var r=n(10),i=n(0),o=n(25),a=n(1),s=i.List,u=i.Map,c=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n){return t.withMutations(function(t){var r=e.getKey(),i=n.getKey();c(e.getParentKey(),t,function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,o=e.toArray();return o.splice(n,0,i),t.merge({children:s(o)})}),c(e.getNextSiblingKey(),t,function(t){return t.merge({prevSibling:i})}),c(r,t,function(t){return t.merge({nextSibling:i})}),c(i,t,function(t){return t.merge({prevSibling:r})})})},f=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),i=e.getAnchorOffset(),s=t.getBlockMap(),c=s.get(n),f=c.getText(),p=c.getCharacterList(),h=o(),d=c instanceof r,g=c.merge
1({text:f.slice(0,i),characterList:p.slice(0,i)}),y=g.merge({key:h,text:f.slice(i),characterList:p.slice(i),data:u()}),m=s.toSeq().takeUntil(function(t){return t===c}),v=s.toSeq().skipUntil(function(t){return t===c}).rest(),_=m.concat([[n,g],[h,y]],v).toOrderedMap();return d&&(c.getChildKeys().isEmpty()||a(!1),_=l(_,g,y)),t.merge({blockMap:_,selectionBefore:e,selectionAfter:e.merge({anchorKey:h,anchorOffset:0,focusKey:h,focusOffset:0,isBackward:!1})})};t.exports=f},function(t,e,n){"use strict";var r,i=n(0),o=n(191),a=n(13),s=i.OrderedMap,u={getDirectionMap:function(t,e){r?r.reset():r=new o;var n=t.getBlockMap(),u=n.valueSeq().map(function(t){return a(r).getDirection(t.getText())}),c=s(n.keySeq().zip(u));return null!=e&&i.is(e,c)?e:c}};t.exports=u},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(116),o=n(84),a=n(1),s=function(){function t(e){r(this,t),e?o.isStrong(e)||a(!1):e=o.getGlobalDir(),this._defaultDir=e,this.reset()}return t.prototype.reset=function(){this._lastDir=this._defaultDir},t.prototype.getDirection=function(t){return this._lastDir=i.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},function(t,e,n){"use strict";var r=n(10),i=n(0),o=n(113),a=n(1),s=i.OrderedMap,u=i.List,c=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,i){if(!i)return t;var o="after"===r,a=e.getKey(),s=n.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),h=n.getParentKey(),d=o?n.getNextSiblingKey():s,g=o?s:n.getPrevSiblingKey();return t.withMutations(function(t){c(l,t,function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})}),c(p,t,function(t){return t.merge({nextSibling:f})}),c(f,t,function(t){return t.merge({prevSibling:p})}),c(d,t,function(t){return t.merge({prevSibling:a})}),c(g,t,function(t){return t.merge({nextSibling:a})}),c(h,t,function(t){var e=t.getChildKeys(),n=e.indexOf(s),r=o?n+1:0!==n?n-1:0,i=e.toArray();return i.splice(r,0,a),t.merge({children:u(i)})}),c(a,t,function(t){return t.merge({nextSibling:d,prevSibling:g,parent:h})})})},f=function(t,e,n,i){"replace"===i&&a(!1);var u=n.getKey(),c=e.getKey();c===u&&a(!1);var f=t.getBlockMap(),p=e instanceof r,h=[e],d=f.delete(c);p&&(h=[],d=f.withMutations(function(t){var n=e.getNextSiblingKey(),r=o(e,t);t.toSeq().skipUntil(function(t){return t.getKey()===c}).takeWhile(function(t){var e=t.getKey(),i=e===c,o=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(i||o||a)}).forEach(function(e){h.push(e),t.delete(e.getKey())})}));var g=d.toSeq().takeUntil(function(t){return t===n}),y=d.toSeq().skipUntil(function(t){return t===n}).skip(1),m=h.map(function(t){return[t.getKey(),t]}),v=s();if("before"===i){var _=t.getBlockBefore(u);_&&_.getKey()===e.getKey()&&a(!1),v=g.concat([].concat(m,[[u,n]]),y).toOrderedMap()}else if("after"===i){var b=t.getBlockAfter(u);b&&b.getKey()===c&&a(!1),v=g.concat([[u,n]].concat(m),y).toOrderedMap()}return t.merge({blockMap:l(v,e,n,i,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:c,focusKey:c})})};t.exports=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0}function o(t,e,n,r){for(var i=e;i<n;i++)t[i]=r}var a=n(0),s=a.List,u=function(){function t(e){r(this,t),this._decorators=e.slice()}return t.prototype.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach(function(r,a){var s=0;(0,r.strategy)(t,function(t,e){i(n,t,e)&&(o(n,t,e,a+"."+s),s++)},e)}),s(n)},t.prototype.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},t.prototype.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=u},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(9),s=a||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(85),c=n(117),l=n(195),f=n(196),p=n(219),h=n(222),d=n(256),g=n(2),y=n(3),m=n(38),v=n(121
1),_=n(88),b=n(18),x=n(44),w=n(81),E=n(25),S=n(92),k=n(89),O=n(1),M=n(13),T=b.isBrowser("IE"),I=!T,C={edit:h,composite:l,drag:p,cut:null,render:null},D=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o.focus=function(t){var e=o.props.editorState,n=e.getSelection().getHasFocus(),r=m.findDOMNode(o.editor);if(r){var i=_.getScrollParent(r),a=t||k(i),s=a.x,u=a.y;r instanceof HTMLElement||O(!1),r.focus(),i===window?window.scrollTo(s,u):v.setTop(i,u),n||o.update(g.forceSelection(e,e.getSelection()))}},o.blur=function(){var t=m.findDOMNode(o.editor);t instanceof HTMLElement||O(!1),t.blur()},o.setMode=function(t){o._handler=C[t]},o.exitCurrentMode=function(){o.setMode("edit")},o.restoreEditorDOM=function(t){o.setState({contentsKey:o.state.contentsKey+1},function(){o.focus(t)})},o.setClipboard=function(t){o._clipboard=t},o.getClipboard=function(){return o._clipboard},o.update=function(t){o._latestEditorState=t,o.props.onChange(t)},o.onDragEnter=function(){o._dragCount++},o.onDragLeave=function(){0==--o._dragCount&&o.exitCurrentMode()},o._blockSelectEvents=!1,o._clipboard=null,o._handler=null,o._dragCount=0,o._editorKey=n.editorKey||E(),o._placeholderAccessibilityID="placeholder-"+o._editorKey,o._latestEditorState=n.editorState,o._latestCommittedEditorState=n.editorState,o._onBeforeInput=o._buildHandler("onBeforeInput"),o._onBlur=o._buildHandler("onBlur"),o._onCharacterData=o._buildHandler("onCharacterData"),o._onCompositionEnd=o._buildHandler("onCompositionEnd"),o._onCompositionStart=o._buildHandler("onCompositionStart"),o._onCopy=o._buildHandler("onCopy"),o._onCut=o._buildHandler("onCut"),o._onDragEnd=o._buildHandler("onDragEnd"),o._onDragOver=o._buildHandler("onDragOver"),o._onDragStart=o._buildHandler("onDragStart"),o._onDrop=o._buildHandler("onDrop"),o._onInput=o._buildHandler("onInput"),o._onFocus=o._buildHandler("onFocus"),o._onKeyDown=o._buildHandler("onKeyDown"),o._onKeyPress=o._buildHandler("onKeyPress"),o._onKeyUp=o._buildHandler("onKeyUp"),o._onMouseDown=o._buildHandler("onMouseDown"),o._onMouseUp=o._buildHandler("onMouseUp"),o._onPaste=o._buildHandler("onPaste"),o._onSelect=o._buildHandler("onSelect"),o.getEditorKey=function(){return o._editorKey},o.state={contentsKey:0},o}return o(e,t),e.prototype._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&r(e,n)}}},e.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},e.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:M(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return y.createElement(d,t)}return null},e.prototype.render=function(){var t=this,e=this.props,n=e.blockRenderMap,r=e.blockRendererFn,i=e.blockStyleFn,o=e.customStyleFn,a=e.customStyleMap,u=e.editorState,l=e.readOnly,p=e.textAlignment,h=e.textDirectionality,d=x({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===p,"DraftEditor/alignRight":"right"===p,"DraftEditor/alignCenter":"center"===p}),g={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},m=this.props.role||"textbox",v="combobox"===m?!!this.props.ariaExpanded:null,_={blockRenderMap:n,blockRendererFn:r,blockStyleFn:i,customStyleMap:s({},c,a),customStyleFn:o,editorKey:this._editorKey,editorState:u,key:"contents"+this.state.contentsKey,textDirectionality:h};return y.createElement("div",{className:d},this._renderPlaceholder(),y.createElement("div",{className:x("DraftEditor/editorContainer"),ref:function(e){return t.editorContainer=e}},y.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:v,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:x({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:function(e){return t.editor=e},role:l?null:m,spellCheck:I&&this.props.spellCheck,style:g,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},y.createElement(f,_))))},e.prototype.componentDidMount=function(){this.setMode("edit"),T&&document.execCommand("AutoUrlDetect",!1,!1)},e.prototype.componentWillUpdate=function(t){this._blockSelectEvents=!0,this._latestEditorState=t.editorState},e.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},e}(y.Component);D.defaultProps={blockRenderMap:u,blockRendererFn:w.thatReturnsNull,blockStyleFn:w.thatReturns(""),keyBindingFn:S,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},t.exports=D},function(t,e,n){"use strict";var r=n(31),i=n(5),o=n(2),a=n(62),s=n(86),u=n(50),c=n(118),l=!1,f=!1,p="",h={onBeforeInput:function(t,e){p=(p||"")+e.data},onCompositionStart:function(t){f=!0},onCompositionEnd:function(t){l=!1,f=!1,setTimeout(function(){l||h.resolveComposition(t)},20)},onKeyDown:function(t,e){if(!f)return h.resolveComposition(t),void t._onKeyDown(e);
vendor: 6,117 bytes, line 1
1e.which!==a.RIGHT&&e.which!==a.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===a.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!f){l=!0;var e=p;p="";var n=o.set(t._latestEditorState,{inCompositionMode:!1}),a=n.getCurrentInlineStyle(),h=s(n.getCurrentContent(),n.getSelection()),d=!e||c(n)||a.size>0||null!==h;if(d&&t.restoreEditorDOM(),t.exitCurrentMode(),e){if(r.draft_handlebeforeinput_composed_text&&t.props.handleBeforeInput&&u(t.props.handleBeforeInput(e,n)))return;var g=i.replaceText(n.getCurrentContent(),n.getSelection(),e,a,h);return void t.update(o.push(n,g,"insert-characters"))}d&&t.update(o.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};t.exports=h},function(t,e,n){"use strict";var r=n(197);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(9),s=a||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(119),c=n(63),l=(n(2),n(3)),f=n(44),p=n(218),h=n(13),d=function(t,e,n,r){return f({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":4===e,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},g=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),u=e.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},e.prototype.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,i=t.customStyleMap,o=t.customStyleFn,a=t.editorState,f=t.editorKey,g=t.textDirectionality,y=a.getCurrentContent(),m=a.getSelection(),v=a.mustForceSelection(),_=a.getDecorator(),b=h(a.getDirectionMap()),x=y.getBlocksAsArray(),w=[],E=null,S=null,k=0;k<x.length;k++){var O=x[k],M=O.getKey(),T=O.getType(),I=n(O),C=void 0,D=void 0,L=void 0;I&&(C=I.component,D=I.props,L=I.editable);var j=g||b.get(M),A=c.encode(M,0,0),N={contentState:y,block:O,blockProps:D,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:_,direction:j,forceSelection:v,key:M,offsetKey:A,selection:m,tree:a.getBlockTree(M)},z=e.get(T)||e.get("unstyled"),P=z.wrapper,R=z.element||e.get("unstyled").element,B=O.getDepth(),K="";r&&(K=r(O)),"li"===R&&(K=p(K,d(T,B,S!==P||null===E||B>E,j)));var U=C||u,Y={className:K,"data-block":!0,"data-editor":f,"data-offset-key":A,key:M};void 0!==L&&(Y=s({},Y,{contentEditable:L,suppressContentEditableWarning:!0}));var F=l.createElement(R,Y,l.createElement(U,N));w.push({block:F,wrapperTemplate:P,key:M,offsetKey:A}),E=P?O.getDepth():null,S=P}for(var H=[],q=0;q<w.length;){var W=w[q];if(W.wrapperTemplate){var V=[];do{V.push(w[q].block),q++}while(q<w.length&&w[q].wrapperTemplate===W.wrapperTemplate);var G=l.cloneElement(W.wrapperTemplate,{key:W.key+"-wrap","data-offset-key":W.offsetKey},V);H.push(G)}else H.push(W.block),q++}return l.createElement("div",{"data-contents":"true"},H)},e}(l.Component);t.exports=g},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(9),s=n(199),u=n(3),c=n(38),l=n(1),f=n(206),p=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,i=e.text,o=n.getKey(),a=r+i.length;if(t.hasEdgeWithin(o,r,a)){var s=c.findDOMNode(this);s||l(!1);var u=s.firstChild;u||l(!1);var p=void 0;u.nodeType===Node.TEXT_NODE?p=u:"BR"===u.tagName?p=s:(p=u.firstChild)||l(!1),f(t,p,o,r,a)}}},e.prototype.shouldComponentUpdate=function(t){var e=c.findDOMNode(this.leaf);return e||l(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},e.prototype.componentDidUpdate=function(){this._setSelection()},e.prototype.componentDidMount=function(){this._setSelection()},e.prototype.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,i=r.customStyleMap,o=r.customStyleFn,c=r.offsetKey,l=r.styleSet,f=l.reduce(function(t,e){var n={},r=i[e];return void 0!==r&&t.textDecoration!==r.textDecoration&&(n.textDecoration=[t.textDecoration,r.textDecoration].join(" ").trim()),a(t,r,n)},{});if(o){var p=o(l,e);f=a(f,p)}return u.createElement("span",{"data-offset-key":c,ref:function(e){return t.leaf=e},style:f}
vendor: 4,777 bytes, line 1
1,u.createElement(s,null,n))},e}(u.Component);t.exports=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return f?"\n"===t.textContent:"BR"===t.tagName}var s=n(3),u=n(38),c=n(18),l=n(1),f=c.isBrowser("IE <= 11"),p=f?s.createElement("span",{key:"A","data-text":"true"},"\n"):s.createElement("br",{key:"A","data-text":"true"}),h=f?s.createElement("span",{key:"B","data-text":"true"},"\n"):s.createElement("br",{key:"B","data-text":"true"}),d=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o._forceFlag=!1,o}return o(e,t),e.prototype.shouldComponentUpdate=function(t){var e=u.findDOMNode(this),n=""===t.children;return e instanceof Element||l(!1),n?!a(e):e.textContent!==t.children},e.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},e.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},e.prototype.render=function(){return""===this.props.children?this._forceFlag?p:h:s.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},e}(s.Component);t.exports=d},function(t,e,n){"use strict";var r=n(201),i="Unknown",o={"Mac OS":"Mac OS X"},a=new r,s=a.getResult(),u=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(s.browser.version),c={browserArchitecture:s.cpu.architecture||i,browserFullVersion:s.browser.version||i,browserMinorVersion:u.minor||i,browserName:s.browser.name||i,browserVersion:s.browser.major||i,deviceName:s.device.model||i,engineName:s.engine.name||i,engineVersion:s.engine.version||i,platformArchitecture:s.cpu.architecture||i,platformName:function(t){return o[t]||t}(s.os.name)||i,platformVersion:s.os.version||i,platformFullVersion:s.os.version||i};t.exports=c},function(t,e,n){var r;!function(i,o){"use strict";var a="model",s="name",u="type",c="vendor",l="version",f="mobile",p="tablet",h={extend:function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},d={rgx:function(t,e){for(var n,r,i,o,a,s,u=0;u<e.length&&!a;){var c=e[u],l=e[u+1];for(n=r=0;n<c.length&&!a;)if(a=c[n++].exec(t))for(i=0;i<l.length;i++)s=a[++r],o=l[i],"object"==typeof o&&o.length>0?2==o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3==o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4==o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;u+=2}},str:function(t,e){for(var n in e)if("object"==typeof e[n]&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(h.has(e[n][r],t))return"?"===n?void 0:n}else if(h.has(e[n],t))return"?"===n?void 0:n;return t}},g={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},y={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[s,l],[/(opios)[\/\s]+([\w\.]+)/i],[[s,"Opera Mini"],l],[/\s(opr)\/([\w\.]+)/i],[[s,"Opera"],l],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[s,l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],l],[/(edge)\/((\d+)?[\w\.]+)/i],[s,l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],l],[/((?:[\s\/]
1)uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],l],[/(QQ)\/([\d\.]+)/i],[s,l],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,l],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[l,[s,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],l],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[s,/(.+(?:g|us))(.+)/,"$1 $2"],l],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,l],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],l],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],l],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],l],[/fxios\/([\w\.-]+)/i],[l,[s,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[l,s],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[l,d.str,g.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape)\/([\w\.-]+)/i],[[s,"Netscape"],l],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.
vendor: 4,281 bytes, line 1
1+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[s,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",h.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",h.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",h.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,c,[u,p]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[c,"Apple"],[u,p]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[c,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[c,a,[u,p]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[a,[c,"Amazon"],[u,p]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[a,d.str,g.device.amazon.model],[c,"Amazon"],[u,f]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,c,[u,f]],[/\((ip[honed|\s\w*]+);/i],[a,[c,"Apple"],[u,f]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[c,a,[u,f]],[/\(bb10;\s(\w+)/i],[a,[c,"BlackBerry"],[u,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[c,"Asus"],[u,p]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[c,"Sony"],[a,"Xperia Tablet"],[u,p]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[a,[c,"Sony"],[u,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[c,a,[u,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[u,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[c,"Sony"],[u,"console"]],[/(sprint\s(\w+))/i],[[c,d.str,g.device.sprint.vendor],[a,d.str,g.device.sprint.model],[u,f]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[c,a,[u,p]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[c,[a,/_/g," "],[u,f]],[/(nexus\s9)/i],[a,[c,"HTC"],[u,p]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[c,"Huawei"],[u,f]],[/(microsoft);\s(lumia[\s\w]+)/i],[c,a,[u,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[c,"Microsoft"],[u,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[u,f]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[c,"Motorola"],[u,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[c,"Motorola"],[u,p]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[c,h.trim],[a,h.trim],[u,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[u,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[u,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[c,"Samsung"],a,[u,p]],[/smart-tv.+(samsung)/i],[c,[u,"smarttv"],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[c,"Samsung"],a,[u,f]],[/sie-(\w+)*/i],[a,[c,"Siemens"],[u,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[c,"Nokia"],a,[u,f]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[c,"Acer"],[u,p]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[c,"LG"],[u,p]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[u,p]],[/(lg) netcast\.tv/i],[c,a,[u,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[c,"LG"],[u,f]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[u,p]],[/linux;.+((jolla));/i],[c,a,[u,f]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[u,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[c,a,[u,f]],[/crkey/i],[[a,"Chromecast"],[c,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[c,"Google"],[u,"wearable"]],[/android.+;\s(pixel c)\s/i],[a,[c,"Google"],[u,p]],[/android.+;\s(pixel xl|pixel)\s/i],[a,[c,"Google"],[u,f]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(
1hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[u,f]],[/android.+(mi[\s\-_]*(?:pad)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[u,p]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[c,"Meizu"],[u,p]],[/android.+a000(1)\s+build/i],[a,[c,"OnePlus"],[u,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[c,"RCA"],[u,p]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[a,[c,"Dell"],[u,p]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[c,"Verizon"],[u,p]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[c,"Barnes & Noble"],a,[u,p]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[c,"NuVision"],[u,p]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[c,"ZTE"],a,[u,p]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[c,"Swiss"],[u,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[c,"Swiss"],[u,p]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[c,"Zeki"],[u,p]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[c,"Dragon Touch"],a,[u,p]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[a,[c,"Insignia"],[u,p]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[a,[c,"NextBook"],[u,p]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[c,"Voice"],a,[u,f]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[c,"LvTel"],a,[u,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[c,"Envizen"],[u,p]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[c,a,[u,p]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[c,"MachSpeed"],[u,p]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[c,a,[u,p]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[c,"Rotor"],[u,p]],[/android.+(KS(.+))\s+build/i],[a,[c,"Amazon"],[u,p]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[c,a,[u,p]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[u,h.lowerize],c,a],[/(android.+)[;\/].+build/i],[a,[c,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]+).*(gecko)/i],[l,s]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[s,l],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[s,[l,d.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,d.str,g.os.windows.version]],[/\((bb)(10);
vendor: 3,520 bytes, line 1
1/i],[[s,"BlackBerry"],l],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[s,l],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[s,"Symbian"],l],[/\((series40);/i],[s],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[s,"Firefox OS"],l],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[s,l],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[s,"Chromium OS"],l],[/(sunos)\s?([\w\.]+\d)*/i],[[s,"Solaris"],l],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[s,l],[/(haiku)\s(\w+)/i],[s,l],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[s,l]]},m=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof m))return new m(t,e).getResult();var n=t||(i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),r=e?h.extend(y,e):y;return this.getBrowser=function(){var t={name:void 0,version:void 0};return d.rgx.call(t,n,r.browser),t.major=h.major(t.version),t},this.getCPU=function(){var t={architecture:void 0};return d.rgx.call(t,n,r.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return d.rgx.call(t,n,r.device),t},this.getEngine=function(){var t={name:void 0,version:void 0};return d.rgx.call(t,n,r.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return d.rgx.call(t,n,r.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=t,this},this};m.VERSION="0.7.17",m.BROWSER={NAME:s,MAJOR:"major",VERSION:l},m.CPU={ARCHITECTURE:"architecture"},m.DEVICE={MODEL:a,VENDOR:c,TYPE:u,CONSOLE:"console",MOBILE:f,SMARTTV:"smarttv",TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},m.ENGINE={NAME:s,VERSION:l},m.OS={NAME:s,VERSION:l},void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=m),e.UAParser=m):n(202)?void 0!==(r=function(){return m}.call(e,n,e,t))&&(t.exports=r):i&&(i.UAParser=m);var v=i&&(i.jQuery||i.Zepto);if(void 0!==v){var _=new m;v.ua=_.getResult(),v.ua.get=function(){return _.getUA()},v.ua.set=function(t){_.setUA(t);var e=_.getResult();for(var n in e)v.ua[n]=e[n]}}}("object"==typeof window?window:this)},function(t,e){(function(e){t.exports=e}).call(e,{})},function(t,e,n){"use strict";function r(t,e){var n=t.split(w);return n.length>1?n.some(function(t){return O.contains(t,e)}):(t=n[0].trim(),i(t,e))}function i(t,e){var n=t.split(E);if(n.length>0&&n.length<=2||b(!1),1===n.length)return o(n[0],e);var r=n[0],i=n[1];return d(r)&&d(i)||b(!1),o(">="+r,e)&&o("<="+i,e)}function o(t,e){if(""===(t=t.trim()))return!0;var n=e.split(x),r=p(t),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return a(n,o);case"<=":return s(n,o);case">=":return c(n,o);case">":return l(n,o);case"~":case"~>":return f(n,o);default:return u(n,o)}}function a(t,e){return-1===_(t,e)}function s(t,e){var n=_(t,e);
1return-1===n||0===n}function u(t,e){return 0===_(t,e)}function c(t,e){var n=_(t,e);return 1===n||0===n}function l(t,e){return 1===_(t,e)}function f(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);return h(o)&&(r[i]=o+1+""),c(t,n)&&a(t,r)}function p(t){var e=t.split(x),n=e[0].match(S);return n||b(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function h(t){return!isNaN(t)&&isFinite(t)}function d(t){return!p(t).modifier}function g(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function y(t,e){t=t.slice(),e=e.slice(),g(t,e.length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var i=n;i<t.length;i++)t[i]="0"}return g(e,t.length),[t,e]}function m(t,e){var n=t.match(k)[1],r=e.match(k)[1],i=parseInt(n,10),o=parseInt(r,10);return h(i)&&h(o)&&i!==o?v(i,o):v(t,e)}function v(t,e){return typeof t!=typeof e&&b(!1),t>e?1:t<e?-1:0}function _(t,e){for(var n=y(t,e),r=n[0],i=n[1],o=0;o<i.length;o++){var a=m(r[o],i[o]);if(a)return a}return 0}var b=n(1),x=/\./,w=/\|\|/,E=/\s+\-\s+/,S=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,k=/^(\d*)(.*)/,O={contains:function(t,e){return r(t.trim(),e.trim())}};t.exports=O},function(t,e,n){"use strict";function r(t,e,n){if(!t)return null;var r={};for(var o in t)i.call(t,o)&&(r[o]=e.call(n,t[o],o,t));return r}var i=Object.prototype.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";function r(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e){if(!t)return"[empty]";var n=i(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||h(!1),n.outerHTML)}function i(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return document.createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=t.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var a=t.childNodes,s=0;s<a.length;s++)o.appendChild(i(a[s],e));return o}function o(t,e){for(var n=t;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return r(n,e);n=n.parentNode}return"Could not find contentEditable parent of node"}function a(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function s(t,n,r,i,o){if(f(document.documentElement,n)){var a=e.getSelection(),s=t.getAnchorKey(),l=t.getAnchorOffset(),p=t.getFocusKey(),h=t.getFocusOffset(),d=t.getIsBackward();if(!a.extend&&d){var g=s,y=l;s=p,l=h,p=g,h=y,d=!1}var m=s===r&&i<=l&&o>=l,v=p===r&&i<=h&&o>=h;if(m&&v)return a.removeAllRanges(),c(a,n,l-i,t),void u(a,n,h-i,t);if(d){if(v&&(a.removeAllRanges(),c(a,n,h-i,t)),m){var _=a.focusNode,b=a.focusOffset;a.removeAllRanges(),c(a,n,l-i,t),u(a,_,b,t)}}else m&&(a.removeAllRanges(),c(a,n,l-i,t)),v&&u(a,n,h-i,t)}}function u(t,e,n,r){var i=p();if(t.extend&&f(i,e)){n>a(e)&&l.logSelectionStateFailure({anonymizedDom:o(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var s=e===t.focusNode;try{t.extend(e,n)}catch(a){throw l.logSelectionStateFailure({anonymizedDom:o(e,function(e){var n=[];return e===i&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n}),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:s,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else{var u=t.getRangeAt(0);u.setEnd(e,n),t.addRange(u.cloneRange())}}function c(t,e,n,r){var i=document.createRange();n>a(e)&&l.logSelectionStateFailure({anonymizedDom:o(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(e,n),t.addRange(i)}var l=n(207),f=n(87),p=n(120),h=n(1);t.exports=s}).call(e,n(26))},function(t,e,n){"use strict";
vendor: 23,858 bytes, line 1
1t.exports={logSelectionStateFailure:function(){return null}}},function(t,e,n){"use strict";function r(t){return i(t)&&3==t.nodeType}var i=n(209);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t?t.ownerDocument||t:document,n=e.defaultView||window;return!(!t||!("function"==typeof n.Node?t instanceof n.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=r},function(t,e,n){"use strict";function r(t){return null==t?t:String(t)}function i(t,e){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return r(n.getPropertyValue(a(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return r(n.getPropertyValue(a(e)));if("display"===e)return"none"}return r(t.currentStyle?"float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[o(e)]:t.style&&t.style[o(e)])}var o=n(211),a=n(212);t.exports=i},function(t,e,n){"use strict";function r(t){return t.replace(i,function(t,e){return e.toUpperCase()})}var i=/-(.)/g;t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(i,"-$1").toLowerCase()}var i=/([A-Z])/g;t.exports=r},function(t,e,n){"use strict";function r(t){var e=i(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}var i=n(214);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t&&i(e,t)))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}var i=n(87);t.exports=r},function(t,e,n){"use strict";function r(t){return t=t||document,t.scrollingElement?t.scrollingElement:i||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}var i="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=r},function(t,e,n){"use strict";function r(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=r},function(t,e,n){"use strict";function r(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function i(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function o(){return{width:window.innerWidth||r(),height:window.innerHeight||i()}}o.withoutScrollbars=function(){return{width:r(),height:i()}},t.exports=o},function(t,e,n){"use strict";function r(t){t||(t="");var e=void 0,n=arguments.length;if(n>1)for(var r=1;r<n;r++)(e=arguments[r])&&(t=(t?t+" ":"")+e);return t}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var i=document.caretRangeFromPoint(t.x,t.y);n=i.startContainer,r=i.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=h(n),r=h(r);var o=h(c(n));return f(e,o,r,o,r)}function i(t,e){var n=s.moveText(t.getCurrentContent(),t.getSelection(),e);return u.push(t,n,"insert-fragment")}function o(t,e,n){var r=s.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return u.push(t,r,"insert-fragment")}var a=n(122),s=n(5),u=n(2),c=n(90),l=n(124),f=n(125),p=n(50),h=n(13),d={onDragEnd:function(t){t.exitCurrentMode()},onDrop:function(t,e){var n=new a(e.nativeEvent.dataTransfer),s=t._latestEditorState,u=r(e.nativeEvent,s);if(e.preventDefault(),t.exitCurrentMode(),null!=u){var c=n.getFiles();if(c.length>0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(u,c)))return;return void l(c,function(e){e&&t.update(o(s,u,e))})}var f=t._internalDrag?"internal":"external";if(!t.props.handleDrop||!p(t.props.handleDrop(u,n,f)))return t._internalDrag?void t.update(i(s,u)):void t.update(o(s,u,n.getText()))}}};t.exports=d},function(t,e,n){"use strict";function r(t){return t.split("/")}var i={isImage:function(t){return"image"===r(t)[0]},isJpeg:function(t){var e=r(t);return i.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};t.exports=i},function(t,e,n){"use strict";function r(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&a(!1),"number"!=typeof e&&a(!1),0===e||e-1 in t||a(!1),"function"==typeof t.callee&&a(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r<e;r++)n[r]=t[r];return n}function i(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}function o(t){return i(t)?Array.isArray(t)?t.slice():r(t):[t]}var a=n(1);t.exports=o},function(t,e,n){"use strict";var r=n(223),i=n(227),o=n(228),a=n(229),s=n(230),u=n(231),c=n(232),l=n(233),f=n(234),p=n(235),h=n(249),d=n(254),g={onBeforeInput:r,onBlur:i,onCompositionStart:o,onCopy:a,onCut:s,onDragOver:u,onDragStart:c,onFocus:l,onInput:f,onKeyDown:p,onPaste:h,onSelect:d};t.exports=g},function(t,e,n){"use strict";(function(e){function r(t){return m&&(t==g||t==y)}function i(t,e,n,r){var i=s.replaceText(t.getCurrentContent(),t.getSelection(),e,n,r);return u.push(t,i,"insert-characters")}function o(t,n){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var o=t._latestEditorState,s=n.data;if(s){if(t.props.handleBeforeInput&&f(t.props.handleBeforeInput(s,o)))return void n.preventDefault();var c=o.getSelection(),g=c.getStartOffset(),y=c.getEndOffset(),m=c.getAnchorKey();if(!c.isCollapsed())return n.preventDefault(),void(s===o.getCurrentContent().getPlainText().slice(g,y)?t.update(u.forceSelection(o,c.merge({focusOffset:y}))):t.update(i(o,s,o.getCurrentInlineStyle(),l(o.getCurrentContent(),o.getSelection()))));var v=i(o,s,o.getCurrentInlineStyle(),l(o.getCurrentContent(),o.getSelection())),_=!1;if(_||(_=p(t._latestCommittedEditorState)),!_){var b=e.getSelection();if(b.anchorNode&&b.anchorNode.nodeType===Node.TEXT_NODE){var x=b.anchorNode.parentNode;_="SPAN"===x.nodeName&&x.firstChild.nodeType===Node.TEXT_NODE&&-1!==x.firstChild.nodeValue.indexOf("\t")}}if(_||(_=a.getFingerprint(o.getBlockTree(m))!==a.getFingerprint(v.getBlockTree(m))),_||(_=r(s)),_||(_=h(v.getDirectionMap()).get(m)!==h(o.getDirectionMap()).get(m)),_)return n.preventDefault(),void t.update(v);v=u.set(v,{nativelyRenderedContent:v.getCurrentContent()}),t._pendingStateFromBeforeInput=v,d(function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)})}}var a=n(114),s=n(5),u=n(2),c=n(18),l=n(86),f=n(50),p=n(118),h=n(13),d=n(224),g="'",y="/",m=c.isBrowser("Firefox");t.exports=o}).call(e,n(26))},function(t,e,n){"use strict";(function(e){n(225),t.exports=e.setImmediate}).call(e,n(26))},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return c[u]=r,s(u),u++}function i(t){delete c[t]}function o(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}function a(t){if(l)setTimeout(a,0,t);else{var e=c[t];if(e){l=!0;try{o(e)}finally{i(t),l=!1}}}}if(!t.setImmediate){var s,u=1,c={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var t=f.documentElement;s=function(e){var n=f.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),p.setImmediate=r,p.clearImmediate=i}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(26),n(226))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){g&&h&&(g=!1,h.length?d=h.concat(d):y=-1,d.length&&s())}function s(){if(!g){var t=i(a);g=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,g=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var h,d=[],g=!1,y=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||g||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){"use strict";(function(e){function r(t,n){if(a()===document.body){var r=e.getSelection(),s=t.editor;1===r.rangeCount&&o(s,r.anchorNode)&&o(s,r.focusNode)&&r.removeAllRanges()}var u=t._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(n),t.update(i.acceptSelection(u,l))}}var i=n(2),o=n(87),a=n(120);t.exports=r}).call(e,n(26))},function(t,e,n){"use strict";function r(t,e){t.setMode("composite"),t.update(i.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}var i=n(2);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(t._latestEditorState.getSelection().isCollapsed())return void e.preventDefault();t.setClipboard(i(t._latestEditorState))}var i=n(126);t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t._latestEditorState,r=n.getSelection(),o=e.target,a=void 0;if(r.isCollapsed())return void e.preventDefault();o instanceof Node&&(a=c(s.getScrollParent(o)));var l=u(n);t.setClipboard(l),t.setMode("cut"),setTimeout(function(){t.restoreEditorDOM(a),t.exitCurrentMode(),t.update(i(n))},0)}function i(t){var e=o.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return a.push(t,e,"remove-range")}var o=n(5),a=n(2),s=n(88),u=n(126),c=n(89);t.exports=r},function(t,e,n){"use strict";function r(t,e){t._internalDrag=!1,t.setMode("drag"),e.preventDefault()}t.exports=r},function(t,e,n){"use strict";function r(t){t._internalDrag=!0,t.setMode("drag")}t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var a=r.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(i.forceSelection(n,a)):t.update(i.acceptSelection(n,a))}}var i=n(2),o=n(18);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=e.getSelection(),r=n.anchorNode,u=n.isCollapsed,h=r.nodeType!==Node.TEXT_NODE,d=r.nodeType!==Node.TEXT_NODE&&r.nodeType!==Node.ELEMENT_NODE;if(i.draft_killswitch_allow_nontextnodes){if(h)return}else if(d)return;if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var g=r.parentNode;r.nodeValue=g.textContent;for(var y=g.firstChild;null!==y;y=y.nextSibling)y!==r&&g.removeChild(y)}var m=r.textContent,v=t._latestEditorState,_=l(c(r)),b=a.decode(_),x=b.blockKey,w=b.decoratorKey,E=b.leafKey,S=v.getBlockTree(x).getIn([w,"leaves",E]),k=S.start,O=S.end,M=v.getCurrentContent(),T=M.getBlockForKey(x),I=T.getText().slice(k,O);if(m.endsWith(p)&&(m=m.slice(0,-1)),m!==I){var C,D,L,j,A=v.getSelection(),N=A.merge({anchorOffset:k,focusOffset:O,isBackward:!1}),z=T.getEntityAt(k),P=z&&M.getEntity(z),R=P&&P.getMutability(),B="MUTABLE"===R,K=B?"spellcheck-change":"apply-entity",U=o.replaceText(M,N,m,T.getInlineStyleAt(k),B?T.getEntityAt(k):null);if(f)C=n.anchorOffset,D=n.focusOffset,L=k+Math.min(C,D),j=L+Math.abs(C-D),C=L,D=j;else{var Y=m.length-I.length;L=A.getStartOffset(),j=A.getEndOffset(),C=u?j+Y:L,D=j+Y}var F=U.merge({selectionBefore:M.getSelectionAfter(),selectionAfter:A.merge({anchorOffset:C,focusOffset:D})});t.update(s.push(v,F,K))}}var i=n(31),o=n(5),a=n(63),s=n(2),u=n(18),c=n(90),l=n(13),f=u.isEngine("Gecko"),p="\n\n";t.exports=r}).call(e,n(26))},function(t,e,n){"use strict";function r(t,e){switch(t){case"redo":return a.redo(e);case"delete":return _(e);case"delete-word":return d(e);case"backspace":return v(e);case"backspace-word":return h(e);case"backspace-to-start-of-line":return p(e);case"split-block":return g(e);case"transpose-characters":return b(e);case"move-selection-to-start-of-block":return m(e);case"move-selection-to-end-of-block":return y(e);case"secondary-cut":return c.cut(e);case"secondary-paste":return c.paste(e);default:return e}}function i(t,e){var n=e.which,i=t._latestEditorState;switch(n){case u.RETURN:if(e.preventDefault(),t.props.handleReturn&&f(t.props.handleReturn(e,i)))return;break;case u.ESC:return e.preventDefault(),void(t.props.onEscape&&t.props.onEscape(e));case u.TAB:return void(t.props.onTab&&t.props.onTab(e));case u.UP:return void(t.props.onUpArrow&&t.props.onUpArrow(e));case u.RIGHT:return void(t.props.onRightArrow&&t.props.onRightArrow(e));case u.DOWN:return void(t.props.onDownArrow&&t.props.onDownArrow(e));case u.LEFT:return void(t.props.onLeftArrow&&t.props.onLeftArrow(e));case u.SPACE:if(E&&w(e)){e.preventDefault();var s=o.replaceText(i.getCurrentContent(),i.getSelection(),"\xa0");return void t.update(a.push(i,s,"insert-characters"))}}var c=t.props.keyBindingFn(e);if(c){if("undo"===c)return void x(e,i,t.update);if(e.preventDefault(),!t.props.handleKeyCommand||!f(t.props.handleKeyCommand(c,i))){var l=r(c,i);l!==i&&t.update(l)}}}var o=n(5),a=n(2),s=n(64),u=n(62),c=n(236),l=n(18),f=n(50),p=n(237),h=n(239),d=n(241),g=n(242),y=n(243),m=n(244),v=n(245),_=n(246),b=n(247),x=n(248),w=s.isOptionKeyCommand,E=l.isBrowser("Chrome");t.exports=i},function(t,e,n){"use strict";var r=n(5),i=n(2),o=n(60),a=n(13),s=null,u={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),u=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===n.getAnchorOffset())return t;u=n.set("focusOffset",l)}else u=n;u=a(u),s=o(e,u);var f=r.removeRange(e,u,"forward");return f===e?t:i.push(t,f,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return i.push(t,e,"insert-fragment")}};t.exports=u},function(t,e,n){"use strict";(function(e){function r(t){var n=u(t,function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return s(t,1);var r=e.getSelection(),i=r.getRangeAt(0);return i=o(i),a(t,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState},"backward");return n===t.getCurrentContent()?t:i.push(t,n,"remove-range")}var i=n(2),o=n(238),a=n(128),s=n(91),u=n(51);t.exports=r}).call(e,n(26))},function(t,e,n){"use strict";function r(t){var e=getComputedStyle(t),n=document.createElement("div");n.style.fontFamily=e.fontFamily,n.style.fontSize=e.fontSize,n.style.fontStyle=e.fontStyle,n.style.fontWeight=e.fontWeight,n.style.lineHeight=e.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||c(!1),r.appendChild(n);var i=n.getBoundingClientRect();return r.removeChild(n),i.height}function i(t,e){for(var n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<e&&o-r<e}function o(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}function a(t){t.collapsed||c(!1),t=t.cloneRange();var e=t.startContainer;1!==e.nodeType&&(e=e.parentNode);var n=r(e),a=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);i(u(t),n)&&(a=t.startContainer,l=t.startOffset,a.parentNode||c(!1),t.setStartBefore(a),1!==a.nodeType||"inline"===getComputedStyle(a).display););for(var f=a,p=l-1;;){for(var h=f.nodeValue,d=p;d>=0;d--)if(!(null!=h&&d>0&&s.isSurrogatePair(h,d-1))){if(t.setStart(f,d),!i(u(t),n))break;a=f,l=d}if(-1===d||0===f.childNodes.length)break;f=f.childNodes[d],p=o(f)}return t.setStart(a,l),t}var s=n(39),u=n(127),c=n(1);t.exports=a},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return a(t,1);var r=e.getStartKey(),o=t.getCurrentContent(),s=o.getBlockForKey(r).getText().slice(0,n),u=i.getBackward(s);return a(t,u.length||1)},"backward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}var i=n(129),o=n(2),a=n(91),s=n(51);t.exports=r},function(t,e,n){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;\u30fb\u3001\u3002\u3008-\u3011\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f\uff3b-\uff40\uff5b-\uff65\u2e2e\u061f\u066a-\u066c\u061b\u060c\u060d\ufd3e\ufd3f\u1801\u0964\u104a\u104b\u2010-\u2027\u2030-\u205e\xa1-\xb1\xb4-\xb8\xba\xbb\xbf]"}}},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=e.getStartOffset(),r=e.getStartKey(),o=t.getCurrentContent(),s=o.getBlockForKey(r).getText().slice(n),u=i.getForward(s);return a(t,u.length||1)},"forward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}var i=n(129),o=n(2),a=n(130),s=n(51);t.exports=r},function(t,e,n){"use strict";function r(t){var e=i.splitBlock(t.getCurrentContent(),t.getSelection());return o.push(t,e,"split-block")}var i=n(5),o=n(2);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getEndKey(),r=t.getCurrentContent(),o=r.getBlockForKey(n).getLength();return i.set(t,{selection:e.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}var i=n(2);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection(),n=e.getStartKey();return i.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}var i=n(2);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),i=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[i-1];return a(t,s?o.getUTF16Length(s,0):1)},"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return i.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}var i=n(2),o=n(39),a=n(91),s=n(51);t.exports=r},function(t,e,n){"use strict";function r(t){var e=s(t,function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),i=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[i];return a(t,s?o.getUTF16Length(s,0):1)},"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return i.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}var i=n(2),o=n(39),a=n(130),s=n(51);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var r=e.getAnchorKey(),s=t.getCurrentContent(),u=s.getBlockForKey(r),c=u.getLength();if(c<=1)return t;var l,f;n===c?(l=e.set("anchorOffset",n-1),f=e):(l=e.set("focusOffset",n+1),f=l.set("anchorOffset",n+1));var p=a(s,l),h=i.removeRange(s,l,"backward"),d=h.getSelectionAfter(),g=d.getAnchorOffset()-1,y=d.merge({anchorOffset:g,focusOffset:g}),m=i.replaceWithFragment(h,y,p),v=o.push(t,m,"insert-fragment");return o.acceptSelection(v,f)}var i=n(5),o=n(2),a=n(60);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=i.undo(e);if("spellcheck-change"===e.getLastChangeType()){var o=r.getCurrentContent();return void n(i.set(r,{nativelyRenderedContent:o}))}if(t.preventDefault(),!e.getNativelyRenderedContent())return void n(r);n(i.set(e,{nativelyRenderedContent:null})),setTimeout(function(){n(r)},0)}var i=n(2);t.exports=r},function(t,e,n){"use strict";function r(t,e){e.preventDefault();var n=new u(e.clipboardData);if(!n.isRichText()){var r=n.getFiles(),m=n.getText();if(r.length>0){if(t.props.handlePastedFiles&&g(t.props.handlePastedFiles(r)))return;return void d(r,function(e){if(e=e||m){var n=t._latestEditorState,r=y(e),i=s.create({style:n.getCurrentInlineStyle(),entity:h(n.getCurrentContent(),n.getSelection())}),o=p.getCurrentBlockType(n),u=l.processText(r,i,o),d=a.createFromArray(u),g=c.replaceWithFragment(n.getCurrentContent(),n.getSelection(),d);t.update(f.push(n,g,"insert-fragment"))}})}}var v=[],_=n.getText(),b=n.getHTML(),x=t._latestEditorState;if(!t.props.handlePastedText||!g(t.props.handlePastedText(_,b,x))){if(_&&(v=y(_)),!t.props.stripPastedStyles){var w=t.getClipboard();if(n.isRichText()&&w){if(-1!==b.indexOf(t.getEditorKey())||1===v.length&&1===w.size&&w.first().getText()===_)return void t.update(i(t._latestEditorState,w))}else if(w&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&o(v,w))return void t.update(i(t._latestEditorState,w));if(b){var E=l.processHTML(b,t.props.blockRenderMap);if(E){var S=E.contentBlocks,k=E.entityMap;if(S){var O=a.createFromArray(S);return void t.update(i(t._latestEditorState,O,k))}}}t.setClipboard(null)}if(v.length){var M=s.create({style:x.getCurrentInlineStyle(),entity:h(x.getCurrentContent(),x.getSelection())}),T=p.getCurrentBlockType(x),I=l.processText(v,M,T),C=a.createFromArray(I);t.update(i(t._latestEditorState,C))}}}function i(t,e,n){var r=c.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return f.push(t,r.set("entityMap",n),"insert-fragment")}function o(t,e){return t.length===e.size&&e.valueSeq().every(function(e,n){return e.getText()===t[n]})}var a=n(48),s=n(7),u=n(122),c=n(5),l=n(250),f=n(2),p=n(133),h=n(86),d=n(124),g=n(50),y=n(253);t.exports=r},function(t,e,n){"use strict";var r=n(9),i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=(n(7),n(37)),a=n(10),s=n(31),u=n(0),c=n(131),l=n(25),f=n(132),p=n(83),h=u.List,d=u.Repeat,g=s.draft_tree_data_support,y=g?a:o,m={processHTML:function(t,e){return c(t,f,e)},processText:function(t,e,n){return t.reduce(function(t,r,o){r=p(r);var a=l(),s={key:a,type:n,text:r,characterList:h(d(e,r.length))};
1if(g&&0!==o){var u=o-1,c=t[u]=t[u].merge({nextSibling:a});s=i({},s,{prevSibling:c.getKey()})}return t.push(new y(s)),t},[])}};t.exports=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e){r(this,t),this._uri=e}return t.prototype.toString=function(){return this._uri},t}();t.exports=i},function(t,e,n){"use strict";function r(t,e,n,r){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil(function(t,e){return e===i}).takeUntil(function(t,e){return e===o}).concat([[o,a.get(o)]]).map(function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)});return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}t.exports=r},function(t,e,n){"use strict";function r(t){return t.split(i)}var i=/\r\n?|\n/g;t.exports=r},function(t,e,n){"use strict";function r(t){if(!t._blockSelectEvents&&t._latestEditorState===t.props.editorState){var e=t.props.editorState,n=o.findDOMNode(t.editorContainer);n||s(!1),n.firstChild instanceof HTMLElement||s(!1);var r=a(e,n.firstChild),u=r.selectionState;u!==e.getSelection()&&(e=r.needsRecovery?i.forceSelection(e,u):i.acceptSelection(e,u),t.update(e))}}var i=n(2),o=n(38),a=n(255),s=n(1);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,n){var r=e.getSelection();return 0===r.rangeCount?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:i(t,n,r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset)}var i=n(128);t.exports=r}).call(e,n(26))},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n(44),u=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},e.prototype.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=s({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/has
1Focus":t}),n={whiteSpace:"pre-wrap"};return a.createElement("div",{className:e},a.createElement("div",{className:s("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:n},this.props.text))},e}(a.Component);t.exports=u},function(t,e,n){"use strict";var r=n(9),i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(37),a=n(10),s=n(134),u=n(258),c=n(259),l=n(1),f=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:c(t),entityRanges:u(t,e),data:t.getData().toObject()}},p=function(t,e,n,r){if(t instanceof o)return void n.push(f(t,e));t instanceof a||l(!1);var s=t.getParentKey(),u=r[t.getKey()]=i({},f(t,e),{children:[]});if(s)return void r[s].children.push(u);n.push(u)},h=function(t,e){var n=e.entityMap,r=[],i={},o={},a=0;return t.getBlockMap().forEach(function(t){t.findEntityRanges(function(t){return null!==t.getEntity()},function(e){var r=t.getEntityAt(e),i=s.stringify(r);o[i]||(o[i]=r,n[i]=""+a,a++)}),p(t,n,r,i)}),{blocks:r,entityMap:n}},d=function(t,e){var n=e.blocks,r=e.entityMap,i={};return Object.keys(r).forEach(function(e,n){var r=t.getEntity(s.unstringify(e));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{blocks:n,entityMap:i}},g=function(t){var e={entityMap:{},blocks:[]};return e=h(t,e),e=d(t,e)};t.exports=g},function(t,e,n){"use strict";function r(t,e){var n=[];return t.findEntityRanges(function(t){return!!t.getEntity()},function(r,o){var s=t.getText(),u=t.getEntityAt(r);n.push({offset:a(s.slice(0,r)),length:a(s.slice(r,o)),key:Number(e[i.stringify(u)])})}),n}var i=n(134),o=n(39),a=o.strlen;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=[],i=e.map(function(t){return t.has(n)}).toList();return a(i,s,u,function(e,i){var a=t.getText();r.push({offset:o.strlen(a.slice(0,e)),length:o.strlen(a.slice(e,i)),style:n})}),r}function i(t){var e=t.getCharacterList().map(function(t){return t.getStyle()}).toList(),n=e.flatten().toSet().map(function(n){return r(t,e,n)});return Array.prototype.concat.apply(c,n.toJS())}var o=n(39),a=n(49),s=function(t,e){return t===e},u=function(t){return!!t},c=[];t.exports=i},function(t,e,n){"use strict";var r=n(9),i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(37),a=n(10),s=n(82),u=n(61),c=n(31),l=n(261),f=n(0),p=n(43),h=n(262),d=n(263),g=n(264),y=n(25),m=n(1),v=c.draft_tree_data_support,_=f.List,b=f.Map,x=f.OrderedMap,w=function(t,e){var n=t.key,r=t.type,i=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||y(),data:b(i),characterList:E(t,e)}},E=function(t,e){var n=t.text,r=t.entityRanges,o=t.inlineStyleRanges,a=r||[];return h(g(n,o||[]),d(n,a.filter(function(t){return e.hasOwnProperty(t.key)}).map(function(t){return i({},t,{key:e[t.key]})})))},S=function(t){return i({},t,{key:t.key||y()})},k=function(t,e,n){var r=e.map(function(t){return i({},t,{parentRef:n})});return t.concat(r.reverse())},O=function(t,e){return t.map(S).reduce(function(n,r,o){Array.isArray(r.children)||m(!1);var s=r.children.map(S),u=new a(i({},w(r,e),{prevSibling:0===o?null:t[o-1].key,nextSibling:o===t.length-1?null:t[o+1].key,children:_(s.map(function(t){return t.key}))}));n=n.set(u.getKey(),u);for(var c=k([],s,u);c.length>0;){var l=c.pop(),f=l.parentRef,p=f.getChildKeys(),h=p.indexOf(l.key),d=Array.isArray(l.children);if(!d){d||m(!1);break}var g=l.children.map(S),y=new a(i({},w(l,e),{parent:f.getKey(),children:_(g.map(function(t){return t.key})),prevSibling:0===h?null:p.get(h-1),nextSibling:h===p.size-1?null:p.get(h+1)}));n=n.set(y.getKey(),y),c=k(c,g,y)}return n},x())},M=function(t,e){return x(t.map(function(t){var n=new o(w(t,e));return[n.getKey(),n]}))},T=function(t,e){var n=Array.isArray(t.blocks[0].children),r=v&&!n?l.fromRawStateToRawTreeState(t).blocks:t.blocks;return v?O(r,e):M(n?l.fromRawTreeStateToRawState(t).blocks:r,e)},I=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach(function(t){var r=e[t],i=r.type,o=r.mutability,a=r.data;n[t]=u.__create(i,o,a||{})}),n},C=function(t){Array.isArray(t.blocks)||m(!1);var e=I(t),n=T(t,e),r=n.isEmpty()?new p:p.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:e,selectionBefore:r,selectionAfter:r})};t.exports=C},function(t,e,n){"use strict";var r=n(9),i=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(1),a=function(t,e){for(var n=[].concat(t).reverse();n.length;){var r=n.pop();e(r);var i=r.children;Array.isArray(i)||o(!1),n=n.concat([].concat(i.reverse()))}},s=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},u=function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(e){return e.type===t.type?i({},e,{depth:(t.depth||0)+1}):e}))},c={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||o(!1),Array.isArray(e)&&e.length?(a(e,function(t){var e=i({},t);s(t)&&(e.depth=e.depth||0,u(t)),delete e.children,n.push(e)}),t.blocks=n,i({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e={},n=[];return t.blocks.forEach(function(t){var r=s(t),a=t.depth||0,u=i({},t,{children:[]});if(!r)return e={},void n.push(u);if(e[a]=u,a>0){var c=e[a-1];return c||o(!1),void c.children.push(u)}n.push(u)}),i({},t,{blocks:n})}};t.exports=c},function(t,e,n){"use strict";function r(t,e){var n=t.map(function(t,n){var r=e[n];return i.create({style:t,entity:r})});return a(n)}var i=n(7),o=n(0),a=o.List;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(null);return e&&e.forEach(function(e){for(var r=o(t,0,e.offset).length,i=r+o(t,e.offset,e.length).length,a=r;a<i;a++)n[a]=e.key}),n}var i=n(39),o=i.substr;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=Array(t.length).fill(u);return e&&e.forEach(function(e){for(var r=s(t,0,e.offset).length,i=r+s(t,e.offset,e.length).length;r<i;)n[r]=n[r].add(e.style),r++}),n}var i=n(0),o=i.OrderedSet,a=n(39),s=a.substr,u=o();t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),r=i(n),o=r.top,a=r.right,s=r.bottom,u=r.left;return 0===o&&0===a&&0===s&&0===u?null:r}var i=n(266);t.exports=r},function(t,e,n){"use strict";function r(t){var e=i(t),n=0,r=0,o=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,r=s.right,o=s.bottom,a=s.left}else{var u=e[0];n=u.top,r=u.right,o=u.bottom,a=u.left}for(var c=1;c<e.length;c++){var l=e[c];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),r=Math.max(r,l.right),o=Math.max(o,l.bottom),a=Math.min(a,l.left))}}
vendor: 4,346 bytes, line 1
1return{top:n,right:r,bottom:o,left:a,width:r-a,height:o-n}}var i=n(127);t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=e.BLOCK_TYPE={UNSTYLED:"unstyled",HEADER_ONE:"header-one",HEADER_TWO:"header-two",HEADER_THREE:"header-three",HEADER_FOUR:"header-four",HEADER_FIVE:"header-five",HEADER_SIX:"header-six",UNORDERED_LIST_ITEM:"unordered-list-item",ORDERED_LIST_ITEM:"ordered-list-item",BLOCKQUOTE:"blockquote",PULLQUOTE:"pullquote",CODE:"code-block",ATOMIC:"atomic"},i=e.ENTITY_TYPE={LINK:"LINK",IMAGE:"IMAGE"},o=e.INLINE_STYLE={BOLD:"BOLD",CODE:"CODE",ITALIC:"ITALIC",STRIKETHROUGH:"STRIKETHROUGH",UNDERLINE:"UNDERLINE"};e.default={BLOCK_TYPE:r,ENTITY_TYPE:i,INLINE_STYLE:o}},function(t,e,n){"use strict";function r(t,e){for(var n=null,r=null,o=[],a=0,s=0,u=t.length;s<u;s++){r=n;var c=e.get(s);n=c?c.getEntity():null,s>0&&n!==r&&(o.push([r,i(t.slice(a,s),e.slice(a,s))]),a=s)}return o.push([n,i(t.slice(a),e.slice(a))]),o}function i(t,e){for(var n=a,r=a,i=[],s=0,u=0,c=t.length;u<c;u++){r=n;var l=e.get(u);n=l?l.getStyle():a,u>0&&!(0,o.is)(n,r)&&(i.push([t.slice(s,u),r]),s=u)}return i.push([t.slice(s),n]),i}Object.defineProperty(e,"__esModule",{value:!0}),e.EMPTY_SET=void 0,e.default=r;var o=n(93),a=e.EMPTY_SET=new o.OrderedSet},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(94),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(e,n){var r=e.getCurrentContent(),o=n||e.getSelection(),a=o.getStartKey(),s=o.getEndKey(),u=o.getStartOffset(),c=o.getEndOffset(),l=a===s,f=(0,i.default)(r,a,s),p=!1,h=u+1,d=c-1;return f.forEach(function(e){t(e,function(t,n){if(!p){var r=e.getKey();l&&(n<h||t>d)||r===a&&n<h||r===s&&t>d||(p=!0)}},r)}),p}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=n(94),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(t,e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];var s=t.getCurrentContent(),u=t.getSelection(),c=u.getStartKey(),l=u.getEndKey(),f=u.getStartOffset(),p=u.getEndOffset(),h=c===l,d=(0,o.default)(s,c,l),g=t;return d.forEach(function(t){var n=t.getKey(),o=f,a=p;n===c?(o=f,a=h?p:t.getText().length):n===l?(o=h?f:0,a=p):(o=0,a=t.getText().length);var s=new r.SelectionState({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:a});g=e.apply(void 0,[g,s].concat(i))}),r.EditorState.forceSelection(g,u)}},function(t,e,n){"use strict";function r(t){return t.which===i.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}var i=n(62);t.exports=r},function(t,e,n){n(47),n(273),t.exports=n(4).Array.from},function(t,e,n){"use strict";var r=n(34),i=n(8),o=n(46),a=n(136),s=n(137),u=n(53),c=n(274),l=n(95);i(i.S+i.F*!n(275)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,p=o(t),h="function"==typeof this?this:Array,d=arguments.length,g=d>1?arguments[1]:void 0,y=void 0!==g,m=0,v=l(p);if(y&&(g=r(g,d>2?arguments[2]:void 0,2)),void 0==v||h==Array&&s(v))for(e=u(p.length),n=new h(e);e>m;m++)c(n,m,y?g(p[m],m):p[m]);else for(f=v.call(p),n=new h;!(i=f.next()).done;m++)c(n,m,y?a(f,g,[i.value,m],!0):i.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(11),i=n(45);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(6)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){t.exports={default:n(277),__esModule:!0}},function(t,e,n){n(109),n(47),n(59),n(278),n(285),n(288),n(290),t.exports=n(4).Map},function(t,e,n){"use strict";var r=n(279),i=n(140);t.exports=n(281)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(11).f,i=n(57),o=n(138),a=n(34),s=n(139),u=n(65),c=n(76),l=n(105),f=n(280),p=n(15),h=n(79).fastKey,d=n(140),g=p?"_s":"size",y=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};
vendor: 4,102 bytes, line 1
1t.exports={getConstructor:function(t,e,n,c){var l=t(function(t,r){s(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&u(r,n,t[c],t)});return o(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=d(this,e),r=y(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(t){d(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(d(this,e),t)}}),p&&r(l.prototype,"size",{get:function(){return d(this,e)[g]}}),l},def:function(t,e,n){var r,i,o=y(t,e);return o?o.v=n:(t._l=o={i:i=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?l(0,n.k):"values"==e?l(0,n.v):l(0,[n.k,n.v]):(t._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(14),i=n(4),o=n(11),a=n(15),s=n(6)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(14),i=n(8),o=n(79),a=n(35),s=n(29),u=n(138),c=n(65),l=n(139),f=n(20),p=n(58),h=n(11).f,d=n(282)(0),g=n(15);t.exports=function(t,e,n,y,m,v){var _=r[t],b=_,x=m?"set":"add",w=b&&b.prototype,E={};return g&&"function"==typeof b&&(v||w.forEach&&!a(function(){(new b).entries().next()}))?(b=e(function(e,n){l(e,b,t,"_c"),e._c=new _,void 0!=n&&c(n,m,e[x],e)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in w&&(!v||"clear"!=t)&&s(b.prototype,t,function(n,r){if(l(this,b,t),!e&&v&&!f(n))return"get"==t&&void 0;var i=this._c[t](0===n?0:n,r);return e?this:i})}),v||h(b.prototype,"size",{get:function(){return this._c.size}})):(b=y.getConstructor(e,t,m,x),u(b.prototype,n),o.NEED=!0),p(b,t),E[t]=b,i(i.G+i.W+i.F,E),v||y.setStrong(b,t,m),b}},function(t,e,n){var r=n(34),i=n(67),o=n(46),a=n(53),s=n(283);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,f=6==t,p=5==t||f,h=e||s;return function(e,s,d){for(var g,y,m=o(e),v=i(m),_=r(s,d,3),b=a(v.length),x=0,w=n?h(e,b):u?h(e,0):void 0;b>x;x++)if((p||x in v)&&(g=v[x],y=_(g,x,m),t))if(n)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:w.push(g)}else if(l)return!1;return f?-1:c||l?l:w}}},function(t,e,n){var r=n(284);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(20),i=n(106),o=n(6)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(8);r(r.P+r.R,"Map",{toJSON:n(286)("Map")})},function(t,e,n){var r=n(96),i=n(287);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){var r=n(65);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){n(289)("Map")},function(t,e,n){"use strict";var r=n(8);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){n(291)("Map")},function(t,e,n){"use strict";var r=n(8),i=n(98),o=n(34),a=n(65);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,s,u=arguments[1];return i(this),e=void 0!==u,e&&i(u),void 0==t?new this:(n=[],e?(r=0,s=o(u,arguments[2],2),a(t,!1,function(t){n.push(s(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){var r=n(293);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,".Button__root___1gz0c{display:inline-block;margin:0 5px 0 0;padding:3px 8px;
1height:30px;line-height:22px;box-sizing:border-box;background:none #fdfdfd;background:linear-gradient(180deg,#fdfdfd 0,#f6f7f8);border:1px solid #999;border-radius:2px;color:#333;text-decoration:none;font-size:inherit;font-family:inherit;cursor:pointer;white-space:nowrap}.Button__root___1gz0c:disabled{cursor:not-allowed;background:none transparent}.Button__root___1gz0c:disabled>*{opacity:.5}",""]),e.locals={root:"Button__root___1gz0c"}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i))return t;var o;return o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")"})}},function(t,e,n){var r=n(296);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,".ButtonWrap__root___1EO_R{display:inline-block;position:relative;z-index:10}",""]),e.locals={root:"ButtonWrap__root___1EO_R"}},function(t,e,n){var r=n(298);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,'.IconButton__root___3tqZW{padding-left:3px;padding-right:3px}.IconButton__icon___3YgOS{display:inline-block;width:22px;height:22px;background-position:50%;background-repeat:no-repeat;background-size:18px}.IconButton__isActive___2Ey8p{background:none #d8d8d8}.IconButton__icon-undo___EQSRP{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTcuODU2IDI0YzIuNjY1LTQuODMgMy4xMTUtMTIuMTk1LTcuMzU2LTExLjk1VjE4bC05LTkgOS05djUuODJDMjMuMDM4IDUuNDk1IDI0LjQzNSAxNi44OSAxNy44NTYgMjR6Ii8+PC9zdmc+");background-size:14px}.IconButton__icon-redo___30MVz{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTMuNSA1LjgyVjBsOSA5LTkgOXYtNS45NUMzLjAzIDExLjgwNiAzLjQ3OCAxOS4xNyA2LjE0NCAyNC0uNDM2IDE2Ljg5Ljk2MiA1LjQ5NCAxMy41IDUuODJ6Ii8+PC9zdmc+");background-size:14px}.IconButton__icon-unordered-list-item___Pvkrr{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNNC42NTYgMy4zNDRIMTR2MS4zMTNINC42NTZWMy4zNDR6bTAgNS4zMTJWNy4zNDNIMTR2MS4zMTNINC42NTZ6bTAgNHYtMS4zMTNIMTR2MS4zMTNINC42NTZ6bS0yLTEuNTNxLjM3NSAwIC42NC4yNXQuMjY3LjYyNC0uMjY2LjYyNS0uNjQuMjUtLjYyNi0uMjVUMS43OCAxMnQuMjUtLjYyNS42MjYtLjI1em0wLTguMTI2cS40MDYgMCAuNzAzLjI4dC4yOTYuNzItLjI5Ny43Mi0uNzA0LjI4LS43MDMtLjI4VDEuNjU2IDR0LjI5Ny0uNzIuNzAzLS4yOHptMCA0cS40MDYgMCAuNzAzLjI4dC4yOTYuNzItLjI5Ny43Mi0uNzA0LjI4LS43MDMtLjI4VDEuNjU2IDh0LjI5Ny0uNzIuNzAzLS4yOHoiLz48L3N2Zz4=")}.IconButton__icon-ordered-list-item___2rzD0{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNNC42NTYgOC42NTZWNy4zNDNIMTR2MS4zMTNINC42NTZ6bTAgNHYtMS4zMTNIMTR2MS4zMTNINC42NTZ6bTAtOS4zMTJIMTR2MS4zMTNINC42NTZWMy4zNDR6bS0zLjMxMiA0di0uNjg4aDJ2LjYyNWwtMS4yMiAxLjM3NmgxLjIydi42ODhoLTJWOC43MmwxLjE4OC0xLjM3NkgxLjM0NHptLjY1Ni0ydi0yaC0uNjU2di0uNjg4aDEuMzEzdjIuNjg4SDJ6bS0uNjU2IDZ2LS42ODhoMnYyLjY4OGgtMnYtLjY4OGgxLjMxM3YtLjMxM0gydi0uNjg4aC42NTd2LS4zMTNIMS4zNDR6Ii8+PC9zdmc+")}.IconButton__icon-blockquote___17VSX{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOS4zNDQgMTEuMzQ0bDEuMzEzLTIuNjg4aC0ydi00aDR2NGwtMS4zMTMgMi42ODhoLTJ6bS01LjM0NCAwbDEuMzQ0LTIuNjg4aC0ydi00a
1DR2NEw2IDExLjM0NEg0eiIvPjwvc3ZnPg==")}.IconButton__icon-bold___2zl9t{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOSAxMC4zNDRxLjQzOCAwIC43Mi0uMjk3dC4yOC0uNzAzLS4yOC0uNzAzVDkgOC4zNDVINi42NTZ2Mkg5em0tMi4zNDQtNnYyaDJxLjQwNiAwIC43MDMtLjI5N3QuMjk2LS43MDMtLjI5Ny0uNzAzLS43MDQtLjI5NmgtMnptMy43NSAyLjg0NHExLjQzOC42NTYgMS40MzggMi4yOCAwIDEuMDY0LS43MDMgMS43OThUOS4zNzYgMTJoLTQuNzJWMi42NTZoNC4xOXExLjEyNCAwIDEuODkuNzh0Ljc2NiAxLjkwNy0xLjA5MyAxLjg0NHoiLz48L3N2Zz4=")}.IconButton__icon-italic___2hHzc{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNNi42NTYgMi42NTZIMTJ2MmgtMS44NzVMNy44NzUgMTBoMS40N3YySDR2LTJoMS44NzVsMi4yNS01LjM0NGgtMS40N3YtMnoiLz48L3N2Zz4=")}.IconButton__icon-underline___2EmZJ{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNMy4zNDQgMTIuNjU2aDkuMzEzVjE0SDMuMzQ0di0xLjM0NHpNOCAxMS4zNDRxLTEuNjU2IDAtMi44MjgtMS4xNzJUNCA3LjM0NFYyaDEuNjU2djUuMzQ0cTAgLjk3LjY4OCAxLjY0VDggOS42NTh0MS42NTYtLjY3Mi42ODgtMS42NFYySDEydjUuMzQ0UTEyIDkgMTAuODI4IDEwLjE3MlQ4IDExLjM0NHoiLz48L3N2Zz4=")}.IconButton__icon-strikethrough___QtE2X{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjMuNTcgMTJxLjE5IDAgLjMxLjEydC4xMi4zMXYuODU2cTAgLjE4OC0uMTIuMzA4dC0uMzEuMTJILjQzcS0uMTg4IDAtLjMwOC0uMTJUMCAxMy4yODZ2LS44NTdxMC0uMTkuMTItLjMxVC40MjggMTJIMjMuNTd6bS0xNy4xLS44NTdxLS4zNzYtLjQ3LS42ODQtMS4wNy0uNjQzLTEuMy0uNjQzLTIuNTIgMC0yLjQyMyAxLjc5NS00LjEzNyAxLjc4LTEuNyA1LjI2My0xLjcuNjcgMCAyLjIzOC4yNTMuODg0LjE2IDIuMzcuNjQyLjEzNS41MS4yODIgMS41OC4xODggMS42NDcuMTg4IDIuNDUgMCAuMjQyLS4wNjcuNjA0bC0uMTYuMDQtMS4xMjUtLjA4LS4xODgtLjAyN3EtLjY3LTEuOTk3LTEuMzgtMi43NDctMS4xNzgtMS4yMi0yLjgxMi0xLjIyLTEuNTI3IDAtMi40MzguNzktLjg5Ny43NzgtLjg5NyAxLjk1NiAwIC45NzcuODg0IDEuODc0dDMuNzM3IDEuNzI4cS45MjUuMjY4IDIuMzE4Ljg4NC43NzcuMzc1IDEuMjcyLjY5Nkg2LjQ3em02Ljc5IDMuNDI4aDUuNTAzcS4wOTQuNTIzLjA5NCAxLjIzMyAwIDEuNDg3LS41NSAyLjg0LS4zMDcuNzM2LS45NSAxLjM5Mi0uNDk2LjQ3LTEuNDYgMS4wODUtMS4wNy42NDMtMi4wNS44ODQtMS4wNy4yOC0yLjcxOC4yOC0xLjUyOCAwLTIuNjEzLS4zMDdsLTEuODc1LS41MzZxLS43NjMtLjIxMy0uOTY0LS4zNzQtLjEwNy0uMTA3LS4xMDctLjI5NXYtLjE3M3EwLTEuNDQ2LS4wMjYtMi4wOS0uMDEzLS40IDAtLjkxbC4wMjctLjQ5NnYtLjU4OGwxLjM2Ny0uMDI3cS4yLjQ1NS40MDIuOTV0LjMuNzUuMTY3LjM2M3EuNDcuNzYzIDEuMDcgMS4yNi41NzcuNDggMS40MDcuNzYyLjc5LjI5NSAxLjc2OC4yOTUuODU3IDAgMS44NjItLjM2MiAxLjAzLS4zNDggMS42MzQtMS4xNTIuNjMtLjgxNi42My0xLjcyNyAwLTEuMTI1LTEuMDg2LTIuMTAzLS40NTUtLjM4OC0xLjgzNS0uOTV6Ii8+PC9zdmc+");background-size:14px}.IconButton__icon-code___3F1pe{background-image:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTE2IDExNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEuNDE0Ij48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iPjxwYXRoIGQ9Ik0yMi40NjQgMjguNDhjMCAyLjg5NS4zNDQgNS45MDUuODA2IDkuMDIuMzQyIDMuMDEuNjkgNi4wMi42OSA4LjkxNyAwIDMuNTYyLS45MTcgNy43OS04Ljk1NSA3LjkxMnY3LjIzNmM4LjAzNi4xMTUgOC45NTYgNC42NzIgOC45NTYgNy45MTIgMCAyLjg4Ni0uMzQ4IDUuNzgzLS42OSA4Ljc4Ny0uNDYyIDMuMDEzLS44MDYgNi4xMzQtLjgwNiA4LjkyIDAgMTEuMjM4IDcuMTA2IDE1LjI1MiAxNy4wODcgMTUuMjUyaDMuMzJ2LTcuOTEyaC0yLjA2MmMtNS43MjYgMC04LjAyNS0zLjIzMy04LjAyNS04Ljc5NiAwLTIuMjM2LjM0NC00LjU3LjgwNi03LjAyMy4yMjctMi40MzguNjg0LTUuMTIuNjg0LTguMTIuMTE1LTcuNzkyLTMuMzItMTEuMjUzLTkuMTc0LTEyLjU4NnYtLjIyNWM1Ljg1NC0xLjMzMiA5LjI5My00LjY3NiA5LjE3LTEyLjQ3IDAtMi44OTUtLjQ1Ny01LjU2NS0uNjg0LTguMDI0LS40NjItMi40NC0uODA3LTQuNzc3LS44MDctNy4wMTIgMC01LjQ1IDIuMDU4LTguNjg4IDguMDI0LTguNjg4aDIuMDY2di04LjAxNGgtMy4zMmMtMTAuMjA1LS4wMDMtMTcuMDg2IDQuNDQ0LTE3LjA4NiAxNC45MTV6TTkyLjA2IDQ2LjQxN2MwLTIuODkzLjQ1My01LjkwMy44MDMtOC45MTguMzQzLTMuMTE0Ljc5Ny02LjEyLjc5Ny05LjAyIDAtMTAuNDctNi44NzUtMTQuOTE3LTE3LjA4LTE0LjkxN2gtMy4zMjd2OC4wMTdoMi4wNmM1Ljg1Mi4xMTQgNy45MSAzLjIzMyA3LjkxIDguNjg4IDAgMi4yMy0uMzQyIDQuNTY1LS42ODUgNy4wMTItLjM1IDIuNDU1LS42OTIgNS4xMjYtLjY5MiA4LjAyNC0uMTA1IDcuNzk3IDMuMzI3IDExLjEzNiA5LjA1NiAxMi40N3YuMjIyYy01LjcyIDEuMzMzLTkuMTYgNC43OTYtOS4wNTYgMTIuNTg3IDAgMyAuMzQyIDUuNjg2LjY5MiA4LjEyLjM0MyAyLjQ1NS42ODYgNC43OS42ODYgNy4wMjUgMCA1LjU1NC0yLjE4IDguNjgtNy45MTIgOC43ODhoLTIuMDZ2Ny45MTJoMy4zMjVjOS45NzUgMCAxNy4wNzYtNC4wMSAxNy4wNzYtMTUuMjUgMC0yLjc4My0uNDU0LTUuOS0uNzk2LTguOTE0LS4zNDctMy4wMS0uODA1LTUuOS0uODA1LTguNzk1IDAtMy4yMzMgMS4wMzUtNy43OSA4Ljk0My03LjkxM1Y1NC4zMmMtNy45MDQtLjExMi04LjkzNS00LjM0LTguOTM1LTcuOTAzeiIvPjwvZz48L3N2Zz4=")}.IconButton__icon-link___2umEl{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDIyIDI0Ij48cGF0aCBkPSJNMTkuNSAxNi4yODZxMC0uNTM2LS4zNzUtLjkxbC0yLjc4Ni0yLjc4N3EtLjM3Ni0uMzc2LS45MTItLjM3Ni0uNTYzIDAtLjk2NC40M2wuMjU0LjI0N3EuMjE0LjIwOC4yODguMjl0LjIuMjUzLjE3NS4zNDIuMDQ4LjM2OHEwIC41MzYtLjM3NS45MXQtLjkxLjM3NnEtLjIwMiAwLS4zNy0uMDQ4dC0uMzQtLjE3NC0uMjU1LS4yLS4yODgtLjI5LS4yNDgtLjI1M3EtLjQ0Mi40MTUtLjQ0Mi45NzggMCAuNTM2LjM3NS45MWwyLjc2IDIuNzczcS4zNi4zNjIuOTEuMzYyLjUzNiAwIC45MS0uMzQ4bDEuOTctMS45NTVxLjM3NS0uMzc1LjM3NS0uODk3em0tOS40MTUtOS40NDJxMC0uNTM2LS4zNzUtLjkxTDYuOTUgMy4xNnEtLjM3NC0uMzc0LS45MS0uMzc0LS41MjIgMC0uOTEuMzYyTDMuMTYgNS4xMDNxLS4zNzUuMzc1LS4zNzUuODk3IDAgLjUzNi4zNzUuOTFsMi43ODYgMi43ODdxLjM2Mi4zNjIuOTEuMzYyLjU2NCAwIC45NjUtLjQxNmwtLjI1My0uMjQ4cS0uMjEzLS4yMDgtLjI4OC0uMjg4dC0uMjAyLS4yNTQtLjE3NC0uMzQyLS4wNDctLjM2OHEwLS41MzYuMzc1LS45MXQuOTEtLjM3NnEuMjAyIDAgLjM3LjA0N3QuMzQuMTc0LjI1NS4yLjI4OC4yODguMjQ4LjI1NHEuNDQyLS40MTUuNDQyLS45Nzh6bTExLjk4NiA5LjQ0MnEwIDEuNjA3LTEuMTM3IDIuNzJsLTEuOTcgMS45NTRxLTEuMTEgMS4xMTItMi43MTggMS4xMTItMS42MiAwLTIuNzMyLTEuMTM4bC0yLjc2LTIuNzcycS0xLjExLTEuMTEyLTEuMTEtMi43MiAwLTEuNjQ2IDEuMTc4LTIuNzk4bC0xLjE3OC0xLjE4cS0xLjE1MiAxLjE4LTIuNzg2IDEuMTgtMS42MDcgMC0yLjczMi0xLjEyNUwxLjMzOCA4LjczMlEuMjEzIDcuNjA4LjIxMyA2VDEuMzUgMy4yODNsMS45Ny0xLjk1NVE0LjQzMi4yMTUgNi4wNC4yMTVxMS42MiAwIDIuNzMgMS4xMzhsMi43NiAyLjc3MnExLjExMiAxLjExMiAxLjExMiAyLjcyIDAgMS42NDYtMS4xOCA
1yLjc5OGwxLjE4IDEuMThxMS4xNTItMS4xOCAyLjc4Ni0xLjE4IDEuNjA3IDAgMi43MzIgMS4xMjVsMi43ODYgMi43ODZxMS4xMjUgMS4xMjUgMS4xMjUgMi43MzJ6Ii8+PC9zdmc+");background-size:14px}.IconButton__icon-remove-link___j61pw{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDIyIDI0Ij48cGF0aCBkPSJNNS44OCAxNy4wMjJsLTMuNDMgMy40M3EtLjEzNC4xMi0uMzA4LjEyLS4xNiAwLS4zMDgtLjEyLS4xMi0uMTM1LS4xMi0uMzF0LjEyLS4zMDdsMy40My0zLjQzcS4xMzMtLjEyLjMwNy0uMTJ0LjMxLjEycS4xMi4xMzUuMTIuMzF0LS4xMi4zMDd6bTIuMjYzLjU1djQuMjg1cTAgLjE4OC0uMTIuMzA4dC0uMzEuMTItLjMwNy0uMTItLjEyLS4zMDhWMTcuNTdxMC0uMTg3LjEyLS4zMDd0LjMwOC0uMTIuMzA4LjEyLjEyLjMwOHptLTMtM3EwIC4xODctLjEyLjMwN3QtLjMxLjEySC40M3EtLjE4OCAwLS4zMDgtLjEyVDAgMTQuNTd0LjEyLS4zMDcuMzA4LS4xMmg0LjI4NnEuMTg4IDAgLjMwOC4xMnQuMTIuMzA4em0xNi45MjggMS43MTRxMCAxLjYwNy0xLjEzNyAyLjcybC0xLjk3IDEuOTU0cS0xLjExIDEuMTEyLTIuNzE4IDEuMTEyLTEuNjIgMC0yLjczMi0xLjEzOEw5LjA0IDE2LjQ0N3EtLjI4LS4yOC0uNTYzLS43NWwzLjItLjI0IDMuNjU3IDMuNjdxLjM2Mi4zNi45MS4zNjd0LjkxMi0uMzU1bDEuOTctMS45NTZxLjM3NC0uMzc1LjM3NC0uODk3IDAtLjUzNi0uMzc1LS45MWwtMy42Ny0zLjY4NC4yNC0zLjJxLjQ3LjI4Ljc1LjU2Mmw0LjUgNC41cTEuMTI2IDEuMTUyIDEuMTI2IDIuNzMyek0xMy44MSA2LjU5bC0zLjIuMjRMNi45NSAzLjE2cS0uMzc0LS4zNzUtLjkxLS4zNzUtLjUyMiAwLS45MS4zNjJMMy4xNiA1LjEwMnEtLjM3NS4zNzUtLjM3NS44OTcgMCAuNTM1LjM3NS45MWwzLjY3IDMuNjctLjI0IDMuMjE0cS0uNDctLjI4LS43NS0uNTYzbC00LjUtNC41US4yMTMgNy41OC4yMTMgNnEwLTEuNjA4IDEuMTM4LTIuNzJsMS45Ny0xLjk1NVE0LjQzLjIxMyA2LjA0LjIxM3ExLjYyIDAgMi43MzIgMS4xMzhsNC40NzMgNC40ODhxLjI4LjI4LjU2My43NXptOC40NzggMS4xMjRxMCAuMTg4LS4xMi4zMDh0LS4zMS4xMmgtNC4yODVxLS4xODcgMC0uMzA3LS4xMnQtLjEyLS4zMDguMTItLjMwOC4zMDgtLjEyaDQuMjg3cS4xODggMCAuMzA4LjEydC4xMi4zMDh6TTE1IC40M3Y0LjI4NXEwIC4xODgtLjEyLjMwOHQtLjMxLjEyLS4zMDctLjEyLS4xMi0uMzA4Vi40M3EwLS4xOS4xMi0uMzFUMTQuNTcgMHQuMzEuMTIuMTIuMzF6bTUuNDUgMi4wMmwtMy40MjggMy40M3EtLjE0Ny4xMi0uMzA4LjEydC0uMzA4LS4xMnEtLjEyLS4xMzQtLjEyLS4zMDh0LjEyLS4zMDhsMy40My0zLjQzcS4xMzMtLjEyLjMwNy0uMTJ0LjMwOC4xMnEuMTIyLjEzNS4xMjIuMzF0LS4xMi4zMDd6Ii8+PC9zdmc+");background-size:14px}.IconButton__icon-image___1gW7U{background-image:url("data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgNTMzLjMzMyA1MzMuMzM0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MzMuMzMzIDUzMy4zMzQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNNDY2LjY2NywxMDBoLTQwMHYzMzMuMzMzaDQwMFYxMDB6IE01MzMuMzMzLDMzLjMzM0w1MzMuMzMzLDMzLjMzM1Y1MDBIMFYzMy4zMzNINTMzLjMzM3ogTTQzMy4zMzMsNDAwSDEwMHYtNjYuNjY3ICAgbDEwMC0xNjYuNjY3bDEzNi45NzksMTY2LjY2N2w5Ni4zNTQtNjYuNjY2VjMwMFY0MDB6IE0zMzMuMzMzLDE4My4zMzNjMCwyNy42MTQsMjIuMzg2LDUwLDUwLDUwczUwLTIyLjM4Niw1MC01MHMtMjIuMzg2LTUwLTUwLTUwICAgUzMzMy4zMzMsMTU1LjcxOSwzMzMuMzMzLDE4My4zMzN6IiBmaWxsPSIjMDAwMDAwIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==");background-size:14px}.IconButton__icon-cancel___fx4TT{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjMuNzggMTkuMjhMMTYuNSAxMmw3LjI4LTcuMjhhLjc0OC43NDggMCAwIDAgMC0xLjA2TDIwLjM0LjIxOGEuNzUuNzUgMCAwIDAtMS4wNi0uMDAyTDEyIDcuNDk4IDQuNzE3LjIyYS43NDguNzQ4IDAgMCAwLTEuMDYgMEwuMjE3IDMuNjZhLjc1Ljc1IDAgMCAwIDAgMS4wNkw3LjQ5NyAxMmwtNy4yOCA3LjI4YS43NDguNzQ4IDAgMCAwIDAgMS4wNmwzLjQ0IDMuNDRhLjc1Ljc1IDAgMCAwIDEuMDYuMDAybDcuMjgtNy4yOCA3LjI4MiA3LjI4Yy4wNzguMDc4LjE3LjEzNS4yNjguMTcuMjY3LjEuNTguMDQ0Ljc5My0uMTdsMy40NC0zLjQ0YS43NS43NSAwIDAgMCAwLTEuMDZ6Ii8+PC9zdmc+");background-size:13px}.IconButton__icon-accept___2D6M9{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjAuMjUgM0w5IDE0LjI1IDMuNzUgOSAwIDEyLjc1bDkgOSAxNS0xNXoiLz48L3N2Zz4=");background-size:13px}',""]),e.locals={root:"IconButton__root___3tqZW",icon:"IconButton__icon___3YgOS",isActive:"IconButton__isActive___2Ey8p","icon-un
1do":"IconButton__icon-undo___EQSRP IconButton__icon___3YgOS","icon-redo":"IconButton__icon-redo___30MVz IconButton__icon___3YgOS","icon-unordered-list-item":"IconButton__icon-unordered-list-item___Pvkrr IconButton__icon___3YgOS","icon-ordered-list-item":"IconButton__icon-ordered-list-item___2rzD0 IconButton__icon___3YgOS","icon-blockquote":"IconButton__icon-blockquote___17VSX IconButton__icon___3YgOS","icon-bold":"IconButton__icon-bold___2zl9t IconButton__icon___3YgOS","icon-italic":"IconButton__icon-italic___2hHzc IconButton__icon___3YgOS","icon-underline":"IconButton__icon-underline___2EmZJ IconButton__icon___3YgOS","icon-strikethrough":"IconButton__icon-strikethrough___QtE2X IconButton__icon___3YgOS","icon-code":"IconButton__icon-code___3F1pe IconButton__icon___3YgOS","icon-link":"IconButton__icon-link___2umEl IconButton__icon___3YgOS","icon-remove-link":"IconButton__icon-remove-link___j61pw IconButton__icon___3YgOS","icon-image":"IconButton__icon-image___1gW7U IconButton__icon___3YgOS","icon-cancel":"IconButton__icon-cancel___fx4TT IconButton__icon___3YgOS","icon-accept":"IconButton__icon-accept___2D6M9 IconButton__icon___3YgOS"}},function(t,e,n){var r=n(300);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,".ButtonGroup__root___3lEAn{display:inline-block;vertical-align:top;margin:0 5px 5px 0;white-space:nowrap}.ButtonGroup__root___3lEAn:last-child{margin-right:0}.ButtonGroup__root___3lEAn>div>button{margin-right:0;border-radius:0}.ButtonGroup__root___3lEAn>div>button:focus{position:relative;z-index:1}.ButtonGroup__root___3lEAn>div:first-child>button{border-top-left-radius:2px;border-bottom-left-radius:2px}.ButtonGroup__root___3lEAn>div+div>button{border-left-width:0}.ButtonGroup__root___3lEAn>div:last-child>button{border-top-right-radius:2px;border-bottom-right-radius:2px}",""]),e.locals={root:"ButtonGroup__root___3lEAn"}},function(t,e,n){var r=n(302);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,'.InputPopover__root___3Hpj9{position:absolute;top:calc(100% + 5px);left:0;width:260px;background:none #fdfdfd;background:linear-gradient(180deg,#fdfdfd 0,#f6f7f8);border:1px solid #999;border-radius:2px;box-sizing:border-box;padding:4px}.InputPopover__root___3Hpj9:before{top:-10px;border:5px solid transparent;border-bottom-color:#999}.InputPopover__root___3Hpj9:after,.InputPopover__root___3Hpj9:before{content:"";display:block;position:absolute;width:0;height:0;left:10px}.InputPopover__root___3Hpj9:after{top:-9px;border:5px solid transparent;border-bottom-color:#fdfdfd}.InputPopover__inner___32V5P{display:flex}.InputPopover__input___264Za{display:block;flex:1 0 auto;height:30px;background:none #fff;border:1px solid #999;border-radius:2px;box-sizing:border-box;padding:2px 6px;font-family:inherit;font-size:inherit;line-height:24px}.InputPopover__inner___32V5P .InputPopover__buttonGroup___2c3Sl{flex:0 1 auto;margin-left:4px;margin-bottom:0}',""]),e.locals={root:"InputPopover__root___3Hpj9",inner:"InputPopover__inner___32V5P",input:"InputPopover__input___264Za",buttonGroup:"InputPopover__buttonGroup___2c3Sl"}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(304),o=r(i),a=n(307),s=r(a);e.default=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=(0,s.default)(t);!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,o.default)(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,e,n){t.exports={default:n(305),__esModule:!0}},function(t,e,n){n(59),n(47),t.exports=n(306)},function(t,e,n){var r=n(96),i=n(6)("iterator"),o=n(42);t.exports=n(4).isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||o.hasOwnProperty(r(e))}},function(t,e,n){t.exports={default:n(308),__esModule:!0}},function(t,e,n){n(59),n(47),t.exports=n(309)},function(t,e,n){var r=n(30),i=n(95);t.exports=n(4).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){var r=n(311);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,'.Dropdown__root___3ALmx{display:inline-block;position:relative;line-height:22px;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.Dropdown__root___3ALmx select{position:relative;z-index:2;display:inline-block;box-sizing:border-box;height:30px;line-height:inherit;font-family:inherit;font-size:inherit;color:inherit;margin:0;padding:0;border:4px solid transparent;border-right-width:10px;border-left-width:5px;background:none transparent;opacity:0;cursor:pointer}.Dropdown__root___3ALmx .Dropdown__value___34Py9{display:block;position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;line-height:23px;border:1px solid #999;border-radius:2px;padding:3px;padding-right:33px;padding-left:12px;white-space:nowrap;text-overflow:ellipsis}.Dropdown__root___3ALmx .Dropdown__value___34Py9:after,.Dropdown__root___3ALmx .Dropdown__value___34Py9:before{display:block;content:"";position:absolute;top:50%;right:10px;width:0;height:0;border:4px solid transparent}.Dropdown__root___3ALmx .Dropdown__value___34Py9:before{margin-top:-10px;border-bottom-color:#555}.Dropdown__root___3ALmx .Dropdown__value___34Py9:after{margin-top:1px;border-top-color:#555}.Dropdown__root___3ALmx select:focus+.Dropdown__value___34Py9{border-color:#66afe9}@media screen and (-webkit-min-device-pixel-ratio:0){.Dropdown__root___3ALmx select{opacity:1;color:inherit;-webkit-appearance:none;border-left-width:12px;border-right-width:35px}.Dropdown__root___3ALmx select+.Dropdown__value___34Py9{color:transparent}.Dropdown__root___3ALmx select:focus+.Dropdown__value___34Py9{border-color:#999}}',""]),e.locals={root:"Dropdown__root___3ALmx",value:"Dropdown__value___34Py9"}},function(t,e,n){var r=n(313);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,".EditorToolbar__root___3_Aqz{font-family:Helvetica,sans-serif;font-size:14px;margin:0 10px;padding:10px 0 5px;border-bottom:1px solid #ddd;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}",""]),e.locals={root:"EditorToolbar__root___3_Aqz"}},function(t,e,n){t.exports={default:n(315),__esModule:!0}},function(t,e,n){var r=n(4),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}
vendor: 5,874 bytes, line 1
1Object.defineProperty(e,"__esModule",{value:!0});var i=n(317);Object.defineProperty(e,"stateToHTML",{enumerable:!0,get:function(){return r(i).default}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){switch(t){case k.BLOCK_TYPE.HEADER_ONE:return["h1"];case k.BLOCK_TYPE.HEADER_TWO:return["h2"];case k.BLOCK_TYPE.HEADER_THREE:return["h3"];case k.BLOCK_TYPE.HEADER_FOUR:return["h4"];case k.BLOCK_TYPE.HEADER_FIVE:return["h5"];case k.BLOCK_TYPE.HEADER_SIX:return["h6"];case k.BLOCK_TYPE.UNORDERED_LIST_ITEM:case k.BLOCK_TYPE.ORDERED_LIST_ITEM:return["li"];case k.BLOCK_TYPE.BLOCKQUOTE:return["blockquote"];case k.BLOCK_TYPE.CODE:return["pre","code"];case k.BLOCK_TYPE.ATOMIC:return["figure"];default:return[e||"p"]}}function s(t){switch(t){case k.BLOCK_TYPE.UNORDERED_LIST_ITEM:return"ul";case k.BLOCK_TYPE.ORDERED_LIST_ITEM:return"ol";default:return null}}function u(t){if(null==t)return"";var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=Object.keys(t)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value,u=t[s];null!=u&&e.push(" "+s+'="'+f(u+"")+'"')}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e.join("")}function c(t){switch(t){case k.BLOCK_TYPE.UNORDERED_LIST_ITEM:case k.BLOCK_TYPE.ORDERED_LIST_ITEM:return!0;default:return!1}}function l(t){return t.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split("\xa0").join("&nbsp;").split("\n").join(L+"\n")}function f(t){return t.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")}function p(t,e){return new R(t,e).generate()}Object.defineProperty(e,"__esModule",{value:!0});var h,d,g,y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();e.default=p;var _=n(318),b=r(_),x=n(319),w=r(x),E=n(320),S=r(E),k=n(32),O=k.INLINE_STYLE.BOLD,M=k.INLINE_STYLE.CODE,T=k.INLINE_STYLE.ITALIC,I=k.INLINE_STYLE.STRIKETHROUGH,C=k.INLINE_STYLE.UNDERLINE,D="  ",L="<br>",j=/^data-([a-z0-9-]+)$/,A=(h={},o(h,O,{element:"strong"}),o(h,M,{element:"code"}),o(h,T,{element:"em"}),o(h,I,{element:"del"}),o(h,C,{element:"u"}),h),N=[O,T,C,I,M],z=(d={},o(d,k.ENTITY_TYPE.LINK,{url:"href",href:"href",rel:"rel",target:"target",title:"title",className:"class"}),o(d,k.ENTITY_TYPE.IMAGE,{src:"src",height:"height",width:"width",alt:"alt",className:"class"}),d),P=(g={},o(g,k.ENTITY_TYPE.LINK,function(t,e){var n=z.hasOwnProperty(t)?z[t]:{},r=e.getData(),i={},o=!0,a=!1,s=void 0;try{for(var u,c=Object.keys(r)[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var l=u.value,f=r[l];n.hasOwnProperty(l)?i[n[l]]=f:j.test(l)&&(i[l]=f)}}catch(t){a=!0,s=t}finally{try{!o&&c.return&&c.return()}finally{if(a)throw s}}return i}),o(g,k.ENTITY_TYPE.IMAGE,function(t,e){var n=z.hasOwnProperty(t)?z[t]:{},r=e.getData(),i={},o=!0,a=!1,s=void 0;try{for(var u,c=Object.keys(r)[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var l=u.value,f=r[l];n.hasOwnProperty(l)?i[n[l]]=f:j.test(l)&&(i[l]=f)}}catch(t){a=!0,s=t}finally{try{!o&&c.return&&c.return()}finally{if(a)throw s}}return i}),g),R=function(){function t(e,n){i(this,t),null==n&&(n={}),this.contentState=e,this.options=n;var r=(0,b.default)(n.inlineStyles,[A,N]),o=m(r,2),a=o[0],s=o[1];this.inlineStyles=a,this.styleOrder=s}return v(t,[{key:"generate",value:function(){for(this.output=[],this.blocks=this.contentState.getBlocksAsArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.indentLevel=0,this.wrapperTag=null;this.currentBlock<this.totalBlocks;)this.processBlock();return this.closeWrapperTag(),this.output.join("").trim()}},{key:"processBlock",value:function(){var t=this.options,e=t.blockRenderers,n=t.defaultBlockTag,r=this.blocks[this.currentBlock],i=r.getType(),o=s(i);this.wrapperTag!==o&&(this.wrapperTag&&this.closeWrapperTag(),o&&this.openWrapperTag(o)),this.indent();var a=null!=e&&e.hasOwnProperty(i)?e[i]:null,u=a?a(r):null;if(null!=u)return this.output.push(u),this.output.push("\n"),void(this.currentBlock+=1);this.writeStartTag(r,n),this.output.push(this.renderBlockContent(r));var l=this.getNextBlock();if(c(i)&&l&&l.getDepth()===r.getDepth()+1){this.output.push("\n");var f=this.wrapperTag;this.wrapperTag=null,this.indentLevel+=1,this.currentBlock+=1,this.processBlocksAtDepth(l.getDepth()),this.wrapperTag=f,this.indentLevel-=1,this.indent()}else this.currentBlock+=1;this.writeEndTag(r,n)}},{key:"processBlocksAtDepth",value:function(t){for(var e=this.blocks[this.currentBlock];e&&e.getDepth()===t;)this.processBlock(),e=this.blocks[this.currentBlock];this.closeWrapperTag()}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"writeStartTag",value:function(t,e){var n=a(t.getType(),e),r=void 0;if(this.options.blockStyleFn){var i=this.options.blockStyleFn(t)||{},o=i.attributes,s=i.style;if(o=(0,w.default)(o),null!=s){var c=(0,S.default)(s);o=null==o?{style:c}:y({},o,{style:c}
vendor: 13,757 bytes, line 1
1)}r=u(o)}else r="";var l=!0,f=!1,p=void 0;try{for(var h,d=n[Symbol.iterator]();!(l=(h=d.next()).done);l=!0){var g=h.value;this.output.push("<"+g+r+">")}}catch(t){f=!0,p=t}finally{try{!l&&d.return&&d.return()}finally{if(f)throw p}}}},{key:"writeEndTag",value:function(t,e){var n=a(t.getType(),e);if(1===n.length)this.output.push("</"+n[0]+">\n");else{var r=[],i=!0,o=!1,s=void 0;try{for(var u,c=n[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;r.unshift("</"+l+">")}}catch(t){o=!0,s=t}finally{try{!i&&c.return&&c.return()}finally{if(o)throw s}}this.output.push(r.join("")+"\n")}}},{key:"openWrapperTag",value:function(t){this.wrapperTag=t,this.indent(),this.output.push("<"+t+">\n"),this.indentLevel+=1}},{key:"closeWrapperTag",value:function(){var t=this.wrapperTag;t&&(this.indentLevel-=1,this.indent(),this.output.push("</"+t+">\n"),this.wrapperTag=null)}},{key:"indent",value:function(){this.output.push(D.repeat(this.indentLevel))}},{key:"renderBlockContent",value:function(t){var e=this,n=t.getType(),r=t.getText();if(""===r)return L;r=this.preserveWhitespace(r);var i=t.getCharacterList();return(0,k.getEntityRanges)(r,i).map(function(t){var r=m(t,2),i=r[0],o=r[1],a=o.map(function(t){var r=m(t,2),i=r[0],o=r[1],a=l(i),s=!0,c=!1,f=void 0;try{for(var p,h=e.styleOrder[Symbol.iterator]();!(s=(p=h.next()).done);s=!0){var d=p.value;if((d!==M||n!==k.BLOCK_TYPE.CODE)&&o.has(d)){var g=e.inlineStyles[d],v=g.element,_=g.attributes,b=g.style;if(null==v&&(v="span"),_=(0,w.default)(_),null!=b){var x=(0,S.default)(b);_=null==_?{style:x}:y({},_,{style:x})}a="<"+v+u(_)+">"+a+"</"+v+">"}}}catch(t){c=!0,f=t}finally{try{!s&&h.return&&h.return()}finally{if(c)throw f}}return a}).join(""),s=i?e.contentState.getEntity(i):null,c=null==s?null:s.getType().toUpperCase(),f=void 0;if(null!=s&&e.options.entityStyleFn&&(f=e.options.entityStyleFn(s))){var p=f,h=p.element,d=p.attributes,g=p.style;if(null==h&&(h="span"),d=(0,w.default)(d),null!=g){var v=(0,S.default)(g);d=null==d?{style:v}:y({},d,{style:v})}return"<"+h+u(d)+">"+a+"</"+h+">"}return null!=c&&c===k.ENTITY_TYPE.LINK?"<a"+u(P.hasOwnProperty(c)?P[c](c,s):null)+">"+a+"</a>":null!=c&&c===k.ENTITY_TYPE.IMAGE?"<img"+u(P.hasOwnProperty(c)?P[c](c,s):null)+"/>":a}).join("")}},{key:"preserveWhitespace",value:function(t){for(var e=t.length,n=new Array(e),r=0;r<e;r++)" "!==t[r]||0!==r&&r!==e-1&&" "!==t[r-1]?n[r]=t[r]:n[r]="\xa0";return n.join("")}}]),t}()},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e){if(null==t)return e;var n=a(e,2),i=n[0],s=n[1],u=o({},i),c=[].concat(r(s)),l=!0,f=!1,p=void 0;try{for(var h,d=Object.keys(t)[Symbol.iterator]();!(l=(h=d.next()).done);l=!0){var g=h.value;if(i.hasOwnProperty(g)){var y=i[g];u[g]=o({},y,t[g])}else u[g]=t[g],c.push(g)}}catch(t){f=!0,p=t}finally{try{!l&&d.return&&d.return()}finally{if(f)throw p}}return[u,c]}Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();e.default=i},function(t,e,n){"use strict";function r(t){if(null==t)return t;var e={},n=!1,r=!0,o=!1,a=void 0;try{for(var s,u=Object.keys(t)[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var c=s.value,l=c;i.hasOwnProperty(c)&&(l=i[c],n=!0),e[l]=t[c]}}catch(t){o=!0,a=t}finally{try{!r&&u.return&&u.return()}finally{if(o)throw a}}return n?e:t}Object.defineProperty(e,"__esModule",{value:!0});var i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};e.default=r},function(t,e,n){"use strict";function r(t){return t.replace(u,"-$1").toLowerCase().replace(a,"-$1-")}function i(t,e){var n=void 0;return"string"==typeof e?n=s.test(e):(n=!0,e=String(e)),n&&"0"!==e&&!0!==c[t]?e+"px":e}function o(t){return Object.keys(t).map(function(e){var n=i(e,t[e]);return r(e)+": "+n}).join("; ")}Object.defineProperty(e,"__esModule",{value:!0});var a=/^(moz|ms|o|webkit)-/,s=/^\d+$/,u=/([A-Z])/g,c={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!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};e.default=o},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(322);Object.defineProperty(e,"stateFromHTML",{enumerable:!0,get:function(){return r(i).default}})},function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){var n=e||{},i=n.parser,a=r(n,["parser"]);null==i&&(i=s.default);var u=i(t);return(0,o.stateFromElement)(u,a)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var o=n(141),a=n(327),s=function(t){return t&&t.__esModule?t:{default:t}}(a)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){return"\n"===t.charAt(0)&&(t=t.slice(1),e=e.slice(1)),{text:t,characterMeta:e}}function o(t,e){for(;" "===t.charAt(0);)t=t.slice(1),e=e.slice(1);return{text:t,characterMeta:e}}function a(t,e){for(;" "===t.slice(-1);)t=t.slice(0,-1),e=e.slice(0,-1);return{text:t,characterMeta:e}}function s(t,e){t=t.replace(/[ \t\n]/g," ");var n=o(t,e);t=n.text,e=n.characterMeta;var r=a(t,e);t=r.text,e=r.characterMeta;for(var i=t.length;i--;)" "===t.charAt(i)&&" "===t.charAt(i-1)&&(t=t.slice(0,i)+t.slice(i+1),e=e.slice(0,i).concat(e.slice(i+1)));var s=(0,g.default)({text:t,characterMeta:e},S+" ",S);t=s.text,e=s.characterMeta;var u=(0,g.default)({text:t,characterMeta:e}," "+S,S);return t=u.text,e=u.characterMeta,{text:t,characterMeta:e}}function u(t){switch(t){case v.BLOCK_TYPE.UNORDERED_LIST_ITEM:case v.BLOCK_TYPE.ORDERED_LIST_ITEM:return!0;default:return!1}}function c(t){var e="",n=(0,m.Seq)();return t.forEach(function(t){e+=t.text,n=n.concat(t.characterMeta)}),{text:e,characterMeta:n}}function l(t,e,n){switch(e){case"b":case"strong":return t.add(v.INLINE_STYLE.BOLD);case"i":case"em":return t.add(v.INLINE_STYLE.ITALIC);case"u":case"ins":return t.add(v.INLINE_STYLE.UNDERLINE);case"code":return t.add(v.INLINE_STYLE.CODE);case"s":case"del":return t.add(v.INLINE_STYLE.STRIKETHROUGH);default:return n&&n[e]?t.add(n[e]):t}}function f(t){return t!==v.BLOCK_TYPE.UNSTYLED}function p(t,e){return new I(e).process(t)}Object.defineProperty(e,"__esModule",{value:!0});var h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();e.stateFromElement=p;var d=n(324),g=function(t){return t&&t.__esModule?t:{default:t}}(d),y=n(12),m=n(93),v=n(32),_=n(142),b=n(326),x=(0,m.OrderedSet)(),w=new y.ContentBlock({key:(0,y.genKey)(),text:"",type:v.BLOCK_TYPE.UNSTYLED,characterList:(0,m.List)(),depth:0}),E=/(\r\n|\r|\n)/g,S="\r",k=/^data-([a-z0-9-]+)$/,O={a:{href:"url",rel:"rel",target:"target",title:"title"},img:{src:"src",alt:"alt"}},M=function(t,e){var n={};if(O.hasOwnProperty(t))for(var r=O[t],i=0;i<e.attributes.length;i++){var o=e.attributes[i],a=o.name,s=o.value;if(null!=s)if(r.hasOwnProperty(a)){var u=r[a];n[u]=s}else k.test(a)&&(n[a]=s)}return n},T={a:function(t,e,n){var r=M(e,n);if(null!=r.url)return t.createEntity(v.ENTITY_TYPE.LINK,r)},img:function(t,e,n){var r=M(e,n);if(null!=r.src)return t.createEntity(v.ENTITY_TYPE.IMAGE,r)}},I=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.inlineCreators={Style:function(t){return{type:"STYLE",style:t}},Entity:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"MUTABLE";return{type:"ENTITY",entityKey:e.createEntity(t,n,r)}}},this.options=n,this.contentStateForEntities=y.ContentState.createFromBlockArray([]),this.blockStack=[],this.blockList=[],this.depth=0}return h(t,[{key:"process",value:function(t){this.processBlockElement(t);var e=[];return this.blockList.forEach(function(t){var n=c(t.textFragments),r=n.text,o=n.characterMeta,a=!1;if(r===S&&(a=!0,r=""),"pre"===t.tagName){var u=i(r,o);r=u.text,o=u.characterMeta}else{var l=s(r,o);r=l.text,o=l.characterMeta}r=r.split(S).join("\n"),(r.length||a)&&e.push(new y.ContentBlock({key:(0,y.genKey)(),text:r,type:t.type,characterList:o.toList(),depth:t.depth,data:t.data?(0,m.Map)(t.data):(0,m.Map)()}))}),e.length||(e=[w]),y.ContentState.createFromBlockArray(e,this.contentStateForEntities.getEntityMap())}},{key:"getBlockTypeFromTagName",value:function(t){var e=this.options.blockTypes;if(e&&e[t])return e[t];switch(t){case"li":return"ol"===this.blockStack.slice(-1)[0].tagName?v.BLOCK_TYPE.ORDERED_LIST_ITEM:v.BLOCK_TYPE.UNORDERED_LIST_ITEM;case"blockquote":return v.BLOCK_TYPE.BLOCKQUOTE;case"h1":return v.BLOCK_TYPE.HEADER_ONE;case"h2":return v.BLOCK_TYPE.HEADER_TWO;case"h3":return v.BLOCK_TYPE.HEADER_THREE;case"h4":return v.BLOCK_TYPE.HEADER_FOUR;case"h5":return v.BLOCK_TYPE.HEADER_FIVE;case"h6":return v.BLOCK_TYPE.HEADER_SIX;case"pre":return v.BLOCK_TYPE.CODE;case"figure":return v.BLOCK_TYPE.ATOMIC;default:return v.BLOCK_TYPE.UNSTYLED}}},{key:"processBlockElement",value:function(t){if(t){var e=this.options.customBlockFn,n=t.nodeName.toLowerCase(),r=void 0,i=void 0;if(e){var o=e(t);null!=o&&(r=o.type,i=o.data)}var a=!0;null==r&&(a=!1,r=this.getBlockTypeFromTagName(n));var s=u(r),c=!b.SPECIAL_ELEMENTS.hasOwnProperty(n);if(!a&&!f(r)){var l=this.blockStack.slice(-1)[0];l&&(r=l.type)}var p={tagName:n,textFragments:[],type:r,styleStack:[x],entityStack:[null],depth:s?this.depth:0,data:i};c&&(this.blockList.push(p),s&&(this.depth+=1)),this.blockStack.push(p),null!=t.childNodes&&Array.from(t.childNodes).forEach(this.processNode,this),this.blockStack.pop(),c&&s&&(this.depth-=1)}}},{key:"processInlineElement",value:function(t){var e=t.nodeName.toLowerCase();if("br"===e)return void this.processText(S);var n=this.blockStack.slice(-1)[0],r=n.styleStack.slice(-1)[0],i=n.entityStack.slice(-1)[0],o=this.options.customInlineFn,a=o?o(t,this.inlineCreators):null;if(null!=a)switch(a.type){case"STYLE":r=r.add(a.style);break;case"ENTITY":i=a.entityKey}else r=l(r,e,this.options.elementStyles),T.hasOwnProperty(e)&&(i=T[e](this,e,t)||i);n.styleStack.push(r),n.entityStack.push(i),null!=t.childNodes&&Array.from(t.childNodes).forEach(this.processNode,this),b.SELF_CLOSING_ELEMENTS.hasOwnProperty(e)&&this.processText("\xa0"),n.entityStack.pop(),n.styleStack.pop()}},{key:"processTextNode",value:function(t){var e=t.nodeValue;e=e.replace(E,"\n"),e=e.split("\u200b").join(S),this.processText(e)}},{key:"processText",value:function(t){var e=this.blockStack.slice(-1)[0],n=e.styleStack.slice(-1)[0],r=e.entityStack.slice(-1)[0],i=y.CharacterMetadata.create({style:n,entity:r}),o=(0,m.Repeat)(i,t.length);e.textFragments.push({text:t,characterMeta:o})}},{key:"processNode",value:function(t){if(t.nodeType===_.NODE_TYPE_ELEMENT){var e=t,n=e.nodeName.toLowerCase();b.INLINE_ELEMENTS.hasOwnProperty(n)?this.processInlineElement(e):this.processBlockElement(e)}else t.nodeType===_.NODE_TYPE_TEXT&&this.processTextNode(t)}},{key:"createEntity",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"MUTABLE";return this.contentStateForEntities=this.contentStateForEntities.createEntity(t,n,e),this.contentStateForEntities.getLastCreatedEntityKey()}}]),t}();e.default=p},function(t,e,n){"use strict";function r(t,e,n){for(var r=t.text,o=t.characterMeta,a=e.length,s=n.length,u=[],c=o.slice(0,0),l=0,f=r.indexOf(e);-1!==f;)u.push(r.slice(l,f)+n),c=c.concat(o.slice(l,f),i(o.slice(f,f+1),s)),l=f+a,f=r.indexOf(e,l);return u.push(r.slice(l)),c=c.concat(o.slice(l)),{text:u.join(""),characterMeta:c}}function i(t,e){for(var n=t.slice(0,0);e-- >0;)n=n.concat(t);return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function u(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}
vendor: 4,487 bytes, line 1
1Object.defineProperty(e,"__esModule",{value:!0});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=[],f=e.NODE_TYPE_ELEMENT=1,p=e.NODE_TYPE_TEXT=3,h=e.NODE_TYPE_FRAGMENT=11,d=e.SELF_CLOSING={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},g=e.Node=function t(){a(this,t)};e.TextNode=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return n.nodeType=p,n.nodeName="#text",n.nodeValue=t,n}return o(e,t),c(e,[{key:"toString",value:function(){return s(this.nodeValue)}}]),e}(g),e.ElementNode=function(t){function e(t,n,r){a(this,e);var o=i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));null==n&&(n=l);var s=!0===d[t];return o.nodeType=f,o._name=t.toLowerCase(),o.attributes=n,o._attrMap=new Map(n.map(function(t){return[t.name,t]})),o.nodeName=t.toUpperCase(),o.childNodes=[],o._isSelfClosing=s,!s&&r&&r.forEach(o.appendChild,o),o}return o(e,t),c(e,[{key:"appendChild",value:function(t){if(t.nodeType===h){if(null!=t.childNodes){var e,n=t.childNodes;(e=this.childNodes).push.apply(e,r(n))}}else this.childNodes.push(t)}},{key:"getAttribute",value:function(t){var e=this._attrMap.get(t);if(e)return e.value}},{key:"toString",value:function(t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=this.attributes[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value,c=s.name,l=s.value;e.push(c+(l?'="'+u(l)+'"':""))}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}var f=e.length?" "+e.join(" "):"";if(this._isSelfClosing)return"<"+this._name+f+(t?"/>":">");var p=this.childNodes.map(function(e){return e.toString(t)}).join("");return"<"+this._name+f+">"+p+"</"+this._name+">"}},{key:"tagName",get:function(){return this.nodeName}},{key:"className",get:function(){return this.getAttribute("class")||""}}]),e}(g),e.FragmentNode=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return n.nodeType=h,n.childNodes=[],t&&t.forEach(n.appendChild,n),n}return o(e,t),c(e,[{key:"appendChild",value:function(t){if(t.nodeType===h){if(null!=t.childNodes){var e,n=t.childNodes;(e=this.childNodes).push.apply(e,r(n))}}else this.childNodes.push(t)}},{key:"toString",value:function(t){return this.childNodes.map(function(e){return e.toString(t)}).join("")}}]),e}(g)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.INLINE_ELEMENTS={a:1,abbr:1,area:1,audio:1,b:1,bdi:1,bdo:1,br:1,button:1,canvas:1,cite:1,code:1,command:1,datalist:1,del:1,dfn:1,em:1,embed:1,i:1,iframe:1,img:1,input:1,ins:1,kbd:1,keygen:1,label:1,map:1,mark:1,meter:1,noscript:1,object:1,output:1,progress:1,q:1,ruby:1,s:1,samp:1,script:1,select:1,small:1,span:1,strong:1,sub:1,sup:1,textarea:1,time:1,u:1,var:1,video:1,wbr:1,acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1},e.SPECIAL_ELEMENTS={area:1,base:1,br:1,col:1,colgroup:1,command:1,dl:1,embed:1,head:1,hgroup:1,hr:1,iframe:1,img:1,input:1,keygen:1,link:1,meta:1,ol:1,optgroup:1,option:1,param:1,script:1,select:1,source:1,style:1,table:1,tbody:1,textarea:1,tfoot:1,thead:1,title:1,tr:1,track:1,ul:1,wbr:1,basefont:1,dialog:1,dir:1,isindex:1},e.SELF_CLOSING_ELEMENTS={img:1}},function(t,e,n){"use strict";function r(t){var e=void 0;return"undefined"!=typeof DOMParser?e=(new DOMParser).parseFromString(t,"text/html"):(e=document.implementation.createHTMLDocument(""),e.documentElement&&(e.documentElement.innerHTML=t)),e.body||e.createElement("body")}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(329);Object.defineProperty(e,"stateToMarkdown",{enumerable:!0,get:function(){return r(i).default}})},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){switch(t){case f.BLOCK_TYPE.UNORDERED_LIST_ITEM:case f.BLOCK_TYPE.ORDERED_LIST_ITEM:return!0;default:return!1}}function o(t){return t.replace(/[*_`]/g,"\\$&")}function a(t){return t.replace(/\)/g,"%29")}function s(t){return t.replace(/"/g,'\\"')}function u(t){return new m(t).generate()}
vendor: 4,435 bytes, line 1
1Object.defineProperty(e,"__esModule",{value:!0});var c=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();e.default=u;var f=n(32),p=f.INLINE_STYLE.BOLD,h=f.INLINE_STYLE.CODE,d=f.INLINE_STYLE.ITALIC,g=f.INLINE_STYLE.STRIKETHROUGH,y=f.INLINE_STYLE.UNDERLINE,m=function(){function t(e){r(this,t),this.contentState=e}return l(t,[{key:"generate",value:function(){for(this.output=[],this.blocks=this.contentState.getBlockMap().toArray(),this.totalBlocks=this.blocks.length,this.currentBlock=0,this.listItemCounts={};this.currentBlock<this.totalBlocks;)this.processBlock();return this.output.join("")}},{key:"processBlock",value:function(){var t=this.blocks[this.currentBlock],e=t.getType();switch(e){case f.BLOCK_TYPE.HEADER_ONE:this.insertLineBreaks(1),this.output.push("# "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_TWO:this.insertLineBreaks(1),this.output.push("## "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_THREE:this.insertLineBreaks(1),this.output.push("### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_FOUR:this.insertLineBreaks(1),this.output.push("#### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_FIVE:this.insertLineBreaks(1),this.output.push("##### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.HEADER_SIX:this.insertLineBreaks(1),this.output.push("###### "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.UNORDERED_LIST_ITEM:var n=t.getDepth(),r=this.getLastBlock(),o=r?r.getType():null,a=r&&i(o)?r.getDepth():null;o!==e&&a!==n-1&&(this.insertLineBreaks(1),o===f.BLOCK_TYPE.ORDERED_LIST_ITEM&&this.insertLineBreaks(1));var s=" ".repeat(4*t.depth);this.output.push(s+"- "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.ORDERED_LIST_ITEM:var u=t.getDepth(),c=this.getLastBlock(),l=c?c.getType():null,p=c&&i(l)?c.getDepth():null;l!==e&&p!==u-1&&(this.insertLineBreaks(1),l===f.BLOCK_TYPE.UNORDERED_LIST_ITEM&&this.insertLineBreaks(1));var h=" ".repeat(4*u),d=this.getListItemCount(t)%10;this.output.push(h+(d+". ")+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.BLOCKQUOTE:this.insertLineBreaks(1),this.output.push(" > "+this.renderBlockContent(t)+"\n");break;case f.BLOCK_TYPE.CODE:this.insertLineBreaks(1),this.output.push("    "+this.renderBlockContent(t)+"\n");break;default:this.insertLineBreaks(1),this.output.push(this.renderBlockContent(t)+"\n")}this.currentBlock+=1}},{key:"getLastBlock",value:function(){return this.blocks[this.currentBlock-1]}},{key:"getNextBlock",value:function(){return this.blocks[this.currentBlock+1]}},{key:"getListItemCount",value:function(t){for(var e=t.getType(),n=t.getDepth(),r=this.currentBlock-1,o=this.blocks[r];o&&i(o.getType())&&o.getDepth()>n;)r-=1,o=this.blocks[r];return o&&o.getType()===e&&o.getDepth()===n||(this.listItemCounts[n]=0),this.listItemCounts[n]=this.listItemCounts[n]+1}},{key:"insertLineBreaks",value:function(){this.currentBlock>0&&this.output.push("\n")}},{key:"renderBlockContent",value:function(t){var e=this.contentState,n=t.getType(),r=t.getText();if(""===r)return"\u200b";var i=t.getCharacterList();return(0,f.getEntityRanges)(r,i).map(function(t){var r=c(t,2),i=r[0],u=r[1],l=u.map(function(t){var e=c(t,2),r=e[0],i=e[1];if(!r)return"";var a=o(r);return i.has(p)&&(a="**"+a+"**"),i.has(y)&&(a="++"+a+"++"),i.has(d)&&(a="_"+a+"_"),i.has(g)&&(a="~~"+a+"~~"),i.has(h)&&(a=n===f.BLOCK_TYPE.CODE?a:"`"+a+"`"),a}).join(""),m=i?e.getEntity(i):null;if(null!=m&&m.getType()===f.ENTITY_TYPE.LINK){var v=m.getData(),_=v.url||"",b=v.title?' "'+s(v.title)+'"':"";return"["+l+"]("+a(_)+b+")"}if(null!=m&&m.getType()===f.ENTITY_TYPE.IMAGE){var x=m.getData(),w=x.src||"";return"!["+(x.alt?' "'+s(x.alt)+'"':"")+"]("+a(w)+")"}return l}).join("")}}]),t}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}
vendor: 9,784 bytes, line 1
1Object.defineProperty(e,"__esModule",{value:!0});var i=n(331);Object.defineProperty(e,"stateFromMarkdown",{enumerable:!0,get:function(){return r(i).default}});var o=n(143);Object.defineProperty(e,"MarkdownParser",{enumerable:!0,get:function(){return r(o).default}})},function(t,e,n){"use strict";function r(t,e){var n=o.default.parse(t,{getAST:!0});return(0,a.stateFromElement)(n,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var i=n(143),o=function(t){return t&&t.__esModule?t:{default:t}}(i),a=n(141)},function(t,e,n){var r=n(333);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,".ImageSpan__root___RoAqL{background-repeat:no-repeat;display:inline-block;overflow:hidden;cursor:pointer}.ImageSpan__resize___1Hx5M{border:1px dashed #78a300;position:relative;max-width:100%;display:inline-block;line-height:0;top:-1px;left:-1px}.ImageSpan__resizeHandle___18rou{cursor:nwse-resize;position:absolute;z-index:2;line-height:1;bottom:-4px;right:-5px;border:1px solid #fff;background-color:#78a300;width:8px;height:8px}",""]),e.locals={root:"ImageSpan__root___RoAqL",resize:"ImageSpan__resize___1Hx5M",resizeHandle:"ImageSpan__resizeHandle___18rou"}},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function i(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function a(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,i,s,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(n=this._events[t],a(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,u=0;u<i;u++)c[u].apply(this,s);return!0},n.prototype.addListener=function(t,e){var i;if(!r(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,r(e.listener)?e.listener:e),this._events[t]?o(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,o(this._events[t])&&!this._events[t].warned&&(i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,a,s;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],a=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(s=a;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){var r=n(336);"string"==typeof r&&(r=[[t.i,r,""]]);var i={};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e){t.exports='/**\n * We inherit the height of the container by default\n */\n\n.DraftEditor-root,\n.DraftEditor-editorContainer,\n.public-DraftEditor-content {\n  height: inherit;\n  text-align: initial;\n}\n\n.DraftEditor-root {\n  position: relative;\n}\n\n/**\n * Zero-opacity background used to allow focus in IE. Otherwise, clicks\n * fall through to the placeholder.\n */\n\n.DraftEditor-editorContainer {\n  background-color: rgba(255, 255, 255, 0);\n  /* Repair mysterious missing Safari cursor */\n  border: 1px solid transparent;\n  position: relative;\n  z-index: 1;\n}\n\n.public-DraftEditor-content {\n  outline: none;\n  white-space: pre-wrap;\n}\n\n.public-DraftEditor-block {\n  position: relative;\n}\n\n.DraftEditor-alignLeft .public-DraftEditor-block {\n  text-align: left;\n}\n\n.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root {\n  left: 0;\n  text-align: left;\n}\n\n.DraftEditor-alignCenter .public-DraftEditor-block {\n  text-align: center;\n}\n\n.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root {\n  margin: 0 auto;\n  text-align: center;\n  width: 100%;\n}\n\n.DraftEditor-alignRight .public-DraftEditor-block {\n  text-align: right;\n}\n\n.DraftEditor-alignRight .public-DraftEditorPlaceholder-root {\n  right: 0;\n  text-align: right;\n}\n/**\n * @providesModule DraftEditorPlaceholder\n */\n\n.public-DraftEditorPlaceholder-root {\n  color: #9197a3;\n  position: absolute;\n  z-index: 0;\n}\n\n.public-DraftEditorPlaceholder-hasFocus {\n  color: #bdc1c9;\n}\n\n.DraftEditorPlaceholder-hidden {\n  display: none;\n}\n/**\n * @providesModule DraftStyleDefault\n */\n\n.public-DraftStyleDefault-block {\n  position: relative;\n  white-space: pre-wrap;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-ltr {\n  direction: ltr;\n  text-align: left;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-rtl {\n  direction: rtl;\n  text-align: right;\n}\n\n/**\n * These rules provide appropriate text direction for counter pseudo-elements.\n */\n\n/* @noflip */\n\n.public-DraftStyleDefault-listLTR {\n  direction: ltr;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-listRTL {\n  direction: rtl;\n}\n\n/**\n * Default spacing for list container elements. Override with CSS as needed.\n */\n\n.public-DraftStyleDefault-ul,\n.public-DraftStyleDefault-ol {\n  margin: 16px 0;\n  padding: 0;\n}\n\n/**\n * Default counters and styles are provided for five levels of nesting.\n * If you require nesting beyond that level, you should use your own CSS\n * classes to do so. If you care about handling RTL languages, the rules you\n * create should look a lot like these.\n */\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR {\n  margin-left: 1.5em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL {\n  margin-right: 1.5em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR {\n  margin-left: 3em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL {\n  margin-right: 3em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR {\n  margin-left: 4.5em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL {\n  margin-right: 4.5em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR {\n  margin-left: 6em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL {\n  margin-right: 6em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR {\n  margin-left: 7.5em;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL {\n  margin-right: 7.5em;\n}\n\n/**\n * Only use `square` list-style after the first two levels.\n */\n\n.public-DraftStyleDefault-unorderedListItem {\n  list-style-type: square;\n  position: relative;\n}\n\n.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0 {\n  list-style-type: disc;\n}\n\n.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1 {\n  list-style-type: circle;\n}\n\n/**\n * Ordered list item counters are managed with CSS, since all list nesting is\n * purely visual.\n */\n\n.public-DraftStyleDefault-orderedListItem {\n  list-style-type: none;\n  position: relative;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before {\n  left: -36px;\n  position: absolute;\n  text-align: right;\n  width: 30px;\n}\n\n/* @noflip */\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before {\n  position: absolute;\n  right: -36px;\n  text-align: left;\n  width: 30px;\n}\n\n/**\n * Counters are reset in JavaScript. If you need different c
1ounter styles,\n * override these rules. If you need more nesting, create your own rules to\n * do so.\n */\n\n.public-DraftStyleDefault-orderedListItem:before {\n  content: counter(ol0) ". ";\n  counter-increment: ol0;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before {\n  content: counter(ol1) ". ";\n  counter-increment: ol1;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before {\n  content: counter(ol2) ". ";\n  counter-increment: ol2;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before {\n  content: counter(ol3) ". ";\n  counter-increment: ol3;\n}\n\n.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before {\n  content: counter(ol4) ". ";\n  counter-increment: ol4;\n}\n\n.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset {\n  counter-reset: ol0;\n}\n\n.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset {\n  counter-reset: ol1;\n}\n\n.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset {\n  counter-reset: ol2;\n}\n\n.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset {\n  counter-reset: ol3;\n}\n\n.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset {\n  counter-reset: ol4;\n}\n'},function(t,e,n){var r=n(338);"string"==typeof r&&(r=[[t.i,r,""]]);var i={sourceMap:!0};i.transform=void 0,n(19)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(28)(!1),e.push([t.i,".RichTextEditor__root___2QXK-{background:#fff;border:1px solid #ddd;border-radius:3px;font-family:Georgia,serif;font-size:14px}.RichTextEditor__editor___1QqIU{cursor:text;font-size:16px}.RichTextEditor__editor___1QqIU .public-DraftEditor-content,.RichTextEditor__editor___1QqIU .public-DraftEditorPlaceholder-root{margin:0;padding:9px}.RichTextEditor__editor___1QqIU .public-DraftEditor-content{overflow:auto}.RichTextEditor__hidePlaceholder___3WLid .public-DraftEditorPlaceholder-root{display:none}.RichTextEditor__editor___1QqIU .RichTextEditor__paragraph___3NTf9,.RichTextEditor__editor___1QqIU pre{margin:14px 0}.RichTextEditor__editor___1QqIU .RichTextEditor__codeBlock____KD4Q{background-color:#f3f3f3;font-family:Inconsolata,Menlo,Consolas,monospace;font-size:16px;margin:14px 0;padding:20px}.RichTextEditor__editor___1QqIU .RichTextEditor__codeBlock____KD4Q span[style]{padding:0!important}.RichTextEditor__editor___1QqIU .RichTextEditor__blockquote___1vCYl{border-left:5px solid #eee;color:#666;font-family:Hoefler Text,Georgia,serif;font-style:italic;margin:16px 0;padding:10px 20px}.RichTextEditor__editor___1QqIU .RichTextEditor__block___2Vs_D:first-child,.RichTextEditor__editor___1QqIU ol:first-child,.RichTextEditor__editor___1QqIU pre:first-child,.RichTextEditor__editor___1QqIU ul:first-child{margin-top:0}.RichTextEditor__editor___1QqIU .RichTextEditor__block___2Vs_D:last-child,.RichTextEditor__editor___1QqIU ol:last-child,.RichTextEditor__editor___1QqIU pre:last-child,.RichTextEditor__editor___1QqIU ul:last-child{margin-bottom:0}",""]),e.locals={root:"RichTextEditor__root___2QXK-",editor:"RichTextEditor__editor___1QqIU",hidePlaceholder:"RichTextEditor__hidePlaceholder___3WLid",paragraph:"RichTextEditor__paragraph___3NTf9",codeBlock:"RichTextEditor__codeBlock____KD4Q",blockquote:"RichTextEditor__blockquote___1vCYl",block:"RichTextEditor__block___2Vs_D"}}])},580:function(t,e,n){var r=n(581);"string"===typeof r&&(r=[[t.i,r,""]]);var i={hmr:!1};i.transform=void 0;n(430)(r,i);r.locals&&(t.exports=r.locals)},581:function(t,e,n){e=t.exports=n(429)(!0),e.push([t.i,"div.custom-toolbar button{background:transparent;border:2px solid #000;background-color:#fff;border-radius:2px;padding:2px}div.custom-toolbar button[class*=isActive]{background-color:gold}div.custom-toolbar select{border-left-width:8px;border-right-width:24px}div.custom-editor{font-family:Helvetica,Helvetica Neue,Roboto,sans-serif;font-size:13px;line-height:20px;word-wrap:break-word;overflow-wrap:break-word}div.RichTextEditor__root___2QXK-{border:3px solid #000;-webkit-box-sizing:border-box;box-sizing:border-box}","",{version:3,sources:["/vercel/path0/src/components/interactive/markdown/editor-style.css"],names:[],mappings:"AAGA,0BACE,uBAAwB,AACxB,sBAAwB,AACxB,sBAAwB,AACxB,kBAAmB,AACnB,WAAa,CACd,AAED,2CACE,qBAAuB,CACxB,AAGD,0BACE,sBAAuB,AACvB,uBAAyB,CAC1B,AAID,kBACE,uDAA2D,AAC3D,eAAgB,AAChB,iBAAkB,AA
1ClB,qBAAsB,AACtB,wBAA0B,CAC3B,AAED,iCACE,sBAAwB,AACxB,8BAA+B,AACvB,qBAAuB,CAChC",file:"editor-style.css",sourcesContent:["/*Custom styles for React-RTE*/\n\n/*buttons in toolbar*/\ndiv.custom-toolbar button {\n  background: transparent;\n  border: 2px solid black;\n  background-color: white;\n  border-radius: 2px;\n  padding: 2px;\n} \n\ndiv.custom-toolbar button[class*='isActive'] {\n  background-color: gold;\n}\n\n/*Dropdown menu*/\ndiv.custom-toolbar select {\n  border-left-width: 8px;\n  border-right-width: 24px;\n} \n\n\n/*Edit window*/\ndiv.custom-editor {\n  font-family: Helvetica, Helvetica Neue, Roboto, sans-serif;\n  font-size: 13px;\n  line-height: 20px;\n  word-wrap: break-word;\n  overflow-wrap: break-word;\n}\n\ndiv.RichTextEditor__root___2QXK- {\n  border: 3px solid black;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n}"],sourceRoot:""}])},582:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(38),u=(n.n(s),n(453)),c=n(456),l=n(469),f=r(["\n\tdisplay: inline-block;\n\tcolor: #333;\n\tmargin: 10px 0;\n"],["\n\tdisplay: inline-block;\n\tcolor: #333;\n\tmargin: 10px 0;\n"]),p=r(["\n\tmargin-top: 10px;\n"],["\n\tmargin-top: 10px;\n"]),h=a.b.h2(f),d=a.b.div(p),g=function(t){var e=t.data,n=e.title,r=e.text,i=t.annoData?t.annoData:{showAnnos:!1,pageId:null,loggedInUserId:null,authorUserId:null,sectionId:null},a=i.showAnnos,f=i.pageId,p=i.loggedInUserId,g=i.authorUserId,y=i.sectionId;return o.a.createElement(s.Row,null,o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:a?1:3,md:a?5:6,lgOffset:a?1:3,lg:a?5:6},o.a.createElement(u.a,{height:40}),o.a.createElement(c.a,{trigger:a},o.a.createElement(h,null,n)),o.a.createElement(d,null,r)),a&&o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:1,md:4,lgOffset:1,lg:4},o.a.createElement(u.a,{height:30}),o.a.createElement(l.a,{pageId:f,loggedInUserId:p,authorUserId:g,sectionId:y})))};e.a=g},583:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(38),u=(n.n(s),n(453)),c=n(469),l=n(462),f=r(["\n\twidth: 100%;\n\tobject-fit: contain;\n\tborder: 6px solid black;\n\tbox-sizing: border-box;\n\tborder-radius: 6px;\n\t@media not all and (hover: none) {\n\t\t&:hover {\n\t\t\tcursor: ",";\n\t\t}\n\t}\n"],["\n\twidth: 100%;\n\tobject-fit: contain;\n\tborder: 6px solid black;\n\tbox-sizing: border-box;\n\tborder-radius: 6px;\n\t@media not all and (hover: none) {\n\t\t&:hover {\n\t\t\tcursor: ",";\n\t\t}\n\t}\n"]),p=r(["\n\tfont-size: 14px;\n\tline-height: 18px;\n\tfont-style: italic;\n\tcolor: #666;\n\tpadding-left: 5px;\n"],["\n\tfont-size: 14px;\n\tline-height: 18px;\n\tfont-style: italic;\n\tcolor: #666;\n\tpadding-left: 5px;\n"]),h=r(["\n\t@media print {\n\t\tdisplay: none;\n\t}\n"],["\n\t@media print {\n\t\tdisplay: none;\n\t}\n"]),d=Object(a.b)(l.a)(f,function(t){return t.isLink?"pointer":"auto"}),g=a.b.div(p),y=Object(a.b)(s.Row)(h),m=function(t){var e=t.data,n=e.src,r=e.caption,i=e.nColWidth,a=e.link,l=t.annoData?t.annoData:{showAnnos:!1,pageId:null,loggedInUserId:null,authorUserId:null,sectionId:null},f=l.showAnnos,p=l.pageId,h=l.loggedInUserId,m=l.authorUserId,v=l.sectionId,_=Math.floor((12-i)/2);return o.a.createElement(y,null,o.a.createElement(s.Col,{xsOffset:0,xs:12,smOffset:2,sm:8,mdOffset:f?1:_,md:f?5:i,lgOffset:f?1:_,lg:f?5:i},o.a.createElement(u.a,{height:20}),a?o.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:a},o.a.createElement(d,{isLink:!0,imageHandles:n,alt:""})):o.a.createElement(d,{imageHandles:n,alt:""}),o.a.createElement(g,null,r),o.a.createElement(u.a,{height:40})),f&&o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:1,md:4,lgOffset:1,lg:4},o.a.createElement(u.a,{height:30}),o.a.createElement(c.a,{pageId:p,loggedInUserId:h,authorUserId:m,sectionId:v})))};e.a=m},584:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(38),u=(n.n(s),n(453)),c=r(["\n\tcolor: #aaa;\n\tfont-size: 24px;\n\tline-height: 36px;\n\tfont-style: italic;\n\t@media screen and (max-width:767px) {\n\t\tfont-size: 22px;\n\t\tline-height: 30px;\n\t}\n"],["\n\tcolor: #aaa;\n\tfont-size: 24px;\n\tline-height: 36px;\n\tfont-style: italic;\n\t@media screen and (max-width:767px) {\n\t\tfont-size: 22px;\n\t\tline-height: 30px;\n\t}\n"]),l=r(["\n\tmargin-top: 20px;\n\ttext-align:right;\n"],["\n\tmargin-top: 20px;\n\ttext-align:right;\n"]),f=a.b.div(c),p=a.b.div(l),h=function(t){var e=t.data,n=e.text,r=e.author;return o.a.createElement(s.Row,null,o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:2,md:8,lgOffset:2,lg:8},o.a.createElement(u.a,{height:70,xsHeight:30}),o.a.createElement(f,null,"\u201c ",n," \u201d"),o.a.createElement(p,null,"\u2013 ",r)))};e.a=h},585:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(4),a=n(38),s=(n.n(a),n(453)),u=n(456),c=n(469),l=n(497),f=function(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n\tdisplay: inline-block;\n\tcolor: #333;\n\tmargin: 10px 0;\n"],["\n\tdisplay: inline-block;\n\tcolor: #333;\n\tmargin: 10px 0;\n"]),p=o.b.h2(f),h=function(t){var e=t.data,n=e.title,r=e.messages,o=t.annoData,f=o.showAnnos,h=o.pageId,d=o.loggedInUserId,g=
1o.authorUserId,y=o.sectionId,m=null,v=r.map(function(t,e){var n=null,r=null;switch(m!==t.from&&(n=i.a.createElement(l.a,null)),m=t.from,t.from){case"them":r=i.a.createElement(l.d,null,t.body);break;case"me":r=i.a.createElement(l.c,null,t.body);break;case"me-no-bg":r=i.a.createElement(l.c,{style:{background:"none"}},t.body)}return i.a.createElement(i.a.Fragment,{key:e},n,r)});return i.a.createElement(a.Row,null,i.a.createElement(a.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:f?1:3,md:f?5:6,lgOffset:f?1:3,lg:f?5:6},i.a.createElement(s.a,{height:40}),i.a.createElement(u.a,{trigger:f},i.a.createElement(p,null,n)),i.a.createElement(l.f,null,v)),f&&i.a.createElement(a.Col,{xsOffset:1,xs:10,smOffset:2,sm:8,mdOffset:1,md:4,lgOffset:1,lg:4},i.a.createElement(s.a,{height:30}),i.a.createElement(c.a,{pageId:h,loggedInUserId:d,authorUserId:g,sectionId:y})))};e.a=h},586:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function s(t){return{user:t.user.data||{},votePrefs:t.votePrefs}}var u=n(0),c=n.n(u),l=n(7),f=n.n(l),p=n(5),h=n(24),d=n(4),g=n(39),y=n(18),m=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=a(["\n  display: flex;\n  align-items: center;\n  justify-content: flex-start;\n  flex-wrap: no-wrap;\n  padding: 0 10px;\n  margin-right: 10px;\n"],["\n  display: flex;\n  align-items: center;\n  justify-content: flex-start;\n  flex-wrap: no-wrap;\n  padding: 0 10px;\n  margin-right: 10px;\n"]),_=a(["\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 20px;\n  margin: 0 2px;\n"],["\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 20px;\n  margin: 0 2px;\n"]),b=a(["\n  font-family: ",";\n\tdisplay: inline-block;\n  font-size: 14px;\n\tcolor: ",";\n  cursor: pointer;\n"],["\n  font-family: ",";\n\tdisplay: inline-block;\n  font-size: 14px;\n\tcolor: ",";\n  cursor: pointer;\n"]),x=a(["\n  font-family: ",";\n  font-size: ",";\n  text-transform: none;\n  display: inline-block;\n"],["\n  font-family: ",";\n  font-size: ",";\n  text-transform: none;\n  display: inline-block;\n"]),w=a(["\n  text-align: left;\n  margin: 0;\n"],["\n  text-align: left;\n  margin: 0;\n"]),E=a(["\n  font-size: 16px;\n"],["\n  font-size: 16px;\n"]),S={LOADING:0,PRIVATE:1,CONFIRM_PENDING:2,MAKE_PUBLIC_PENDING:3,PUBLIC:4},k=d.b.div(v),O=d.b.div(_),M=d.b.div(b,function(t){return t.theme.fonts.h5},Object(y.a)("purple")),T=d.b.span(x,function(t){return t.theme.fonts.h5},function(t){return t.verbose?"16px":"12px"}),I=d.b.h5(w),C=d.b.span(E),D=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.mapSharedToUI=function(t){return t?S.PUBLIC:!1===t?S.PRIVATE:S.LOADING},n.cancel=function(){n.setState({toggleState:S.PRIVATE})},n.changeShared=function(t){var e=n.context.store,r=n.props.userId||n.props.user.userId;e.dispatch({type:"WRITE_VOTE_PREF_REQUESTED",payload:{pageId:n.props.pageId,userId:r,data:{shared:t}}}),n.setState({toggleState:S.MAKE_PUBLIC_PENDING})},n.confirmPending=function(){n.setState({toggleState:S.CONFIRM_PENDING})},n.getVotePref=function(t){return t[n.props.pageId+"#"+n.props.user.userId]||{data:{shared:void 0}}};var o=void 0!==t.shared?n.mapSharedToUI(t.shared):S.PRIVATE;return n.state={toggleState:o,shared:t.shared},n}
1return o(e,t),m(e,[{key:"componentWillMount",value:function(){this.componentWillUpdate(this.props)}},{key:"componentWillUpdate",value:function(t){var e=this.getVotePref(t.votePrefs),n=e.data?e.data.shared:void 0;this.state.shared!==n&&this.setState({shared:n,toggleState:this.mapSharedToUI(n)})}},{key:"render",value:function(){var t=this,e=null,n=this.props.verbose;switch(this.state.toggleState){case S.LOADING:e=c.a.createElement("span",null,"...");break;case S.PRIVATE:e=c.a.createElement(c.a.Fragment,null,c.a.createElement(T,{onClick:n?function(){}:this.confirmPending,verbose:n},n?c.a.createElement(I,null,"This page, your notes and annotations, are only visible to you."):c.a.createElement(C,null,c.a.createElement("span",{role:"img","aria-label":"private"},"\ud83d\udd12"))),c.a.createElement(M,{onClick:n?this.confirmPending:function(){}},n?"(Click to make public)":null));break;case S.CONFIRM_PENDING:e=c.a.createElement(k,null,c.a.createElement(T,null,"Make page public?"),c.a.createElement(O,{onClick:this.cancel},c.a.createElement(g.c,{color:"crimson"})),c.a.createElement(O,{onClick:function(){return t.changeShared(!0)}},c.a.createElement(g.b,{color:"darkgreen"})));break;case S.MAKE_PUBLIC_PENDING:e=c.a.createElement(T,null,"hold on...");break;case S.PUBLIC:e=c.a.createElement(c.a.Fragment,null,c.a.createElement(T,{onClick:n?function(){}:function(){return t.changeShared(!1)},verbose:n},this.props.verbose?c.a.createElement(I,null,"This page, your notes and annotations, are visible to anyone with the link"):c.a.createElement(C,{role:"img","aria-label":"shared"},"\ud83d\udc41")),c.a.createElement(M,{onClick:n?function(){return t.changeShared(!1)}:function(){}},n?c.a.createElement("span",{role:"img","aria-label":"private"},"Click to make private \ud83d\udd12"):null))}return e}}]),e}(c.a.Component);D.contextTypes={store:f.a.object},D.propTypes={pageId:f.a.string.isRequired,userId:f.a.string,verbose:f.a.bool},D.defaultProps={verbose:!0},e.a=Object(h.b)(s,{})(Object(p.withRouter)(D))},587:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(7),s=n.n(a),u=n(4),c=n(5),l=n(18),f=n(588),p=n(586),h=n(589),d=n(590),g=r(["\n  text-align: left;\n"],["\n  text-align: left;\n"]),y=r(["\n  display: block;\n  font-family: ",";\n  font-size: 12px;\n  cursor: pointer;\n  text-decoration: none;\n"],["\n  display: block;\n  font-family: ",";\n  font-size: 12px;\n  cursor: pointer;\n  text-decoration: none;\n"]),m=r(["\n  font-family: ",";\n  color: ",";\n  font-size: 12px;\n  cursor: pointer;\n"],["\n  font-family: ",";\n  color: ",";\n  font-size: 12px;\n  cursor: pointer;\n"]),v=r(["\n  margin-top:10px;\n  font-family: ",";\n  font-size: 14px;\n  display: inline-block;\n"],["\n  margin-top:10px;\n  font-family: ",";\n  font-size: 14px;\n  display: inline-block;\n"]),_=r(["\n  padding: 20px 20px;\n  background-color: #eee;\n  color: #333;\n  border-radius: 1px;\n  border: 2px solid black;\n  user-select: text;\n"],["\n  padding: 20px 20px;\n  background-color: #eee;\n  color: #333;\n  border-radius: 1px;\n  border: 2px solid black;\n  user-select: text;\n"]),b=u.b.div(g),x=Object(u.b)(c.Link)(y,function(t){return t.theme.fonts.h4}),w=u.b.div(m,function(t){return t.theme.fonts.h4},Object(l.a)("purple")),E=u.b.div(v,function(t){return t.theme.fonts.h4}),S=u.b.div(_),k=function(t){var e=t.data,n=e.pageId,r=e.authorUserId,i=e.loggedInUserId,a=e.shared,s=""+window.location.origin,u=s+"/election/"+n+"/"+i,c=null;a&&(c=o.a.createElement(E,null,"Share this link:",o.a.createElement("br",null),o.a.createElement(S,null,u)));var l=o.a.createElement(p.a,{userId:r,pageId:n,shared:a,verbose:!0}),g=o.a.createElement(d.a,{isShared:a},l,c),y=o.a.createElement(x,{to:"/election/personalized-guide"},"About My Voter Guides"),m=o.a.createElement(w,null,o.a.createElement(h.a,null)),v=o.a.createElement(o.a.Fragment,null,o.a.createElement(E,null,"You're viewing someone else's Voter Guide"),o.a.createElement(x,{to:"/election/"+n},"See my own notes for this page")),_=o.a.createElement(w,null,o.a.createElement(f.a,{resource:u,text:"Report this"})),k=r&&i&&r!==i,O=i&&!k;return o.a.createElement(b,null,O&&g,k&&v,y,m,_)};k.propTypes={data:s.a.shape({onToggleEdit:s.a.func.isRequired,shared:s.a.bool,viewerIsOwner:s.a.bool,authorUserId:s.a.string,loggedInUserId:s.a.string,pageId:s.a.string}).isRequired},e.a=k},588:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function u(t){return{flag:t.flag}}var c=n(0),l=n.n(c),f=n(7),p=n.n(f),h=n(5),d=n(24),g=n(8),y=n(470),m=n(453),v=n(39),_=n(463),b=n(4),x=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),w=s(["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n"],["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n"]),E=s(["\n  height: 22px;\n  width: 22px;\n  cursor: pointer;\n"],["\n  height: 22px;\n  width: 22px;\n  cursor: pointer;\n"]),S=b.b.div(w),k=b.b.div(E),O=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleInputChange=function(t){n.setState(r({},t.target.name,t.target.value))},n.handleSubmit=function(t){t.preventDefault(),n.context.store.dispatch({type:"FLAG_REQUESTED",payload:{reason:n.state.reason,contactInfo:n.state.contactInfo,resource:n.props.resource}})},n.toggleVisibility=function(t){!1===t&&n.props.onCancel()},n.state={reason:"",contactInfo:""},n}return a(e,t),x(e,[{key:"render",value:function(){var t=this.props,e=t.message,n=t.status,r=l.a.createElement(k,{onClick:this.props.onCancel},l.a.createElement(v.c,null));return l.a.createElement(y.a,{overlayColor:"rgba(0,0,0,0.5)",onToggleVisibility:this.toggleVisibility},l.a.createElement("form",{onSubmit:this.handleSubmit},l.a.createElement(m.a,{height:10}),l.a.createElement(S,null,l.a.createElement("h4",null,"Report this page to us"),r),l.a.createElement(m.a,{height:10}),l.a.createElement(_.i,{id:"flag-reason",required:!0,type:"text",name:"reason",placeholder:"Tell us what the issue is",value:this.state.reason,onChange:this.handleInputChange}),l.a.createElement(_.i,{id:"flag-contactInfo",required:!1,type:"text",name:"contactInfo",placeholder:"[email protected] (Optional) ",value:this.state.contactInfo,onChange:this.handleInputChange}),!e&&n!==g.a.NONE&&l.a.createElement("h3",null,"Sending..."),e&&l.a.createElement("h3",null,e),n===g.a.NONE&&l.a.createElement(_.f,{id:"flag-submit",value:"Send",disabled:n!==g.a.NONE,name:"submit"})))}}]),e}(l.a.Component);O.contextTypes={store:p.a.object},O.propTypes={resource:p.a.string.isRequired,onCancel:p.a.func.isRequired};var M=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.toggleFlagModal=function(t){n.setState({showFlagModal:!n.state.showFlagModal})},n.state={showFlagModal:!1},n}return a(e,t),x(e,[{key:"render",value:function(){var t=this.props,e=t.text,n=t.resource,r=t.flag,i=null;this.state.showFlagModal&&(i=l.a.createElement(O,{resource:n,message:r.message,status:r.status,onCancel:this.toggleFlagModal}));var o=null;return this.state.showFlagModal||(o=l.a.createElement("div",{onClick:this.toggleFlagModal},e)),l.a.createElement(l.a.Fragment,null,i,o)}}]),e}(l.a.Component);M.propTypes={text:p.a.string.isRequired,resource:p.a.string.isRequired},e.a=Object(d.b)(u,{}
1)(Object(h.withRouter)(M))},589:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return{annotationVisibility:t.annotationVisibility}}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(24),p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),h=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.changeVisibility=function(t){n.context.store.dispatch({type:"SET_ANNOTATION_VISIBILITY",payload:{visible:t}})},n.state={visibility:!0},n}return o(e,t),p(e,[{key:"componentDidMount",value:function(){this.componentWillUpdate(this.props)}},{key:"componentWillUpdate",value:function(t){var e=t.annotationVisibility.visible;e!==this.state.visibility&&this.setState({visibility:e})}},{key:"render",value:function(){var t=this;return u.a.createElement("span",{onClick:function(){t.changeVisibility(!t.state.visibility)}},u.a.createElement("span",null,this.state.visibility?"Hide":"Reveal","\xa0annotations"))}}]),e}(u.a.Component);h.contextTypes={store:l.a.object},e.a=Object(f.b)(a,{})(h)},590:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(470),l=n(453),f=n(39),p=n(4),h=n(18),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),g=a(["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n"],["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n"]),y=a(["\n  height: 22px;\n  width: 22px;\n  cursor: pointer;\n"],["\n  height: 22px;\n  width: 22px;\n  cursor: pointer;\n"]),m=a(["\n  font-family: ",";\n  color: ",";\n  font-size: 12px;\n  cursor: pointer;\n"],["\n  font-family: ",";\n  color: ",";\n  font-size: 12px;\n  cursor: pointer;\n"]),v=p.b.div(g),_=p.b.div(y),b=p.b.div(m,function(t){return t.theme.fonts.h4},Object(h.a)("purple")),x=function(t){function e(){var t,n,o,a;r(this,e);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=o=i(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(u))),o.toggleVisibility=function(t){!1===t&&o.props.onCancel()},a=n,i(o,a)}return o(e,t),d(e,[{key:"render",value:function(){var t=u.a.createElement(_,{onClick:this.props.onCancel},u.a.createElement(f.c,null));return u.a.createElement(c.a,{overlayColor:"rgba(0,0,0,0.5)",onToggleVisibility:this.toggleVisibility},u.a.createElement(l.a,{height:10}),u.a.createElement(v,null,u.a.createElement("h3",null,"Change who can see this page"),t),u.a.createElement(l.a,{height:20}),this.props.children)}}]),e}(u.a.Component),w=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.toggleFlagModal=function(t){n.setState({showModal:!n.state.showModal})},n.state={showModal:!1},n}return o(e,t),d(e,[{key:"render",value:function(){var t=null;this.state.showModal&&(t=u.a.createElement(x,Object.assign({},this.props,{onCancel:this.toggleFlagModal})));var e=u.a.createElement(b,{onClick:this.toggleFlagModal},this.props.isShared?"This page is visible to anybody with the link":"This page is only visible to you");return u.a.createElement(u.a.Fragment,null,t,e)}}]),e}(u.a.Component);e.a=w},591:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function u(t){return{user:t.user.data||{},auth:t.auth}}var c=n(0),l=n.n(c),f=n(66),p=n.n(f),h=n(7),d=n.n(h),g=n(5),y=n(24),m=n(18),v=n(492),_=n(4),b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x=s(["\n  display: inline;\n"],["\n  display: inline;\n"]),w=s(["\n  display: inline;\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  background-color: transparent;\n  color: ",";\n  outline: none;\n  border: none;\n  border-bottom: 2px solid black;\n  -webkit-appearance: none;\n  margin-left: 4px;\n  margin-right: 4px;\n  overflow-wrap: break-word;\n  word-break: break-word;\n"],["\n  display: inline;\n  font-family: ",";\n  font-weight: bold;\n  font-size: 14px;\n  background-color: transparent;\n  color: ",";\n  outline: none;\n  border: none;\n  border-bottom: 2px solid black;\n  -webkit-appearance: none;\n  margin-left: 4px;\n  margin-right: 4px;\n  overflow-wrap: break-word;\n  word-break: break-word;\n"]),E=s(["\n  -webkit-appearance: none;\n  border: none;\n  outline: none;\n  &:focus {\n    transition: background-color 200ms ease-in;\n    background-color: rgba(0,0,0,0.025);\n  }\n"],["\n  -webkit-appearance: none;\n  border: none;\n  outline: none;\n  &:focus {\n    transition: background-color 200ms ease-in;\n    background-color: rgba(0,0,0,0.025);\n  }\n"]),S=_.b.div(x),k=_.b.span(w,function(t){return t.theme.fonts.h5},Object(m.a)("purple")),O=_.b.span(E),M=function(t){function e(){var t,n,r,a;i(this,e);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=r=o(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(u))),r.emitChange=function(t){var e=p.a.findDOMNode(r).innerHTML;r.props.onChange&&e!==r.lastHtml&&r.props.onChange({target:{value:e}}),r.lastHtml=e},a=n,o(r,a)}return a(e,t),b(e,[{key:"shouldComponentUpdate",value:function(t){var e=p.a.findDOMNode(this).innerHTML;return t.html!==e}},{key:"render",value:function(){return l.a.createElement(O,{onInput:this.emitChange,onBlur:this.emitChange,contentEditable:!0,dangerouslySetInnerHTML:{__html:this.props.html}})}}]),e}(l.a.Component),T=function(t){function e(t){i(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));I.call(n);var r=t.data.votePref.data,a=r.reason,s=r.shared,u=r.vote,c=r.voteText;return c||(c=t.data.placeholderText.first),a||(a=t.data.placeholderText.second),n.state={reason:a,shared:s,vote:u,voteText:c},n}return a(e,t),b(e,[{key:"render",value:function(){var t=this,e=this.props.options.map(function(e,n){switch(e){case"login":return l.a.createElement(v.e,{key:"login",onClick:t.handleSubmit},"Login to save this");case"save":return l.a.createElement(v.e,{key:"save",onClick:t.handleSubmit},"Save");case"cancel":return l.a.createElement(v.e,{key:"cancel",onClick:t.props.data.onToggleEdit},"Cancel");case"edit":return l.a.createElement(v.e,{key:"edit",onClick:t.props.data.onToggleEdit},"Edit")}});return l.a.createElement(v.h,null,l.a.createElement(v.a,null,l.a.createElement("span",{role:"img","aria-label":"notebook"},"\ud83d\udcd3\xa0"),this.props.title),l.a.createElement(v.c,null,l.a.createElement(v.d,null,l.a.createElement(S,null,"I feel",l.a.createElement(k,null,l.a.createElement(M,{html:this.state.voteText,onChange:this.handleChange.bind(this,"voteText")})),"about this proposition and I",l.a.createElement(k,null,l.a.createElement(M,{html:this.state.reason,onChange:this.handleChange.bind(this,"reason")})),"."))),l.a.createElement(v.g,null,l.a.createElement(v.b,{to:"/election/personalized-guide"},"Learn more bout this"),l.a.createElement(v.f,null,e)))}}]),e}(l.a.Component),I=function(){var t=this;this.handleSubmit=function(e){e.preventDefault();var n=t.props.data,r=n.pageId,i=n.userId;if(t.props.auth.loggedIn){var o=t.state.voteText,a=t.state.reason,s=t.context.store,u={type:"WRITE_VOTE_PREF_REQUESTED",payload:{pageId:r,userId:i,data:{voteText:o,reason:a}}};s.dispatch(u)}else t.props.history.push("/user/login")},this.handleChange=function(e,n){var i=n.target.value?n.target.value:null;t.setState(r({},e,i))}};T.contextTypes={store:d.a.object},T.propTypes={title:d.a.string.isRequired,data:d.a.shape({votePref:d.a.shape({data:d.a.object.isRequired}),pageId:d.a.string.isRequired,userId:d.a.string,onToggleEdit:d.a.func.isRequired}).isRequired,options:d.a.array.isRequired},e.a=Object(y.b)(u,{})(Object(g.withRouter)(T))},592:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return{user:t.user?t.user.data:{},annotationVisibility:t.annotationVisibility}}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(5),p=n(24),h=n(38),d=(n.n(h),n(582)),g=n(583),y=n(584),m=n(471),v=n(585),_=n(593),b=n(594),x=n(595),w=n(596),E=n(490),S=n(493),k=n(453),O=n(130),M=n(480),T=n(597),I=n(598),C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),D=function(t){function e(){var t,n,o,a;r(this,e);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=o=i(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(u))),o.getUserAndPageInfo=function(){var t=o.props,e=t.match,n=t.user;return{pageId:e.params.pageId,authorUserId:e.params.userId,loggedInUserId:n?n.userId:void 0}},o.fetchData=function(){var t=o.context.store,e=o.getUserAndPageInfo(),n=e.pageId,r=e.authorUserId,i=e.loggedInUserId;(r||i)&&(t.dispatch({type:"GET_VOTE_PREF_REQUESTED",payload:{pageId:n,userId:r||i}}
1),t.dispatch({type:"LIST_ANNOTATIONS_REQUESTED",payload:{pageId:n,userId:r||i}}))},a=n,i(o,a)}return o(e,t),C(e,[{key:"componentWillMount",value:function(){this.fetchData()}},{key:"componentWillReceiveProps",value:function(t){var e=t.match.params.userId!==this.props.match.params.userId,n=t.match.params.pageId!==this.props.match.params.pageId;(e||n)&&this.fetchData(t)}},{key:"render",value:function(){var t=this.getUserAndPageInfo(),e=t.pageId,n=t.authorUserId,r=t.loggedInUserId,i=this.props.data,o=i.meta,a=i.intro,s=i.sections,c=i.ratings,l=this.props.annotationVisibility.visible,f=s.map(function(t,i){var o=t.type,s=t.data,c=t.id,f={showAnnos:l,pageId:e,authorUserId:n,loggedInUserId:r,sectionId:c};switch(o){case"text-block":return u.a.createElement(d.a,{key:i,data:s,annoData:f});case"img-block":return u.a.createElement(g.a,{key:i,data:s,annoData:f});case"quote-block":return u.a.createElement(y.a,{key:i,data:s});case"iMessage-block":return u.a.createElement(v.a,{key:i,data:s,annoData:f});case"links-block":return u.a.createElement(m.a,{key:i,data:s});case"chart-block":return u.a.createElement(x.a,{key:i,data:s});case"compare-block":return u.a.createElement(w.a,{key:i,data:s});case"bottom-nav":return u.a.createElement(E.a,{key:i,data:s,color:a.color});default:return null}}),p=o.canonicalUrl,C=o.documentTitle,D=o.socialHeadline,L=o.socialDescription,j=o.socialImage;return u.a.createElement("div",null,u.a.createElement(O.a,{url:p,title:C,headline:D,description:L,image:j}),u.a.createElement(S.a,{title:a.title,subtitle:a.subtitle,showLocationChange:!0}),u.a.createElement(k.a,{height:30}),u.a.createElement(b.a,{img:a.img,color:a.color}),u.a.createElement(k.a,{height:50}),u.a.createElement(h.Row,null,u.a.createElement(h.Col,{xsOffset:0,xs:12,smOffset:2,sm:8,mdOffset:0,md:3,lgOffset:0,lg:3},u.a.createElement(_.a,{data:c,showAnnos:l})),u.a.createElement(I.a,{pageId:e,loggedInUserId:r,authorUserId:n,showAnnotations:l})),f,u.a.createElement(T.a,{attributions:"Yvonne Leow, Jimmy Chion, Jeremy Mann"}),u.a.createElement(M.a,null),u.a.createElement(k.a,{height:70}))}}]),e}(u.a.Component);D.contextTypes={store:l.a.object},e.a=Object(p.b)(a,{})(Object(f.withRouter)(D))},593:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var s=n(0),u=n.n(s),c=n(4),l=n(18),f=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=a(["\n\ttext-align:left;\n\twidth: 48%;\n"],["\n\ttext-align:left;\n\twidth: 48%;\n"]),h=a(["\n\tdisplay: inline-block;\n\tfont-weight: normal;\n\tmargin: 0;\n\ttext-align: right;\n\twidth: 50%\n"],["\n\tdisplay: inline-block;\n\tfont-weight: normal;\n\tmargin: 0;\n\ttext-align: right;\n\twidth: 50%\n"]),d=a(["\n\tcolor: #333;\n\ttext-align: center;\n\tmargin-bottom: 10px;\n\n"],["\n\tcolor: #333;\n\ttext-align: center;\n\tmargin-bottom: 10px;\n\n"]),g=a(["\n\tbackground: ",";\n\tcolor: ",";\n\tcursor: pointer;\n"],["\n\tbackground: ",";\n\tcolor: ",";\n\tcursor: pointer;\n"]),y=a(["\n\tposition: absolute;\n\tz-index: 2;\n\tfont-family: ",";\n\tfont-size: 14px;\n"],["\n\tposition: absolute;\n\tz-index: 2;\n\tfont-family: ",";\n\tfont-size: 14px;\n"]),m=a(["\n\tposition: relative;\n\tbackground-color: white;\n\tpadding: 20px 10px;\n\tmax-width: 300px;\n\ttop: -15px;\n\tright: -250px;\n\tborder: 3px solid black;\n\tborder-radius: 4px;\n\tbox-shadow: 0 0 4px rgba(0,0,0,0.1);\n\tcursor: pointer;\n  @media screen and (max-width: 767px) {\n  \ttop: 10px;\n  \tleft: 0;\n  }\n"],["\n\tposition: relative;\n\tbackground-color: white;\n\tpadding: 20px 10px;\n\tmax-width: 300px;\n\ttop: -15px;\n\tright: -250px;\n\tborder: 3px solid black;\n\tborder-radius: 4px;\n\tbox-shadow: 0 0 4px rgba(0,0,0,0.1);\n\tcursor: pointer;\n  @media screen and (max-width: 767px) {\n  \ttop: 10px;\n  \tleft: 0;\n  }\n"]),v=a(["\n\tposition: relative;\n\ttop: ",";\n\ttransition: top 250ms cubic-bezier(0.165, 0.84, 0.44, 1);\n\tpadding: 10px 0;\n\tborder-radius: 3px;\n  @media screen and (max-width: 1023px) {\n  \ttop: 0;\n  }\n  @media print {\n    display: none;\n"],["\n\tposition: relative;\n\ttop: ",";\n\ttransition: top 250ms cubic-bezier(0.165, 0.84, 0.44, 1);\n\tpadding: 10px 0;\n\tborder-radius: 3px;\n  @media screen and (max-width: 1023px) {\n  \ttop: 0;\n  }\n  @media print {\n    display: none;\n"]),_=c.b.span(p),b=c.b.h3(h),x=c.b.h3(d),w=function(t){switch(t){case"complexity":return"\u2699";case"funding":return"\ud83e\udd11";case"impact":return"\ud83e\udd4a";case"controversy":return"\ud83c\udf46";case"taxpayer cost":return"\ud83d\udcb0";default:return"\u2b50"}},E=c.b.div(g,function(t){return t.isHighlighted?t.isHovered&&!t.stayVisible?Object(l.a)("purple"):"black":"white"},function(t){return t.isHighlighted?"white":"black"}),S=c.b.div(y,function(t){return t.theme.fonts.h2}),k=c.b.div(m),O=c.b.div(v,function(t){return t.showAnnos?0:"320px"}),M=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleMouseEnter=function(){n.setState({isHovered:!0})},n.handleMouseLeave=function(){n.setState({isHovered:!1})},n.toggleVisibility=function(t){t.preventDefault(),n.setState({stayVisible:!n.state.stayVisible})},n.state={isHovered:!1,stayVisible:!1},n}return o(e,t),f(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.explanation,r=this.state,i=r.stayVisible,o=r.isHovered,a=!!i||o;return u.a.createElement(u.a.Fragment,null,u.a.createElement(E,{isHighlighted:a,isHovered:o,stayVisible:i,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onClick:this.toggleVisibility},e),a&&u.a.createElement(S,null,u.a.createElement(k,null,n)))}}]),e}(u.a.Component),T=function(t){if(!t.data)return null;var e=t.data.map(function(t,e){var n=t.label,r=t.rating,i=t.explanation,o=w(n).repeat(r);return u.a.createElement(M,{explanation:i,key:e},u.a.createElement(b,null,n),":\xa0",u.a.createElement(_,null,o))});return u.a.createElement(O,{showAnnos:t.showAnnos},u.a.createElement(x,null,"By The Bay's analysis"),e)};e.a=T},594:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(18),s=n(4),u=r(["\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n"],["\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n"]),c=r(["\n\tposition: relative;\n\tmin-height: 206px;\n"],["\n\tposition: relative;\n\tmin-height: 206px;\n"]),l=r(["\n\tbackground-image: url('","');\n\tbackground-repeat: space;\n\theight: 206px;\n\twidth: 100%;\n\tbackground-size: contain;\n"],["\n\tbackground-image: url('","');\n\tbackground-repeat: space;\n\theight: 206px;\n\twidth: 100%;\n\tbackground-size: contain;\n"]),f=s.b.div(u),p=s.b.div(u),h=s.b.div(c),d=s.b.div(l,function(t){return t.img}),g=function(t){var e=t.color,n=t.img;return o.a.createElement(h,null,o.a.createElement(f,null,o.a.createElement(y,{color:""+Object(a.a)(e)})),o.a.createElement(p,null,o.a.createElement(d,{img:n})))},y=function(t){return o.a.createElement("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("path",{d:"M0 42.93L1400 .07v160.04L0 205.07z",fill:t.color,fillRule:"evenodd"}))};e.a=g},595:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(38),u=(n.n(s),r(["\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n"],["\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n"])),c=r(["\n\tfont-weight: ",";\n\tbackground-color: #eee;\n"],["\n\tfont-weight: ",";\n\tbackground-color: #eee;\n"]),l=r(["\n\tpadding: 5px 8px;\n"],["\n\tpadding: 5px 8px;\n"]),f=r(["\n\tfont-family: ",";\n\tborder: 2px solid black;\n\tborder-radius: 2px;\n\tbox-sizing: border-box;\n\t@media screen and (max-width: 767px){\n\t\tfont-size: 14px;\n\t}\n"],["\n\tfont-family: ",";\n\tborder: 2px solid black;\n\tborder-radius: 2px;\n\tbox-sizing: border-box;\n\t@media screen and (max-width: 767px){\n\t\tfont-size: 14px;\n\t}\n"]),p=r(["\n\tfont-size: 14px; \n\tfont-style-italic;\n\tcolor: #666;\n\tmargin-top: 80px;\n\t@media screen and (max-width: 1023px){\n\t\tmargin-top: 10px;\n\t}\n"],["\n\tfont-size: 14px; \n\tfont-style-italic;\n\tcolor: #666;\n\tmargin-top: 80px;\n\t@media screen and (max-width: 1023px){\n\t\tmargin-top: 10px;\n\t}\n"]),h=r(["\n\tmargin-top: 30px;\n\tmargin-bottom: 20px;\n\ttext-align: center;\n"],["\n\tmargin-top: 30px;\n\tmargin-bottom: 20px;\n\ttext-align: center;\n"]),d=a.b.div(u),g=a.b.tr(c,function(t){return t.isFirst?"bold":"normal"}),y=a.b.td(l),m=a.b.table(f,function(t){return t.theme.fonts.h5}),v=a.b.div(p),_=a.b.h3(h),b=function(t){var e=t.data,n=e.rowData,r=e.isFirstRowHeader,i=e.title,a=e.caption,u=n.map(function(t,e){var n=t.map(function(e,n){return o.a.createElement(y,{key:n},t[n])});return o.a.createElement(g,{key:e,isFirst:0===e&&r},n)});return o.a.createElement(s.Row,null,o.a.createElement(s.Col,{xsOffset:0,xs:12,smOffset:1,sm:10,mdOffset:3,md:6,lgOffset:4,lg:4},o.a.createElement(d,null,o.a.createElement(_,null,i),o.a.createElement(m,null,o.a.createElement("tbody",null,u)))),o.a.createElement(s.Col,{xsOffset:1,xs:10,smOffset:1,sm:10,mdOffset:0,md:2,lgOffset:0,lg:3},o.a.createElement(v,null,a)))};e.a=b},596:function(t,e,n){"use strict";function r(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i=n(0),o=n.n(i),a=n(4),s=n(38),u=(n.n(s),n(489)),c=r(["\n\tmin-width: 20%;\n\t@media screen and (max-width: 767px) {\n\t\twidth: 90%;\n\t\tborder: none;\n\t\tmargin: 0 auto;\n\t\ttext-align: center;\n\t}\n"],["\n\tmin-width: 20%;\n\t@media screen and (max-width: 767px) {\n\t\twidth: 90%;\n\t\tborder: none;\n\t\tmargin: 0 auto;\n\t\ttext-align: center;\n\t}\n"]),l=r(["\n\tmargin-top: 30px;\n\tmargin-bottom: 20px;\n\ttext-align: center;\n"],["\n\tmargin-top: 30px;\n\tmargin-bottom: 20px;\n\ttext-align: center;\n"]),f=r(['\n\twidth: calc(70% - 40px);\n\tpadding-right: 20px;\n\tbox-sizing: border-box;\n\t@media screen and (max-width: 767px) {\n\t\twidth: 90%;\n\t\tmargin: 10px auto;\n\t\t&::before {\n\t\t\tcontent: "','";\n\t\t}\n\t}\n'],['\n\twidth: calc(70% - 40px);\n\tpadding-right: 20px;\n\tbox-sizing: border-box;\n\t@media screen and (max-width: 767px) {\n\t\twidth: 90%;\n\t\tmargin: 10px auto;\n\t\t&::before {\n\t\t\tcontent: "','";\n\t\t}\n\t}\n']),p=r(["\n\ttext-align: center;\n"],["\n\ttext-align: center;\n"]),h=a.b.div(c),d=a.b.h3(l),g=a.b.div(f,function(t){return t.beforeText}),y=g.extend(p),m=function(t){var e=t.data,n=e.rowData,r=e.firstColTitle,i=e.secondColTitle,a=e.title,c=e.beforeText1,l=e.beforeText2,f=n.map(function(t,e){var n=t.map(function(e,n){return 1===n?o.a.createElement(g,{beforeText:c,key:n},t[n]):2===n?o.a.createElement(g,{beforeText:l,key:n},t[n]):null});return o.a.createElement(u.b,{key:e},o.a.createElement(u.c,null,o.a.createElement("h3",null,t[0])),n)});return o.a.createElement(s.Row,null,o.a.createElement(s.Col,{xsOffset:0,xs:12,smOffset:1,sm:10,mdOffset:2,md:8,lgOffset:2,lg:8},o.a.createElement(d,null,a),o.a.createElement(u.b,null,o.a.createElement(h,null),o.a.createElement(y,null,o.a.createElement("h4",null,r)),o.a.createElement(y,null,o.a.createElement("h4",null,i))),f))};e.a=m},597:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(4),a=function(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n\tfont-size: 12px;\n\ttext-align: center;\n"],["\n\tfont-size: 12px;\n\ttext-align: center;\n"]),s=o.b.h5(a),u=function(t){return i.a.createElement(s,null,"Research and writing by",i.a.createElement("br",null),t.attributions)};e.a=u},598:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return{user:t.user?t.user.data:{},votePrefs:t.votePrefs}}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(5),p=n(24),h=n(38),d=(n.n(h),n(599)),g=n(8),y=n(587),m=n(600),v=n(591),_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(t){r(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return x.call(n),n.state={showEditor:!1},n.placeholderText=Object(d.a)(),n}
1return o(e,t),_(e,[{key:"componentWillReceiveProps",value:function(t){var e=this.getVotePref(t);this.state.showEditor&&e.status===g.a.COMPLETE&&this.setState({showEditor:!1})}},{key:"render",value:function(){var t=this.props,e=t.pageId,n=t.authorUserId,r=t.loggedInUserId,i=this.getVotePref(this.props),o=r===n,a=i.user?i.user.name:null,s={onToggleEdit:this.toggleEdit,viewerIsOwner:o,showEditor:this.state.showEditor,votePref:i,placeholderText:this.placeholderText},c={onToggleEdit:this.toggleEdit,showAnnotations:this.props.showAnnotations,viewerIsOwner:o,authorUserId:n,loggedInUserId:r,pageId:e,shared:i.data.shared},l={votePref:i,pageId:e,userId:r,onToggleEdit:this.toggleEdit,placeholderText:this.placeholderText},f=null,p=null;return n||r?n&&r===n?(p=this.state.showEditor?u.a.createElement(v.a,{title:"Editing my notes",options:["cancel","save"],data:l}):u.a.createElement(m.a,{data:s}),f=u.a.createElement(y.a,{userNamePossessive:"my",data:c})):!n&&r?(f=u.a.createElement(y.a,{userNamePossessive:"my",data:c}),p=(i.data.vote||i.data.reason,this.state.showEditor?u.a.createElement(v.a,{title:"Editing my notes",options:["cancel","save"],data:l}):u.a.createElement(m.a,{data:s}))):n&&r!==n&&(p=u.a.createElement(m.a,{data:s}),f=u.a.createElement(y.a,{userNamePossessive:a+"'s",data:c})):p=u.a.createElement(v.a,{title:"Write notes and share them",options:["login"],data:l}),u.a.createElement(u.a.Fragment,null,u.a.createElement(h.Col,{xsOffset:0,xs:12,smOffset:2,sm:8,mdOffset:0,md:6,lgOffset:0,lg:6},p),u.a.createElement(h.Col,{xsOffset:0,xs:12,smOffset:2,sm:8,mdOffset:0,md:3,lgOffset:0,lg:3},f))}}]),e}(u.a.Component),x=function(){var t=this;this.toggleEdit=function(e){t.setState({showEditor:!t.state.showEditor})},this.getVotePref=function(t){var e=t.votePrefs,n=t.pageId,r=t.authorUserId,i=t.loggedInUserId;return e[n+"#"+(r||i)]||{data:{}}}};b.contextTypes={store:l.a.object},b.propTypes={pageId:l.a.string.isRequired,authorUserId:l.a.string,loggedInUserId:l.a.string,
1showAnnotations:l.a.bool.isRequired},e.a=Object(p.b)(a,{})(Object(f.withRouter)(b))},599:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=["a little bit conflicted","like Kanye","not sure, but leaning towards yas queen","mostly sure","like this one is a no brainer","hungry","helpless and slightly drunk","confused but still confident","solidly undecided","like I understand both sides","funky mcdunky"],i=["will probably vote whatever my mom says. This is example text","think I might cry into my voter guide. This is example text","have more reading to do. This is example text","am gonna go get a quinoa shake while I mull this over. This is example text","am gonna check out Jane Kim's instagram. This is example text","need a La Croix. This is example text","wish you'd give me some advice. This is example text"],o=function(){return{first:r[Math.floor(Math.random()*r.length)],second:i[Math.floor(Math.random()*i.length)]}}},600:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return{user:t.user.data||{},votePrefs:t.votePrefs,auth:t.auth}}var s=n(0),u=n.n(s),c=n(7),l=n.n(c),f=n(24),p=n(8),h=n(453),d=n(5),g=n(18),y=n(492),m=n(4),v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_=function(t,e){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n  border-bottom: 2px solid black;\n  color: ",";\n\n"],["\n  border-bottom: 2px solid black;\n  color: ",";\n\n"]),b=m.b.span(_,Object(g.a)("purple")),x=function(t){function e(){return r(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),v(e,[{key:"render",value:function(){var t=this.props.data,e=t.onToggleEdit,n=t.showEditor,r=t.votePref,i=t.placeholderText,o=r.status,a=r.data,s=a.voteText,c=a.reason;s=s||i.first,c=c||i.second;var l=o===p.a.LOADING,f=u.a.createElement(y.d,{style:{minHeight:175}},"Loading notes..."),d=u.a.createElement("span",null,"I feel ",u.a.createElement(b,null,s)," about this proposition and I ",u.a.createElement(b,null,c),"."),g=r.user?"A note from "+r.user.name:"A note from the author",m=u.a.createElement(h.a,{height:20});return this.props.auth.loggedIn&&!n?m=u.a.createElement(y.e,{onClick:e},"Edit"):n&&(m=u.a.createElement(u.a.Fragment,null,u.a.createElement(y.e,{onClick:e},"Cancel"),u.a.createElement(y.e,{onClick:this.handleSave},"Save"))),u.a.createElement(y.h,null,!l&&u.a.createElement(u.a.Fragment,null,u.a.createElement(y.a,null,u.a.createElement("span",{role:"img","aria-label":"notebook"},"\ud83d\udcd3"),g),u.a.createElement(y.c,null,u.a.createElement(y.d,{style:{userSelect:"none"}},d)),u.a.createElement(y.g,null,u.a.createElement(y.b,{to:"/election/personalized-guide"},"Learn more bout this"),u.a.createElement(y.f,null,m))),l&&f)}}]),e}(u.a.Component);x.contextTypes={store:l.a.object},e.a=Object(f.b)(a,{})(Object(d.withRouter)(x))},627:function(t,e,n){t.exports=n.p+"static/media/prop-70.13ea2700.png"},628:function(t,e,n){t.exports=n.p+"static/media/prop-71.04502908.png"},640:function(t,e,n){t.exports=n.p+"static/media/prop-72.3f22f000.png"},798:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n.n(r),o=n(799),a=n(592),s=function(){return i.a.createElement(a.a,{data:o.a})};e.default=s},799:function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(474),a=n(800),s=n(628),u=n.n(s),c=n(627),l=n.n(c),f=n(640),p=n.n(f),h={pageId:"state-prop-71",meta:{canonicalUrl:"https://bythebay.cool/election/state-prop-71",documentTitle:"Proposition 71 \u2022 CA June 5 Election",socialHeadline:"Prop 71 closes a weird loophole",socialDescription:"It moves the date for when ballot measures become law.",socialImage:"https://s3-us-west-1.amazonaws.com/bythebay.cool/socialimages/howtopassalaw.png"},intro:{title:"Prop 71 is for loophole",subtitle:"Prop 71 closes a loophole for when a ballot measure goes into effect and when mail-in ballots are counted",img:u.a,color:"pink"},ratings:[{label:"complexity",rating:1,explanation:"Prop 71 is pretty clear cut."},{label:"funding",rating:1,explanation:"Prop 71 was submitted by the state legislature so it didn't require additional funding to get it on the ballot."},{label:"impact",rating:1,explanation:"The measure closes a loophole that might have never occured."},{label:"controversy",rating:1,explanation:"This is uncontroversial. Prop 71 was legislatively referred by the State Assembly and Senate without opposition. The only opposition we could find was the offical argument submitted by Gary Wesley, who's stated mission is to submit arguments for unopposed ballot propositions."},{label:"taxpayer cost",rating:1,explanation:"Prop 71 would cost nothing to taxpayers."}],sections:[{id:"010",type:"text-block",data:{title:"A legal loophole, eh?",text:i.a.createElement("div",null,'Right now, our state constitutions says ballot measures approved by voters become law the "day after the election." Absentee mail-in ballots, however, are counted up to three days after the election, so it\'s possible mail-in ballots can decide the outcome of a proposition. ',i.a.createElement(o.a,{data:a.a[3]},"This ",i.a.createElement("em",null,"almost")," happened with the the plastic bag ban in Nov. 2016"),".",i.a.createElement("br",null),i.a.createElement("br",null),"Prop 71 closes the loophole by moving the date for when ballot propositions become law to ",i.a.createElement("em",null,"five days after")," the Secretary of State confirms the electoral outcome.")}},{id:"020",type:"text-block",data:{title:"Makes sense. Anything else?",text:i.a.createElement("div",null,i.a.createElement(o.a,{data:a.a[1]},"Yes, there's an attorney named Gary Wesley, who 40 years ago made it his mission to submit arguments against unchallenged propositions")," ",i.a.createElement(o.a,{data:a.a[2]},", and the only argument against Prop 71 is the one he officially submitted"),". The whole point of ballot initiatives, he says, is to empower the public to do something when the government won't, but Prop 71 empowers the Secretary of State to potentially delay a voter-approved initiative from being enacted for up to 38 days after an election.",i.a.createElement("br",null),i.a.createElement("br",null)," He also claims Prop 71 is unnecessary since laws wouldn't take effect until all votes are counted anyway. CA's Constitution just says initiatives will be retroactive until the day after the election.",i.a.createElement("br",null),i.a.createElement("br",null),"The State Assembly and Senate disagree. They unanimously put Prop 71 on the ballot to eliminate ambiguity. ",i.a.createElement(o.a,{data:a.a[4]},"To them it's a \"minor, simple fix intended to clarify an existing law"),'."')}},{id:"030",type:"links-block",data:{subsections:[{subsectionTitle:"Supports Prop 71",links:[{text:"LA Times Editorial Board",url:"http://www.latimes.c
1om/opinion/endorsements/la-ed-endorsement-prop-71-20180418-story.html"},{text:"SF Chronicle Editorial Board",url:"https://www.sfchronicle.com/opinion/editorials/article/Editorial-Chronicle-recommendations-on-Props-12849416.php"},{text:"Mercury News Editorial Board",url:"https://www.mercurynews.com/2018/03/15/editorial-prop-71/"},{text:"Sac Bee Editorial Board",url:"http://www.sacbee.com/opinion/editorials/article206202394.html"}]},{subsectionTitle:"More analysis",links:[{text:"Nonpartisan Legislative Analyst Office's summary",url:"http://voterguide.sos.ca.gov/propositions/71/analysis.htm"},{text:"CALmatters",url:"https://elections.calmatters.org/2018/california-ballot-measures/proposition-71-ballot-measure-effective-date/"},{text:"KALW",url:"http://kalw.org/post/california-prop-71-changing-start-date-ballot-initiatives#stream/0"}]}]}},{id:"080",type:"bottom-nav",data:{tiles:[{img:l.a,to:"/election/state-prop-70",style:"",text:"Prop 70 is for politics"},{img:p.a,to:"/election/state-prop-72",style:"",text:"Prop 72 is a tax exemption"}]}}]};e.a=h},800:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={1:{link:"http://articles.latimes.com/1986-10-23/news/mn-7068_1_ballot-measures",publication:"LA Times (1986!)",headline:"The Lone Dissenter Rides Again",directQuote:"\"I'm certain that people who see no opposition argument at all (to a ballot measure) very often will believe that there's no legitimate argument to make against it,\" he said."},2:{link:"http://voterguide.sos.ca.gov/propositions/71/arguments-rebuttals.htm",publication:"The State of California",headline:"The official CA voter guide",directQuote:"There is some danger in this measure that the State Legislature could, in the future and by its own enactment, delay how long the Secretary of State may take to declare the outcome of elections on measures (currently 38 days) and thereby undermine the process."},3:{link:"http://www.latimes.com/opinion/endorsements/la-ed-endorsement-prop-71-20180418-story.html",publication:"LA Times",headline:"Say yes to Prop 71 and to ballot sanity",directQuote:"The measure was winning the day after the election and was deemed by pundits and pollsters to have passed \u2014 even though county elections officials were still processing thousands of ballots and the outcome wasn't officially certified until December. "},4:{link:"http://voterguide.sos.ca.gov/propositions/71/arguments-rebuttals.htm",publication:"The State of California",headline:"The official CA voter guide",directQuote:"Under California law, all changes to the Constitution must be approved by the voters. The Legislature cannot, on its own, delay implementation of voter enacted initiatives. In 1970, no one anticipated the growth in votes being cast by mail as we are seeing today. Proposition 71 is a minor, simple fix intended to clarify existing law."}}}});
2//# sourceMappingURL=33.8b7af484.chunk.js.map

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.