From 0fc9ac9f52b664a9470128e944e313410a4f7fcc Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Fri, 21 Dec 2018 17:26:49 +0800 Subject: [PATCH] Update docs --- .../{bundle.db9ace29.js => bundle.b72cdc2c.js} | 18 +++++++++--------- docs/index.html | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) rename docs/build/{bundle.db9ace29.js => bundle.b72cdc2c.js} (96%) diff --git a/docs/build/bundle.db9ace29.js b/docs/build/bundle.b72cdc2c.js similarity index 96% rename from docs/build/bundle.db9ace29.js rename to docs/build/bundle.b72cdc2c.js index 5c679ef..bb1c341 100644 --- a/docs/build/bundle.db9ace29.js +++ b/docs/build/bundle.b72cdc2c.js @@ -1,4 +1,4 @@ -!function(e){function webpackJsonpCallback(t){for(var r,i,a=t[0],s=t[1],u=0,c=[];u",lt:"<",nbsp:" ",quot:"“"},y=["style","script"],g=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,_=/mailto:/i,x=/\n{2,}$/,w=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,S=/^ *> ?/gm,C=/^ {2,}\n/,E=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,P=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,O=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,R=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,T=/^(?:\n *)*\n/,I=/\r\n?/g,M=/^\[\^(.*)\](:.*)\n/,N=/^\[\^(.*)\]/,A=/\f/g,L=/^\s*?\[(x|\s)\]/,D=/^ *(#{1,6}) *([^\n]+)\n{0,2}/,F=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,U=/^ *<([A-Za-z][^ >\/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/,B=/&([a-z]+);/g,V=/^/,z=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,W=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,q=/^\{.*\}$/,H=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,K=/^<([^ >]+@[^ >]+)>/,J=/^<([^ >]+:\/[^ >]+)>/,X=/ *\n+$/,Q=/(?:^|\n)( *)$/,G=/-([a-z])?/gi,Z=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,Y=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,$=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,ee=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,te=/^\[([^\]]*)\] ?\[([^\]]*)\]/,ne=/(\[|\])/g,re=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,ie=/\t/g,ae=/(^ *\||\| *$)/g,oe=/^ *:-+: *$/,se=/^ *:-+ *$/,ue=/^ *-+: *$/,ce=/ *\| */,le=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,pe=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1)/,he=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,fe=/^\\([^0-9A-Za-z\s])/,de=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,me=/(^\n+|(\n|\s)+$)/g,ve=/^([ \t]*)/,ye=/\\([^0-9A-Z\s])/gi,ge=/^( *)((?:[*+-]|\d+\.)) +/,be=/( *)((?:[*+-]|\d+\.)) +[^\n]*(?:\n(?!\1(?:[*+-]|\d+\.) )[^\n]*)*(\n|$)/gm,_e=/^( *)((?:[*+-]|\d+\.)) [\s\S]+?(?:\n{2,}(?! )(?!\1(?:[*+-]|\d+\.) (?!(?:[*+-]|\d+\.) ))\n*|\s*\n*$)/,xe=/^\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,we=/^!\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,Se=[w,O,P,D,F,U,V,W,be,_e,Z,Y];function containsBlockSyntax(e){return Se.some(function(t){return t.test(e)})}function slugify(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function parseTableAlignCapture(e){return ue.test(e)?"right":oe.test(e)?"center":se.test(e)?"left":null}function parseTableHeader(e,t,n){return e[1].replace(ae,"").trim().split(ce).map(function(e){return t(e,n)})}function parseTableAlign(e){return e[2].replace(ae,"").trim().split(ce).map(parseTableAlignCapture)}function parseTableCells(e,t,n){return e[3].replace(ae,"").trim().split("\n").map(function(e){return e.replace(ae,"").split(ce).map(function(e){return t(e.trim(),n)})})}function parseTable(e,t,n){n.inline=!0;var r=parseTableHeader(e,t,n),i=parseTableAlign(e),a=parseTableCells(e,t,n);return n.inline=!1,{align:i,cells:a,header:r,type:"table"}}function getTableStyle(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function normalizeAttributeKey(e){return-1!==e.indexOf("-")&&null===e.match(z)&&(e=e.replace(G,function(e,t){return t.toUpperCase()})),e}function attributeValueToJSXPropValue(e,t){return"style"===e?t.split(/;\s?/).reduce(function(e,t){var n=t.slice(0,t.indexOf(":")),r=n.replace(/(-[a-z])/g,function(e){return e[1].toUpperCase()});return e[r]=t.slice(n.length+1).trim(),e},{}):(t.match(q)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}function normalizeWhitespace(e){return e.replace(I,"\n").replace(A,"").replace(ie," ")}function parserFor(e){function b(n,r){for(var i=[],a="";n;)for(var o=0;o2?a-2:0),s=2;s1?i=d(t?"span":"div",null,r):1===r.length?"string"==typeof(i=r[0])&&(i=d("span",null,i)):i=d("span",null),i}function e(e){var t=e.match(g);return t?t.reduce(function(e,t,n){var r=t.indexOf("=");if(-1!==r){var i=normalizeAttributeKey(t.slice(0,r)).trim(),a=l()(t.slice(r+1).trim()),o=m[i]||i,u=e[o]=attributeValueToJSXPropValue(i,a);(U.test(u)||W.test(u))&&(e[o]=s.a.cloneElement(c(u.trim()),{key:n}))}else e[m[t]||t]=!0;return e},{}):void 0}(n=n||{}).overrides=n.overrides||{},n.slugify=n.slugify||slugify;var r=n.createElement||s.a.createElement;var i=[],a={},o={blockQuote:{match:blockRegex(w),order:Ee,parse:function d(e,t,n){return{content:t(e[0].replace(S,""),n)}},react:function e(t,n,r){return d("blockquote",{key:r.key},n(t.content,r))}},breakLine:{match:anyScopeRegex(C),order:Ee,parse:captureNothing,react:function e(t,n,r){return d("br",{key:r.key})}},breakThematic:{match:blockRegex(E),order:Ee,parse:captureNothing,react:function e(t,n,r){return d("hr",{key:r.key})}},codeBlock:{match:blockRegex(O),order:Ce,parse:function c(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function e(t,n,r){return d("pre",{key:r.key},d("code",{className:t.lang?"lang-"+t.lang:""},t.content))}},codeFenced:{match:blockRegex(P),order:Ce,parse:function b(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:simpleInlineRegex(R),order:Pe,parse:function b(e){return{content:e[2]}},react:function e(t,n,r){return d("code",{key:r.key},t.content)}},footnote:{match:blockRegex(M),order:Ce,parse:function b(e){return i.push({footnote:e[2],identifier:e[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(N),order:Ee,parse:function b(e){return{content:e[1],target:"#"+e[1]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target)},d("sup",{key:r.key},t.content))}},gfmTask:{match:inlineRegex(L),order:Ee,parse:function b(e){return{completed:"x"===e[1].toLowerCase()}},react:function e(t,n,r){return d("input",{checked:t.completed,key:r.key,readOnly:!0,type:"checkbox"})}},heading:{match:blockRegex(D),order:Ee,parse:function e(t,r,i){return{content:parseInline(r,t[2],i),id:n.slugify(t[2]),level:t[1].length}},react:function f(e,t,n){return d("h"+e.level,{id:e.id,key:n.key},t(e.content,n))}},headingSetext:{match:blockRegex(F),order:Ce,parse:function d(e,t,n){return{content:parseInline(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:anyScopeRegex(U),order:Ee,parse:function k(t,n,r){var i=t[3].match(ve)[1],a=new RegExp("^"+i,"gm"),o=t[3].replace(a,""),s=containsBlockSyntax(o)?parseBlock:parseInline,u=-1!==y.indexOf(t[1]);return{attrs:e(t[2]),content:u?t[3]:s(n,o,r),noInnerParse:u,tag:t[1]}},react:function e(t,n,r){return d(t.tag,p({key:r.key},t.attrs),t.noInnerParse?t.content:n(t.content,r))}},htmlComment:{match:anyScopeRegex(V),order:Ee,parse:function a(){return{}},react:renderNothing},htmlSelfClosing:{match:anyScopeRegex(W),order:Ee,parse:function b(t){return{attrs:e(t[2]||""),tag:t[1]}},react:function e(t,n,r){return d(t.tag,p({},t.attrs,{key:r.key}))}},image:{match:simpleInlineRegex(we),order:Ee,parse:function b(e){return{alt:e[1],target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt||void 0,title:t.title||void 0,src:sanitizeUrl(t.target)})}},link:{match:inlineRegex(xe),order:Pe,parse:function d(e,t,n){return{content:parseSimpleInline(t,e[1],n),target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target),title:t.title},n(t.content,r))}},linkAngleBraceStyleDetector:{match:inlineRegex(J),order:Ce,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:inlineRegex(H),order:Ce,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:inlineRegex(K),order:Ce,parse:function d(e){var t=e[1],n=e[1];return _.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function f(e,t,n){var r=Q.exec(n),i=t._list||!t.inline;return r&&i?(e=r[1]+e,_e.exec(e)):null},order:Ee,parse:function j(e,t,n){var r=e[2],i=r.length>1,a=i?+r:void 0,o=e[0].replace(x,"\n").match(be),s=!1;return{items:o.map(function(e,r){var i=ge.exec(e)[0].length,a=new RegExp("^ {1,"+i+"}","gm"),u=e.replace(a,"").replace(ge,""),c=r===o.length-1,l=-1!==u.indexOf("\n\n")||c&&s;s=l;var p,h=n.inline,f=n._list;n._list=!0,l?(n.inline=!1,p=u.replace(X,"\n\n")):(n.inline=!0,p=u.replace(X,""));var d=t(p,n);return n.inline=h,n._list=f,d}),ordered:i,start:a}},react:function f(e,t,n){return d(e.ordered?"ol":"ul",{key:n.key,start:e.start},e.items.map(function(e,r){return d("li",{key:r},t(e,n))}))}},newlineCoalescer:{match:blockRegex(T),order:Pe,parse:captureNothing,react:function a(){return"\n"}},paragraph:{match:blockRegex(Y),order:Pe,parse:parseCaptureInline,react:function e(t,n,r){return d("p",{key:r.key},n(t.content,r))}},ref:{match:inlineRegex($),order:Ce,parse:function b(e){return a[e[1]]={target:e[2],title:e[4]},{}},react:renderNothing},refImage:{match:simpleInlineRegex(ee),order:Ce,parse:function b(e){return{alt:e[1]||void 0,ref:e[2]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt,src:sanitizeUrl(a[t.ref].target),title:a[t.ref].title})}},refLink:{match:inlineRegex(te),order:Ce,parse:function d(e,t,n){return{content:t(e[1],n),fallbackContent:t(e[0].replace(ne,"\\$1"),n),ref:e[2]}},react:function e(t,n,r){return a[t.ref]?d("a",{key:r.key,href:sanitizeUrl(a[t.ref].target),title:a[t.ref].title},n(t.content,r)):d("span",null,n(t.fallbackContent,r))}},table:{match:blockRegex(Z),order:Ee,parse:parseTable,react:function f(e,t,n){return d("table",{key:n.key},d("thead",null,d("tr",null,e.header.map(function(r,i){return d("th",{key:i,style:getTableStyle(e,i)},t(r,n))}))),d("tbody",null,e.cells.map(function(r,i){return d("tr",{key:i},r.map(function(r,i){return d("td",{key:i,style:getTableStyle(e,i)},t(r,n))}))})))}},text:{match:anyScopeRegex(de),order:Oe,parse:function b(e){return{content:e[0].replace(B,function(e,t){return v[t]?v[t]:e})}},react:function b(e){return e.content}},textBolded:{match:simpleInlineRegex(le),order:ke,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("strong",{key:r.key},n(t.content,r))}},textEmphasized:{match:simpleInlineRegex(pe),order:Pe,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("em",{key:r.key},n(t.content,r))}},textEscaped:{match:simpleInlineRegex(fe),order:Ee,parse:function b(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:simpleInlineRegex(he),order:Pe,parse:parseCaptureInline,react:function e(t,n,r){return d("del",{key:r.key},n(t.content,r))}}},u=parserFor(o),h=reactFor(ruleOutput(o)),j=c(t);return i.length&&j.props.children.push(d("footer",null,i.map(function(e){return d("div",{id:e.identifier,key:e.identifier},e.identifier,h(u(e.footnote,{inline:!0})))}))),j}var Re=r(105),Te=r(31),je=r(65),Ie=r(3),Me=r(62);function MarkdownHeadingRenderer(e){var t=e.classes,n=e.level,r=e.children;return s.a.createElement("div",{className:t.spacing},s.a.createElement(Me.a,{level:n},r))}MarkdownHeadingRenderer.propTypes={classes:a.a.object.isRequired,level:a.a.oneOf([1,2,3,4,5,6]).isRequired,children:a.a.node};var Ne=Object(Ie.a)(function styles(e){return{spacing:{marginBottom:e.space[2]}}})(MarkdownHeadingRenderer),Ae=r(8),Le=r.n(Ae);function ListRenderer(e){var t=e.classes,n=e.ordered,r=e.children,i=n?"ol":"ul",a=Le()(t.list,n&&t.ordered);return s.a.createElement(i,{className:a},o.Children.map(r,function(e){return Object(o.cloneElement)(e,{className:t.li})}))}ListRenderer.propTypes={classes:a.a.object.isRequired,ordered:a.a.bool,children:a.a.node.isRequired},ListRenderer.defaultProps={ordered:!1};var De=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily;return{list:{marginTop:0,marginBottom:t[2],paddingLeft:t[3],fontSize:"inherit"},ordered:{listStyleType:"decimal"},li:{color:n.base,fontFamily:r.base,fontSize:"inherit",lineHeight:1.5,listStyleType:"inherit"}}})(ListRenderer);function BlockquoteRenderer(e){var t=e.classes,n=e.className,r=e.children,i=Le()(t.blockquote,n);return s.a.createElement("blockquote",{className:i},r)}BlockquoteRenderer.propTypes={classes:a.a.object.isRequired,className:a.a.string,children:a.a.node.isRequired};var Fe=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{blockquote:{margin:[[t[2],t[4]]],padding:0,color:n.base,fontFamily:i.base,fontSize:r.base,lineHeight:1.5}}})(BlockquoteRenderer);function PreRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("pre",{className:t.pre},n)}PreRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Ue=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily,a=e.borderRadius;return{pre:{fontFamily:i.base,fontSize:r.small,lineHeight:1.5,color:n.base,whiteSpace:"pre",backgroundColor:n.codeBackground,padding:[[t[1],t[2]]],border:[[1,n.border,"solid"]],borderRadius:a,marginTop:0,marginBottom:t[2]}}})(PreRenderer),Be=r(67),Ve=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function CheckboxRenderer(e){var t=e.classes,n=CheckboxRenderer_objectWithoutProperties(e,["classes"]);return s.a.createElement("input",Ve({},n,{type:"checkbox",className:t.input}))}CheckboxRenderer.propTypes={classes:a.a.object.isRequired};var ze=Object(Ie.a)(function styles(){return{input:{isolate:!1,display:"inline-block",verticalAlign:"middle"}}})(CheckboxRenderer);function HrRenderer(e){var t=e.classes;return s.a.createElement("hr",{className:t.hr})}HrRenderer.propTypes={classes:a.a.object.isRequired};var We=Object(Ie.a)(function styles(e){var t=e.space;return{hr:{borderBottom:[[1,e.color.border,"solid"]],marginTop:0,marginBottom:t[2]}}})(HrRenderer);function DetailsRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("details",{className:t.details},n)}DetailsRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var qe=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{details:{marginBottom:t[2],fontFamily:i.base,fontSize:r.base,color:n.base}}})(DetailsRenderer);function DetailsSummaryRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("summary",{className:t.summary},n)}DetailsSummaryRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var He=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{summary:{marginBottom:t[1],fontFamily:i.base,fontSize:r.base,color:n.base,cursor:"pointer","&:focus":{isolate:!1,outline:[[1,"dotted",n.linkHover]],outlineOffset:2}}}})(DetailsSummaryRenderer);function TableRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("table",{className:t.table},n)}TableRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Ke=Object(Ie.a)(function styles(e){return{table:{marginTop:0,marginBottom:e.space[2],borderCollapse:"collapse"}}})(TableRenderer);function TableHeadRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("thead",{className:t.thead},n)}TableHeadRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Je=Object(Ie.a)(function styles(e){return{thead:{borderBottom:[[1,e.color.border,"solid"]]}}})(TableHeadRenderer);function TableBodyRenderer(e){var t=e.children;return s.a.createElement("tbody",null,t)}TableBodyRenderer.propTypes={children:a.a.node.isRequired};var Xe=TableBodyRenderer;function TableRowRenderer(e){var t=e.children;return s.a.createElement("tr",null,t)}TableRowRenderer.propTypes={children:a.a.node.isRequired};var Qe=TableRowRenderer;function TableCellRenderer(e){var t=e.classes,n=e.header,r=e.children;return n?s.a.createElement("th",{className:t.th},r):s.a.createElement("td",{className:t.td},r)}TableCellRenderer.propTypes={classes:a.a.object.isRequired,header:a.a.bool,children:a.a.node.isRequired},TableCellRenderer.defaultProps={header:!1};var Ge=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{td:{padding:[[t[0],t[2],t[0],0]],fontFamily:i.base,fontSize:r.base,color:n.base,lineHeight:1.5},th:{composes:"$td",fontWeight:"bold"}}})(TableCellRenderer),Ze=Object.assign||function(e){for(var t=1;t0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(5),i=n(153),a=n(37),o=Object.defineProperty;t.f=n(13)?Object.defineProperty:function defineProperty(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=e.exports={version:"2.6.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";n.d(t,"c",function(){return unquote}),n.d(t,"a",function(){return getType}),n.d(t,"b",function(){return showSpaces});var r=Object.assign||function(e){for(var t=1;t"+i+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(12),i=n(43);e.exports=n(13)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(68),i=n(35);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(190),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(69),i=n(43),a=n(21),o=n(37),s=n(19),u=n(153),c=Object.getOwnPropertyDescriptor;t.f=n(13)?c:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=o(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(2),i=n(14),a=n(4);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){var r=n(32),i=n(68),a=n(17),o=n(11),s=n(332);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,p=6==e,h=5==e||p,f=t||s;return function(t,s,d){for(var m,v,y=a(t),g=i(y),b=r(s,d,3),_=o(g.length),x=0,w=n?f(t,_):u?f(t,0):void 0;_>x;x++)if((h||x in g)&&(v=b(m=g[x],x,y),e))if(n)w[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(l)return!1;return p?-1:c||l?l:w}}},function(e,t){e.exports=function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(8),c=n.n(u),l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function TextRenderer(e){var t,n=e.classes,r=e.semantic,a=e.size,o=e.color,s=e.underlined,u=e.children,p=_objectWithoutProperties(e,["classes","semantic","size","color","underlined","children"]),h=r||"span",f=c()(n.text,n[a+"Size"],n[o+"Color"],(_defineProperty(t={},n[r],r),_defineProperty(t,n.isUnderlined,s),t));return i.a.createElement(h,l({},p,{className:f}),u)}TextRenderer.propTypes={classes:o.a.object.isRequired,semantic:o.a.oneOf(["em","strong"]),size:o.a.oneOf(["inherit","small","base","text"]),color:o.a.oneOf(["base","light"]),underlined:o.a.bool,children:o.a.node.isRequired},TextRenderer.defaultProps={size:"inherit",color:"base",underlined:!1};var p=Object(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{text:{fontFamily:t.base},inheritSize:{fontSize:"inherit"},smallSize:{fontSize:n.small},baseSize:{fontSize:n.base},textSize:{fontSize:n.text},baseColor:{color:r.base},lightColor:{color:r.light},em:{fontStyle:"italic"},strong:{fontWeight:"bold"},isUnderlined:{borderBottom:[[1,"dotted",r.lightest]]}}})(TextRenderer);n.d(t,"a",function(){return p})},function(e,t,n){var r=n(33);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(13)){var r=n(45),i=n(6),a=n(4),o=n(2),s=n(87),u=n(133),c=n(32),l=n(58),p=n(43),h=n(20),f=n(59),d=n(26),m=n(11),v=n(179),y=n(47),g=n(37),b=n(19),_=n(70),x=n(7),w=n(17),S=n(125),C=n(48),E=n(50),k=n(49).f,P=n(127),O=n(44),R=n(9),T=n(29),j=n(77),I=n(71),M=n(129),N=n(55),A=n(80),L=n(57),D=n(128),F=n(170),U=n(12),B=n(27),V=U.f,z=B.f,W=i.RangeError,q=i.TypeError,H=i.Uint8Array,K=Array.prototype,J=u.ArrayBuffer,X=u.DataView,Q=T(0),G=T(2),Z=T(3),Y=T(4),$=T(5),ee=T(6),te=j(!0),ne=j(!1),re=M.values,ie=M.keys,ae=M.entries,oe=K.lastIndexOf,se=K.reduce,ue=K.reduceRight,ce=K.join,le=K.sort,pe=K.slice,he=K.toString,fe=K.toLocaleString,de=R("iterator"),me=R("toStringTag"),ve=O("typed_constructor"),ye=O("def_constructor"),ge=s.CONSTR,be=s.TYPED,_e=s.VIEW,xe=T(1,function(e,t){return ke(I(e,e[ye]),t)}),we=a(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),Se=!!H&&!!H.prototype.set&&a(function(){new H(1).set({})}),Ce=function(e,t){var n=d(e);if(n<0||n%t)throw W("Wrong offset!");return n},Ee=function(e){if(x(e)&&be in e)return e;throw q(e+" is not a typed array!")},ke=function(e,t){if(!(x(e)&&ve in e))throw q("It is not a typed array constructor!");return new e(t)},Pe=function(e,t){return Oe(I(e,e[ye]),t)},Oe=function(e,t){for(var n=0,r=t.length,i=ke(e,r);r>n;)i[n]=t[n++];return i},Re=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Te=function from(e){var t,n,r,i,a,o,s=w(e),u=arguments.length,l=u>1?arguments[1]:void 0,p=void 0!==l,h=P(s);if(null!=h&&!S(h)){for(o=h.call(s),r=[],t=0;!(a=o.next()).done;t++)r.push(a.value);s=r}for(p&&u>2&&(l=c(l,arguments[2],2)),t=0,n=m(s.length),i=ke(this,n);n>t;t++)i[t]=p?l(s[t],t):s[t];return i},je=function of(){for(var e=0,t=arguments.length,n=ke(this,t);t>e;)n[e]=arguments[e++];return n},Ie=!!H&&a(function(){fe.call(new H(1))}),Me=function toLocaleString(){return fe.apply(Ie?pe.call(Ee(this)):Ee(this),arguments)},Ne={copyWithin:function copyWithin(e,t){return F.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function every(e){return Y(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function fill(e){return D.apply(Ee(this),arguments)},filter:function filter(e){return Pe(this,G(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function find(e){return $(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(e){Q(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function includes(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function join(e){return ce.apply(Ee(this),arguments)},lastIndexOf:function lastIndexOf(e){return oe.apply(Ee(this),arguments)},map:function map(e){return xe(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(e){return se.apply(Ee(this),arguments)},reduceRight:function reduceRight(e){return ue.apply(Ee(this),arguments)},reverse:function reverse(){for(var e,t=Ee(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function sort(e){return le.call(Ee(this),e)},subarray:function subarray(e,t){var n=Ee(this),r=n.length,i=y(e,r);return new(I(n,n[ye]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-i))}},Ae=function slice(e,t){return Pe(this,pe.call(Ee(this),e,t))},Le=function set(e){Ee(this);var t=Ce(arguments[1],1),n=this.length,r=w(e),i=m(r.length),a=0;if(i+t>n)throw W("Wrong length!");for(;a255?255:255&r),i.v[f](n*t+i.o,r,we)},R=function(e,t){V(e,t,{get:function(){return P(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};b?(d=n(function(e,n,r,i){l(e,d,c,"_d");var a,o,s,u,p=0,f=0;if(x(n)){if(!(n instanceof J||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return be in n?Oe(d,n):Te.call(d,n);a=n,f=Ce(r,t);var y=n.byteLength;if(void 0===i){if(y%t)throw W("Wrong length!");if((o=y-f)<0)throw W("Wrong length!")}else if((o=m(i)*t)+f>y)throw W("Wrong length!");s=o/t}else s=v(n),a=new J(o=s*t);for(h(e,"_d",{b:a,o:f,l:o,e:s,v:new X(a)});pdocument.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[a[r]];return u()};e.exports=Object.create||function create(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=u(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(155),i=n(111).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,i)}},function(e,t,n){var r=n(19),i=n(17),a=n(110)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(451),i=n(456);e.exports=function getNative(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(92),i=n(452),a=n(453),o="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function baseGetTag(e){return null==e?void 0===e?s:o:u&&u in Object(e)?i(e):a(e)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(8),c=n.n(u);function NameRenderer(e){var t,n,r,a=e.classes,o=e.children,s=e.deprecated,u=c()(a.name,(t={},n=a.isDeprecated,r=s,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t));return i.a.createElement("code",{className:u},o)}NameRenderer.propTypes={classes:o.a.object.isRequired,children:o.a.node.isRequired,deprecated:o.a.bool};var l=Object(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{name:{fontFamily:t.monospace,fontSize:n.small,color:r.name},isDeprecated:{color:r.light,textDecoration:"line-through"}}})(NameRenderer);n.d(t,"a",function(){return l})},function(e,t,n){var r=n(12).f,i=n(19),a=n(9)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(9)("unscopables"),i=Array.prototype;null==i[r]&&n(20)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){"use strict";var r=n(6),i=n(12),a=n(13),o=n(9)("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(16);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(7);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function HeadingRenderer(e){var t=e.classes,n=e.level,r=e.children,a=_objectWithoutProperties(e,["classes","level","children"]),o="h"+n,s=u()(t.heading,t["heading"+n]);return i.a.createElement(o,l({},a,{className:s}),r)}HeadingRenderer.propTypes={classes:o.a.object.isRequired,level:o.a.oneOf([1,2,3,4,5,6]).isRequired,children:o.a.node};var p=Object(c.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{heading:{margin:0,color:t.base,fontFamily:n.base,fontWeight:"normal"},heading1:{fontSize:r.h1},heading2:{fontSize:r.h2},heading3:{fontSize:r.h3},heading4:{fontSize:r.h4},heading5:{fontSize:r.h5,fontWeight:"bold"},heading6:{fontSize:r.h6,fontStyle:"italic"}}})(HeadingRenderer);n.d(t,"a",function(){return p})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(10),c=n(53),l=n(42),p=n(76),h=n.n(p),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ArgumentRenderer(e){var t=e.classes,n=e.name,r=e.type,a=e.description,o=e.returns,s=e.block,p=_objectWithoutProperties(e,["classes","name","type","description","returns","block"]),d=r&&"OptionalType"===r.type,m=p.default;return d&&(r=r.expression),i.a.createElement(h.a,f({className:s&&t.block},p),o&&"Returns",n&&i.a.createElement("span",null,i.a.createElement(c.a,null,n),r&&":"),r&&i.a.createElement(l.a,null,r.name,d&&"?",!!m&&"="+m),r&&a&&" — ",a&&i.a.createElement(u.a,{text:""+a,inline:!0}))}ArgumentRenderer.propTypes={classes:o.a.object.isRequired,name:o.a.string,type:o.a.object,default:o.a.string,description:o.a.string,returns:o.a.bool,block:o.a.bool};var d=Object(s.a)(function styles(e){return{block:{marginBottom:e.space[2]}}})(ArgumentRenderer);n.d(t,"a",function(){return d})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(10),u=n(224),c=n.n(u),l=function plural(e,t){return 1===e.length?t:t+"s"},p=function list(e){return e.map(function(e){return e.description}).join(", ")},h=function paragraphs(e){return e.map(function(e){return e.description}).join("\n\n")},f={deprecated:function deprecated(e){return"**Deprecated:** "+e[0].description},see:function see(e){return h(e)},link:function link(e){return h(e)},author:function author(e){return l(e,"Author")+": "+p(e)},version:function version(e){return"Version: "+e[0].description},since:function since(e){return"Since: "+e[0].description}};function getMarkdown(e){return c()(f,function(t,n){return e[n]&&t(e[n])}).filter(Boolean).join("\n\n")}function JsDoc(e){var t=getMarkdown(e);return t?i.a.createElement(s.a,{text:t}):null}JsDoc.propTypes={deprecated:o.a.array,see:o.a.array,link:o.a.array,author:o.a.array,version:o.a.array,since:o.a.array},n.d(t,"a",function(){return JsDoc})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3);function ParaRenderer(e){var t=e.classes,n=e.semantic,r=e.children,a=n||"div";return i.a.createElement(a,{className:t.para},r)}ParaRenderer.propTypes={classes:o.a.object.isRequired,semantic:o.a.oneOf(["p"]),children:o.a.node.isRequired};var u=Object(s.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily;return{para:{marginTop:0,marginBottom:t[2],color:n.base,fontFamily:r.base,fontSize:"inherit",lineHeight:1.5}}})(ParaRenderer);n.d(t,"a",function(){return u})},function(e,t,n){var r=n(206),i=n(207),a=n(96),o=n(25),s=n(41),u=n(97),c=n(95),l=n(98),p="[object Map]",h="[object Set]",f=Object.prototype.hasOwnProperty;e.exports=function isEmpty(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==h)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(8),u=n.n(s),c=n(3);function CodeRenderer(e){var t=e.classes,n=e.className,r=e.children,a=u()(n,t.code);return n&&-1!==n.indexOf("lang-")?i.a.createElement("code",{className:a,dangerouslySetInnerHTML:{__html:r}}):i.a.createElement("code",{className:a},r)}CodeRenderer.propTypes={classes:o.a.object.isRequired,className:o.a.string,children:o.a.node.isRequired};var l=Object(c.a)(function styles(e){return{code:{fontFamily:e.fontFamily.monospace,fontSize:"inherit",color:"inherit",background:"transparent",whiteSpace:"inherit"}}})(CodeRenderer);n.d(t,"a",function(){return l})},function(e,t,n){var r=n(34);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(34),i=n(9)("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),i))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(5),i=n(33),a=n(9)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[a])?t:i(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&(n=[t.shift()],t.forEach(function(e,t){if(a){var o="separator-"+(e.key||t);i=r.cloneElement(i,{key:o})}return n.push(i,e)})),r.createElement(e.inline?"span":"div",{className:e.className},n)}Group.propTypes={children:i.node,inline:i.bool,separator:i.node,className:i.string},Group.defaultProps={separator:" "},e.exports=Group},function(e,t,n){var r=n(21),i=n(11),a=n(47);e.exports=function(e){return function(t,n,o){var s,u=r(t),c=i(u.length),l=a(o,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(2),i=n(35),a=n(4),o=n(115),s="["+o+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(e,t,n){var i={},s=a(function(){return!!o[e]()||"​…"!="​…"[e]()}),u=i[e]=s?t(p):o[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},p=l.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=l},function(e,t,n){var r=n(9)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(5);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(70),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(172);var r=n(16),i=n(20),a=n(4),o=n(35),s=n(9),u=n(130),c=s("species"),l=!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!a(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),d=f?!a(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!t}):void 0;if(!f||!d||"replace"===e&&!l||"split"===e&&!p){var m=/./[h],v=n(o,h,""[e],function maybeCallNative(e,t,n,r,i){return t.exec===u?f&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),y=v[0],g=v[1];r(String.prototype,e,y),i(RegExp.prototype,h,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}}},function(e,t,n){var r=n(32),i=n(168),a=n(125),o=n(5),s=n(11),u=n(127),c={},l={};(t=e.exports=function(e,t,n,p,h){var f,d,m,v,y=h?function(){return e}:u(e),g=r(n,p,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(f=s(e.length);f>b;b++)if((v=t?g(o(d=e[b])[0],d[1]):g(e[b]))===c||v===l)return v}else for(m=y.call(e);!(d=m.next()).done;)if((v=i(m,g,d.value,t))===c||v===l)return v}).BREAK=c,t.RETURN=l},function(e,t,n){var r=n(6).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(6),i=n(2),a=n(16),o=n(59),s=n(38),u=n(84),c=n(58),l=n(7),p=n(4),h=n(80),f=n(54),d=n(116);e.exports=function(e,t,n,m,v,y){var g=r[e],b=g,_=v?"set":"add",x=b&&b.prototype,w={},S=function(e){var t=x[e];a(x,e,"delete"==e?function(e){return!(y&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function has(e){return!(y&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function get(e){return y&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function add(e){return t.call(this,0===e?0:e),this}:function set(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(y||x.forEach&&!p(function(){(new b).entries().next()}))){var C=new b,E=C[_](y?{}:-0,1)!=C,k=p(function(){C.has(1)}),P=h(function(e){new b(e)}),O=!y&&p(function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)});P||((b=t(function(t,n){c(t,b,e);var r=d(new g,t,b);return null!=n&&u(n,v,r[_],r),r})).prototype=x,x.constructor=b),(k||O)&&(S("delete"),S("has"),v&&S("get")),(O||E)&&S(_),y&&x.clear&&delete x.clear}else b=m.getConstructor(t,e,v,_),o(b.prototype,n),s.NEED=!0;return f(b,e),w[e]=b,i(i.G+i.W+i.F*(b!=g),w),y||m.setStrong(b,e,v),b}},function(e,t,n){for(var r,i=n(6),a=n(20),o=n(44),s=o("typed_array"),u=o("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,p=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=i[h[p++]])?(a(r.prototype,s,!0),a(r.prototype,u,!0)):l=!1;e.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCssValue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],o=n.jss,s=(0,a.default)(t),u=o.plugins.onCreateRule(e,s,n);if(u)return u;"@"===e[0]&&(0,r.default)(!1,"[JSS] Unknown at-rule %s",e);return new i.default(e,s,n)};var r=_interopRequireDefault(n(39)),i=_interopRequireDefault(n(61)),a=_interopRequireDefault(n(412));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(441),i=n(442),a=n(443),o=n(444),s=n(445);function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function LinkRenderer(e){var t=e.classes,n=e.children,r=_objectWithoutProperties(e,["classes","children"]);return i.a.createElement("a",l({},r,{className:u()(t.link,r.className)}),n)}LinkRenderer.propTypes={children:o.a.node,className:o.a.string,classes:o.a.object.isRequired};var p=Object(c.a)(function styles(e){var t=e.color;return{link:{"&, &:link, &:visited":{fontSize:"inherit",color:t.link,textDecoration:"none"},"&:hover, &:active":{isolate:!1,color:t.linkHover,cursor:"pointer"}}}})(LinkRenderer);n.d(t,"a",function(){return p})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(63),u=n(62),c=n(3),l=Object.assign||function(e){for(var t=1;t0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function sign(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function expm1(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(26),i=n(35);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(45),i=n(2),a=n(16),o=n(20),s=n(55),u=n(167),c=n(54),l=n(50),p=n(9)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,d,m,v,y){u(n,t,d);var g,b,_,x=function(e){if(!h&&e in E)return E[e];switch(e){case"keys":return function keys(){return new n(this,e)};case"values":return function values(){return new n(this,e)}}return function entries(){return new n(this,e)}},w=t+" Iterator",S="values"==m,C=!1,E=e.prototype,k=E[p]||E["@@iterator"]||m&&E[m],P=k||x(m),O=m?S?x("entries"):P:void 0,R="Array"==t&&E.entries||k;if(R&&(_=l(R.call(new e)))!==Object.prototype&&_.next&&(c(_,w,!0),r||"function"==typeof _[p]||o(_,p,f)),S&&k&&"values"!==k.name&&(C=!0,P=function values(){return k.call(this)}),r&&!y||!h&&!C&&E[p]||o(E,p,P),s[t]=P,s[w]=f,m)if(g={values:S?P:x("values"),keys:v?P:x("keys"),entries:O},y)for(b in g)b in E||a(E,b,g[b]);else i(i.P+i.F*(h||C),t,g);return g}},function(e,t,n){var r=n(123),i=n(35);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(7),i=n(34),a=n(9)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(9)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(55),i=n(9)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(12),i=n(43);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(70),i=n(9)("iterator"),a=n(55);e.exports=n(14).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[r(e)]}},function(e,t,n){"use strict";var r=n(17),i=n(47),a=n(11);e.exports=function fill(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),u=o>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(56),i=n(171),a=n(55),o=n(21);e.exports=n(121)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,i,a=n(81),o=RegExp.prototype.exec,s=String.prototype.replace,u=o,c=(r=/a/,i=/b*/g,o.call(r,"a"),o.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function exec(e){var t,n,r,i,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",a.call(u))),c&&(t=u.lastIndex),r=o.call(u,e),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),l&&r&&r.length>1&&s.call(r[0],n,function(){for(i=1;in;)t.push(arguments[n++]);return y[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},f=function clearImmediate(e){delete y[e]},"process"==n(34)(p)?r=function(e){p.nextTick(o(g,e,1))}:m&&m.now?r=function(e){m.now(o(g,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(e)}}:function(e){setTimeout(o(g,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,n){"use strict";var r=n(6),i=n(13),a=n(45),o=n(87),s=n(20),u=n(59),c=n(4),l=n(58),p=n(26),h=n(11),f=n(179),d=n(49).f,m=n(12).f,v=n(128),y=n(54),g="prototype",b="Wrong index!",_=r.ArrayBuffer,x=r.DataView,w=r.Math,S=r.RangeError,C=r.Infinity,E=_,k=w.abs,P=w.pow,O=w.floor,R=w.log,T=w.LN2,j=i?"_b":"buffer",I=i?"_l":"byteLength",M=i?"_o":"byteOffset";function packIEEE754(e,t,n){var r,i,a,o=new Array(n),s=8*n-t-1,u=(1<>1,l=23===t?P(2,-24)-P(2,-77):0,p=0,h=e<0||0===e&&1/e<0?1:0;for((e=k(e))!=e||e===C?(i=e!=e?1:0,r=u):(r=O(R(e)/T),e*(a=P(2,-r))<1&&(r--,a*=2),(e+=r+c>=1?l/a:l*P(2,1-c))*a>=2&&(r++,a/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(e*a-1)*P(2,t),r+=c):(i=e*P(2,c-1)*P(2,t),r=0));t>=8;o[p++]=255&i,i/=256,t-=8);for(r=r<0;o[p++]=255&r,r/=256,s-=8);return o[--p]|=128*h,o}function unpackIEEE754(e,t,n){var r,i=8*n-t-1,a=(1<>1,s=i-7,u=n-1,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===l)l=1-o;else{if(l===a)return r?NaN:c?-C:C;r+=P(2,t),l-=o}return(c?-1:1)*r*P(2,l-t)}function unpackI32(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function packI8(e){return[255&e]}function packI16(e){return[255&e,e>>8&255]}function packI32(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function packF64(e){return packIEEE754(e,52,8)}function packF32(e){return packIEEE754(e,23,4)}function addGetter(e,t,n){m(e[g],t,{get:function(){return this[n]}})}function get(e,t,n,r){var i=f(+n);if(i+t>e[I])throw S(b);var a=e[j]._b,o=i+e[M],s=a.slice(o,o+t);return r?s:s.reverse()}function set(e,t,n,r,i,a){var o=f(+n);if(o+t>e[I])throw S(b);for(var s=e[j]._b,u=o+e[M],c=r(+i),l=0;lD;)(N=L[D++])in _||s(_,N,E[N]);a||(A.constructor=_)}var F=new x(new _(2)),U=x[g].setInt8;F.setInt8(0,2147483648),F.setInt8(1,2147483649),!F.getInt8(0)&&F.getInt8(1)||u(x[g],{setInt8:function setInt8(e,t){U.call(this,e,t<<24>>24)},setUint8:function setUint8(e,t){U.call(this,e,t<<24>>24)}},!0)}else _=function ArrayBuffer(e){l(this,_,"ArrayBuffer");var t=f(e);this._b=v.call(new Array(t),0),this[I]=t},x=function DataView(e,t,n){l(this,x,"DataView"),l(e,_,"DataView");var r=e[I],i=p(t);if(i<0||i>r)throw S("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw S("Wrong length!");this[j]=e,this[M]=i,this[I]=n},i&&(addGetter(_,"byteLength","_l"),addGetter(x,"buffer","_b"),addGetter(x,"byteLength","_l"),addGetter(x,"byteOffset","_o")),u(x[g],{getInt8:function getInt8(e){return get(this,1,e)[0]<<24>>24},getUint8:function getUint8(e){return get(this,1,e)[0]},getInt16:function getInt16(e){var t=get(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function getUint16(e){var t=get(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function getInt32(e){return unpackI32(get(this,4,e,arguments[1]))},getUint32:function getUint32(e){return unpackI32(get(this,4,e,arguments[1]))>>>0},getFloat32:function getFloat32(e){return unpackIEEE754(get(this,4,e,arguments[1]),23,4)},getFloat64:function getFloat64(e){return unpackIEEE754(get(this,8,e,arguments[1]),52,8)},setInt8:function setInt8(e,t){set(this,1,e,packI8,t)},setUint8:function setUint8(e,t){set(this,1,e,packI8,t)},setInt16:function setInt16(e,t){set(this,2,e,packI16,t,arguments[2])},setUint16:function setUint16(e,t){set(this,2,e,packI16,t,arguments[2])},setInt32:function setInt32(e,t){set(this,4,e,packI32,t,arguments[2])},setUint32:function setUint32(e,t){set(this,4,e,packI32,t,arguments[2])},setFloat32:function setFloat32(e,t){set(this,4,e,packF32,t,arguments[2])},setFloat64:function setFloat64(e,t){set(this,8,e,packF64,t,arguments[2])}});y(_,"ArrayBuffer"),y(x,"DataView"),s(x[g],o.VIEW,!0),t.ArrayBuffer=_,t.DataView=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCss(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="";if(!t)return i;var a=n.indent,o=void 0===a?0:a,s=t.fallbacks;if(o++,s)if(Array.isArray(s))for(var u=0;u-1&&e%1==0&&e<=n}},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function isIndex(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=function IconBase(e,t){var n=e.children,a=e.color,o=e.size,s=e.style,u=e.width,c=e.height,l=_objectWithoutProperties(e,["children","color","size","style","width","height"]),p=t.reactIconBase,h=void 0===p?{}:p,f=o||h.size||"1em";return i.default.createElement("svg",r({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:c||f,width:u||f},h,l,{style:r({verticalAlign:"middle",color:a||h.color},h.style||{},s)}))};o.propTypes={color:a.default.string,size:a.default.oneOfType([a.default.string,a.default.number]),width:a.default.oneOfType([a.default.string,a.default.number]),height:a.default.oneOfType([a.default.string,a.default.number]),style:a.default.object},o.contextTypes={reactIconBase:a.default.shape(o.propTypes)},t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=void 0;var r=n(410);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(88);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}});var a=n(184);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function get(){return _interopRequireDefault(a).default}});var o=n(411);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var s=n(72);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function get(){return _interopRequireDefault(s).default}});var u=n(135);Object.defineProperty(t,"sheets",{enumerable:!0,get:function get(){return _interopRequireDefault(u).default}});var c=n(187);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function get(){return _interopRequireDefault(c).default}});var l=_interopRequireDefault(n(417));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var p=t.create=function create(e){return new l.default(e)};t.default=p()},function(e,t,n){var r=n(139),i="Expected a function";function memoize(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(memoize.Cache||r),n}memoize.Cache=r,e.exports=memoize},function(e,t,n){var r=n(210);e.exports=function get(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r=n(440),i=n(490)(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){var r=n(549);e.exports=function isNaN(e){return r(e)&&e!=+e}},function(e,t,n){e.exports=!n(13)&&!n(4)(function(){return 7!=Object.defineProperty(n(107)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(6),i=n(14),a=n(45),o=n(109),s=n(12).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},function(e,t,n){var r=n(19),i=n(21),a=n(77)(!1),o=n(110)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,c=[];for(n in s)n!=o&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(c,n)||c.push(n));return c}},function(e,t,n){var r=n(12),i=n(5),a=n(46);e.exports=n(13)?Object.defineProperties:function defineProperties(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){var r=n(21),i=n(49).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return o.slice()}};e.exports.f=function getOwnPropertyNames(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},function(e,t,n){"use strict";var r=n(46),i=n(78),a=n(69),o=n(17),s=n(68),u=Object.assign;e.exports=!u||n(4)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function assign(e,t){for(var n=o(e),u=arguments.length,c=1,l=i.f,p=a.f;u>c;)for(var h,f=s(arguments[c++]),d=l?r(f).concat(l(f)):r(f),m=d.length,v=0;m>v;)p.call(f,h=d[v++])&&(n[h]=f[h]);return n}:u},function(e,t){e.exports=Object.is||function is(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(33),i=n(7),a=n(161),o=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i>>0||(o.test(n)?16:10))}:r},function(e,t,n){var r=n(6).parseFloat,i=n(79).trim;e.exports=1/r(n(115)+"-0")!=-1/0?function parseFloat(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(34);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(7),i=Math.floor;e.exports=function isInteger(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t){e.exports=Math.log1p||function log1p(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(48),i=n(43),a=n(54),o={};n(20)(o,n(9)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(33),i=n(17),a=n(68),o=n(11);e.exports=function(e,t,n,s,u){r(t);var c=i(e),l=a(c),p=o(c.length),h=u?p-1:0,f=u?-1:1;if(n<2)for(;;){if(h in l){s=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(s=t(s,l[h],h,c));return s}},function(e,t,n){"use strict";var r=n(17),i=n(47),a=n(11);e.exports=[].copyWithin||function copyWithin(e,t){var n=r(this),o=a(n.length),s=i(e,o),u=i(t,o),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?o:i(c,o))-u,o-s),p=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=p,u+=p;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(130);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(13)&&"g"!=/./g.flags&&n(12).f(RegExp.prototype,"flags",{configurable:!0,get:n(81)})},function(e,t,n){"use strict";var r,i,a,o,s=n(45),u=n(6),c=n(32),l=n(70),p=n(2),h=n(7),f=n(33),d=n(58),m=n(84),v=n(71),y=n(132).set,g=n(353)(),b=n(175),_=n(354),x=n(85),w=n(176),S=u.TypeError,C=u.process,E=C&&C.versions,k=E&&E.v8||"",P=u.Promise,O="process"==l(C),R=function(){},T=i=b.f,j=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[n(9)("species")]=function(e){e(R,R)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(R)instanceof t&&0!==k.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o,s=i?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(i||(2==e._h&&L(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),o=!0)),n===t.promise?c(S("Promise-chain cycle")):(a=I(n))?a.call(n,u,c):u(n)):c(r)}catch(e){l&&!o&&l.exit(),c(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){y.call(u,function(){var t,n,r,i=e._v,a=A(e);if(a&&(t=_(function(){O?C.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=O||A(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},A=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){y.call(u,function(){var t;O?C.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=I(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,c(F,r,1),c(D,r,1))}catch(e){D.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){D.call({_w:n,_d:!1},e)}}};j||(P=function Promise(e){d(this,P,"Promise","_h"),f(e),r.call(this);try{e(c(F,this,1),c(D,this,1))}catch(e){D.call(this,e)}},(r=function Promise(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(59)(P.prototype,{then:function then(e,t){var n=T(v(this,P));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=c(F,e,1),this.reject=c(D,e,1)},b.f=T=function(e){return e===P||e===o?new a(e):i(e)}),p(p.G+p.W+p.F*!j,{Promise:P}),n(54)(P,"Promise"),n(57)("Promise"),o=n(14).Promise,p(p.S+p.F*!j,"Promise",{reject:function reject(e){var t=T(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!j),"Promise",{resolve:function resolve(e){return w(s&&this===o?P:this,e)}}),p(p.S+p.F*!(j&&n(80)(function(e){P.all(e).catch(R)})),"Promise",{all:function all(e){var t=this,n=T(t),r=n.resolve,i=n.reject,a=_(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function race(e){var t=this,n=T(t),r=n.reject,i=_(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t,n){"use strict";var r=n(33);function PromiseCapability(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new PromiseCapability(e)}},function(e,t,n){var r=n(5),i=n(7),a=n(175);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(12).f,i=n(48),a=n(59),o=n(32),s=n(58),u=n(84),c=n(121),l=n(171),p=n(57),h=n(13),f=n(38).fastKey,d=n(60),m=h?"_s":"size",v=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var l=e(function(e,r){s(e,l,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&u(r,n,e[c],e)});return a(l.prototype,{clear:function clear(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=d(this,t),r=v(n,e);if(r){var i=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=i),i&&(i.p=a),n._f==r&&(n._f=i),n._l==r&&(n._l=a),n[m]--}return!!r},forEach:function forEach(e){d(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function has(e){return!!v(d(this,t),e)}}),h&&r(l.prototype,"size",{get:function(){return d(this,t)[m]}}),l},def:function(e,t,n){var r,i,a=v(e,t);return a?a.v=n:(e._l=a={i:i=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[m]++,"F"!==i&&(e._i[i]=a)),e},getEntry:v,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=d(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),p(t)}}},function(e,t,n){"use strict";var r=n(59),i=n(38).getWeak,a=n(5),o=n(7),s=n(58),u=n(84),c=n(29),l=n(19),p=n(60),h=c(5),f=c(6),d=0,m=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},y=function(e,t){return h(e.a,function(e){return e[0]===t})};v.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=d++,e._l=void 0,null!=r&&u(r,n,e[a],e)});return r(c.prototype,{delete:function(e){if(!o(e))return!1;var n=i(e);return!0===n?m(p(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function has(e){if(!o(e))return!1;var n=i(e);return!0===n?m(p(this,t)).has(e):n&&l(n,this._i)}}),c},def:function(e,t,n){var r=i(a(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(26),i=n(11);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(49),i=n(78),a=n(5),o=n(6).Reflect;e.exports=o&&o.ownKeys||function ownKeys(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(11),i=n(117),a=n(35);e.exports=function(e,t,n,o){var s=String(a(e)),u=s.length,c=void 0===n?" ":String(n),l=r(t);if(l<=u||""==c)return s;var p=l-u,h=i.call(c,Math.ceil(p/c.length));return h.length>p&&(h=h.slice(0,p)),o?h+s:s+h}},function(e,t,n){var r=n(46),i=n(21),a=n(69).f;e.exports=function(e){return function(t){for(var n,o=i(t),s=r(o),u=s.length,c=0,l=[];u>c;)a.call(o,n=s[c++])&&l.push(e?[n,o[n]]:o[n]);return l}}},function(e,t){var n,r,i=e.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(n===setTimeout)return setTimeout(e,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function runClearTimeout(e){if(r===clearTimeout)return clearTimeout(e);if((r===defaultClearTimeout||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){n=defaultSetTimout}try{r="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){r=defaultClearTimeout}}();var a,o=[],s=!1,u=-1;function cleanUpNextTick(){s&&a&&(s=!1,a.length?o=a.concat(o):u=-1,o.length&&drainQueue())}function drainQueue(){if(!s){var e=runTimeout(cleanUpNextTick);s=!0;for(var t=o.length;t;){for(a=o,o=[];++u1)for(var n=1;n=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)}},{key:"reset",value:function reset(){this.registry=[]}},{key:"remove",value:function remove(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function toString(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function get(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(413));t.default=function(e){return e&&e[r.default]&&e===e[r.default]()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function linkRule(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_interopRequireDefault(n(39)),i=(_interopRequireDefault(n(188)),_interopRequireDefault(n(416)));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,r.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var a="c",o="";return n&&(a=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(o+=n.options.jss.id)),""+a+i.default+o+e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t",lt:"<",nbsp:" ",quot:"“"},y=["style","script"],g=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,_=/mailto:/i,x=/\n{2,}$/,w=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,S=/^ *> ?/gm,C=/^ {2,}\n/,E=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,P=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,O=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,R=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,T=/^(?:\n *)*\n/,I=/\r\n?/g,M=/^\[\^(.*)\](:.*)\n/,N=/^\[\^(.*)\]/,A=/\f/g,L=/^\s*?\[(x|\s)\]/,D=/^ *(#{1,6}) *([^\n]+)\n{0,2}/,F=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,U=/^ *<([A-Za-z][^ >\/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/,B=/&([a-z]+);/g,V=/^/,z=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,W=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,q=/^\{.*\}$/,H=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,K=/^<([^ >]+@[^ >]+)>/,J=/^<([^ >]+:\/[^ >]+)>/,X=/ *\n+$/,Q=/(?:^|\n)( *)$/,G=/-([a-z])?/gi,Z=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,Y=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,$=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,ee=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,te=/^\[([^\]]*)\] ?\[([^\]]*)\]/,ne=/(\[|\])/g,re=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,ie=/\t/g,ae=/(^ *\||\| *$)/g,oe=/^ *:-+: *$/,se=/^ *:-+ *$/,ue=/^ *-+: *$/,ce=/ *\| */,le=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,pe=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1)/,he=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,fe=/^\\([^0-9A-Za-z\s])/,de=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ve=/(^\n+|(\n|\s)+$)/g,me=/^([ \t]*)/,ye=/\\([^0-9A-Z\s])/gi,ge=/^( *)((?:[*+-]|\d+\.)) +/,be=/( *)((?:[*+-]|\d+\.)) +[^\n]*(?:\n(?!\1(?:[*+-]|\d+\.) )[^\n]*)*(\n|$)/gm,_e=/^( *)((?:[*+-]|\d+\.)) [\s\S]+?(?:\n{2,}(?! )(?!\1(?:[*+-]|\d+\.) (?!(?:[*+-]|\d+\.) ))\n*|\s*\n*$)/,xe=/^\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,we=/^!\[((?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*)\]\(\s*?(?:\s+['"]([\s\S]*?)['"])?\s*\)/,Se=[w,O,P,D,F,U,V,W,be,_e,Z,Y];function containsBlockSyntax(e){return Se.some(function(t){return t.test(e)})}function slugify(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function parseTableAlignCapture(e){return ue.test(e)?"right":oe.test(e)?"center":se.test(e)?"left":null}function parseTableHeader(e,t,n){return e[1].replace(ae,"").trim().split(ce).map(function(e){return t(e,n)})}function parseTableAlign(e){return e[2].replace(ae,"").trim().split(ce).map(parseTableAlignCapture)}function parseTableCells(e,t,n){return e[3].replace(ae,"").trim().split("\n").map(function(e){return e.replace(ae,"").split(ce).map(function(e){return t(e.trim(),n)})})}function parseTable(e,t,n){n.inline=!0;var r=parseTableHeader(e,t,n),i=parseTableAlign(e),a=parseTableCells(e,t,n);return n.inline=!1,{align:i,cells:a,header:r,type:"table"}}function getTableStyle(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function normalizeAttributeKey(e){return-1!==e.indexOf("-")&&null===e.match(z)&&(e=e.replace(G,function(e,t){return t.toUpperCase()})),e}function attributeValueToJSXPropValue(e,t){return"style"===e?t.split(/;\s?/).reduce(function(e,t){var n=t.slice(0,t.indexOf(":")),r=n.replace(/(-[a-z])/g,function(e){return e[1].toUpperCase()});return e[r]=t.slice(n.length+1).trim(),e},{}):(t.match(q)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}function normalizeWhitespace(e){return e.replace(I,"\n").replace(A,"").replace(ie," ")}function parserFor(e){function b(n,r){for(var i=[],a="";n;)for(var o=0;o2?a-2:0),s=2;s1?i=d(t?"span":"div",null,r):1===r.length?"string"==typeof(i=r[0])&&(i=d("span",null,i)):i=d("span",null),i}function e(e){var t=e.match(g);return t?t.reduce(function(e,t,n){var r=t.indexOf("=");if(-1!==r){var i=normalizeAttributeKey(t.slice(0,r)).trim(),a=l()(t.slice(r+1).trim()),o=v[i]||i,u=e[o]=attributeValueToJSXPropValue(i,a);(U.test(u)||W.test(u))&&(e[o]=s.a.cloneElement(c(u.trim()),{key:n}))}else e[v[t]||t]=!0;return e},{}):void 0}(n=n||{}).overrides=n.overrides||{},n.slugify=n.slugify||slugify;var r=n.createElement||s.a.createElement;var i=[],a={},o={blockQuote:{match:blockRegex(w),order:Ee,parse:function d(e,t,n){return{content:t(e[0].replace(S,""),n)}},react:function e(t,n,r){return d("blockquote",{key:r.key},n(t.content,r))}},breakLine:{match:anyScopeRegex(C),order:Ee,parse:captureNothing,react:function e(t,n,r){return d("br",{key:r.key})}},breakThematic:{match:blockRegex(E),order:Ee,parse:captureNothing,react:function e(t,n,r){return d("hr",{key:r.key})}},codeBlock:{match:blockRegex(O),order:Ce,parse:function c(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function e(t,n,r){return d("pre",{key:r.key},d("code",{className:t.lang?"lang-"+t.lang:""},t.content))}},codeFenced:{match:blockRegex(P),order:Ce,parse:function b(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:simpleInlineRegex(R),order:Pe,parse:function b(e){return{content:e[2]}},react:function e(t,n,r){return d("code",{key:r.key},t.content)}},footnote:{match:blockRegex(M),order:Ce,parse:function b(e){return i.push({footnote:e[2],identifier:e[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(N),order:Ee,parse:function b(e){return{content:e[1],target:"#"+e[1]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target)},d("sup",{key:r.key},t.content))}},gfmTask:{match:inlineRegex(L),order:Ee,parse:function b(e){return{completed:"x"===e[1].toLowerCase()}},react:function e(t,n,r){return d("input",{checked:t.completed,key:r.key,readOnly:!0,type:"checkbox"})}},heading:{match:blockRegex(D),order:Ee,parse:function e(t,r,i){return{content:parseInline(r,t[2],i),id:n.slugify(t[2]),level:t[1].length}},react:function f(e,t,n){return d("h"+e.level,{id:e.id,key:n.key},t(e.content,n))}},headingSetext:{match:blockRegex(F),order:Ce,parse:function d(e,t,n){return{content:parseInline(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:anyScopeRegex(U),order:Ee,parse:function k(t,n,r){var i=t[3].match(me)[1],a=new RegExp("^"+i,"gm"),o=t[3].replace(a,""),s=containsBlockSyntax(o)?parseBlock:parseInline,u=-1!==y.indexOf(t[1]);return{attrs:e(t[2]),content:u?t[3]:s(n,o,r),noInnerParse:u,tag:t[1]}},react:function e(t,n,r){return d(t.tag,p({key:r.key},t.attrs),t.noInnerParse?t.content:n(t.content,r))}},htmlComment:{match:anyScopeRegex(V),order:Ee,parse:function a(){return{}},react:renderNothing},htmlSelfClosing:{match:anyScopeRegex(W),order:Ee,parse:function b(t){return{attrs:e(t[2]||""),tag:t[1]}},react:function e(t,n,r){return d(t.tag,p({},t.attrs,{key:r.key}))}},image:{match:simpleInlineRegex(we),order:Ee,parse:function b(e){return{alt:e[1],target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt||void 0,title:t.title||void 0,src:sanitizeUrl(t.target)})}},link:{match:inlineRegex(xe),order:Pe,parse:function d(e,t,n){return{content:parseSimpleInline(t,e[1],n),target:unescapeUrl(e[2]),title:e[3]}},react:function e(t,n,r){return d("a",{key:r.key,href:sanitizeUrl(t.target),title:t.title},n(t.content,r))}},linkAngleBraceStyleDetector:{match:inlineRegex(J),order:Ce,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:inlineRegex(H),order:Ce,parse:function b(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:inlineRegex(K),order:Ce,parse:function d(e){var t=e[1],n=e[1];return _.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function f(e,t,n){var r=Q.exec(n),i=t._list||!t.inline;return r&&i?(e=r[1]+e,_e.exec(e)):null},order:Ee,parse:function j(e,t,n){var r=e[2],i=r.length>1,a=i?+r:void 0,o=e[0].replace(x,"\n").match(be),s=!1;return{items:o.map(function(e,r){var i=ge.exec(e)[0].length,a=new RegExp("^ {1,"+i+"}","gm"),u=e.replace(a,"").replace(ge,""),c=r===o.length-1,l=-1!==u.indexOf("\n\n")||c&&s;s=l;var p,h=n.inline,f=n._list;n._list=!0,l?(n.inline=!1,p=u.replace(X,"\n\n")):(n.inline=!0,p=u.replace(X,""));var d=t(p,n);return n.inline=h,n._list=f,d}),ordered:i,start:a}},react:function f(e,t,n){return d(e.ordered?"ol":"ul",{key:n.key,start:e.start},e.items.map(function(e,r){return d("li",{key:r},t(e,n))}))}},newlineCoalescer:{match:blockRegex(T),order:Pe,parse:captureNothing,react:function a(){return"\n"}},paragraph:{match:blockRegex(Y),order:Pe,parse:parseCaptureInline,react:function e(t,n,r){return d("p",{key:r.key},n(t.content,r))}},ref:{match:inlineRegex($),order:Ce,parse:function b(e){return a[e[1]]={target:e[2],title:e[4]},{}},react:renderNothing},refImage:{match:simpleInlineRegex(ee),order:Ce,parse:function b(e){return{alt:e[1]||void 0,ref:e[2]}},react:function e(t,n,r){return d("img",{key:r.key,alt:t.alt,src:sanitizeUrl(a[t.ref].target),title:a[t.ref].title})}},refLink:{match:inlineRegex(te),order:Ce,parse:function d(e,t,n){return{content:t(e[1],n),fallbackContent:t(e[0].replace(ne,"\\$1"),n),ref:e[2]}},react:function e(t,n,r){return a[t.ref]?d("a",{key:r.key,href:sanitizeUrl(a[t.ref].target),title:a[t.ref].title},n(t.content,r)):d("span",null,n(t.fallbackContent,r))}},table:{match:blockRegex(Z),order:Ee,parse:parseTable,react:function f(e,t,n){return d("table",{key:n.key},d("thead",null,d("tr",null,e.header.map(function(r,i){return d("th",{key:i,style:getTableStyle(e,i)},t(r,n))}))),d("tbody",null,e.cells.map(function(r,i){return d("tr",{key:i},r.map(function(r,i){return d("td",{key:i,style:getTableStyle(e,i)},t(r,n))}))})))}},text:{match:anyScopeRegex(de),order:Oe,parse:function b(e){return{content:e[0].replace(B,function(e,t){return m[t]?m[t]:e})}},react:function b(e){return e.content}},textBolded:{match:simpleInlineRegex(le),order:ke,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("strong",{key:r.key},n(t.content,r))}},textEmphasized:{match:simpleInlineRegex(pe),order:Pe,parse:function d(e,t,n){return{content:t(e[2],n)}},react:function e(t,n,r){return d("em",{key:r.key},n(t.content,r))}},textEscaped:{match:simpleInlineRegex(fe),order:Ee,parse:function b(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:simpleInlineRegex(he),order:Pe,parse:parseCaptureInline,react:function e(t,n,r){return d("del",{key:r.key},n(t.content,r))}}},u=parserFor(o),h=reactFor(ruleOutput(o)),j=c(t);return i.length&&j.props.children.push(d("footer",null,i.map(function(e){return d("div",{id:e.identifier,key:e.identifier},e.identifier,h(u(e.footnote,{inline:!0})))}))),j}var Re=r(105),Te=r(31),je=r(65),Ie=r(3),Me=r(62);function MarkdownHeadingRenderer(e){var t=e.classes,n=e.level,r=e.children;return s.a.createElement("div",{className:t.spacing},s.a.createElement(Me.a,{level:n},r))}MarkdownHeadingRenderer.propTypes={classes:a.a.object.isRequired,level:a.a.oneOf([1,2,3,4,5,6]).isRequired,children:a.a.node};var Ne=Object(Ie.a)(function styles(e){return{spacing:{marginBottom:e.space[2]}}})(MarkdownHeadingRenderer),Ae=r(8),Le=r.n(Ae);function ListRenderer(e){var t=e.classes,n=e.ordered,r=e.children,i=n?"ol":"ul",a=Le()(t.list,n&&t.ordered);return s.a.createElement(i,{className:a},o.Children.map(r,function(e){return Object(o.cloneElement)(e,{className:t.li})}))}ListRenderer.propTypes={classes:a.a.object.isRequired,ordered:a.a.bool,children:a.a.node.isRequired},ListRenderer.defaultProps={ordered:!1};var De=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily;return{list:{marginTop:0,marginBottom:t[2],paddingLeft:t[3],fontSize:"inherit"},ordered:{listStyleType:"decimal"},li:{color:n.base,fontFamily:r.base,fontSize:"inherit",lineHeight:1.5,listStyleType:"inherit"}}})(ListRenderer);function BlockquoteRenderer(e){var t=e.classes,n=e.className,r=e.children,i=Le()(t.blockquote,n);return s.a.createElement("blockquote",{className:i},r)}BlockquoteRenderer.propTypes={classes:a.a.object.isRequired,className:a.a.string,children:a.a.node.isRequired};var Fe=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{blockquote:{margin:[[t[2],t[4]]],padding:0,color:n.base,fontFamily:i.base,fontSize:r.base,lineHeight:1.5}}})(BlockquoteRenderer);function PreRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("pre",{className:t.pre},n)}PreRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Ue=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily,a=e.borderRadius;return{pre:{fontFamily:i.base,fontSize:r.small,lineHeight:1.5,color:n.base,whiteSpace:"pre",backgroundColor:n.codeBackground,padding:[[t[1],t[2]]],border:[[1,n.border,"solid"]],borderRadius:a,marginTop:0,marginBottom:t[2]}}})(PreRenderer),Be=r(67),Ve=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function CheckboxRenderer(e){var t=e.classes,n=CheckboxRenderer_objectWithoutProperties(e,["classes"]);return s.a.createElement("input",Ve({},n,{type:"checkbox",className:t.input}))}CheckboxRenderer.propTypes={classes:a.a.object.isRequired};var ze=Object(Ie.a)(function styles(){return{input:{isolate:!1,display:"inline-block",verticalAlign:"middle"}}})(CheckboxRenderer);function HrRenderer(e){var t=e.classes;return s.a.createElement("hr",{className:t.hr})}HrRenderer.propTypes={classes:a.a.object.isRequired};var We=Object(Ie.a)(function styles(e){var t=e.space;return{hr:{borderBottom:[[1,e.color.border,"solid"]],marginTop:0,marginBottom:t[2]}}})(HrRenderer);function DetailsRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("details",{className:t.details},n)}DetailsRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var qe=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{details:{marginBottom:t[2],fontFamily:i.base,fontSize:r.base,color:n.base}}})(DetailsRenderer);function DetailsSummaryRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("summary",{className:t.summary},n)}DetailsSummaryRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var He=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{summary:{marginBottom:t[1],fontFamily:i.base,fontSize:r.base,color:n.base,cursor:"pointer","&:focus":{isolate:!1,outline:[[1,"dotted",n.linkHover]],outlineOffset:2}}}})(DetailsSummaryRenderer);function TableRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("table",{className:t.table},n)}TableRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Ke=Object(Ie.a)(function styles(e){return{table:{marginTop:0,marginBottom:e.space[2],borderCollapse:"collapse"}}})(TableRenderer);function TableHeadRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("thead",{className:t.thead},n)}TableHeadRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired};var Je=Object(Ie.a)(function styles(e){return{thead:{borderBottom:[[1,e.color.border,"solid"]]}}})(TableHeadRenderer);function TableBodyRenderer(e){var t=e.children;return s.a.createElement("tbody",null,t)}TableBodyRenderer.propTypes={children:a.a.node.isRequired};var Xe=TableBodyRenderer;function TableRowRenderer(e){var t=e.children;return s.a.createElement("tr",null,t)}TableRowRenderer.propTypes={children:a.a.node.isRequired};var Qe=TableRowRenderer;function TableCellRenderer(e){var t=e.classes,n=e.header,r=e.children;return n?s.a.createElement("th",{className:t.th},r):s.a.createElement("td",{className:t.td},r)}TableCellRenderer.propTypes={classes:a.a.object.isRequired,header:a.a.bool,children:a.a.node.isRequired},TableCellRenderer.defaultProps={header:!1};var Ge=Object(Ie.a)(function styles(e){var t=e.space,n=e.color,r=e.fontSize,i=e.fontFamily;return{td:{padding:[[t[0],t[2],t[0],0]],fontFamily:i.base,fontSize:r.base,color:n.base,lineHeight:1.5},th:{composes:"$td",fontWeight:"bold"}}})(TableCellRenderer),Ze=Object.assign||function(e){for(var t=1;t0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(5),i=n(153),a=n(37),o=Object.defineProperty;t.f=n(13)?Object.defineProperty:function defineProperty(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=e.exports={version:"2.6.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";n.d(t,"c",function(){return unquote}),n.d(t,"a",function(){return getType}),n.d(t,"b",function(){return showSpaces});var r=Object.assign||function(e){for(var t=1;t"+i+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(12),i=n(43);e.exports=n(13)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(68),i=n(35);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(190),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(69),i=n(43),a=n(21),o=n(37),s=n(19),u=n(153),c=Object.getOwnPropertyDescriptor;t.f=n(13)?c:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=o(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(2),i=n(14),a=n(4);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){var r=n(32),i=n(68),a=n(17),o=n(11),s=n(332);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,p=6==e,h=5==e||p,f=t||s;return function(t,s,d){for(var v,m,y=a(t),g=i(y),b=r(s,d,3),_=o(g.length),x=0,w=n?f(t,_):u?f(t,0):void 0;_>x;x++)if((h||x in g)&&(m=b(v=g[x],x,y),e))if(n)w[x]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:w.push(v)}else if(l)return!1;return p?-1:c||l?l:w}}},function(e,t){e.exports=function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(8),c=n.n(u),l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function TextRenderer(e){var t,n=e.classes,r=e.semantic,a=e.size,o=e.color,s=e.underlined,u=e.children,p=_objectWithoutProperties(e,["classes","semantic","size","color","underlined","children"]),h=r||"span",f=c()(n.text,n[a+"Size"],n[o+"Color"],(_defineProperty(t={},n[r],r),_defineProperty(t,n.isUnderlined,s),t));return i.a.createElement(h,l({},p,{className:f}),u)}TextRenderer.propTypes={classes:o.a.object.isRequired,semantic:o.a.oneOf(["em","strong"]),size:o.a.oneOf(["inherit","small","base","text"]),color:o.a.oneOf(["base","light"]),underlined:o.a.bool,children:o.a.node.isRequired},TextRenderer.defaultProps={size:"inherit",color:"base",underlined:!1};var p=Object(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{text:{fontFamily:t.base},inheritSize:{fontSize:"inherit"},smallSize:{fontSize:n.small},baseSize:{fontSize:n.base},textSize:{fontSize:n.text},baseColor:{color:r.base},lightColor:{color:r.light},em:{fontStyle:"italic"},strong:{fontWeight:"bold"},isUnderlined:{borderBottom:[[1,"dotted",r.lightest]]}}})(TextRenderer);n.d(t,"a",function(){return p})},function(e,t,n){var r=n(33);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(13)){var r=n(45),i=n(6),a=n(4),o=n(2),s=n(87),u=n(133),c=n(32),l=n(58),p=n(43),h=n(20),f=n(59),d=n(26),v=n(11),m=n(179),y=n(47),g=n(37),b=n(19),_=n(70),x=n(7),w=n(17),S=n(125),C=n(48),E=n(50),k=n(49).f,P=n(127),O=n(44),R=n(9),T=n(29),j=n(77),I=n(71),M=n(129),N=n(55),A=n(80),L=n(57),D=n(128),F=n(170),U=n(12),B=n(27),V=U.f,z=B.f,W=i.RangeError,q=i.TypeError,H=i.Uint8Array,K=Array.prototype,J=u.ArrayBuffer,X=u.DataView,Q=T(0),G=T(2),Z=T(3),Y=T(4),$=T(5),ee=T(6),te=j(!0),ne=j(!1),re=M.values,ie=M.keys,ae=M.entries,oe=K.lastIndexOf,se=K.reduce,ue=K.reduceRight,ce=K.join,le=K.sort,pe=K.slice,he=K.toString,fe=K.toLocaleString,de=R("iterator"),ve=R("toStringTag"),me=O("typed_constructor"),ye=O("def_constructor"),ge=s.CONSTR,be=s.TYPED,_e=s.VIEW,xe=T(1,function(e,t){return ke(I(e,e[ye]),t)}),we=a(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),Se=!!H&&!!H.prototype.set&&a(function(){new H(1).set({})}),Ce=function(e,t){var n=d(e);if(n<0||n%t)throw W("Wrong offset!");return n},Ee=function(e){if(x(e)&&be in e)return e;throw q(e+" is not a typed array!")},ke=function(e,t){if(!(x(e)&&me in e))throw q("It is not a typed array constructor!");return new e(t)},Pe=function(e,t){return Oe(I(e,e[ye]),t)},Oe=function(e,t){for(var n=0,r=t.length,i=ke(e,r);r>n;)i[n]=t[n++];return i},Re=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Te=function from(e){var t,n,r,i,a,o,s=w(e),u=arguments.length,l=u>1?arguments[1]:void 0,p=void 0!==l,h=P(s);if(null!=h&&!S(h)){for(o=h.call(s),r=[],t=0;!(a=o.next()).done;t++)r.push(a.value);s=r}for(p&&u>2&&(l=c(l,arguments[2],2)),t=0,n=v(s.length),i=ke(this,n);n>t;t++)i[t]=p?l(s[t],t):s[t];return i},je=function of(){for(var e=0,t=arguments.length,n=ke(this,t);t>e;)n[e]=arguments[e++];return n},Ie=!!H&&a(function(){fe.call(new H(1))}),Me=function toLocaleString(){return fe.apply(Ie?pe.call(Ee(this)):Ee(this),arguments)},Ne={copyWithin:function copyWithin(e,t){return F.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function every(e){return Y(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function fill(e){return D.apply(Ee(this),arguments)},filter:function filter(e){return Pe(this,G(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function find(e){return $(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(e){Q(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function includes(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function join(e){return ce.apply(Ee(this),arguments)},lastIndexOf:function lastIndexOf(e){return oe.apply(Ee(this),arguments)},map:function map(e){return xe(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(e){return se.apply(Ee(this),arguments)},reduceRight:function reduceRight(e){return ue.apply(Ee(this),arguments)},reverse:function reverse(){for(var e,t=Ee(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function sort(e){return le.call(Ee(this),e)},subarray:function subarray(e,t){var n=Ee(this),r=n.length,i=y(e,r);return new(I(n,n[ye]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===t?r:y(t,r))-i))}},Ae=function slice(e,t){return Pe(this,pe.call(Ee(this),e,t))},Le=function set(e){Ee(this);var t=Ce(arguments[1],1),n=this.length,r=w(e),i=v(r.length),a=0;if(i+t>n)throw W("Wrong length!");for(;a255?255:255&r),i.v[f](n*t+i.o,r,we)},R=function(e,t){V(e,t,{get:function(){return P(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};b?(d=n(function(e,n,r,i){l(e,d,c,"_d");var a,o,s,u,p=0,f=0;if(x(n)){if(!(n instanceof J||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return be in n?Oe(d,n):Te.call(d,n);a=n,f=Ce(r,t);var y=n.byteLength;if(void 0===i){if(y%t)throw W("Wrong length!");if((o=y-f)<0)throw W("Wrong length!")}else if((o=v(i)*t)+f>y)throw W("Wrong length!");s=o/t}else s=m(n),a=new J(o=s*t);for(h(e,"_d",{b:a,o:f,l:o,e:s,v:new X(a)});pdocument.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[a[r]];return u()};e.exports=Object.create||function create(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=u(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(155),i=n(111).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,i)}},function(e,t,n){var r=n(19),i=n(17),a=n(110)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(451),i=n(456);e.exports=function getNative(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(92),i=n(452),a=n(453),o="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function baseGetTag(e){return null==e?void 0===e?s:o:u&&u in Object(e)?i(e):a(e)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(8),c=n.n(u);function NameRenderer(e){var t,n,r,a=e.classes,o=e.children,s=e.deprecated,u=c()(a.name,(t={},n=a.isDeprecated,r=s,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t));return i.a.createElement("code",{className:u},o)}NameRenderer.propTypes={classes:o.a.object.isRequired,children:o.a.node.isRequired,deprecated:o.a.bool};var l=Object(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{name:{fontFamily:t.monospace,fontSize:n.small,color:r.name},isDeprecated:{color:r.light,textDecoration:"line-through"}}})(NameRenderer);n.d(t,"a",function(){return l})},function(e,t,n){var r=n(12).f,i=n(19),a=n(9)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(9)("unscopables"),i=Array.prototype;null==i[r]&&n(20)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){"use strict";var r=n(6),i=n(12),a=n(13),o=n(9)("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(16);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(7);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function HeadingRenderer(e){var t=e.classes,n=e.level,r=e.children,a=_objectWithoutProperties(e,["classes","level","children"]),o="h"+n,s=u()(t.heading,t["heading"+n]);return i.a.createElement(o,l({},a,{className:s}),r)}HeadingRenderer.propTypes={classes:o.a.object.isRequired,level:o.a.oneOf([1,2,3,4,5,6]).isRequired,children:o.a.node};var p=Object(c.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{heading:{margin:0,color:t.base,fontFamily:n.base,fontWeight:"normal"},heading1:{fontSize:r.h1},heading2:{fontSize:r.h2},heading3:{fontSize:r.h3},heading4:{fontSize:r.h4},heading5:{fontSize:r.h5,fontWeight:"bold"},heading6:{fontSize:r.h6,fontStyle:"italic"}}})(HeadingRenderer);n.d(t,"a",function(){return p})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3),u=n(10),c=n(53),l=n(42),p=n(76),h=n.n(p),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ArgumentRenderer(e){var t=e.classes,n=e.name,r=e.type,a=e.description,o=e.returns,s=e.block,p=_objectWithoutProperties(e,["classes","name","type","description","returns","block"]),d=r&&"OptionalType"===r.type,v=p.default;return d&&(r=r.expression),i.a.createElement(h.a,f({className:s&&t.block},p),o&&"Returns",n&&i.a.createElement("span",null,i.a.createElement(c.a,null,n),r&&":"),r&&i.a.createElement(l.a,null,r.name,d&&"?",!!v&&"="+v),r&&a&&" — ",a&&i.a.createElement(u.a,{text:""+a,inline:!0}))}ArgumentRenderer.propTypes={classes:o.a.object.isRequired,name:o.a.string,type:o.a.object,default:o.a.string,description:o.a.string,returns:o.a.bool,block:o.a.bool};var d=Object(s.a)(function styles(e){return{block:{marginBottom:e.space[2]}}})(ArgumentRenderer);n.d(t,"a",function(){return d})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(10),u=n(224),c=n.n(u),l=function plural(e,t){return 1===e.length?t:t+"s"},p=function list(e){return e.map(function(e){return e.description}).join(", ")},h=function paragraphs(e){return e.map(function(e){return e.description}).join("\n\n")},f={deprecated:function deprecated(e){return"**Deprecated:** "+e[0].description},see:function see(e){return h(e)},link:function link(e){return h(e)},author:function author(e){return l(e,"Author")+": "+p(e)},version:function version(e){return"Version: "+e[0].description},since:function since(e){return"Since: "+e[0].description}};function getMarkdown(e){return c()(f,function(t,n){return e[n]&&t(e[n])}).filter(Boolean).join("\n\n")}function JsDoc(e){var t=getMarkdown(e);return t?i.a.createElement(s.a,{text:t}):null}JsDoc.propTypes={deprecated:o.a.array,see:o.a.array,link:o.a.array,author:o.a.array,version:o.a.array,since:o.a.array},n.d(t,"a",function(){return JsDoc})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(3);function ParaRenderer(e){var t=e.classes,n=e.semantic,r=e.children,a=n||"div";return i.a.createElement(a,{className:t.para},r)}ParaRenderer.propTypes={classes:o.a.object.isRequired,semantic:o.a.oneOf(["p"]),children:o.a.node.isRequired};var u=Object(s.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily;return{para:{marginTop:0,marginBottom:t[2],color:n.base,fontFamily:r.base,fontSize:"inherit",lineHeight:1.5}}})(ParaRenderer);n.d(t,"a",function(){return u})},function(e,t,n){var r=n(206),i=n(207),a=n(96),o=n(25),s=n(41),u=n(97),c=n(95),l=n(98),p="[object Map]",h="[object Set]",f=Object.prototype.hasOwnProperty;e.exports=function isEmpty(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==h)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(8),u=n.n(s),c=n(3);function CodeRenderer(e){var t=e.classes,n=e.className,r=e.children,a=u()(n,t.code);return n&&-1!==n.indexOf("lang-")?i.a.createElement("code",{className:a,dangerouslySetInnerHTML:{__html:r}}):i.a.createElement("code",{className:a},r)}CodeRenderer.propTypes={classes:o.a.object.isRequired,className:o.a.string,children:o.a.node.isRequired};var l=Object(c.a)(function styles(e){return{code:{fontFamily:e.fontFamily.monospace,fontSize:"inherit",color:"inherit",background:"transparent",whiteSpace:"inherit"}}})(CodeRenderer);n.d(t,"a",function(){return l})},function(e,t,n){var r=n(34);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(34),i=n(9)("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),i))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(5),i=n(33),a=n(9)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||null==(n=r(o)[a])?t:i(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&(n=[t.shift()],t.forEach(function(e,t){if(a){var o="separator-"+(e.key||t);i=r.cloneElement(i,{key:o})}return n.push(i,e)})),r.createElement(e.inline?"span":"div",{className:e.className},n)}Group.propTypes={children:i.node,inline:i.bool,separator:i.node,className:i.string},Group.defaultProps={separator:" "},e.exports=Group},function(e,t,n){var r=n(21),i=n(11),a=n(47);e.exports=function(e){return function(t,n,o){var s,u=r(t),c=i(u.length),l=a(o,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(2),i=n(35),a=n(4),o=n(115),s="["+o+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(e,t,n){var i={},s=a(function(){return!!o[e]()||"​…"!="​…"[e]()}),u=i[e]=s?t(p):o[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},p=l.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=l},function(e,t,n){var r=n(9)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(5);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(70),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(172);var r=n(16),i=n(20),a=n(4),o=n(35),s=n(9),u=n(130),c=s("species"),l=!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),p=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!a(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),d=f?!a(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!t}):void 0;if(!f||!d||"replace"===e&&!l||"split"===e&&!p){var v=/./[h],m=n(o,h,""[e],function maybeCallNative(e,t,n,r,i){return t.exec===u?f&&!i?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),y=m[0],g=m[1];r(String.prototype,e,y),i(RegExp.prototype,h,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}}},function(e,t,n){var r=n(32),i=n(168),a=n(125),o=n(5),s=n(11),u=n(127),c={},l={};(t=e.exports=function(e,t,n,p,h){var f,d,v,m,y=h?function(){return e}:u(e),g=r(n,p,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(f=s(e.length);f>b;b++)if((m=t?g(o(d=e[b])[0],d[1]):g(e[b]))===c||m===l)return m}else for(v=y.call(e);!(d=v.next()).done;)if((m=i(v,g,d.value,t))===c||m===l)return m}).BREAK=c,t.RETURN=l},function(e,t,n){var r=n(6).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(6),i=n(2),a=n(16),o=n(59),s=n(38),u=n(84),c=n(58),l=n(7),p=n(4),h=n(80),f=n(54),d=n(116);e.exports=function(e,t,n,v,m,y){var g=r[e],b=g,_=m?"set":"add",x=b&&b.prototype,w={},S=function(e){var t=x[e];a(x,e,"delete"==e?function(e){return!(y&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function has(e){return!(y&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function get(e){return y&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function add(e){return t.call(this,0===e?0:e),this}:function set(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(y||x.forEach&&!p(function(){(new b).entries().next()}))){var C=new b,E=C[_](y?{}:-0,1)!=C,k=p(function(){C.has(1)}),P=h(function(e){new b(e)}),O=!y&&p(function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)});P||((b=t(function(t,n){c(t,b,e);var r=d(new g,t,b);return null!=n&&u(n,m,r[_],r),r})).prototype=x,x.constructor=b),(k||O)&&(S("delete"),S("has"),m&&S("get")),(O||E)&&S(_),y&&x.clear&&delete x.clear}else b=v.getConstructor(t,e,m,_),o(b.prototype,n),s.NEED=!0;return f(b,e),w[e]=b,i(i.G+i.W+i.F*(b!=g),w),y||v.setStrong(b,e,m),b}},function(e,t,n){for(var r,i=n(6),a=n(20),o=n(44),s=o("typed_array"),u=o("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,p=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=i[h[p++]])?(a(r.prototype,s,!0),a(r.prototype,u,!0)):l=!1;e.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCssValue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],o=n.jss,s=(0,a.default)(t),u=o.plugins.onCreateRule(e,s,n);if(u)return u;"@"===e[0]&&(0,r.default)(!1,"[JSS] Unknown at-rule %s",e);return new i.default(e,s,n)};var r=_interopRequireDefault(n(39)),i=_interopRequireDefault(n(61)),a=_interopRequireDefault(n(412));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(441),i=n(442),a=n(443),o=n(444),s=n(445);function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function LinkRenderer(e){var t=e.classes,n=e.children,r=_objectWithoutProperties(e,["classes","children"]);return i.a.createElement("a",l({},r,{className:u()(t.link,r.className)}),n)}LinkRenderer.propTypes={children:o.a.node,className:o.a.string,classes:o.a.object.isRequired};var p=Object(c.a)(function styles(e){var t=e.color;return{link:{"&, &:link, &:visited":{fontSize:"inherit",color:t.link,textDecoration:"none"},"&:hover, &:active":{isolate:!1,color:t.linkHover,cursor:"pointer"}}}})(LinkRenderer);n.d(t,"a",function(){return p})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(0),o=n.n(a),s=n(63),u=n(62),c=n(3),l=Object.assign||function(e){for(var t=1;t0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function sign(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function expm1(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(26),i=n(35);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(45),i=n(2),a=n(16),o=n(20),s=n(55),u=n(167),c=n(54),l=n(50),p=n(9)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,d,v,m,y){u(n,t,d);var g,b,_,x=function(e){if(!h&&e in E)return E[e];switch(e){case"keys":return function keys(){return new n(this,e)};case"values":return function values(){return new n(this,e)}}return function entries(){return new n(this,e)}},w=t+" Iterator",S="values"==v,C=!1,E=e.prototype,k=E[p]||E["@@iterator"]||v&&E[v],P=k||x(v),O=v?S?x("entries"):P:void 0,R="Array"==t&&E.entries||k;if(R&&(_=l(R.call(new e)))!==Object.prototype&&_.next&&(c(_,w,!0),r||"function"==typeof _[p]||o(_,p,f)),S&&k&&"values"!==k.name&&(C=!0,P=function values(){return k.call(this)}),r&&!y||!h&&!C&&E[p]||o(E,p,P),s[t]=P,s[w]=f,v)if(g={values:S?P:x("values"),keys:m?P:x("keys"),entries:O},y)for(b in g)b in E||a(E,b,g[b]);else i(i.P+i.F*(h||C),t,g);return g}},function(e,t,n){var r=n(123),i=n(35);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(7),i=n(34),a=n(9)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(9)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(55),i=n(9)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(12),i=n(43);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(70),i=n(9)("iterator"),a=n(55);e.exports=n(14).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[r(e)]}},function(e,t,n){"use strict";var r=n(17),i=n(47),a=n(11);e.exports=function fill(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),u=o>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(56),i=n(171),a=n(55),o=n(21);e.exports=n(121)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,i,a=n(81),o=RegExp.prototype.exec,s=String.prototype.replace,u=o,c=(r=/a/,i=/b*/g,o.call(r,"a"),o.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function exec(e){var t,n,r,i,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",a.call(u))),c&&(t=u.lastIndex),r=o.call(u,e),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),l&&r&&r.length>1&&s.call(r[0],n,function(){for(i=1;in;)t.push(arguments[n++]);return y[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},f=function clearImmediate(e){delete y[e]},"process"==n(34)(p)?r=function(e){p.nextTick(o(g,e,1))}:v&&v.now?r=function(e){v.now(o(g,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(e)}}:function(e){setTimeout(o(g,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,n){"use strict";var r=n(6),i=n(13),a=n(45),o=n(87),s=n(20),u=n(59),c=n(4),l=n(58),p=n(26),h=n(11),f=n(179),d=n(49).f,v=n(12).f,m=n(128),y=n(54),g="prototype",b="Wrong index!",_=r.ArrayBuffer,x=r.DataView,w=r.Math,S=r.RangeError,C=r.Infinity,E=_,k=w.abs,P=w.pow,O=w.floor,R=w.log,T=w.LN2,j=i?"_b":"buffer",I=i?"_l":"byteLength",M=i?"_o":"byteOffset";function packIEEE754(e,t,n){var r,i,a,o=new Array(n),s=8*n-t-1,u=(1<>1,l=23===t?P(2,-24)-P(2,-77):0,p=0,h=e<0||0===e&&1/e<0?1:0;for((e=k(e))!=e||e===C?(i=e!=e?1:0,r=u):(r=O(R(e)/T),e*(a=P(2,-r))<1&&(r--,a*=2),(e+=r+c>=1?l/a:l*P(2,1-c))*a>=2&&(r++,a/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(e*a-1)*P(2,t),r+=c):(i=e*P(2,c-1)*P(2,t),r=0));t>=8;o[p++]=255&i,i/=256,t-=8);for(r=r<0;o[p++]=255&r,r/=256,s-=8);return o[--p]|=128*h,o}function unpackIEEE754(e,t,n){var r,i=8*n-t-1,a=(1<>1,s=i-7,u=n-1,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===l)l=1-o;else{if(l===a)return r?NaN:c?-C:C;r+=P(2,t),l-=o}return(c?-1:1)*r*P(2,l-t)}function unpackI32(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function packI8(e){return[255&e]}function packI16(e){return[255&e,e>>8&255]}function packI32(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function packF64(e){return packIEEE754(e,52,8)}function packF32(e){return packIEEE754(e,23,4)}function addGetter(e,t,n){v(e[g],t,{get:function(){return this[n]}})}function get(e,t,n,r){var i=f(+n);if(i+t>e[I])throw S(b);var a=e[j]._b,o=i+e[M],s=a.slice(o,o+t);return r?s:s.reverse()}function set(e,t,n,r,i,a){var o=f(+n);if(o+t>e[I])throw S(b);for(var s=e[j]._b,u=o+e[M],c=r(+i),l=0;lD;)(N=L[D++])in _||s(_,N,E[N]);a||(A.constructor=_)}var F=new x(new _(2)),U=x[g].setInt8;F.setInt8(0,2147483648),F.setInt8(1,2147483649),!F.getInt8(0)&&F.getInt8(1)||u(x[g],{setInt8:function setInt8(e,t){U.call(this,e,t<<24>>24)},setUint8:function setUint8(e,t){U.call(this,e,t<<24>>24)}},!0)}else _=function ArrayBuffer(e){l(this,_,"ArrayBuffer");var t=f(e);this._b=m.call(new Array(t),0),this[I]=t},x=function DataView(e,t,n){l(this,x,"DataView"),l(e,_,"DataView");var r=e[I],i=p(t);if(i<0||i>r)throw S("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw S("Wrong length!");this[j]=e,this[M]=i,this[I]=n},i&&(addGetter(_,"byteLength","_l"),addGetter(x,"buffer","_b"),addGetter(x,"byteLength","_l"),addGetter(x,"byteOffset","_o")),u(x[g],{getInt8:function getInt8(e){return get(this,1,e)[0]<<24>>24},getUint8:function getUint8(e){return get(this,1,e)[0]},getInt16:function getInt16(e){var t=get(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function getUint16(e){var t=get(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function getInt32(e){return unpackI32(get(this,4,e,arguments[1]))},getUint32:function getUint32(e){return unpackI32(get(this,4,e,arguments[1]))>>>0},getFloat32:function getFloat32(e){return unpackIEEE754(get(this,4,e,arguments[1]),23,4)},getFloat64:function getFloat64(e){return unpackIEEE754(get(this,8,e,arguments[1]),52,8)},setInt8:function setInt8(e,t){set(this,1,e,packI8,t)},setUint8:function setUint8(e,t){set(this,1,e,packI8,t)},setInt16:function setInt16(e,t){set(this,2,e,packI16,t,arguments[2])},setUint16:function setUint16(e,t){set(this,2,e,packI16,t,arguments[2])},setInt32:function setInt32(e,t){set(this,4,e,packI32,t,arguments[2])},setUint32:function setUint32(e,t){set(this,4,e,packI32,t,arguments[2])},setFloat32:function setFloat32(e,t){set(this,4,e,packF32,t,arguments[2])},setFloat64:function setFloat64(e,t){set(this,8,e,packF64,t,arguments[2])}});y(_,"ArrayBuffer"),y(x,"DataView"),s(x[g],o.VIEW,!0),t.ArrayBuffer=_,t.DataView=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCss(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="";if(!t)return i;var a=n.indent,o=void 0===a?0:a,s=t.fallbacks;if(o++,s)if(Array.isArray(s))for(var u=0;u-1&&e%1==0&&e<=n}},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function isIndex(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=function IconBase(e,t){var n=e.children,a=e.color,o=e.size,s=e.style,u=e.width,c=e.height,l=_objectWithoutProperties(e,["children","color","size","style","width","height"]),p=t.reactIconBase,h=void 0===p?{}:p,f=o||h.size||"1em";return i.default.createElement("svg",r({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:c||f,width:u||f},h,l,{style:r({verticalAlign:"middle",color:a||h.color},h.style||{},s)}))};o.propTypes={color:a.default.string,size:a.default.oneOfType([a.default.string,a.default.number]),width:a.default.oneOfType([a.default.string,a.default.number]),height:a.default.oneOfType([a.default.string,a.default.number]),style:a.default.object},o.contextTypes={reactIconBase:a.default.shape(o.propTypes)},t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=void 0;var r=n(410);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(88);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}});var a=n(184);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function get(){return _interopRequireDefault(a).default}});var o=n(411);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var s=n(72);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function get(){return _interopRequireDefault(s).default}});var u=n(135);Object.defineProperty(t,"sheets",{enumerable:!0,get:function get(){return _interopRequireDefault(u).default}});var c=n(187);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function get(){return _interopRequireDefault(c).default}});var l=_interopRequireDefault(n(417));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var p=t.create=function create(e){return new l.default(e)};t.default=p()},function(e,t,n){var r=n(139),i="Expected a function";function memoize(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(memoize.Cache||r),n}memoize.Cache=r,e.exports=memoize},function(e,t,n){var r=n(210);e.exports=function get(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r=n(440),i=n(490)(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){var r=n(549);e.exports=function isNaN(e){return r(e)&&e!=+e}},function(e,t,n){e.exports=!n(13)&&!n(4)(function(){return 7!=Object.defineProperty(n(107)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(6),i=n(14),a=n(45),o=n(109),s=n(12).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},function(e,t,n){var r=n(19),i=n(21),a=n(77)(!1),o=n(110)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,c=[];for(n in s)n!=o&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(c,n)||c.push(n));return c}},function(e,t,n){var r=n(12),i=n(5),a=n(46);e.exports=n(13)?Object.defineProperties:function defineProperties(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){var r=n(21),i=n(49).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return o.slice()}};e.exports.f=function getOwnPropertyNames(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},function(e,t,n){"use strict";var r=n(46),i=n(78),a=n(69),o=n(17),s=n(68),u=Object.assign;e.exports=!u||n(4)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function assign(e,t){for(var n=o(e),u=arguments.length,c=1,l=i.f,p=a.f;u>c;)for(var h,f=s(arguments[c++]),d=l?r(f).concat(l(f)):r(f),v=d.length,m=0;v>m;)p.call(f,h=d[m++])&&(n[h]=f[h]);return n}:u},function(e,t){e.exports=Object.is||function is(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(33),i=n(7),a=n(161),o=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i>>0||(o.test(n)?16:10))}:r},function(e,t,n){var r=n(6).parseFloat,i=n(79).trim;e.exports=1/r(n(115)+"-0")!=-1/0?function parseFloat(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(34);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(7),i=Math.floor;e.exports=function isInteger(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t){e.exports=Math.log1p||function log1p(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(48),i=n(43),a=n(54),o={};n(20)(o,n(9)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(33),i=n(17),a=n(68),o=n(11);e.exports=function(e,t,n,s,u){r(t);var c=i(e),l=a(c),p=o(c.length),h=u?p-1:0,f=u?-1:1;if(n<2)for(;;){if(h in l){s=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(s=t(s,l[h],h,c));return s}},function(e,t,n){"use strict";var r=n(17),i=n(47),a=n(11);e.exports=[].copyWithin||function copyWithin(e,t){var n=r(this),o=a(n.length),s=i(e,o),u=i(t,o),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?o:i(c,o))-u,o-s),p=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=p,u+=p;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(130);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(13)&&"g"!=/./g.flags&&n(12).f(RegExp.prototype,"flags",{configurable:!0,get:n(81)})},function(e,t,n){"use strict";var r,i,a,o,s=n(45),u=n(6),c=n(32),l=n(70),p=n(2),h=n(7),f=n(33),d=n(58),v=n(84),m=n(71),y=n(132).set,g=n(353)(),b=n(175),_=n(354),x=n(85),w=n(176),S=u.TypeError,C=u.process,E=C&&C.versions,k=E&&E.v8||"",P=u.Promise,O="process"==l(C),R=function(){},T=i=b.f,j=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[n(9)("species")]=function(e){e(R,R)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(R)instanceof t&&0!==k.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o,s=i?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(i||(2==e._h&&L(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),o=!0)),n===t.promise?c(S("Promise-chain cycle")):(a=I(n))?a.call(n,u,c):u(n)):c(r)}catch(e){l&&!o&&l.exit(),c(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){y.call(u,function(){var t,n,r,i=e._v,a=A(e);if(a&&(t=_(function(){O?C.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=O||A(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},A=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){y.call(u,function(){var t;O?C.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=I(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,c(F,r,1),c(D,r,1))}catch(e){D.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){D.call({_w:n,_d:!1},e)}}};j||(P=function Promise(e){d(this,P,"Promise","_h"),f(e),r.call(this);try{e(c(F,this,1),c(D,this,1))}catch(e){D.call(this,e)}},(r=function Promise(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(59)(P.prototype,{then:function then(e,t){var n=T(m(this,P));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=c(F,e,1),this.reject=c(D,e,1)},b.f=T=function(e){return e===P||e===o?new a(e):i(e)}),p(p.G+p.W+p.F*!j,{Promise:P}),n(54)(P,"Promise"),n(57)("Promise"),o=n(14).Promise,p(p.S+p.F*!j,"Promise",{reject:function reject(e){var t=T(this);return(0,t.reject)(e),t.promise}}),p(p.S+p.F*(s||!j),"Promise",{resolve:function resolve(e){return w(s&&this===o?P:this,e)}}),p(p.S+p.F*!(j&&n(80)(function(e){P.all(e).catch(R)})),"Promise",{all:function all(e){var t=this,n=T(t),r=n.resolve,i=n.reject,a=_(function(){var n=[],a=0,o=1;v(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function race(e){var t=this,n=T(t),r=n.reject,i=_(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t,n){"use strict";var r=n(33);function PromiseCapability(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new PromiseCapability(e)}},function(e,t,n){var r=n(5),i=n(7),a=n(175);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(12).f,i=n(48),a=n(59),o=n(32),s=n(58),u=n(84),c=n(121),l=n(171),p=n(57),h=n(13),f=n(38).fastKey,d=n(60),v=h?"_s":"size",m=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var l=e(function(e,r){s(e,l,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[v]=0,null!=r&&u(r,n,e[c],e)});return a(l.prototype,{clear:function clear(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=d(this,t),r=m(n,e);if(r){var i=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=i),i&&(i.p=a),n._f==r&&(n._f=i),n._l==r&&(n._l=a),n[v]--}return!!r},forEach:function forEach(e){d(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function has(e){return!!m(d(this,t),e)}}),h&&r(l.prototype,"size",{get:function(){return d(this,t)[v]}}),l},def:function(e,t,n){var r,i,a=m(e,t);return a?a.v=n:(e._l=a={i:i=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[v]++,"F"!==i&&(e._i[i]=a)),e},getEntry:m,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=d(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),p(t)}}},function(e,t,n){"use strict";var r=n(59),i=n(38).getWeak,a=n(5),o=n(7),s=n(58),u=n(84),c=n(29),l=n(19),p=n(60),h=c(5),f=c(6),d=0,v=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},y=function(e,t){return h(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=d++,e._l=void 0,null!=r&&u(r,n,e[a],e)});return r(c.prototype,{delete:function(e){if(!o(e))return!1;var n=i(e);return!0===n?v(p(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function has(e){if(!o(e))return!1;var n=i(e);return!0===n?v(p(this,t)).has(e):n&&l(n,this._i)}}),c},def:function(e,t,n){var r=i(a(t),!0);return!0===r?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},function(e,t,n){var r=n(26),i=n(11);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(49),i=n(78),a=n(5),o=n(6).Reflect;e.exports=o&&o.ownKeys||function ownKeys(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(11),i=n(117),a=n(35);e.exports=function(e,t,n,o){var s=String(a(e)),u=s.length,c=void 0===n?" ":String(n),l=r(t);if(l<=u||""==c)return s;var p=l-u,h=i.call(c,Math.ceil(p/c.length));return h.length>p&&(h=h.slice(0,p)),o?h+s:s+h}},function(e,t,n){var r=n(46),i=n(21),a=n(69).f;e.exports=function(e){return function(t){for(var n,o=i(t),s=r(o),u=s.length,c=0,l=[];u>c;)a.call(o,n=s[c++])&&l.push(e?[n,o[n]]:o[n]);return l}}},function(e,t){var n,r,i=e.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(n===setTimeout)return setTimeout(e,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function runClearTimeout(e){if(r===clearTimeout)return clearTimeout(e);if((r===defaultClearTimeout||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){n=defaultSetTimout}try{r="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){r=defaultClearTimeout}}();var a,o=[],s=!1,u=-1;function cleanUpNextTick(){s&&a&&(s=!1,a.length?o=a.concat(o):u=-1,o.length&&drainQueue())}function drainQueue(){if(!s){var e=runTimeout(cleanUpNextTick);s=!0;for(var t=o.length;t;){for(a=o,o=[];++u1)for(var n=1;n=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)}},{key:"reset",value:function reset(){this.registry=[]}},{key:"remove",value:function remove(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function toString(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function get(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(413));t.default=function(e){return e&&e[r.default]&&e===e[r.default]()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function linkRule(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_interopRequireDefault(n(39)),i=(_interopRequireDefault(n(188)),_interopRequireDefault(n(416)));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,r.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var a="c",o="";return n&&(a=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(o+=n.options.jss.id)),""+a+i.default+o+e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t-1)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)));if("func"===propName||"function"===propName)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value))},"Function");if("shape"===propName||"object"===propName)try{var object=eval("("+prop.defaultValue.value+")");return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:javascript_stringify__WEBPACK_IMPORTED_MODULE_3___default()(object,null,2)},"Shape")}catch(e){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:prop.defaultValue.value},"Shape")}}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)))}return prop.required?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light"},"Required"):""}function renderDescription(e){var t=e.description,n=e.tags,r=void 0===n?{}:n,i=renderExtra(e),a=[].concat(_toConsumableArray(r.arg||[]),_toConsumableArray(r.argument||[]),_toConsumableArray(r.param||[])),o=r.return&&r.return[0]||r.returns&&r.returns[0];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,t&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Markdown__WEBPACK_IMPORTED_MODULE_8__.a,{text:t}),i&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Para__WEBPACK_IMPORTED_MODULE_12__.a,null,i),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_JsDoc__WEBPACK_IMPORTED_MODULE_7__.a,r),a.length>0&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Arguments__WEBPACK_IMPORTED_MODULE_4__.a,{args:a,heading:!0}),o&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Argument__WEBPACK_IMPORTED_MODULE_5__.a,_extends({},o,{returns:!0})))}function renderExtra(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!t)return null;switch(t.name){case"enum":return renderEnum(e);case"union":return renderUnion(e);case"shape":return renderShape(e.type.value);case"arrayOf":case"objectOf":return"shape"===t.value.name?renderShape(e.type.value.value):null;default:return null}}function renderUnion(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!Array.isArray(t.value))return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,t.value);var n=t.value.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,{key:e.name+"-"+t},renderType(e))});return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,"One of type:"," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_group__WEBPACK_IMPORTED_MODULE_2___default.a,{separator:", ",inline:!0},n))}function renderName(e){var t=e.name,n=e.tags,r=void 0===n?{}:n;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Name__WEBPACK_IMPORTED_MODULE_9__.a,{deprecated:!!r.deprecated},t)}function renderTypeColumn(e){return e.flowType?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderFlowType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e))):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e)))}function getRowKey(e){return e.name}var columns=[{caption:"Prop name",render:renderName},{caption:"Type",render:renderTypeColumn},{caption:"Default",render:renderDefault},{caption:"Description",render:renderDescription}];function PropsRenderer(e){var t=e.props;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Table__WEBPACK_IMPORTED_MODULE_13__.a,{columns:columns,rows:t,getRowKey:getRowKey})}PropsRenderer.propTypes={props:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array.isRequired}},function(e,t,n){"use strict";(function(e){ +*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function toObject(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=toObject(e),u=1;u-1)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)));if("func"===propName||"function"===propName)return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value))},"Function");if("shape"===propName||"object"===propName)try{var object=eval("("+prop.defaultValue.value+")");return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:javascript_stringify__WEBPACK_IMPORTED_MODULE_3___default()(object,null,2)},"Shape")}catch(e){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light",underlined:!0,title:prop.defaultValue.value},"Shape")}}return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Code__WEBPACK_IMPORTED_MODULE_6__.a,null,Object(_util__WEBPACK_IMPORTED_MODULE_14__.b)(Object(_util__WEBPACK_IMPORTED_MODULE_14__.c)(prop.defaultValue.value)))}return prop.required?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Text__WEBPACK_IMPORTED_MODULE_11__.a,{size:"small",color:"light"},"Required"):""}function renderDescription(e){var t=e.description,n=e.tags,r=void 0===n?{}:n,i=renderExtra(e),a=[].concat(_toConsumableArray(r.arg||[]),_toConsumableArray(r.argument||[]),_toConsumableArray(r.param||[])),o=r.return&&r.return[0]||r.returns&&r.returns[0];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div",null,t&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Markdown__WEBPACK_IMPORTED_MODULE_8__.a,{text:t}),i&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Para__WEBPACK_IMPORTED_MODULE_12__.a,null,i),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_JsDoc__WEBPACK_IMPORTED_MODULE_7__.a,r),a.length>0&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Arguments__WEBPACK_IMPORTED_MODULE_4__.a,{args:a,heading:!0}),o&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Argument__WEBPACK_IMPORTED_MODULE_5__.a,_extends({},o,{returns:!0})))}function renderExtra(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!t)return null;switch(t.name){case"enum":return renderEnum(e);case"union":return renderUnion(e);case"shape":return renderShape(e.type.value);case"arrayOf":case"objectOf":return"shape"===t.value.name?renderShape(e.type.value.value):null;default:return null}}function renderUnion(e){var t=Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e);if(!Array.isArray(t.value))return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,t.value);var n=t.value.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,{key:e.name+"-"+t},renderType(e))});return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span",null,"One of type:"," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_group__WEBPACK_IMPORTED_MODULE_2___default.a,{separator:", ",inline:!0},n))}function renderName(e){var t=e.name,n=e.tags,r=void 0===n?{}:n;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Name__WEBPACK_IMPORTED_MODULE_9__.a,{deprecated:!!r.deprecated},t)}function renderTypeColumn(e){return e.flowType?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderFlowType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e))):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Type__WEBPACK_IMPORTED_MODULE_10__.a,null,renderType(Object(_util__WEBPACK_IMPORTED_MODULE_14__.a)(e)))}function getRowKey(e){return e.name}var columns=[{caption:"Prop name",render:renderName},{caption:"Type",render:renderTypeColumn},{caption:"Default",render:renderDefault},{caption:"Description",render:renderDescription}];function PropsRenderer(e){var t=e.props;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(rsg_components_Table__WEBPACK_IMPORTED_MODULE_13__.a,{columns:columns,rows:t,getRowKey:getRowKey})}PropsRenderer.propTypes={props:prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array.isRequired}},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(499),i=n(500),a=n(501);function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(e,t){if(kMaxLength()=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return base64ToBytes(e).length;default:if(r)return utf8ToBytes(e).length;t=(""+t).toLowerCase(),r=!0}}function slowToString(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return hexSlice(this,t,n);case"utf8":case"utf-8":return utf8Slice(this,t,n);case"ascii":return asciiSlice(this,t,n);case"latin1":case"binary":return latin1Slice(this,t,n);case"base64":return base64Slice(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function swap(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function bidirectionalIndexOf(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Buffer.from(t,r)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,n,r,i);if("number"==typeof t)return t&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):arrayIndexOf(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function read(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var l=!0,p=0;pi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o239?4:c>223?3:c>191?2:1;if(i+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&c)<<6|63&a)>127&&(l=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return decodeCodePointsArray(r)}t.Buffer=Buffer,t.SlowBuffer=function SlowBuffer(e){+e!=e&&(e=0);return Buffer.alloc(+e)},t.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function typedArraySupport(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(e){return e.__proto__=Buffer.prototype,e},Buffer.from=function(e,t,n){return from(null,e,t,n)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(e,t,n){return alloc(null,e,t,n)},Buffer.allocUnsafe=function(e){return allocUnsafe(null,e)},Buffer.allocUnsafeSlow=function(e){return allocUnsafe(null,e)},Buffer.isBuffer=function isBuffer(e){return!(null==e||!e._isBuffer)},Buffer.compare=function compare(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},Buffer.prototype.compare=function compare(e,t,n,r,i){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(r,i),c=e.slice(t,n),l=0;li)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return hexWrite(this,e,t,n);case"utf8":case"utf-8":return utf8Write(this,e,t,n);case"ascii":return asciiWrite(this,e,t,n);case"latin1":case"binary":return latin1Write(this,e,t,n);case"base64":return base64Write(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var o=4096;function decodeCodePointsArray(e){var t=e.length;if(t<=o)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function checkInt(e,t,n,r,i,a){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function objectWriteUInt16(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function objectWriteUInt32(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function checkIEEE754(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function writeFloat(e,t,n,r,a){return a||checkIEEE754(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function writeDouble(e,t,n,r,a){return a||checkIEEE754(e,0,n,8),i.write(e,t,n,r,52,8),n+8}Buffer.prototype.slice=function slice(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Buffer.prototype.readUInt8=function readUInt8(e,t){return t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function readUInt16LE(e,t){return t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(e,t){return t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(e,t){return t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(e,t){return t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function readIntLE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},Buffer.prototype.readIntBE=function readIntBE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},Buffer.prototype.readInt8=function readInt8(e,t){return t||checkOffset(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function readInt16LE(e,t){t||checkOffset(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt16BE=function readInt16BE(e,t){t||checkOffset(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt32LE=function readInt32LE(e,t){return t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(e,t){return t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function readFloatLE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(e,t,n,r){(e=+e,t|=0,n|=0,r)||checkInt(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},Buffer.prototype.writeUInt8=function writeUInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeIntLE=function writeIntLE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},Buffer.prototype.writeIntBE=function writeIntBE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},Buffer.prototype.writeInt8=function writeInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function writeInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeInt16BE=function writeInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeInt32LE=function writeInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeInt32BE=function writeInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeFloatLE=function writeFloatLE(e,t,n){return writeFloat(this,e,t,!0,n)},Buffer.prototype.writeFloatBE=function writeFloatBE(e,t,n){return writeFloat(this,e,t,!1,n)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(e,t,n){return writeDouble(this,e,t,!0,n)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(e,t,n){return writeDouble(this,e,t,!1,n)},Buffer.prototype.copy=function copy(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function asciiToBytes(e){for(var t=[],n=0;n>8,i=n%256,a.push(i),a.push(r);return a}function base64ToBytes(e){return r.toByteArray(base64clean(e))}function blitBuffer(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(23))},function(e,t){e.exports=function arrayMap(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++nh))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var m=-1,v=!0,y=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++m=t||n<0||y&&e-m>=p}function timerExpired(){var e=i();if(shouldInvoke(e))return trailingEdge(e);f=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){return f=void 0,g&&c?invokeFunc(e):(c=l=void 0,h)}function debounced(){var e=i(),n=shouldInvoke(e);if(c=arguments,l=this,d=e,n){if(void 0===f)return leadingEdge(d);if(y)return f=setTimeout(timerExpired,t),invokeFunc(d)}return void 0===f&&(f=setTimeout(timerExpired,t)),h}return t=a(t)||0,r(n)&&(v=!!n.leading,p=(y="maxWait"in n)?s(a(n.maxWait)||0,t):p,g="trailing"in n?!!n.trailing:g),debounced.cancel=function cancel(){void 0!==f&&clearTimeout(f),m=0,c=d=l=f=void 0},debounced.flush=function flush(){return void 0===f?h:trailingEdge(i())},debounced}},function(e,t,n){var r=n(30),i=n(100),a=NaN,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function toNumber(e){if("number"==typeof e)return e;if(i(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?a:+e}},function(e,t,n){"use strict";function symbolObservablePonyfill(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return symbolObservablePonyfill})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=!1,n=[],r=void 0,i=void 0,a=function setSelector(){i.selector=n.join(",\n")},o=h(a);return{onProcessRule:function onProcessRule(a,u){if(!u||u===r||"style"!==a.type)return;if(!p(a,u,e))return;i||(r=a.options.jss.createStyleSheet(null,s),i=r.addRule("reset",c(e.reset)),r.attach());var l=a.selector;-1===n.indexOf(l)&&(n.push(l),t=o())},onProcessSheet:function onProcessSheet(){!t&&n.length&&a()}}};var a=_interopRequireDefault(n(430)),o=_interopRequireDefault(n(431));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s={meta:"jss-isolate",index:-1/0,link:!0},u={inherited:a.default,all:o.default},c=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"inherited";if("string"==typeof e)return u[e];if("object"===(void 0===e?"undefined":i(e))){if(Array.isArray(e)){var t=e[0],n=e[1];return r({},u[t],n)}return r({},a.default,e)}return a.default},l={keyframes:!0,conditional:!0},p=function shouldIsolate(e,t,n){var r=e.options.parent;if(r&&l[r.type])return!1;var i=null==n.isolate||n.isolate;return null!=t.options.isolate&&(i=t.options.isolate),null!=e.style.isolate&&(i=e.style.isolate,delete e.style.isolate),"string"==typeof i?i===e.key:i},h=function createDebounced(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Date.now();return function(){var r=Date.now();return!(r-n0&&void 0!==arguments[0]?arguments[0]:{});return{onProcessStyle:function onProcessStyle(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=iterate(r,t[r],e);return t},onChangeValue:function onChangeValue(t,n){return iterate(n,t,e)}}};var i=addCamelCasedVersion(function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(433)).default);function iterate(e,t,n){if(!t)return t;var a=t,o=void 0===t?"undefined":r(t);switch("object"===o&&Array.isArray(t)&&(o="array"),o){case"object":if("fallbacks"===e){for(var s in t)t[s]=iterate(s,t[s],n);break}for(var u in t)t[u]=iterate(e+"-"+u,t[u],n);break;case"array":for(var c=0;c-1)return registerClass(e,t.split(" "));var i=e.options.parent;if("$"===t[0]){var a=i.getRule(t.substr(1));return a?a===e?((0,r.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(i.classes[e.key]+=" "+i.classes[a.key],!0):((0,r.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}return e.options.parent.classes[e.key]+=" "+t,!0}},function(e,t,n){(function(t){e.exports=function(){var e=/[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'",'"':'\\"',"\\":"\\\\"};function escapeChar(e){var t=n[e];return t||"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}var r={};"break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" ").map(function(e){r[e]=!0});var i=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function isValidVariableName(e){return!r[e]&&i.test(e)}function toGlobalVariable(e){return"Function("+stringify("return this;")+")()"}function toPath(e){for(var t="",n=0;n-1)return void h.push(u.slice(),p[r]);l.push(e),p.push(u.slice())}if(!(u.length>i||s--<=0))return t(e,n,next)}:function(e,t){var r=c.indexOf(e);if(!(r>-1||u.length>i||s--<=0)){c.push(e);var e=t(e,n,next);return c.pop(),e}};if("function"==typeof t){var d=f;f=function(e,n){return d(e,function(e,r,i){return t(e,r,function(e){return n(e,r,i)})})}}var m=f(e,stringify);if(h.length){for(var v=n?"\n":"",y=n?" = ":"=",g=";"+v,d=n?"(function () {":"(function(){",b=["var x"+y+m],_=0;_",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},o=/^[\da-fA-F]+$/,s=/^\d+$/,u="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var c=createCommonjsModule(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function injectDynamicImport(e){var t=e.tokTypes;function parseDynamicImport(){var e=this.startNode();return this.next(),this.type!==t.parenL&&this.unexpected(),this.finishNode(e,n)}function peekNext(){return this.input[this.pos]}return t._import.startsExpr=!0,e.plugins.dynamicImport=function dynamicImportPlugin(e){e.extend("parseStatement",function(e){return function parseStatement(){var n=this.startNode();if(this.type===t._import&&peekNext.call(this)===t.parenL.label){var r=this.parseExpression();return this.parseExpressionStatement(n,r)}for(var i=arguments.length,a=Array(i),o=0;ot)return{line:n+1,column:t-a,char:n};a=o}throw new Error("Could not determine location of character")}function repeat(e,t){for(var n="";t--;)n+=e;return n}function getSnippet(e,t,n){void 0===n&&(n=1);var r=Math.max(t.line-5,0),i=t.line,a=String(i).length,o=e.split("\n").slice(r,i),s=o[o.length-1].slice(0,t.column).replace(/\t/g," ").length,u=o.map(function(e,t){return n=a,(i=String(t+r+1))+repeat(" ",n-i.length)+" : "+e.replace(/\t/g," ");var n,i}).join("\n");return u+="\n"+repeat(" ",a+3+s)+repeat("^",n)}"do if in for let new try var case else enum eval null this true void with await break catch class const false super throw while yield delete export import public return static switch typeof default extends finally package private continue debugger function arguments interface protected implements instanceof".split(" ").forEach(function(e){return f[e]=!0}),Scope.prototype={addDeclaration:function addDeclaration(e,t){for(var n=0,r=extractNames(e);n1&&(l=t(a),s.push(function(t,n,s){e.prependRight(i.start,(o?"":n+"var ")+l+" = "),e.overwrite(i.start,r=i.start+1,a),e.appendLeft(r,s),e.overwrite(i.start,r=i.start+1,(o?"":n+"var ")+l+" = "+a+s),e.move(i.start,r,t)})),destructureObjectPattern(e,t,n,i,l,o,s);break;case"ArrayPattern":if(e.remove(r,r=i.start),i.elements.filter(Boolean).length>1){var p=t(a);s.push(function(t,n,s){e.prependRight(i.start,(o?"":n+"var ")+p+" = "),e.overwrite(i.start,r=i.start+1,a,{contentOnly:!0}),e.appendLeft(r,s),e.move(i.start,r,t)}),i.elements.forEach(function(i,a){i&&("RestElement"===i.type?handleProperty(e,t,n,r,i.argument,p+".slice("+a+")",o,s):handleProperty(e,t,n,r,i,p+"["+a+"]",o,s),r=i.end)})}else{var h=findIndex(i.elements,Boolean),f=i.elements[h];"RestElement"===f.type?handleProperty(e,t,n,r,f.argument,a+".slice("+h+")",o,s):handleProperty(e,t,n,r,f,a+"["+h+"]",o,s),r=f.end}e.remove(r,i.end);break;default:throw new Error("Unexpected node type in destructuring ("+i.type+")")}}var v=function(e){function BlockStatement(){e.apply(this,arguments)}return e&&(BlockStatement.__proto__=e),BlockStatement.prototype=Object.create(e&&e.prototype),BlockStatement.prototype.constructor=BlockStatement,BlockStatement.prototype.createScope=function createScope(){var e=this;this.parentIsFunction=/Function/.test(this.parent.type),this.isFunctionBlock=this.parentIsFunction||"Root"===this.parent.type,this.scope=new Scope({block:!this.isFunctionBlock,parent:this.parent.findScope(!1),declare:function(t){return e.createdDeclarations.push(t)}}),this.parentIsFunction&&this.parent.params.forEach(function(t){e.scope.addDeclaration(t,"param")})},BlockStatement.prototype.initialise=function initialise(e){this.thisAlias=null,this.argumentsAlias=null,this.defaultParameters=[],this.createdDeclarations=[],this.scope||this.createScope(),this.body.forEach(function(t){return t.initialise(e)}),this.scope.consolidate()},BlockStatement.prototype.findLexicalBoundary=function findLexicalBoundary(){return"Program"===this.type?this:/^Function/.test(this.parent.type)?this:this.parent.findLexicalBoundary()},BlockStatement.prototype.findScope=function findScope(e){return e&&!this.isFunctionBlock?this.parent.findScope(e):this.scope},BlockStatement.prototype.getArgumentsAlias=function getArgumentsAlias(){return this.argumentsAlias||(this.argumentsAlias=this.scope.createIdentifier("arguments")),this.argumentsAlias},BlockStatement.prototype.getArgumentsArrayAlias=function getArgumentsArrayAlias(){return this.argumentsArrayAlias||(this.argumentsArrayAlias=this.scope.createIdentifier("argsArray")),this.argumentsArrayAlias},BlockStatement.prototype.getThisAlias=function getThisAlias(){return this.thisAlias||(this.thisAlias=this.scope.createIdentifier("this")),this.thisAlias},BlockStatement.prototype.getIndentation=function getIndentation(){if(void 0===this.indentation){for(var e=this.program.magicString.original,t=this.synthetic||!this.body.length,n=t?this.start:this.body[0].start;n&&"\n"!==e[n];)n-=1;for(this.indentation="";;){var r=e[n+=1];if(" "!==r&&"\t"!==r)break;this.indentation+=r}for(var i=this.program.magicString.getIndentString(),a=this.parent;a;)"constructor"!==a.kind||a.parent.parent.superClass||(this.indentation=this.indentation.replace(i,"")),a=a.parent;t&&(this.indentation+=i)}return this.indentation},BlockStatement.prototype.transpile=function transpile(t,n){var r,i,a=this,o=this.getIndentation(),s=[];if(this.argumentsAlias&&s.push(function(e,n,r){var i=n+"var "+a.argumentsAlias+" = arguments"+r;t.appendLeft(e,i)}),this.thisAlias&&s.push(function(e,n,r){var i=n+"var "+a.thisAlias+" = this"+r;t.appendLeft(e,i)}),this.argumentsArrayAlias&&s.push(function(e,n,r){var i=a.scope.createIdentifier("i"),s=n+"var "+i+" = arguments.length, "+a.argumentsArrayAlias+" = Array("+i+");\n"+o+"while ( "+i+"-- ) "+a.argumentsArrayAlias+"["+i+"] = arguments["+i+"]"+r;t.appendLeft(e,s)}),/Function/.test(this.parent.type)?this.transpileParameters(this.parent.params,t,n,o,s):"CatchClause"===this.parent.type&&this.transpileParameters([this.parent.param],t,n,o,s),n.letConst&&this.isFunctionBlock&&this.transpileBlockScopedIdentifiers(t),e.prototype.transpile.call(this,t,n),this.createdDeclarations.length&&s.push(function(e,n,r){var i=n+"var "+a.createdDeclarations.join(", ")+r;t.appendLeft(e,i)}),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var u=this.body[0];s.length?(t.appendLeft(this.start,"{").prependRight(this.end,this.parent.getIndentation()+"}"),t.prependRight(u.start,"\n"+o+"return "),t.appendLeft(u.end,";\n")):n.arrow&&(t.prependRight(u.start,"{ return "),t.appendLeft(u.end,"; }"))}else s.length&&t.prependRight(this.start,"{").appendLeft(this.end,"}");i=this.body[0],r=i&&"ExpressionStatement"===i.type&&"Literal"===i.expression.type&&"use strict"===i.expression.value?this.body[0].end:this.synthetic||"Root"===this.parent.type?this.start:this.start+1;var c="\n"+o,l=";";s.forEach(function(e,t){t===s.length-1&&(l=";\n"),e(r,c,l)})},BlockStatement.prototype.transpileParameters=function transpileParameters(e,t,n,r,i){var a=this;e.forEach(function(o){if("AssignmentPattern"===o.type&&"Identifier"===o.left.type)n.defaultParameter&&i.push(function(e,n,r){var i=n+"if ( "+o.left.name+" === void 0 ) "+o.left.name;t.prependRight(o.left.end,i).move(o.left.end,o.right.end,e).appendLeft(o.right.end,r)});else if("RestElement"===o.type)n.spreadRest&&i.push(function(n,i,s){var u=e[e.length-2];if(u)t.remove(u?u.end:o.start,o.end);else{for(var c=o.start,l=o.end;/\s/.test(t.original[c-1]);)c-=1;for(;/\s/.test(t.original[l]);)l+=1;t.remove(c,l)}var p=o.argument.name,h=a.scope.createIdentifier("len"),f=e.length-1;f?t.prependRight(n,i+"var "+p+" = [], "+h+" = arguments.length - "+f+";\n"+r+"while ( "+h+"-- > 0 ) "+p+"[ "+h+" ] = arguments[ "+h+" + "+f+" ]"+s):t.prependRight(n,i+"var "+p+" = [], "+h+" = arguments.length;\n"+r+"while ( "+h+"-- ) "+p+"[ "+h+" ] = arguments[ "+h+" ]"+s)});else if("Identifier"!==o.type&&n.parameterDestructuring){var s=a.scope.createIdentifier("ref");destructure(t,function(e){return a.scope.createIdentifier(e)},function(e){var t=e.name;return a.scope.resolveName(t)},o,s,!1,i),t.prependRight(o.start,s)}})},BlockStatement.prototype.transpileBlockScopedIdentifiers=function transpileBlockScopedIdentifiers(e){var t=this;Object.keys(this.scope.blockScopedDeclarations).forEach(function(n){for(var r=0,i=t.scope.blockScopedDeclarations[n];r0},ArrowFunctionExpression}(p);function checkConst(e,t){var n=t.findDeclaration(e.name);if(n&&"const"===n.kind)throw new d(e.name+" is read-only",e)}var b=function(e){function AssignmentExpression(){e.apply(this,arguments)}return e&&(AssignmentExpression.__proto__=e),AssignmentExpression.prototype=Object.create(e&&e.prototype),AssignmentExpression.prototype.constructor=AssignmentExpression,AssignmentExpression.prototype.initialise=function initialise(t){if("Identifier"===this.left.type){var n=this.findScope(!1).findDeclaration(this.left.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.left.name]=!0)}e.prototype.initialise.call(this,t)},AssignmentExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.left.type&&checkConst(this.left,this.findScope(!1)),"**="===this.operator&&n.exponentiation?this.transpileExponentiation(t,n):/Pattern/.test(this.left.type)&&n.destructuring&&this.transpileDestructuring(t,n),e.prototype.transpile.call(this,t,n)},AssignmentExpression.prototype.transpileDestructuring=function transpileDestructuring(e){var t=this,n=this.findScope(!0),r=this.findScope(!1),i=n.createDeclaration("assign");e.appendRight(this.left.end,"("+i),e.appendLeft(this.right.end,", ");var a=[];destructure(e,function(e){return n.createDeclaration(e)},function(e){var t=r.resolveName(e.name);return checkConst(e,r),t},this.left,i,!0,a);var o=", ";a.forEach(function(e,n){n===a.length-1&&(o=""),e(t.end,"",o)}),"ExpressionStatement"===this.unparenthesizedParent().type?e.prependRight(this.end,")"):e.appendRight(this.end,", "+i+")")},AssignmentExpression.prototype.transpileExponentiation=function transpileExponentiation(e){for(var t,n=this.findScope(!1),r=this.left.end;"*"!==e.original[r];)r+=1;e.remove(r,r+2);var i=this.left.unparenthesize();if("Identifier"===i.type)t=n.resolveName(i.name);else if("MemberExpression"===i.type){var a,o,s=!1,u=!1,c=this.findNearest(/(?:Statement|Declaration)$/),l=c.getIndentation();"Identifier"===i.property.type?o=i.computed?n.resolveName(i.property.name):i.property.name:(o=n.createDeclaration("property"),u=!0),"Identifier"===i.object.type?a=n.resolveName(i.object.name):(a=n.createDeclaration("object"),s=!0),i.start===c.start?s&&u?(e.prependRight(c.start,a+" = "),e.overwrite(i.object.end,i.property.start,";\n"+l+o+" = "),e.overwrite(i.property.end,i.end,";\n"+l+a+"["+o+"]")):s?(e.prependRight(c.start,a+" = "),e.appendLeft(i.object.end,";\n"+l),e.appendLeft(i.object.end,a)):u&&(e.prependRight(i.property.start,o+" = "),e.appendLeft(i.property.end,";\n"+l),e.move(i.property.start,i.property.end,this.start),e.appendLeft(i.object.end,"["+o+"]"),e.remove(i.object.end,i.property.start),e.remove(i.property.end,i.end)):(s&&u?(e.prependRight(i.start,"( "+a+" = "),e.overwrite(i.object.end,i.property.start,", "+o+" = "),e.overwrite(i.property.end,i.end,", "+a+"["+o+"]")):s?(e.prependRight(i.start,"( "+a+" = "),e.appendLeft(i.object.end,", "+a)):u&&(e.prependRight(i.property.start,"( "+o+" = "),e.appendLeft(i.property.end,", "),e.move(i.property.start,i.property.end,i.start),e.overwrite(i.object.end,i.property.start,"["+o+"]"),e.remove(i.property.end,i.end)),u&&e.appendLeft(this.end," )")),t=a+(i.computed||u?"["+o+"]":"."+o)}e.prependRight(this.right.start,"Math.pow( "+t+", "),e.appendLeft(this.right.end," )")},AssignmentExpression}(p),_=function(e){function BinaryExpression(){e.apply(this,arguments)}return e&&(BinaryExpression.__proto__=e),BinaryExpression.prototype=Object.create(e&&e.prototype),BinaryExpression.prototype.constructor=BinaryExpression,BinaryExpression.prototype.transpile=function transpile(t,n){"**"===this.operator&&n.exponentiation&&(t.prependRight(this.start,"Math.pow( "),t.overwrite(this.left.end,this.right.start,", "),t.appendLeft(this.end," )")),e.prototype.transpile.call(this,t,n)},BinaryExpression}(p),x=/(?:For(?:In|Of)?|While)Statement/,w=function(e){function BreakStatement(){e.apply(this,arguments)}return e&&(BreakStatement.__proto__=e),BreakStatement.prototype=Object.create(e&&e.prototype),BreakStatement.prototype.constructor=BreakStatement,BreakStatement.prototype.initialise=function initialise(){var e=this.findNearest(x),t=this.findNearest("SwitchCase");e&&(!t||e.depth>t.depth)&&(e.canBreak=!0,this.loop=e)},BreakStatement.prototype.transpile=function transpile(e){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+5,"return 'break'")}},BreakStatement}(p),S=function(e){function CallExpression(){e.apply(this,arguments)}return e&&(CallExpression.__proto__=e),CallExpression.prototype=Object.create(e&&e.prototype),CallExpression.prototype.constructor=CallExpression,CallExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length>1)for(var n=this.findLexicalBoundary(),r=this.arguments.length;r--;){var i=this.arguments[r];"SpreadElement"===i.type&&isArguments(i.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},CallExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var r,i=!1,a=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===a.type&&(t.remove(a.start,a.argument.start),i=!0):i=spread(t,this.arguments,a.start,this.argumentsArrayAlias),i){var o=null;if("Super"===this.callee.type?o=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(o=this.callee.object),o||"MemberExpression"!==this.callee.type)r="void 0";else if("Identifier"===this.callee.object.type)r=this.callee.object.name;else{r=this.findScope(!0).createDeclaration("ref");var s=this.callee.object;t.prependRight(s.start,"("+r+" = "),t.appendLeft(s.end,")")}t.appendLeft(this.callee.end,".apply"),o?(o.noCall=!0,this.arguments.length>1&&("SpreadElement"!==a.type&&t.prependRight(a.start,"[ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))):1===this.arguments.length?t.prependRight(a.start,r+", "):("SpreadElement"===a.type?t.appendLeft(a.start,r+", "):t.appendLeft(a.start,r+", [ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))}}n.trailingFunctionCommas&&this.arguments.length&&removeTrailingComma(t,this.arguments[this.arguments.length-1].end),e.prototype.transpile.call(this,t,n)},CallExpression}(p),C=function(e){function ClassBody(){e.apply(this,arguments)}return e&&(ClassBody.__proto__=e),ClassBody.prototype=Object.create(e&&e.prototype),ClassBody.prototype.constructor=ClassBody,ClassBody.prototype.transpile=function transpile(t,n,r,i){var a=this;if(n.classes){var o=this.parent.name,s=t.getIndentString(),u=this.getIndentation()+(r?s:""),c=u+s,l=findIndex(this.body,function(e){return"constructor"===e.kind}),p=this.body[l],h="",d="";if(this.body.length?(t.remove(this.start,this.body[0].start),t.remove(this.body[this.body.length-1].end,this.end)):t.remove(this.start,this.end),p){p.value.body.isConstructorBody=!0;var m=this.body[l-1],v=this.body[l+1];l>0&&(t.remove(m.end,p.start),t.move(p.start,v?v.start:this.end-1,this.body[0].start)),r||t.appendLeft(p.end,";")}var y=!1!==this.program.options.namedFunctionExpressions,g=y||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var b="if ( "+i+" ) "+o+".__proto__ = "+i+";\n"+u+o+".prototype = Object.create( "+i+" && "+i+".prototype );\n"+u+o+".prototype.constructor = "+o+";";if(p)h+="\n\n"+u+b;else h+=(b="function "+o+" () {"+(i?"\n"+c+i+".apply(this, arguments);\n"+u+"}":"}")+(r?"":";")+(this.body.length?"\n\n"+u:"")+b)+"\n\n"+u}else if(!p){var _="function "+(g?o+" ":"")+"() {}";"ClassDeclaration"===this.parent.type&&(_+=";"),this.body.length&&(_+="\n\n"+u),h+=_}var x,w,S=this.findScope(!1),C=[],E=[];if(this.body.forEach(function(e,n){if("constructor"!==e.kind){if(e.static){var r=" "==t.original[e.start+6]?7:6;t.remove(e.start,e.start+r)}var i,s="method"!==e.kind,c=e.key.name;(f[c]||e.value.body.scope.references[c])&&(c=S.createIdentifier(c));var p=!1;if(e.computed||"Literal"!==e.key.type||(p=!0,e.computed=!0),s){if(e.computed)throw new Error("Computed accessor properties are not currently supported");t.remove(e.start,e.key.start),e.static?(~E.indexOf(e.key.name)||E.push(e.key.name),w||(w=S.createIdentifier("staticAccessors")),i=""+w):(~C.indexOf(e.key.name)||C.push(e.key.name),x||(x=S.createIdentifier("prototypeAccessors")),i=""+x)}else i=e.static?""+o:o+".prototype";e.computed||(i+="."),(l>0&&n===l+1||0===n&&l===a.body.length-1)&&(i="\n\n"+u+i);var h=e.key.end;if(e.computed)if(p)t.prependRight(e.key.start,"["),t.appendLeft(e.key.end,"]");else{for(;"]"!==t.original[h];)h+=1;h+=1}var d=e.computed||s||!y?"":c+" ",m=(s?"."+e.kind:"")+" = function"+(e.value.generator?"* ":" ")+d;t.remove(h,e.value.start),t.prependRight(e.value.start,m),t.appendLeft(e.end,";"),e.value.generator&&t.remove(e.start,e.key.start),t.prependRight(e.start,i)}else{var v=g?" "+o:"";t.overwrite(e.key.start,e.key.end,"function"+v)}}),C.length||E.length){var k=[],P=[];C.length&&(k.push("var "+x+" = { "+C.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),P.push("Object.defineProperties( "+o+".prototype, "+x+" );")),E.length&&(k.push("var "+w+" = { "+E.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),P.push("Object.defineProperties( "+o+", "+w+" );")),p&&(h+="\n\n"+u),h+=k.join("\n"+u),p||(h+="\n\n"+u),d+="\n\n"+u+P.join("\n"+u)}p?t.appendLeft(p.end,h):t.prependRight(this.start,h),t.appendLeft(this.end,d)}e.prototype.transpile.call(this,t,n)},ClassBody}(p);function deindent(e,t){var n=e.start,r=e.end,i=t.getIndentString(),a=i.length,o=n-a;e.program.indentExclusions[o]||t.original.slice(o,n)!==i||t.remove(o,n);for(var s,u=new RegExp(i+"\\S","g"),c=t.original.slice(n,r);s=u.exec(c);){var l=n+s.index;e.program.indentExclusions[l]||t.remove(l,l+a)}}var E=function(e){function ClassDeclaration(){e.apply(this,arguments)}return e&&(ClassDeclaration.__proto__=e),ClassDeclaration.prototype=Object.create(e&&e.prototype),ClassDeclaration.prototype.constructor=ClassDeclaration,ClassDeclaration.prototype.initialise=function initialise(t){this.id?(this.name=this.id.name,this.findScope(!0).addDeclaration(this.id,"class")):this.name=this.findScope(!0).createIdentifier("defaultExport"),e.prototype.initialise.call(this,t)},ClassDeclaration.prototype.transpile=function transpile(e,t){if(t.classes){this.superClass||deindent(this.body,e);var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString(),a="ExportDefaultDeclaration"===this.parent.type;a&&e.remove(this.parent.start,this.start);var o=this.start;this.id?(e.overwrite(o,this.id.start,"var "),o=this.id.end):e.prependLeft(o,"var "+this.name),this.superClass?this.superClass.end===this.body.start?(e.remove(o,this.superClass.start),e.appendLeft(o," = (function ("+n+") {\n"+i)):(e.overwrite(o,this.superClass.start," = "),e.overwrite(this.superClass.end,this.body.start,"(function ("+n+") {\n"+i)):o===this.body.start?e.appendLeft(o," = "):e.overwrite(o,this.body.start," = "),this.body.transpile(e,t,!!this.superClass,n);var s=a?"\n\n"+r+"export default "+this.name+";":"";this.superClass?(e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}("),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"));"+s)):s&&e.prependRight(this.end,s)}else this.body.transpile(e,t,!1,null)},ClassDeclaration}(p),k=function(e){function ClassExpression(){e.apply(this,arguments)}return e&&(ClassExpression.__proto__=e),ClassExpression.prototype=Object.create(e&&e.prototype),ClassExpression.prototype.constructor=ClassExpression,ClassExpression.prototype.initialise=function initialise(t){this.name=(this.id?this.id.name:"VariableDeclarator"===this.parent.type?this.parent.id.name:"AssignmentExpression"!==this.parent.type?null:"Identifier"===this.parent.left.type?this.parent.left.name:"MemberExpression"===this.parent.left.type?this.parent.left.property.name:null)||this.findScope(!0).createIdentifier("anonymous"),e.prototype.initialise.call(this,t)},ClassExpression.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString();this.superClass?(e.remove(this.start,this.superClass.start),e.remove(this.superClass.end,this.body.start),e.appendLeft(this.start,"(function ("+n+") {\n"+i)):e.overwrite(this.start,this.body.start,"(function () {\n"+i),this.body.transpile(e,t,!0,n);var a="\n\n"+i+"return "+this.name+";\n"+r+"}(";this.superClass?(e.appendLeft(this.end,a),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"))")):e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}())")}else this.body.transpile(e,t,!1)},ClassExpression}(p),P=function(e){function ContinueStatement(){e.apply(this,arguments)}return e&&(ContinueStatement.__proto__=e),ContinueStatement.prototype=Object.create(e&&e.prototype),ContinueStatement.prototype.constructor=ContinueStatement,ContinueStatement.prototype.transpile=function transpile(e){if(this.findNearest(x).shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+8,"return")}},ContinueStatement}(p),O=function(e){function ExportDefaultDeclaration(){e.apply(this,arguments)}return e&&(ExportDefaultDeclaration.__proto__=e),ExportDefaultDeclaration.prototype=Object.create(e&&e.prototype),ExportDefaultDeclaration.prototype.constructor=ExportDefaultDeclaration,ExportDefaultDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportDefaultDeclaration}(p),R=function(e){function ExportNamedDeclaration(){e.apply(this,arguments)}return e&&(ExportNamedDeclaration.__proto__=e),ExportNamedDeclaration.prototype=Object.create(e&&e.prototype),ExportNamedDeclaration.prototype.constructor=ExportNamedDeclaration,ExportNamedDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportNamedDeclaration}(p),T=function(e){function LoopStatement(){e.apply(this,arguments)}return e&&(LoopStatement.__proto__=e),LoopStatement.prototype=Object.create(e&&e.prototype),LoopStatement.prototype.constructor=LoopStatement,LoopStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},LoopStatement.prototype.initialise=function initialise(t){if(this.body.createScope(),this.createdScope=!0,this.reassigned=Object.create(null),this.aliases=Object.create(null),e.prototype.initialise.call(this,t),t.letConst)for(var n=Object.keys(this.body.scope.declarations),r=n.length;r--;){for(var i=n[r],a=this.body.scope.declarations[i],o=a.instances.length;o--;){var s=a.instances[o].findNearest(/Function/);if(s&&s.depth>this.depth){this.shouldRewriteAsFunction=!0;break}}if(this.shouldRewriteAsFunction)break}},LoopStatement.prototype.transpile=function transpile(t,n){var r="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var i=this.getIndentation(),a=i+t.getIndentString(),o=this.args?" "+this.args.join(", ")+" ":"",s=this.params?" "+this.params.join(", ")+" ":"",u=this.findScope(!0),c=u.createIdentifier("loop"),l="var "+c+" = function ("+s+") "+(this.body.synthetic?"{\n"+i+t.getIndentString():""),p=(this.body.synthetic?"\n"+i+"}":"")+";\n\n"+i;if(t.prependRight(this.body.start,l),t.appendLeft(this.body.end,p),t.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var h=u.createIdentifier("returned"),f="{\n"+a+"var "+h+" = "+c+"("+o+");\n";this.canBreak&&(f+="\n"+a+"if ( "+h+" === 'break' ) break;"),this.canReturn&&(f+="\n"+a+"if ( "+h+" ) return "+h+".v;"),f+="\n"+i+"}",t.prependRight(this.body.end,f)}else{var d=c+"("+o+");";"DoWhileStatement"===this.type?t.overwrite(this.start,this.body.start,"do {\n"+a+d+"\n"+i+"}"):t.prependRight(this.body.end,d)}}else r&&(t.appendLeft(this.body.start,"{ "),t.prependRight(this.body.end," }"));e.prototype.transpile.call(this,t,n)},LoopStatement}(p),j=function(e){function ForStatement(){e.apply(this,arguments)}return e&&(ForStatement.__proto__=e),ForStatement.prototype=Object.create(e&&e.prototype),ForStatement.prototype.constructor=ForStatement,ForStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForStatement.prototype.transpile=function transpile(t,n){var r=this,i=this.getIndentation()+t.getIndentString();if(this.shouldRewriteAsFunction){var a="VariableDeclaration"===this.init.type?this.init.declarations.map(function(e){return extractNames(e.id)}):[],o=this.aliases;this.args=a.map(function(e){return e in r.aliases?r.aliases[e].outer:e}),this.params=a.map(function(e){return e in r.aliases?r.aliases[e].inner:e});var s=Object.keys(this.reassigned).map(function(e){return o[e].outer+" = "+o[e].inner+";"});if(s.length)if(this.body.synthetic)t.appendLeft(this.body.body[0].end,"; "+s.join(" "));else{var u=this.body.body[this.body.body.length-1];t.appendLeft(u.end,"\n\n"+i+s.join("\n"+i))}}e.prototype.transpile.call(this,t,n)},ForStatement}(T),I=function(e){function ForInStatement(){e.apply(this,arguments)}return e&&(ForInStatement.__proto__=e),ForInStatement.prototype=Object.create(e&&e.prototype),ForInStatement.prototype.constructor=ForInStatement,ForInStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForInStatement.prototype.transpile=function transpile(t,n){var r=this,i="VariableDeclaration"===this.left.type;if(this.shouldRewriteAsFunction){var a=i?this.left.declarations.map(function(e){return extractNames(e.id)}):[];this.args=a.map(function(e){return e in r.aliases?r.aliases[e].outer:e}),this.params=a.map(function(e){return e in r.aliases?r.aliases[e].inner:e})}e.prototype.transpile.call(this,t,n);var o=i?this.left.declarations[0].id:this.left;"Identifier"!==o.type&&this.destructurePattern(t,o,i)},ForInStatement.prototype.destructurePattern=function destructurePattern(e,t,n){var r=this.findScope(!0),i=this.getIndentation()+e.getIndentString(),a=r.createIdentifier("ref"),o=this.body.body.length?this.body.body[0].start:this.body.start+1;e.move(t.start,t.end,o),e.prependRight(t.end,n?a:"var "+a);var s=[];destructure(e,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},t,a,!1,s);var u=";\n"+i;s.forEach(function(e,t){t===s.length-1&&(u=";\n\n"+i),e(o,"",u)})},ForInStatement}(T),M=function(e){function ForOfStatement(){e.apply(this,arguments)}return e&&(ForOfStatement.__proto__=e),ForOfStatement.prototype=Object.create(e&&e.prototype),ForOfStatement.prototype.constructor=ForOfStatement,ForOfStatement.prototype.initialise=function initialise(t){if(t.forOf&&!t.dangerousForOf)throw new d("for...of statements are not supported. Use `transforms: { forOf: false }` to skip transformation and disable this error, or `transforms: { dangerousForOf: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},ForOfStatement.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.dangerousForOf)if(this.body.body[0]){var r=this.findScope(!0),i=this.getIndentation(),a=i+t.getIndentString(),o=r.createIdentifier("i"),s=r.createIdentifier("list");this.body.synthetic&&(t.prependRight(this.left.start,"{\n"+a),t.appendLeft(this.body.body[0].end,"\n"+i+"}"));var u=this.body.body[0].start;t.remove(this.left.end,this.right.start),t.move(this.left.start,this.left.end,u),t.prependRight(this.right.start,"var "+o+" = 0, "+s+" = "),t.appendLeft(this.right.end,"; "+o+" < "+s+".length; "+o+" += 1");var c="VariableDeclaration"===this.left.type,l=c?this.left.declarations[0].id:this.left;if("Identifier"!==l.type){var p=[],h=r.createIdentifier("ref");destructure(t,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},l,h,!c,p);var f=";\n"+a;p.forEach(function(e,t){t===p.length-1&&(f=";\n\n"+a),e(u,"",f)}),c?(t.appendLeft(this.left.start+this.left.kind.length+1,h),t.appendLeft(this.left.end," = "+s+"["+o+"];\n"+a)):t.appendLeft(this.left.end,"var "+h+" = "+s+"["+o+"];\n"+a)}else t.appendLeft(this.left.end," = "+s+"["+o+"];\n\n"+a)}else"VariableDeclaration"===this.left.type&&"var"===this.left.kind?(t.remove(this.start,this.left.start),t.appendLeft(this.left.end,";"),t.remove(this.left.end,this.end)):t.remove(this.start,this.end)},ForOfStatement}(T),N=function(e){function FunctionDeclaration(){e.apply(this,arguments)}return e&&(FunctionDeclaration.__proto__=e),FunctionDeclaration.prototype=Object.create(e&&e.prototype),FunctionDeclaration.prototype.constructor=FunctionDeclaration,FunctionDeclaration.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.findScope(!0).addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t)},FunctionDeclaration.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n),n.trailingFunctionCommas&&this.params.length&&removeTrailingComma(t,this.params[this.params.length-1].end)},FunctionDeclaration}(p),A=function(e){function FunctionExpression(){e.apply(this,arguments)}return e&&(FunctionExpression.__proto__=e),FunctionExpression.prototype=Object.create(e&&e.prototype),FunctionExpression.prototype.constructor=FunctionExpression,FunctionExpression.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.body.scope.addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t);var n,r=this.parent;if(t.conciseMethodProperty&&"Property"===r.type&&"init"===r.kind&&r.method&&"Identifier"===r.key.type?n=r.key.name:t.classes&&"MethodDefinition"===r.type&&"method"===r.kind&&"Identifier"===r.key.type?n=r.key.name:this.id&&"Identifier"===this.id.type&&(n=this.id.alias||this.id.name),n)for(var i=0,a=this.params;it.depth&&(this.alias=t.getArgumentsAlias()),r&&r.body.contains(this)&&r.depth>t.depth&&(this.alias=t.getArgumentsAlias())}this.findScope(!1).addReference(this)}},Identifier.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},Identifier}(p),D=function(e){function IfStatement(){e.apply(this,arguments)}return e&&(IfStatement.__proto__=e),IfStatement.prototype=Object.create(e&&e.prototype),IfStatement.prototype.constructor=IfStatement,IfStatement.prototype.initialise=function initialise(t){e.prototype.initialise.call(this,t)},IfStatement.prototype.transpile=function transpile(t,n){("BlockStatement"!==this.consequent.type||"BlockStatement"===this.consequent.type&&this.consequent.synthetic)&&(t.appendLeft(this.consequent.start,"{ "),t.prependRight(this.consequent.end," }")),this.alternate&&"IfStatement"!==this.alternate.type&&("BlockStatement"!==this.alternate.type||"BlockStatement"===this.alternate.type&&this.alternate.synthetic)&&(t.appendLeft(this.alternate.start,"{ "),t.prependRight(this.alternate.end," }")),e.prototype.transpile.call(this,t,n)},IfStatement}(p),F=function(e){function ImportDeclaration(){e.apply(this,arguments)}return e&&(ImportDeclaration.__proto__=e),ImportDeclaration.prototype=Object.create(e&&e.prototype),ImportDeclaration.prototype.constructor=ImportDeclaration,ImportDeclaration.prototype.initialise=function initialise(t){if(t.moduleImport)throw new d("import is not supported",this);e.prototype.initialise.call(this,t)},ImportDeclaration}(p),U=function(e){function ImportDefaultSpecifier(){e.apply(this,arguments)}return e&&(ImportDefaultSpecifier.__proto__=e),ImportDefaultSpecifier.prototype=Object.create(e&&e.prototype),ImportDefaultSpecifier.prototype.constructor=ImportDefaultSpecifier,ImportDefaultSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportDefaultSpecifier}(p),B=function(e){function ImportSpecifier(){e.apply(this,arguments)}return e&&(ImportSpecifier.__proto__=e),ImportSpecifier.prototype=Object.create(e&&e.prototype),ImportSpecifier.prototype.constructor=ImportSpecifier,ImportSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportSpecifier}(p),V=function(e){function JSXAttribute(){e.apply(this,arguments)}return e&&(JSXAttribute.__proto__=e),JSXAttribute.prototype=Object.create(e&&e.prototype),JSXAttribute.prototype.constructor=JSXAttribute,JSXAttribute.prototype.transpile=function transpile(t,n){var r,i=this.name,a=i.start,o=i.name,s=this.value?this.value.start:this.name.end;t.overwrite(a,s,(/-/.test(r=o)?"'"+r+"'":r)+": "+(this.value?"":"true")),e.prototype.transpile.call(this,t,n)},JSXAttribute}(p);var z=function(e){function JSXClosingElement(){e.apply(this,arguments)}return e&&(JSXClosingElement.__proto__=e),JSXClosingElement.prototype=Object.create(e&&e.prototype),JSXClosingElement.prototype.constructor=JSXClosingElement,JSXClosingElement.prototype.transpile=function transpile(e){var t,n=!0,r=this.parent.children[this.parent.children.length-1];(r&&("JSXText"===(t=r).type&&!/\S/.test(t.value)&&/\n/.test(t.value))||this.parent.openingElement.attributes.length)&&(n=!1),e.overwrite(this.start,this.end,n?" )":")")},JSXClosingElement}(p);var W=function(e){function JSXClosingFragment(){e.apply(this,arguments)}return e&&(JSXClosingFragment.__proto__=e),JSXClosingFragment.prototype=Object.create(e&&e.prototype),JSXClosingFragment.prototype.constructor=JSXClosingFragment,JSXClosingFragment.prototype.transpile=function transpile(e){var t,n=!0,r=this.parent.children[this.parent.children.length-1];r&&("JSXText"===(t=r).type&&!/\S/.test(t.value)&&/\n/.test(t.value))&&(n=!1),e.overwrite(this.start,this.end,n?" )":")")},JSXClosingFragment}(p);function normalise(e,t){return e=e.replace(/\u00a0/g," "),t&&/\n/.test(e)&&(e=e.replace(/\s+$/,"")),e=e.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(e)}var q=function(e){function JSXElement(){e.apply(this,arguments)}return e&&(JSXElement.__proto__=e),JSXElement.prototype=Object.create(e&&e.prototype),JSXElement.prototype.constructor=JSXElement,JSXElement.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);var r=this.children.filter(function(e){return"JSXText"!==e.type||(/\S/.test(e.raw)||!/\n/.test(e.raw))});if(r.length){var i,a=this.openingElement.end;for(i=0;i0&&(l.start===a?t.prependRight(a,", "):t.overwrite(a,l.start,", ")),c&&"JSXSpreadAttribute"!==l.type){var p=this.attributes[o-1],h=this.attributes[o+1];p&&"JSXSpreadAttribute"!==p.type||t.prependRight(l.start,"{ "),h&&"JSXSpreadAttribute"!==h.type||t.appendLeft(l.end," }")}a=l.end}if(c)if(1===i)u=r?"',":",";else{if(!this.program.options.objectAssign)throw new d("Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);u=r?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",s=")"}else u=r?"', {":", {",s=" }";t.prependRight(this.name.end,u),s&&t.appendLeft(this.attributes[i-1].end,s)}else t.appendLeft(this.name.end,r?"', null":", null"),a=this.name.end;this.selfClosing?t.overwrite(a,this.end,this.attributes.length?")":" )"):t.remove(a,this.end)},JSXOpeningElement}(p),X=function(e){function JSXOpeningFragment(){e.apply(this,arguments)}return e&&(JSXOpeningFragment.__proto__=e),JSXOpeningFragment.prototype=Object.create(e&&e.prototype),JSXOpeningFragment.prototype.constructor=JSXOpeningFragment,JSXOpeningFragment.prototype.transpile=function transpile(e){e.overwrite(this.start,this.end,this.program.jsx+"( React.Fragment, null")},JSXOpeningFragment}(p),Q=function(e){function JSXSpreadAttribute(){e.apply(this,arguments)}return e&&(JSXSpreadAttribute.__proto__=e),JSXSpreadAttribute.prototype=Object.create(e&&e.prototype),JSXSpreadAttribute.prototype.constructor=JSXSpreadAttribute,JSXSpreadAttribute.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},JSXSpreadAttribute}(p),G=createCommonjsModule(function(e,t){ +var r=n(499),i=n(500),a=n(501);function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(e,t){if(kMaxLength()=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return base64ToBytes(e).length;default:if(r)return utf8ToBytes(e).length;t=(""+t).toLowerCase(),r=!0}}function slowToString(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return hexSlice(this,t,n);case"utf8":case"utf-8":return utf8Slice(this,t,n);case"ascii":return asciiSlice(this,t,n);case"latin1":case"binary":return latin1Slice(this,t,n);case"base64":return base64Slice(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function swap(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function bidirectionalIndexOf(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Buffer.from(t,r)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,n,r,i);if("number"==typeof t)return t&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):arrayIndexOf(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function read(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var l=!0,p=0;pi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o239?4:c>223?3:c>191?2:1;if(i+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&c)<<6|63&a)>127&&(l=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return decodeCodePointsArray(r)}t.Buffer=Buffer,t.SlowBuffer=function SlowBuffer(e){+e!=e&&(e=0);return Buffer.alloc(+e)},t.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function typedArraySupport(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(e){return e.__proto__=Buffer.prototype,e},Buffer.from=function(e,t,n){return from(null,e,t,n)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(e,t,n){return alloc(null,e,t,n)},Buffer.allocUnsafe=function(e){return allocUnsafe(null,e)},Buffer.allocUnsafeSlow=function(e){return allocUnsafe(null,e)},Buffer.isBuffer=function isBuffer(e){return!(null==e||!e._isBuffer)},Buffer.compare=function compare(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},Buffer.prototype.compare=function compare(e,t,n,r,i){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(r,i),c=e.slice(t,n),l=0;li)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return hexWrite(this,e,t,n);case"utf8":case"utf-8":return utf8Write(this,e,t,n);case"ascii":return asciiWrite(this,e,t,n);case"latin1":case"binary":return latin1Write(this,e,t,n);case"base64":return base64Write(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var o=4096;function decodeCodePointsArray(e){var t=e.length;if(t<=o)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function checkInt(e,t,n,r,i,a){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function objectWriteUInt16(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function objectWriteUInt32(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function checkIEEE754(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function writeFloat(e,t,n,r,a){return a||checkIEEE754(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function writeDouble(e,t,n,r,a){return a||checkIEEE754(e,0,n,8),i.write(e,t,n,r,52,8),n+8}Buffer.prototype.slice=function slice(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Buffer.prototype.readUInt8=function readUInt8(e,t){return t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function readUInt16LE(e,t){return t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(e,t){return t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(e,t){return t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(e,t){return t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function readIntLE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},Buffer.prototype.readIntBE=function readIntBE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},Buffer.prototype.readInt8=function readInt8(e,t){return t||checkOffset(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function readInt16LE(e,t){t||checkOffset(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt16BE=function readInt16BE(e,t){t||checkOffset(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt32LE=function readInt32LE(e,t){return t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(e,t){return t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function readFloatLE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(e,t){return t||checkOffset(e,4,this.length),i.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(e,t){return t||checkOffset(e,8,this.length),i.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(e,t,n,r){(e=+e,t|=0,n|=0,r)||checkInt(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},Buffer.prototype.writeUInt8=function writeUInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeIntLE=function writeIntLE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},Buffer.prototype.writeIntBE=function writeIntBE(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);checkInt(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},Buffer.prototype.writeInt8=function writeInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function writeInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeInt16BE=function writeInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeInt32LE=function writeInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeInt32BE=function writeInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeFloatLE=function writeFloatLE(e,t,n){return writeFloat(this,e,t,!0,n)},Buffer.prototype.writeFloatBE=function writeFloatBE(e,t,n){return writeFloat(this,e,t,!1,n)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(e,t,n){return writeDouble(this,e,t,!0,n)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(e,t,n){return writeDouble(this,e,t,!1,n)},Buffer.prototype.copy=function copy(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function asciiToBytes(e){for(var t=[],n=0;n>8,i=n%256,a.push(i),a.push(r);return a}function base64ToBytes(e){return r.toByteArray(base64clean(e))}function blitBuffer(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(23))},function(e,t){e.exports=function arrayMap(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++nh))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var v=-1,m=!0,y=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++v=t||n<0||y&&e-v>=p}function timerExpired(){var e=i();if(shouldInvoke(e))return trailingEdge(e);f=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){return f=void 0,g&&c?invokeFunc(e):(c=l=void 0,h)}function debounced(){var e=i(),n=shouldInvoke(e);if(c=arguments,l=this,d=e,n){if(void 0===f)return leadingEdge(d);if(y)return f=setTimeout(timerExpired,t),invokeFunc(d)}return void 0===f&&(f=setTimeout(timerExpired,t)),h}return t=a(t)||0,r(n)&&(m=!!n.leading,p=(y="maxWait"in n)?s(a(n.maxWait)||0,t):p,g="trailing"in n?!!n.trailing:g),debounced.cancel=function cancel(){void 0!==f&&clearTimeout(f),v=0,c=d=l=f=void 0},debounced.flush=function flush(){return void 0===f?h:trailingEdge(i())},debounced}},function(e,t,n){var r=n(30),i=n(100),a=NaN,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function toNumber(e){if("number"==typeof e)return e;if(i(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?a:+e}},function(e,t,n){"use strict";function symbolObservablePonyfill(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return symbolObservablePonyfill})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=!1,n=[],r=void 0,i=void 0,a=function setSelector(){i.selector=n.join(",\n")},o=h(a);return{onProcessRule:function onProcessRule(a,u){if(!u||u===r||"style"!==a.type)return;if(!p(a,u,e))return;i||(r=a.options.jss.createStyleSheet(null,s),i=r.addRule("reset",c(e.reset)),r.attach());var l=a.selector;-1===n.indexOf(l)&&(n.push(l),t=o())},onProcessSheet:function onProcessSheet(){!t&&n.length&&a()}}};var a=_interopRequireDefault(n(430)),o=_interopRequireDefault(n(431));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s={meta:"jss-isolate",index:-1/0,link:!0},u={inherited:a.default,all:o.default},c=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"inherited";if("string"==typeof e)return u[e];if("object"===(void 0===e?"undefined":i(e))){if(Array.isArray(e)){var t=e[0],n=e[1];return r({},u[t],n)}return r({},a.default,e)}return a.default},l={keyframes:!0,conditional:!0},p=function shouldIsolate(e,t,n){var r=e.options.parent;if(r&&l[r.type])return!1;var i=null==n.isolate||n.isolate;return null!=t.options.isolate&&(i=t.options.isolate),null!=e.style.isolate&&(i=e.style.isolate,delete e.style.isolate),"string"==typeof i?i===e.key:i},h=function createDebounced(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Date.now();return function(){var r=Date.now();return!(r-n0&&void 0!==arguments[0]?arguments[0]:{});return{onProcessStyle:function onProcessStyle(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=iterate(r,t[r],e);return t},onChangeValue:function onChangeValue(t,n){return iterate(n,t,e)}}};var i=addCamelCasedVersion(function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(433)).default);function iterate(e,t,n){if(!t)return t;var a=t,o=void 0===t?"undefined":r(t);switch("object"===o&&Array.isArray(t)&&(o="array"),o){case"object":if("fallbacks"===e){for(var s in t)t[s]=iterate(s,t[s],n);break}for(var u in t)t[u]=iterate(e+"-"+u,t[u],n);break;case"array":for(var c=0;c-1)return registerClass(e,t.split(" "));var i=e.options.parent;if("$"===t[0]){var a=i.getRule(t.substr(1));return a?a===e?((0,r.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(i.classes[e.key]+=" "+i.classes[a.key],!0):((0,r.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}return e.options.parent.classes[e.key]+=" "+t,!0}},function(e,t,n){(function(t){e.exports=function(){var e=/[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'",'"':'\\"',"\\":"\\\\"};function escapeChar(e){var t=n[e];return t||"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}var r={};"break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" ").map(function(e){r[e]=!0});var i=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function isValidVariableName(e){return!r[e]&&i.test(e)}function toGlobalVariable(e){return"Function("+stringify("return this;")+")()"}function toPath(e){for(var t="",n=0;n-1)return void h.push(u.slice(),p[r]);l.push(e),p.push(u.slice())}if(!(u.length>i||s--<=0))return t(e,n,next)}:function(e,t){var r=c.indexOf(e);if(!(r>-1||u.length>i||s--<=0)){c.push(e);var e=t(e,n,next);return c.pop(),e}};if("function"==typeof t){var d=f;f=function(e,n){return d(e,function(e,r,i){return t(e,r,function(e){return n(e,r,i)})})}}var v=f(e,stringify);if(h.length){for(var m=n?"\n":"",y=n?" = ":"=",g=";"+m,d=n?"(function () {":"(function(){",b=["var x"+y+v],_=0;_",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},o=/^[\da-fA-F]+$/,s=/^\d+$/,u="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var c=createCommonjsModule(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function injectDynamicImport(e){var t=e.tokTypes;function parseDynamicImport(){var e=this.startNode();return this.next(),this.type!==t.parenL&&this.unexpected(),this.finishNode(e,n)}function peekNext(){return this.input[this.pos]}return t._import.startsExpr=!0,e.plugins.dynamicImport=function dynamicImportPlugin(e){e.extend("parseStatement",function(e){return function parseStatement(){var n=this.startNode();if(this.type===t._import&&peekNext.call(this)===t.parenL.label){var r=this.parseExpression();return this.parseExpressionStatement(n,r)}for(var i=arguments.length,a=Array(i),o=0;ot)return{line:n+1,column:t-a,char:n};a=o}throw new Error("Could not determine location of character")}function repeat(e,t){for(var n="";t--;)n+=e;return n}function getSnippet(e,t,n){void 0===n&&(n=1);var r=Math.max(t.line-5,0),i=t.line,a=String(i).length,o=e.split("\n").slice(r,i),s=o[o.length-1].slice(0,t.column).replace(/\t/g," ").length,u=o.map(function(e,t){return n=a,(i=String(t+r+1))+repeat(" ",n-i.length)+" : "+e.replace(/\t/g," ");var n,i}).join("\n");return u+="\n"+repeat(" ",a+3+s)+repeat("^",n)}"do if in for let new try var case else enum eval null this true void with await break catch class const false super throw while yield delete export import public return static switch typeof default extends finally package private continue debugger function arguments interface protected implements instanceof".split(" ").forEach(function(e){return f[e]=!0}),Scope.prototype={addDeclaration:function addDeclaration(e,t){for(var n=0,r=extractNames(e);n1&&(l=t(a),s.push(function(t,n,s){e.prependRight(i.start,(o?"":n+"var ")+l+" = "),e.overwrite(i.start,r=i.start+1,a),e.appendLeft(r,s),e.overwrite(i.start,r=i.start+1,(o?"":n+"var ")+l+" = "+a+s),e.move(i.start,r,t)})),destructureObjectPattern(e,t,n,i,l,o,s);break;case"ArrayPattern":if(e.remove(r,r=i.start),i.elements.filter(Boolean).length>1){var p=t(a);s.push(function(t,n,s){e.prependRight(i.start,(o?"":n+"var ")+p+" = "),e.overwrite(i.start,r=i.start+1,a,{contentOnly:!0}),e.appendLeft(r,s),e.move(i.start,r,t)}),i.elements.forEach(function(i,a){i&&("RestElement"===i.type?handleProperty(e,t,n,r,i.argument,p+".slice("+a+")",o,s):handleProperty(e,t,n,r,i,p+"["+a+"]",o,s),r=i.end)})}else{var h=findIndex(i.elements,Boolean),f=i.elements[h];"RestElement"===f.type?handleProperty(e,t,n,r,f.argument,a+".slice("+h+")",o,s):handleProperty(e,t,n,r,f,a+"["+h+"]",o,s),r=f.end}e.remove(r,i.end);break;default:throw new Error("Unexpected node type in destructuring ("+i.type+")")}}var m=function(e){function BlockStatement(){e.apply(this,arguments)}return e&&(BlockStatement.__proto__=e),BlockStatement.prototype=Object.create(e&&e.prototype),BlockStatement.prototype.constructor=BlockStatement,BlockStatement.prototype.createScope=function createScope(){var e=this;this.parentIsFunction=/Function/.test(this.parent.type),this.isFunctionBlock=this.parentIsFunction||"Root"===this.parent.type,this.scope=new Scope({block:!this.isFunctionBlock,parent:this.parent.findScope(!1),declare:function(t){return e.createdDeclarations.push(t)}}),this.parentIsFunction&&this.parent.params.forEach(function(t){e.scope.addDeclaration(t,"param")})},BlockStatement.prototype.initialise=function initialise(e){this.thisAlias=null,this.argumentsAlias=null,this.defaultParameters=[],this.createdDeclarations=[],this.scope||this.createScope(),this.body.forEach(function(t){return t.initialise(e)}),this.scope.consolidate()},BlockStatement.prototype.findLexicalBoundary=function findLexicalBoundary(){return"Program"===this.type?this:/^Function/.test(this.parent.type)?this:this.parent.findLexicalBoundary()},BlockStatement.prototype.findScope=function findScope(e){return e&&!this.isFunctionBlock?this.parent.findScope(e):this.scope},BlockStatement.prototype.getArgumentsAlias=function getArgumentsAlias(){return this.argumentsAlias||(this.argumentsAlias=this.scope.createIdentifier("arguments")),this.argumentsAlias},BlockStatement.prototype.getArgumentsArrayAlias=function getArgumentsArrayAlias(){return this.argumentsArrayAlias||(this.argumentsArrayAlias=this.scope.createIdentifier("argsArray")),this.argumentsArrayAlias},BlockStatement.prototype.getThisAlias=function getThisAlias(){return this.thisAlias||(this.thisAlias=this.scope.createIdentifier("this")),this.thisAlias},BlockStatement.prototype.getIndentation=function getIndentation(){if(void 0===this.indentation){for(var e=this.program.magicString.original,t=this.synthetic||!this.body.length,n=t?this.start:this.body[0].start;n&&"\n"!==e[n];)n-=1;for(this.indentation="";;){var r=e[n+=1];if(" "!==r&&"\t"!==r)break;this.indentation+=r}for(var i=this.program.magicString.getIndentString(),a=this.parent;a;)"constructor"!==a.kind||a.parent.parent.superClass||(this.indentation=this.indentation.replace(i,"")),a=a.parent;t&&(this.indentation+=i)}return this.indentation},BlockStatement.prototype.transpile=function transpile(t,n){var r,i,a=this,o=this.getIndentation(),s=[];if(this.argumentsAlias&&s.push(function(e,n,r){var i=n+"var "+a.argumentsAlias+" = arguments"+r;t.appendLeft(e,i)}),this.thisAlias&&s.push(function(e,n,r){var i=n+"var "+a.thisAlias+" = this"+r;t.appendLeft(e,i)}),this.argumentsArrayAlias&&s.push(function(e,n,r){var i=a.scope.createIdentifier("i"),s=n+"var "+i+" = arguments.length, "+a.argumentsArrayAlias+" = Array("+i+");\n"+o+"while ( "+i+"-- ) "+a.argumentsArrayAlias+"["+i+"] = arguments["+i+"]"+r;t.appendLeft(e,s)}),/Function/.test(this.parent.type)?this.transpileParameters(this.parent.params,t,n,o,s):"CatchClause"===this.parent.type&&this.transpileParameters([this.parent.param],t,n,o,s),n.letConst&&this.isFunctionBlock&&this.transpileBlockScopedIdentifiers(t),e.prototype.transpile.call(this,t,n),this.createdDeclarations.length&&s.push(function(e,n,r){var i=n+"var "+a.createdDeclarations.join(", ")+r;t.appendLeft(e,i)}),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var u=this.body[0];s.length?(t.appendLeft(this.start,"{").prependRight(this.end,this.parent.getIndentation()+"}"),t.prependRight(u.start,"\n"+o+"return "),t.appendLeft(u.end,";\n")):n.arrow&&(t.prependRight(u.start,"{ return "),t.appendLeft(u.end,"; }"))}else s.length&&t.prependRight(this.start,"{").appendLeft(this.end,"}");i=this.body[0],r=i&&"ExpressionStatement"===i.type&&"Literal"===i.expression.type&&"use strict"===i.expression.value?this.body[0].end:this.synthetic||"Root"===this.parent.type?this.start:this.start+1;var c="\n"+o,l=";";s.forEach(function(e,t){t===s.length-1&&(l=";\n"),e(r,c,l)})},BlockStatement.prototype.transpileParameters=function transpileParameters(e,t,n,r,i){var a=this;e.forEach(function(o){if("AssignmentPattern"===o.type&&"Identifier"===o.left.type)n.defaultParameter&&i.push(function(e,n,r){var i=n+"if ( "+o.left.name+" === void 0 ) "+o.left.name;t.prependRight(o.left.end,i).move(o.left.end,o.right.end,e).appendLeft(o.right.end,r)});else if("RestElement"===o.type)n.spreadRest&&i.push(function(n,i,s){var u=e[e.length-2];if(u)t.remove(u?u.end:o.start,o.end);else{for(var c=o.start,l=o.end;/\s/.test(t.original[c-1]);)c-=1;for(;/\s/.test(t.original[l]);)l+=1;t.remove(c,l)}var p=o.argument.name,h=a.scope.createIdentifier("len"),f=e.length-1;f?t.prependRight(n,i+"var "+p+" = [], "+h+" = arguments.length - "+f+";\n"+r+"while ( "+h+"-- > 0 ) "+p+"[ "+h+" ] = arguments[ "+h+" + "+f+" ]"+s):t.prependRight(n,i+"var "+p+" = [], "+h+" = arguments.length;\n"+r+"while ( "+h+"-- ) "+p+"[ "+h+" ] = arguments[ "+h+" ]"+s)});else if("Identifier"!==o.type&&n.parameterDestructuring){var s=a.scope.createIdentifier("ref");destructure(t,function(e){return a.scope.createIdentifier(e)},function(e){var t=e.name;return a.scope.resolveName(t)},o,s,!1,i),t.prependRight(o.start,s)}})},BlockStatement.prototype.transpileBlockScopedIdentifiers=function transpileBlockScopedIdentifiers(e){var t=this;Object.keys(this.scope.blockScopedDeclarations).forEach(function(n){for(var r=0,i=t.scope.blockScopedDeclarations[n];r0},ArrowFunctionExpression}(p);function checkConst(e,t){var n=t.findDeclaration(e.name);if(n&&"const"===n.kind)throw new d(e.name+" is read-only",e)}var b=function(e){function AssignmentExpression(){e.apply(this,arguments)}return e&&(AssignmentExpression.__proto__=e),AssignmentExpression.prototype=Object.create(e&&e.prototype),AssignmentExpression.prototype.constructor=AssignmentExpression,AssignmentExpression.prototype.initialise=function initialise(t){if("Identifier"===this.left.type){var n=this.findScope(!1).findDeclaration(this.left.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.left.name]=!0)}e.prototype.initialise.call(this,t)},AssignmentExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.left.type&&checkConst(this.left,this.findScope(!1)),"**="===this.operator&&n.exponentiation?this.transpileExponentiation(t,n):/Pattern/.test(this.left.type)&&n.destructuring&&this.transpileDestructuring(t,n),e.prototype.transpile.call(this,t,n)},AssignmentExpression.prototype.transpileDestructuring=function transpileDestructuring(e){var t=this,n=this.findScope(!0),r=this.findScope(!1),i=n.createDeclaration("assign");e.appendRight(this.left.end,"("+i),e.appendLeft(this.right.end,", ");var a=[];destructure(e,function(e){return n.createDeclaration(e)},function(e){var t=r.resolveName(e.name);return checkConst(e,r),t},this.left,i,!0,a);var o=", ";a.forEach(function(e,n){n===a.length-1&&(o=""),e(t.end,"",o)}),"ExpressionStatement"===this.unparenthesizedParent().type?e.prependRight(this.end,")"):e.appendRight(this.end,", "+i+")")},AssignmentExpression.prototype.transpileExponentiation=function transpileExponentiation(e){for(var t,n=this.findScope(!1),r=this.left.end;"*"!==e.original[r];)r+=1;e.remove(r,r+2);var i=this.left.unparenthesize();if("Identifier"===i.type)t=n.resolveName(i.name);else if("MemberExpression"===i.type){var a,o,s=!1,u=!1,c=this.findNearest(/(?:Statement|Declaration)$/),l=c.getIndentation();"Identifier"===i.property.type?o=i.computed?n.resolveName(i.property.name):i.property.name:(o=n.createDeclaration("property"),u=!0),"Identifier"===i.object.type?a=n.resolveName(i.object.name):(a=n.createDeclaration("object"),s=!0),i.start===c.start?s&&u?(e.prependRight(c.start,a+" = "),e.overwrite(i.object.end,i.property.start,";\n"+l+o+" = "),e.overwrite(i.property.end,i.end,";\n"+l+a+"["+o+"]")):s?(e.prependRight(c.start,a+" = "),e.appendLeft(i.object.end,";\n"+l),e.appendLeft(i.object.end,a)):u&&(e.prependRight(i.property.start,o+" = "),e.appendLeft(i.property.end,";\n"+l),e.move(i.property.start,i.property.end,this.start),e.appendLeft(i.object.end,"["+o+"]"),e.remove(i.object.end,i.property.start),e.remove(i.property.end,i.end)):(s&&u?(e.prependRight(i.start,"( "+a+" = "),e.overwrite(i.object.end,i.property.start,", "+o+" = "),e.overwrite(i.property.end,i.end,", "+a+"["+o+"]")):s?(e.prependRight(i.start,"( "+a+" = "),e.appendLeft(i.object.end,", "+a)):u&&(e.prependRight(i.property.start,"( "+o+" = "),e.appendLeft(i.property.end,", "),e.move(i.property.start,i.property.end,i.start),e.overwrite(i.object.end,i.property.start,"["+o+"]"),e.remove(i.property.end,i.end)),u&&e.appendLeft(this.end," )")),t=a+(i.computed||u?"["+o+"]":"."+o)}e.prependRight(this.right.start,"Math.pow( "+t+", "),e.appendLeft(this.right.end," )")},AssignmentExpression}(p),_=function(e){function BinaryExpression(){e.apply(this,arguments)}return e&&(BinaryExpression.__proto__=e),BinaryExpression.prototype=Object.create(e&&e.prototype),BinaryExpression.prototype.constructor=BinaryExpression,BinaryExpression.prototype.transpile=function transpile(t,n){"**"===this.operator&&n.exponentiation&&(t.prependRight(this.start,"Math.pow( "),t.overwrite(this.left.end,this.right.start,", "),t.appendLeft(this.end," )")),e.prototype.transpile.call(this,t,n)},BinaryExpression}(p),x=/(?:For(?:In|Of)?|While)Statement/,w=function(e){function BreakStatement(){e.apply(this,arguments)}return e&&(BreakStatement.__proto__=e),BreakStatement.prototype=Object.create(e&&e.prototype),BreakStatement.prototype.constructor=BreakStatement,BreakStatement.prototype.initialise=function initialise(){var e=this.findNearest(x),t=this.findNearest("SwitchCase");e&&(!t||e.depth>t.depth)&&(e.canBreak=!0,this.loop=e)},BreakStatement.prototype.transpile=function transpile(e){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+5,"return 'break'")}},BreakStatement}(p),S=function(e){function CallExpression(){e.apply(this,arguments)}return e&&(CallExpression.__proto__=e),CallExpression.prototype=Object.create(e&&e.prototype),CallExpression.prototype.constructor=CallExpression,CallExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length>1)for(var n=this.findLexicalBoundary(),r=this.arguments.length;r--;){var i=this.arguments[r];"SpreadElement"===i.type&&isArguments(i.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},CallExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var r,i=!1,a=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===a.type&&(t.remove(a.start,a.argument.start),i=!0):i=spread(t,this.arguments,a.start,this.argumentsArrayAlias),i){var o=null;if("Super"===this.callee.type?o=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(o=this.callee.object),o||"MemberExpression"!==this.callee.type)r="void 0";else if("Identifier"===this.callee.object.type)r=this.callee.object.name;else{r=this.findScope(!0).createDeclaration("ref");var s=this.callee.object;t.prependRight(s.start,"("+r+" = "),t.appendLeft(s.end,")")}t.appendLeft(this.callee.end,".apply"),o?(o.noCall=!0,this.arguments.length>1&&("SpreadElement"!==a.type&&t.prependRight(a.start,"[ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))):1===this.arguments.length?t.prependRight(a.start,r+", "):("SpreadElement"===a.type?t.appendLeft(a.start,r+", "):t.appendLeft(a.start,r+", [ "),t.appendLeft(this.arguments[this.arguments.length-1].end," )"))}}n.trailingFunctionCommas&&this.arguments.length&&removeTrailingComma(t,this.arguments[this.arguments.length-1].end),e.prototype.transpile.call(this,t,n)},CallExpression}(p),C=function(e){function ClassBody(){e.apply(this,arguments)}return e&&(ClassBody.__proto__=e),ClassBody.prototype=Object.create(e&&e.prototype),ClassBody.prototype.constructor=ClassBody,ClassBody.prototype.transpile=function transpile(t,n,r,i){var a=this;if(n.classes){var o=this.parent.name,s=t.getIndentString(),u=this.getIndentation()+(r?s:""),c=u+s,l=findIndex(this.body,function(e){return"constructor"===e.kind}),p=this.body[l],h="",d="";if(this.body.length?(t.remove(this.start,this.body[0].start),t.remove(this.body[this.body.length-1].end,this.end)):t.remove(this.start,this.end),p){p.value.body.isConstructorBody=!0;var v=this.body[l-1],m=this.body[l+1];l>0&&(t.remove(v.end,p.start),t.move(p.start,m?m.start:this.end-1,this.body[0].start)),r||t.appendLeft(p.end,";")}var y=!1!==this.program.options.namedFunctionExpressions,g=y||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var b="if ( "+i+" ) "+o+".__proto__ = "+i+";\n"+u+o+".prototype = Object.create( "+i+" && "+i+".prototype );\n"+u+o+".prototype.constructor = "+o+";";if(p)h+="\n\n"+u+b;else h+=(b="function "+o+" () {"+(i?"\n"+c+i+".apply(this, arguments);\n"+u+"}":"}")+(r?"":";")+(this.body.length?"\n\n"+u:"")+b)+"\n\n"+u}else if(!p){var _="function "+(g?o+" ":"")+"() {}";"ClassDeclaration"===this.parent.type&&(_+=";"),this.body.length&&(_+="\n\n"+u),h+=_}var x,w,S=this.findScope(!1),C=[],E=[];if(this.body.forEach(function(e,n){if("constructor"!==e.kind){if(e.static){var r=" "==t.original[e.start+6]?7:6;t.remove(e.start,e.start+r)}var i,s="method"!==e.kind,c=e.key.name;(f[c]||e.value.body.scope.references[c])&&(c=S.createIdentifier(c));var p=!1;if(e.computed||"Literal"!==e.key.type||(p=!0,e.computed=!0),s){if(e.computed)throw new Error("Computed accessor properties are not currently supported");t.remove(e.start,e.key.start),e.static?(~E.indexOf(e.key.name)||E.push(e.key.name),w||(w=S.createIdentifier("staticAccessors")),i=""+w):(~C.indexOf(e.key.name)||C.push(e.key.name),x||(x=S.createIdentifier("prototypeAccessors")),i=""+x)}else i=e.static?""+o:o+".prototype";e.computed||(i+="."),(l>0&&n===l+1||0===n&&l===a.body.length-1)&&(i="\n\n"+u+i);var h=e.key.end;if(e.computed)if(p)t.prependRight(e.key.start,"["),t.appendLeft(e.key.end,"]");else{for(;"]"!==t.original[h];)h+=1;h+=1}var d=e.computed||s||!y?"":c+" ",v=(s?"."+e.kind:"")+" = function"+(e.value.generator?"* ":" ")+d;t.remove(h,e.value.start),t.prependRight(e.value.start,v),t.appendLeft(e.end,";"),e.value.generator&&t.remove(e.start,e.key.start),t.prependRight(e.start,i)}else{var m=g?" "+o:"";t.overwrite(e.key.start,e.key.end,"function"+m)}}),C.length||E.length){var k=[],P=[];C.length&&(k.push("var "+x+" = { "+C.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),P.push("Object.defineProperties( "+o+".prototype, "+x+" );")),E.length&&(k.push("var "+w+" = { "+E.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),P.push("Object.defineProperties( "+o+", "+w+" );")),p&&(h+="\n\n"+u),h+=k.join("\n"+u),p||(h+="\n\n"+u),d+="\n\n"+u+P.join("\n"+u)}p?t.appendLeft(p.end,h):t.prependRight(this.start,h),t.appendLeft(this.end,d)}e.prototype.transpile.call(this,t,n)},ClassBody}(p);function deindent(e,t){var n=e.start,r=e.end,i=t.getIndentString(),a=i.length,o=n-a;e.program.indentExclusions[o]||t.original.slice(o,n)!==i||t.remove(o,n);for(var s,u=new RegExp(i+"\\S","g"),c=t.original.slice(n,r);s=u.exec(c);){var l=n+s.index;e.program.indentExclusions[l]||t.remove(l,l+a)}}var E=function(e){function ClassDeclaration(){e.apply(this,arguments)}return e&&(ClassDeclaration.__proto__=e),ClassDeclaration.prototype=Object.create(e&&e.prototype),ClassDeclaration.prototype.constructor=ClassDeclaration,ClassDeclaration.prototype.initialise=function initialise(t){this.id?(this.name=this.id.name,this.findScope(!0).addDeclaration(this.id,"class")):this.name=this.findScope(!0).createIdentifier("defaultExport"),e.prototype.initialise.call(this,t)},ClassDeclaration.prototype.transpile=function transpile(e,t){if(t.classes){this.superClass||deindent(this.body,e);var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString(),a="ExportDefaultDeclaration"===this.parent.type;a&&e.remove(this.parent.start,this.start);var o=this.start;this.id?(e.overwrite(o,this.id.start,"var "),o=this.id.end):e.prependLeft(o,"var "+this.name),this.superClass?this.superClass.end===this.body.start?(e.remove(o,this.superClass.start),e.appendLeft(o," = (function ("+n+") {\n"+i)):(e.overwrite(o,this.superClass.start," = "),e.overwrite(this.superClass.end,this.body.start,"(function ("+n+") {\n"+i)):o===this.body.start?e.appendLeft(o," = "):e.overwrite(o,this.body.start," = "),this.body.transpile(e,t,!!this.superClass,n);var s=a?"\n\n"+r+"export default "+this.name+";":"";this.superClass?(e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}("),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"));"+s)):s&&e.prependRight(this.end,s)}else this.body.transpile(e,t,!1,null)},ClassDeclaration}(p),k=function(e){function ClassExpression(){e.apply(this,arguments)}return e&&(ClassExpression.__proto__=e),ClassExpression.prototype=Object.create(e&&e.prototype),ClassExpression.prototype.constructor=ClassExpression,ClassExpression.prototype.initialise=function initialise(t){this.name=(this.id?this.id.name:"VariableDeclarator"===this.parent.type?this.parent.id.name:"AssignmentExpression"!==this.parent.type?null:"Identifier"===this.parent.left.type?this.parent.left.name:"MemberExpression"===this.parent.left.type?this.parent.left.property.name:null)||this.findScope(!0).createIdentifier("anonymous"),e.prototype.initialise.call(this,t)},ClassExpression.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.superClass&&(this.superClass.name||"superclass"),r=this.getIndentation(),i=r+e.getIndentString();this.superClass?(e.remove(this.start,this.superClass.start),e.remove(this.superClass.end,this.body.start),e.appendLeft(this.start,"(function ("+n+") {\n"+i)):e.overwrite(this.start,this.body.start,"(function () {\n"+i),this.body.transpile(e,t,!0,n);var a="\n\n"+i+"return "+this.name+";\n"+r+"}(";this.superClass?(e.appendLeft(this.end,a),e.move(this.superClass.start,this.superClass.end,this.end),e.prependRight(this.end,"))")):e.appendLeft(this.end,"\n\n"+i+"return "+this.name+";\n"+r+"}())")}else this.body.transpile(e,t,!1)},ClassExpression}(p),P=function(e){function ContinueStatement(){e.apply(this,arguments)}return e&&(ContinueStatement.__proto__=e),ContinueStatement.prototype=Object.create(e&&e.prototype),ContinueStatement.prototype.constructor=ContinueStatement,ContinueStatement.prototype.transpile=function transpile(e){if(this.findNearest(x).shouldRewriteAsFunction){if(this.label)throw new d("Labels are not currently supported in a loop with locally-scoped variables",this);e.overwrite(this.start,this.start+8,"return")}},ContinueStatement}(p),O=function(e){function ExportDefaultDeclaration(){e.apply(this,arguments)}return e&&(ExportDefaultDeclaration.__proto__=e),ExportDefaultDeclaration.prototype=Object.create(e&&e.prototype),ExportDefaultDeclaration.prototype.constructor=ExportDefaultDeclaration,ExportDefaultDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportDefaultDeclaration}(p),R=function(e){function ExportNamedDeclaration(){e.apply(this,arguments)}return e&&(ExportNamedDeclaration.__proto__=e),ExportNamedDeclaration.prototype=Object.create(e&&e.prototype),ExportNamedDeclaration.prototype.constructor=ExportNamedDeclaration,ExportNamedDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new d("export is not supported",this);e.prototype.initialise.call(this,t)},ExportNamedDeclaration}(p),T=function(e){function LoopStatement(){e.apply(this,arguments)}return e&&(LoopStatement.__proto__=e),LoopStatement.prototype=Object.create(e&&e.prototype),LoopStatement.prototype.constructor=LoopStatement,LoopStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},LoopStatement.prototype.initialise=function initialise(t){if(this.body.createScope(),this.createdScope=!0,this.reassigned=Object.create(null),this.aliases=Object.create(null),e.prototype.initialise.call(this,t),t.letConst)for(var n=Object.keys(this.body.scope.declarations),r=n.length;r--;){for(var i=n[r],a=this.body.scope.declarations[i],o=a.instances.length;o--;){var s=a.instances[o].findNearest(/Function/);if(s&&s.depth>this.depth){this.shouldRewriteAsFunction=!0;break}}if(this.shouldRewriteAsFunction)break}},LoopStatement.prototype.transpile=function transpile(t,n){var r="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var i=this.getIndentation(),a=i+t.getIndentString(),o=this.args?" "+this.args.join(", ")+" ":"",s=this.params?" "+this.params.join(", ")+" ":"",u=this.findScope(!0),c=u.createIdentifier("loop"),l="var "+c+" = function ("+s+") "+(this.body.synthetic?"{\n"+i+t.getIndentString():""),p=(this.body.synthetic?"\n"+i+"}":"")+";\n\n"+i;if(t.prependRight(this.body.start,l),t.appendLeft(this.body.end,p),t.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var h=u.createIdentifier("returned"),f="{\n"+a+"var "+h+" = "+c+"("+o+");\n";this.canBreak&&(f+="\n"+a+"if ( "+h+" === 'break' ) break;"),this.canReturn&&(f+="\n"+a+"if ( "+h+" ) return "+h+".v;"),f+="\n"+i+"}",t.prependRight(this.body.end,f)}else{var d=c+"("+o+");";"DoWhileStatement"===this.type?t.overwrite(this.start,this.body.start,"do {\n"+a+d+"\n"+i+"}"):t.prependRight(this.body.end,d)}}else r&&(t.appendLeft(this.body.start,"{ "),t.prependRight(this.body.end," }"));e.prototype.transpile.call(this,t,n)},LoopStatement}(p),j=function(e){function ForStatement(){e.apply(this,arguments)}return e&&(ForStatement.__proto__=e),ForStatement.prototype=Object.create(e&&e.prototype),ForStatement.prototype.constructor=ForStatement,ForStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForStatement.prototype.transpile=function transpile(t,n){var r=this,i=this.getIndentation()+t.getIndentString();if(this.shouldRewriteAsFunction){var a="VariableDeclaration"===this.init.type?this.init.declarations.map(function(e){return extractNames(e.id)}):[],o=this.aliases;this.args=a.map(function(e){return e in r.aliases?r.aliases[e].outer:e}),this.params=a.map(function(e){return e in r.aliases?r.aliases[e].inner:e});var s=Object.keys(this.reassigned).map(function(e){return o[e].outer+" = "+o[e].inner+";"});if(s.length)if(this.body.synthetic)t.appendLeft(this.body.body[0].end,"; "+s.join(" "));else{var u=this.body.body[this.body.body.length-1];t.appendLeft(u.end,"\n\n"+i+s.join("\n"+i))}}e.prototype.transpile.call(this,t,n)},ForStatement}(T),I=function(e){function ForInStatement(){e.apply(this,arguments)}return e&&(ForInStatement.__proto__=e),ForInStatement.prototype=Object.create(e&&e.prototype),ForInStatement.prototype.constructor=ForInStatement,ForInStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForInStatement.prototype.transpile=function transpile(t,n){var r=this,i="VariableDeclaration"===this.left.type;if(this.shouldRewriteAsFunction){var a=i?this.left.declarations.map(function(e){return extractNames(e.id)}):[];this.args=a.map(function(e){return e in r.aliases?r.aliases[e].outer:e}),this.params=a.map(function(e){return e in r.aliases?r.aliases[e].inner:e})}e.prototype.transpile.call(this,t,n);var o=i?this.left.declarations[0].id:this.left;"Identifier"!==o.type&&this.destructurePattern(t,o,i)},ForInStatement.prototype.destructurePattern=function destructurePattern(e,t,n){var r=this.findScope(!0),i=this.getIndentation()+e.getIndentString(),a=r.createIdentifier("ref"),o=this.body.body.length?this.body.body[0].start:this.body.start+1;e.move(t.start,t.end,o),e.prependRight(t.end,n?a:"var "+a);var s=[];destructure(e,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},t,a,!1,s);var u=";\n"+i;s.forEach(function(e,t){t===s.length-1&&(u=";\n\n"+i),e(o,"",u)})},ForInStatement}(T),M=function(e){function ForOfStatement(){e.apply(this,arguments)}return e&&(ForOfStatement.__proto__=e),ForOfStatement.prototype=Object.create(e&&e.prototype),ForOfStatement.prototype.constructor=ForOfStatement,ForOfStatement.prototype.initialise=function initialise(t){if(t.forOf&&!t.dangerousForOf)throw new d("for...of statements are not supported. Use `transforms: { forOf: false }` to skip transformation and disable this error, or `transforms: { dangerousForOf: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},ForOfStatement.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.dangerousForOf)if(this.body.body[0]){var r=this.findScope(!0),i=this.getIndentation(),a=i+t.getIndentString(),o=r.createIdentifier("i"),s=r.createIdentifier("list");this.body.synthetic&&(t.prependRight(this.left.start,"{\n"+a),t.appendLeft(this.body.body[0].end,"\n"+i+"}"));var u=this.body.body[0].start;t.remove(this.left.end,this.right.start),t.move(this.left.start,this.left.end,u),t.prependRight(this.right.start,"var "+o+" = 0, "+s+" = "),t.appendLeft(this.right.end,"; "+o+" < "+s+".length; "+o+" += 1");var c="VariableDeclaration"===this.left.type,l=c?this.left.declarations[0].id:this.left;if("Identifier"!==l.type){var p=[],h=r.createIdentifier("ref");destructure(t,function(e){return r.createIdentifier(e)},function(e){var t=e.name;return r.resolveName(t)},l,h,!c,p);var f=";\n"+a;p.forEach(function(e,t){t===p.length-1&&(f=";\n\n"+a),e(u,"",f)}),c?(t.appendLeft(this.left.start+this.left.kind.length+1,h),t.appendLeft(this.left.end," = "+s+"["+o+"];\n"+a)):t.appendLeft(this.left.end,"var "+h+" = "+s+"["+o+"];\n"+a)}else t.appendLeft(this.left.end," = "+s+"["+o+"];\n\n"+a)}else"VariableDeclaration"===this.left.type&&"var"===this.left.kind?(t.remove(this.start,this.left.start),t.appendLeft(this.left.end,";"),t.remove(this.left.end,this.end)):t.remove(this.start,this.end)},ForOfStatement}(T),N=function(e){function FunctionDeclaration(){e.apply(this,arguments)}return e&&(FunctionDeclaration.__proto__=e),FunctionDeclaration.prototype=Object.create(e&&e.prototype),FunctionDeclaration.prototype.constructor=FunctionDeclaration,FunctionDeclaration.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.findScope(!0).addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t)},FunctionDeclaration.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n),n.trailingFunctionCommas&&this.params.length&&removeTrailingComma(t,this.params[this.params.length-1].end)},FunctionDeclaration}(p),A=function(e){function FunctionExpression(){e.apply(this,arguments)}return e&&(FunctionExpression.__proto__=e),FunctionExpression.prototype=Object.create(e&&e.prototype),FunctionExpression.prototype.constructor=FunctionExpression,FunctionExpression.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new d("Generators are not supported",this);this.body.createScope(),this.id&&this.body.scope.addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t);var n,r=this.parent;if(t.conciseMethodProperty&&"Property"===r.type&&"init"===r.kind&&r.method&&"Identifier"===r.key.type?n=r.key.name:t.classes&&"MethodDefinition"===r.type&&"method"===r.kind&&"Identifier"===r.key.type?n=r.key.name:this.id&&"Identifier"===this.id.type&&(n=this.id.alias||this.id.name),n)for(var i=0,a=this.params;it.depth&&(this.alias=t.getArgumentsAlias()),r&&r.body.contains(this)&&r.depth>t.depth&&(this.alias=t.getArgumentsAlias())}this.findScope(!1).addReference(this)}},Identifier.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},Identifier}(p),D=function(e){function IfStatement(){e.apply(this,arguments)}return e&&(IfStatement.__proto__=e),IfStatement.prototype=Object.create(e&&e.prototype),IfStatement.prototype.constructor=IfStatement,IfStatement.prototype.initialise=function initialise(t){e.prototype.initialise.call(this,t)},IfStatement.prototype.transpile=function transpile(t,n){("BlockStatement"!==this.consequent.type||"BlockStatement"===this.consequent.type&&this.consequent.synthetic)&&(t.appendLeft(this.consequent.start,"{ "),t.prependRight(this.consequent.end," }")),this.alternate&&"IfStatement"!==this.alternate.type&&("BlockStatement"!==this.alternate.type||"BlockStatement"===this.alternate.type&&this.alternate.synthetic)&&(t.appendLeft(this.alternate.start,"{ "),t.prependRight(this.alternate.end," }")),e.prototype.transpile.call(this,t,n)},IfStatement}(p),F=function(e){function ImportDeclaration(){e.apply(this,arguments)}return e&&(ImportDeclaration.__proto__=e),ImportDeclaration.prototype=Object.create(e&&e.prototype),ImportDeclaration.prototype.constructor=ImportDeclaration,ImportDeclaration.prototype.initialise=function initialise(t){if(t.moduleImport)throw new d("import is not supported",this);e.prototype.initialise.call(this,t)},ImportDeclaration}(p),U=function(e){function ImportDefaultSpecifier(){e.apply(this,arguments)}return e&&(ImportDefaultSpecifier.__proto__=e),ImportDefaultSpecifier.prototype=Object.create(e&&e.prototype),ImportDefaultSpecifier.prototype.constructor=ImportDefaultSpecifier,ImportDefaultSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportDefaultSpecifier}(p),B=function(e){function ImportSpecifier(){e.apply(this,arguments)}return e&&(ImportSpecifier.__proto__=e),ImportSpecifier.prototype=Object.create(e&&e.prototype),ImportSpecifier.prototype.constructor=ImportSpecifier,ImportSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportSpecifier}(p),V=function(e){function JSXAttribute(){e.apply(this,arguments)}return e&&(JSXAttribute.__proto__=e),JSXAttribute.prototype=Object.create(e&&e.prototype),JSXAttribute.prototype.constructor=JSXAttribute,JSXAttribute.prototype.transpile=function transpile(t,n){var r,i=this.name,a=i.start,o=i.name,s=this.value?this.value.start:this.name.end;t.overwrite(a,s,(/-/.test(r=o)?"'"+r+"'":r)+": "+(this.value?"":"true")),e.prototype.transpile.call(this,t,n)},JSXAttribute}(p);var z=function(e){function JSXClosingElement(){e.apply(this,arguments)}return e&&(JSXClosingElement.__proto__=e),JSXClosingElement.prototype=Object.create(e&&e.prototype),JSXClosingElement.prototype.constructor=JSXClosingElement,JSXClosingElement.prototype.transpile=function transpile(e){var t,n=!0,r=this.parent.children[this.parent.children.length-1];(r&&("JSXText"===(t=r).type&&!/\S/.test(t.value)&&/\n/.test(t.value))||this.parent.openingElement.attributes.length)&&(n=!1),e.overwrite(this.start,this.end,n?" )":")")},JSXClosingElement}(p);var W=function(e){function JSXClosingFragment(){e.apply(this,arguments)}return e&&(JSXClosingFragment.__proto__=e),JSXClosingFragment.prototype=Object.create(e&&e.prototype),JSXClosingFragment.prototype.constructor=JSXClosingFragment,JSXClosingFragment.prototype.transpile=function transpile(e){var t,n=!0,r=this.parent.children[this.parent.children.length-1];r&&("JSXText"===(t=r).type&&!/\S/.test(t.value)&&/\n/.test(t.value))&&(n=!1),e.overwrite(this.start,this.end,n?" )":")")},JSXClosingFragment}(p);function normalise(e,t){return e=e.replace(/\u00a0/g," "),t&&/\n/.test(e)&&(e=e.replace(/\s+$/,"")),e=e.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(e)}var q=function(e){function JSXElement(){e.apply(this,arguments)}return e&&(JSXElement.__proto__=e),JSXElement.prototype=Object.create(e&&e.prototype),JSXElement.prototype.constructor=JSXElement,JSXElement.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);var r=this.children.filter(function(e){return"JSXText"!==e.type||(/\S/.test(e.raw)||!/\n/.test(e.raw))});if(r.length){var i,a=this.openingElement.end;for(i=0;i0&&(l.start===a?t.prependRight(a,", "):t.overwrite(a,l.start,", ")),c&&"JSXSpreadAttribute"!==l.type){var p=this.attributes[o-1],h=this.attributes[o+1];p&&"JSXSpreadAttribute"!==p.type||t.prependRight(l.start,"{ "),h&&"JSXSpreadAttribute"!==h.type||t.appendLeft(l.end," }")}a=l.end}if(c)if(1===i)u=r?"',":",";else{if(!this.program.options.objectAssign)throw new d("Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.",this);u=r?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",s=")"}else u=r?"', {":", {",s=" }";t.prependRight(this.name.end,u),s&&t.appendLeft(this.attributes[i-1].end,s)}else t.appendLeft(this.name.end,r?"', null":", null"),a=this.name.end;this.selfClosing?t.overwrite(a,this.end,this.attributes.length?")":" )"):t.remove(a,this.end)},JSXOpeningElement}(p),X=function(e){function JSXOpeningFragment(){e.apply(this,arguments)}return e&&(JSXOpeningFragment.__proto__=e),JSXOpeningFragment.prototype=Object.create(e&&e.prototype),JSXOpeningFragment.prototype.constructor=JSXOpeningFragment,JSXOpeningFragment.prototype.transpile=function transpile(e){e.overwrite(this.start,this.end,this.program.jsx+"( React.Fragment, null")},JSXOpeningFragment}(p),Q=function(e){function JSXSpreadAttribute(){e.apply(this,arguments)}return e&&(JSXSpreadAttribute.__proto__=e),JSXSpreadAttribute.prototype=Object.create(e&&e.prototype),JSXSpreadAttribute.prototype.constructor=JSXSpreadAttribute,JSXSpreadAttribute.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},JSXSpreadAttribute}(p),G=createCommonjsModule(function(e,t){ /*! * regjsgen 0.3.0 * Copyright 2014-2016 Benjamin Tan @@ -29,14 +29,14 @@ var r=n(499),i=n(500),a=n(501);function kMaxLength(){return Buffer.TYPED_ARRAY_S */ (function(){var n={function:!0,object:!0},r=n[typeof window]&&window||this,i=n.object&&t,a=n.object&&e&&!e.nodeType&&e,o=i&&a&&"object"==typeof u&&u;!o||o.global!==o&&o.window!==o&&o.self!==o||(r=o);var s=Object.prototype.hasOwnProperty,c=String.fromCharCode,l=Math.floor;function fromCodePoint(){var e,t,n=[],r=-1,i=arguments.length;if(!i)return"";for(var a="";++r1114111||l(o)!=o)throw RangeError("Invalid code point: "+o);o<=65535?n.push(o):(e=55296+((o-=65536)>>10),t=o%1024+56320,n.push(e,t)),(r+1==i||n.length>16384)&&(a+=c.apply(null,n),n.length=0)}return a}var p={};function assertType(e,t){if(-1==t.indexOf("|")){if(e==t)return;throw Error("Invalid node type: "+e+"; expected type: "+t)}if(!(t=s.call(p,t)?p[t]:p[t]=RegExp("^(?:"+t+")$")).test(e))throw Error("Invalid node type: "+e+"; expected types: "+t)}function generate(e){var t=e.type;if(s.call(h,t))return h[t](e);throw Error("Invalid node type: "+t)}function generateAtom(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|dot|group|reference|value"),generate(e)}function generateClassAtom(e){return assertType(e.type,"anchor|characterClassEscape|characterClassRange|dot|value"),generate(e)}function generateTerm(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|unicodePropertyEscape|value"),generate(e)}var h={alternative:function generateAlternative(e){assertType(e.type,"alternative");for(var t=e.body,n=-1,r=t.length,i="";++n=55296&&r<=56319&&(t=lookahead().charCodeAt(0))>=56320&&t<=57343?createValue("symbol",1024*(r-55296)+t-56320+65536,++s-2,s):createValue("symbol",r,s-1,s)}function createDisjunction(e,t,n){return addRaw({type:"disjunction",body:e,range:[t,n]})}function createGroup(e,t,n,r){return addRaw({type:"group",behavior:e,body:t,range:[n,r]})}function createQuantifier(e,t,n,r){return null==r&&(n=s-1,r=s),addRaw({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[n,r]})}function createAlternative(e,t,n){return addRaw({type:"alternative",body:e,range:[t,n]})}function createCharacterClass(e,t,n,r){return addRaw({type:"characterClass",body:e,negative:t,range:[n,r]})}function createClassRange(e,t,n,r){return e.codePoint>t.codePoint&&bail("invalid range in character class",e.raw+"-"+t.raw,n,r),addRaw({type:"characterClassRange",min:e,max:t,range:[n,r]})}function flattenBody(e){return"alternative"===e.type?e.body:[e]}function incr(t){t=t||1;var n=e.substring(s,s+t);return s+=t||1,n}function skip(e){match(e)||bail("character",e)}function match(t){if(e.indexOf(t,s)===s)return incr(t.length)}function lookahead(){return e[s]}function current(t){return e.indexOf(t,s)===s}function next(t){return e[s+1]===t}function matchReg(t){var n=e.substring(s).match(t);return n&&(n.range=[],n.range[0]=s,incr(n[0].length),n.range[1]=s),n}function parseDisjunction(){var e=[],t=s;for(e.push(parseAlternative());match("|");)e.push(parseAlternative());return 1===e.length?e[0]:createDisjunction(e,t,s)}function parseAlternative(){for(var e,t=[],n=s;e=parseTerm();)t.push(e);return 1===t.length?t[0]:createAlternative(t,n,s)}function parseTerm(){if(s>=e.length||current("|")||current(")"))return null;var t=match("^")?createAnchor("start",1):match("$")?createAnchor("end",1):match("\\b")?createAnchor("boundary",2):match("\\B")?createAnchor("not-boundary",2):parseGroup("(?=","lookahead","(?!","negativeLookahead");if(t)return t;var n,r=(n=matchReg(/^[^^$\\.*+?(){[|]/))?createCharacter(n):match(".")?addRaw({type:"dot",range:[s-1,s]}):match("\\")?((n=parseAtomEscape())||bail("atomEscape"),n):(n=parseCharacterClass())?n:parseGroup("(?:","ignore","(","normal");r||bail("Expected atom");var i=parseQuantifier()||!1;return i?(i.body=flattenBody(r),updateRawStart(i,r.range[0]),i):r}function parseGroup(e,t,n,r){var o=null,u=s;if(match(e))o=t;else{if(!match(n))return!1;o=r}var c=parseDisjunction();c||bail("Expected disjunction"),skip(")");var l=createGroup(o,flattenBody(c),u,s);return"normal"==o&&a&&i++,l}function parseQuantifier(){var e,t,n,r,i=s;return match("*")?t=createQuantifier(0):match("+")?t=createQuantifier(1):match("?")?t=createQuantifier(0,1):(e=matchReg(/^\{([0-9]+)\}/))?t=createQuantifier(n=parseInt(e[1],10),n,e.range[0],e.range[1]):(e=matchReg(/^\{([0-9]+),\}/))?t=createQuantifier(n=parseInt(e[1],10),void 0,e.range[0],e.range[1]):(e=matchReg(/^\{([0-9]+),([0-9]+)\}/))&&((n=parseInt(e[1],10))>(r=parseInt(e[2],10))&&bail("numbers out of order in {} quantifier","",i,s),t=createQuantifier(n,r,e.range[0],e.range[1])),t&&match("?")&&(t.greedy=!1,t.range[1]+=1),t}function parseUnicodeSurrogatePairEscape(e){var t,n;if(o&&"unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&¤t("\\")&&next("u")){var r=s;s++;var i=parseClassEscape();"unicodeEscape"==i.kind&&(n=i.codePoint)>=56320&&n<=57343?(e.range[1]=i.range[1],e.codePoint=1024*(t-55296)+n-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",addRaw(e)):s=r}return e}function parseClassEscape(){return parseAtomEscape(!0)}function parseAtomEscape(e){var t,n=s;if(t=parseDecimalEscape())return t;if(e){if(match("b"))return createEscaped("singleEscape",8,"\\b");match("B")&&bail("\\B not possible inside of CharacterClass","",n)}return t=parseCharacterEscape()}function parseDecimalEscape(){var e,t,n;if(e=matchReg(/^(?!0)\d+/)){t=e[0];var a=parseInt(e[0],10);return a<=i?(n=e[0],addRaw({type:"reference",matchIndex:parseInt(n,10),range:[s-1-n.length,s]})):(r.push(a),incr(-e[0].length),(e=matchReg(/^[0-7]{1,3}/))?createEscaped("octal",parseInt(e[0],8),e[0],1):updateRawStart(e=createCharacter(matchReg(/^[89]/)),e.range[0]-1))}return(e=matchReg(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?createEscaped("null",0,"0",t.length+1):createEscaped("octal",parseInt(t,8),t,1)):!!(e=matchReg(/^[dDsSwW]/))&&addRaw({type:"characterClassEscape",value:e[0],range:[s-2,s]})}function parseCharacterEscape(){var e,t,r,i;if(e=matchReg(/^[fnrtv]/)){var a=0;switch(e[0]){case"t":a=9;break;case"n":a=10;break;case"v":a=11;break;case"f":a=12;break;case"r":a=13}return createEscaped("singleEscape",a,"\\"+e[0])}return(e=matchReg(/^c([a-zA-Z])/))?createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=matchReg(/^x([0-9a-fA-F]{2})/))?createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=matchReg(/^u([0-9a-fA-F]{4})/))?parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2)):o&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))?createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):n.unicodePropertyEscape&&o&&(e=matchReg(/^([pP])\{([^\}]+)\}/))?addRaw({type:"unicodePropertyEscape",negative:"P"===e[1],value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]}):(r=lookahead(),i=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),36===r||95===r||r>=65&&r<=90||r>=97&&r<=122||r>=48&&r<=57||92===r||r>=128&&i.test(String.fromCharCode(r))?match("‌")?createEscaped("identifier",8204,"‌"):match("‍")?createEscaped("identifier",8205,"‍"):null:createEscaped("identifier",(t=incr()).charCodeAt(0),t,1))}function parseCharacterClass(){var e,t=s;return(e=matchReg(/^\[\^/))?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!0,t,s)):match("[")?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!1,t,s)):null}function parseClassRanges(){var e,t;return current("]")?[]:((t=parseClassAtom())||bail("classAtom"),(e=current("]")?[t]:parseHelperClassRanges(t))||bail("nonEmptyClassRanges"),e)}function parseHelperClassRanges(e){var t,n,r;if(current("-")&&!next("]")){skip("-"),(r=parseClassAtom())||bail("classAtom"),n=s;var i=parseClassRanges();return i||bail("classRanges"),t=e.range[0],"empty"===i.type?[createClassRange(e,r,t,n)]:[createClassRange(e,r,t,n)].concat(i)}return(r=parseNonemptyClassRangesNoDash())||bail("nonEmptyClassRangesNoDash"),[e].concat(r)}function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?e:parseHelperClassRanges(e)}function parseClassAtom(){return match("-")?createCharacter("-"):(e=matchReg(/^[^\\\]-]/))?createCharacter(e[0]):match("\\")?((e=parseClassEscape())||bail("classEscape"),parseUnicodeSurrogatePairEscape(e)):void 0;var e}function bail(t,n,r,i){r=null==r?s:r,i=null==i?r:i;var a=Math.max(0,r-10),o=Math.min(i+10,e.length),u=" "+e.substring(a,o),c=" "+new Array(r-a+1).join(" ")+"^";throw SyntaxError(t+" at position "+r+(n?": "+n:"")+"\n"+u+"\n"+c)}n||(n={});var r=[],i=0,a=!0,o=-1!==(t||"").indexOf("u"),s=0;""===(e=String(e))&&(e="(?:)");var u=parseDisjunction();u.range[1]!==e.length&&bail("Could not parse entire input - got stuck","",u.range[1]);for(var c=0;c=n&&tn)return e;if(t<=r&&n>=i)e.splice(a,2);else{if(t>=r&&n=r&&t<=i)e[a+1]=t;else if(n>=r&&n<=i)return e[a]=n+1,e;a+=2}}return e},w=function(e,t){var n,r,i=0,a=null,o=e.length;if(t<0||t>1114111)throw RangeError(s);for(;i=n&&tt)return e.splice(null!=a?a+2:0,0,t,t+1),e;if(t==r)return t+1==e[i+2]?(e.splice(i,4,n,e[i+3]),e):(e[i+1]=t+1,e);a=i,i+=2}return e.push(t,t+1),e},S=function(e,t){for(var n,r,i=0,a=e.slice(),o=t.length;i1114111||n<0||n>1114111)throw RangeError(s);for(var r,i,a=0,u=!1,c=e.length;an)return e;r>=t&&r<=n&&(i>t&&i-1<=n?(e.splice(a,2),a-=2):(e.splice(a-1,2),a-=2))}else{if(r==n+1)return e[a]=t,e;if(r>n)return e.splice(a,0,t,n+1),e;if(t>=r&&t=r&&t=i&&(e[a]=t,e[a+1]=n+1,u=!0)}a+=2}return u||e.push(t,n+1),e},k=function(e,t){var n=0,r=e.length,i=e[n],a=e[r-1];if(r>=2&&(ta))return!1;for(;n=i&&t=40&&e<=43||e>=45&&e<=47||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+N(e):e>=32&&e<=126?N(e):e<=255?"\\x"+v(y(e),2):"\\u"+v(y(e),4)},L=function(e){return e<=65535?A(e):"\\u{"+e.toString(16).toUpperCase()+"}"},D=function(e){var t=e.length,n=e.charCodeAt(0);return n>=55296&&n<=56319&&t>1?1024*(n-55296)+e.charCodeAt(1)-56320+65536:n},F=function(e){var t,n,r="",i=0,a=e.length;if(R(e))return A(e[0]);for(;i=55296&&n<=56319&&(a.push(t,55296),r.push(55296,n+1)),n>=56320&&n<=57343&&(a.push(t,55296),r.push(55296,56320),i.push(56320,n+1)),n>57343&&(a.push(t,55296),r.push(55296,56320),i.push(56320,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>=55296&&t<=56319?(n>=55296&&n<=56319&&r.push(t,n+1),n>=56320&&n<=57343&&(r.push(t,56320),i.push(56320,n+1)),n>57343&&(r.push(t,56320),i.push(56320,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>=56320&&t<=57343?(n>=56320&&n<=57343&&i.push(t,n+1),n>57343&&(i.push(t,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?a.push(t,n+1):(a.push(t,65536),o.push(65536,n+1)):o.push(t,n+1),s+=2;return{loneHighSurrogates:r,loneLowSurrogates:i,bmp:a,astral:o}},V=function(e){for(var t,n,r,i,a,o,s=[],u=[],c=!1,l=-1,p=e.length;++l1&&(e=g.call(arguments)),this instanceof K?(this.data=[],e?this.add(e):this):(new K).add(e)};K.version="1.3.3";var J=K.prototype;!function(e,t){var n;for(n in t)p.call(t,n)&&(e[n]=t[n])}(J,{add:function(e){var t=this;return null==e?t:e instanceof K?(t.data=S(t.data,e.data),t):(arguments.length>1&&(e=g.call(arguments)),d(e)?(h(e,function(e){t.add(e)}),t):(t.data=w(t.data,m(e)?e:D(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof K?(t.data=C(t.data,e.data),t):(arguments.length>1&&(e=g.call(arguments)),d(e)?(h(e,function(e){t.remove(e)}),t):(t.data=_(t.data,m(e)?e:D(e)),t))},addRange:function(e,t){return this.data=E(this.data,m(e)?e:D(e),m(t)?t:D(t)),this},removeRange:function(e,t){var n=m(e)?e:D(e),r=m(t)?t:D(t);return this.data=x(this.data,n,r),this},intersection:function(e){var t=e instanceof K?T(e.data):e;return this.data=P(this.data,t),this},contains:function(e){return k(this.data,m(e)?e:D(e))},clone:function(){var e=new K;return e.data=this.data.slice(0),e},toString:function(e){var t=H(this.data,!!e&&e.bmpOnly,!!e&&e.hasUnicodeFlag);return t?t.replace(c,"\\0$1"):"[]"},toRegExp:function(e){var t=this.toString(e&&-1!=e.indexOf("u")?{hasUnicodeFlag:!0}:null);return RegExp(t,e||"")},valueOf:function(){return T(this.data)}}),J.toArray=J.valueOf,r&&!r.nodeType?i?i.exports=K:r.regenerate=K:n.regenerate=K}(u)}),$=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"]),ee=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["Ext","Extender"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]]),te=function(e){if($.has(e))return e;if(ee.has(e))return ee.get(e);throw new Error("Unknown property: "+e)},ne=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]]),re=function(e,t){var n=ne.get(e);if(!n)throw new Error("Unknown property `"+e+"`.");var r=n.get(t);if(r)return r;throw new Error("Unknown value `"+t+"` for property `"+e+"`.")},ie=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[618,42926],[669,42930],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1074,7296],[1076,7297],[1086,7298],[1089,7299],[1090,[7300,7301]],[1098,7302],[1122,7303],[1123,7303],[5024,43888],[5025,43889],[5026,43890],[5027,43891],[5028,43892],[5029,43893],[5030,43894],[5031,43895],[5032,43896],[5033,43897],[5034,43898],[5035,43899],[5036,43900],[5037,43901],[5038,43902],[5039,43903],[5040,43904],[5041,43905],[5042,43906],[5043,43907],[5044,43908],[5045,43909],[5046,43910],[5047,43911],[5048,43912],[5049,43913],[5050,43914],[5051,43915],[5052,43916],[5053,43917],[5054,43918],[5055,43919],[5056,43920],[5057,43921],[5058,43922],[5059,43923],[5060,43924],[5061,43925],[5062,43926],[5063,43927],[5064,43928],[5065,43929],[5066,43930],[5067,43931],[5068,43932],[5069,43933],[5070,43934],[5071,43935],[5072,43936],[5073,43937],[5074,43938],[5075,43939],[5076,43940],[5077,43941],[5078,43942],[5079,43943],[5080,43944],[5081,43945],[5082,43946],[5083,43947],[5084,43948],[5085,43949],[5086,43950],[5087,43951],[5088,43952],[5089,43953],[5090,43954],[5091,43955],[5092,43956],[5093,43957],[5094,43958],[5095,43959],[5096,43960],[5097,43961],[5098,43962],[5099,43963],[5100,43964],[5101,43965],[5102,43966],[5103,43967],[5104,5112],[5105,5113],[5106,5114],[5107,5115],[5108,5116],[5109,5117],[5112,5104],[5113,5105],[5114,5106],[5115,5107],[5116,5108],[5117,5109],[7296,[1042,1074]],[7297,[1044,1076]],[7298,[1054,1086]],[7299,[1057,1089]],[7300,[7301,1090]],[7301,[1058,7300,1090]],[7302,[1066,1098]],[7303,[1122,1123]],[7304,[42570,42571]],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[42571,7304],[42926,618],[42930,669],[42931,43859],[42932,42933],[42933,42932],[42934,42935],[42935,42934],[43859,42931],[43888,5024],[43889,5025],[43890,5026],[43891,5027],[43892,5028],[43893,5029],[43894,5030],[43895,5031],[43896,5032],[43897,5033],[43898,5034],[43899,5035],[43900,5036],[43901,5037],[43902,5038],[43903,5039],[43904,5040],[43905,5041],[43906,5042],[43907,5043],[43908,5044],[43909,5045],[43910,5046],[43911,5047],[43912,5048],[43913,5049],[43914,5050],[43915,5051],[43916,5052],[43917,5053],[43918,5054],[43919,5055],[43920,5056],[43921,5057],[43922,5058],[43923,5059],[43924,5060],[43925,5061],[43926,5062],[43927,5063],[43928,5064],[43929,5065],[43930,5066],[43931,5067],[43932,5068],[43933,5069],[43934,5070],[43935,5071],[43936,5072],[43937,5073],[43938,5074],[43939,5075],[43940,5076],[43941,5077],[43942,5078],[43943,5079],[43944,5080],[43945,5081],[43946,5082],[43947,5083],[43948,5084],[43949,5085],[43950,5086],[43951,5087],[43952,5088],[43953,5089],[43954,5090],[43955,5091],[43956,5092],[43957,5093],[43958,5094],[43959,5095],[43960,5096],[43961,5097],[43962,5098],[43963,5099],[43964,5100],[43965,5101],[43966,5102],[43967,5103],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]]),ae={REGULAR:new Map([["d",Y().addRange(48,57)],["D",Y().addRange(0,47).addRange(58,65535)],["s",Y(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Y().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",Y(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Y(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]),UNICODE:new Map([["d",Y().addRange(48,57)],["D",Y().addRange(0,47).addRange(58,1114111)],["s",Y(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Y().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",Y(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Y(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]),UNICODE_IGNORE_CASE:new Map([["d",Y().addRange(48,57)],["D",Y().addRange(0,47).addRange(58,1114111)],["s",Y(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Y().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",Y(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Y(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},oe=createCommonjsModule(function(e){var t=G.generate,n=Z.parse,r=Y().addRange(0,1114111),i=Y().addRange(0,65535),a=r.clone().remove(10,13,8232,8233),o=a.clone().intersection(i),s=function(e,t,n){return t?n?ae.UNICODE_IGNORE_CASE.get(e):ae.UNICODE.get(e):ae.REGULAR.get(e)},u=function(e,t){try{return commonjsRequire()}catch(n){throw new Error("Failed to recognize value `"+t+"` for property `"+e+"`.")}},c=function(e){try{var t=re("General_Category",e);return u("General_Category",t)}catch(e){}var n=te(e);return u(n)},l=function(e,t){var n,i=e.split("="),a=i[0];if(1==i.length)n=c(a);else{var o=te(a),s=re(o,i[1]);n=u(o,s)}return t?r.clone().remove(n):n.clone()};Y.prototype.iuAddRange=function(e,t){do{var n=f(e);n&&this.add(n)}while(++e<=t);return this};var p=function(e,t){var r=n(t,v.useUnicodeFlag?"u":"");switch(r.type){case"characterClass":case"group":case"value":break;default:r=h(r,t)}Object.assign(e,r)},h=function(e,t){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+t+")"}},f=function(e){return ie.get(e)||!1},d=function(e,t){for(var n=Y(),a=0,o=e.body;aT&&t.remove(T,k.value.start),t.prependLeft(T," = ")):t.overwrite(k.start,k.key.end+1,"["+t.slice(k.start,k.key.end)+"] = "),!k.method||!k.computed&&n.conciseMethodProperty||(k.value.generator&&t.remove(k.start,k.key.start),t.prependRight(k.value.start,"function"+(k.value.generator?"*":"")+" "))}else"SpreadElement"===k.type?y&&E>0&&(x||(x=this.properties[E-1]),t.appendLeft(x.end,", "+y+" )"),x=null,y=null):(!C&&a&&(t.prependRight(k.start,"{"),t.appendLeft(k.end,"}")),S=!0);if(C&&("SpreadElement"===k.type||k.computed)){var j=S?this.properties[this.properties.length-1].end:this.end-1;","==t.original[j]&&++j;var I=t.slice(j,_);t.prependLeft(P,I),t.remove(j,_),C=!1}var M=k.end;if(Ethis.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(e)},ReturnStatement.prototype.transpile=function transpile(e,t){var n=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(n&&e.prependRight(this.argument.start,"{ v: "),this.argument.transpile(e,t),n&&e.appendLeft(this.argument.end," }")):n&&e.appendLeft(this.start+6," {}")},ReturnStatement}(p),SpreadElement:function(e){function SpreadElement(){e.apply(this,arguments)}return e&&(SpreadElement.__proto__=e),SpreadElement.prototype=Object.create(e&&e.prototype),SpreadElement.prototype.constructor=SpreadElement,SpreadElement.prototype.transpile=function transpile(t,n){"ObjectExpression"==this.parent.type&&(t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end)),e.prototype.transpile.call(this,t,n)},SpreadElement}(p),Super:function(e){function Super(){e.apply(this,arguments)}return e&&(Super.__proto__=e),Super.prototype=Object.create(e&&e.prototype),Super.prototype.constructor=Super,Super.prototype.initialise=function initialise(e){if(e.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new d("use of super outside class method",this);var t=this.findNearest("ClassBody").parent;if(this.superClassName=t.superClass&&(t.superClass.name||"superclass"),!this.superClassName)throw new d("super used in base class",this);if(this.isCalled="CallExpression"===this.parent.type&&this===this.parent.callee,"constructor"!==this.method.kind&&this.isCalled)throw new d("super() not allowed outside class constructor",this);if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new d("Unexpected use of `super` (expected `super(...)` or `super.*`)",this)}if(e.arrow){var n=this.findLexicalBoundary(),r=this.findNearest("ArrowFunctionExpression"),i=this.findNearest(x);r&&r.depth>n.depth&&(this.thisAlias=n.getThisAlias()),i&&i.body.contains(this)&&i.depth>n.depth&&(this.thisAlias=n.getThisAlias())}},Super.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.isCalled||this.method.static?this.superClassName:this.superClassName+".prototype";e.overwrite(this.start,this.end,n,{storeName:!0,contentOnly:!0});var r=this.isCalled?this.parent:this.parent.parent;if(r&&"CallExpression"===r.type){this.noCall||e.appendLeft(r.callee.end,".call");var i=this.thisAlias||"this";r.arguments.length?e.appendLeft(r.arguments[0].start,i+", "):e.appendLeft(r.end-1,""+i)}}},Super}(p),TaggedTemplateExpression:function(e){function TaggedTemplateExpression(){e.apply(this,arguments)}return e&&(TaggedTemplateExpression.__proto__=e),TaggedTemplateExpression.prototype=Object.create(e&&e.prototype),TaggedTemplateExpression.prototype.constructor=TaggedTemplateExpression,TaggedTemplateExpression.prototype.initialise=function initialise(t){if(t.templateString&&!t.dangerousTaggedTemplateString)throw new d("Tagged template strings are not supported. Use `transforms: { templateString: false }` to skip transformation and disable this error, or `transforms: { dangerousTaggedTemplateString: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},TaggedTemplateExpression.prototype.transpile=function transpile(t,n){if(n.templateString&&n.dangerousTaggedTemplateString){var r=this.quasi.expressions.concat(this.quasi.quasis).sort(function(e,t){return e.start-t.start}),i=this.program.body.scope,a=this.quasi.quasis.map(function(e){return JSON.stringify(e.value.cooked)}).join(", "),o=this.program.templateLiteralQuasis[a];o||(o=i.createIdentifier("templateObject"),t.prependRight(this.program.prependAt,"var "+o+" = Object.freeze(["+a+"]);\n"),this.program.templateLiteralQuasis[a]=o),t.overwrite(this.tag.end,r[0].start,"("+o);var s=r[0].start;r.forEach(function(e){"TemplateElement"===e.type?t.remove(s,e.end):t.overwrite(s,e.start,", "),s=e.end}),t.overwrite(s,this.end,")")}e.prototype.transpile.call(this,t,n)},TaggedTemplateExpression}(p),TemplateElement:function(e){function TemplateElement(){e.apply(this,arguments)}return e&&(TemplateElement.__proto__=e),TemplateElement.prototype=Object.create(e&&e.prototype),TemplateElement.prototype.constructor=TemplateElement,TemplateElement.prototype.initialise=function initialise(){this.program.indentExclusionElements.push(this)},TemplateElement}(p),TemplateLiteral:function(e){function TemplateLiteral(){e.apply(this,arguments)}return e&&(TemplateLiteral.__proto__=e),TemplateLiteral.prototype=Object.create(e&&e.prototype),TemplateLiteral.prototype.constructor=TemplateLiteral,TemplateLiteral.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.templateString&&"TaggedTemplateExpression"!==this.parent.type){var r=this.expressions.concat(this.quasis).sort(function(e,t){return e.start-t.start||e.end-t.end}).filter(function(e,t){return"TemplateElement"!==e.type||(!!e.value.raw||!t)});if(r.length>=3){var i=r[0],a=r[2];"TemplateElement"===i.type&&""===i.value.raw&&"TemplateElement"===a.type&&r.shift()}var o=!(1===this.quasis.length&&0===this.expressions.length||"TemplateLiteral"===this.parent.type||"AssignmentExpression"===this.parent.type||"AssignmentPattern"===this.parent.type||"VariableDeclarator"===this.parent.type||"BinaryExpression"===this.parent.type&&"+"===this.parent.operator);o&&t.appendRight(this.start,"(");var s=this.start;r.forEach(function(e,n){var r=0===n?o?"(":"":" + ";if("TemplateElement"===e.type)t.overwrite(s,e.end,r+JSON.stringify(e.value.cooked));else{var i="Identifier"!==e.type;i&&(r+="("),t.remove(s,e.start),r&&t.prependRight(e.start,r),i&&t.appendLeft(e.end,")")}s=e.end}),o&&t.appendLeft(s,")"),t.overwrite(s,this.end,"",{contentOnly:!0})}},TemplateLiteral}(p),ThisExpression:function(e){function ThisExpression(){e.apply(this,arguments)}return e&&(ThisExpression.__proto__=e),ThisExpression.prototype=Object.create(e&&e.prototype),ThisExpression.prototype.constructor=ThisExpression,ThisExpression.prototype.initialise=function initialise(e){if(e.arrow){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(x);(n&&n.depth>t.depth||r&&r.body.contains(this)&&r.depth>t.depth||r&&r.right&&r.right.contains(this))&&(this.alias=t.getThisAlias())}},ThisExpression.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},ThisExpression}(p),UpdateExpression:function(e){function UpdateExpression(){e.apply(this,arguments)}return e&&(UpdateExpression.__proto__=e),UpdateExpression.prototype=Object.create(e&&e.prototype),UpdateExpression.prototype.constructor=UpdateExpression,UpdateExpression.prototype.initialise=function initialise(t){if("Identifier"===this.argument.type){var n=this.findScope(!1).findDeclaration(this.argument.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.argument.name]=!0)}e.prototype.initialise.call(this,t)},UpdateExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.argument.type&&checkConst(this.argument,this.findScope(!1)),e.prototype.transpile.call(this,t,n)},UpdateExpression}(p),VariableDeclaration:function(e){function VariableDeclaration(){e.apply(this,arguments)}return e&&(VariableDeclaration.__proto__=e),VariableDeclaration.prototype=Object.create(e&&e.prototype),VariableDeclaration.prototype.constructor=VariableDeclaration,VariableDeclaration.prototype.initialise=function initialise(e){this.scope=this.findScope("var"===this.kind),this.declarations.forEach(function(t){return t.initialise(e)})},VariableDeclaration.prototype.transpile=function transpile(e,t){var n=this,r=this.getIndentation(),i=this.kind;if(t.letConst&&"var"!==i&&(i="var",e.overwrite(this.start,this.start+this.kind.length,i,{contentOnly:!0,storeName:!0})),t.destructuring&&"ForOfStatement"!==this.parent.type&&"ForInStatement"!==this.parent.type){var a,o=this.start;this.declarations.forEach(function(i,s){if(i.transpile(e,t),"Identifier"===i.id.type)s>0&&"Identifier"!==n.declarations[s-1].id.type&&e.overwrite(o,i.id.start,"var ");else{var u=x.test(n.parent.type);0===s?e.remove(o,i.id.start):e.overwrite(o,i.id.start,";\n"+r);var c="Identifier"===i.init.type&&!i.init.rewritten,l=c?i.init.alias||i.init.name:i.findScope(!0).createIdentifier("ref");o=i.start;var p=[];c?e.remove(i.id.end,i.end):p.push(function(t,n,r){e.prependRight(i.id.end,"var "+l),e.appendLeft(i.init.end,""+r),e.move(i.id.end,i.end,t)});var h=i.findScope(!1);destructure(e,function(e){return h.createIdentifier(e)},function(e){var t=e.name;return h.resolveName(t)},i.id,l,u,p);var f=u?"var ":"",d=u?", ":";\n"+r;p.forEach(function(e,t){s===n.declarations.length-1&&t===p.length-1&&(d=u?"":";"),e(i.start,0===t?f:"",d)})}o=i.end,a="Identifier"!==i.id.type}),a&&this.end>o&&e.overwrite(o,this.end,"",{contentOnly:!0})}else this.declarations.forEach(function(n){n.transpile(e,t)})},VariableDeclaration}(p),VariableDeclarator:function(e){function VariableDeclarator(){e.apply(this,arguments)}return e&&(VariableDeclarator.__proto__=e),VariableDeclarator.prototype=Object.create(e&&e.prototype),VariableDeclarator.prototype.constructor=VariableDeclarator,VariableDeclarator.prototype.initialise=function initialise(t){var n=this.parent.kind;"let"===n&&"ForStatement"===this.parent.parent.type&&(n="for.let"),this.parent.scope.addDeclaration(this.id,n),e.prototype.initialise.call(this,t)},VariableDeclarator.prototype.transpile=function transpile(e,t){if(!this.init&&t.letConst&&"var"!==this.parent.kind){var n=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!n||/Function/.test(n.type)||this.isLeftDeclaratorOfLoop()||e.appendLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(e,t),this.init&&this.init.transpile(e,t)},VariableDeclarator.prototype.isLeftDeclaratorOfLoop=function isLeftDeclaratorOfLoop(){return this.parent&&"VariableDeclaration"===this.parent.type&&this.parent.parent&&("ForInStatement"===this.parent.parent.type||"ForOfStatement"===this.parent.parent.type)&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},VariableDeclarator}(p),WhileStatement:T},ue={Program:["body"],Literal:[]},ce={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function wrap(e,t){if(e)if("length"in e)for(var n=e.length;n--;)wrap(e[n],t);else if(!e.__wrapped){e.__wrapped=!0,ue[e.type]||(ue[e.type]=Object.keys(e).filter(function(t){return"object"==typeof e[t]}));var r=ce[e.type];if(r&&"BlockStatement"!==e[r].type){var i=e[r];e[r]={start:i.start,end:i.end,type:"BlockStatement",body:[i],synthetic:!0}}e.parent=t,e.program=t.program||t,e.depth=t.depth+1,e.keys=ue[e.type],e.indentation=void 0;for(var a=0,o=ue[e.type];a...",!0,!0),t.jsxName=new e.TokenType("jsxName"),t.jsxText=new e.TokenType("jsxText",{beforeExpr:!0}),t.jsxTagStart=new e.TokenType("jsxTagStart"),t.jsxTagEnd=new e.TokenType("jsxTagEnd"),t.jsxTagStart.updateContext=function(){this.context.push(n.j_expr),this.context.push(n.j_oTag),this.exprAllowed=!1},t.jsxTagEnd.updateContext=function(e){var r=this.context.pop();r===n.j_oTag&&e===t.slash||r===n.j_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===n.j_expr):this.exprAllowed=!0};var r=e.Parser.prototype;function getQualifiedJSXName(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property):void 0:e}return r.jsx_readToken=function(){for(var n="",r=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(t.jsxTagStart)):this.getTokenFromCode(i):(n+=this.input.slice(r,this.pos),this.finishToken(t.jsxText,n));case 38:n+=this.input.slice(r,this.pos),n+=this.jsx_readEntity(),r=this.pos;break;default:e.isNewLine(i)?(n+=this.input.slice(r,this.pos),n+=this.jsx_readNewLine(!0),r=this.pos):++this.pos}}},r.jsx_readNewLine=function(e){var t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},r.jsx_readString=function(n){for(var r="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var a=this.input.charCodeAt(this.pos);if(a===n)break;38===a?(r+=this.input.slice(i,this.pos),r+=this.jsx_readEntity(),i=this.pos):e.isNewLine(a)?(r+=this.input.slice(i,this.pos),r+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return r+=this.input.slice(i,this.pos++),this.finishToken(t.string,r)},r.jsx_readEntity=function(){var e,t="",n=0,r=this.input[this.pos];"&"!==r&&this.raise(this.pos,"Entity must start with an ampersand");for(var i=++this.pos;this.pos")}return r.openingElement=a,r.closingElement=o,r.children=i,this.type===t.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,a.name?"JSXElement":"JSXFragment")},r.jsx_parseText=function(e){var t=this.parseLiteral(e);return t.type="JSXText",t},r.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},e.plugins.jsx=function(r,i){i&&("object"!=typeof i&&(i={}),r.options.plugins.jsx={allowNamespaces:!1!==i.allowNamespaces,allowNamespacedObjects:!!i.allowNamespacedObjects},r.extend("parseExprAtom",function(e){return function(n){return this.type===t.jsxText?this.jsx_parseText(this.value):this.type===t.jsxTagStart?this.jsx_parseElement():e.call(this,n)}}),r.extend("readToken",function(r){return function(i){var a=this.curContext();if(a===n.j_expr)return this.jsx_readToken();if(a===n.j_oTag||a===n.j_cTag){if(e.isIdentifierStart(i))return this.jsx_readWord();if(62==i)return++this.pos,this.finishToken(t.jsxTagEnd);if((34===i||39===i)&&a==n.j_oTag)return this.jsx_readString(i)}return 60===i&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(t.jsxTagStart)):r.call(this,i)}}),r.extend("updateContext",function(e){return function(r){if(this.type==t.braceL){var i=this.curContext();i==n.j_oTag?this.context.push(n.b_expr):i==n.j_expr?this.context.push(n.b_tmpl):e.call(this,r),this.exprAllowed=!0}else{if(this.type!==t.slash||r!==t.jsxTagStart)return e.call(this,r);this.context.length-=2,this.context.push(n.j_cTag),this.exprAllowed=!1}}}))},e},l].reduce(function(e,t){return t(e)},i).parse,fe=["dangerousTaggedTemplateString","dangerousForOf"];function target(e){var t=Object.keys(e).length?1048575:262144;Object.keys(e).forEach(function(n){var r=le[n];if(!r)throw new Error("Unknown environment '"+n+"'. Please raise an issue at https://github.com/Rich-Harris/buble/issues");var i=e[n];if(!(i in r))throw new Error("Support data exists for the following versions of "+n+": "+Object.keys(r).join(", ")+". Please raise an issue at https://github.com/Rich-Harris/buble/issues");var a=r[i];t&=a});var n=Object.create(null);return pe.forEach(function(e,r){n[e]=!(t&1<=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}function getRelativePath(e,t){var n=e.split(/[\/\\]/),r=t.split(/[\/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length)for(var i=n.length;i--;)n[i]="..";return n.concat(r).join("/")}SourceMap.prototype={toString:function toString(){return JSON.stringify(this)},toUrl:function toUrl(){return"data:application/json;charset=utf-8;base64,"+a(this.toString())}};var o=Object.prototype.toString;function isObject(e){return"[object Object]"===o.call(e)}function getLocator(e){var t=e.split("\n"),n=0,r=t.map(function(e,t){var r=n+e.length+1,i={start:n,end:r,line:t};return n=r,i}),i=0;function rangeContains(e,t){return e.start<=t&&t=t.end?1:-1;t;){if(rangeContains(t,e))return getLocation(t,e);t=r[i+=n]}}}function Mappings(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,c,l){for(var p=i.start,h=!0;p=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function overwrite(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(u.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),u.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,a=void 0!==r&&r.contentOnly;if(i){var o=this.original.slice(e,t);this.storedNames[o]=!0}var s=this.byStart[e],c=this.byEnd[t];if(s){if(t>s.end&&s.next!==this.byStart[s.end])throw new Error("Cannot overwrite across a split point");if(s.edit(n,i,a),s!==c){for(var l=s.next;l!==c;)l.edit("",!1),l=l.next;l.edit("",!1)}}else{var p=new Chunk(e,t,"").edit(n,i);c.next=p,p.previous=c}return this},prepend:function prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function slice(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function snip(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function _split(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function _splitChunk(e,t){if(e.edited&&e.content.length){var n=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function toString(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimEnd:function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var c=Object.prototype.hasOwnProperty;function Bundle(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}Bundle.prototype={addSource:function addSource(e){if(e instanceof MagicString$1)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!isObject(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){c.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(c.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function append(e,t){return this.addSource({content:new MagicString$1(e),separator:t&&t.separator||""}),this},clone:function clone(){var e=new Bundle({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function generateMap(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new Mappings(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=getLocator(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new SourceMap({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?getRelativePath(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function getIndentString(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function indent(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function prepend(e){return this.intro=e+this.intro,this},toString:function toString(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function trimEnd(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=MagicString$1}).call(this,n(202).Buffer,n(183))},function(e,t,n){"use strict";n.d(t,"a",function(){return encode});var r={},i={};function encode(e){var t;if("number"==typeof e)t=encodeInteger(e);else{t="";for(var n=0;n>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return re}),n.d(t,"parse",function(){return parse}),n.d(t,"parseExpressionAt",function(){return parseExpressionAt}),n.d(t,"tokenizer",function(){return tokenizer}),n.d(t,"parse_dammit",function(){return ee}),n.d(t,"LooseParser",function(){return te}),n.d(t,"pluginsLoose",function(){return ne}),n.d(t,"addLooseExports",function(){return addLooseExports}),n.d(t,"Parser",function(){return T}),n.d(t,"plugins",function(){return R}),n.d(t,"defaultOptions",function(){return O}),n.d(t,"Position",function(){return k}),n.d(t,"SourceLocation",function(){return P}),n.d(t,"getLineInfo",function(){return getLineInfo}),n.d(t,"Node",function(){return W}),n.d(t,"TokenType",function(){return f}),n.d(t,"tokTypes",function(){return y}),n.d(t,"keywordTypes",function(){return v}),n.d(t,"TokContext",function(){return H}),n.d(t,"tokContexts",function(){return K}),n.d(t,"isIdentifierChar",function(){return isIdentifierChar}),n.d(t,"isIdentifierStart",function(){return isIdentifierStart}),n.d(t,"Token",function(){return Z}),n.d(t,"isNewLine",function(){return isNewLine}),n.d(t,"lineBreak",function(){return g}),n.d(t,"lineBreakG",function(){return b}),n.d(t,"nonASCIIwhitespace",function(){return _});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞹꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",c=new RegExp("["+s+"]"),l=new RegExp("["+s+u+"]");s=u=null;var p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,190,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,26,230,43,117,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,68,12,0,67,12,65,1,31,6129,15,754,9486,286,82,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,280,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function isInAstralSet(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,p)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,p)||isInAstralSet(e,h)))))}var f=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function binop(e,t){return new f(e,{beforeExpr:!0,binop:t})}var d={beforeExpr:!0},m={startsExpr:!0},v={};function kw(e,t){return void 0===t&&(t={}),t.keyword=e,v[e]=new f(e,t)}var y={num:new f("num",m),regexp:new f("regexp",m),string:new f("string",m),name:new f("name",m),eof:new f("eof"),bracketL:new f("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:!0,startsExpr:!0}),braceR:new f("}"),parenL:new f("(",{beforeExpr:!0,startsExpr:!0}),parenR:new f(")"),comma:new f(",",d),semi:new f(";",d),colon:new f(":",d),dot:new f("."),question:new f("?",d),arrow:new f("=>",d),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",d),backQuote:new f("`",m),dollarBraceL:new f("${",{beforeExpr:!0,startsExpr:!0}),eq:new f("=",{beforeExpr:!0,isAssign:!0}),assign:new f("_=",{beforeExpr:!0,isAssign:!0}),incDec:new f("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new f("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new f("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new f("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",d),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",d),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",d),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",m),_if:kw("if"),_return:kw("return",d),_switch:kw("switch"),_throw:kw("throw",d),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",m),_super:kw("super",m),_class:kw("class",m),_extends:kw("extends",d),_export:kw("export"),_import:kw("import"),_null:kw("null",m),_true:kw("true",m),_false:kw("false",m),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},g=/\r\n?|\n|\u2028|\u2029/,b=new RegExp(g.source,"g");function isNewLine(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var _=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,x=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,w=Object.prototype,S=w.hasOwnProperty,C=w.toString;function has(e,t){return S.call(e,t)}var E=Array.isArray||function(e){return"[object Array]"===C.call(e)},k=function Position(e,t){this.line=e,this.column=t};k.prototype.offset=function offset(e){return new k(this.line,this.column+e)};var P=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function getLineInfo(e,t){for(var n=1,r=0;;){b.lastIndex=r;var i=b.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),E(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return E(t.onComment)&&(t.onComment=pushComment(t,t.onComment)),t}function pushComment(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new P(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}var R={};function keywordRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var T=function Parser(e,t,n){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=keywordRegexp(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=keywordRegexp(s),this.reservedWordsStrictBind=keywordRegexp(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(g).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null};T.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},T.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},T.prototype.extend=function extend(e,t){this[e]=t(this[e])},T.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=R[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},T.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var j=T.prototype,I=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}j.strictDirective=function(e){for(;;){x.lastIndex=e,e+=x.exec(this.input)[0].length;var t=I.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},j.eat=function(e){return this.type===e&&(this.next(),!0)},j.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc},j.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},j.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},j.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||g.test(this.input.slice(this.lastTokEnd,this.start))},j.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},j.semicolon=function(){this.eat(y.semi)||this.insertSemicolon()||this.unexpected()},j.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},j.expect=function(e){this.eat(e)||this.unexpected()},j.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},j.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var N={kind:"loop"},A={kind:"switch"};M.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(isIdentifierStart(n,!0)){for(var r=t+1;isIdentifierChar(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},M.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length;return!(g.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&isIdentifierChar(this.input.charAt(t+8)))},M.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=y._var,r="let"),i){case y._break:case y._continue:return this.parseBreakContinueStatement(a,i.keyword);case y._debugger:return this.parseDebuggerStatement(a);case y._do:return this.parseDoStatement(a);case y._for:return this.parseForStatement(a);case y._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case y._class:return e||this.unexpected(),this.parseClass(a,!0);case y._if:return this.parseIfStatement(a);case y._return:return this.parseReturnStatement(a);case y._switch:return this.parseSwitchStatement(a);case y._throw:return this.parseThrowStatement(a);case y._try:return this.parseTryStatement(a);case y._const:case y._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(a,r);case y._while:return this.parseWhileStatement(a);case y._with:return this.parseWithStatement(a);case y.braceL:return this.parseBlock();case y.semi:return this.parseEmptyStatement(a);case y._export:case y._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===y._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===y.name&&"Identifier"===s.type&&this.eat(y.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},M.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type!==y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},M.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(N),this.enterLexicalScope(),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===y._var||this.type===y._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new DestructuringErrors,o=this.parseExpression(!0,a);return this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},M.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},M.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===y._function),e.alternate=this.eat(y._else)?this.parseStatement(!this.strict&&this.type===y._function):null,this.finishNode(e,"IfStatement")},M.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},M.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(A),this.enterLexicalScope();for(var n=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var r=this.type===y._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},M.parseThrowStatement=function(e){return this.next(),g.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var L=[];M.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();this.next(),this.eat(y.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(y.parenR)):(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterLexicalScope()),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},M.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},M.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(N),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},M.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},M.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},M.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"===e.body.type||"VariableDeclaration"===e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"===e.body.type&&(this.strict||e.body.generator||e.body.async))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},M.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},M.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(y.braceL),e&&this.enterLexicalScope();!this.eat(y.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},M.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},M.parseForIn=function(e,t){var n=this.type===y._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},M.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(y.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===y._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return e},M.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},M.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==y.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},M.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},M.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(y.braceL);!this.eat(y.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},M.parseClassMember=function(e){var t=this;if(this.eat(y.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===y.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(y.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(y.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},M.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},M.parseClassId=function(e,t){e.id=this.type===y.name?this.parseIdent():!0===t?this.unexpected():null},M.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts():null},M.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.expectContextual("from"),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(y._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===y._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===y._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},F.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===y.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},F.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new DestructuringErrors,r=!0);var o=this.start,s=this.startLoc;this.type!==y.parenL&&this.type!==y.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var c=this.startNodeAt(o,s);return c.operator=this.value,c.left=this.type===y.eq?this.toAssignable(u,!1,t):u,r||DestructuringErrors.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},F.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(y.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},F.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},F.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==y._in)&&a>r){var o=this.type===y.logicalOR||this.type===y.logicalAND,s=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,a,i),p=this.buildBinary(t,n,e,l,s,o);return this.parseExprOp(p,t,n,r,i)}return e},F.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},F.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===y.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(y.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},F.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},F.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(y.bracketL))||this.eat(y.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(y.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(y.parenL)){var s=new DestructuringErrors,u=this.yieldPos,c=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var l=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=c,this.parseArrowExpression(this.startNodeAt(t,n),l,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=c||this.awaitPos;var p=this.startNodeAt(t,n);p.callee=e,p.arguments=l,e=this.finishNode(p,"CallExpression")}else{if(this.type!==y.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},F.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(t,"Super");case y._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case y.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==y.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(y._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===y.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(y.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case y.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return(t=this.startNode()).value=this.type===y._null?null:this.type===y._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case y.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case y.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case y.braceL:return this.parseObj(!1,e);case y._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();default:this.unexpected()}},F.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},F.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e},F.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],c=!0,l=!1,p=new DestructuringErrors,h=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(c?c=!1:this.expect(y.comma),i&&this.afterTrailingComma(y.parenR,!0)){l=!0;break}if(this.type===y.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(y.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},F.parseParenItem=function(e){return e},F.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var U=[];F.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(y.parenL)?e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=U,this.finishNode(e,"NewExpression")},F.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===y.backQuote,this.finishNode(n,"TemplateElement")},F.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(y.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},F.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!g.test(this.input.slice(this.lastTokEnd,this.start))},F.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},F.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===y.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(y.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},F.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===y.comma||this.type===y.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===y.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},F.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(!0)},F.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},F.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(y.parenL),n.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},F.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},F.parseFunctionBody=function(e,t){var n=t&&this.type!==y.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},F.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},J.updateContext=function(e){var t,n=this.type;n.keyword&&e===y.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},y.parenR.updateContext=y.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===K.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?K.b_stat:K.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(K.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?K.p_stat:K.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y.semi&&e!==y._else&&(e!==y.colon&&e!==y.braceL||this.curContext()!==K.b_stat)?this.context.push(K.f_expr):this.context.push(K.f_stat),this.exprAllowed=!1},y.backQuote.updateContext=function(){this.curContext()===K.q_tmpl?this.context.pop():this.context.push(K.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===K.f_expr?this.context[t]=K.f_expr_gen:this.context[t]=K.f_gen}this.exprAllowed=!0},y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var X={$LONE:["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"],General_Category:["Cased_Letter","LC","Close_Punctuation","Pe","Connector_Punctuation","Pc","Control","Cc","cntrl","Currency_Symbol","Sc","Dash_Punctuation","Pd","Decimal_Number","Nd","digit","Enclosing_Mark","Me","Final_Punctuation","Pf","Format","Cf","Initial_Punctuation","Pi","Letter","L","Letter_Number","Nl","Line_Separator","Zl","Lowercase_Letter","Ll","Mark","M","Combining_Mark","Math_Symbol","Sm","Modifier_Letter","Lm","Modifier_Symbol","Sk","Nonspacing_Mark","Mn","Number","N","Open_Punctuation","Ps","Other","C","Other_Letter","Lo","Other_Number","No","Other_Punctuation","Po","Other_Symbol","So","Paragraph_Separator","Zp","Private_Use","Co","Punctuation","P","punct","Separator","Z","Space_Separator","Zs","Spacing_Mark","Mc","Surrogate","Cs","Symbol","S","Titlecase_Letter","Lt","Unassigned","Cn","Uppercase_Letter","Lu"],Script:["Adlam","Adlm","Ahom","Anatolian_Hieroglyphs","Hluw","Arabic","Arab","Armenian","Armn","Avestan","Avst","Balinese","Bali","Bamum","Bamu","Bassa_Vah","Bass","Batak","Batk","Bengali","Beng","Bhaiksuki","Bhks","Bopomofo","Bopo","Brahmi","Brah","Braille","Brai","Buginese","Bugi","Buhid","Buhd","Canadian_Aboriginal","Cans","Carian","Cari","Caucasian_Albanian","Aghb","Chakma","Cakm","Cham","Cherokee","Cher","Common","Zyyy","Coptic","Copt","Qaac","Cuneiform","Xsux","Cypriot","Cprt","Cyrillic","Cyrl","Deseret","Dsrt","Devanagari","Deva","Duployan","Dupl","Egyptian_Hieroglyphs","Egyp","Elbasan","Elba","Ethiopic","Ethi","Georgian","Geor","Glagolitic","Glag","Gothic","Goth","Grantha","Gran","Greek","Grek","Gujarati","Gujr","Gurmukhi","Guru","Han","Hani","Hangul","Hang","Hanunoo","Hano","Hatran","Hatr","Hebrew","Hebr","Hiragana","Hira","Imperial_Aramaic","Armi","Inherited","Zinh","Qaai","Inscriptional_Pahlavi","Phli","Inscriptional_Parthian","Prti","Javanese","Java","Kaithi","Kthi","Kannada","Knda","Katakana","Kana","Kayah_Li","Kali","Kharoshthi","Khar","Khmer","Khmr","Khojki","Khoj","Khudawadi","Sind","Lao","Laoo","Latin","Latn","Lepcha","Lepc","Limbu","Limb","Linear_A","Lina","Linear_B","Linb","Lisu","Lycian","Lyci","Lydian","Lydi","Mahajani","Mahj","Malayalam","Mlym","Mandaic","Mand","Manichaean","Mani","Marchen","Marc","Masaram_Gondi","Gonm","Meetei_Mayek","Mtei","Mende_Kikakui","Mend","Meroitic_Cursive","Merc","Meroitic_Hieroglyphs","Mero","Miao","Plrd","Modi","Mongolian","Mong","Mro","Mroo","Multani","Mult","Myanmar","Mymr","Nabataean","Nbat","New_Tai_Lue","Talu","Newa","Nko","Nkoo","Nushu","Nshu","Ogham","Ogam","Ol_Chiki","Olck","Old_Hungarian","Hung","Old_Italic","Ital","Old_North_Arabian","Narb","Old_Permic","Perm","Old_Persian","Xpeo","Old_South_Arabian","Sarb","Old_Turkic","Orkh","Oriya","Orya","Osage","Osge","Osmanya","Osma","Pahawh_Hmong","Hmng","Palmyrene","Palm","Pau_Cin_Hau","Pauc","Phags_Pa","Phag","Phoenician","Phnx","Psalter_Pahlavi","Phlp","Rejang","Rjng","Runic","Runr","Samaritan","Samr","Saurashtra","Saur","Sharada","Shrd","Shavian","Shaw","Siddham","Sidd","SignWriting","Sgnw","Sinhala","Sinh","Sora_Sompeng","Sora","Soyombo","Soyo","Sundanese","Sund","Syloti_Nagri","Sylo","Syriac","Syrc","Tagalog","Tglg","Tagbanwa","Tagb","Tai_Le","Tale","Tai_Tham","Lana","Tai_Viet","Tavt","Takri","Takr","Tamil","Taml","Tangut","Tang","Telugu","Telu","Thaana","Thaa","Thai","Tibetan","Tibt","Tifinagh","Tfng","Tirhuta","Tirh","Ugaritic","Ugar","Vai","Vaii","Warang_Citi","Wara","Yi","Yiii","Zanabazar_Square","Zanb"]};Array.prototype.push.apply(X.$LONE,X.General_Category),X.gc=X.General_Category,X.sc=X.Script_Extensions=X.scx=X.Script;var Q=T.prototype,G=function RegExpValidationState(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function isSyntaxCharacter(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||36===e||95===e}function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||36===e||95===e||8204===e||8205===e}function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}function isCharacterClassEscape(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||95===e}function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}function isDecimalDigit(e){return e>=48&&e<=57}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function isOctalDigit(e){return e>=48&&e<=55}G.prototype.reset=function reset(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},G.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},G.prototype.at=function at(e){var t=this.source,n=t.length;if(e>=n)return-1;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?r:(r<<10)+t.charCodeAt(e+1)-56613888},G.prototype.nextIndex=function nextIndex(e){var t=this.source,n=t.length;if(e>=n)return n;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?e+1:e+2},G.prototype.current=function current(){return this.at(this.pos)},G.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},G.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},G.prototype.eat=function eat(e){return this.current()===e&&(this.advance(),!0)},Q.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},Q.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Q.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},Q.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Q.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Q.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Q.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Q.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Q.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!isSyntaxCharacter(t)&&(e.lastIntValue=t,e.advance(),!0)},Q.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!isSyntaxCharacter(n);)e.advance();return e.pos!==t},Q.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},Q.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Q.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Q.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString$1(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString$1(e.lastIntValue);return!0}return!1},Q.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierStart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Q.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierPart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Q.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Q.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},Q.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Q.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Q.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Q.regexp_eatZero=function(e){return 48===e.current()&&!isDecimalDigit(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Q.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Q.regexp_eatControlLetter=function(e){var t=e.current();return!!isControlLetter(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Q.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,n=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((t=e.lastIntValue)>=0&&t<=1114111))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=n}return!1},Q.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},Q.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},Q.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},Q.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},Q.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){X.hasOwnProperty(t)&&-1!==X[t].indexOf(n)||e.raise("Invalid property name")},Q.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===X.$LONE.indexOf(t)&&e.raise("Invalid property name")},Q.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},Q.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},Q.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Q.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},Q.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},Q.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||isOctalDigit(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},Q.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Q.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!isDecimalDigit(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Q.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Q.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isDecimalDigit(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},Q.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isHexDigit(n=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(n),e.advance();return e.pos!==t},Q.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},Q.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Q.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Y.next=function(){this.options.onToken&&this.options.onToken(new Z(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Y.getToken=function(){return this.next(),new Z(this)},"undefined"!=typeof Symbol&&(Y[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}}),Y.curContext=function(){return this.context[this.context.length-1]},Y.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(y.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Y.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Y.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Y.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(b.lastIndex=n;(e=b.exec(this.input))&&e.index8&&e<14||e>=5760&&_.test(String.fromCharCode(e))))break e;++this.pos}}},Y.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Y.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},Y.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},Y.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?y.star:y.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=y.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(y.assign,n+1):this.finishOp(r,n)},Y.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?y.logicalOR:y.logicalAND,2):61===t?this.finishOp(y.assign,2):this.finishOp(124===e?y.bitwiseOR:y.bitwiseAND,1)},Y.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},Y.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!g.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(y.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},Y.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(y.assign,n+1):this.finishOp(y.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(y.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Y.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(y.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(61===e?y.eq:y.prefix,1)},Y.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 63:return++this.pos,this.finishToken(y.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},Y.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Y.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(g.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new G(this));s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,o)}catch(e){}return this.finishToken(y.regexp,{pattern:i,flags:o,value:u})},Y.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},Y.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,t)},Y.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(y.num,a)},Y.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Y.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(y.string,t)};var $={};Y.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==$)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Y.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw $;this.raise(e,t)},Y.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==y.template&&this.type!==y.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e)):36===n?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Y.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},Y.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Y.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos=0&&p.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=getNonce();n&&(e.attrs.nonce=n)}return addAttrs(t,e.attrs),insertStyleElement(e,t),t}function createLinkElement(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function getNonce(){return n.nc}function addStyle(e,t){var n,r,i,a;if(t.transform&&e.css){if(!(a="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=a}if(t.singleton){var o=l++;n=c||(c=createStyleElement(t)),r=applyToSingletonTag.bind(null,n,o,!1),i=applyToSingletonTag.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=createLinkElement(t),r=updateLink.bind(null,n,t),i=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),r=applyToTag.bind(null,n),i=function(){removeStyleElement(n)});return r(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=o()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;ii;)J(e,n=r[i++],t[n]);return e},Q=function propertyIsEnumerable(e){var t=L.call(this,e=x(e,!0));return!(this===B&&i(F,e)&&!i(U,e))&&(!(t||!i(this,e)||!i(F,e)||i(this,N)&&this[N][e])||t)},G=function getOwnPropertyDescriptor(e,t){if(e=_(e),t=x(t,!0),e!==B||!i(F,t)||i(U,t)){var n=O(e,t);return!n||!i(F,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},Z=function getOwnPropertyNames(e){for(var t,n=T(_(e)),r=[],a=0;n.length>a;)i(F,t=n[a++])||t==N||t==u||r.push(t);return r},Y=function getOwnPropertySymbols(e){for(var t,n=e===B,r=T(n?U:_(e)),a=[],o=0;r.length>o;)!i(F,t=r[o++])||n&&!i(B,t)||a.push(F[t]);return a};V||(s((j=function Symbol(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(U,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,w(1,n))};return a&&W&&q(B,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",function toString(){return this._k}),E.f=G,k.f=J,n(49).f=C.f=Z,n(69).f=Q,n(78).f=Y,a&&!n(45)&&s(B,"propertyIsEnumerable",Q,!0),d.f=function(e){return H(f(e))}),o(o.G+o.W+o.F*!V,{Symbol:j});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)f($[ee++]);for(var te=P(f.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!V,"Symbol",{for:function(e){return i(D,e+="")?D[e]:D[e]=j(e)},keyFor:function keyFor(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!V,"Object",{create:function create(e,t){return void 0===t?S(e):X(S(e),t)},defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:G,getOwnPropertyNames:Z,getOwnPropertySymbols:Y}),I&&o(o.S+o.F*(!V||c(function(){var e=j();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function stringify(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,M.apply(I,r)}}),j.prototype[A]||n(20)(j.prototype,A,j.prototype.valueOf),p(j,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(46),i=n(78),a=n(69);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,c=0;s.length>c;)u.call(e,o=s[c++])&&t.push(o);return t}},function(e,t,n){var r=n(2);r(r.S,"Object",{create:n(48)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(13),"Object",{defineProperty:n(12).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(13),"Object",{defineProperties:n(156)})},function(e,t,n){var r=n(21),i=n(27).f;n(28)("getOwnPropertyDescriptor",function(){return function getOwnPropertyDescriptor(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(17),i=n(50);n(28)("getPrototypeOf",function(){return function getPrototypeOf(e){return i(r(e))}})},function(e,t,n){var r=n(17),i=n(46);n(28)("keys",function(){return function keys(e){return i(r(e))}})},function(e,t,n){n(28)("getOwnPropertyNames",function(){return n(157).f})},function(e,t,n){var r=n(7),i=n(38).onFreeze;n(28)("freeze",function(e){return function freeze(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(7),i=n(38).onFreeze;n(28)("seal",function(e){return function seal(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(7),i=n(38).onFreeze;n(28)("preventExtensions",function(e){return function preventExtensions(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(7);n(28)("isFrozen",function(e){return function isFrozen(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(7);n(28)("isSealed",function(e){return function isSealed(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(7);n(28)("isExtensible",function(e){return function isExtensible(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(158)})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(159)})},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(114).set})},function(e,t,n){"use strict";var r=n(70),i={};i[n(9)("toStringTag")]="z",i+""!="[object z]"&&n(16)(Object.prototype,"toString",function toString(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(160)})},function(e,t,n){var r=n(12).f,i=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in i||n(13)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(7),i=n(50),a=n(9)("hasInstance"),o=Function.prototype;a in o||n(12).f(o,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(2),i=n(162);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){var r=n(2),i=n(163);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(6),i=n(19),a=n(34),o=n(116),s=n(37),u=n(4),c=n(49).f,l=n(27).f,p=n(12).f,h=n(79).trim,f=r.Number,d=f,m=f.prototype,v="Number"==a(n(48)(m)),y="trim"in String.prototype,g=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,a=(t=y?t.trim():h(t,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var o,u=t.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function Number(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(v?u(function(){m.valueOf.call(n)}):"Number"!=a(n))?o(new d(g(t)),n,f):g(t)};for(var b,_=n(13)?c(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)i(d,b=_[x])&&!i(f,b)&&p(f,b,l(d,b));f.prototype=m,m.constructor=f,n(16)(r,"Number",f)}},function(e,t,n){"use strict";var r=n(2),i=n(26),a=n(164),o=n(117),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=u(r/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=u(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t},d=function(e,t,n){return 0===t?n:t%2==1?d(e,t-1,n*e):d(e*e,t/2,n)},m=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(4)(function(){s.call({})})),"Number",{toFixed:function toFixed(e){var t,n,r,s,u=a(this,l),c=i(e),v="",y="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(n=(t=m(u*d(2,69,1))-69)<0?u*d(2,-t,1):u/d(2,t,1),n*=4503599627370496,(t=52-t)>0){for(p(0,n),r=c;r>=7;)p(1e7,0),r-=7;for(p(d(10,r,1),0),r=t-1;r>=23;)h(1<<23),r-=23;h(1<0?v+((s=y.length)<=c?"0."+o.call("0",c-s)+y:y.slice(0,s-c)+"."+y.slice(s-c)):v+y}})},function(e,t,n){"use strict";var r=n(2),i=n(4),a=n(164),o=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==o.call(1,void 0)})||!i(function(){o.call({})})),"Number",{toPrecision:function toPrecision(e){var t=a(this,"Number#toPrecision: incorrect invocation!");return void 0===e?o.call(t):o.call(t,e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),i=n(6).isFinite;r(r.S,"Number",{isFinite:function isFinite(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(165)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function isNaN(e){return e!=e}})},function(e,t,n){var r=n(2),i=n(165),a=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(e){return i(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),i=n(163);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(2),i=n(162);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(2),i=n(166),a=Math.sqrt,o=Math.acosh;r(r.S+r.F*!(o&&710==Math.floor(o(Number.MAX_VALUE))&&o(1/0)==1/0),"Math",{acosh:function acosh(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+a(e-1)*a(e+1))}})},function(e,t,n){var r=n(2),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function asinh(e){return isFinite(e=+e)&&0!=e?e<0?-asinh(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(e,t,n){var r=n(2),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function atanh(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),i=n(118);r(r.S,"Math",{cbrt:function cbrt(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function clz32(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),i=Math.exp;r(r.S,"Math",{cosh:function cosh(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(2),i=n(119);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(2);r(r.S,"Math",{fround:n(286)})},function(e,t,n){var r=n(118),i=Math.pow,a=i(2,-52),o=i(2,-23),s=i(2,127)*(2-o),u=i(2,-126);e.exports=Math.fround||function fround(e){var t,n,i=Math.abs(e),c=r(e);return is||n!=n?c*(1/0):c*n}},function(e,t,n){var r=n(2),i=Math.abs;r(r.S,"Math",{hypot:function hypot(e,t){for(var n,r,a=0,o=0,s=arguments.length,u=0;o0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(a)}})},function(e,t,n){var r=n(2),i=Math.imul;r(r.S+r.F*n(4)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function imul(e,t){var n=+e,r=+t,i=65535&n,a=65535&r;return 0|i*a+((65535&n>>>16)*a+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function log10(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(166)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function log2(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(118)})},function(e,t,n){var r=n(2),i=n(119),a=Math.exp;r(r.S+r.F*n(4)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function sinh(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),i=n(119),a=Math.exp;r(r.S,"Math",{tanh:function tanh(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function trunc(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(2),i=n(47),a=String.fromCharCode,o=String.fromCodePoint;r(r.S+r.F*(!!o&&1!=o.length),"String",{fromCodePoint:function fromCodePoint(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(2),i=n(21),a=n(11);r(r.S,"String",{raw:function raw(e){for(var t=i(e.raw),n=a(t.length),r=arguments.length,o=[],s=0;n>s;)o.push(String(t[s++])),s=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(2),i=n(120)(!1);r(r.P,"String",{codePointAt:function codePointAt(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(2),i=n(11),a=n(122),o="".endsWith;r(r.P+r.F*n(124)("endsWith"),"String",{endsWith:function endsWith(e){var t=a(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),u=String(e);return o?o.call(t,u,s):t.slice(s-u.length,s)===u}})},function(e,t,n){"use strict";var r=n(2),i=n(122);r(r.P+r.F*n(124)("includes"),"String",{includes:function includes(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(117)})},function(e,t,n){"use strict";var r=n(2),i=n(11),a=n(122),o="".startsWith;r(r.P+r.F*n(124)("startsWith"),"String",{startsWith:function startsWith(e){var t=a(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return o?o.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(18)("anchor",function(e){return function anchor(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(18)("big",function(e){return function big(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(18)("blink",function(e){return function blink(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(18)("bold",function(e){return function bold(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(18)("fixed",function(e){return function fixed(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(18)("fontcolor",function(e){return function fontcolor(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(18)("fontsize",function(e){return function fontsize(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(18)("italics",function(e){return function italics(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(18)("link",function(e){return function link(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(18)("small",function(e){return function small(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(18)("strike",function(e){return function strike(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(18)("sub",function(e){return function sub(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(18)("sup",function(e){return function sup(){return e(this,"sup","","")}})},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),i=n(17),a=n(37);r(r.P+r.F*n(4)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function toJSON(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(2),i=n(321);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(e,t,n){"use strict";var r=n(4),i=Date.prototype.getTime,a=Date.prototype.toISOString,o=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function toISOString(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+o(e.getUTCMonth()+1)+"-"+o(e.getUTCDate())+"T"+o(e.getUTCHours())+":"+o(e.getUTCMinutes())+":"+o(e.getUTCSeconds())+"."+(n>99?n:"0"+o(n))+"Z"}:a},function(e,t,n){var r=Date.prototype,i=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(16)(r,"toString",function toString(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"})},function(e,t,n){var r=n(9)("toPrimitive"),i=Date.prototype;r in i||n(20)(i,r,n(324))},function(e,t,n){"use strict";var r=n(5),i=n(37);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(112)})},function(e,t,n){"use strict";var r=n(32),i=n(2),a=n(17),o=n(168),s=n(125),u=n(11),c=n(126),l=n(127);i(i.S+i.F*!n(80)(function(e){Array.from(e)}),"Array",{from:function from(e){var t,n,i,p,h=a(e),f="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m,y=0,g=l(h);if(v&&(m=r(m,d>2?arguments[2]:void 0,2)),null==g||f==Array&&s(g))for(n=new f(t=u(h.length));t>y;y++)c(n,y,v?m(h[y],y):h[y]);else for(p=g.call(h),n=new f;!(i=p.next()).done;y++)c(n,y,v?o(p,m,[i.value,y],!0):i.value);return n.length=y,n}})},function(e,t,n){"use strict";var r=n(2),i=n(126);r(r.S+r.F*n(4)(function(){function F(){}return!(Array.of.call(F)instanceof F)}),"Array",{of:function of(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),i=n(21),a=[].join;r(r.P+r.F*(n(68)!=Object||!n(24)(a)),"Array",{join:function join(e){return a.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),i=n(113),a=n(34),o=n(47),s=n(11),u=[].slice;r(r.P+r.F*n(4)(function(){i&&u.call(i)}),"Array",{slice:function slice(e,t){var n=s(this.length),r=a(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var i=o(e,n),c=o(t,n),l=s(c-i),p=new Array(l),h=0;h1&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(170)}),n(56)("copyWithin")},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(128)}),n(56)("fill")},function(e,t,n){"use strict";var r=n(2),i=n(29)(5),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),r(r.P+r.F*a,"Array",{find:function find(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(56)("find")},function(e,t,n){"use strict";var r=n(2),i=n(29)(6),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r(r.P+r.F*o,"Array",{findIndex:function findIndex(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(56)(a)},function(e,t,n){n(57)("Array")},function(e,t,n){var r=n(6),i=n(116),a=n(12).f,o=n(49).f,s=n(123),u=n(81),c=r.RegExp,l=c,p=c.prototype,h=/a/g,f=/a/g,d=new c(h)!==h;if(n(13)&&(!d||n(4)(function(){return f[n(9)("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")}))){c=function RegExp(e,t){var n=this instanceof c,r=s(e),a=void 0===t;return!n&&r&&e.constructor===c&&a?e:i(d?new l(r&&!a?e.source:e,t):l((r=e instanceof c)?e.source:e,r&&a?u.call(e):t),n?this:p,c)};for(var m=function(e){e in c||a(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},v=o(l),y=0;v.length>y;)m(v[y++]);p.constructor=c,c.prototype=p,n(16)(r,"RegExp",c)}n(57)("RegExp")},function(e,t,n){"use strict";n(173);var r=n(5),i=n(81),a=n(13),o=/./.toString,s=function(e){n(16)(RegExp.prototype,"toString",e,!0)};n(4)(function(){return"/a/b"!=o.call({source:"a",flags:"b"})})?s(function toString(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=o.name&&s(function toString(){return o.call(this)})},function(e,t,n){"use strict";var r=n(5),i=n(11),a=n(131),o=n(82);n(83)("match",1,function(e,t,n,s){return[function match(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var u=r(e),c=String(this);if(!u.global)return o(u,c);var l=u.unicode;u.lastIndex=0;for(var p,h=[],f=0;null!==(p=o(u,c));){var d=String(p[0]);h[f]=d,""===d&&(u.lastIndex=a(c,i(u.lastIndex),l)),f++}return 0===f?null:h}]})},function(e,t,n){"use strict";var r=n(5),i=n(17),a=n(11),o=n(26),s=n(131),u=n(82),c=Math.max,l=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n(83)("replace",2,function(e,t,n,d){return[function replace(r,i){var a=e(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,a,i):n.call(String(a),r,i)},function(e,t){var i=d(n,e,this,t);if(i.done)return i.value;var p=r(e),h=String(this),f="function"==typeof t;f||(t=String(t));var m=p.global;if(m){var v=p.unicode;p.lastIndex=0}for(var y=[];;){var g=u(p,h);if(null===g)break;if(y.push(g),!m)break;""===String(g[0])&&(p.lastIndex=s(h,a(p.lastIndex),v))}for(var b,_="",x=0,w=0;w=x&&(_+=h.slice(x,C)+R,x=C+S.length)}return _+h.slice(x)}];function getSubstitution(e,t,r,a,o,s){var u=r+e.length,c=a.length,l=f;return void 0!==o&&(o=i(o),l=h),n.call(s,l,function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":s=o[i.slice(1,-1)];break;default:var l=+i;if(0===l)return i;if(l>c){var h=p(l/10);return 0===h?i:h<=c?void 0===a[h-1]?i.charAt(1):a[h-1]+i.charAt(1):i}s=a[l-1]}return void 0===s?"":s})}})},function(e,t,n){"use strict";var r=n(5),i=n(159),a=n(82);n(83)("search",1,function(e,t,n,o){return[function search(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=o(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this),c=s.lastIndex;i(c,0)||(s.lastIndex=0);var l=a(s,u);return i(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]})},function(e,t,n){"use strict";var r=n(123),i=n(5),a=n(71),o=n(131),s=n(11),u=n(82),c=n(130),l=Math.min,p=[].push,h=!!function(){try{return new RegExp("x","y")}catch(e){}}();n(83)("split",2,function(e,t,n,f){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var a,o,s,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,f=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,l+"g");(a=c.call(d,i))&&!((o=d.lastIndex)>h&&(u.push(i.slice(h,a.index)),a.length>1&&a.index=f));)d.lastIndex===a.index&&d.lastIndex++;return h===i.length?!s&&d.test("")||u.push(""):u.push(i.slice(h)),u.length>f?u.slice(0,f):u}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function split(n,r){var i=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,i,r):d.call(String(i),n,r)},function(e,t){var r=f(d,e,this,t,d!==n);if(r.done)return r.value;var c=i(e),p=String(this),m=a(c,RegExp),v=c.unicode,y=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),g=new m(h?c:"^(?:"+c.source+")",y),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===p.length)return null===u(g,p)?[p]:[];for(var _=0,x=0,w=[];x0?arguments[0]:void 0)}},{get:function get(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function set(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(177),i=n(60);e.exports=n(86)("Set",function(e){return function Set(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(29)(0),a=n(16),o=n(38),s=n(158),u=n(178),c=n(7),l=n(4),p=n(60),h=o.getWeak,f=Object.isExtensible,d=u.ufstore,m={},v=function(e){return function WeakMap(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function get(e){if(c(e)){var t=h(e);return!0===t?d(p(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function set(e,t){return u.def(p(this,"WeakMap"),e,t)}},g=e.exports=n(86)("WeakMap",v,y,u,!0,!0);l(function(){return 7!=(new g).set((Object.freeze||Object)(m),7).get(m)})&&(s((r=u.getConstructor(v,"WeakMap")).prototype,y),o.NEED=!0,i(["delete","has","get","set"],function(e){var t=g.prototype,n=t[e];a(t,e,function(t,i){if(c(t)&&!f(t)){this._f||(this._f=new r);var a=this._f[e](t,i);return"set"==e?this:a}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(178),i=n(60);n(86)("WeakSet",function(e){return function WeakSet(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),i=n(87),a=n(133),o=n(5),s=n(47),u=n(11),c=n(7),l=n(6).ArrayBuffer,p=n(71),h=a.ArrayBuffer,f=a.DataView,d=i.ABV&&l.isView,m=h.prototype.slice,v=i.VIEW;r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function isView(e){return d&&d(e)||c(e)&&v in e}}),r(r.P+r.U+r.F*n(4)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function slice(e,t){if(void 0!==m&&void 0===t)return m.call(o(this),e);for(var n=o(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),a=new(p(this,h))(u(i-r)),c=new f(this),l=new f(a),d=0;r=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function enumerate(e){return new a(e)}})},function(e,t,n){var r=n(27),i=n(50),a=n(19),o=n(2),s=n(7),u=n(5);o(o.S,"Reflect",{get:function get(e,t){var n,o,c=arguments.length<3?e:arguments[2];return u(e)===c?e[t]:(n=r.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:s(o=i(e))?get(o,t,c):void 0}})},function(e,t,n){var r=n(27),i=n(2),a=n(5);i(i.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(e,t){return r.f(a(e),t)}})},function(e,t,n){var r=n(2),i=n(50),a=n(5);r(r.S,"Reflect",{getPrototypeOf:function getPrototypeOf(e){return i(a(e))}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function has(e,t){return t in e}})},function(e,t,n){var r=n(2),i=n(5),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function isExtensible(e){return i(e),!a||a(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(180)})},function(e,t,n){var r=n(2),i=n(5),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function preventExtensions(e){i(e);try{return a&&a(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(12),i=n(27),a=n(50),o=n(19),s=n(2),u=n(43),c=n(5),l=n(7);s(s.S,"Reflect",{set:function set(e,t,n){var s,p,h=arguments.length<4?e:arguments[3],f=i.f(c(e),t);if(!f){if(l(p=a(e)))return set(p,t,n,h);f=u(0)}if(o(f,"value")){if(!1===f.writable||!l(h))return!1;if(s=i.f(h,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,r.f(h,t,s)}else r.f(h,t,u(0,n));return!0}return void 0!==f.set&&(f.set.call(h,n),!0)}})},function(e,t,n){var r=n(2),i=n(114);i&&r(r.S,"Reflect",{setPrototypeOf:function setPrototypeOf(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(385),e.exports=n(14).Array.includes},function(e,t,n){"use strict";var r=n(2),i=n(77)(!0);r(r.P,"Array",{includes:function includes(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(56)("includes")},function(e,t,n){n(387),e.exports=n(14).String.padStart},function(e,t,n){"use strict";var r=n(2),i=n(181),a=n(85);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padStart:function padStart(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(389),e.exports=n(14).String.padEnd},function(e,t,n){"use strict";var r=n(2),i=n(181),a=n(85);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padEnd:function padEnd(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(391),e.exports=n(109).f("asyncIterator")},function(e,t,n){n(154)("asyncIterator")},function(e,t,n){n(393),e.exports=n(14).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(2),i=n(180),a=n(21),o=n(27),s=n(126);r(r.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(e){for(var t,n,r=a(e),u=o.f,c=i(r),l={},p=0;c.length>p;)void 0!==(n=u(r,t=c[p++]))&&s(l,t,n);return l}})},function(e,t,n){n(395),e.exports=n(14).Object.values},function(e,t,n){var r=n(2),i=n(182)(!1);r(r.S,"Object",{values:function values(e){return i(e)}})},function(e,t,n){n(397),e.exports=n(14).Object.entries},function(e,t,n){var r=n(2),i=n(182)(!0);r(r.S,"Object",{entries:function entries(e){return i(e)}})},function(e,t,n){"use strict";n(174),n(399),e.exports=n(14).Promise.finally},function(e,t,n){"use strict";var r=n(2),i=n(14),a=n(6),o=n(71),s=n(176);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){n(401),n(402),n(403),e.exports=n(14)},function(e,t,n){var r=n(6),i=n(2),a=n(85),o=[].slice,s=/MSIE .\./.test(a),u=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&o.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(e,t,n){var r=n(2),i=n(132);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(129),i=n(46),a=n(16),o=n(6),s=n(20),u=n(55),c=n(9),l=c("iterator"),p=c("toStringTag"),h=u.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(f),m=0;m=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;resetTryEntry(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:values(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function wrap(e,t,n,r){var i=t&&t.prototype instanceof Generator?t:Generator,a=Object.create(i.prototype),o=new Context(r||[]);return a._invoke=makeInvokeMethod(e,n,o),a}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function AsyncIterator(e){function invoke(t,n,r,a){var o=tryCatch(e[t],e,n);if("throw"!==o.type){var s=o.arg,u=s.value;return u&&"object"==typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then(function(e){invoke("next",e,r,a)},function(e){invoke("throw",e,r,a)}):Promise.resolve(u).then(function(e){s.value=e,r(s)},a)}a(o.arg)}var t;this._invoke=function enqueue(e,n){function callInvokeWithMethodAndArg(){return new Promise(function(t,r){invoke(e,n,t,r)})}return t=t?t.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function makeInvokeMethod(e,t,n){var r=p;return function invoke(i,a){if(r===f)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return doneResult()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=maybeInvokeDelegate(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=tryCatch(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}function maybeInvokeDelegate(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,maybeInvokeDelegate(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=tryCatch(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function next(){for(;++r=n&&tn)return e;if(t<=r&&n>=i)e.splice(a,2);else{if(t>=r&&n=r&&t<=i)e[a+1]=t;else if(n>=r&&n<=i)return e[a]=n+1,e;a+=2}}return e},w=function(e,t){var n,r,i=0,a=null,o=e.length;if(t<0||t>1114111)throw RangeError(s);for(;i=n&&tt)return e.splice(null!=a?a+2:0,0,t,t+1),e;if(t==r)return t+1==e[i+2]?(e.splice(i,4,n,e[i+3]),e):(e[i+1]=t+1,e);a=i,i+=2}return e.push(t,t+1),e},S=function(e,t){for(var n,r,i=0,a=e.slice(),o=t.length;i1114111||n<0||n>1114111)throw RangeError(s);for(var r,i,a=0,u=!1,c=e.length;an)return e;r>=t&&r<=n&&(i>t&&i-1<=n?(e.splice(a,2),a-=2):(e.splice(a-1,2),a-=2))}else{if(r==n+1)return e[a]=t,e;if(r>n)return e.splice(a,0,t,n+1),e;if(t>=r&&t=r&&t=i&&(e[a]=t,e[a+1]=n+1,u=!0)}a+=2}return u||e.push(t,n+1),e},k=function(e,t){var n=0,r=e.length,i=e[n],a=e[r-1];if(r>=2&&(ta))return!1;for(;n=i&&t=40&&e<=43||e>=45&&e<=47||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+N(e):e>=32&&e<=126?N(e):e<=255?"\\x"+m(y(e),2):"\\u"+m(y(e),4)},L=function(e){return e<=65535?A(e):"\\u{"+e.toString(16).toUpperCase()+"}"},D=function(e){var t=e.length,n=e.charCodeAt(0);return n>=55296&&n<=56319&&t>1?1024*(n-55296)+e.charCodeAt(1)-56320+65536:n},F=function(e){var t,n,r="",i=0,a=e.length;if(R(e))return A(e[0]);for(;i=55296&&n<=56319&&(a.push(t,55296),r.push(55296,n+1)),n>=56320&&n<=57343&&(a.push(t,55296),r.push(55296,56320),i.push(56320,n+1)),n>57343&&(a.push(t,55296),r.push(55296,56320),i.push(56320,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>=55296&&t<=56319?(n>=55296&&n<=56319&&r.push(t,n+1),n>=56320&&n<=57343&&(r.push(t,56320),i.push(56320,n+1)),n>57343&&(r.push(t,56320),i.push(56320,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>=56320&&t<=57343?(n>=56320&&n<=57343&&i.push(t,n+1),n>57343&&(i.push(t,57344),n<=65535?a.push(57344,n+1):(a.push(57344,65536),o.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?a.push(t,n+1):(a.push(t,65536),o.push(65536,n+1)):o.push(t,n+1),s+=2;return{loneHighSurrogates:r,loneLowSurrogates:i,bmp:a,astral:o}},V=function(e){for(var t,n,r,i,a,o,s=[],u=[],c=!1,l=-1,p=e.length;++l1&&(e=g.call(arguments)),this instanceof K?(this.data=[],e?this.add(e):this):(new K).add(e)};K.version="1.3.3";var J=K.prototype;!function(e,t){var n;for(n in t)p.call(t,n)&&(e[n]=t[n])}(J,{add:function(e){var t=this;return null==e?t:e instanceof K?(t.data=S(t.data,e.data),t):(arguments.length>1&&(e=g.call(arguments)),d(e)?(h(e,function(e){t.add(e)}),t):(t.data=w(t.data,v(e)?e:D(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof K?(t.data=C(t.data,e.data),t):(arguments.length>1&&(e=g.call(arguments)),d(e)?(h(e,function(e){t.remove(e)}),t):(t.data=_(t.data,v(e)?e:D(e)),t))},addRange:function(e,t){return this.data=E(this.data,v(e)?e:D(e),v(t)?t:D(t)),this},removeRange:function(e,t){var n=v(e)?e:D(e),r=v(t)?t:D(t);return this.data=x(this.data,n,r),this},intersection:function(e){var t=e instanceof K?T(e.data):e;return this.data=P(this.data,t),this},contains:function(e){return k(this.data,v(e)?e:D(e))},clone:function(){var e=new K;return e.data=this.data.slice(0),e},toString:function(e){var t=H(this.data,!!e&&e.bmpOnly,!!e&&e.hasUnicodeFlag);return t?t.replace(c,"\\0$1"):"[]"},toRegExp:function(e){var t=this.toString(e&&-1!=e.indexOf("u")?{hasUnicodeFlag:!0}:null);return RegExp(t,e||"")},valueOf:function(){return T(this.data)}}),J.toArray=J.valueOf,r&&!r.nodeType?i?i.exports=K:r.regenerate=K:n.regenerate=K}(u)}),$=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"]),ee=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["Ext","Extender"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]]),te=function(e){if($.has(e))return e;if(ee.has(e))return ee.get(e);throw new Error("Unknown property: "+e)},ne=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]]),re=function(e,t){var n=ne.get(e);if(!n)throw new Error("Unknown property `"+e+"`.");var r=n.get(t);if(r)return r;throw new Error("Unknown value `"+t+"` for property `"+e+"`.")},ie=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[618,42926],[669,42930],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1074,7296],[1076,7297],[1086,7298],[1089,7299],[1090,[7300,7301]],[1098,7302],[1122,7303],[1123,7303],[5024,43888],[5025,43889],[5026,43890],[5027,43891],[5028,43892],[5029,43893],[5030,43894],[5031,43895],[5032,43896],[5033,43897],[5034,43898],[5035,43899],[5036,43900],[5037,43901],[5038,43902],[5039,43903],[5040,43904],[5041,43905],[5042,43906],[5043,43907],[5044,43908],[5045,43909],[5046,43910],[5047,43911],[5048,43912],[5049,43913],[5050,43914],[5051,43915],[5052,43916],[5053,43917],[5054,43918],[5055,43919],[5056,43920],[5057,43921],[5058,43922],[5059,43923],[5060,43924],[5061,43925],[5062,43926],[5063,43927],[5064,43928],[5065,43929],[5066,43930],[5067,43931],[5068,43932],[5069,43933],[5070,43934],[5071,43935],[5072,43936],[5073,43937],[5074,43938],[5075,43939],[5076,43940],[5077,43941],[5078,43942],[5079,43943],[5080,43944],[5081,43945],[5082,43946],[5083,43947],[5084,43948],[5085,43949],[5086,43950],[5087,43951],[5088,43952],[5089,43953],[5090,43954],[5091,43955],[5092,43956],[5093,43957],[5094,43958],[5095,43959],[5096,43960],[5097,43961],[5098,43962],[5099,43963],[5100,43964],[5101,43965],[5102,43966],[5103,43967],[5104,5112],[5105,5113],[5106,5114],[5107,5115],[5108,5116],[5109,5117],[5112,5104],[5113,5105],[5114,5106],[5115,5107],[5116,5108],[5117,5109],[7296,[1042,1074]],[7297,[1044,1076]],[7298,[1054,1086]],[7299,[1057,1089]],[7300,[7301,1090]],[7301,[1058,7300,1090]],[7302,[1066,1098]],[7303,[1122,1123]],[7304,[42570,42571]],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[42571,7304],[42926,618],[42930,669],[42931,43859],[42932,42933],[42933,42932],[42934,42935],[42935,42934],[43859,42931],[43888,5024],[43889,5025],[43890,5026],[43891,5027],[43892,5028],[43893,5029],[43894,5030],[43895,5031],[43896,5032],[43897,5033],[43898,5034],[43899,5035],[43900,5036],[43901,5037],[43902,5038],[43903,5039],[43904,5040],[43905,5041],[43906,5042],[43907,5043],[43908,5044],[43909,5045],[43910,5046],[43911,5047],[43912,5048],[43913,5049],[43914,5050],[43915,5051],[43916,5052],[43917,5053],[43918,5054],[43919,5055],[43920,5056],[43921,5057],[43922,5058],[43923,5059],[43924,5060],[43925,5061],[43926,5062],[43927,5063],[43928,5064],[43929,5065],[43930,5066],[43931,5067],[43932,5068],[43933,5069],[43934,5070],[43935,5071],[43936,5072],[43937,5073],[43938,5074],[43939,5075],[43940,5076],[43941,5077],[43942,5078],[43943,5079],[43944,5080],[43945,5081],[43946,5082],[43947,5083],[43948,5084],[43949,5085],[43950,5086],[43951,5087],[43952,5088],[43953,5089],[43954,5090],[43955,5091],[43956,5092],[43957,5093],[43958,5094],[43959,5095],[43960,5096],[43961,5097],[43962,5098],[43963,5099],[43964,5100],[43965,5101],[43966,5102],[43967,5103],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]]),ae={REGULAR:new Map([["d",Y().addRange(48,57)],["D",Y().addRange(0,47).addRange(58,65535)],["s",Y(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Y().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",Y(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Y(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]),UNICODE:new Map([["d",Y().addRange(48,57)],["D",Y().addRange(0,47).addRange(58,1114111)],["s",Y(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Y().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",Y(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Y(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]),UNICODE_IGNORE_CASE:new Map([["d",Y().addRange(48,57)],["D",Y().addRange(0,47).addRange(58,1114111)],["s",Y(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",Y().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",Y(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",Y(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},oe=createCommonjsModule(function(e){var t=G.generate,n=Z.parse,r=Y().addRange(0,1114111),i=Y().addRange(0,65535),a=r.clone().remove(10,13,8232,8233),o=a.clone().intersection(i),s=function(e,t,n){return t?n?ae.UNICODE_IGNORE_CASE.get(e):ae.UNICODE.get(e):ae.REGULAR.get(e)},u=function(e,t){try{return commonjsRequire()}catch(n){throw new Error("Failed to recognize value `"+t+"` for property `"+e+"`.")}},c=function(e){try{var t=re("General_Category",e);return u("General_Category",t)}catch(e){}var n=te(e);return u(n)},l=function(e,t){var n,i=e.split("="),a=i[0];if(1==i.length)n=c(a);else{var o=te(a),s=re(o,i[1]);n=u(o,s)}return t?r.clone().remove(n):n.clone()};Y.prototype.iuAddRange=function(e,t){do{var n=f(e);n&&this.add(n)}while(++e<=t);return this};var p=function(e,t){var r=n(t,m.useUnicodeFlag?"u":"");switch(r.type){case"characterClass":case"group":case"value":break;default:r=h(r,t)}Object.assign(e,r)},h=function(e,t){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+t+")"}},f=function(e){return ie.get(e)||!1},d=function(e,t){for(var n=Y(),a=0,o=e.body;aT&&t.remove(T,k.value.start),t.prependLeft(T," = ")):t.overwrite(k.start,k.key.end+1,"["+t.slice(k.start,k.key.end)+"] = "),!k.method||!k.computed&&n.conciseMethodProperty||(k.value.generator&&t.remove(k.start,k.key.start),t.prependRight(k.value.start,"function"+(k.value.generator?"*":"")+" "))}else"SpreadElement"===k.type?y&&E>0&&(x||(x=this.properties[E-1]),t.appendLeft(x.end,", "+y+" )"),x=null,y=null):(!C&&a&&(t.prependRight(k.start,"{"),t.appendLeft(k.end,"}")),S=!0);if(C&&("SpreadElement"===k.type||k.computed)){var j=S?this.properties[this.properties.length-1].end:this.end-1;","==t.original[j]&&++j;var I=t.slice(j,_);t.prependLeft(P,I),t.remove(j,_),C=!1}var M=k.end;if(Ethis.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(e)},ReturnStatement.prototype.transpile=function transpile(e,t){var n=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(n&&e.prependRight(this.argument.start,"{ v: "),this.argument.transpile(e,t),n&&e.appendLeft(this.argument.end," }")):n&&e.appendLeft(this.start+6," {}")},ReturnStatement}(p),SpreadElement:function(e){function SpreadElement(){e.apply(this,arguments)}return e&&(SpreadElement.__proto__=e),SpreadElement.prototype=Object.create(e&&e.prototype),SpreadElement.prototype.constructor=SpreadElement,SpreadElement.prototype.transpile=function transpile(t,n){"ObjectExpression"==this.parent.type&&(t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end)),e.prototype.transpile.call(this,t,n)},SpreadElement}(p),Super:function(e){function Super(){e.apply(this,arguments)}return e&&(Super.__proto__=e),Super.prototype=Object.create(e&&e.prototype),Super.prototype.constructor=Super,Super.prototype.initialise=function initialise(e){if(e.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new d("use of super outside class method",this);var t=this.findNearest("ClassBody").parent;if(this.superClassName=t.superClass&&(t.superClass.name||"superclass"),!this.superClassName)throw new d("super used in base class",this);if(this.isCalled="CallExpression"===this.parent.type&&this===this.parent.callee,"constructor"!==this.method.kind&&this.isCalled)throw new d("super() not allowed outside class constructor",this);if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new d("Unexpected use of `super` (expected `super(...)` or `super.*`)",this)}if(e.arrow){var n=this.findLexicalBoundary(),r=this.findNearest("ArrowFunctionExpression"),i=this.findNearest(x);r&&r.depth>n.depth&&(this.thisAlias=n.getThisAlias()),i&&i.body.contains(this)&&i.depth>n.depth&&(this.thisAlias=n.getThisAlias())}},Super.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.isCalled||this.method.static?this.superClassName:this.superClassName+".prototype";e.overwrite(this.start,this.end,n,{storeName:!0,contentOnly:!0});var r=this.isCalled?this.parent:this.parent.parent;if(r&&"CallExpression"===r.type){this.noCall||e.appendLeft(r.callee.end,".call");var i=this.thisAlias||"this";r.arguments.length?e.appendLeft(r.arguments[0].start,i+", "):e.appendLeft(r.end-1,""+i)}}},Super}(p),TaggedTemplateExpression:function(e){function TaggedTemplateExpression(){e.apply(this,arguments)}return e&&(TaggedTemplateExpression.__proto__=e),TaggedTemplateExpression.prototype=Object.create(e&&e.prototype),TaggedTemplateExpression.prototype.constructor=TaggedTemplateExpression,TaggedTemplateExpression.prototype.initialise=function initialise(t){if(t.templateString&&!t.dangerousTaggedTemplateString)throw new d("Tagged template strings are not supported. Use `transforms: { templateString: false }` to skip transformation and disable this error, or `transforms: { dangerousTaggedTemplateString: true }` if you know what you're doing",this);e.prototype.initialise.call(this,t)},TaggedTemplateExpression.prototype.transpile=function transpile(t,n){if(n.templateString&&n.dangerousTaggedTemplateString){var r=this.quasi.expressions.concat(this.quasi.quasis).sort(function(e,t){return e.start-t.start}),i=this.program.body.scope,a=this.quasi.quasis.map(function(e){return JSON.stringify(e.value.cooked)}).join(", "),o=this.program.templateLiteralQuasis[a];o||(o=i.createIdentifier("templateObject"),t.prependRight(this.program.prependAt,"var "+o+" = Object.freeze(["+a+"]);\n"),this.program.templateLiteralQuasis[a]=o),t.overwrite(this.tag.end,r[0].start,"("+o);var s=r[0].start;r.forEach(function(e){"TemplateElement"===e.type?t.remove(s,e.end):t.overwrite(s,e.start,", "),s=e.end}),t.overwrite(s,this.end,")")}e.prototype.transpile.call(this,t,n)},TaggedTemplateExpression}(p),TemplateElement:function(e){function TemplateElement(){e.apply(this,arguments)}return e&&(TemplateElement.__proto__=e),TemplateElement.prototype=Object.create(e&&e.prototype),TemplateElement.prototype.constructor=TemplateElement,TemplateElement.prototype.initialise=function initialise(){this.program.indentExclusionElements.push(this)},TemplateElement}(p),TemplateLiteral:function(e){function TemplateLiteral(){e.apply(this,arguments)}return e&&(TemplateLiteral.__proto__=e),TemplateLiteral.prototype=Object.create(e&&e.prototype),TemplateLiteral.prototype.constructor=TemplateLiteral,TemplateLiteral.prototype.transpile=function transpile(t,n){if(e.prototype.transpile.call(this,t,n),n.templateString&&"TaggedTemplateExpression"!==this.parent.type){var r=this.expressions.concat(this.quasis).sort(function(e,t){return e.start-t.start||e.end-t.end}).filter(function(e,t){return"TemplateElement"!==e.type||(!!e.value.raw||!t)});if(r.length>=3){var i=r[0],a=r[2];"TemplateElement"===i.type&&""===i.value.raw&&"TemplateElement"===a.type&&r.shift()}var o=!(1===this.quasis.length&&0===this.expressions.length||"TemplateLiteral"===this.parent.type||"AssignmentExpression"===this.parent.type||"AssignmentPattern"===this.parent.type||"VariableDeclarator"===this.parent.type||"BinaryExpression"===this.parent.type&&"+"===this.parent.operator);o&&t.appendRight(this.start,"(");var s=this.start;r.forEach(function(e,n){var r=0===n?o?"(":"":" + ";if("TemplateElement"===e.type)t.overwrite(s,e.end,r+JSON.stringify(e.value.cooked));else{var i="Identifier"!==e.type;i&&(r+="("),t.remove(s,e.start),r&&t.prependRight(e.start,r),i&&t.appendLeft(e.end,")")}s=e.end}),o&&t.appendLeft(s,")"),t.overwrite(s,this.end,"",{contentOnly:!0})}},TemplateLiteral}(p),ThisExpression:function(e){function ThisExpression(){e.apply(this,arguments)}return e&&(ThisExpression.__proto__=e),ThisExpression.prototype=Object.create(e&&e.prototype),ThisExpression.prototype.constructor=ThisExpression,ThisExpression.prototype.initialise=function initialise(e){if(e.arrow){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(x);(n&&n.depth>t.depth||r&&r.body.contains(this)&&r.depth>t.depth||r&&r.right&&r.right.contains(this))&&(this.alias=t.getThisAlias())}},ThisExpression.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,{storeName:!0,contentOnly:!0})},ThisExpression}(p),UpdateExpression:function(e){function UpdateExpression(){e.apply(this,arguments)}return e&&(UpdateExpression.__proto__=e),UpdateExpression.prototype=Object.create(e&&e.prototype),UpdateExpression.prototype.constructor=UpdateExpression,UpdateExpression.prototype.initialise=function initialise(t){if("Identifier"===this.argument.type){var n=this.findScope(!1).findDeclaration(this.argument.name),r=n&&n.node.ancestor(3);r&&"ForStatement"===r.type&&r.body.contains(this)&&(r.reassigned[this.argument.name]=!0)}e.prototype.initialise.call(this,t)},UpdateExpression.prototype.transpile=function transpile(t,n){"Identifier"===this.argument.type&&checkConst(this.argument,this.findScope(!1)),e.prototype.transpile.call(this,t,n)},UpdateExpression}(p),VariableDeclaration:function(e){function VariableDeclaration(){e.apply(this,arguments)}return e&&(VariableDeclaration.__proto__=e),VariableDeclaration.prototype=Object.create(e&&e.prototype),VariableDeclaration.prototype.constructor=VariableDeclaration,VariableDeclaration.prototype.initialise=function initialise(e){this.scope=this.findScope("var"===this.kind),this.declarations.forEach(function(t){return t.initialise(e)})},VariableDeclaration.prototype.transpile=function transpile(e,t){var n=this,r=this.getIndentation(),i=this.kind;if(t.letConst&&"var"!==i&&(i="var",e.overwrite(this.start,this.start+this.kind.length,i,{contentOnly:!0,storeName:!0})),t.destructuring&&"ForOfStatement"!==this.parent.type&&"ForInStatement"!==this.parent.type){var a,o=this.start;this.declarations.forEach(function(i,s){if(i.transpile(e,t),"Identifier"===i.id.type)s>0&&"Identifier"!==n.declarations[s-1].id.type&&e.overwrite(o,i.id.start,"var ");else{var u=x.test(n.parent.type);0===s?e.remove(o,i.id.start):e.overwrite(o,i.id.start,";\n"+r);var c="Identifier"===i.init.type&&!i.init.rewritten,l=c?i.init.alias||i.init.name:i.findScope(!0).createIdentifier("ref");o=i.start;var p=[];c?e.remove(i.id.end,i.end):p.push(function(t,n,r){e.prependRight(i.id.end,"var "+l),e.appendLeft(i.init.end,""+r),e.move(i.id.end,i.end,t)});var h=i.findScope(!1);destructure(e,function(e){return h.createIdentifier(e)},function(e){var t=e.name;return h.resolveName(t)},i.id,l,u,p);var f=u?"var ":"",d=u?", ":";\n"+r;p.forEach(function(e,t){s===n.declarations.length-1&&t===p.length-1&&(d=u?"":";"),e(i.start,0===t?f:"",d)})}o=i.end,a="Identifier"!==i.id.type}),a&&this.end>o&&e.overwrite(o,this.end,"",{contentOnly:!0})}else this.declarations.forEach(function(n){n.transpile(e,t)})},VariableDeclaration}(p),VariableDeclarator:function(e){function VariableDeclarator(){e.apply(this,arguments)}return e&&(VariableDeclarator.__proto__=e),VariableDeclarator.prototype=Object.create(e&&e.prototype),VariableDeclarator.prototype.constructor=VariableDeclarator,VariableDeclarator.prototype.initialise=function initialise(t){var n=this.parent.kind;"let"===n&&"ForStatement"===this.parent.parent.type&&(n="for.let"),this.parent.scope.addDeclaration(this.id,n),e.prototype.initialise.call(this,t)},VariableDeclarator.prototype.transpile=function transpile(e,t){if(!this.init&&t.letConst&&"var"!==this.parent.kind){var n=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!n||/Function/.test(n.type)||this.isLeftDeclaratorOfLoop()||e.appendLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(e,t),this.init&&this.init.transpile(e,t)},VariableDeclarator.prototype.isLeftDeclaratorOfLoop=function isLeftDeclaratorOfLoop(){return this.parent&&"VariableDeclaration"===this.parent.type&&this.parent.parent&&("ForInStatement"===this.parent.parent.type||"ForOfStatement"===this.parent.parent.type)&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},VariableDeclarator}(p),WhileStatement:T},ue={Program:["body"],Literal:[]},ce={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"};function wrap(e,t){if(e)if("length"in e)for(var n=e.length;n--;)wrap(e[n],t);else if(!e.__wrapped){e.__wrapped=!0,ue[e.type]||(ue[e.type]=Object.keys(e).filter(function(t){return"object"==typeof e[t]}));var r=ce[e.type];if(r&&"BlockStatement"!==e[r].type){var i=e[r];e[r]={start:i.start,end:i.end,type:"BlockStatement",body:[i],synthetic:!0}}e.parent=t,e.program=t.program||t,e.depth=t.depth+1,e.keys=ue[e.type],e.indentation=void 0;for(var a=0,o=ue[e.type];a...",!0,!0),t.jsxName=new e.TokenType("jsxName"),t.jsxText=new e.TokenType("jsxText",{beforeExpr:!0}),t.jsxTagStart=new e.TokenType("jsxTagStart"),t.jsxTagEnd=new e.TokenType("jsxTagEnd"),t.jsxTagStart.updateContext=function(){this.context.push(n.j_expr),this.context.push(n.j_oTag),this.exprAllowed=!1},t.jsxTagEnd.updateContext=function(e){var r=this.context.pop();r===n.j_oTag&&e===t.slash||r===n.j_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===n.j_expr):this.exprAllowed=!0};var r=e.Parser.prototype;function getQualifiedJSXName(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property):void 0:e}return r.jsx_readToken=function(){for(var n="",r=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(t.jsxTagStart)):this.getTokenFromCode(i):(n+=this.input.slice(r,this.pos),this.finishToken(t.jsxText,n));case 38:n+=this.input.slice(r,this.pos),n+=this.jsx_readEntity(),r=this.pos;break;default:e.isNewLine(i)?(n+=this.input.slice(r,this.pos),n+=this.jsx_readNewLine(!0),r=this.pos):++this.pos}}},r.jsx_readNewLine=function(e){var t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},r.jsx_readString=function(n){for(var r="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var a=this.input.charCodeAt(this.pos);if(a===n)break;38===a?(r+=this.input.slice(i,this.pos),r+=this.jsx_readEntity(),i=this.pos):e.isNewLine(a)?(r+=this.input.slice(i,this.pos),r+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return r+=this.input.slice(i,this.pos++),this.finishToken(t.string,r)},r.jsx_readEntity=function(){var e,t="",n=0,r=this.input[this.pos];"&"!==r&&this.raise(this.pos,"Entity must start with an ampersand");for(var i=++this.pos;this.pos")}return r.openingElement=a,r.closingElement=o,r.children=i,this.type===t.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,a.name?"JSXElement":"JSXFragment")},r.jsx_parseText=function(e){var t=this.parseLiteral(e);return t.type="JSXText",t},r.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},e.plugins.jsx=function(r,i){i&&("object"!=typeof i&&(i={}),r.options.plugins.jsx={allowNamespaces:!1!==i.allowNamespaces,allowNamespacedObjects:!!i.allowNamespacedObjects},r.extend("parseExprAtom",function(e){return function(n){return this.type===t.jsxText?this.jsx_parseText(this.value):this.type===t.jsxTagStart?this.jsx_parseElement():e.call(this,n)}}),r.extend("readToken",function(r){return function(i){var a=this.curContext();if(a===n.j_expr)return this.jsx_readToken();if(a===n.j_oTag||a===n.j_cTag){if(e.isIdentifierStart(i))return this.jsx_readWord();if(62==i)return++this.pos,this.finishToken(t.jsxTagEnd);if((34===i||39===i)&&a==n.j_oTag)return this.jsx_readString(i)}return 60===i&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(t.jsxTagStart)):r.call(this,i)}}),r.extend("updateContext",function(e){return function(r){if(this.type==t.braceL){var i=this.curContext();i==n.j_oTag?this.context.push(n.b_expr):i==n.j_expr?this.context.push(n.b_tmpl):e.call(this,r),this.exprAllowed=!0}else{if(this.type!==t.slash||r!==t.jsxTagStart)return e.call(this,r);this.context.length-=2,this.context.push(n.j_cTag),this.exprAllowed=!1}}}))},e},l].reduce(function(e,t){return t(e)},i).parse,fe=["dangerousTaggedTemplateString","dangerousForOf"];function target(e){var t=Object.keys(e).length?1048575:262144;Object.keys(e).forEach(function(n){var r=le[n];if(!r)throw new Error("Unknown environment '"+n+"'. Please raise an issue at https://github.com/Rich-Harris/buble/issues");var i=e[n];if(!(i in r))throw new Error("Support data exists for the following versions of "+n+": "+Object.keys(r).join(", ")+". Please raise an issue at https://github.com/Rich-Harris/buble/issues");var a=r[i];t&=a});var n=Object.create(null);return pe.forEach(function(e,r){n[e]=!(t&1<=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}function getRelativePath(e,t){var n=e.split(/[\/\\]/),r=t.split(/[\/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length)for(var i=n.length;i--;)n[i]="..";return n.concat(r).join("/")}SourceMap.prototype={toString:function toString(){return JSON.stringify(this)},toUrl:function toUrl(){return"data:application/json;charset=utf-8;base64,"+a(this.toString())}};var o=Object.prototype.toString;function isObject(e){return"[object Object]"===o.call(e)}function getLocator(e){var t=e.split("\n"),n=0,r=t.map(function(e,t){var r=n+e.length+1,i={start:n,end:r,line:t};return n=r,i}),i=0;function rangeContains(e,t){return e.start<=t&&t=t.end?1:-1;t;){if(rangeContains(t,e))return getLocation(t,e);t=r[i+=n]}}}function Mappings(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,c,l){for(var p=i.start,h=!0;p=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function overwrite(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(u.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),u.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,a=void 0!==r&&r.contentOnly;if(i){var o=this.original.slice(e,t);this.storedNames[o]=!0}var s=this.byStart[e],c=this.byEnd[t];if(s){if(t>s.end&&s.next!==this.byStart[s.end])throw new Error("Cannot overwrite across a split point");if(s.edit(n,i,a),s!==c){for(var l=s.next;l!==c;)l.edit("",!1),l=l.next;l.edit("",!1)}}else{var p=new Chunk(e,t,"").edit(n,i);c.next=p,p.previous=c}return this},prepend:function prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function slice(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function snip(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function _split(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function _splitChunk(e,t){if(e.edited&&e.content.length){var n=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function toString(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimEnd:function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var c=Object.prototype.hasOwnProperty;function Bundle(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}Bundle.prototype={addSource:function addSource(e){if(e instanceof MagicString$1)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!isObject(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){c.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(c.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function append(e,t){return this.addSource({content:new MagicString$1(e),separator:t&&t.separator||""}),this},clone:function clone(){var e=new Bundle({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function generateMap(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new Mappings(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=getLocator(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new SourceMap({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?getRelativePath(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function getIndentString(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function indent(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function prepend(e){return this.intro=e+this.intro,this},toString:function toString(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function trimEnd(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=MagicString$1}).call(this,n(202).Buffer,n(183))},function(e,t,n){"use strict";n.d(t,"a",function(){return encode});var r={},i={};function encode(e){var t;if("number"==typeof e)t=encodeInteger(e);else{t="";for(var n=0;n>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return re}),n.d(t,"parse",function(){return parse}),n.d(t,"parseExpressionAt",function(){return parseExpressionAt}),n.d(t,"tokenizer",function(){return tokenizer}),n.d(t,"parse_dammit",function(){return ee}),n.d(t,"LooseParser",function(){return te}),n.d(t,"pluginsLoose",function(){return ne}),n.d(t,"addLooseExports",function(){return addLooseExports}),n.d(t,"Parser",function(){return T}),n.d(t,"plugins",function(){return R}),n.d(t,"defaultOptions",function(){return O}),n.d(t,"Position",function(){return k}),n.d(t,"SourceLocation",function(){return P}),n.d(t,"getLineInfo",function(){return getLineInfo}),n.d(t,"Node",function(){return W}),n.d(t,"TokenType",function(){return f}),n.d(t,"tokTypes",function(){return y}),n.d(t,"keywordTypes",function(){return m}),n.d(t,"TokContext",function(){return H}),n.d(t,"tokContexts",function(){return K}),n.d(t,"isIdentifierChar",function(){return isIdentifierChar}),n.d(t,"isIdentifierStart",function(){return isIdentifierStart}),n.d(t,"Token",function(){return Z}),n.d(t,"isNewLine",function(){return isNewLine}),n.d(t,"lineBreak",function(){return g}),n.d(t,"lineBreakG",function(){return b}),n.d(t,"nonASCIIwhitespace",function(){return _});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞹꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",c=new RegExp("["+s+"]"),l=new RegExp("["+s+u+"]");s=u=null;var p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,190,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,26,230,43,117,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,68,12,0,67,12,65,1,31,6129,15,754,9486,286,82,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,280,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function isInAstralSet(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,p)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,p)||isInAstralSet(e,h)))))}var f=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function binop(e,t){return new f(e,{beforeExpr:!0,binop:t})}var d={beforeExpr:!0},v={startsExpr:!0},m={};function kw(e,t){return void 0===t&&(t={}),t.keyword=e,m[e]=new f(e,t)}var y={num:new f("num",v),regexp:new f("regexp",v),string:new f("string",v),name:new f("name",v),eof:new f("eof"),bracketL:new f("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:!0,startsExpr:!0}),braceR:new f("}"),parenL:new f("(",{beforeExpr:!0,startsExpr:!0}),parenR:new f(")"),comma:new f(",",d),semi:new f(";",d),colon:new f(":",d),dot:new f("."),question:new f("?",d),arrow:new f("=>",d),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",d),backQuote:new f("`",v),dollarBraceL:new f("${",{beforeExpr:!0,startsExpr:!0}),eq:new f("=",{beforeExpr:!0,isAssign:!0}),assign:new f("_=",{beforeExpr:!0,isAssign:!0}),incDec:new f("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new f("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new f("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new f("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",d),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",d),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",d),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",v),_if:kw("if"),_return:kw("return",d),_switch:kw("switch"),_throw:kw("throw",d),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",v),_super:kw("super",v),_class:kw("class",v),_extends:kw("extends",d),_export:kw("export"),_import:kw("import"),_null:kw("null",v),_true:kw("true",v),_false:kw("false",v),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},g=/\r\n?|\n|\u2028|\u2029/,b=new RegExp(g.source,"g");function isNewLine(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var _=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,x=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,w=Object.prototype,S=w.hasOwnProperty,C=w.toString;function has(e,t){return S.call(e,t)}var E=Array.isArray||function(e){return"[object Array]"===C.call(e)},k=function Position(e,t){this.line=e,this.column=t};k.prototype.offset=function offset(e){return new k(this.line,this.column+e)};var P=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function getLineInfo(e,t){for(var n=1,r=0;;){b.lastIndex=r;var i=b.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),E(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return E(t.onComment)&&(t.onComment=pushComment(t,t.onComment)),t}function pushComment(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new P(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}var R={};function keywordRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var T=function Parser(e,t,n){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=keywordRegexp(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=keywordRegexp(s),this.reservedWordsStrictBind=keywordRegexp(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(g).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null};T.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},T.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},T.prototype.extend=function extend(e,t){this[e]=t(this[e])},T.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=R[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},T.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var j=T.prototype,I=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}j.strictDirective=function(e){for(;;){x.lastIndex=e,e+=x.exec(this.input)[0].length;var t=I.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},j.eat=function(e){return this.type===e&&(this.next(),!0)},j.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc},j.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},j.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},j.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||g.test(this.input.slice(this.lastTokEnd,this.start))},j.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},j.semicolon=function(){this.eat(y.semi)||this.insertSemicolon()||this.unexpected()},j.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},j.expect=function(e){this.eat(e)||this.unexpected()},j.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},j.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var N={kind:"loop"},A={kind:"switch"};M.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(isIdentifierStart(n,!0)){for(var r=t+1;isIdentifierChar(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},M.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;x.lastIndex=this.pos;var e=x.exec(this.input),t=this.pos+e[0].length;return!(g.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&isIdentifierChar(this.input.charAt(t+8)))},M.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=y._var,r="let"),i){case y._break:case y._continue:return this.parseBreakContinueStatement(a,i.keyword);case y._debugger:return this.parseDebuggerStatement(a);case y._do:return this.parseDoStatement(a);case y._for:return this.parseForStatement(a);case y._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case y._class:return e||this.unexpected(),this.parseClass(a,!0);case y._if:return this.parseIfStatement(a);case y._return:return this.parseReturnStatement(a);case y._switch:return this.parseSwitchStatement(a);case y._throw:return this.parseThrowStatement(a);case y._try:return this.parseTryStatement(a);case y._const:case y._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(a,r);case y._while:return this.parseWhileStatement(a);case y._with:return this.parseWithStatement(a);case y.braceL:return this.parseBlock();case y.semi:return this.parseEmptyStatement(a);case y._export:case y._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===y._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===y.name&&"Identifier"===s.type&&this.eat(y.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},M.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type!==y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},M.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(N),this.enterLexicalScope(),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===y._var||this.type===y._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new DestructuringErrors,o=this.parseExpression(!0,a);return this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},M.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},M.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===y._function),e.alternate=this.eat(y._else)?this.parseStatement(!this.strict&&this.type===y._function):null,this.finishNode(e,"IfStatement")},M.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},M.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(A),this.enterLexicalScope();for(var n=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var r=this.type===y._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},M.parseThrowStatement=function(e){return this.next(),g.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var L=[];M.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();this.next(),this.eat(y.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(y.parenR)):(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterLexicalScope()),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},M.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},M.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(N),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},M.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},M.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},M.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"===e.body.type||"VariableDeclaration"===e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"===e.body.type&&(this.strict||e.body.generator||e.body.async))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},M.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},M.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(y.braceL),e&&this.enterLexicalScope();!this.eat(y.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},M.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},M.parseForIn=function(e,t){var n=this.type===y._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},M.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(y.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===y._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return e},M.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},M.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==y.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},M.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},M.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(y.braceL);!this.eat(y.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},M.parseClassMember=function(e){var t=this;if(this.eat(y.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===y.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(y.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(y.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},M.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},M.parseClassId=function(e,t){e.id=this.type===y.name?this.parseIdent():!0===t?this.unexpected():null},M.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts():null},M.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.expectContextual("from"),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(y._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===y._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===y._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},F.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===y.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},F.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new DestructuringErrors,r=!0);var o=this.start,s=this.startLoc;this.type!==y.parenL&&this.type!==y.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var c=this.startNodeAt(o,s);return c.operator=this.value,c.left=this.type===y.eq?this.toAssignable(u,!1,t):u,r||DestructuringErrors.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},F.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(y.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},F.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},F.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==y._in)&&a>r){var o=this.type===y.logicalOR||this.type===y.logicalAND,s=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,a,i),p=this.buildBinary(t,n,e,l,s,o);return this.parseExprOp(p,t,n,r,i)}return e},F.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},F.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===y.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(y.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},F.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},F.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(y.bracketL))||this.eat(y.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(y.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(y.parenL)){var s=new DestructuringErrors,u=this.yieldPos,c=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var l=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=c,this.parseArrowExpression(this.startNodeAt(t,n),l,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=c||this.awaitPos;var p=this.startNodeAt(t,n);p.callee=e,p.arguments=l,e=this.finishNode(p,"CallExpression")}else{if(this.type!==y.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},F.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(t,"Super");case y._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case y.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==y.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(y._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===y.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(y.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case y.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return(t=this.startNode()).value=this.type===y._null?null:this.type===y._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case y.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case y.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case y.braceL:return this.parseObj(!1,e);case y._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();default:this.unexpected()}},F.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},F.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e},F.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],c=!0,l=!1,p=new DestructuringErrors,h=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(c?c=!1:this.expect(y.comma),i&&this.afterTrailingComma(y.parenR,!0)){l=!0;break}if(this.type===y.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var d=this.start,v=this.startLoc;if(this.expect(y.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,v)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(n,r);return m.expression=t,this.finishNode(m,"ParenthesizedExpression")}return t},F.parseParenItem=function(e){return e},F.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var U=[];F.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(y.parenL)?e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=U,this.finishNode(e,"NewExpression")},F.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===y.backQuote,this.finishNode(n,"TemplateElement")},F.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(y.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},F.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!g.test(this.input.slice(this.lastTokEnd,this.start))},F.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},F.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===y.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(y.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},F.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===y.comma||this.type===y.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===y.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},F.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(!0)},F.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},F.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(y.parenL),n.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},F.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},F.parseFunctionBody=function(e,t){var n=t&&this.type!==y.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},F.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},J.updateContext=function(e){var t,n=this.type;n.keyword&&e===y.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},y.parenR.updateContext=y.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===K.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?K.b_stat:K.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(K.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?K.p_stat:K.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y.semi&&e!==y._else&&(e!==y.colon&&e!==y.braceL||this.curContext()!==K.b_stat)?this.context.push(K.f_expr):this.context.push(K.f_stat),this.exprAllowed=!1},y.backQuote.updateContext=function(){this.curContext()===K.q_tmpl?this.context.pop():this.context.push(K.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===K.f_expr?this.context[t]=K.f_expr_gen:this.context[t]=K.f_gen}this.exprAllowed=!0},y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var X={$LONE:["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"],General_Category:["Cased_Letter","LC","Close_Punctuation","Pe","Connector_Punctuation","Pc","Control","Cc","cntrl","Currency_Symbol","Sc","Dash_Punctuation","Pd","Decimal_Number","Nd","digit","Enclosing_Mark","Me","Final_Punctuation","Pf","Format","Cf","Initial_Punctuation","Pi","Letter","L","Letter_Number","Nl","Line_Separator","Zl","Lowercase_Letter","Ll","Mark","M","Combining_Mark","Math_Symbol","Sm","Modifier_Letter","Lm","Modifier_Symbol","Sk","Nonspacing_Mark","Mn","Number","N","Open_Punctuation","Ps","Other","C","Other_Letter","Lo","Other_Number","No","Other_Punctuation","Po","Other_Symbol","So","Paragraph_Separator","Zp","Private_Use","Co","Punctuation","P","punct","Separator","Z","Space_Separator","Zs","Spacing_Mark","Mc","Surrogate","Cs","Symbol","S","Titlecase_Letter","Lt","Unassigned","Cn","Uppercase_Letter","Lu"],Script:["Adlam","Adlm","Ahom","Anatolian_Hieroglyphs","Hluw","Arabic","Arab","Armenian","Armn","Avestan","Avst","Balinese","Bali","Bamum","Bamu","Bassa_Vah","Bass","Batak","Batk","Bengali","Beng","Bhaiksuki","Bhks","Bopomofo","Bopo","Brahmi","Brah","Braille","Brai","Buginese","Bugi","Buhid","Buhd","Canadian_Aboriginal","Cans","Carian","Cari","Caucasian_Albanian","Aghb","Chakma","Cakm","Cham","Cherokee","Cher","Common","Zyyy","Coptic","Copt","Qaac","Cuneiform","Xsux","Cypriot","Cprt","Cyrillic","Cyrl","Deseret","Dsrt","Devanagari","Deva","Duployan","Dupl","Egyptian_Hieroglyphs","Egyp","Elbasan","Elba","Ethiopic","Ethi","Georgian","Geor","Glagolitic","Glag","Gothic","Goth","Grantha","Gran","Greek","Grek","Gujarati","Gujr","Gurmukhi","Guru","Han","Hani","Hangul","Hang","Hanunoo","Hano","Hatran","Hatr","Hebrew","Hebr","Hiragana","Hira","Imperial_Aramaic","Armi","Inherited","Zinh","Qaai","Inscriptional_Pahlavi","Phli","Inscriptional_Parthian","Prti","Javanese","Java","Kaithi","Kthi","Kannada","Knda","Katakana","Kana","Kayah_Li","Kali","Kharoshthi","Khar","Khmer","Khmr","Khojki","Khoj","Khudawadi","Sind","Lao","Laoo","Latin","Latn","Lepcha","Lepc","Limbu","Limb","Linear_A","Lina","Linear_B","Linb","Lisu","Lycian","Lyci","Lydian","Lydi","Mahajani","Mahj","Malayalam","Mlym","Mandaic","Mand","Manichaean","Mani","Marchen","Marc","Masaram_Gondi","Gonm","Meetei_Mayek","Mtei","Mende_Kikakui","Mend","Meroitic_Cursive","Merc","Meroitic_Hieroglyphs","Mero","Miao","Plrd","Modi","Mongolian","Mong","Mro","Mroo","Multani","Mult","Myanmar","Mymr","Nabataean","Nbat","New_Tai_Lue","Talu","Newa","Nko","Nkoo","Nushu","Nshu","Ogham","Ogam","Ol_Chiki","Olck","Old_Hungarian","Hung","Old_Italic","Ital","Old_North_Arabian","Narb","Old_Permic","Perm","Old_Persian","Xpeo","Old_South_Arabian","Sarb","Old_Turkic","Orkh","Oriya","Orya","Osage","Osge","Osmanya","Osma","Pahawh_Hmong","Hmng","Palmyrene","Palm","Pau_Cin_Hau","Pauc","Phags_Pa","Phag","Phoenician","Phnx","Psalter_Pahlavi","Phlp","Rejang","Rjng","Runic","Runr","Samaritan","Samr","Saurashtra","Saur","Sharada","Shrd","Shavian","Shaw","Siddham","Sidd","SignWriting","Sgnw","Sinhala","Sinh","Sora_Sompeng","Sora","Soyombo","Soyo","Sundanese","Sund","Syloti_Nagri","Sylo","Syriac","Syrc","Tagalog","Tglg","Tagbanwa","Tagb","Tai_Le","Tale","Tai_Tham","Lana","Tai_Viet","Tavt","Takri","Takr","Tamil","Taml","Tangut","Tang","Telugu","Telu","Thaana","Thaa","Thai","Tibetan","Tibt","Tifinagh","Tfng","Tirhuta","Tirh","Ugaritic","Ugar","Vai","Vaii","Warang_Citi","Wara","Yi","Yiii","Zanabazar_Square","Zanb"]};Array.prototype.push.apply(X.$LONE,X.General_Category),X.gc=X.General_Category,X.sc=X.Script_Extensions=X.scx=X.Script;var Q=T.prototype,G=function RegExpValidationState(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function isSyntaxCharacter(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||36===e||95===e}function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||36===e||95===e||8204===e||8205===e}function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}function isCharacterClassEscape(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||95===e}function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}function isDecimalDigit(e){return e>=48&&e<=57}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function isOctalDigit(e){return e>=48&&e<=55}G.prototype.reset=function reset(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},G.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},G.prototype.at=function at(e){var t=this.source,n=t.length;if(e>=n)return-1;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?r:(r<<10)+t.charCodeAt(e+1)-56613888},G.prototype.nextIndex=function nextIndex(e){var t=this.source,n=t.length;if(e>=n)return n;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?e+1:e+2},G.prototype.current=function current(){return this.at(this.pos)},G.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},G.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},G.prototype.eat=function eat(e){return this.current()===e&&(this.advance(),!0)},Q.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},Q.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Q.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},Q.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Q.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Q.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Q.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Q.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Q.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!isSyntaxCharacter(t)&&(e.lastIntValue=t,e.advance(),!0)},Q.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!isSyntaxCharacter(n);)e.advance();return e.pos!==t},Q.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},Q.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Q.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Q.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString$1(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString$1(e.lastIntValue);return!0}return!1},Q.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierStart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Q.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierPart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Q.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Q.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},Q.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Q.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Q.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Q.regexp_eatZero=function(e){return 48===e.current()&&!isDecimalDigit(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Q.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Q.regexp_eatControlLetter=function(e){var t=e.current();return!!isControlLetter(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Q.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,n=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((t=e.lastIntValue)>=0&&t<=1114111))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=n}return!1},Q.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},Q.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},Q.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},Q.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},Q.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){X.hasOwnProperty(t)&&-1!==X[t].indexOf(n)||e.raise("Invalid property name")},Q.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===X.$LONE.indexOf(t)&&e.raise("Invalid property name")},Q.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},Q.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},Q.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Q.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},Q.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},Q.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||isOctalDigit(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},Q.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Q.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!isDecimalDigit(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Q.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Q.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isDecimalDigit(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},Q.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isHexDigit(n=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(n),e.advance();return e.pos!==t},Q.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},Q.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Q.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Y.next=function(){this.options.onToken&&this.options.onToken(new Z(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Y.getToken=function(){return this.next(),new Z(this)},"undefined"!=typeof Symbol&&(Y[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}}),Y.curContext=function(){return this.context[this.context.length-1]},Y.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(y.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Y.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Y.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Y.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(b.lastIndex=n;(e=b.exec(this.input))&&e.index8&&e<14||e>=5760&&_.test(String.fromCharCode(e))))break e;++this.pos}}},Y.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Y.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},Y.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},Y.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?y.star:y.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=y.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(y.assign,n+1):this.finishOp(r,n)},Y.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?y.logicalOR:y.logicalAND,2):61===t?this.finishOp(y.assign,2):this.finishOp(124===e?y.bitwiseOR:y.bitwiseAND,1)},Y.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},Y.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!g.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(y.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},Y.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(y.assign,n+1):this.finishOp(y.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(y.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Y.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(y.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(61===e?y.eq:y.prefix,1)},Y.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 63:return++this.pos,this.finishToken(y.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},Y.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Y.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(g.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new G(this));s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,o)}catch(e){}return this.finishToken(y.regexp,{pattern:i,flags:o,value:u})},Y.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},Y.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,t)},Y.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(y.num,a)},Y.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Y.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(y.string,t)};var $={};Y.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==$)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Y.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw $;this.raise(e,t)},Y.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==y.template&&this.type!==y.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e)):36===n?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Y.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},Y.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Y.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos=0&&p.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=getNonce();n&&(e.attrs.nonce=n)}return addAttrs(t,e.attrs),insertStyleElement(e,t),t}function createLinkElement(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function getNonce(){return n.nc}function addStyle(e,t){var n,r,i,a;if(t.transform&&e.css){if(!(a="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=a}if(t.singleton){var o=l++;n=c||(c=createStyleElement(t)),r=applyToSingletonTag.bind(null,n,o,!1),i=applyToSingletonTag.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=createLinkElement(t),r=updateLink.bind(null,n,t),i=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),r=applyToTag.bind(null,n),i=function(){removeStyleElement(n)});return r(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=o()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;ii;)J(e,n=r[i++],t[n]);return e},Q=function propertyIsEnumerable(e){var t=L.call(this,e=x(e,!0));return!(this===B&&i(F,e)&&!i(U,e))&&(!(t||!i(this,e)||!i(F,e)||i(this,N)&&this[N][e])||t)},G=function getOwnPropertyDescriptor(e,t){if(e=_(e),t=x(t,!0),e!==B||!i(F,t)||i(U,t)){var n=O(e,t);return!n||!i(F,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},Z=function getOwnPropertyNames(e){for(var t,n=T(_(e)),r=[],a=0;n.length>a;)i(F,t=n[a++])||t==N||t==u||r.push(t);return r},Y=function getOwnPropertySymbols(e){for(var t,n=e===B,r=T(n?U:_(e)),a=[],o=0;r.length>o;)!i(F,t=r[o++])||n&&!i(B,t)||a.push(F[t]);return a};V||(s((j=function Symbol(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(U,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,w(1,n))};return a&&W&&q(B,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",function toString(){return this._k}),E.f=G,k.f=J,n(49).f=C.f=Z,n(69).f=Q,n(78).f=Y,a&&!n(45)&&s(B,"propertyIsEnumerable",Q,!0),d.f=function(e){return H(f(e))}),o(o.G+o.W+o.F*!V,{Symbol:j});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)f($[ee++]);for(var te=P(f.store),ne=0;te.length>ne;)v(te[ne++]);o(o.S+o.F*!V,"Symbol",{for:function(e){return i(D,e+="")?D[e]:D[e]=j(e)},keyFor:function keyFor(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!V,"Object",{create:function create(e,t){return void 0===t?S(e):X(S(e),t)},defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:G,getOwnPropertyNames:Z,getOwnPropertySymbols:Y}),I&&o(o.S+o.F*(!V||c(function(){var e=j();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function stringify(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,M.apply(I,r)}}),j.prototype[A]||n(20)(j.prototype,A,j.prototype.valueOf),p(j,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(46),i=n(78),a=n(69);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,c=0;s.length>c;)u.call(e,o=s[c++])&&t.push(o);return t}},function(e,t,n){var r=n(2);r(r.S,"Object",{create:n(48)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(13),"Object",{defineProperty:n(12).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(13),"Object",{defineProperties:n(156)})},function(e,t,n){var r=n(21),i=n(27).f;n(28)("getOwnPropertyDescriptor",function(){return function getOwnPropertyDescriptor(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(17),i=n(50);n(28)("getPrototypeOf",function(){return function getPrototypeOf(e){return i(r(e))}})},function(e,t,n){var r=n(17),i=n(46);n(28)("keys",function(){return function keys(e){return i(r(e))}})},function(e,t,n){n(28)("getOwnPropertyNames",function(){return n(157).f})},function(e,t,n){var r=n(7),i=n(38).onFreeze;n(28)("freeze",function(e){return function freeze(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(7),i=n(38).onFreeze;n(28)("seal",function(e){return function seal(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(7),i=n(38).onFreeze;n(28)("preventExtensions",function(e){return function preventExtensions(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(7);n(28)("isFrozen",function(e){return function isFrozen(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(7);n(28)("isSealed",function(e){return function isSealed(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(7);n(28)("isExtensible",function(e){return function isExtensible(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(158)})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(159)})},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(114).set})},function(e,t,n){"use strict";var r=n(70),i={};i[n(9)("toStringTag")]="z",i+""!="[object z]"&&n(16)(Object.prototype,"toString",function toString(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(160)})},function(e,t,n){var r=n(12).f,i=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in i||n(13)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(7),i=n(50),a=n(9)("hasInstance"),o=Function.prototype;a in o||n(12).f(o,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(2),i=n(162);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){var r=n(2),i=n(163);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(6),i=n(19),a=n(34),o=n(116),s=n(37),u=n(4),c=n(49).f,l=n(27).f,p=n(12).f,h=n(79).trim,f=r.Number,d=f,v=f.prototype,m="Number"==a(n(48)(v)),y="trim"in String.prototype,g=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,a=(t=y?t.trim():h(t,3)).charCodeAt(0);if(43===a||45===a){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var o,u=t.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function Number(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(m?u(function(){v.valueOf.call(n)}):"Number"!=a(n))?o(new d(g(t)),n,f):g(t)};for(var b,_=n(13)?c(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)i(d,b=_[x])&&!i(f,b)&&p(f,b,l(d,b));f.prototype=v,v.constructor=f,n(16)(r,"Number",f)}},function(e,t,n){"use strict";var r=n(2),i=n(26),a=n(164),o=n(117),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=u(r/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=u(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t},d=function(e,t,n){return 0===t?n:t%2==1?d(e,t-1,n*e):d(e*e,t/2,n)},v=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(4)(function(){s.call({})})),"Number",{toFixed:function toFixed(e){var t,n,r,s,u=a(this,l),c=i(e),m="",y="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(m="-",u=-u),u>1e-21)if(n=(t=v(u*d(2,69,1))-69)<0?u*d(2,-t,1):u/d(2,t,1),n*=4503599627370496,(t=52-t)>0){for(p(0,n),r=c;r>=7;)p(1e7,0),r-=7;for(p(d(10,r,1),0),r=t-1;r>=23;)h(1<<23),r-=23;h(1<0?m+((s=y.length)<=c?"0."+o.call("0",c-s)+y:y.slice(0,s-c)+"."+y.slice(s-c)):m+y}})},function(e,t,n){"use strict";var r=n(2),i=n(4),a=n(164),o=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==o.call(1,void 0)})||!i(function(){o.call({})})),"Number",{toPrecision:function toPrecision(e){var t=a(this,"Number#toPrecision: incorrect invocation!");return void 0===e?o.call(t):o.call(t,e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),i=n(6).isFinite;r(r.S,"Number",{isFinite:function isFinite(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(165)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function isNaN(e){return e!=e}})},function(e,t,n){var r=n(2),i=n(165),a=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(e){return i(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),i=n(163);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(2),i=n(162);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(2),i=n(166),a=Math.sqrt,o=Math.acosh;r(r.S+r.F*!(o&&710==Math.floor(o(Number.MAX_VALUE))&&o(1/0)==1/0),"Math",{acosh:function acosh(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+a(e-1)*a(e+1))}})},function(e,t,n){var r=n(2),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function asinh(e){return isFinite(e=+e)&&0!=e?e<0?-asinh(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(e,t,n){var r=n(2),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function atanh(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),i=n(118);r(r.S,"Math",{cbrt:function cbrt(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function clz32(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),i=Math.exp;r(r.S,"Math",{cosh:function cosh(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(2),i=n(119);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(2);r(r.S,"Math",{fround:n(286)})},function(e,t,n){var r=n(118),i=Math.pow,a=i(2,-52),o=i(2,-23),s=i(2,127)*(2-o),u=i(2,-126);e.exports=Math.fround||function fround(e){var t,n,i=Math.abs(e),c=r(e);return is||n!=n?c*(1/0):c*n}},function(e,t,n){var r=n(2),i=Math.abs;r(r.S,"Math",{hypot:function hypot(e,t){for(var n,r,a=0,o=0,s=arguments.length,u=0;o0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(a)}})},function(e,t,n){var r=n(2),i=Math.imul;r(r.S+r.F*n(4)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function imul(e,t){var n=+e,r=+t,i=65535&n,a=65535&r;return 0|i*a+((65535&n>>>16)*a+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function log10(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(166)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function log2(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(118)})},function(e,t,n){var r=n(2),i=n(119),a=Math.exp;r(r.S+r.F*n(4)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function sinh(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),i=n(119),a=Math.exp;r(r.S,"Math",{tanh:function tanh(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function trunc(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(2),i=n(47),a=String.fromCharCode,o=String.fromCodePoint;r(r.S+r.F*(!!o&&1!=o.length),"String",{fromCodePoint:function fromCodePoint(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(2),i=n(21),a=n(11);r(r.S,"String",{raw:function raw(e){for(var t=i(e.raw),n=a(t.length),r=arguments.length,o=[],s=0;n>s;)o.push(String(t[s++])),s=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(2),i=n(120)(!1);r(r.P,"String",{codePointAt:function codePointAt(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(2),i=n(11),a=n(122),o="".endsWith;r(r.P+r.F*n(124)("endsWith"),"String",{endsWith:function endsWith(e){var t=a(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(n),r),u=String(e);return o?o.call(t,u,s):t.slice(s-u.length,s)===u}})},function(e,t,n){"use strict";var r=n(2),i=n(122);r(r.P+r.F*n(124)("includes"),"String",{includes:function includes(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(117)})},function(e,t,n){"use strict";var r=n(2),i=n(11),a=n(122),o="".startsWith;r(r.P+r.F*n(124)("startsWith"),"String",{startsWith:function startsWith(e){var t=a(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return o?o.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(18)("anchor",function(e){return function anchor(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(18)("big",function(e){return function big(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(18)("blink",function(e){return function blink(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(18)("bold",function(e){return function bold(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(18)("fixed",function(e){return function fixed(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(18)("fontcolor",function(e){return function fontcolor(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(18)("fontsize",function(e){return function fontsize(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(18)("italics",function(e){return function italics(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(18)("link",function(e){return function link(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(18)("small",function(e){return function small(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(18)("strike",function(e){return function strike(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(18)("sub",function(e){return function sub(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(18)("sup",function(e){return function sup(){return e(this,"sup","","")}})},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),i=n(17),a=n(37);r(r.P+r.F*n(4)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function toJSON(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(2),i=n(321);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(e,t,n){"use strict";var r=n(4),i=Date.prototype.getTime,a=Date.prototype.toISOString,o=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function toISOString(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+o(e.getUTCMonth()+1)+"-"+o(e.getUTCDate())+"T"+o(e.getUTCHours())+":"+o(e.getUTCMinutes())+":"+o(e.getUTCSeconds())+"."+(n>99?n:"0"+o(n))+"Z"}:a},function(e,t,n){var r=Date.prototype,i=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(16)(r,"toString",function toString(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"})},function(e,t,n){var r=n(9)("toPrimitive"),i=Date.prototype;r in i||n(20)(i,r,n(324))},function(e,t,n){"use strict";var r=n(5),i=n(37);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(112)})},function(e,t,n){"use strict";var r=n(32),i=n(2),a=n(17),o=n(168),s=n(125),u=n(11),c=n(126),l=n(127);i(i.S+i.F*!n(80)(function(e){Array.from(e)}),"Array",{from:function from(e){var t,n,i,p,h=a(e),f="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,m=void 0!==v,y=0,g=l(h);if(m&&(v=r(v,d>2?arguments[2]:void 0,2)),null==g||f==Array&&s(g))for(n=new f(t=u(h.length));t>y;y++)c(n,y,m?v(h[y],y):h[y]);else for(p=g.call(h),n=new f;!(i=p.next()).done;y++)c(n,y,m?o(p,v,[i.value,y],!0):i.value);return n.length=y,n}})},function(e,t,n){"use strict";var r=n(2),i=n(126);r(r.S+r.F*n(4)(function(){function F(){}return!(Array.of.call(F)instanceof F)}),"Array",{of:function of(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),i=n(21),a=[].join;r(r.P+r.F*(n(68)!=Object||!n(24)(a)),"Array",{join:function join(e){return a.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),i=n(113),a=n(34),o=n(47),s=n(11),u=[].slice;r(r.P+r.F*n(4)(function(){i&&u.call(i)}),"Array",{slice:function slice(e,t){var n=s(this.length),r=a(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var i=o(e,n),c=o(t,n),l=s(c-i),p=new Array(l),h=0;h1&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(170)}),n(56)("copyWithin")},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(128)}),n(56)("fill")},function(e,t,n){"use strict";var r=n(2),i=n(29)(5),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),r(r.P+r.F*a,"Array",{find:function find(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(56)("find")},function(e,t,n){"use strict";var r=n(2),i=n(29)(6),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r(r.P+r.F*o,"Array",{findIndex:function findIndex(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(56)(a)},function(e,t,n){n(57)("Array")},function(e,t,n){var r=n(6),i=n(116),a=n(12).f,o=n(49).f,s=n(123),u=n(81),c=r.RegExp,l=c,p=c.prototype,h=/a/g,f=/a/g,d=new c(h)!==h;if(n(13)&&(!d||n(4)(function(){return f[n(9)("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")}))){c=function RegExp(e,t){var n=this instanceof c,r=s(e),a=void 0===t;return!n&&r&&e.constructor===c&&a?e:i(d?new l(r&&!a?e.source:e,t):l((r=e instanceof c)?e.source:e,r&&a?u.call(e):t),n?this:p,c)};for(var v=function(e){e in c||a(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},m=o(l),y=0;m.length>y;)v(m[y++]);p.constructor=c,c.prototype=p,n(16)(r,"RegExp",c)}n(57)("RegExp")},function(e,t,n){"use strict";n(173);var r=n(5),i=n(81),a=n(13),o=/./.toString,s=function(e){n(16)(RegExp.prototype,"toString",e,!0)};n(4)(function(){return"/a/b"!=o.call({source:"a",flags:"b"})})?s(function toString(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=o.name&&s(function toString(){return o.call(this)})},function(e,t,n){"use strict";var r=n(5),i=n(11),a=n(131),o=n(82);n(83)("match",1,function(e,t,n,s){return[function match(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var u=r(e),c=String(this);if(!u.global)return o(u,c);var l=u.unicode;u.lastIndex=0;for(var p,h=[],f=0;null!==(p=o(u,c));){var d=String(p[0]);h[f]=d,""===d&&(u.lastIndex=a(c,i(u.lastIndex),l)),f++}return 0===f?null:h}]})},function(e,t,n){"use strict";var r=n(5),i=n(17),a=n(11),o=n(26),s=n(131),u=n(82),c=Math.max,l=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n(83)("replace",2,function(e,t,n,d){return[function replace(r,i){var a=e(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,a,i):n.call(String(a),r,i)},function(e,t){var i=d(n,e,this,t);if(i.done)return i.value;var p=r(e),h=String(this),f="function"==typeof t;f||(t=String(t));var v=p.global;if(v){var m=p.unicode;p.lastIndex=0}for(var y=[];;){var g=u(p,h);if(null===g)break;if(y.push(g),!v)break;""===String(g[0])&&(p.lastIndex=s(h,a(p.lastIndex),m))}for(var b,_="",x=0,w=0;w=x&&(_+=h.slice(x,C)+R,x=C+S.length)}return _+h.slice(x)}];function getSubstitution(e,t,r,a,o,s){var u=r+e.length,c=a.length,l=f;return void 0!==o&&(o=i(o),l=h),n.call(s,l,function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":s=o[i.slice(1,-1)];break;default:var l=+i;if(0===l)return i;if(l>c){var h=p(l/10);return 0===h?i:h<=c?void 0===a[h-1]?i.charAt(1):a[h-1]+i.charAt(1):i}s=a[l-1]}return void 0===s?"":s})}})},function(e,t,n){"use strict";var r=n(5),i=n(159),a=n(82);n(83)("search",1,function(e,t,n,o){return[function search(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=o(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this),c=s.lastIndex;i(c,0)||(s.lastIndex=0);var l=a(s,u);return i(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]})},function(e,t,n){"use strict";var r=n(123),i=n(5),a=n(71),o=n(131),s=n(11),u=n(82),c=n(130),l=Math.min,p=[].push,h=!!function(){try{return new RegExp("x","y")}catch(e){}}();n(83)("split",2,function(e,t,n,f){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var a,o,s,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,f=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,l+"g");(a=c.call(d,i))&&!((o=d.lastIndex)>h&&(u.push(i.slice(h,a.index)),a.length>1&&a.index=f));)d.lastIndex===a.index&&d.lastIndex++;return h===i.length?!s&&d.test("")||u.push(""):u.push(i.slice(h)),u.length>f?u.slice(0,f):u}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function split(n,r){var i=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,i,r):d.call(String(i),n,r)},function(e,t){var r=f(d,e,this,t,d!==n);if(r.done)return r.value;var c=i(e),p=String(this),v=a(c,RegExp),m=c.unicode,y=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),g=new v(h?c:"^(?:"+c.source+")",y),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===p.length)return null===u(g,p)?[p]:[];for(var _=0,x=0,w=[];x0?arguments[0]:void 0)}},{get:function get(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function set(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(177),i=n(60);e.exports=n(86)("Set",function(e){return function Set(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(29)(0),a=n(16),o=n(38),s=n(158),u=n(178),c=n(7),l=n(4),p=n(60),h=o.getWeak,f=Object.isExtensible,d=u.ufstore,v={},m=function(e){return function WeakMap(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function get(e){if(c(e)){var t=h(e);return!0===t?d(p(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function set(e,t){return u.def(p(this,"WeakMap"),e,t)}},g=e.exports=n(86)("WeakMap",m,y,u,!0,!0);l(function(){return 7!=(new g).set((Object.freeze||Object)(v),7).get(v)})&&(s((r=u.getConstructor(m,"WeakMap")).prototype,y),o.NEED=!0,i(["delete","has","get","set"],function(e){var t=g.prototype,n=t[e];a(t,e,function(t,i){if(c(t)&&!f(t)){this._f||(this._f=new r);var a=this._f[e](t,i);return"set"==e?this:a}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(178),i=n(60);n(86)("WeakSet",function(e){return function WeakSet(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),i=n(87),a=n(133),o=n(5),s=n(47),u=n(11),c=n(7),l=n(6).ArrayBuffer,p=n(71),h=a.ArrayBuffer,f=a.DataView,d=i.ABV&&l.isView,v=h.prototype.slice,m=i.VIEW;r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function isView(e){return d&&d(e)||c(e)&&m in e}}),r(r.P+r.U+r.F*n(4)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function slice(e,t){if(void 0!==v&&void 0===t)return v.call(o(this),e);for(var n=o(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),a=new(p(this,h))(u(i-r)),c=new f(this),l=new f(a),d=0;r=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function enumerate(e){return new a(e)}})},function(e,t,n){var r=n(27),i=n(50),a=n(19),o=n(2),s=n(7),u=n(5);o(o.S,"Reflect",{get:function get(e,t){var n,o,c=arguments.length<3?e:arguments[2];return u(e)===c?e[t]:(n=r.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:s(o=i(e))?get(o,t,c):void 0}})},function(e,t,n){var r=n(27),i=n(2),a=n(5);i(i.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(e,t){return r.f(a(e),t)}})},function(e,t,n){var r=n(2),i=n(50),a=n(5);r(r.S,"Reflect",{getPrototypeOf:function getPrototypeOf(e){return i(a(e))}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function has(e,t){return t in e}})},function(e,t,n){var r=n(2),i=n(5),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function isExtensible(e){return i(e),!a||a(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(180)})},function(e,t,n){var r=n(2),i=n(5),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function preventExtensions(e){i(e);try{return a&&a(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(12),i=n(27),a=n(50),o=n(19),s=n(2),u=n(43),c=n(5),l=n(7);s(s.S,"Reflect",{set:function set(e,t,n){var s,p,h=arguments.length<4?e:arguments[3],f=i.f(c(e),t);if(!f){if(l(p=a(e)))return set(p,t,n,h);f=u(0)}if(o(f,"value")){if(!1===f.writable||!l(h))return!1;if(s=i.f(h,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,r.f(h,t,s)}else r.f(h,t,u(0,n));return!0}return void 0!==f.set&&(f.set.call(h,n),!0)}})},function(e,t,n){var r=n(2),i=n(114);i&&r(r.S,"Reflect",{setPrototypeOf:function setPrototypeOf(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(385),e.exports=n(14).Array.includes},function(e,t,n){"use strict";var r=n(2),i=n(77)(!0);r(r.P,"Array",{includes:function includes(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(56)("includes")},function(e,t,n){n(387),e.exports=n(14).String.padStart},function(e,t,n){"use strict";var r=n(2),i=n(181),a=n(85);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padStart:function padStart(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(389),e.exports=n(14).String.padEnd},function(e,t,n){"use strict";var r=n(2),i=n(181),a=n(85);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padEnd:function padEnd(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(391),e.exports=n(109).f("asyncIterator")},function(e,t,n){n(154)("asyncIterator")},function(e,t,n){n(393),e.exports=n(14).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(2),i=n(180),a=n(21),o=n(27),s=n(126);r(r.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(e){for(var t,n,r=a(e),u=o.f,c=i(r),l={},p=0;c.length>p;)void 0!==(n=u(r,t=c[p++]))&&s(l,t,n);return l}})},function(e,t,n){n(395),e.exports=n(14).Object.values},function(e,t,n){var r=n(2),i=n(182)(!1);r(r.S,"Object",{values:function values(e){return i(e)}})},function(e,t,n){n(397),e.exports=n(14).Object.entries},function(e,t,n){var r=n(2),i=n(182)(!0);r(r.S,"Object",{entries:function entries(e){return i(e)}})},function(e,t,n){"use strict";n(174),n(399),e.exports=n(14).Promise.finally},function(e,t,n){"use strict";var r=n(2),i=n(14),a=n(6),o=n(71),s=n(176);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){n(401),n(402),n(403),e.exports=n(14)},function(e,t,n){var r=n(6),i=n(2),a=n(85),o=[].slice,s=/MSIE .\./.test(a),u=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&o.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(e,t,n){var r=n(2),i=n(132);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(129),i=n(46),a=n(16),o=n(6),s=n(20),u=n(55),c=n(9),l=c("iterator"),p=c("toStringTag"),h=u.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(f),v=0;v=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;resetTryEntry(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:values(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function wrap(e,t,n,r){var i=t&&t.prototype instanceof Generator?t:Generator,a=Object.create(i.prototype),o=new Context(r||[]);return a._invoke=makeInvokeMethod(e,n,o),a}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function AsyncIterator(e){function invoke(t,n,r,a){var o=tryCatch(e[t],e,n);if("throw"!==o.type){var s=o.arg,u=s.value;return u&&"object"==typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then(function(e){invoke("next",e,r,a)},function(e){invoke("throw",e,r,a)}):Promise.resolve(u).then(function(e){s.value=e,r(s)},function(e){return invoke("throw",e,r,a)})}a(o.arg)}var t;this._invoke=function enqueue(e,n){function callInvokeWithMethodAndArg(){return new Promise(function(t,r){invoke(e,n,t,r)})}return t=t?t.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function makeInvokeMethod(e,t,n){var r=p;return function invoke(i,a){if(r===f)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return doneResult()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=maybeInvokeDelegate(o,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=tryCatch(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}function maybeInvokeDelegate(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,maybeInvokeDelegate(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=tryCatch(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,v):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function next(){for(;++r0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,i.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function get(){return this.keys.length}}]),SheetsManager}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function cloneStyle(e){if(null==e)return e;var t=void 0===e?"undefined":r(e);if("string"===t||"number"===t||"function"===t)return e;if(a(e))return e.map(cloneStyle);if((0,i.default)(e))return e;var n={};for(var o in e){var s=e[o];"object"!==(void 0===s?"undefined":r(s))?n[o]=s:n[o]=cloneStyle(s)}return n};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(185));var a=Array.isArray},function(e,t,n){"use strict";n.r(t),function(e,r){var i,a=n(215);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var o=Object(a.a)(i);t.default=o}.call(this,n(23),n(414)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});e.CSS;t.default=function(e){return e}}).call(this,n(23))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="2f1acc6c3a606b082e5eef5e54414ffb";null==e[n]&&(e[n]=0),t.default=e[n]++}).call(this,n(23))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?y.default:v.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function createStyleSheet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===h.default.index?0:h.default.index+1);var r=new s.default(e,i({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function removeStyleSheet(e){return e.detach(),h.default.remove(e),this}},{key:"createRule",value:function createRule(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":r(e))&&(n=t,t=e,e=void 0);var i=n;i.jss=this,i.Renderer=this.options.Renderer,i.generateClassName||(i.generateClassName=this.generateClassName),i.classes||(i.classes={});var a=(0,m.default)(e,t,i);return!i.selector&&a instanceof f.default&&(a.selector="."+i.generateClassName(a)),this.plugins.onProcessRule(a),a}},{key:"use",value:function use(){for(var e=this,t=arguments.length,n=Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),KeyframesRule}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),ConditionalRule}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===l)return e.selectorText;if(e.type===p){var t=e.name;if(t)return"@keyframes "+t;var n=e.cssText;return"@"+c(n,n.indexOf("keyframes"))}return c(e.cssText)});function setSelector(e,t){return e.selectorText=t,e.selectorText===t}var f,d,m=u(function(){return document.head||document.getElementsByTagName("head")[0]}),v=(f=void 0,d=!1,function(e){var t={};f||(f=document.createElement("style"));for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}function findHighestSheet(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}function findCommentNode(e){for(var t=m(),n=0;n0){var n=findHigherSheet(t,e);if(n)return n.renderer.element;if(n=findHighestSheet(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=findCommentNode(r);if(o)return o.nextSibling;(0,i.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}function insertStyle(e,t){var n=t.insertionPoint,r=findPrevNode(t);if(r){var a=r.parentNode;a&&a.insertBefore(e,r)}else if(n&&"number"==typeof n.nodeType){var o=n,s=o.parentNode;s?s.insertBefore(e,o.nextSibling):(0,i.default)(!1,"[JSS] Insertion point is not in the DOM.")}else m().insertBefore(e,r)}var y=u(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),g=function(){function DomRenderer(e){_classCallCheck(this,DomRenderer),this.getPropertyValue=getPropertyValue,this.setProperty=setProperty,this.removeProperty=removeProperty,this.setSelector=setSelector,this.getKey=h,this.getUnescapedKeysMap=v,this.hasInsertedRules=!1,e&&a.default.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||document.createElement("style"),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=y();o&&this.element.setAttribute("nonce",o)}return r(DomRenderer,[{key:"attach",value:function attach(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),insertStyle(this.element,this.sheet.options))}},{key:"detach",value:function detach(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function deploy(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function insertRule(e,t){var n=this.element.sheet,r=n.cssRules,a=e.toString();if(t||(t=r.length),!a)return!1;try{n.insertRule(a,t)}catch(t){return(0,i.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function deleteRule(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function indexOf(e){for(var t=this.element.sheet.cssRules,n=0;n0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,i.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function get(){return this.keys.length}}]),SheetsManager}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function cloneStyle(e){if(null==e)return e;var t=void 0===e?"undefined":r(e);if("string"===t||"number"===t||"function"===t)return e;if(a(e))return e.map(cloneStyle);if((0,i.default)(e))return e;var n={};for(var o in e){var s=e[o];"object"!==(void 0===s?"undefined":r(s))?n[o]=s:n[o]=cloneStyle(s)}return n};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(185));var a=Array.isArray},function(e,t,n){"use strict";n.r(t),function(e,r){var i,a=n(215);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var o=Object(a.a)(i);t.default=o}.call(this,n(23),n(414)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});e.CSS;t.default=function(e){return e}}).call(this,n(23))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="2f1acc6c3a606b082e5eef5e54414ffb";null==e[n]&&(e[n]=0),t.default=e[n]++}).call(this,n(23))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?y.default:m.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function createStyleSheet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===h.default.index?0:h.default.index+1);var r=new s.default(e,i({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function removeStyleSheet(e){return e.detach(),h.default.remove(e),this}},{key:"createRule",value:function createRule(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":r(e))&&(n=t,t=e,e=void 0);var i=n;i.jss=this,i.Renderer=this.options.Renderer,i.generateClassName||(i.generateClassName=this.generateClassName),i.classes||(i.classes={});var a=(0,v.default)(e,t,i);return!i.selector&&a instanceof f.default&&(a.selector="."+i.generateClassName(a)),this.plugins.onProcessRule(a),a}},{key:"use",value:function use(){for(var e=this,t=arguments.length,n=Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),KeyframesRule}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),ConditionalRule}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===l)return e.selectorText;if(e.type===p){var t=e.name;if(t)return"@keyframes "+t;var n=e.cssText;return"@"+c(n,n.indexOf("keyframes"))}return c(e.cssText)});function setSelector(e,t){return e.selectorText=t,e.selectorText===t}var f,d,v=u(function(){return document.head||document.getElementsByTagName("head")[0]}),m=(f=void 0,d=!1,function(e){var t={};f||(f=document.createElement("style"));for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}function findHighestSheet(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}function findCommentNode(e){for(var t=v(),n=0;n0){var n=findHigherSheet(t,e);if(n)return n.renderer.element;if(n=findHighestSheet(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=findCommentNode(r);if(o)return o.nextSibling;(0,i.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}function insertStyle(e,t){var n=t.insertionPoint,r=findPrevNode(t);if(r){var a=r.parentNode;a&&a.insertBefore(e,r)}else if(n&&"number"==typeof n.nodeType){var o=n,s=o.parentNode;s?s.insertBefore(e,o.nextSibling):(0,i.default)(!1,"[JSS] Insertion point is not in the DOM.")}else v().insertBefore(e,r)}var y=u(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),g=function(){function DomRenderer(e){_classCallCheck(this,DomRenderer),this.getPropertyValue=getPropertyValue,this.setProperty=setProperty,this.removeProperty=removeProperty,this.setSelector=setSelector,this.getKey=h,this.getUnescapedKeysMap=m,this.hasInsertedRules=!1,e&&a.default.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||document.createElement("style"),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=y();o&&this.element.setAttribute("nonce",o)}return r(DomRenderer,[{key:"attach",value:function attach(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),insertStyle(this.element,this.sheet.options))}},{key:"detach",value:function detach(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function deploy(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function insertRule(e,t){var n=this.element.sheet,r=n.cssRules,a=e.toString();if(t||(t=r.length),!a)return!1;try{n.insertRule(a,t)}catch(t){return(0,i.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function deleteRule(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function indexOf(e){for(var t=this.element.sheet.cssRules,n=0;nthis.eventPool.length&&this.eventPool.push(e)}function jb(e){e.eventPool=[],e.getPooled=kb,e.release=lb}s(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=hb)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=hb)},persist:function(){this.isPersistent=hb},isPersistent:ib,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ib,this._dispatchInstances=this._dispatchListeners=null}}),z.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},z.extend=function(e){function b(){}function c(){return t.apply(this,arguments)}var t=this;b.prototype=t.prototype;var n=new b;return s(n,c.prototype),c.prototype=n,c.prototype.constructor=c,c.Interface=s({},t.Interface,e),c.extend=t.extend,jb(c),c},jb(z);var ke=z.extend({data:null}),Te=z.extend({data:null}),Ie=[9,13,27,32],Ae=G&&"CompositionEvent"in window,Le=null;G&&"documentMode"in document&&(Le=document.documentMode);var De=G&&"TextEvent"in window&&!Le,Ue=G&&(!Ae||Le&&8=Le),ze=String.fromCharCode(32),qe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ke=!1;function wb(e,t){switch(e){case"keyup":return-1!==Ie.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function xb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Je=!1;function zb(e,t){switch(e){case"compositionend":return xb(t);case"keypress":return 32!==t.which?null:(Ke=!0,ze);case"textInput":return(e=t.data)===ze&&Ke?null:e;default:return null}}function Ab(e,t){if(Je)return"compositionend"===e||!Ae&&wb(e,t)?(e=gb(),Ee=_e=be=null,Je=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function E(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){kt[e]=new E(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];kt[t]=new E(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new E(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new E(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){kt[e]=new E(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new E(e,3,!0,e,null)}),["capture","download"].forEach(function(e){kt[e]=new E(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){kt[e]=new E(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){kt[e]=new E(e,5,!1,e.toLowerCase(),null)});var Pt=/[\-:]([a-z])/g;function wc(e){return e[1].toUpperCase()}function xc(e,t,n,r){var i=kt.hasOwnProperty(t)?kt[t]:null;(null!==i?0===i.type:!r&&(2on.length&&on.push(e)}}}var un={},cn=0,ln="_reactListenersID"+(""+Math.random()).slice(2);function Od(e){return Object.prototype.hasOwnProperty.call(e,ln)||(e[ln]=cn++,un[e[ln]]={}),un[e[ln]]}function Pd(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Qd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rd(e,t){var n,r=Qd(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qd(r)}}function Sd(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Sd(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Td(){for(var e=window,t=Pd();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){break}t=Pd(e.document)}return t}function Ud(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var pn=G&&"documentMode"in document&&11>=document.documentMode,hn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},fn=null,dn=null,mn=null,vn=!1;function ae(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return vn||null==fn||fn!==Pd(n)?null:("selectionStart"in(n=fn)&&Ud(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},mn&&jd(mn,n)?null:(mn=n,(e=z.getPooled(hn.select,dn,e,t)).type="select",e.target=fn,Ra(e),e))}var yn={eventTypes:hn,extractEvents:function(e,t,n,r){var i,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!a)){e:{a=Od(a),i=L.onSelect;for(var o=0;o=n.length||t("93"),n=n[0]),r=n),null==r&&(r="")),e._wrapperState={initialValue:yc(r)}}function ie(e,t){var n=yc(t.value),r=yc(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}W.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),D=La,F=Ja,U=Ka,W.injectEventPluginsByName({SimpleEventPlugin:rn,EnterLeaveEventPlugin:zt,ChangeEventPlugin:It,SelectEventPlugin:yn,BeforeInputEventPlugin:et});var gn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var bn,_n=void 0,xn=(bn=function(e,t){if(e.namespaceURI!==gn.svg||"innerHTML"in e)e.innerHTML=t;else{for((_n=_n||document.createElement("div")).innerHTML=""+t+"",t=_n.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return bn(e,t)})}:bn);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var wn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!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},Sn=["Webkit","ms","Moz","O"];function se(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||wn.hasOwnProperty(e)&&wn[e]?(""+t).trim():t+"px"}function te(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=se(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(wn).forEach(function(e){Sn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wn[t]=wn[e]})});var Cn=s({menuitem:!0},{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});function ve(e,n){n&&(Cn[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML)&&t("137",e,""),null!=n.dangerouslySetInnerHTML&&(null!=n.children&&t("60"),"object"==typeof n.dangerouslySetInnerHTML&&"__html"in n.dangerouslySetInnerHTML||t("61")),null!=n.style&&"object"!=typeof n.style&&t("62",""))}function we(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e,t){var n=Od(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=L[t];for(var r=0;rTn||(e.current=Rn[Tn],Rn[Tn]=null,Tn--)}function J(e,t){Rn[++Tn]=e.current,e.current=t}var jn={},In={current:jn},Mn={current:!1},Nn=jn;function Me(e,t){var n=e.type.contextTypes;if(!n)return jn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function M(e){return null!=(e=e.childContextTypes)}function Ne(e){I(Mn),I(In)}function Oe(e){I(Mn),I(In)}function Pe(e,n,r){In.current!==jn&&t("168"),J(In,n),J(Mn,r)}function Qe(e,n,r){var i=e.stateNode;if(e=n.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var a in i=i.getChildContext())a in e||t("108",mc(n)||"Unknown",a);return s({},r,i)}function Re(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||jn,Nn=In.current,J(In,t),J(Mn,Mn.current),!0}function Se(e,n,r){var i=e.stateNode;i||t("169"),r?(n=Qe(e,n,Nn),i.__reactInternalMemoizedMergedChildContext=n,I(Mn),I(In),J(In,n)):I(Mn),J(Mn,r)}var An=null,Ln=null;function Ve(e){return function(t){try{return e(t)}catch(e){}}}function We(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);An=Ve(function(e){return t.onCommitFiberRoot(n,e)}),Ln=Ve(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Xe(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function N(e,t,n,r){return new Xe(e,t,n,r)}function Ye(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ze(e){if("function"==typeof e)return Ye(e)?1:0;if(null!=e){if((e=e.$$typeof)===yt)return 11;if(e===bt)return 14}return 2}function $e(e,t){var n=e.alternate;return null===n?((n=N(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.firstContextDependency=e.firstContextDependency,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function af(e,n,r,i,a,o){var s=2;if(i=e,"function"==typeof e)Ye(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case pt:return bf(r.children,a,o,n);case vt:return cf(r,3|a,o,n);case ht:return cf(r,2|a,o,n);case ft:return(e=N(12,r,n,4|a)).elementType=ft,e.type=ft,e.expirationTime=o,e;case gt:return(e=N(13,r,n,a)).elementType=gt,e.type=gt,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case dt:s=10;break e;case mt:s=9;break e;case yt:s=11;break e;case bt:s=14;break e;case _t:s=16,i=null;break e}t("130",null==e?e:typeof e,"")}return(n=N(s,r,n,a)).elementType=e,n.type=i,n.expirationTime=o,n}function bf(e,t,n,r){return(e=N(7,e,r,t)).expirationTime=n,e}function cf(e,t,n,r){return e=N(8,e,r,t),t=0==(1&t)?ht:vt,e.elementType=t,e.type=t,e.expirationTime=n,e}function df(e,t,n){return(e=N(6,e,null,t)).expirationTime=n,e}function ef(e,t,n){return(t=N(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ff(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),gf(t,e)}function hf(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),gf(t,e)}function jf(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function gf(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,i=t.earliestPendingTime,a=t.latestPingedTime;0===(i=0!==i?i:a)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}var Dn=!1;function lf(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function mf(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function nf(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function of(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function pf(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=lf(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=lf(e.memoizedState),i=n.updateQueue=lf(n.memoizedState)):r=e.updateQueue=mf(i):null===i&&(i=n.updateQueue=mf(r));null===i||r===i?of(r,t):null===r.lastUpdate||null===i.lastUpdate?(of(r,t),of(i,t)):(of(r,t),i.lastUpdate=t)}function qf(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=lf(e.memoizedState):rf(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function rf(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=mf(t)),t}function sf(e,t,n,r,i,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return s({},r,i);case 2:Dn=!0}return r}function tf(e,t,n,r,i){Dn=!1;for(var a=(t=rf(e,t)).baseState,o=null,s=0,u=t.firstUpdate,c=a;null!==u;){var l=u.expirationTime;ll?(p=u,u=null):p=u.sibling;var h=w(e,u,i[l],a);if(null===h){null===u&&(u=p);break}n&&u&&null===h.alternate&&b(e,u),t=f(h,t,l),null===s?o=h:s.sibling=h,s=h,u=p}if(l===i.length)return c(e,u),o;if(null===u){for(;lp?(h=l,l=null):h=l.sibling;var v=w(e,l,m.value,o);if(null===v){l||(l=h);break}n&&l&&null===v.alternate&&b(e,l),i=f(v,i,p),null===u?s=v:u.sibling=v,u=v,l=h}if(m.done)return c(e,l),s;if(null===l){for(;!m.done;p++,m=a.next())null!==(m=r(e,m.value,o))&&(i=f(m,i,p),null===u?s=m:u.sibling=m,u=m);return s}for(l=d(e,l);!m.done;p++,m=a.next())null!==(m=y(l,e,p,m.value,o))&&(n&&null!==m.alternate&&l.delete(null===m.key?p:m.key),i=f(m,i,p),null===u?s=m:u.sibling=m,u=m);return n&&l.forEach(function(t){return b(e,t)}),s}return function(n,r,i,a){var o="object"==typeof i&&null!==i&&i.type===pt&&null===i.key;o&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ct:e:{for(s=i.key,o=r;null!==o;){if(o.key===s){if(7===o.tag?i.type===pt:o.elementType===i.type){c(n,o.sibling),(r=e(o,i.type===pt?i.props.children:i.props)).ref=bg(n,o,i),r.return=n,n=r;break e}c(n,o);break}b(n,o),o=o.sibling}i.type===pt?((r=bf(i.props.children,n.mode,a,i.key)).return=n,n=r):((a=af(i.type,i.key,i.props,null,n.mode,a)).ref=bg(n,r,i),a.return=n,n=a)}return g(n);case lt:e:{for(o=i.key;null!==r;){if(r.key===o){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){c(n,r.sibling),(r=e(r,i.children||[])).return=n,n=r;break e}c(n,r);break}b(n,r),r=r.sibling}(r=ef(i,n.mode,a)).return=n,n=r}return g(n)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(c(n,r.sibling),(r=e(r,i)).return=n,n=r):(c(n,r),(r=df(i,n.mode,a)).return=n,n=r),g(n);if(Qn(i))return B(n,r,i,a);if(lc(i))return R(n,r,i,a);if(s&&cg(n,i),void 0===i&&!o)switch(n.tag){case 1:case 0:t("152",(a=n.type).displayName||a.name||"Component")}return c(n,r)}}var Gn=dg(!0),Zn=dg(!1),Yn=null,$n=null,er=!1;function jg(e,t){var n=N(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function kg(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function lg(e){if(er){var t=$n;if(t){var n=t;if(!kg(e,t)){if(!(t=Ge(n))||!kg(e,t))return e.effectTag|=2,er=!1,void(Yn=e);jg(Yn,n)}Yn=e,$n=He(t)}else e.effectTag|=2,er=!1,Yn=e}}function mg(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Yn=e}function ng(e){if(e!==Yn)return!1;if(!er)return mg(e),er=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ce(t,e.memoizedProps))for(t=$n;t;)jg(e,t),t=Ge(t);return mg(e),$n=Yn?Ge(e.stateNode):null,!0}function og(){$n=Yn=null,er=!1}var tr=ot.ReactCurrentOwner;function Q(e,t,n,r){t.child=null===e?Zn(t,null,n,r):Gn(t,e.child,n,r)}function qg(e,t,n,r,i){n=n.render;var a=t.ref;return Df(t),r=n(r,a),t.effectTag|=1,Q(e,t,r,i),t.child}function rg(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!=typeof o||Ye(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=af(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,sg(e,t,o,r,i,a))}return o=e.child,i=r?zg(e,n,r):null!==(n=tg(e,n,r))?n.sibling:null}return tg(e,n,r)}switch(n.expirationTime=0,n.tag){case 2:i=n.elementType,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),e=n.pendingProps;var a=Me(n,In.current);if(Df(n),a=i(e,a),n.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,M(i)){var o=!0;Re(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null;var s=i.getDerivedStateFromProps;"function"==typeof s&&Qf(n,i,s,e),a.updater=Xn,n.stateNode=a,a._reactInternalFiber=n,$f(n,i,e,r),n=xg(null,n,i,!0,o,r)}else n.tag=0,Q(null,n,a,r),n=n.child;return n;case 16:switch(a=n.elementType,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),o=n.pendingProps,e=Nf(a),n.type=e,a=n.tag=Ze(e),o=P(e,o),s=void 0,a){case 0:s=ug(null,n,e,o,r);break;case 1:s=wg(null,n,e,o,r);break;case 11:s=qg(null,n,e,o,r);break;case 14:s=rg(null,n,e,P(e.type,o),i,r);break;default:t("306",e,"")}return s;case 0:return i=n.type,a=n.pendingProps,ug(e,n,i,a=n.elementType===i?a:P(i,a),r);case 1:return i=n.type,a=n.pendingProps,wg(e,n,i,a=n.elementType===i?a:P(i,a),r);case 3:return yg(n),null===(i=n.updateQueue)&&t("282"),a=null!==(a=n.memoizedState)?a.element:null,tf(n,i,n.pendingProps,null,r),(i=n.memoizedState.element)===a?(og(),n=tg(e,n,r)):(a=n.stateNode,(a=(null===e||null===e.child)&&a.hydrate)&&($n=He(n.stateNode.containerInfo),Yn=n,a=er=!0),a?(n.effectTag|=2,n.child=Zn(n,null,i,r)):(Q(e,n,i,r),og()),n=n.child),n;case 5:return Lf(n),null===e&&lg(n),i=n.type,a=n.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,Ce(i,a)?s=null:null!==o&&Ce(i,o)&&(n.effectTag|=16),vg(e,n),1!==r&&1&n.mode&&a.hidden?(n.expirationTime=1,n=null):(Q(e,n,s,r),n=n.child),n;case 6:return null===e&&lg(n),null;case 13:return zg(e,n,r);case 4:return Jf(n,n.stateNode.containerInfo),i=n.pendingProps,null===e?n.child=Gn(n,null,i,r):Q(e,n,i,r),n.child;case 11:return i=n.type,a=n.pendingProps,qg(e,n,i,a=n.elementType===i?a:P(i,a),r);case 7:return Q(e,n,n.pendingProps,r),n.child;case 8:case 12:return Q(e,n,n.pendingProps.children,r),n.child;case 10:e:{if(i=n.type._context,a=n.pendingProps,s=n.memoizedProps,Bf(n,o=a.value),null!==s){var u=s.value;if(0===(o=u===o&&(0!==u||1/u==1/o)||u!=u&&o!=o?0:0|("function"==typeof i._calculateChangedBits?i._calculateChangedBits(u,o):1073741823))){if(s.children===a.children&&!Mn.current){n=tg(e,n,r);break e}}else for(null!==(s=n.child)&&(s.return=n);null!==s;){if(null!==(u=s.firstContextDependency))do{if(u.context===i&&0!=(u.observedBits&o)){if(1===s.tag){var c=nf(r);c.tag=2,pf(s,c)}s.expirationTime<\/script>",p=a.removeChild(a.firstChild)):"string"==typeof f.is?p=p.createElement(a,{is:f.is}):(p=p.createElement(a),"select"===a&&f.multiple&&(p.multiple=!0)):p=p.createElementNS(l,a),(a=p)[K]=h,a[X]=u,nr(a,n,!1,!1),f=a;var d=c,m=we(p=o,h=u);switch(p){case"iframe":case"object":H("load",f),c=h;break;case"video":case"audio":for(c=0;cu&&(u=a),(c=o.childExpirationTime)>u&&(u=c),o=o.sibling;n.childExpirationTime=u}if(null!==fr)return fr;null!==r&&0==(1024&r.effectTag)&&(null===r.firstEffect&&(r.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==r.lastEffect&&(r.lastEffect.nextEffect=e.firstEffect),r.lastEffect=e.lastEffect),1=d?h=0:(-1===h||d component higher in the tree to provide a loading indicator or placeholder to display."+nc(c))}yr=!0,l=wf(l,c),s=u;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=o,qf(s,o=Vg(s,l,o));break e;case 1:if(p=l,h=s.type,f=s.stateNode,0==(64&s.effectTag)&&("function"==typeof h.getDerivedStateFromError||null!==f&&"function"==typeof f.componentDidCatch&&(null===wr||!wr.has(f)))){s.effectTag|=2048,s.expirationTime=o,qf(s,o=Xg(s,p,o));break e}}s=s.return}while(null!==s)}fr=kh(a);continue}i=!0,Wg(n)}}break}if(hr=!1,Vn=Bn=Un=cr.currentDispatcher=null,i)dr=null,e.finishedWork=null;else if(null!==fr)e.finishedWork=null;else{if(null===(i=e.current.alternate)&&t("281"),dr=null,yr){if(a=e.latestPendingTime,o=e.latestSuspendedTime,s=e.latestPingedTime,0!==a&&an?0:n)):(e.pendingCommitExpirationTime=r,e.finishedWork=i)}}function Mg(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===wr||!wr.has(r)))return pf(n,e=Xg(n,e=wf(t,e),1073741823)),void Uf(n,1073741823);break;case 3:return pf(n,e=Vg(n,e=wf(t,e),1073741823)),void Uf(n,1073741823)}n=n.return}3===e.tag&&(pf(e,n=Vg(e,n=wf(t,e),1073741823)),Uf(e,1073741823))}function Sf(e,t){return 0!==pr?e=pr:hr?e=br?1073741823:mr:1&t.mode?(e=Ar?1073741822-10*(1+((1073741822-e+15)/10|0)):1073741822-25*(1+((1073741822-e+500)/25|0)),null!==dr&&e===mr&&--e):e=1073741823,Ar&&(0===Tr||e=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),gf(n,e),0!==(n=e.expirationTime)&&sh(e,n)))}function Tg(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=th(e,t=Sf(t=Rf(),e)))&&(ff(e,t),0!==(t=e.expirationTime)&&sh(e,t))}function th(e,t){e.expirationTimemr&&jh(),ff(e,n),hr&&!br&&dr===e||sh(e,e.expirationTime),Vr>Br&&(Vr=0,t("185")))}function wh(e,t,n,r,i){var a=pr;pr=1073741823;try{return e(t,n,r,i)}finally{pr=a}}var Sr=null,Cr=null,Er=0,kr=void 0,Pr=!1,Or=null,Rr=0,Tr=0,jr=!1,Ir=null,Mr=!1,Nr=!1,Ar=!1,Lr=null,Dr=u.unstable_now(),Fr=1073741822-(Dr/10|0),Ur=Fr,Br=50,Vr=0,zr=null;function Jh(){Fr=1073741822-((u.unstable_now()-Dr)/10|0)}function Kh(e,t){if(0!==Er){if(te.expirationTime&&(e.expirationTime=t),Pr||(Mr?Nr&&(Or=e,Rr=1073741823,Ph(e,1073741823,!1)):1073741823===t?Qh(1073741823,!1):Kh(e,t))}function Oh(){var e=0,n=null;if(null!==Cr)for(var r=Cr,i=Sr;null!==i;){var a=i.expirationTime;if(0===a){if((null===r||null===Cr)&&t("244"),i===i.nextScheduledRoot){Sr=Cr=i.nextScheduledRoot=null;break}if(i===Sr)Sr=a=i.nextScheduledRoot,Cr.nextScheduledRoot=a,i.nextScheduledRoot=null;else{if(i===Cr){(Cr=r).nextScheduledRoot=Sr,i.nextScheduledRoot=null;break}r.nextScheduledRoot=i.nextScheduledRoot,i.nextScheduledRoot=null}i=r.nextScheduledRoot}else{if(a>e&&(e=a,n=i),i===Cr)break;if(1073741823===e)break;r=i,i=i.nextScheduledRoot}}Or=n,Rr=e}var Wr=!1;function nh(){return!!Wr||!!u.unstable_shouldYield()&&(Wr=!0)}function Lh(){try{if(!nh()&&null!==Sr){Jh();var e=Sr;do{var t=e.expirationTime;0!==t&&Fr<=t&&(e.nextExpirationTimeToWorkOn=Fr),e=e.nextScheduledRoot}while(e!==Sr)}Qh(0,!0)}finally{Wr=!1}}function Qh(e,t){if(Oh(),t)for(Jh(),Ur=Fr;null!==Or&&0!==Rr&&e<=Rr&&!(Wr&&Fr>Rr);)Ph(Or,Rr,Fr>Rr),Oh(),Jh(),Ur=Fr;else for(;null!==Or&&0!==Rr&&e<=Rr;)Ph(Or,Rr,!1),Oh();if(t&&(Er=0,kr=null),0!==Rr&&Kh(Or,Rr),Vr=0,zr=null,null!==Lr)for(e=Lr,Lr=null,t=0;t=r&&(null===Lr?Lr=[i]:Lr.push(i),i._defer))return e.finishedWork=n,void(e.expirationTime=0);e.finishedWork=null,e===zr?Vr++:(zr=e,Vr=0),br=hr=!0,e.current===n&&t("177"),0===(r=e.pendingCommitExpirationTime)&&t("261"),e.pendingCommitExpirationTime=0,i=n.expirationTime;var a=n.childExpirationTime;if(i=a>i?a:i,e.didError=!1,0===i?(e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0):(ii?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>i&&(e.earliestPendingTime=e.latestPendingTime)),0===(a=e.earliestSuspendedTime)?ff(e,i):ia&&ff(e,i)),gf(0,e),cr.current=null,1g&&(b=g,g=k,k=b),b=Rd(S,k),_=Rd(S,g),b&&_&&(1!==E.rangeCount||E.anchorNode!==b.node||E.anchorOffset!==b.offset||E.focusNode!==_.node||E.focusOffset!==_.offset)&&((C=C.createRange()).setStart(b.node,b.offset),E.removeAllRanges(),k>g?(E.addRange(C),E.extend(_.node,_.offset)):(C.setEnd(_.node,_.offset),E.addRange(C))))),C=[];for(E=S;E=E.parentNode;)1===E.nodeType&&C.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof S.focus&&S.focus(),S=0;SO?n:O)&&(wr=null),e.expirationTime=n,e.finishedWork=null}function Wg(e){null===Or&&t("246"),Or.expirationTime=0,jr||(jr=!0,Ir=e)}function Th(e,t){var n=Mr;Mr=!0;try{return e(t)}finally{(Mr=n)||Pr||Qh(1073741823,!1)}}function Uh(e,t){if(Mr&&!Nr){Nr=!0;try{return e(t)}finally{Nr=!1}}return e(t)}function Wh(e,t,n){if(Ar)return e(t,n);Mr||Pr||0===Tr||(Qh(Tr,!1),Tr=0);var r=Ar,i=Mr;Mr=Ar=!0;try{return e(t,n)}finally{Ar=r,(Mr=i)||Pr||Qh(1073741823,!1)}}function Xh(e,n,r,i,a){var o=n.current;e:if(r){t:{2===kd(r=r._reactInternalFiber)&&1===r.tag||t("170");var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(M(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);t("171"),s=void 0}if(1===r.tag){var u=r.type;if(M(u)){r=Qe(r,u,s);break e}}r=s}else r=jn;return null===n.context?n.context=r:n.pendingContext=r,n=a,(a=nf(i)).payload={element:e},null!==(n=void 0===n?null:n)&&(a.callback=n),Tf(),pf(o,a),Uf(o,i),i}function Yh(e,t,n,r){var i=t.current;return Xh(e,t,n,i=Sf(Rf(),i),r)}function Zh(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $h(e,t,n){var r=3=lr&&(t=lr-1),this._expirationTime=lr=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function bi(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function ci(e,t,n){e={current:t=N(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function di(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ei(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ci(e,!1,t)}function fi(e,n,r,i,a){di(r)||t("200");var o=r._reactRootContainer;if(o){if("function"==typeof a){var s=a;a=function(){var e=Zh(o._internalRoot);s.call(e)}}null!=e?o.legacy_renderSubtreeIntoContainer(e,n,a):o.render(n,a)}else{if(o=r._reactRootContainer=ei(r,i),"function"==typeof a){var u=a;a=function(){var e=Zh(o._internalRoot);u.call(e)}}Uh(function(){null!=e?o.legacy_renderSubtreeIntoContainer(e,n,a):o.render(n,a)})}return Zh(o._internalRoot)}function gi(e,n){var r=2=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Kb=Th,Lb=Wh,Mb=function(){Pr||0===Tr||(Qh(Tr,!1),Tr=0)};var qr={createPortal:gi,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternalFiber;return void 0===n&&("function"==typeof e.render?t("188"):t("268",Object.keys(e))),e=null===(e=nd(n))?null:e.stateNode},hydrate:function(e,t,n){return fi(null,e,t,!0,n)},render:function(e,t,n){return fi(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,n,r,i){return(null==e||void 0===e._reactInternalFiber)&&t("38"),fi(e,n,r,!1,i)},unmountComponentAtNode:function(e){return di(e)||t("40"),!!e._reactRootContainer&&(Uh(function(){fi(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return gi.apply(void 0,arguments)},unstable_batchedUpdates:Th,unstable_interactiveUpdates:Wh,flushSync:function(e,n){Pr&&t("187");var r=Mr;Mr=!0;try{return wh(e,n)}finally{Mr=r,Qh(1073741823,!1)}},unstable_createRoot:function hi(e,n){return di(e)||t("299","unstable_createRoot"),new ci(e,!0,null!=n&&!0===n.hydrate)},unstable_flushControlled:function(e){var t=Mr;Mr=!0;try{wh(e)}finally{(Mr=t)||Pr||Qh(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[Ja,Ka,La,W.injectEventPluginsByName,j,Ra,function(e){za(e,Qa)},Ib,Jb,Jd,Ea]}};!function(e){var t=e.findFiberByHostInstance;We(s({},e,{overrideProps:null,findHostInstanceByFiber:function(e){return null===(e=nd(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:Ia,bundleType:0,version:"16.7.0",rendererPackageName:"react-dom"});var Hr={default:qr},Kr=Hr&&qr||Hr;n.exports=Kr.default||Kr},function(e,t,n){"use strict"; + */var o=a(1),s=a(189),u=a(436);function ca(e,t,n,r,i,a,o,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,s],c=0;(e=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}function t(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rthis.eventPool.length&&this.eventPool.push(e)}function jb(e){e.eventPool=[],e.getPooled=kb,e.release=lb}s(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=hb)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=hb)},persist:function(){this.isPersistent=hb},isPersistent:ib,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ib,this._dispatchInstances=this._dispatchListeners=null}}),z.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},z.extend=function(e){function b(){}function c(){return t.apply(this,arguments)}var t=this;b.prototype=t.prototype;var n=new b;return s(n,c.prototype),c.prototype=n,c.prototype.constructor=c,c.Interface=s({},t.Interface,e),c.extend=t.extend,jb(c),c},jb(z);var ke=z.extend({data:null}),Te=z.extend({data:null}),Ie=[9,13,27,32],Ae=G&&"CompositionEvent"in window,Le=null;G&&"documentMode"in document&&(Le=document.documentMode);var De=G&&"TextEvent"in window&&!Le,Ue=G&&(!Ae||Le&&8=Le),ze=String.fromCharCode(32),qe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ke=!1;function wb(e,t){switch(e){case"keyup":return-1!==Ie.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function xb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Je=!1;function zb(e,t){switch(e){case"compositionend":return xb(t);case"keypress":return 32!==t.which?null:(Ke=!0,ze);case"textInput":return(e=t.data)===ze&&Ke?null:e;default:return null}}function Ab(e,t){if(Je)return"compositionend"===e||!Ae&&wb(e,t)?(e=gb(),Ee=_e=be=null,Je=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}function E(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){kt[e]=new E(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];kt[t]=new E(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new E(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new E(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){kt[e]=new E(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new E(e,3,!0,e,null)}),["capture","download"].forEach(function(e){kt[e]=new E(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){kt[e]=new E(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){kt[e]=new E(e,5,!1,e.toLowerCase(),null)});var Pt=/[\-:]([a-z])/g;function wc(e){return e[1].toUpperCase()}function xc(e,t,n,r){var i=kt.hasOwnProperty(t)?kt[t]:null;(null!==i?0===i.type:!r&&(2on.length&&on.push(e)}}}var un={},cn=0,ln="_reactListenersID"+(""+Math.random()).slice(2);function Od(e){return Object.prototype.hasOwnProperty.call(e,ln)||(e[ln]=cn++,un[e[ln]]={}),un[e[ln]]}function Pd(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Qd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rd(e,t){var n,r=Qd(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qd(r)}}function Sd(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Sd(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Td(){for(var e=window,t=Pd();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){break}t=Pd(e.document)}return t}function Ud(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var pn=G&&"documentMode"in document&&11>=document.documentMode,hn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},fn=null,dn=null,vn=null,mn=!1;function ae(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return mn||null==fn||fn!==Pd(n)?null:("selectionStart"in(n=fn)&&Ud(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},vn&&jd(vn,n)?null:(vn=n,(e=z.getPooled(hn.select,dn,e,t)).type="select",e.target=fn,Ra(e),e))}var yn={eventTypes:hn,extractEvents:function(e,t,n,r){var i,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!a)){e:{a=Od(a),i=L.onSelect;for(var o=0;o=n.length||t("93"),n=n[0]),r=n),null==r&&(r="")),e._wrapperState={initialValue:yc(r)}}function ie(e,t){var n=yc(t.value),r=yc(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}W.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),D=La,F=Ja,U=Ka,W.injectEventPluginsByName({SimpleEventPlugin:rn,EnterLeaveEventPlugin:zt,ChangeEventPlugin:It,SelectEventPlugin:yn,BeforeInputEventPlugin:et});var gn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var bn,_n=void 0,xn=(bn=function(e,t){if(e.namespaceURI!==gn.svg||"innerHTML"in e)e.innerHTML=t;else{for((_n=_n||document.createElement("div")).innerHTML=""+t+"",t=_n.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return bn(e,t)})}:bn);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var wn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!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},Sn=["Webkit","ms","Moz","O"];function se(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||wn.hasOwnProperty(e)&&wn[e]?(""+t).trim():t+"px"}function te(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=se(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(wn).forEach(function(e){Sn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wn[t]=wn[e]})});var Cn=s({menuitem:!0},{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});function ve(e,n){n&&(Cn[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML)&&t("137",e,""),null!=n.dangerouslySetInnerHTML&&(null!=n.children&&t("60"),"object"==typeof n.dangerouslySetInnerHTML&&"__html"in n.dangerouslySetInnerHTML||t("61")),null!=n.style&&"object"!=typeof n.style&&t("62",""))}function we(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e,t){var n=Od(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=L[t];for(var r=0;rTn||(e.current=Rn[Tn],Rn[Tn]=null,Tn--)}function J(e,t){Rn[++Tn]=e.current,e.current=t}var jn={},In={current:jn},Mn={current:!1},Nn=jn;function Me(e,t){var n=e.type.contextTypes;if(!n)return jn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function M(e){return null!=(e=e.childContextTypes)}function Ne(e){I(Mn),I(In)}function Oe(e){I(Mn),I(In)}function Pe(e,n,r){In.current!==jn&&t("168"),J(In,n),J(Mn,r)}function Qe(e,n,r){var i=e.stateNode;if(e=n.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var a in i=i.getChildContext())a in e||t("108",mc(n)||"Unknown",a);return s({},r,i)}function Re(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||jn,Nn=In.current,J(In,t),J(Mn,Mn.current),!0}function Se(e,n,r){var i=e.stateNode;i||t("169"),r?(n=Qe(e,n,Nn),i.__reactInternalMemoizedMergedChildContext=n,I(Mn),I(In),J(In,n)):I(Mn),J(Mn,r)}var An=null,Ln=null;function Ve(e){return function(t){try{return e(t)}catch(e){}}}function We(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);An=Ve(function(e){return t.onCommitFiberRoot(n,e)}),Ln=Ve(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Xe(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function N(e,t,n,r){return new Xe(e,t,n,r)}function Ye(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ze(e){if("function"==typeof e)return Ye(e)?1:0;if(null!=e){if((e=e.$$typeof)===yt)return 11;if(e===bt)return 14}return 2}function $e(e,t){var n=e.alternate;return null===n?((n=N(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.firstContextDependency=e.firstContextDependency,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function af(e,n,r,i,a,o){var s=2;if(i=e,"function"==typeof e)Ye(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case pt:return bf(r.children,a,o,n);case mt:return cf(r,3|a,o,n);case ht:return cf(r,2|a,o,n);case ft:return(e=N(12,r,n,4|a)).elementType=ft,e.type=ft,e.expirationTime=o,e;case gt:return(e=N(13,r,n,a)).elementType=gt,e.type=gt,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case dt:s=10;break e;case vt:s=9;break e;case yt:s=11;break e;case bt:s=14;break e;case _t:s=16,i=null;break e}t("130",null==e?e:typeof e,"")}return(n=N(s,r,n,a)).elementType=e,n.type=i,n.expirationTime=o,n}function bf(e,t,n,r){return(e=N(7,e,r,t)).expirationTime=n,e}function cf(e,t,n,r){return e=N(8,e,r,t),t=0==(1&t)?ht:mt,e.elementType=t,e.type=t,e.expirationTime=n,e}function df(e,t,n){return(e=N(6,e,null,t)).expirationTime=n,e}function ef(e,t,n){return(t=N(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ff(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),gf(t,e)}function hf(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),gf(t,e)}function jf(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function gf(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,i=t.earliestPendingTime,a=t.latestPingedTime;0===(i=0!==i?i:a)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}var Dn=!1;function lf(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function mf(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function nf(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function of(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function pf(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=lf(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=lf(e.memoizedState),i=n.updateQueue=lf(n.memoizedState)):r=e.updateQueue=mf(i):null===i&&(i=n.updateQueue=mf(r));null===i||r===i?of(r,t):null===r.lastUpdate||null===i.lastUpdate?(of(r,t),of(i,t)):(of(r,t),i.lastUpdate=t)}function qf(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=lf(e.memoizedState):rf(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function rf(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=mf(t)),t}function sf(e,t,n,r,i,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return s({},r,i);case 2:Dn=!0}return r}function tf(e,t,n,r,i){Dn=!1;for(var a=(t=rf(e,t)).baseState,o=null,s=0,u=t.firstUpdate,c=a;null!==u;){var l=u.expirationTime;ll?(p=u,u=null):p=u.sibling;var h=w(e,u,i[l],a);if(null===h){null===u&&(u=p);break}n&&u&&null===h.alternate&&b(e,u),t=f(h,t,l),null===s?o=h:s.sibling=h,s=h,u=p}if(l===i.length)return c(e,u),o;if(null===u){for(;lp?(h=l,l=null):h=l.sibling;var m=w(e,l,v.value,o);if(null===m){l||(l=h);break}n&&l&&null===m.alternate&&b(e,l),i=f(m,i,p),null===u?s=m:u.sibling=m,u=m,l=h}if(v.done)return c(e,l),s;if(null===l){for(;!v.done;p++,v=a.next())null!==(v=r(e,v.value,o))&&(i=f(v,i,p),null===u?s=v:u.sibling=v,u=v);return s}for(l=d(e,l);!v.done;p++,v=a.next())null!==(v=y(l,e,p,v.value,o))&&(n&&null!==v.alternate&&l.delete(null===v.key?p:v.key),i=f(v,i,p),null===u?s=v:u.sibling=v,u=v);return n&&l.forEach(function(t){return b(e,t)}),s}return function(n,r,i,a){var o="object"==typeof i&&null!==i&&i.type===pt&&null===i.key;o&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ct:e:{for(s=i.key,o=r;null!==o;){if(o.key===s){if(7===o.tag?i.type===pt:o.elementType===i.type){c(n,o.sibling),(r=e(o,i.type===pt?i.props.children:i.props)).ref=bg(n,o,i),r.return=n,n=r;break e}c(n,o);break}b(n,o),o=o.sibling}i.type===pt?((r=bf(i.props.children,n.mode,a,i.key)).return=n,n=r):((a=af(i.type,i.key,i.props,null,n.mode,a)).ref=bg(n,r,i),a.return=n,n=a)}return g(n);case lt:e:{for(o=i.key;null!==r;){if(r.key===o){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){c(n,r.sibling),(r=e(r,i.children||[])).return=n,n=r;break e}c(n,r);break}b(n,r),r=r.sibling}(r=ef(i,n.mode,a)).return=n,n=r}return g(n)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(c(n,r.sibling),(r=e(r,i)).return=n,n=r):(c(n,r),(r=df(i,n.mode,a)).return=n,n=r),g(n);if(Qn(i))return B(n,r,i,a);if(lc(i))return R(n,r,i,a);if(s&&cg(n,i),void 0===i&&!o)switch(n.tag){case 1:case 0:t("152",(a=n.type).displayName||a.name||"Component")}return c(n,r)}}var Gn=dg(!0),Zn=dg(!1),Yn=null,$n=null,er=!1;function jg(e,t){var n=N(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function kg(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function lg(e){if(er){var t=$n;if(t){var n=t;if(!kg(e,t)){if(!(t=Ge(n))||!kg(e,t))return e.effectTag|=2,er=!1,void(Yn=e);jg(Yn,n)}Yn=e,$n=He(t)}else e.effectTag|=2,er=!1,Yn=e}}function mg(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Yn=e}function ng(e){if(e!==Yn)return!1;if(!er)return mg(e),er=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ce(t,e.memoizedProps))for(t=$n;t;)jg(e,t),t=Ge(t);return mg(e),$n=Yn?Ge(e.stateNode):null,!0}function og(){$n=Yn=null,er=!1}var tr=ot.ReactCurrentOwner;function Q(e,t,n,r){t.child=null===e?Zn(t,null,n,r):Gn(t,e.child,n,r)}function qg(e,t,n,r,i){n=n.render;var a=t.ref;return Df(t),r=n(r,a),t.effectTag|=1,Q(e,t,r,i),t.child}function rg(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!=typeof o||Ye(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=af(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,sg(e,t,o,r,i,a))}return o=e.child,i=r?zg(e,n,r):null!==(n=tg(e,n,r))?n.sibling:null}return tg(e,n,r)}switch(n.expirationTime=0,n.tag){case 2:i=n.elementType,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),e=n.pendingProps;var a=Me(n,In.current);if(Df(n),a=i(e,a),n.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,M(i)){var o=!0;Re(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null;var s=i.getDerivedStateFromProps;"function"==typeof s&&Qf(n,i,s,e),a.updater=Xn,n.stateNode=a,a._reactInternalFiber=n,$f(n,i,e,r),n=xg(null,n,i,!0,o,r)}else n.tag=0,Q(null,n,a,r),n=n.child;return n;case 16:switch(a=n.elementType,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),o=n.pendingProps,e=Nf(a),n.type=e,a=n.tag=Ze(e),o=P(e,o),s=void 0,a){case 0:s=ug(null,n,e,o,r);break;case 1:s=wg(null,n,e,o,r);break;case 11:s=qg(null,n,e,o,r);break;case 14:s=rg(null,n,e,P(e.type,o),i,r);break;default:t("306",e,"")}return s;case 0:return i=n.type,a=n.pendingProps,ug(e,n,i,a=n.elementType===i?a:P(i,a),r);case 1:return i=n.type,a=n.pendingProps,wg(e,n,i,a=n.elementType===i?a:P(i,a),r);case 3:return yg(n),null===(i=n.updateQueue)&&t("282"),a=null!==(a=n.memoizedState)?a.element:null,tf(n,i,n.pendingProps,null,r),(i=n.memoizedState.element)===a?(og(),n=tg(e,n,r)):(a=n.stateNode,(a=(null===e||null===e.child)&&a.hydrate)&&($n=He(n.stateNode.containerInfo),Yn=n,a=er=!0),a?(n.effectTag|=2,n.child=Zn(n,null,i,r)):(Q(e,n,i,r),og()),n=n.child),n;case 5:return Lf(n),null===e&&lg(n),i=n.type,a=n.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,Ce(i,a)?s=null:null!==o&&Ce(i,o)&&(n.effectTag|=16),vg(e,n),1!==r&&1&n.mode&&a.hidden?(n.expirationTime=1,n=null):(Q(e,n,s,r),n=n.child),n;case 6:return null===e&&lg(n),null;case 13:return zg(e,n,r);case 4:return Jf(n,n.stateNode.containerInfo),i=n.pendingProps,null===e?n.child=Gn(n,null,i,r):Q(e,n,i,r),n.child;case 11:return i=n.type,a=n.pendingProps,qg(e,n,i,a=n.elementType===i?a:P(i,a),r);case 7:return Q(e,n,n.pendingProps,r),n.child;case 8:case 12:return Q(e,n,n.pendingProps.children,r),n.child;case 10:e:{if(i=n.type._context,a=n.pendingProps,s=n.memoizedProps,Bf(n,o=a.value),null!==s){var u=s.value;if(0===(o=u===o&&(0!==u||1/u==1/o)||u!=u&&o!=o?0:0|("function"==typeof i._calculateChangedBits?i._calculateChangedBits(u,o):1073741823))){if(s.children===a.children&&!Mn.current){n=tg(e,n,r);break e}}else for(null!==(s=n.child)&&(s.return=n);null!==s;){if(null!==(u=s.firstContextDependency))do{if(u.context===i&&0!=(u.observedBits&o)){if(1===s.tag){var c=nf(r);c.tag=2,pf(s,c)}s.expirationTime<\/script>",p=a.removeChild(a.firstChild)):"string"==typeof f.is?p=p.createElement(a,{is:f.is}):(p=p.createElement(a),"select"===a&&f.multiple&&(p.multiple=!0)):p=p.createElementNS(l,a),(a=p)[K]=h,a[X]=u,nr(a,n,!1,!1),f=a;var d=c,v=we(p=o,h=u);switch(p){case"iframe":case"object":H("load",f),c=h;break;case"video":case"audio":for(c=0;cu&&(u=a),(c=o.childExpirationTime)>u&&(u=c),o=o.sibling;n.childExpirationTime=u}if(null!==fr)return fr;null!==r&&0==(1024&r.effectTag)&&(null===r.firstEffect&&(r.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==r.lastEffect&&(r.lastEffect.nextEffect=e.firstEffect),r.lastEffect=e.lastEffect),1=d?h=0:(-1===h||d component higher in the tree to provide a loading indicator or placeholder to display."+nc(c))}yr=!0,l=wf(l,c),s=u;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=o,qf(s,o=Vg(s,l,o));break e;case 1:if(p=l,h=s.type,f=s.stateNode,0==(64&s.effectTag)&&("function"==typeof h.getDerivedStateFromError||null!==f&&"function"==typeof f.componentDidCatch&&(null===wr||!wr.has(f)))){s.effectTag|=2048,s.expirationTime=o,qf(s,o=Xg(s,p,o));break e}}s=s.return}while(null!==s)}fr=kh(a);continue}i=!0,Wg(n)}}break}if(hr=!1,Vn=Bn=Un=cr.currentDispatcher=null,i)dr=null,e.finishedWork=null;else if(null!==fr)e.finishedWork=null;else{if(null===(i=e.current.alternate)&&t("281"),dr=null,yr){if(a=e.latestPendingTime,o=e.latestSuspendedTime,s=e.latestPingedTime,0!==a&&an?0:n)):(e.pendingCommitExpirationTime=r,e.finishedWork=i)}}function Mg(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===wr||!wr.has(r)))return pf(n,e=Xg(n,e=wf(t,e),1073741823)),void Uf(n,1073741823);break;case 3:return pf(n,e=Vg(n,e=wf(t,e),1073741823)),void Uf(n,1073741823)}n=n.return}3===e.tag&&(pf(e,n=Vg(e,n=wf(t,e),1073741823)),Uf(e,1073741823))}function Sf(e,t){return 0!==pr?e=pr:hr?e=br?1073741823:vr:1&t.mode?(e=Ar?1073741822-10*(1+((1073741822-e+15)/10|0)):1073741822-25*(1+((1073741822-e+500)/25|0)),null!==dr&&e===vr&&--e):e=1073741823,Ar&&(0===Tr||e=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),gf(n,e),0!==(n=e.expirationTime)&&sh(e,n)))}function Tg(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=th(e,t=Sf(t=Rf(),e)))&&(ff(e,t),0!==(t=e.expirationTime)&&sh(e,t))}function th(e,t){e.expirationTimevr&&jh(),ff(e,n),hr&&!br&&dr===e||sh(e,e.expirationTime),Vr>Br&&(Vr=0,t("185")))}function wh(e,t,n,r,i){var a=pr;pr=1073741823;try{return e(t,n,r,i)}finally{pr=a}}var Sr=null,Cr=null,Er=0,kr=void 0,Pr=!1,Or=null,Rr=0,Tr=0,jr=!1,Ir=null,Mr=!1,Nr=!1,Ar=!1,Lr=null,Dr=u.unstable_now(),Fr=1073741822-(Dr/10|0),Ur=Fr,Br=50,Vr=0,zr=null;function Jh(){Fr=1073741822-((u.unstable_now()-Dr)/10|0)}function Kh(e,t){if(0!==Er){if(te.expirationTime&&(e.expirationTime=t),Pr||(Mr?Nr&&(Or=e,Rr=1073741823,Ph(e,1073741823,!1)):1073741823===t?Qh(1073741823,!1):Kh(e,t))}function Oh(){var e=0,n=null;if(null!==Cr)for(var r=Cr,i=Sr;null!==i;){var a=i.expirationTime;if(0===a){if((null===r||null===Cr)&&t("244"),i===i.nextScheduledRoot){Sr=Cr=i.nextScheduledRoot=null;break}if(i===Sr)Sr=a=i.nextScheduledRoot,Cr.nextScheduledRoot=a,i.nextScheduledRoot=null;else{if(i===Cr){(Cr=r).nextScheduledRoot=Sr,i.nextScheduledRoot=null;break}r.nextScheduledRoot=i.nextScheduledRoot,i.nextScheduledRoot=null}i=r.nextScheduledRoot}else{if(a>e&&(e=a,n=i),i===Cr)break;if(1073741823===e)break;r=i,i=i.nextScheduledRoot}}Or=n,Rr=e}var Wr=!1;function nh(){return!!Wr||!!u.unstable_shouldYield()&&(Wr=!0)}function Lh(){try{if(!nh()&&null!==Sr){Jh();var e=Sr;do{var t=e.expirationTime;0!==t&&Fr<=t&&(e.nextExpirationTimeToWorkOn=Fr),e=e.nextScheduledRoot}while(e!==Sr)}Qh(0,!0)}finally{Wr=!1}}function Qh(e,t){if(Oh(),t)for(Jh(),Ur=Fr;null!==Or&&0!==Rr&&e<=Rr&&!(Wr&&Fr>Rr);)Ph(Or,Rr,Fr>Rr),Oh(),Jh(),Ur=Fr;else for(;null!==Or&&0!==Rr&&e<=Rr;)Ph(Or,Rr,!1),Oh();if(t&&(Er=0,kr=null),0!==Rr&&Kh(Or,Rr),Vr=0,zr=null,null!==Lr)for(e=Lr,Lr=null,t=0;t=r&&(null===Lr?Lr=[i]:Lr.push(i),i._defer))return e.finishedWork=n,void(e.expirationTime=0);e.finishedWork=null,e===zr?Vr++:(zr=e,Vr=0),br=hr=!0,e.current===n&&t("177"),0===(r=e.pendingCommitExpirationTime)&&t("261"),e.pendingCommitExpirationTime=0,i=n.expirationTime;var a=n.childExpirationTime;if(i=a>i?a:i,e.didError=!1,0===i?(e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0):(ii?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>i&&(e.earliestPendingTime=e.latestPendingTime)),0===(a=e.earliestSuspendedTime)?ff(e,i):ia&&ff(e,i)),gf(0,e),cr.current=null,1g&&(b=g,g=k,k=b),b=Rd(S,k),_=Rd(S,g),b&&_&&(1!==E.rangeCount||E.anchorNode!==b.node||E.anchorOffset!==b.offset||E.focusNode!==_.node||E.focusOffset!==_.offset)&&((C=C.createRange()).setStart(b.node,b.offset),E.removeAllRanges(),k>g?(E.addRange(C),E.extend(_.node,_.offset)):(C.setEnd(_.node,_.offset),E.addRange(C))))),C=[];for(E=S;E=E.parentNode;)1===E.nodeType&&C.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof S.focus&&S.focus(),S=0;SO?n:O)&&(wr=null),e.expirationTime=n,e.finishedWork=null}function Wg(e){null===Or&&t("246"),Or.expirationTime=0,jr||(jr=!0,Ir=e)}function Th(e,t){var n=Mr;Mr=!0;try{return e(t)}finally{(Mr=n)||Pr||Qh(1073741823,!1)}}function Uh(e,t){if(Mr&&!Nr){Nr=!0;try{return e(t)}finally{Nr=!1}}return e(t)}function Wh(e,t,n){if(Ar)return e(t,n);Mr||Pr||0===Tr||(Qh(Tr,!1),Tr=0);var r=Ar,i=Mr;Mr=Ar=!0;try{return e(t,n)}finally{Ar=r,(Mr=i)||Pr||Qh(1073741823,!1)}}function Xh(e,n,r,i,a){var o=n.current;e:if(r){t:{2===kd(r=r._reactInternalFiber)&&1===r.tag||t("170");var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(M(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);t("171"),s=void 0}if(1===r.tag){var u=r.type;if(M(u)){r=Qe(r,u,s);break e}}r=s}else r=jn;return null===n.context?n.context=r:n.pendingContext=r,n=a,(a=nf(i)).payload={element:e},null!==(n=void 0===n?null:n)&&(a.callback=n),Tf(),pf(o,a),Uf(o,i),i}function Yh(e,t,n,r){var i=t.current;return Xh(e,t,n,i=Sf(Rf(),i),r)}function Zh(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $h(e,t,n){var r=3=lr&&(t=lr-1),this._expirationTime=lr=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function bi(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function ci(e,t,n){e={current:t=N(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function di(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ei(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ci(e,!1,t)}function fi(e,n,r,i,a){di(r)||t("200");var o=r._reactRootContainer;if(o){if("function"==typeof a){var s=a;a=function(){var e=Zh(o._internalRoot);s.call(e)}}null!=e?o.legacy_renderSubtreeIntoContainer(e,n,a):o.render(n,a)}else{if(o=r._reactRootContainer=ei(r,i),"function"==typeof a){var u=a;a=function(){var e=Zh(o._internalRoot);u.call(e)}}Uh(function(){null!=e?o.legacy_renderSubtreeIntoContainer(e,n,a):o.render(n,a)})}return Zh(o._internalRoot)}function gi(e,n){var r=2=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Kb=Th,Lb=Wh,Mb=function(){Pr||0===Tr||(Qh(Tr,!1),Tr=0)};var qr={createPortal:gi,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternalFiber;return void 0===n&&("function"==typeof e.render?t("188"):t("268",Object.keys(e))),e=null===(e=nd(n))?null:e.stateNode},hydrate:function(e,t,n){return fi(null,e,t,!0,n)},render:function(e,t,n){return fi(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,n,r,i){return(null==e||void 0===e._reactInternalFiber)&&t("38"),fi(e,n,r,!1,i)},unmountComponentAtNode:function(e){return di(e)||t("40"),!!e._reactRootContainer&&(Uh(function(){fi(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return gi.apply(void 0,arguments)},unstable_batchedUpdates:Th,unstable_interactiveUpdates:Wh,flushSync:function(e,n){Pr&&t("187");var r=Mr;Mr=!0;try{return wh(e,n)}finally{Mr=r,Qh(1073741823,!1)}},unstable_createRoot:function hi(e,n){return di(e)||t("299","unstable_createRoot"),new ci(e,!0,null!=n&&!0===n.hydrate)},unstable_flushControlled:function(e){var t=Mr;Mr=!0;try{wh(e)}finally{(Mr=t)||Pr||Qh(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[Ja,Ka,La,W.injectEventPluginsByName,j,Ra,function(e){za(e,Qa)},Ib,Jb,Jd,Ea]}};!function(e){var t=e.findFiberByHostInstance;We(s({},e,{overrideProps:null,findHostInstanceByFiber:function(e){return null===(e=nd(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:Ia,bundleType:0,version:"16.7.0",rendererPackageName:"react-dom"});var Hr={default:qr},Kr=Hr&&qr||Hr;n.exports=Kr.default||Kr},function(e,t,n){"use strict"; /** @license React v16.7.0 * react.production.min.js * @@ -52,7 +52,7 @@ var r=n(499),i=n(500),a=n(501);function kMaxLength(){return Buffer.TYPED_ARRAY_S * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(189),i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.concurrent_mode"):60111,f=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function aa(e,t,n,r,i,a,o,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,s],c=0;(e=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}function D(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rk.length&&k.push(e)}function T(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case o:s=!0}}if(s)return n(r,e,""===t?"."+U(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;uk.length&&k.push(e)}function T(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case o:s=!0}}if(s)return n(r,e,""===t?"."+U(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=u,p()),(t=n.previous).next=n.previous=u,u.next=n,u.previous=t}}function v(){if(-1===o&&null!==r&&1===r.priorityLevel){c=!0;try{do{u()}while(null!==r&&1===r.priorityLevel)}finally{c=!1,null!==r?p():l=!1}}}function t(e){c=!0;var t=i;i=e;try{if(e)for(;null!==r;){var a=n.unstable_now();if(!(r.expirationTime<=a))break;do{u()}while(null!==r&&r.expirationTime<=a)}else if(null!==r)do{u()}while(null!==r&&!S())}finally{c=!1,i=t,null!==r?p():l=!1,v()}}var h,f,d=Date,m="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function E(e){h=g(function(t){y(f),e(t)}),f=m(function(){b(h),e(n.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var _=performance;n.unstable_now=function(){return _.now()}}else n.unstable_now=function(){return d.now()};var x,w,S,C=null;if("undefined"!=typeof window?C=window:void 0!==e&&(C=e),C&&C._schedMock){var k=C._schedMock;x=k[0],w=k[1],S=k[2],n.unstable_now=k[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var P=null,O=function(e){if(null!==P)try{P(e)}finally{P=null}};x=function(e){null!==P?setTimeout(x,0,e):(P=e,setTimeout(O,0,!1))},w=function(){P=null},S=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var R=null,T=!1,j=-1,I=!1,M=!1,N=0,A=33,L=33;S=function(){return N<=n.unstable_now()};var D=new MessageChannel,F=D.port2;D.port1.onmessage=function(){T=!1;var e=R,t=j;R=null,j=-1;var r=n.unstable_now(),i=!1;if(0>=N-r){if(!(-1!==t&&t<=r))return I||(I=!0,E(U)),R=e,void(j=t);i=!0}if(null!==e){M=!0;try{e(i)}finally{M=!1}}};var U=function(e){if(null!==R){E(U);var t=e-N+L;tt&&(t=8),L=tt?F.postMessage(void 0):I||(I=!0,E(U))},w=function(){R=null,T=!1,j=-1}}n.unstable_ImmediatePriority=1,n.unstable_UserBlockingPriority=2,n.unstable_NormalPriority=3,n.unstable_IdlePriority=5,n.unstable_LowPriority=4,n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=a,i=o;a=e,o=n.unstable_now();try{return t()}finally{a=r,o=i,v()}},n.unstable_scheduleCallback=function(e,t){var i=-1!==o?o:n.unstable_now();if("object"==typeof t&&null!==t&&"number"==typeof t.timeout)t=i+t.timeout;else switch(a){case 1:t=i+-1;break;case 2:t=i+250;break;case 5:t=i+1073741823;break;case 4:t=i+1e4;break;default:t=i+5e3}if(e={callback:e,priorityLevel:a,expirationTime:t,next:null,previous:null},null===r)r=e.next=e.previous=e,p();else{i=null;var s=r;do{if(s.expirationTime>t){i=s;break}s=s.next}while(s!==r);null===i?i=r:i===r&&(r=e,p()),(t=i.previous).next=i.previous=e,e.next=i,e.previous=t}return e},n.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},n.unstable_wrapCallback=function(e){var t=a;return function(){var r=a,i=o;a=t,o=n.unstable_now();try{return e.apply(this,arguments)}finally{a=r,o=i,v()}}},n.unstable_getCurrentPriorityLevel=function(){return a},n.unstable_shouldYield=function(){return!i&&(null!==r&&r.expirationTime-1}},function(e,t,n){var r=n(91);e.exports=function listCacheSet(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(90);e.exports=function stackClear(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function stackGet(e){return this.__data__.get(e)}},function(e,t){e.exports=function stackHas(e){return this.__data__.has(e)}},function(e,t,n){var r=n(90),i=n(137),a=n(139),o=200;e.exports=function stackSet(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&i(n[0],n[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++r0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(73),i=n(41),a=n(143),o=n(30);e.exports=function isIterateeCall(e,t,n){if(!o(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";t.byteLength=function byteLength(e){var t=getLens(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function toByteArray(e){for(var t,n=getLens(e),r=n[0],o=n[1],s=new a(_byteLength(e,r,o)),u=0,c=o>0?r-4:r,l=0;l>16&255,s[u++]=t>>8&255,s[u++]=255&t;2===o&&(t=i[e.charCodeAt(l)]<<2|i[e.charCodeAt(l+1)]>>4,s[u++]=255&t);1===o&&(t=i[e.charCodeAt(l)]<<10|i[e.charCodeAt(l+1)]<<4|i[e.charCodeAt(l+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t);return s},t.fromByteArray=function fromByteArray(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;os?s:o+16383));1===i?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function _byteLength(e,t,n){return 3*(t+n)/4-n}function encodeChunk(e,t,n){for(var i,a,o=[],s=t;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,u=(1<>1,l=-7,p=n?i-1:0,h=n?-1:1,f=e[t+p];for(p+=h,a=f&(1<<-l)-1,f>>=-l,l+=s;l>0;a=256*a+e[t+p],p+=h,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=r;l>0;o=256*o+e[t+p],p+=h,l-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),a-=c}return(f?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,u,c=8*a-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:a-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+p>=1?h/u:h*Math.pow(2,1-p))*u>=2&&(o++,u/=2),o+p>=l?(s=0,o=l):o+p>=1?(s=(t*u-1)*Math.pow(2,i),o+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[n+f]=255&s,f+=d,s/=256,i-=8);for(o=o<0;e[n+f]=255&o,f+=d,o/=256,c-=8);e[n+f-d]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var r=n(503);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(238)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(237)(!1)).push([e.i,"/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quote {\n color: #8e908c;\n}\n\n/* Tomorrow Red */\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag,\n.hljs-name,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-regexp,\n.hljs-deletion {\n color: #c82829;\n}\n\n/* Tomorrow Orange */\n.hljs-number,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-literal,\n.hljs-type,\n.hljs-params,\n.hljs-meta,\n.hljs-link {\n color: #f5871f;\n}\n\n/* Tomorrow Yellow */\n.hljs-attribute {\n color: #eab700;\n}\n\n/* Tomorrow Green */\n.hljs-string,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-addition {\n color: #718c00;\n}\n\n/* Tomorrow Blue */\n.hljs-title,\n.hljs-section {\n color: #4271ae;\n}\n\n/* Tomorrow Purple */\n.hljs-keyword,\n.hljs-selector-tag {\n color: #8959a8;\n}\n\n.hljs {\n display: block;\n overflow-x: auto;\n background: white;\n color: #4d4d4c;\n padding: 0.5em;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,a=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(i=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:r+a.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,n){var r=n(506),i=n(528),a=n(209);e.exports=function baseMatches(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(136),i=n(204),a=1,o=2;e.exports=function baseIsMatch(e,t,n,s){var u=n.length,c=u,l=!s;if(null==e)return!c;for(e=Object(e);u--;){var p=n[u];if(l&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++u-1?s[u?t[c]:c]:void 0}}},function(e,t,n){var r=n(546),i=n(145),a=n(547),o=Math.max;e.exports=function findIndex(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:a(n);return u<0&&(u=o(s+u,0)),r(e,i(t,3),u)}},function(e,t){e.exports=function baseFindIndex(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return"string"==typeof e?e:(e=_objectSpread({},e),Object.keys(e).filter(function(t){return e[t]}).map(function(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}).join(" "))},u=function(e){function Iframe(){var e,t,n,r;_classCallCheck(this,Iframe);for(var i=arguments.length,a=new Array(i),s=0;s {}",computed:!1},tags:{},name:"onBeforeUnload"},{type:{name:"func"},required:!1,description:"",defaultValue:{value:"() => {}",computed:!1},tags:{},name:"onLoad"},{type:{name:"func"},required:!1,description:"",defaultValue:{value:"() => {}",computed:!1},tags:{},name:"onUnload"},{type:{name:"union",value:[{name:"bool"},{name:"string"},{name:"shape",value:{allowForms:{name:"bool",required:!1},allowModals:{name:"bool",required:!1},allowPointerLock:{name:"bool",required:!1},allowPopups:{name:"bool",required:!1},allowSameOrigin:{name:"bool",required:!1},allowScripts:{name:"bool",required:!1},allowTopNavigation:{name:"bool",required:!1}}}]},required:!1,description:"",defaultValue:{value:"{\n allowForms: true,\n allowModals: true,\n allowPointerLock: false,\n allowPopups: true,\n allowSameOrigin: true,\n allowScripts: true,\n allowTopNavigation: false,\n}",computed:!1},tags:{},name:"sandbox"},{type:{name:"union",value:[{name:"number"},{name:"string"}]},required:!1,description:"",defaultValue:{value:"'100%'",computed:!1},tags:{},name:"width"}],doclets:{},tags:{example:[{title:"example",description:"../examples/Iframe.md"}]},example:n(553),examples:[]}},function(e,t,n){var r={"resize-observer-polyfill":n(554),react:n(1)},i=n(555).bind(null,r),a=n(556).bind(null,"var React = require('react');",i);e.exports=[{type:"markdown",content:"### Fixed Iframe Height"},{type:"code",content:"",settings:{},evalInContext:a},{type:"markdown",content:"### Resize Iframe to Fit Content (Same Domain Only)"},{type:"code",content:"const ResizeObserver = require('resize-observer-polyfill').default;\n\n {\n if (!(iframe && iframe.contentDocument)) {\n return;\n }\n\n const target = iframe.contentDocument.body;\n const nextHeight = target.offsetHeight;\n iframe.style.height = `${nextHeight}px`;\n\n const observer = new ResizeObserver(entries => {\n const target = iframe.contentDocument.body;\n const nextHeight = target.offsetHeight;\n iframe.style.height = `${nextHeight}px`;\n });\n observer.observe(target);\n }}\n/>",settings:{},evalInContext:a}]},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function getIndex(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(e){var t=getIndex(this.__entries__,e),n=this.__entries__[t];return n&&n[1]},class_1.prototype.set=function(e,t){var n=getIndex(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},class_1.prototype.delete=function(e){var t=this.__entries__,n=getIndex(t,e);~n&&t.splice(n,1)},class_1.prototype.has=function(e){return!!~getIndex(this.__entries__,e)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},ResizeObserverController.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;u.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),p=function(e,t){for(var n=0,r=Object.keys(t);n0},ResizeObserverSPI}(),g="undefined"!=typeof WeakMap?new WeakMap:new n,b=function(){return function ResizeObserver(e){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=l.getInstance(),n=new y(e,t,this);g.set(this,n)}}();["observe","unobserve","disconnect"].forEach(function(e){b.prototype[e]=function(){var t;return(t=g.get(this))[e].apply(t,arguments)}});var _=void 0!==i.ResizeObserver?i.ResizeObserver:b;t.default=_}.call(this,n(23))},function(e,t){e.exports=function requireInRuntime(e,t){if(!(t in e))throw new Error('require() statements can be added only by editing a Markdown example file: require("'+t+'")');return e[t]}},function(e,t){e.exports=function evalInContext(e,t,n){return new Function("require","state","setState",e+n).bind(null,t)}},function(e,t,n){"use strict";n.r(t);n(405),n(406),n(408);var r=n(74).a.createStyleSheet({body:{isolate:!1,margin:0,padding:0,minWidth:0,maxWidth:"100%",border:0}}).attach().classes.body;document.body.classList.add(r);var i=n(75),a=n.n(i),o=n(1),s=n.n(o),u=n(0),c=n.n(u),l=n(3);function EditorLoaderRenderer(e){var t=e.classes;return s.a.createElement("div",{className:t.root},"Loading…")}EditorLoaderRenderer.propTypes={classes:c.a.object.isRequired};var p=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.color,r=e.space,i=e.fontSize;return{root:{padding:[[r[1],r[2],r[1],r[1]]],fontFamily:t.base,fontSize:i.small,color:n.light,backgroundColor:n.codeBackground}}})(EditorLoaderRenderer),h=function(){function defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.slug,r=e.example,i=e.anchor,a=e.isolated,o=e.nochrome,s=e.absolute,u=e.hashPath,c=e.id,l=e.takeHash,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location,h=p.origin,f=p.pathname,d=p.hash,m=f;return l&&(d.indexOf("?")>-1?m+=d.substring(0,d.indexOf("?")):m+=d),o&&(m+="?nochrome"),i?m+="#"+n:(a||o)&&(m+="#!/"+t),u&&(c||(u=[].concat(_toConsumableArray(u),[t])),m+="#/"+u.join("/")),c&&(m+="?id="+n),void 0!==r&&(m+="/"+r),s?h+m:m}var M=function IsolateButton(e){var t=e.name,n=e.example;return e.isolated?s.a.createElement(I,{href:getUrl({anchor:!0,slug:"/"}),title:"Show all components"},s.a.createElement(R.a,null)):s.a.createElement(I,{href:getUrl({name:t,example:n,isolated:!0}),title:"Open isolated"},s.a.createElement(P.a,null))};M.propTypes={name:c.a.string.isRequired,example:c.a.number,isolated:c.a.bool};var N=M;function TabButtonRenderer(e){var t,n,r,i=e.classes,a=e.name,o=e.className,u=e.onClick,c=e.active,l=e.children,p=j()(i.button,o,(t={},n=i.isActive,r=c,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t));return s.a.createElement("button",{type:"button",name:a,className:p,onClick:u},l)}TabButtonRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string,className:c.a.string,onClick:c.a.func,active:c.a.bool,children:c.a.node};var A=Object(l.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily,i=e.fontSize,a=e.buttonTextTransform;return{button:{padding:[[t[1],0]],fontFamily:r.base,fontSize:i.base,color:n.light,background:"transparent",textTransform:a,transition:"color 750ms ease-out",border:"none",cursor:"pointer","&:hover, &:focus":{isolate:!1,outline:0,color:n.linkHover,transition:"color 150ms ease-in"},"&:focus:not($isActive)":{isolate:!1,outline:[[1,"dotted",n.linkHover]]},"& + &":{isolate:!1,marginLeft:t[1]}},isActive:{borderBottom:[[2,n.linkHover,"solid"]]}}})(TabButtonRenderer),L=function CodeTabButton(e){return s.a.createElement(A,e,"View Code")};L.propTypes={onClick:c.a.func.isRequired,name:c.a.string.isRequired,active:c.a.bool};var D=L,F=function UsageTabButton(e){var t=e.props;return!E()(t.props)||!E()(t.methods)?s.a.createElement(A,e,"Props & methods"):null};F.propTypes={onClick:c.a.func.isRequired,name:c.a.string.isRequired,props:c.a.shape({props:c.a.array,methods:c.a.array}).isRequired,active:c.a.bool};var U=F,B="rsg-code-editor",V="rsg-usage",z=function(){var e=[N];return{sectionToolbar:e,componentToolbar:e,exampleToolbar:e,exampleTabButtons:[{id:B,render:D}],exampleTabs:[{id:B,render:f}],docsTabButtons:[{id:V,render:U}],docsTabs:[{id:V,render:Usage}]}},W=n(105),q=n(227),H=n.n(q),K="#/",J=/(.*)\?/;function trimHash(e,t){if(!e)return"";var n=new RegExp("^"+H()(t||K),"g");return e.replace(n,"")}var X=function trimParams(e){var t=J.exec(e);return t&&t[1]||e},Q=function hasInHash(e,t){return""!==e&&e.indexOf(t)>-1},G=function getHash(e,t){return decodeURIComponent(X(trimHash(e,t)))},Z=function getHashAsArray(e,t){return G(e,t).split("/")},Y=function getParameterByName(e,t){t=t.replace(/[[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null};function ComponentsListRenderer(e){var t=e.classes,n=e.items;if(!(n=n.filter(function(e){return e.visibleName})).length)return null;var r=window.location.pathname+G(window.location.hash);return s.a.createElement("ul",{className:t.list},n.map(function(e){var n=e.heading,i=e.visibleName,a=e.href,o=e.content,u=e.external,c=Q(r,a);return s.a.createElement("li",{className:j()(t.item,(!o||!o.props.items.length)&&t.isChild,c&&t.isSelected),key:a},s.a.createElement(W.a,{className:j()(n&&t.heading),href:a,target:u?"_blank":void 0},i),o)}))}ComponentsListRenderer.propTypes={items:c.a.array.isRequired,classes:c.a.object.isRequired};var $=Object(l.a)(function styles(e){var t,n,r,i=e.color,a=e.fontFamily,o=e.fontSize,s=e.space,u=e.mq;return{list:{margin:0,paddingLeft:s[2]},item:{color:i.base,display:"block",margin:[[s[1],0,s[1],0]],fontFamily:a.base,fontSize:o.base,listStyle:"none",overflow:"hidden",textOverflow:"ellipsis"},isChild:(t={},n=u.small,r={display:"inline-block",margin:[[0,s[1],0,0]]},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t),heading:{color:i.base,marginTop:s[1],fontFamily:a.base,fontWeight:"bold"},isSelected:{fontWeight:"bold"}}})(ComponentsListRenderer),ee=Object.assign||function(e){for(var t=1;t0||e.sections.length>0||n.test(e.name)})}var ie=function(){function defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e.map(function(e){var a=[].concat(TableOfContents_toConsumableArray(e.sections||[]),TableOfContents_toConsumableArray(e.components||[])),o=e.sectionDepth||0,s=0===o&&i?r:[].concat(TableOfContents_toConsumableArray(r),[e.name]);return Object.assign({},e,{heading:!!e.name&&a.length>0,content:a.length>0&&n.renderLevel(a,t,s,0===o)})});return s.a.createElement(te,{items:a,hashPath:r,useHashId:i,useRouterLinks:t})}},{key:"renderSections",value:function renderSections(){var e=this.state.searchTerm,t=this.props,n=t.sections,r=t.useRouterLinks,i=filterSectionsByName(1===n.length?n[0].components:n,e);return this.renderLevel(i,r)}},{key:"render",value:function render(){var e=this,t=this.state.searchTerm;return s.a.createElement(ne,{searchTerm:t,onSearchTermChange:function onSearchTermChange(t){return e.setState({searchTerm:t})}},this.renderSections())}}]),TableOfContents}();ae.propTypes={sections:c.a.array.isRequired,useRouterLinks:c.a.bool};var oe=ae;function LogoRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("h1",{className:t.logo},n)}LogoRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var se=Object(l.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{logo:{color:t.base,margin:0,fontFamily:n.base,fontSize:r.h4,fontWeight:"normal"}}})(LogoRenderer);function RibbonRenderer(e){var t=e.classes,n=e.url,r=e.text;return s.a.createElement("div",{className:t.root},s.a.createElement("a",{href:n,className:t.link},r))}RibbonRenderer.defaultProps={text:"Fork me on GitHub"},RibbonRenderer.propTypes={classes:c.a.object.isRequired,url:c.a.string.isRequired,text:c.a.string};var ue=Object(l.a)(function styles(e){var t=e.color,n=e.space,r=e.fontSize;return{root:{position:"fixed",top:0,right:0,width:149,height:149,zIndex:999},link:{fontFamily:e.fontFamily.base,position:"relative",right:-37,top:-22,display:"block",width:190,padding:[[n[0],n[2]]],textAlign:"center",color:t.ribbonText,fontSize:r.base,background:t.ribbonBackground,textDecoration:"none",textShadow:[[0,"-1px",0,"rgba(0,0,0,.15)"]],transformOrigin:[[0,0]],transform:"rotate(45deg)",cursor:"pointer"}}})(RibbonRenderer);function Ribbon(e,t){var n=t.config.ribbon;return n?s.a.createElement(ue,n):null}Ribbon.contextTypes={config:c.a.object};function VersionRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("p",{"aria-label":"version",className:t.version},n)}VersionRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var ce=Object(l.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{version:{color:t.light,margin:[[5,0,0,0]],fontFamily:n.base,fontSize:r.base,fontWeight:"normal"}}})(VersionRenderer);function StyleGuideRenderer_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function StyleGuideRenderer(e){var t=e.classes,n=e.title,r=e.version,i=e.homepageUrl,a=e.children,o=e.toc,u=e.hasSidebar;return s.a.createElement("div",{className:j()(t.root,u&&t.hasSidebar)},s.a.createElement("main",{className:t.content},a,s.a.createElement("footer",{className:t.footer},s.a.createElement(m.a,{text:"Generated with [React Styleguidist]("+i+")"}))),u&&s.a.createElement("div",{className:t.sidebar},s.a.createElement("div",{className:t.logo},s.a.createElement(se,null,n),r&&s.a.createElement(ce,null,r)),o),s.a.createElement(Ribbon,null))}StyleGuideRenderer.propTypes={classes:c.a.object.isRequired,title:c.a.string.isRequired,version:c.a.string,homepageUrl:c.a.string.isRequired,children:c.a.node.isRequired,toc:c.a.node.isRequired,hasSidebar:c.a.bool};var le=Object(l.a)(function styles(e){var t,n=e.color,r=e.fontFamily,i=e.fontSize,a=e.sidebarWidth,o=e.mq,s=e.space,u=e.maxWidth;return{root:{minHeight:"100vh",backgroundColor:n.baseBackground},hasSidebar:StyleGuideRenderer_defineProperty({paddingLeft:a},o.small,{paddingLeft:0}),content:(t={maxWidth:u,padding:[[s[2],s[4]]],margin:[[0,"auto"]]},StyleGuideRenderer_defineProperty(t,o.small,{padding:s[2]}),StyleGuideRenderer_defineProperty(t,"display","block"),t),sidebar:StyleGuideRenderer_defineProperty({backgroundColor:n.sidebarBackground,border:[[n.border,"solid"]],borderWidth:[[0,1,0,0]],position:"fixed",top:0,left:0,bottom:0,width:a,overflow:"auto",WebkitOverflowScrolling:"touch"},o.small,{position:"static",width:"auto",borderWidth:[[1,0,0,0]],paddingBottom:s[0]}),logo:{padding:s[2],borderBottom:[[1,n.border,"solid"]]},footer:{display:"block",color:n.light,fontFamily:r.base,fontSize:i.small}}})(StyleGuideRenderer);function componentWillMount(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function componentWillReceiveProps(e){this.setState(function updater(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function componentWillUpdate(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}componentWillMount.__suppressDeprecationWarning=!0,componentWillReceiveProps.__suppressDeprecationWarning=!0,componentWillUpdate.__suppressDeprecationWarning=!0;var pe=n(213),he=n.n(pe);function PlaygroundErrorRenderer(e){var t=e.classes,n=e.message;return s.a.createElement("pre",{className:t.root},n)}PlaygroundErrorRenderer.propTypes={classes:c.a.object.isRequired,message:c.a.string.isRequired};var fe=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{root:{margin:0,lineHeight:1.2,fontSize:n.small,fontFamily:t.monospace,color:r.error,whiteSpace:"pre-wrap"}}})(PlaygroundErrorRenderer),de=n(228),me=function(){function defineProperties(e,t){for(var n=0;ne)return!1;if((n+=t[r+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&Ce.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,ke)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&Ee.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,ke)||isInAstralSet(e,Pe)))))}var Oe=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function binop(e,t){return new Oe(e,{beforeExpr:!0,binop:t})}var Re={beforeExpr:!0},Te={startsExpr:!0},je={};function kw(e,t){return void 0===t&&(t={}),t.keyword=e,je[e]=new Oe(e,t)}var Ie={num:new Oe("num",Te),regexp:new Oe("regexp",Te),string:new Oe("string",Te),name:new Oe("name",Te),eof:new Oe("eof"),bracketL:new Oe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Oe("]"),braceL:new Oe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Oe("}"),parenL:new Oe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Oe(")"),comma:new Oe(",",Re),semi:new Oe(";",Re),colon:new Oe(":",Re),dot:new Oe("."),question:new Oe("?",Re),arrow:new Oe("=>",Re),template:new Oe("template"),invalidTemplate:new Oe("invalidTemplate"),ellipsis:new Oe("...",Re),backQuote:new Oe("`",Te),dollarBraceL:new Oe("${",{beforeExpr:!0,startsExpr:!0}),eq:new Oe("=",{beforeExpr:!0,isAssign:!0}),assign:new Oe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Oe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Oe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Oe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Oe("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",Re),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Re),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",Re),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Re),_switch:kw("switch"),_throw:kw("throw",Re),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Re),_export:kw("export"),_import:kw("import"),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Me=/\r\n?|\n|\u2028|\u2029/,Ne=new RegExp(Me.source,"g");function isNewLine(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var Ae=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Le=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,De=Object.prototype,Fe=De.hasOwnProperty,Ue=De.toString;function has(e,t){return Fe.call(e,t)}var Be=Array.isArray||function(e){return"[object Array]"===Ue.call(e)},Ve=function Position(e,t){this.line=e,this.column=t};Ve.prototype.offset=function offset(e){return new Ve(this.line,this.column+e)};var ze=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function getLineInfo(e,t){for(var n=1,r=0;;){Ne.lastIndex=r;var i=Ne.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),Be(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return Be(t.onComment)&&(t.onComment=pushComment(t,t.onComment)),t}function pushComment(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new ze(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}var qe={};function keywordRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var He=function Parser(e,t,n){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(_e[e.ecmaVersion>=6?6:5]);var r="";if(!e.allowReserved){for(var i=e.ecmaVersion;!(r=ge[i]);i--);"module"===e.sourceType&&(r+=" await")}this.reservedWords=keywordRegexp(r);var a=(r?r+" ":"")+ge.strict;this.reservedWordsStrict=keywordRegexp(a),this.reservedWordsStrictBind=keywordRegexp(a+" "+ge.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Me).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=Ie.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null};He.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},He.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},He.prototype.extend=function extend(e,t){this[e]=t(this[e])},He.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=qe[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},He.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var Ke=He.prototype,Je=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Ke.strictDirective=function(e){for(;;){Le.lastIndex=e,e+=Le.exec(this.input)[0].length;var t=Je.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},Ke.eat=function(e){return this.type===e&&(this.next(),!0)},Ke.isContextual=function(e){return this.type===Ie.name&&this.value===e&&!this.containsEsc},Ke.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Ke.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Ke.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Me.test(this.input.slice(this.lastTokEnd,this.start))},Ke.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ke.semicolon=function(){this.eat(Ie.semi)||this.insertSemicolon()||this.unexpected()},Ke.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Ke.expect=function(e){this.eat(e)||this.unexpected()},Ke.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},Ke.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},Ke.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},Ke.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var Qe={kind:"loop"},Ge={kind:"switch"};Xe.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Le.lastIndex=this.pos;var e=Le.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(isIdentifierStart(n,!0)){for(var r=t+1;isIdentifierChar(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!xe.test(i))return!0}return!1},Xe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Le.lastIndex=this.pos;var e=Le.exec(this.input),t=this.pos+e[0].length;return!(Me.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&isIdentifierChar(this.input.charAt(t+8)))},Xe.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=Ie._var,r="let"),i){case Ie._break:case Ie._continue:return this.parseBreakContinueStatement(a,i.keyword);case Ie._debugger:return this.parseDebuggerStatement(a);case Ie._do:return this.parseDoStatement(a);case Ie._for:return this.parseForStatement(a);case Ie._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case Ie._class:return e||this.unexpected(),this.parseClass(a,!0);case Ie._if:return this.parseIfStatement(a);case Ie._return:return this.parseReturnStatement(a);case Ie._switch:return this.parseSwitchStatement(a);case Ie._throw:return this.parseThrowStatement(a);case Ie._try:return this.parseTryStatement(a);case Ie._const:case Ie._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(a,r);case Ie._while:return this.parseWhileStatement(a);case Ie._with:return this.parseWithStatement(a);case Ie.braceL:return this.parseBlock();case Ie.semi:return this.parseEmptyStatement(a);case Ie._export:case Ie._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===Ie._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===Ie.name&&"Identifier"===s.type&&this.eat(Ie.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},Xe.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(Ie.semi)||this.insertSemicolon()?e.label=null:this.type!==Ie.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(Ie.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Xe.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Qe),this.enterLexicalScope(),this.expect(Ie.parenL),this.type===Ie.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===Ie._var||this.type===Ie._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===Ie._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new DestructuringErrors,o=this.parseExpression(!0,a);return this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===Ie._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},Xe.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},Xe.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===Ie._function),e.alternate=this.eat(Ie._else)?this.parseStatement(!this.strict&&this.type===Ie._function):null,this.finishNode(e,"IfStatement")},Xe.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(Ie.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Xe.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(Ie.braceL),this.labels.push(Ge),this.enterLexicalScope();for(var n=!1;this.type!==Ie.braceR;)if(this.type===Ie._case||this.type===Ie._default){var r=this.type===Ie._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(Ie.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Xe.parseThrowStatement=function(e){return this.next(),Me.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Ze=[];Xe.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===Ie._catch){var t=this.startNode();this.next(),this.eat(Ie.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(Ie.parenR)):(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterLexicalScope()),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(Ie._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Xe.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Xe.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Qe),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},Xe.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},Xe.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Xe.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"===e.body.type||"VariableDeclaration"===e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"===e.body.type&&(this.strict||e.body.generator||e.body.async))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},Xe.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Xe.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(Ie.braceL),e&&this.enterLexicalScope();!this.eat(Ie.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},Xe.parseFor=function(e,t){return e.init=t,this.expect(Ie.semi),e.test=this.type===Ie.semi?null:this.parseExpression(),this.expect(Ie.semi),e.update=this.type===Ie.parenR?null:this.parseExpression(),this.expect(Ie.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},Xe.parseForIn=function(e,t){var n=this.type===Ie._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(Ie.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},Xe.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(Ie.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===Ie._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(Ie.comma))break}return e},Xe.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},Xe.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(Ie.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==Ie.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type===Ie.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},Xe.parseFunctionParams=function(e){this.expect(Ie.parenL),e.params=this.parseBindingList(Ie.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Xe.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(Ie.braceL);!this.eat(Ie.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Xe.parseClassMember=function(e){var t=this;if(this.eat(Ie.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===Ie.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(Ie.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(Ie.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},Xe.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},Xe.parseClassId=function(e,t){e.id=this.type===Ie.name?this.parseIdent():!0===t?this.unexpected():null},Xe.parseClassSuper=function(e){e.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null},Xe.parseExport=function(e,t){if(this.next(),this.eat(Ie.star))return this.expectContextual("from"),this.type!==Ie.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(Ie._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===Ie._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===Ie._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==Ie.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},$e.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===Ie.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(Ie.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},$e.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new DestructuringErrors,r=!0);var o=this.start,s=this.startLoc;this.type!==Ie.parenL&&this.type!==Ie.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var c=this.startNodeAt(o,s);return c.operator=this.value,c.left=this.type===Ie.eq?this.toAssignable(u,!1,t):u,r||DestructuringErrors.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},$e.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(Ie.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(Ie.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},$e.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},$e.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==Ie._in)&&a>r){var o=this.type===Ie.logicalOR||this.type===Ie.logicalAND,s=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,a,i),p=this.buildBinary(t,n,e,l,s,o);return this.parseExprOp(p,t,n,r,i)}return e},$e.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},$e.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===Ie.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(Ie.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},$e.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},$e.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(Ie.bracketL))||this.eat(Ie.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(Ie.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(Ie.parenL)){var s=new DestructuringErrors,u=this.yieldPos,c=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var l=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(Ie.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=c,this.parseArrowExpression(this.startNodeAt(t,n),l,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=c||this.awaitPos;var p=this.startNodeAt(t,n);p.callee=e,p.arguments=l,e=this.finishNode(p,"CallExpression")}else{if(this.type!==Ie.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},$e.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL&&this.unexpected(),this.finishNode(t,"Super");case Ie._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case Ie.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==Ie.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(Ie._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===Ie.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(Ie.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case Ie.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:return(t=this.startNode()).value=this.type===Ie._null?null:this.type===Ie._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case Ie.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case Ie.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(Ie.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case Ie.braceL:return this.parseObj(!1,e);case Ie._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case Ie._class:return this.parseClass(this.startNode(),!1);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();default:this.unexpected()}},$e.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},$e.parseParenExpression=function(){this.expect(Ie.parenL);var e=this.parseExpression();return this.expect(Ie.parenR),e},$e.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],c=!0,l=!1,p=new DestructuringErrors,h=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==Ie.parenR;){if(c?c=!1:this.expect(Ie.comma),i&&this.afterTrailingComma(Ie.parenR,!0)){l=!0;break}if(this.type===Ie.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===Ie.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(Ie.parenR),e&&!this.canInsertSemicolon()&&this.eat(Ie.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},$e.parseParenItem=function(e){return e},$e.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var et=[];$e.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(Ie.parenL)?e.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,!1):e.arguments=et,this.finishNode(e,"NewExpression")},$e.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===Ie.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===Ie.backQuote,this.finishNode(n,"TemplateElement")},$e.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===Ie.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(Ie.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(Ie.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},$e.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Me.test(this.input.slice(this.lastTokEnd,this.start))},$e.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(Ie.braceR);){if(r)r=!1;else if(this.expect(Ie.comma),this.afterTrailingComma(Ie.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},$e.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===Ie.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===Ie.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===Ie.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(Ie.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(Ie.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},$e.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===Ie.colon&&this.unexpected(),this.eat(Ie.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===Ie.comma||this.type===Ie.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===Ie.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},$e.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(Ie.bracketR),e.key;e.computed=!1}return e.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(!0)},$e.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},$e.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(Ie.parenL),n.params=this.parseBindingList(Ie.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},$e.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},$e.parseFunctionBody=function(e,t){var n=t&&this.type!==Ie.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},$e.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ut.updateContext=function(e){var t,n=this.type;n.keyword&&e===Ie.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===st.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},Ie.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?st.b_stat:st.b_expr),this.exprAllowed=!0},Ie.dollarBraceL.updateContext=function(){this.context.push(st.b_tmpl),this.exprAllowed=!0},Ie.parenL.updateContext=function(e){var t=e===Ie._if||e===Ie._for||e===Ie._with||e===Ie._while;this.context.push(t?st.p_stat:st.p_expr),this.exprAllowed=!0},Ie.incDec.updateContext=function(){},Ie._function.updateContext=Ie._class.updateContext=function(e){e.beforeExpr&&e!==Ie.semi&&e!==Ie._else&&(e!==Ie.colon&&e!==Ie.braceL||this.curContext()!==st.b_stat)?this.context.push(st.f_expr):this.context.push(st.f_stat),this.exprAllowed=!1},Ie.backQuote.updateContext=function(){this.curContext()===st.q_tmpl?this.context.pop():this.context.push(st.q_tmpl),this.exprAllowed=!1},Ie.star.updateContext=function(e){if(e===Ie._function){var t=this.context.length-1;this.context[t]===st.f_expr?this.context[t]=st.f_expr_gen:this.context[t]=st.f_gen}this.exprAllowed=!0},Ie.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==Ie.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ct={$LONE:["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"],General_Category:["Cased_Letter","LC","Close_Punctuation","Pe","Connector_Punctuation","Pc","Control","Cc","cntrl","Currency_Symbol","Sc","Dash_Punctuation","Pd","Decimal_Number","Nd","digit","Enclosing_Mark","Me","Final_Punctuation","Pf","Format","Cf","Initial_Punctuation","Pi","Letter","L","Letter_Number","Nl","Line_Separator","Zl","Lowercase_Letter","Ll","Mark","M","Combining_Mark","Math_Symbol","Sm","Modifier_Letter","Lm","Modifier_Symbol","Sk","Nonspacing_Mark","Mn","Number","N","Open_Punctuation","Ps","Other","C","Other_Letter","Lo","Other_Number","No","Other_Punctuation","Po","Other_Symbol","So","Paragraph_Separator","Zp","Private_Use","Co","Punctuation","P","punct","Separator","Z","Space_Separator","Zs","Spacing_Mark","Mc","Surrogate","Cs","Symbol","S","Titlecase_Letter","Lt","Unassigned","Cn","Uppercase_Letter","Lu"],Script:["Adlam","Adlm","Ahom","Anatolian_Hieroglyphs","Hluw","Arabic","Arab","Armenian","Armn","Avestan","Avst","Balinese","Bali","Bamum","Bamu","Bassa_Vah","Bass","Batak","Batk","Bengali","Beng","Bhaiksuki","Bhks","Bopomofo","Bopo","Brahmi","Brah","Braille","Brai","Buginese","Bugi","Buhid","Buhd","Canadian_Aboriginal","Cans","Carian","Cari","Caucasian_Albanian","Aghb","Chakma","Cakm","Cham","Cherokee","Cher","Common","Zyyy","Coptic","Copt","Qaac","Cuneiform","Xsux","Cypriot","Cprt","Cyrillic","Cyrl","Deseret","Dsrt","Devanagari","Deva","Duployan","Dupl","Egyptian_Hieroglyphs","Egyp","Elbasan","Elba","Ethiopic","Ethi","Georgian","Geor","Glagolitic","Glag","Gothic","Goth","Grantha","Gran","Greek","Grek","Gujarati","Gujr","Gurmukhi","Guru","Han","Hani","Hangul","Hang","Hanunoo","Hano","Hatran","Hatr","Hebrew","Hebr","Hiragana","Hira","Imperial_Aramaic","Armi","Inherited","Zinh","Qaai","Inscriptional_Pahlavi","Phli","Inscriptional_Parthian","Prti","Javanese","Java","Kaithi","Kthi","Kannada","Knda","Katakana","Kana","Kayah_Li","Kali","Kharoshthi","Khar","Khmer","Khmr","Khojki","Khoj","Khudawadi","Sind","Lao","Laoo","Latin","Latn","Lepcha","Lepc","Limbu","Limb","Linear_A","Lina","Linear_B","Linb","Lisu","Lycian","Lyci","Lydian","Lydi","Mahajani","Mahj","Malayalam","Mlym","Mandaic","Mand","Manichaean","Mani","Marchen","Marc","Masaram_Gondi","Gonm","Meetei_Mayek","Mtei","Mende_Kikakui","Mend","Meroitic_Cursive","Merc","Meroitic_Hieroglyphs","Mero","Miao","Plrd","Modi","Mongolian","Mong","Mro","Mroo","Multani","Mult","Myanmar","Mymr","Nabataean","Nbat","New_Tai_Lue","Talu","Newa","Nko","Nkoo","Nushu","Nshu","Ogham","Ogam","Ol_Chiki","Olck","Old_Hungarian","Hung","Old_Italic","Ital","Old_North_Arabian","Narb","Old_Permic","Perm","Old_Persian","Xpeo","Old_South_Arabian","Sarb","Old_Turkic","Orkh","Oriya","Orya","Osage","Osge","Osmanya","Osma","Pahawh_Hmong","Hmng","Palmyrene","Palm","Pau_Cin_Hau","Pauc","Phags_Pa","Phag","Phoenician","Phnx","Psalter_Pahlavi","Phlp","Rejang","Rjng","Runic","Runr","Samaritan","Samr","Saurashtra","Saur","Sharada","Shrd","Shavian","Shaw","Siddham","Sidd","SignWriting","Sgnw","Sinhala","Sinh","Sora_Sompeng","Sora","Soyombo","Soyo","Sundanese","Sund","Syloti_Nagri","Sylo","Syriac","Syrc","Tagalog","Tglg","Tagbanwa","Tagb","Tai_Le","Tale","Tai_Tham","Lana","Tai_Viet","Tavt","Takri","Takr","Tamil","Taml","Tangut","Tang","Telugu","Telu","Thaana","Thaa","Thai","Tibetan","Tibt","Tifinagh","Tfng","Tirhuta","Tirh","Ugaritic","Ugar","Vai","Vaii","Warang_Citi","Wara","Yi","Yiii","Zanabazar_Square","Zanb"]};Array.prototype.push.apply(ct.$LONE,ct.General_Category),ct.gc=ct.General_Category,ct.sc=ct.Script_Extensions=ct.scx=ct.Script;var lt=He.prototype,pt=function RegExpValidationState(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function isSyntaxCharacter(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||36===e||95===e}function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||36===e||95===e||8204===e||8205===e}function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}function isCharacterClassEscape(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||95===e}function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}function isDecimalDigit(e){return e>=48&&e<=57}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function isOctalDigit(e){return e>=48&&e<=55}pt.prototype.reset=function reset(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},pt.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},pt.prototype.at=function at(e){var t=this.source,n=t.length;if(e>=n)return-1;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?r:(r<<10)+t.charCodeAt(e+1)-56613888},pt.prototype.nextIndex=function nextIndex(e){var t=this.source,n=t.length;if(e>=n)return n;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?e+1:e+2},pt.prototype.current=function current(){return this.at(this.pos)},pt.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},pt.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},pt.prototype.eat=function eat(e){return this.current()===e&&(this.advance(),!0)},lt.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},lt.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},lt.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},lt.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},lt.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},lt.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},lt.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},lt.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},lt.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!isSyntaxCharacter(t)&&(e.lastIntValue=t,e.advance(),!0)},lt.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!isSyntaxCharacter(n);)e.advance();return e.pos!==t},lt.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},lt.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},lt.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},lt.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString$1(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString$1(e.lastIntValue);return!0}return!1},lt.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierStart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},lt.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierPart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},lt.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},lt.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},lt.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},lt.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},lt.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},lt.regexp_eatZero=function(e){return 48===e.current()&&!isDecimalDigit(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},lt.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},lt.regexp_eatControlLetter=function(e){var t=e.current();return!!isControlLetter(t)&&(e.lastIntValue=t%32,e.advance(),!0)},lt.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,n=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((t=e.lastIntValue)>=0&&t<=1114111))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=n}return!1},lt.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},lt.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},lt.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},lt.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},lt.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){ct.hasOwnProperty(t)&&-1!==ct[t].indexOf(n)||e.raise("Invalid property name")},lt.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===ct.$LONE.indexOf(t)&&e.raise("Invalid property name")},lt.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},lt.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},lt.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},lt.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},lt.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},lt.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||isOctalDigit(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},lt.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},lt.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!isDecimalDigit(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},lt.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},lt.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isDecimalDigit(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},lt.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isHexDigit(n=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(n),e.advance();return e.pos!==t},lt.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},lt.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},lt.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}ft.next=function(){this.options.onToken&&this.options.onToken(new ht(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ft.getToken=function(){return this.next(),new ht(this)},"undefined"!=typeof Symbol&&(ft[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===Ie.eof,value:t}}}}),ft.curContext=function(){return this.context[this.context.length-1]},ft.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(Ie.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},ft.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},ft.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},ft.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(Ne.lastIndex=n;(e=Ne.exec(this.input))&&e.index8&&e<14||e>=5760&&Ae.test(String.fromCharCode(e))))break e;++this.pos}}},ft.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},ft.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(Ie.ellipsis)):(++this.pos,this.finishToken(Ie.dot))},ft.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(Ie.assign,2):this.finishOp(Ie.slash,1)},ft.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?Ie.star:Ie.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=Ie.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(Ie.assign,n+1):this.finishOp(r,n)},ft.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?Ie.logicalOR:Ie.logicalAND,2):61===t?this.finishOp(Ie.assign,2):this.finishOp(124===e?Ie.bitwiseOR:Ie.bitwiseAND,1)},ft.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(Ie.assign,2):this.finishOp(Ie.bitwiseXOR,1)},ft.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!Me.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(Ie.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(Ie.assign,2):this.finishOp(Ie.plusMin,1)},ft.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(Ie.assign,n+1):this.finishOp(Ie.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(Ie.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},ft.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(Ie.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(Ie.arrow)):this.finishOp(61===e?Ie.eq:Ie.prefix,1)},ft.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(Ie.parenL);case 41:return++this.pos,this.finishToken(Ie.parenR);case 59:return++this.pos,this.finishToken(Ie.semi);case 44:return++this.pos,this.finishToken(Ie.comma);case 91:return++this.pos,this.finishToken(Ie.bracketL);case 93:return++this.pos,this.finishToken(Ie.bracketR);case 123:return++this.pos,this.finishToken(Ie.braceL);case 125:return++this.pos,this.finishToken(Ie.braceR);case 58:return++this.pos,this.finishToken(Ie.colon);case 63:return++this.pos,this.finishToken(Ie.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(Ie.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(Ie.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},ft.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},ft.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(Me.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new pt(this));s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,o)}catch(e){}return this.finishToken(Ie.regexp,{pattern:i,flags:o,value:u})},ft.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},ft.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(Ie.num,t)},ft.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(Ie.num,a)},ft.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},ft.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(Ie.string,t)};var dt={};ft.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==dt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},ft.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw dt;this.raise(e,t)},ft.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==Ie.template&&this.type!==Ie.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(Ie.template,e)):36===n?(this.pos+=2,this.finishToken(Ie.dollarBraceL)):(++this.pos,this.finishToken(Ie.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},ft.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},ft.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},ft.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos"+e+";"},wt=function(e){function StateHolder(){var e,t,n;ReactExample_classCallCheck(this,StateHolder);for(var r=arguments.length,i=Array(r),a=0;a0&&console.clear(),this.executeCode()}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(e,t){return this.state.error!==t.error||this.props.code!==e.code}},{key:"componentDidUpdate",value:function componentDidUpdate(e){this.props.code!==e.code&&this.executeCode()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.unmountPreview()}},{key:"unmountPreview",value:function unmountPreview(){this.mountNode&&a.a.unmountComponentAtNode(this.mountNode)}},{key:"executeCode",value:function executeCode(){var e=this;this.setState({error:null});var t=this.props.code;if(t){var n=s.a.createElement(Ct,{code:t,evalInContext:this.props.evalInContext,onError:this.handleError,compilerConfig:this.context.config.compilerConfig});window.requestAnimationFrame(function(){e.unmountPreview();try{a.a.render(n,e.mountNode)}catch(t){e.handleError(t)}})}}},{key:"render",value:function render(){var e=this,t=this.state.error;return s.a.createElement(kt,null,s.a.createElement("div",{ref:function ref(t){return e.mountNode=t}}),t&&s.a.createElement(fe,{message:t}))}}]),Preview}();Pt.propTypes={code:c.a.string.isRequired,evalInContext:c.a.func.isRequired},Pt.contextTypes={config:c.a.object.isRequired,codeRevision:c.a.number.isRequired};var Ot=Pt,Rt=n(65),Tt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function PlaygroundRenderer(e){var t=e.classes,n=e.name,r=e.preview,i=e.previewProps,a=e.tabButtons,o=e.tabBody,u=e.toolbar,c=i.className,l=_objectWithoutProperties(i,["className"]);return s.a.createElement("div",{className:t.root},s.a.createElement("div",jt({className:j()(t.preview,c)},l,{"data-preview":n}),r),s.a.createElement("div",{className:t.controls},s.a.createElement("div",{className:t.tabs},a),s.a.createElement("div",{className:t.toolbar},u)),s.a.createElement("div",{className:t.tab},o))}PlaygroundRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string.isRequired,preview:c.a.node.isRequired,previewProps:c.a.object.isRequired,tabButtons:c.a.node.isRequired,tabBody:c.a.node.isRequired,toolbar:c.a.node.isRequired};var It=Object(l.a)(function styles(e){var t=e.space,n=e.color,r=e.borderRadius;return{root:{marginBottom:t[4]},preview:{padding:t[2],border:[[1,n.border,"solid"]],borderRadius:r,width:"100%",display:"inline-block"},controls:{display:"flex",alignItems:"center"},toolbar:{marginLeft:"auto"},tab:{}}})(PlaygroundRenderer),Mt=Object.freeze({all:"all",section:"section",component:"component",example:"example",notFound:"notFound"}),Nt=Object.freeze({hide:"hide",collapse:"collapse",expand:"expand"}),At=Object.freeze({hide:"hide",collapse:"collapse",expand:"expand"}),Lt=function(){function defineProperties(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function SectionHeading(e){var t=e.slotName,n=e.slotProps,r=e.children,i=e.id,a=e.pagePerSection,o=SectionHeading_objectWithoutProperties(e,["slotName","slotProps","children","id","pagePerSection"]),u=getUrl(a?{slug:i,id:1!==o.depth,takeHash:!0}:{slug:i,anchor:!0});return s.a.createElement(Vt,zt({toolbar:s.a.createElement(Slot,{name:t,props:n}),id:i,href:u},o),r)}SectionHeading.propTypes={children:c.a.node,id:c.a.string.isRequired,slotName:c.a.string.isRequired,slotProps:c.a.object.isRequired,depth:c.a.number.isRequired,deprecated:c.a.bool,pagePerSection:c.a.bool};var Wt=n(232),qt=n.n(Wt),Ht=n(233),Kt=n.n(Ht);function PathlineRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("div",{className:t.pathline},n,s.a.createElement(I,{small:!0,className:t.copyButton,onClick:function onClick(){return qt()(n)},title:"Copy to clipboard"},s.a.createElement(Kt.a,null)))}PathlineRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.string};var Jt=Object(l.a)(function styles(e){var t=e.space,n=e.fontFamily,r=e.fontSize,i=e.color;return{pathline:{fontFamily:n.monospace,fontSize:r.small,color:i.light,wordBreak:"break-all"},copyButton:{marginLeft:t[0]}}})(PathlineRenderer);function ReactComponentRenderer(e){var t=e.classes,n=e.name,r=e.heading,i=e.pathLine,a=e.description,o=e.docs,u=e.examples,c=e.tabButtons,l=e.tabBody;return s.a.createElement("div",{className:t.root,id:n+"-container"},s.a.createElement("header",{className:t.header},r,i&&s.a.createElement(Jt,null,i)),(a||o)&&s.a.createElement("div",{className:t.docs},a,o),c&&s.a.createElement("div",{className:t.tabs},s.a.createElement("div",{className:t.tabButtons},c),s.a.createElement("div",{className:t.tabBody},l)),u)}ReactComponentRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string.isRequired,heading:c.a.node.isRequired,filepath:c.a.string,pathLine:c.a.string,tabButtons:c.a.node,tabBody:c.a.node,description:c.a.node,docs:c.a.node,examples:c.a.node,isolated:c.a.bool};var Xt=Object(l.a)(function styles(e){var t=e.color,n=e.fontSize,r=e.space;return{root:{marginBottom:r[6]},header:{marginBottom:r[3]},tabs:{marginBottom:r[3]},tabButtons:{marginBottom:r[2]},tabBody:{overflowX:"auto",maxWidth:"100%",WebkitOverflowScrolling:"touch"},docs:{color:t.base,fontSize:n.text}}})(ReactComponentRenderer),Qt=Object.assign||function(e){for(var t=1;t0?s.a.createElement(Examples,{examples:_,name:l,exampleMode:c}):s.a.createElement(Zt,{name:l}),tabButtons:S&&s.a.createElement(Slot,{name:"docsTabButtons",active:e,props:Qt({},a,{onClick:this.handleTabChange})}),tabBody:s.a.createElement(Slot,{name:"docsTabs",active:e,onlyActive:!0,props:a})})}}]),ReactComponent}();Yt.propTypes={component:c.a.object.isRequired,depth:c.a.number.isRequired,exampleMode:c.a.string.isRequired,usageMode:c.a.string.isRequired},Yt.contextTypes={config:c.a.object.isRequired,displayMode:c.a.string};var $t=Yt;function ComponentsRenderer(e){var t=e.children;return s.a.createElement("div",null,t)}function Components(e){var t=e.components,n=e.depth,r=e.exampleMode,i=e.usageMode;return s.a.createElement(ComponentsRenderer,null,t.map(function(e){return s.a.createElement($t,{key:e.filepath,component:e,exampleMode:r,usageMode:i,depth:n})}))}ComponentsRenderer.propTypes={children:c.a.node.isRequired},Components.propTypes={components:c.a.array.isRequired,depth:c.a.number.isRequired,exampleMode:c.a.string.isRequired,usageMode:c.a.string.isRequired};function SectionRenderer(e){var t=e.classes,n=e.name,r=e.slug,i=e.content,a=e.components,o=e.sections,u=e.depth,c=e.description,l=e.pagePerSection;return s.a.createElement("section",{className:t.root},n&&s.a.createElement(SectionHeading,{depth:u,id:r,slotName:"sectionToolbar",pagePerSection:l,slotProps:e},n),c&&s.a.createElement(m.a,{text:c}),i,o,a)}SectionRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string,description:c.a.string,slug:c.a.string,filepath:c.a.string,content:c.a.node,components:c.a.node,sections:c.a.node,isolated:c.a.bool,depth:c.a.number.isRequired,pagePerSection:c.a.bool};var en=Object(l.a)(function styles(e){return{root:{marginBottom:e.space[4]}}})(SectionRenderer);function Section(e,t){var n=e.section,r=e.depth,i=t.displayMode,a=t.config.pagePerSection,o=n.name,u=n.slug,c=n.filepath,l=n.content,p=n.components,h=n.sections,f=n.description,d=n.exampleMode,m=n.usageMode,v=l&&s.a.createElement(Examples,{examples:l,name:o,exampleMode:d}),y=p&&s.a.createElement(Components,{usageMode:m,exampleMode:d,components:p,depth:r+1}),g=h&&s.a.createElement(Sections,{sections:h,depth:r+1});return s.a.createElement(en,{description:f,pagePerSection:a,name:o,slug:u,filepath:c,content:v,components:y,sections:g,isolated:i!==Mt.all,depth:r})}Section.propTypes={section:c.a.object.isRequired,depth:c.a.number.isRequired},Section.contextTypes={displayMode:c.a.string,config:c.a.object.isRequired};function SectionsRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("section",{className:t.root},n)}SectionsRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var tn=Object(l.a)(function styles(){return{root:{}}})(SectionsRenderer);function Sections(e){var t=e.sections,n=e.depth;return s.a.createElement(tn,null,t.filter(function(e){return!e.href}).map(function(e,t){return s.a.createElement(Section,{key:t,section:e,depth:n})}))}Sections.propTypes={sections:c.a.array.isRequired,root:c.a.bool,depth:c.a.number.isRequired};var nn=n(103);function WelcomeRenderer(e){var t=e.classes,n=e.patterns;return s.a.createElement("div",{className:t.root},s.a.createElement(m.a,{text:"\n# Welcome to React Styleguidist!\n\n**We couldn’t find any components** using these patterns:\n\n"+n.map(function(e){return"- `"+e+"`"}).join("\n")+"\n\nCreate **styleguide.config.js** file in your project root directory like this:\n\n module.exports = {\n components: 'src/components/**/*.js'\n };\n\nRead more in the [locating components guide]("+nn.DOCS_COMPONENTS+").\n\t\t\t\t"}))}WelcomeRenderer.propTypes={classes:c.a.object.isRequired,patterns:c.a.array.isRequired};var rn=Object(l.a)(function styles(e){var t=e.space;return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]],padding:t[4]}}})(WelcomeRenderer);function ErrorRenderer(e){var t=e.classes,n=e.error,r=e.info;return s.a.createElement("div",{className:t.root},s.a.createElement("pre",{className:t.stack},n.toString(),r.componentStack.toString()),s.a.createElement("div",{className:t.message},s.a.createElement("p",null,"This may be due to an error in a component you are overriding, or a bug in React Styleguidist."),s.a.createElement("p",null,"If you believe this is a bug, ",s.a.createElement("a",{style:{color:"inherit"},href:"https://github.com/styleguidist/react-styleguidist/issues"},"please submit an issue"),".")))}ErrorRenderer.propTypes={classes:c.a.object.isRequired,error:c.a.object.isRequired,info:c.a.shape({componentStack:c.a.any.isRequired}).isRequired};var an=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{root:{margin:e.space[2],lineHeight:1.2,fontSize:n.small},stack:{color:r.error,whiteSpace:"pre-wrap",fontFamily:t.monospace},message:{color:r.error,fontFamily:t.base}}})(ErrorRenderer);function NotFoundRenderer(e){var t=e.classes;return s.a.createElement("div",{className:t.root},s.a.createElement(m.a,{text:"\n# Page not found\nThe link you followed may be broken, or the page may have been removed.\n"}))}NotFoundRenderer.propTypes={classes:c.a.object.isRequired};var on=Object(l.a)(function styles(e){return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]]}}})(NotFoundRenderer),sn=function(){function defineProperties(e,t){for(var n=0;n0&&i&&(r=gn({},r,{sections:[],components:[]})),e=[r]}else e=[]}}),e.length||(l=Mt.notFound),o=s[s.length-1];else if((p=filterComponentsInSectionsByExactName(e,o,!0)).length)e=p,l=Mt.component;else{var h=findSection(e,o);e=h?[h]:[],l=Mt.section}if(fn()(u))if(1===p.length){var f=p[0].components;e=[gn({},p[0],{components:[(r=f[0],i=u,dn({},r,{props:dn({},r.props,{examples:[r.props.examples[i]]})}))]})],l=Mt.example}else 1===e.length&&(e=[filterSectionExamples(e[0],u)],l=Mt.example)}return{sections:e,displayMode:l}}var bn=n(235);function globalizeComponents(e){e.forEach(function(e){e.components&&e.components.forEach(bn.a),e.sections&&globalizeComponents(e.sections)})}var _n=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:window.location,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.history,a=processSections(e.sections);globalizeComponents(a);var o=e.config,u=o.title,c=o.pagePerSection,l=getRouteData(a,n.hash,c),p=l.sections,h=l.displayMode;if(r.title=getPageTitle(p,u,h),"#/"===n.hash){var f=n.pathname+n.search;i.replaceState("",r.title,f)}return s.a.createElement(cn,{codeRevision:t,config:e.config,slots:z(e.config),welcomeScreen:e.welcomeScreen,patterns:e.patterns,sections:p,allSections:a,displayMode:h,pagePerSection:c})}var wn=function render(){var e=n(550);a.a.render(renderStyleguide(e,0),document.getElementById(e.config.mountPointId))};window.addEventListener("hashchange",wn),window.addEventListener("hashchange",function scrollToOrigin(){var e=window.location.hash;if(Q(e,"#/")||Q(e,"#!/")){var t=Y(e,"id"),n=0;if(t){var r=document.getElementById(t);r&&r.offsetTop&&(n=r.offsetTop)}window.scrollTo(0,n)}}),wn()}]); \ No newline at end of file +Object.defineProperty(n,"__esModule",{value:!0});var r=null,i=!1,a=3,o=-1,s=-1,c=!1,l=!1;function p(){if(!c){var e=r.expirationTime;l?w():l=!0,x(t,e)}}function u(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=a,o=s;a=e,s=t;try{var u=n()}finally{a=i,s=o}if("function"==typeof u)if(u={callback:u,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=u.next=u.previous=u;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=u,p()),(t=n.previous).next=n.previous=u,u.next=n,u.previous=t}}function v(){if(-1===o&&null!==r&&1===r.priorityLevel){c=!0;try{do{u()}while(null!==r&&1===r.priorityLevel)}finally{c=!1,null!==r?p():l=!1}}}function t(e){c=!0;var t=i;i=e;try{if(e)for(;null!==r;){var a=n.unstable_now();if(!(r.expirationTime<=a))break;do{u()}while(null!==r&&r.expirationTime<=a)}else if(null!==r)do{u()}while(null!==r&&!S())}finally{c=!1,i=t,null!==r?p():l=!1,v()}}var h,f,d=Date,m="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function E(e){h=g(function(t){y(f),e(t)}),f=m(function(){b(h),e(n.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var _=performance;n.unstable_now=function(){return _.now()}}else n.unstable_now=function(){return d.now()};var x,w,S,C=null;if("undefined"!=typeof window?C=window:void 0!==e&&(C=e),C&&C._schedMock){var k=C._schedMock;x=k[0],w=k[1],S=k[2],n.unstable_now=k[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var P=null,O=function(e){if(null!==P)try{P(e)}finally{P=null}};x=function(e){null!==P?setTimeout(x,0,e):(P=e,setTimeout(O,0,!1))},w=function(){P=null},S=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var R=null,T=!1,j=-1,I=!1,M=!1,N=0,A=33,L=33;S=function(){return N<=n.unstable_now()};var D=new MessageChannel,F=D.port2;D.port1.onmessage=function(){T=!1;var e=R,t=j;R=null,j=-1;var r=n.unstable_now(),i=!1;if(0>=N-r){if(!(-1!==t&&t<=r))return I||(I=!0,E(U)),R=e,void(j=t);i=!0}if(null!==e){M=!0;try{e(i)}finally{M=!1}}};var U=function(e){if(null!==R){E(U);var t=e-N+L;tt&&(t=8),L=tt?F.postMessage(void 0):I||(I=!0,E(U))},w=function(){R=null,T=!1,j=-1}}n.unstable_ImmediatePriority=1,n.unstable_UserBlockingPriority=2,n.unstable_NormalPriority=3,n.unstable_IdlePriority=5,n.unstable_LowPriority=4,n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=a,i=o;a=e,o=n.unstable_now();try{return t()}finally{a=r,o=i,v()}},n.unstable_scheduleCallback=function(e,t){var i=-1!==o?o:n.unstable_now();if("object"==typeof t&&null!==t&&"number"==typeof t.timeout)t=i+t.timeout;else switch(a){case 1:t=i+-1;break;case 2:t=i+250;break;case 5:t=i+1073741823;break;case 4:t=i+1e4;break;default:t=i+5e3}if(e={callback:e,priorityLevel:a,expirationTime:t,next:null,previous:null},null===r)r=e.next=e.previous=e,p();else{i=null;var s=r;do{if(s.expirationTime>t){i=s;break}s=s.next}while(s!==r);null===i?i=r:i===r&&(r=e,p()),(t=i.previous).next=i.previous=e,e.next=i,e.previous=t}return e},n.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},n.unstable_wrapCallback=function(e){var t=a;return function(){var r=a,i=o;a=t,o=n.unstable_now();try{return e.apply(this,arguments)}finally{a=r,o=i,v()}}},n.unstable_getCurrentPriorityLevel=function(){return a},n.unstable_shouldYield=function(){return!i&&(null!==r&&r.expirationTime-1}},function(e,t,n){var r=n(91);e.exports=function listCacheSet(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(90);e.exports=function stackClear(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function stackGet(e){return this.__data__.get(e)}},function(e,t){e.exports=function stackHas(e){return this.__data__.has(e)}},function(e,t,n){var r=n(90),i=n(137),a=n(139),o=200;e.exports=function stackSet(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&i(n[0],n[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++r0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(73),i=n(41),a=n(143),o=n(30);e.exports=function isIterateeCall(e,t,n){if(!o(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";t.byteLength=function byteLength(e){var t=getLens(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function toByteArray(e){for(var t,n=getLens(e),r=n[0],o=n[1],s=new a(_byteLength(e,r,o)),u=0,c=o>0?r-4:r,l=0;l>16&255,s[u++]=t>>8&255,s[u++]=255&t;2===o&&(t=i[e.charCodeAt(l)]<<2|i[e.charCodeAt(l+1)]>>4,s[u++]=255&t);1===o&&(t=i[e.charCodeAt(l)]<<10|i[e.charCodeAt(l+1)]<<4|i[e.charCodeAt(l+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t);return s},t.fromByteArray=function fromByteArray(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;os?s:o+16383));1===i?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function _byteLength(e,t,n){return 3*(t+n)/4-n}function encodeChunk(e,t,n){for(var i,a,o=[],s=t;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,u=(1<>1,l=-7,p=n?i-1:0,h=n?-1:1,f=e[t+p];for(p+=h,a=f&(1<<-l)-1,f>>=-l,l+=s;l>0;a=256*a+e[t+p],p+=h,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=r;l>0;o=256*o+e[t+p],p+=h,l-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),a-=c}return(f?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,u,c=8*a-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:a-1,d=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+p>=1?h/u:h*Math.pow(2,1-p))*u>=2&&(o++,u/=2),o+p>=l?(s=0,o=l):o+p>=1?(s=(t*u-1)*Math.pow(2,i),o+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[n+f]=255&s,f+=d,s/=256,i-=8);for(o=o<0;e[n+f]=255&o,f+=d,o/=256,c-=8);e[n+f-d]|=128*v}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var r=n(503);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(238)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(237)(!1)).push([e.i,"/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quote {\n color: #8e908c;\n}\n\n/* Tomorrow Red */\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag,\n.hljs-name,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-regexp,\n.hljs-deletion {\n color: #c82829;\n}\n\n/* Tomorrow Orange */\n.hljs-number,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-literal,\n.hljs-type,\n.hljs-params,\n.hljs-meta,\n.hljs-link {\n color: #f5871f;\n}\n\n/* Tomorrow Yellow */\n.hljs-attribute {\n color: #eab700;\n}\n\n/* Tomorrow Green */\n.hljs-string,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-addition {\n color: #718c00;\n}\n\n/* Tomorrow Blue */\n.hljs-title,\n.hljs-section {\n color: #4271ae;\n}\n\n/* Tomorrow Purple */\n.hljs-keyword,\n.hljs-selector-tag {\n color: #8959a8;\n}\n\n.hljs {\n display: block;\n overflow-x: auto;\n background: white;\n color: #4d4d4c;\n padding: 0.5em;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,a=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(i=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:r+a.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,n){var r=n(506),i=n(528),a=n(209);e.exports=function baseMatches(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(136),i=n(204),a=1,o=2;e.exports=function baseIsMatch(e,t,n,s){var u=n.length,c=u,l=!s;if(null==e)return!c;for(e=Object(e);u--;){var p=n[u];if(l&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++u-1?s[u?t[c]:c]:void 0}}},function(e,t,n){var r=n(546),i=n(145),a=n(547),o=Math.max;e.exports=function findIndex(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:a(n);return u<0&&(u=o(s+u,0)),r(e,i(t,3),u)}},function(e,t){e.exports=function baseFindIndex(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return"string"==typeof e?e:(e=_objectSpread({},e),Object.keys(e).filter(function(t){return e[t]}).map(function(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}).join(" "))},u=function(e){function Iframe(){var e,t,n,r;_classCallCheck(this,Iframe);for(var i=arguments.length,a=new Array(i),s=0;s {}",computed:!1},tags:{},name:"onBeforeUnload"},{type:{name:"func"},required:!1,description:"",defaultValue:{value:"() => {}",computed:!1},tags:{},name:"onLoad"},{type:{name:"func"},required:!1,description:"",defaultValue:{value:"() => {}",computed:!1},tags:{},name:"onUnload"},{type:{name:"union",value:[{name:"bool"},{name:"string"},{name:"shape",value:{allowForms:{name:"bool",required:!1},allowModals:{name:"bool",required:!1},allowPointerLock:{name:"bool",required:!1},allowPopups:{name:"bool",required:!1},allowSameOrigin:{name:"bool",required:!1},allowScripts:{name:"bool",required:!1},allowTopNavigation:{name:"bool",required:!1}}}]},required:!1,description:"",defaultValue:{value:"{\n allowForms: true,\n allowModals: true,\n allowPointerLock: false,\n allowPopups: true,\n allowSameOrigin: true,\n allowScripts: true,\n allowTopNavigation: false,\n}",computed:!1},tags:{},name:"sandbox"},{type:{name:"union",value:[{name:"number"},{name:"string"}]},required:!1,description:"",defaultValue:{value:"'100%'",computed:!1},tags:{},name:"width"}],doclets:{},tags:{example:[{title:"example",description:"../examples/Iframe.md"}]},example:n(553),examples:[]}},function(e,t,n){var r={"resize-observer-polyfill":n(554),react:n(1)},i=n(555).bind(null,r),a=n(556).bind(null,"var React = require('react');",i);e.exports=[{type:"markdown",content:"### Fixed Iframe Height"},{type:"code",content:"",settings:{},evalInContext:a},{type:"markdown",content:"### Resize Iframe to Fit Content (Same Domain Only)"},{type:"code",content:"const ResizeObserver = require('resize-observer-polyfill').default;\n\n {\n if (!(iframe && iframe.contentDocument)) {\n return;\n }\n\n const target = iframe.contentDocument.body;\n const nextHeight = target.offsetHeight;\n iframe.style.height = `${nextHeight}px`;\n\n const observer = new ResizeObserver(entries => {\n const target = iframe.contentDocument.body;\n const nextHeight = target.offsetHeight;\n iframe.style.height = `${nextHeight}px`;\n });\n observer.observe(target);\n }}\n/>",settings:{},evalInContext:a}]},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function getIndex(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(e){var t=getIndex(this.__entries__,e),n=this.__entries__[t];return n&&n[1]},class_1.prototype.set=function(e,t){var n=getIndex(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},class_1.prototype.delete=function(e){var t=this.__entries__,n=getIndex(t,e);~n&&t.splice(n,1)},class_1.prototype.has=function(e){return!!~getIndex(this.__entries__,e)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},ResizeObserverController.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;u.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),p=function(e,t){for(var n=0,r=Object.keys(t);n0},ResizeObserverSPI}(),g="undefined"!=typeof WeakMap?new WeakMap:new n,b=function(){return function ResizeObserver(e){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=l.getInstance(),n=new y(e,t,this);g.set(this,n)}}();["observe","unobserve","disconnect"].forEach(function(e){b.prototype[e]=function(){var t;return(t=g.get(this))[e].apply(t,arguments)}});var _=void 0!==i.ResizeObserver?i.ResizeObserver:b;t.default=_}.call(this,n(23))},function(e,t){e.exports=function requireInRuntime(e,t){if(!(t in e))throw new Error('require() statements can be added only by editing a Markdown example file: require("'+t+'")');return e[t]}},function(e,t){e.exports=function evalInContext(e,t,n){return new Function("require","state","setState",e+n).bind(null,t)}},function(e,t,n){"use strict";n.r(t);n(405),n(406),n(408);var r=n(74).a.createStyleSheet({body:{isolate:!1,margin:0,padding:0,minWidth:0,maxWidth:"100%",border:0}}).attach().classes.body;document.body.classList.add(r);var i=n(75),a=n.n(i),o=n(1),s=n.n(o),u=n(0),c=n.n(u),l=n(3);function EditorLoaderRenderer(e){var t=e.classes;return s.a.createElement("div",{className:t.root},"Loading…")}EditorLoaderRenderer.propTypes={classes:c.a.object.isRequired};var p=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.color,r=e.space,i=e.fontSize;return{root:{padding:[[r[1],r[2],r[1],r[1]]],fontFamily:t.base,fontSize:i.small,color:n.light,backgroundColor:n.codeBackground}}})(EditorLoaderRenderer),h=function(){function defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.slug,r=e.example,i=e.anchor,a=e.isolated,o=e.nochrome,s=e.absolute,u=e.hashPath,c=e.id,l=e.takeHash,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location,h=p.origin,f=p.pathname,d=p.hash,v=f;return l&&(d.indexOf("?")>-1?v+=d.substring(0,d.indexOf("?")):v+=d),o&&(v+="?nochrome"),i?v+="#"+n:(a||o)&&(v+="#!/"+t),u&&(c||(u=[].concat(_toConsumableArray(u),[t])),v+="#/"+u.join("/")),c&&(v+="?id="+n),void 0!==r&&(v+="/"+r),s?h+v:v}var M=function IsolateButton(e){var t=e.name,n=e.example;return e.isolated?s.a.createElement(I,{href:getUrl({anchor:!0,slug:"/"}),title:"Show all components"},s.a.createElement(R.a,null)):s.a.createElement(I,{href:getUrl({name:t,example:n,isolated:!0}),title:"Open isolated"},s.a.createElement(P.a,null))};M.propTypes={name:c.a.string.isRequired,example:c.a.number,isolated:c.a.bool};var N=M;function TabButtonRenderer(e){var t,n,r,i=e.classes,a=e.name,o=e.className,u=e.onClick,c=e.active,l=e.children,p=j()(i.button,o,(t={},n=i.isActive,r=c,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t));return s.a.createElement("button",{type:"button",name:a,className:p,onClick:u},l)}TabButtonRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string,className:c.a.string,onClick:c.a.func,active:c.a.bool,children:c.a.node};var A=Object(l.a)(function styles(e){var t=e.space,n=e.color,r=e.fontFamily,i=e.fontSize,a=e.buttonTextTransform;return{button:{padding:[[t[1],0]],fontFamily:r.base,fontSize:i.base,color:n.light,background:"transparent",textTransform:a,transition:"color 750ms ease-out",border:"none",cursor:"pointer","&:hover, &:focus":{isolate:!1,outline:0,color:n.linkHover,transition:"color 150ms ease-in"},"&:focus:not($isActive)":{isolate:!1,outline:[[1,"dotted",n.linkHover]]},"& + &":{isolate:!1,marginLeft:t[1]}},isActive:{borderBottom:[[2,n.linkHover,"solid"]]}}})(TabButtonRenderer),L=function CodeTabButton(e){return s.a.createElement(A,e,"View Code")};L.propTypes={onClick:c.a.func.isRequired,name:c.a.string.isRequired,active:c.a.bool};var D=L,F=function UsageTabButton(e){var t=e.props;return!E()(t.props)||!E()(t.methods)?s.a.createElement(A,e,"Props & methods"):null};F.propTypes={onClick:c.a.func.isRequired,name:c.a.string.isRequired,props:c.a.shape({props:c.a.array,methods:c.a.array}).isRequired,active:c.a.bool};var U=F,B="rsg-code-editor",V="rsg-usage",z=function(){var e=[N];return{sectionToolbar:e,componentToolbar:e,exampleToolbar:e,exampleTabButtons:[{id:B,render:D}],exampleTabs:[{id:B,render:f}],docsTabButtons:[{id:V,render:U}],docsTabs:[{id:V,render:Usage}]}},W=n(105),q=n(227),H=n.n(q),K="#/",J=/(.*)\?/;function trimHash(e,t){if(!e)return"";var n=new RegExp("^"+H()(t||K),"g");return e.replace(n,"")}var X=function trimParams(e){var t=J.exec(e);return t&&t[1]||e},Q=function hasInHash(e,t){return""!==e&&e.indexOf(t)>-1},G=function getHash(e,t){return decodeURIComponent(X(trimHash(e,t)))},Z=function getHashAsArray(e,t){return G(e,t).split("/")},Y=function getParameterByName(e,t){t=t.replace(/[[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null};function ComponentsListRenderer(e){var t=e.classes,n=e.items;if(!(n=n.filter(function(e){return e.visibleName})).length)return null;var r=window.location.pathname+G(window.location.hash);return s.a.createElement("ul",{className:t.list},n.map(function(e){var n=e.heading,i=e.visibleName,a=e.href,o=e.content,u=e.external,c=Q(r,a);return s.a.createElement("li",{className:j()(t.item,(!o||!o.props.items.length)&&t.isChild,c&&t.isSelected),key:a},s.a.createElement(W.a,{className:j()(n&&t.heading),href:a,target:u?"_blank":void 0},i),o)}))}ComponentsListRenderer.propTypes={items:c.a.array.isRequired,classes:c.a.object.isRequired};var $=Object(l.a)(function styles(e){var t,n,r,i=e.color,a=e.fontFamily,o=e.fontSize,s=e.space,u=e.mq;return{list:{margin:0,paddingLeft:s[2]},item:{color:i.base,display:"block",margin:[[s[1],0,s[1],0]],fontFamily:a.base,fontSize:o.base,listStyle:"none",overflow:"hidden",textOverflow:"ellipsis"},isChild:(t={},n=u.small,r={display:"inline-block",margin:[[0,s[1],0,0]]},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t),heading:{color:i.base,marginTop:s[1],fontFamily:a.base,fontWeight:"bold"},isSelected:{fontWeight:"bold"}}})(ComponentsListRenderer),ee=Object.assign||function(e){for(var t=1;t0||e.sections.length>0||n.test(e.name)})}var ie=function(){function defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e.map(function(e){var a=[].concat(TableOfContents_toConsumableArray(e.sections||[]),TableOfContents_toConsumableArray(e.components||[])),o=e.sectionDepth||0,s=0===o&&i?r:[].concat(TableOfContents_toConsumableArray(r),[e.name]);return Object.assign({},e,{heading:!!e.name&&a.length>0,content:a.length>0&&n.renderLevel(a,t,s,0===o)})});return s.a.createElement(te,{items:a,hashPath:r,useHashId:i,useRouterLinks:t})}},{key:"renderSections",value:function renderSections(){var e=this.state.searchTerm,t=this.props,n=t.sections,r=t.useRouterLinks,i=filterSectionsByName(1===n.length?n[0].components:n,e);return this.renderLevel(i,r)}},{key:"render",value:function render(){var e=this,t=this.state.searchTerm;return s.a.createElement(ne,{searchTerm:t,onSearchTermChange:function onSearchTermChange(t){return e.setState({searchTerm:t})}},this.renderSections())}}]),TableOfContents}();ae.propTypes={sections:c.a.array.isRequired,useRouterLinks:c.a.bool};var oe=ae;function LogoRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("h1",{className:t.logo},n)}LogoRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var se=Object(l.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{logo:{color:t.base,margin:0,fontFamily:n.base,fontSize:r.h4,fontWeight:"normal"}}})(LogoRenderer);function RibbonRenderer(e){var t=e.classes,n=e.url,r=e.text;return s.a.createElement("div",{className:t.root},s.a.createElement("a",{href:n,className:t.link},r))}RibbonRenderer.defaultProps={text:"Fork me on GitHub"},RibbonRenderer.propTypes={classes:c.a.object.isRequired,url:c.a.string.isRequired,text:c.a.string};var ue=Object(l.a)(function styles(e){var t=e.color,n=e.space,r=e.fontSize;return{root:{position:"fixed",top:0,right:0,width:149,height:149,zIndex:999},link:{fontFamily:e.fontFamily.base,position:"relative",right:-37,top:-22,display:"block",width:190,padding:[[n[0],n[2]]],textAlign:"center",color:t.ribbonText,fontSize:r.base,background:t.ribbonBackground,textDecoration:"none",textShadow:[[0,"-1px",0,"rgba(0,0,0,.15)"]],transformOrigin:[[0,0]],transform:"rotate(45deg)",cursor:"pointer"}}})(RibbonRenderer);function Ribbon(e,t){var n=t.config.ribbon;return n?s.a.createElement(ue,n):null}Ribbon.contextTypes={config:c.a.object};function VersionRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("p",{"aria-label":"version",className:t.version},n)}VersionRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var ce=Object(l.a)(function styles(e){var t=e.color,n=e.fontFamily,r=e.fontSize;return{version:{color:t.light,margin:[[5,0,0,0]],fontFamily:n.base,fontSize:r.base,fontWeight:"normal"}}})(VersionRenderer);function StyleGuideRenderer_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function StyleGuideRenderer(e){var t=e.classes,n=e.title,r=e.version,i=e.homepageUrl,a=e.children,o=e.toc,u=e.hasSidebar;return s.a.createElement("div",{className:j()(t.root,u&&t.hasSidebar)},s.a.createElement("main",{className:t.content},a,s.a.createElement("footer",{className:t.footer},s.a.createElement(v.a,{text:"Generated with [React Styleguidist]("+i+")"}))),u&&s.a.createElement("div",{className:t.sidebar},s.a.createElement("div",{className:t.logo},s.a.createElement(se,null,n),r&&s.a.createElement(ce,null,r)),o),s.a.createElement(Ribbon,null))}StyleGuideRenderer.propTypes={classes:c.a.object.isRequired,title:c.a.string.isRequired,version:c.a.string,homepageUrl:c.a.string.isRequired,children:c.a.node.isRequired,toc:c.a.node.isRequired,hasSidebar:c.a.bool};var le=Object(l.a)(function styles(e){var t,n=e.color,r=e.fontFamily,i=e.fontSize,a=e.sidebarWidth,o=e.mq,s=e.space,u=e.maxWidth;return{root:{minHeight:"100vh",backgroundColor:n.baseBackground},hasSidebar:StyleGuideRenderer_defineProperty({paddingLeft:a},o.small,{paddingLeft:0}),content:(t={maxWidth:u,padding:[[s[2],s[4]]],margin:[[0,"auto"]]},StyleGuideRenderer_defineProperty(t,o.small,{padding:s[2]}),StyleGuideRenderer_defineProperty(t,"display","block"),t),sidebar:StyleGuideRenderer_defineProperty({backgroundColor:n.sidebarBackground,border:[[n.border,"solid"]],borderWidth:[[0,1,0,0]],position:"fixed",top:0,left:0,bottom:0,width:a,overflow:"auto",WebkitOverflowScrolling:"touch"},o.small,{position:"static",width:"auto",borderWidth:[[1,0,0,0]],paddingBottom:s[0]}),logo:{padding:s[2],borderBottom:[[1,n.border,"solid"]]},footer:{display:"block",color:n.light,fontFamily:r.base,fontSize:i.small}}})(StyleGuideRenderer);function componentWillMount(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function componentWillReceiveProps(e){this.setState(function updater(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function componentWillUpdate(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}componentWillMount.__suppressDeprecationWarning=!0,componentWillReceiveProps.__suppressDeprecationWarning=!0,componentWillUpdate.__suppressDeprecationWarning=!0;var pe=n(213),he=n.n(pe);function PlaygroundErrorRenderer(e){var t=e.classes,n=e.message;return s.a.createElement("pre",{className:t.root},n)}PlaygroundErrorRenderer.propTypes={classes:c.a.object.isRequired,message:c.a.string.isRequired};var fe=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{root:{margin:0,lineHeight:1.2,fontSize:n.small,fontFamily:t.monospace,color:r.error,whiteSpace:"pre-wrap"}}})(PlaygroundErrorRenderer),de=n(228),ve=function(){function defineProperties(e,t){for(var n=0;ne)return!1;if((n+=t[r+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&Ce.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,ke)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&Ee.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,ke)||isInAstralSet(e,Pe)))))}var Oe=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function binop(e,t){return new Oe(e,{beforeExpr:!0,binop:t})}var Re={beforeExpr:!0},Te={startsExpr:!0},je={};function kw(e,t){return void 0===t&&(t={}),t.keyword=e,je[e]=new Oe(e,t)}var Ie={num:new Oe("num",Te),regexp:new Oe("regexp",Te),string:new Oe("string",Te),name:new Oe("name",Te),eof:new Oe("eof"),bracketL:new Oe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Oe("]"),braceL:new Oe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Oe("}"),parenL:new Oe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Oe(")"),comma:new Oe(",",Re),semi:new Oe(";",Re),colon:new Oe(":",Re),dot:new Oe("."),question:new Oe("?",Re),arrow:new Oe("=>",Re),template:new Oe("template"),invalidTemplate:new Oe("invalidTemplate"),ellipsis:new Oe("...",Re),backQuote:new Oe("`",Te),dollarBraceL:new Oe("${",{beforeExpr:!0,startsExpr:!0}),eq:new Oe("=",{beforeExpr:!0,isAssign:!0}),assign:new Oe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Oe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Oe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Oe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Oe("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",Re),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Re),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",Re),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Re),_switch:kw("switch"),_throw:kw("throw",Re),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Re),_export:kw("export"),_import:kw("import"),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Me=/\r\n?|\n|\u2028|\u2029/,Ne=new RegExp(Me.source,"g");function isNewLine(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var Ae=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Le=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,De=Object.prototype,Fe=De.hasOwnProperty,Ue=De.toString;function has(e,t){return Fe.call(e,t)}var Be=Array.isArray||function(e){return"[object Array]"===Ue.call(e)},Ve=function Position(e,t){this.line=e,this.column=t};Ve.prototype.offset=function offset(e){return new Ve(this.line,this.column+e)};var ze=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function getLineInfo(e,t){for(var n=1,r=0;;){Ne.lastIndex=r;var i=Ne.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),Be(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return Be(t.onComment)&&(t.onComment=pushComment(t,t.onComment)),t}function pushComment(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new ze(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}var qe={};function keywordRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var He=function Parser(e,t,n){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(_e[e.ecmaVersion>=6?6:5]);var r="";if(!e.allowReserved){for(var i=e.ecmaVersion;!(r=ge[i]);i--);"module"===e.sourceType&&(r+=" await")}this.reservedWords=keywordRegexp(r);var a=(r?r+" ":"")+ge.strict;this.reservedWordsStrict=keywordRegexp(a),this.reservedWordsStrictBind=keywordRegexp(a+" "+ge.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Me).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=Ie.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope(),this.regexpState=null};He.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},He.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},He.prototype.extend=function extend(e,t){this[e]=t(this[e])},He.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=qe[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},He.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var Ke=He.prototype,Je=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Ke.strictDirective=function(e){for(;;){Le.lastIndex=e,e+=Le.exec(this.input)[0].length;var t=Je.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length}},Ke.eat=function(e){return this.type===e&&(this.next(),!0)},Ke.isContextual=function(e){return this.type===Ie.name&&this.value===e&&!this.containsEsc},Ke.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Ke.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Ke.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Me.test(this.input.slice(this.lastTokEnd,this.start))},Ke.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ke.semicolon=function(){this.eat(Ie.semi)||this.insertSemicolon()||this.unexpected()},Ke.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Ke.expect=function(e){this.eat(e)||this.unexpected()},Ke.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},Ke.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},Ke.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},Ke.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var Qe={kind:"loop"},Ge={kind:"switch"};Xe.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Le.lastIndex=this.pos;var e=Le.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123===n)return!0;if(isIdentifierStart(n,!0)){for(var r=t+1;isIdentifierChar(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!xe.test(i))return!0}return!1},Xe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Le.lastIndex=this.pos;var e=Le.exec(this.input),t=this.pos+e[0].length;return!(Me.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&isIdentifierChar(this.input.charAt(t+8)))},Xe.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=Ie._var,r="let"),i){case Ie._break:case Ie._continue:return this.parseBreakContinueStatement(a,i.keyword);case Ie._debugger:return this.parseDebuggerStatement(a);case Ie._do:return this.parseDoStatement(a);case Ie._for:return this.parseForStatement(a);case Ie._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case Ie._class:return e||this.unexpected(),this.parseClass(a,!0);case Ie._if:return this.parseIfStatement(a);case Ie._return:return this.parseReturnStatement(a);case Ie._switch:return this.parseSwitchStatement(a);case Ie._throw:return this.parseThrowStatement(a);case Ie._try:return this.parseTryStatement(a);case Ie._const:case Ie._var:return r=r||this.value,e||"var"===r||this.unexpected(),this.parseVarStatement(a,r);case Ie._while:return this.parseWhileStatement(a);case Ie._with:return this.parseWithStatement(a);case Ie.braceL:return this.parseBlock();case Ie.semi:return this.parseEmptyStatement(a);case Ie._export:case Ie._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===Ie._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===Ie.name&&"Identifier"===s.type&&this.eat(Ie.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},Xe.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(Ie.semi)||this.insertSemicolon()?e.label=null:this.type!==Ie.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(Ie.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Xe.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Qe),this.enterLexicalScope(),this.expect(Ie.parenL),this.type===Ie.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===Ie._var||this.type===Ie._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===Ie._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new DestructuringErrors,o=this.parseExpression(!0,a);return this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===Ie._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},Xe.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},Xe.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type===Ie._function),e.alternate=this.eat(Ie._else)?this.parseStatement(!this.strict&&this.type===Ie._function):null,this.finishNode(e,"IfStatement")},Xe.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(Ie.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Xe.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(Ie.braceL),this.labels.push(Ge),this.enterLexicalScope();for(var n=!1;this.type!==Ie.braceR;)if(this.type===Ie._case||this.type===Ie._default){var r=this.type===Ie._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(Ie.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Xe.parseThrowStatement=function(e){return this.next(),Me.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Ze=[];Xe.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===Ie._catch){var t=this.startNode();this.next(),this.eat(Ie.parenL)?(t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(Ie.parenR)):(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterLexicalScope()),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(Ie._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Xe.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Xe.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Qe),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},Xe.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},Xe.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Xe.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!==e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"===e.body.type||"VariableDeclaration"===e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"===e.body.type&&(this.strict||e.body.generator||e.body.async))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},Xe.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Xe.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(Ie.braceL),e&&this.enterLexicalScope();!this.eat(Ie.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},Xe.parseFor=function(e,t){return e.init=t,this.expect(Ie.semi),e.test=this.type===Ie.semi?null:this.parseExpression(),this.expect(Ie.semi),e.update=this.type===Ie.parenR?null:this.parseExpression(),this.expect(Ie.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},Xe.parseForIn=function(e,t){var n=this.type===Ie._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(Ie.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},Xe.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(Ie.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===Ie._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(Ie.comma))break}return e},Xe.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},Xe.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(Ie.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!==Ie.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,this.inModule&&!this.inFunction?"let":"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type===Ie.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},Xe.parseFunctionParams=function(e){this.expect(Ie.parenL),e.params=this.parseBindingList(Ie.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Xe.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(Ie.braceL);!this.eat(Ie.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Xe.parseClassMember=function(e){var t=this;if(this.eat(Ie.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===Ie.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(Ie.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(Ie.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},Xe.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},Xe.parseClassId=function(e,t){e.id=this.type===Ie.name?this.parseIdent():!0===t?this.unexpected():null},Xe.parseClassSuper=function(e){e.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null},Xe.parseExport=function(e,t){if(this.next(),this.eat(Ie.star))return this.expectContextual("from"),this.type!==Ie.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(Ie._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===Ie._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===Ie._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==Ie.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},$e.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===Ie.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(Ie.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},$e.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new DestructuringErrors,r=!0);var o=this.start,s=this.startLoc;this.type!==Ie.parenL&&this.type!==Ie.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var c=this.startNodeAt(o,s);return c.operator=this.value,c.left=this.type===Ie.eq?this.toAssignable(u,!1,t):u,r||DestructuringErrors.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},$e.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(Ie.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(Ie.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},$e.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},$e.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==Ie._in)&&a>r){var o=this.type===Ie.logicalOR||this.type===Ie.logicalAND,s=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,a,i),p=this.buildBinary(t,n,e,l,s,o);return this.parseExprOp(p,t,n,r,i)}return e},$e.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},$e.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===Ie.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(Ie.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},$e.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},$e.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(Ie.bracketL))||this.eat(Ie.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(Ie.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(Ie.parenL)){var s=new DestructuringErrors,u=this.yieldPos,c=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var l=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(Ie.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=c,this.parseArrowExpression(this.startNodeAt(t,n),l,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=c||this.awaitPos;var p=this.startNodeAt(t,n);p.callee=e,p.arguments=l,e=this.finishNode(p,"CallExpression")}else{if(this.type!==Ie.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},$e.parseExprAtom=function(e){var t,n=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL&&this.unexpected(),this.finishNode(t,"Super");case Ie._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case Ie.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==Ie.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(Ie._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===Ie.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(Ie.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case Ie.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:return(t=this.startNode()).value=this.type===Ie._null?null:this.type===Ie._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case Ie.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case Ie.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(Ie.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case Ie.braceL:return this.parseObj(!1,e);case Ie._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case Ie._class:return this.parseClass(this.startNode(),!1);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();default:this.unexpected()}},$e.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},$e.parseParenExpression=function(){this.expect(Ie.parenL);var e=this.parseExpression();return this.expect(Ie.parenR),e},$e.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],c=!0,l=!1,p=new DestructuringErrors,h=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==Ie.parenR;){if(c?c=!1:this.expect(Ie.comma),i&&this.afterTrailingComma(Ie.parenR,!0)){l=!0;break}if(this.type===Ie.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===Ie.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var d=this.start,v=this.startLoc;if(this.expect(Ie.parenR),e&&!this.canInsertSemicolon()&&this.eat(Ie.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,v)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(n,r);return m.expression=t,this.finishNode(m,"ParenthesizedExpression")}return t},$e.parseParenItem=function(e){return e},$e.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var et=[];$e.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(Ie.parenL)?e.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,!1):e.arguments=et,this.finishNode(e,"NewExpression")},$e.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===Ie.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===Ie.backQuote,this.finishNode(n,"TemplateElement")},$e.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===Ie.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(Ie.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(Ie.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},$e.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Me.test(this.input.slice(this.lastTokEnd,this.start))},$e.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(Ie.braceR);){if(r)r=!1;else if(this.expect(Ie.comma),this.afterTrailingComma(Ie.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},$e.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===Ie.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===Ie.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===Ie.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(Ie.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(Ie.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},$e.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===Ie.colon&&this.unexpected(),this.eat(Ie.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===Ie.comma||this.type===Ie.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===Ie.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},$e.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(Ie.bracketR),e.key;e.computed=!1}return e.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(!0)},$e.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},$e.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(Ie.parenL),n.params=this.parseBindingList(Ie.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},$e.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},$e.parseFunctionBody=function(e,t){var n=t&&this.type!==Ie.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},$e.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ut.updateContext=function(e){var t,n=this.type;n.keyword&&e===Ie.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===st.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},Ie.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?st.b_stat:st.b_expr),this.exprAllowed=!0},Ie.dollarBraceL.updateContext=function(){this.context.push(st.b_tmpl),this.exprAllowed=!0},Ie.parenL.updateContext=function(e){var t=e===Ie._if||e===Ie._for||e===Ie._with||e===Ie._while;this.context.push(t?st.p_stat:st.p_expr),this.exprAllowed=!0},Ie.incDec.updateContext=function(){},Ie._function.updateContext=Ie._class.updateContext=function(e){e.beforeExpr&&e!==Ie.semi&&e!==Ie._else&&(e!==Ie.colon&&e!==Ie.braceL||this.curContext()!==st.b_stat)?this.context.push(st.f_expr):this.context.push(st.f_stat),this.exprAllowed=!1},Ie.backQuote.updateContext=function(){this.curContext()===st.q_tmpl?this.context.pop():this.context.push(st.q_tmpl),this.exprAllowed=!1},Ie.star.updateContext=function(e){if(e===Ie._function){var t=this.context.length-1;this.context[t]===st.f_expr?this.context[t]=st.f_expr_gen:this.context[t]=st.f_gen}this.exprAllowed=!0},Ie.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==Ie.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ct={$LONE:["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"],General_Category:["Cased_Letter","LC","Close_Punctuation","Pe","Connector_Punctuation","Pc","Control","Cc","cntrl","Currency_Symbol","Sc","Dash_Punctuation","Pd","Decimal_Number","Nd","digit","Enclosing_Mark","Me","Final_Punctuation","Pf","Format","Cf","Initial_Punctuation","Pi","Letter","L","Letter_Number","Nl","Line_Separator","Zl","Lowercase_Letter","Ll","Mark","M","Combining_Mark","Math_Symbol","Sm","Modifier_Letter","Lm","Modifier_Symbol","Sk","Nonspacing_Mark","Mn","Number","N","Open_Punctuation","Ps","Other","C","Other_Letter","Lo","Other_Number","No","Other_Punctuation","Po","Other_Symbol","So","Paragraph_Separator","Zp","Private_Use","Co","Punctuation","P","punct","Separator","Z","Space_Separator","Zs","Spacing_Mark","Mc","Surrogate","Cs","Symbol","S","Titlecase_Letter","Lt","Unassigned","Cn","Uppercase_Letter","Lu"],Script:["Adlam","Adlm","Ahom","Anatolian_Hieroglyphs","Hluw","Arabic","Arab","Armenian","Armn","Avestan","Avst","Balinese","Bali","Bamum","Bamu","Bassa_Vah","Bass","Batak","Batk","Bengali","Beng","Bhaiksuki","Bhks","Bopomofo","Bopo","Brahmi","Brah","Braille","Brai","Buginese","Bugi","Buhid","Buhd","Canadian_Aboriginal","Cans","Carian","Cari","Caucasian_Albanian","Aghb","Chakma","Cakm","Cham","Cherokee","Cher","Common","Zyyy","Coptic","Copt","Qaac","Cuneiform","Xsux","Cypriot","Cprt","Cyrillic","Cyrl","Deseret","Dsrt","Devanagari","Deva","Duployan","Dupl","Egyptian_Hieroglyphs","Egyp","Elbasan","Elba","Ethiopic","Ethi","Georgian","Geor","Glagolitic","Glag","Gothic","Goth","Grantha","Gran","Greek","Grek","Gujarati","Gujr","Gurmukhi","Guru","Han","Hani","Hangul","Hang","Hanunoo","Hano","Hatran","Hatr","Hebrew","Hebr","Hiragana","Hira","Imperial_Aramaic","Armi","Inherited","Zinh","Qaai","Inscriptional_Pahlavi","Phli","Inscriptional_Parthian","Prti","Javanese","Java","Kaithi","Kthi","Kannada","Knda","Katakana","Kana","Kayah_Li","Kali","Kharoshthi","Khar","Khmer","Khmr","Khojki","Khoj","Khudawadi","Sind","Lao","Laoo","Latin","Latn","Lepcha","Lepc","Limbu","Limb","Linear_A","Lina","Linear_B","Linb","Lisu","Lycian","Lyci","Lydian","Lydi","Mahajani","Mahj","Malayalam","Mlym","Mandaic","Mand","Manichaean","Mani","Marchen","Marc","Masaram_Gondi","Gonm","Meetei_Mayek","Mtei","Mende_Kikakui","Mend","Meroitic_Cursive","Merc","Meroitic_Hieroglyphs","Mero","Miao","Plrd","Modi","Mongolian","Mong","Mro","Mroo","Multani","Mult","Myanmar","Mymr","Nabataean","Nbat","New_Tai_Lue","Talu","Newa","Nko","Nkoo","Nushu","Nshu","Ogham","Ogam","Ol_Chiki","Olck","Old_Hungarian","Hung","Old_Italic","Ital","Old_North_Arabian","Narb","Old_Permic","Perm","Old_Persian","Xpeo","Old_South_Arabian","Sarb","Old_Turkic","Orkh","Oriya","Orya","Osage","Osge","Osmanya","Osma","Pahawh_Hmong","Hmng","Palmyrene","Palm","Pau_Cin_Hau","Pauc","Phags_Pa","Phag","Phoenician","Phnx","Psalter_Pahlavi","Phlp","Rejang","Rjng","Runic","Runr","Samaritan","Samr","Saurashtra","Saur","Sharada","Shrd","Shavian","Shaw","Siddham","Sidd","SignWriting","Sgnw","Sinhala","Sinh","Sora_Sompeng","Sora","Soyombo","Soyo","Sundanese","Sund","Syloti_Nagri","Sylo","Syriac","Syrc","Tagalog","Tglg","Tagbanwa","Tagb","Tai_Le","Tale","Tai_Tham","Lana","Tai_Viet","Tavt","Takri","Takr","Tamil","Taml","Tangut","Tang","Telugu","Telu","Thaana","Thaa","Thai","Tibetan","Tibt","Tifinagh","Tfng","Tirhuta","Tirh","Ugaritic","Ugar","Vai","Vaii","Warang_Citi","Wara","Yi","Yiii","Zanabazar_Square","Zanb"]};Array.prototype.push.apply(ct.$LONE,ct.General_Category),ct.gc=ct.General_Category,ct.sc=ct.Script_Extensions=ct.scx=ct.Script;var lt=He.prototype,pt=function RegExpValidationState(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString$1(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function isSyntaxCharacter(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function isRegExpIdentifierStart(e){return isIdentifierStart(e,!0)||36===e||95===e}function isRegExpIdentifierPart(e){return isIdentifierChar(e,!0)||36===e||95===e||8204===e||8205===e}function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}function isCharacterClassEscape(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||95===e}function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}function isDecimalDigit(e){return e>=48&&e<=57}function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function isOctalDigit(e){return e>=48&&e<=55}pt.prototype.reset=function reset(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},pt.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},pt.prototype.at=function at(e){var t=this.source,n=t.length;if(e>=n)return-1;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?r:(r<<10)+t.charCodeAt(e+1)-56613888},pt.prototype.nextIndex=function nextIndex(e){var t=this.source,n=t.length;if(e>=n)return n;var r=t.charCodeAt(e);return!this.switchU||r<=55295||r>=57344||e+1>=n?e+1:e+2},pt.prototype.current=function current(){return this.at(this.pos)},pt.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},pt.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},pt.prototype.eat=function eat(e){return this.current()===e&&(this.advance(),!0)},lt.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},lt.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},lt.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},lt.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},lt.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},lt.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},lt.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},lt.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},lt.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!isSyntaxCharacter(t)&&(e.lastIntValue=t,e.advance(),!0)},lt.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!isSyntaxCharacter(n);)e.advance();return e.pos!==t},lt.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},lt.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},lt.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},lt.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=codePointToString$1(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=codePointToString$1(e.lastIntValue);return!0}return!1},lt.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierStart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},lt.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=e.current();return e.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(n=e.lastIntValue),isRegExpIdentifierPart(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},lt.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},lt.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},lt.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},lt.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},lt.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},lt.regexp_eatZero=function(e){return 48===e.current()&&!isDecimalDigit(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},lt.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},lt.regexp_eatControlLetter=function(e){var t=e.current();return!!isControlLetter(t)&&(e.lastIntValue=t%32,e.advance(),!0)},lt.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,n=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((t=e.lastIntValue)>=0&&t<=1114111))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=n}return!1},lt.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},lt.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},lt.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},lt.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},lt.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){ct.hasOwnProperty(t)&&-1!==ct[t].indexOf(n)||e.raise("Invalid property name")},lt.regexp_validateUnicodePropertyNameOrValue=function(e,t){-1===ct.$LONE.indexOf(t)&&e.raise("Invalid property name")},lt.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyNameCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},lt.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";isUnicodePropertyValueCharacter(t=e.current());)e.lastStringValue+=codePointToString$1(t),e.advance();return""!==e.lastStringValue},lt.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},lt.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},lt.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},lt.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||isOctalDigit(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},lt.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},lt.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!isDecimalDigit(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},lt.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},lt.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isDecimalDigit(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},lt.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;isHexDigit(n=e.current());)e.lastIntValue=16*e.lastIntValue+hexToInt(n),e.advance();return e.pos!==t},lt.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},lt.regexp_eatOctalDigit=function(e){var t=e.current();return isOctalDigit(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},lt.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}ft.next=function(){this.options.onToken&&this.options.onToken(new ht(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ft.getToken=function(){return this.next(),new ht(this)},"undefined"!=typeof Symbol&&(ft[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===Ie.eof,value:t}}}}),ft.curContext=function(){return this.context[this.context.length-1]},ft.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(Ie.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},ft.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},ft.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},ft.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(Ne.lastIndex=n;(e=Ne.exec(this.input))&&e.index8&&e<14||e>=5760&&Ae.test(String.fromCharCode(e))))break e;++this.pos}}},ft.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},ft.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(Ie.ellipsis)):(++this.pos,this.finishToken(Ie.dot))},ft.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(Ie.assign,2):this.finishOp(Ie.slash,1)},ft.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?Ie.star:Ie.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=Ie.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(Ie.assign,n+1):this.finishOp(r,n)},ft.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?Ie.logicalOR:Ie.logicalAND,2):61===t?this.finishOp(Ie.assign,2):this.finishOp(124===e?Ie.bitwiseOR:Ie.bitwiseAND,1)},ft.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(Ie.assign,2):this.finishOp(Ie.bitwiseXOR,1)},ft.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!Me.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(Ie.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(Ie.assign,2):this.finishOp(Ie.plusMin,1)},ft.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(Ie.assign,n+1):this.finishOp(Ie.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(Ie.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},ft.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(Ie.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(Ie.arrow)):this.finishOp(61===e?Ie.eq:Ie.prefix,1)},ft.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(Ie.parenL);case 41:return++this.pos,this.finishToken(Ie.parenR);case 59:return++this.pos,this.finishToken(Ie.semi);case 44:return++this.pos,this.finishToken(Ie.comma);case 91:return++this.pos,this.finishToken(Ie.bracketL);case 93:return++this.pos,this.finishToken(Ie.bracketR);case 123:return++this.pos,this.finishToken(Ie.braceL);case 125:return++this.pos,this.finishToken(Ie.braceR);case 58:return++this.pos,this.finishToken(Ie.colon);case 63:return++this.pos,this.finishToken(Ie.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(Ie.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(Ie.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},ft.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},ft.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(Me.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new pt(this));s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,o)}catch(e){}return this.finishToken(Ie.regexp,{pattern:i,flags:o,value:u})},ft.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},ft.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(Ie.num,t)},ft.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(Ie.num,a)},ft.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},ft.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(Ie.string,t)};var dt={};ft.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==dt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},ft.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw dt;this.raise(e,t)},ft.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==Ie.template&&this.type!==Ie.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(Ie.template,e)):36===n?(this.pos+=2,this.finishToken(Ie.dollarBraceL)):(++this.pos,this.finishToken(Ie.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},ft.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},ft.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},ft.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos"+e+";"},wt=function(e){function StateHolder(){var e,t,n;ReactExample_classCallCheck(this,StateHolder);for(var r=arguments.length,i=Array(r),a=0;a0&&console.clear(),this.executeCode()}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(e,t){return this.state.error!==t.error||this.props.code!==e.code}},{key:"componentDidUpdate",value:function componentDidUpdate(e){this.props.code!==e.code&&this.executeCode()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.unmountPreview()}},{key:"unmountPreview",value:function unmountPreview(){this.mountNode&&a.a.unmountComponentAtNode(this.mountNode)}},{key:"executeCode",value:function executeCode(){var e=this;this.setState({error:null});var t=this.props.code;if(t){var n=s.a.createElement(Ct,{code:t,evalInContext:this.props.evalInContext,onError:this.handleError,compilerConfig:this.context.config.compilerConfig});window.requestAnimationFrame(function(){e.unmountPreview();try{a.a.render(n,e.mountNode)}catch(t){e.handleError(t)}})}}},{key:"render",value:function render(){var e=this,t=this.state.error;return s.a.createElement(kt,null,s.a.createElement("div",{ref:function ref(t){return e.mountNode=t}}),t&&s.a.createElement(fe,{message:t}))}}]),Preview}();Pt.propTypes={code:c.a.string.isRequired,evalInContext:c.a.func.isRequired},Pt.contextTypes={config:c.a.object.isRequired,codeRevision:c.a.number.isRequired};var Ot=Pt,Rt=n(65),Tt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function PlaygroundRenderer(e){var t=e.classes,n=e.name,r=e.preview,i=e.previewProps,a=e.tabButtons,o=e.tabBody,u=e.toolbar,c=i.className,l=_objectWithoutProperties(i,["className"]);return s.a.createElement("div",{className:t.root},s.a.createElement("div",jt({className:j()(t.preview,c)},l,{"data-preview":n}),r),s.a.createElement("div",{className:t.controls},s.a.createElement("div",{className:t.tabs},a),s.a.createElement("div",{className:t.toolbar},u)),s.a.createElement("div",{className:t.tab},o))}PlaygroundRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string.isRequired,preview:c.a.node.isRequired,previewProps:c.a.object.isRequired,tabButtons:c.a.node.isRequired,tabBody:c.a.node.isRequired,toolbar:c.a.node.isRequired};var It=Object(l.a)(function styles(e){var t=e.space,n=e.color,r=e.borderRadius;return{root:{marginBottom:t[4]},preview:{padding:t[2],border:[[1,n.border,"solid"]],borderRadius:r,width:"100%",display:"inline-block"},controls:{display:"flex",alignItems:"center"},toolbar:{marginLeft:"auto"},tab:{}}})(PlaygroundRenderer),Mt=Object.freeze({all:"all",section:"section",component:"component",example:"example",notFound:"notFound"}),Nt=Object.freeze({hide:"hide",collapse:"collapse",expand:"expand"}),At=Object.freeze({hide:"hide",collapse:"collapse",expand:"expand"}),Lt=function(){function defineProperties(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function SectionHeading(e){var t=e.slotName,n=e.slotProps,r=e.children,i=e.id,a=e.pagePerSection,o=SectionHeading_objectWithoutProperties(e,["slotName","slotProps","children","id","pagePerSection"]),u=getUrl(a?{slug:i,id:1!==o.depth,takeHash:!0}:{slug:i,anchor:!0});return s.a.createElement(Vt,zt({toolbar:s.a.createElement(Slot,{name:t,props:n}),id:i,href:u},o),r)}SectionHeading.propTypes={children:c.a.node,id:c.a.string.isRequired,slotName:c.a.string.isRequired,slotProps:c.a.object.isRequired,depth:c.a.number.isRequired,deprecated:c.a.bool,pagePerSection:c.a.bool};var Wt=n(232),qt=n.n(Wt),Ht=n(233),Kt=n.n(Ht);function PathlineRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("div",{className:t.pathline},n,s.a.createElement(I,{small:!0,className:t.copyButton,onClick:function onClick(){return qt()(n)},title:"Copy to clipboard"},s.a.createElement(Kt.a,null)))}PathlineRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.string};var Jt=Object(l.a)(function styles(e){var t=e.space,n=e.fontFamily,r=e.fontSize,i=e.color;return{pathline:{fontFamily:n.monospace,fontSize:r.small,color:i.light,wordBreak:"break-all"},copyButton:{marginLeft:t[0]}}})(PathlineRenderer);function ReactComponentRenderer(e){var t=e.classes,n=e.name,r=e.heading,i=e.pathLine,a=e.description,o=e.docs,u=e.examples,c=e.tabButtons,l=e.tabBody;return s.a.createElement("div",{className:t.root,id:n+"-container"},s.a.createElement("header",{className:t.header},r,i&&s.a.createElement(Jt,null,i)),(a||o)&&s.a.createElement("div",{className:t.docs},a,o),c&&s.a.createElement("div",{className:t.tabs},s.a.createElement("div",{className:t.tabButtons},c),s.a.createElement("div",{className:t.tabBody},l)),u)}ReactComponentRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string.isRequired,heading:c.a.node.isRequired,filepath:c.a.string,pathLine:c.a.string,tabButtons:c.a.node,tabBody:c.a.node,description:c.a.node,docs:c.a.node,examples:c.a.node,isolated:c.a.bool};var Xt=Object(l.a)(function styles(e){var t=e.color,n=e.fontSize,r=e.space;return{root:{marginBottom:r[6]},header:{marginBottom:r[3]},tabs:{marginBottom:r[3]},tabButtons:{marginBottom:r[2]},tabBody:{overflowX:"auto",maxWidth:"100%",WebkitOverflowScrolling:"touch"},docs:{color:t.base,fontSize:n.text}}})(ReactComponentRenderer),Qt=Object.assign||function(e){for(var t=1;t0?s.a.createElement(Examples,{examples:_,name:l,exampleMode:c}):s.a.createElement(Zt,{name:l}),tabButtons:S&&s.a.createElement(Slot,{name:"docsTabButtons",active:e,props:Qt({},a,{onClick:this.handleTabChange})}),tabBody:s.a.createElement(Slot,{name:"docsTabs",active:e,onlyActive:!0,props:a})})}}]),ReactComponent}();Yt.propTypes={component:c.a.object.isRequired,depth:c.a.number.isRequired,exampleMode:c.a.string.isRequired,usageMode:c.a.string.isRequired},Yt.contextTypes={config:c.a.object.isRequired,displayMode:c.a.string};var $t=Yt;function ComponentsRenderer(e){var t=e.children;return s.a.createElement("div",null,t)}function Components(e){var t=e.components,n=e.depth,r=e.exampleMode,i=e.usageMode;return s.a.createElement(ComponentsRenderer,null,t.map(function(e){return s.a.createElement($t,{key:e.filepath,component:e,exampleMode:r,usageMode:i,depth:n})}))}ComponentsRenderer.propTypes={children:c.a.node.isRequired},Components.propTypes={components:c.a.array.isRequired,depth:c.a.number.isRequired,exampleMode:c.a.string.isRequired,usageMode:c.a.string.isRequired};function SectionRenderer(e){var t=e.classes,n=e.name,r=e.slug,i=e.content,a=e.components,o=e.sections,u=e.depth,c=e.description,l=e.pagePerSection;return s.a.createElement("section",{className:t.root},n&&s.a.createElement(SectionHeading,{depth:u,id:r,slotName:"sectionToolbar",pagePerSection:l,slotProps:e},n),c&&s.a.createElement(v.a,{text:c}),i,o,a)}SectionRenderer.propTypes={classes:c.a.object.isRequired,name:c.a.string,description:c.a.string,slug:c.a.string,filepath:c.a.string,content:c.a.node,components:c.a.node,sections:c.a.node,isolated:c.a.bool,depth:c.a.number.isRequired,pagePerSection:c.a.bool};var en=Object(l.a)(function styles(e){return{root:{marginBottom:e.space[4]}}})(SectionRenderer);function Section(e,t){var n=e.section,r=e.depth,i=t.displayMode,a=t.config.pagePerSection,o=n.name,u=n.slug,c=n.filepath,l=n.content,p=n.components,h=n.sections,f=n.description,d=n.exampleMode,v=n.usageMode,m=l&&s.a.createElement(Examples,{examples:l,name:o,exampleMode:d}),y=p&&s.a.createElement(Components,{usageMode:v,exampleMode:d,components:p,depth:r+1}),g=h&&s.a.createElement(Sections,{sections:h,depth:r+1});return s.a.createElement(en,{description:f,pagePerSection:a,name:o,slug:u,filepath:c,content:m,components:y,sections:g,isolated:i!==Mt.all,depth:r})}Section.propTypes={section:c.a.object.isRequired,depth:c.a.number.isRequired},Section.contextTypes={displayMode:c.a.string,config:c.a.object.isRequired};function SectionsRenderer(e){var t=e.classes,n=e.children;return s.a.createElement("section",{className:t.root},n)}SectionsRenderer.propTypes={classes:c.a.object.isRequired,children:c.a.node};var tn=Object(l.a)(function styles(){return{root:{}}})(SectionsRenderer);function Sections(e){var t=e.sections,n=e.depth;return s.a.createElement(tn,null,t.filter(function(e){return!e.href}).map(function(e,t){return s.a.createElement(Section,{key:t,section:e,depth:n})}))}Sections.propTypes={sections:c.a.array.isRequired,root:c.a.bool,depth:c.a.number.isRequired};var nn=n(103);function WelcomeRenderer(e){var t=e.classes,n=e.patterns;return s.a.createElement("div",{className:t.root},s.a.createElement(v.a,{text:"\n# Welcome to React Styleguidist!\n\n**We couldn’t find any components** using these patterns:\n\n"+n.map(function(e){return"- `"+e+"`"}).join("\n")+"\n\nCreate **styleguide.config.js** file in your project root directory like this:\n\n module.exports = {\n components: 'src/components/**/*.js'\n };\n\nRead more in the [locating components guide]("+nn.DOCS_COMPONENTS+").\n\t\t\t\t"}))}WelcomeRenderer.propTypes={classes:c.a.object.isRequired,patterns:c.a.array.isRequired};var rn=Object(l.a)(function styles(e){var t=e.space;return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]],padding:t[4]}}})(WelcomeRenderer);function ErrorRenderer(e){var t=e.classes,n=e.error,r=e.info;return s.a.createElement("div",{className:t.root},s.a.createElement("pre",{className:t.stack},n.toString(),r.componentStack.toString()),s.a.createElement("div",{className:t.message},s.a.createElement("p",null,"This may be due to an error in a component you are overriding, or a bug in React Styleguidist."),s.a.createElement("p",null,"If you believe this is a bug, ",s.a.createElement("a",{style:{color:"inherit"},href:"https://github.com/styleguidist/react-styleguidist/issues"},"please submit an issue"),".")))}ErrorRenderer.propTypes={classes:c.a.object.isRequired,error:c.a.object.isRequired,info:c.a.shape({componentStack:c.a.any.isRequired}).isRequired};var an=Object(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,r=e.color;return{root:{margin:e.space[2],lineHeight:1.2,fontSize:n.small},stack:{color:r.error,whiteSpace:"pre-wrap",fontFamily:t.monospace},message:{color:r.error,fontFamily:t.base}}})(ErrorRenderer);function NotFoundRenderer(e){var t=e.classes;return s.a.createElement("div",{className:t.root},s.a.createElement(v.a,{text:"\n# Page not found\nThe link you followed may be broken, or the page may have been removed.\n"}))}NotFoundRenderer.propTypes={classes:c.a.object.isRequired};var on=Object(l.a)(function styles(e){return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]]}}})(NotFoundRenderer),sn=function(){function defineProperties(e,t){for(var n=0;n0&&i&&(r=gn({},r,{sections:[],components:[]})),e=[r]}else e=[]}}),e.length||(l=Mt.notFound),o=s[s.length-1];else if((p=filterComponentsInSectionsByExactName(e,o,!0)).length)e=p,l=Mt.component;else{var h=findSection(e,o);e=h?[h]:[],l=Mt.section}if(fn()(u))if(1===p.length){var f=p[0].components;e=[gn({},p[0],{components:[(r=f[0],i=u,dn({},r,{props:dn({},r.props,{examples:[r.props.examples[i]]})}))]})],l=Mt.example}else 1===e.length&&(e=[filterSectionExamples(e[0],u)],l=Mt.example)}return{sections:e,displayMode:l}}var bn=n(235);function globalizeComponents(e){e.forEach(function(e){e.components&&e.components.forEach(bn.a),e.sections&&globalizeComponents(e.sections)})}var _n=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:window.location,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.history,a=processSections(e.sections);globalizeComponents(a);var o=e.config,u=o.title,c=o.pagePerSection,l=getRouteData(a,n.hash,c),p=l.sections,h=l.displayMode;if(r.title=getPageTitle(p,u,h),"#/"===n.hash){var f=n.pathname+n.search;i.replaceState("",r.title,f)}return s.a.createElement(cn,{codeRevision:t,config:e.config,slots:z(e.config),welcomeScreen:e.welcomeScreen,patterns:e.patterns,sections:p,allSections:a,displayMode:h,pagePerSection:c})}var wn=function render(){var e=n(550);a.a.render(renderStyleguide(e,0),document.getElementById(e.config.mountPointId))};window.addEventListener("hashchange",wn),window.addEventListener("hashchange",function scrollToOrigin(){var e=window.location.hash;if(Q(e,"#/")||Q(e,"#!/")){var t=Y(e,"id"),n=0;if(t){var r=document.getElementById(t);r&&r.offsetTop&&(n=r.offsetTop)}window.scrollTo(0,n)}}),wn()}]); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 2111826..f09fe64 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -React Component
\ No newline at end of file +React Component
\ No newline at end of file