/*! For license information please see 7093.2ea6c0c5.js.LICENSE.txt */ (self.webpackChunk_coze_studio_app=self.webpackChunk_coze_studio_app||[]).push([["7093"],{504645:function(e,t,i){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,o,n=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(o)throw o.error}}return a},s=this&&this.__spreadArray||function(e,t,i){if(i||2==arguments.length)for(var r,o=0,n=t.length;o0&&o[o.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,i){if(i||2==arguments.length)for(var r,o=0,n=t.length;o=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedList=t.ListItem=t.END=void 0,t.END=Symbol();var a=function(e){void 0===e&&(e=null),this.next=null,this.prev=null,this.data=e};t.ListItem=a;var s=function(){function e(){for(var e=[],i=0;i1;){var c=o.shift(),u=o.shift();c.merge(u,t),o.push(c)}return o.length&&(this.list=o[0].list),this},e.prototype.merge=function(e,i){void 0===i&&(i=null),null===i&&(i=this.isBefore.bind(this));for(var o,n,a,s,l,c=this.list.next,u=e.list.next;c.data!==t.END&&u.data!==t.END;)i(u.data,c.data)?(o=r([c,u],2),u.prev.next=o[0],c.prev.next=o[1],n=r([c.prev,u.prev],2),u.prev=n[0],c.prev=n[1],a=r([e.list,this.list],2),this.list.prev.next=a[0],e.list.prev.next=a[1],s=r([e.list.prev,this.list.prev],2),this.list.prev=s[0],e.list.prev=s[1],c=(l=r([u.next,c],2))[0],u=l[1]):c=c.next;return u.data!==t.END&&(this.list.prev.next=e.list.next,e.list.next.prev=this.list.prev,e.list.prev.next=this.list,this.list.prev=e.list.prev,e.list.next=e.list.prev=e.list),this},e}();t.LinkedList=s},121812:function(e,t){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,o,n=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,i){if(i||2==arguments.length)for(var r,o=0,n=t.length;op[t.REMOVE].indexOf(e)})),p[t.APPEND]&&(e[i]=o(o([],r(d),!1),r(p[t.APPEND]),!1))):m(d,p,l)}else Array.isArray(p)?(e[i]=[],m(e[i],p,!1)):a(p)?e[i]=u(p):e[i]=p}(g)}}catch(e){p={error:e}}finally{try{h&&!h.done&&(d=f.return)&&d.call(f)}finally{if(p)throw p.error}}return e}t.makeArray=function(e){return Array.isArray(e)?e:[e]},t.keys=c,t.copy=u,t.insert=m;t.defaultOptions=function(e){for(var t=[],i=1;it.length}}}},e.prototype.add=function(t,i){void 0===i&&(i=e.DEFAULTPRIORITY);var r=this.items.length;do r--;while(r>=0&&i=0&&this.items[t].item!==e);t>=0&&this.items.splice(t,1)},e.DEFAULTPRIORITY=5,e}();t.PrioritizedList=i},447007:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryAfter=t.handleRetriesFor=void 0;t.handleRetriesFor=function(e){return new Promise(function t(i,r){try{i(e())}catch(e){e.retry&&e.retry instanceof Promise?e.retry.then(function(){return t(i,r)}).catch(function(e){return r(e)}):e.restart&&e.restart.isCallback?MathJax.Callback.After(function(){return t(i,r)},e.restart):r(e)}})};t.retryAfter=function(e){var t=Error("MathJax retry");throw t.retry=e,t}},462621:function(e,t){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CssStyles=void 0;var r=function(){function e(e){void 0===e&&(e=null),this.styles={},this.addStyles(e)}return Object.defineProperty(e.prototype,"cssText",{get:function(){return this.getStyleString()},enumerable:!1,configurable:!0}),e.prototype.addStyles=function(e){var t,r;if(e)try{for(var o=i(Object.keys(e)),n=o.next();!n.done;n=o.next()){var a=n.value;!this.styles[a]&&(this.styles[a]={}),Object.assign(this.styles[a],e[a])}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},e.prototype.removeStyles=function(){for(var e,t,r=[],o=0;o=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,o,n=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,i){if(i||2==arguments.length)for(var r,o=0,n=t.length;o1;)t.shift(),i.push(t.shift());return i}function l(e){var t,r,o=s(this.styles[e]);0===o.length&&o.push(""),1===o.length&&o.push(o[0]),2===o.length&&o.push(o[0]),3===o.length&&o.push(o[1]);try{for(var n=i(v.connect[e].children),a=n.next();!a.done;a=n.next()){var l=a.value;this.setStyle(this.childName(e,l),o.shift())}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}function c(e){var t,r,o=v.connect[e].children,n=[];try{for(var a=i(o),s=a.next();!s.done;s=a.next()){var l=s.value,c=this.styles[e+"-"+l];if(!c){delete this.styles[e];return}n.push(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}n[3]===n[1]&&(n.pop(),n[2]===n[0]&&(n.pop(),n[1]===n[0]&&n.pop())),this.styles[e]=n.join(" ")}function u(e){var t,r;try{for(var o=i(v.connect[e].children),n=o.next();!n.done;n=o.next()){var a=n.value;this.setStyle(this.childName(e,a),this.styles[e])}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}function m(e){var t,n,a=o([],r(v.connect[e].children),!1),s=this.styles[this.childName(e,a.shift())];try{for(var l=i(a),c=l.next();!c.done;c=l.next()){var u=c.value;if(this.styles[this.childName(e,u)]!==s){delete this.styles[e];return}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}this.styles[e]=s}var p={width:/^(?:[\d.]+(?:[a-z]+)|thin|medium|thick|inherit|initial|unset)$/,style:/^(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|unset)$/};function d(e){var t,r,o,n,a={width:"",style:"",color:""};try{for(var l=i(s(this.styles[e])),c=l.next();!c.done;c=l.next()){var u=c.value;u.match(p.width)&&""===a.width?a.width=u:u.match(p.style)&&""===a.style?a.style=u:a.color=u}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}try{for(var m=i(v.connect[e].children),d=m.next();!d.done;d=m.next()){var f=d.value;this.setStyle(this.childName(e,f),a[f])}}catch(e){o={error:e}}finally{try{d&&!d.done&&(n=m.return)&&n.call(m)}finally{if(o)throw o.error}}}function f(e){var t,r,o=[];try{for(var n=i(v.connect[e].children),a=n.next();!a.done;a=n.next()){var s=a.value,l=this.styles[this.childName(e,s)];l&&o.push(l)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}o.length?this.styles[e]=o.join(" "):delete this.styles[e]}var h={style:/^(?:normal|italic|oblique|inherit|initial|unset)$/,variant:RegExp("^(?:normal|none|inherit|initial|unset|common-ligatures|no-common-ligatures|discretionary-ligatures|no-discretionary-ligatures|historical-ligatures|no-historical-ligatures|contextual|no-contextual|(?:stylistic|character-variant|swash|ornaments|annotation)\\([^)]*\\)|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|ordinal|slashed-zero|jis78|jis83|jis90|jis04|simplified|traditional|full-width|proportional-width|ruby)$"),weight:/^(?:normal|bold|bolder|lighter|[1-9]00|inherit|initial|unset)$/,stretch:RegExp("^(?:normal|(?:(?:ultra|extra|semi)-)?condensed|(?:(?:semi|extra|ulta)-)?expanded|inherit|initial|unset)$"),size:RegExp("^(?:xx-small|x-small|small|medium|large|x-large|xx-large|larger|smaller|[d.]+%|[d.]+[a-z]+|inherit|initial|unset)(?:/(?:normal|[d.+](?:%|[a-z]+)?))?$")};function g(e){var t,o,n,a,l=s(this.styles[e]),c={style:"",variant:[],weight:"",stretch:"",size:"",family:"","line-height":""};try{for(var u=i(l),m=u.next();!m.done;m=u.next()){var p=m.value;c.family=p;try{for(var d=(n=void 0,i(Object.keys(h))),f=d.next();!f.done;f=d.next()){var g=f.value;if((Array.isArray(c[g])||""===c[g])&&p.match(h[g])){if("size"===g){var b=r(p.split(/\//),2),y=b[0],D=b[1];c[g]=y,D&&(c["line-height"]=D)}else""===c.size&&(Array.isArray(c[g])?c[g].push(p):c[g]=p)}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{m&&!m.done&&(o=u.return)&&o.call(u)}finally{if(t)throw t.error}}(function(e,t){var r,o;try{for(var n=i(v.connect[e].children),a=n.next();!a.done;a=n.next()){var s=a.value,l=this.childName(e,s);if(Array.isArray(t[s])){var c=t[s];c.length&&(this.styles[l]=c.join(" "))}else""!==t[s]&&(this.styles[l]=t[s])}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}})(e,c),delete this.styles[e]}function b(e){}var v=function(){function e(e){void 0===e&&(e=""),this.parse(e)}return Object.defineProperty(e.prototype,"cssText",{get:function(){var e,t,r=[];try{for(var o=i(Object.keys(this.styles)),n=o.next();!n.done;n=o.next()){var a=n.value,s=this.parentName(a);!this.styles[s]&&r.push(a+": "+this.styles[a]+";")}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r.join(" ")},enumerable:!1,configurable:!0}),e.prototype.set=function(t,i){for(t=this.normalizeName(t),this.setStyle(t,i),e.connect[t]&&!e.connect[t].combine&&(this.combineChildren(t),delete this.styles[t]);t.match(/-/)&&(t=this.parentName(t),e.connect[t]);){;e.connect[t].combine.call(this,t)}},e.prototype.get=function(e){return e=this.normalizeName(e),this.styles.hasOwnProperty(e)?this.styles[e]:""},e.prototype.setStyle=function(t,i){this.styles[t]=i,e.connect[t]&&e.connect[t].children&&e.connect[t].split.call(this,t),""===i&&delete this.styles[t]},e.prototype.combineChildren=function(t){var r,o,n=this.parentName(t);try{for(var a=i(e.connect[t].children),s=a.next();!s.done;s=a.next()){var l=s.value,c=this.childName(n,l);e.connect[c].combine.call(this,c)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},e.prototype.parentName=function(e){var t=e.replace(/-[^-]*$/,"");return e===t?"":t},e.prototype.childName=function(t,i){return i.match(/-/)?i:(e.connect[t]&&!e.connect[t].combine&&(i+=t.replace(/.*-/,"-"),t=this.parentName(t)),t+"-"+i)},e.prototype.normalizeName=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})},e.prototype.parse=function(e){void 0===e&&(e="");var t=this.constructor.pattern;this.styles={};for(var i=e.replace(t.comment,"").split(t.style);i.length>1;){var o=r(i.splice(0,3),3),n=o[0],a=o[1],s=o[2];if(n.match(/[^\s\n]/))return;this.set(a,s)}},e.pattern={style:/([-a-z]+)[\s\n]*:[\s\n]*((?:'[^']*'|"[^"]*"|\n|.)*?)[\s\n]*(?:;|$)/g,comment:/\/\*[^]*?\*\//g},e.connect={padding:{children:n,split:l,combine:c},border:{children:n,split:u,combine:m},"border-top":{children:a,split:d,combine:f},"border-right":{children:a,split:d,combine:f},"border-bottom":{children:a,split:d,combine:f},"border-left":{children:a,split:d,combine:f},"border-width":{children:n,split:l,combine:null},"border-style":{children:n,split:l,combine:null},"border-color":{children:n,split:l,combine:null},font:{children:["style","variant","weight","stretch","line-height","size","family"],split:g,combine:b}},e}();t.Styles=v},343255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.px=t.emRounded=t.em=t.percent=t.length2em=t.MATHSPACE=t.RELUNITS=t.UNITS=t.BIGDIMEN=void 0,t.BIGDIMEN=1e6,t.UNITS={px:1,in:96,cm:96/2.54,mm:96/25.4},t.RELUNITS={em:1,ex:.431,pt:.1,pc:1.2,mu:1/18},t.MATHSPACE={veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18,thin:.04,medium:.06,thick:.1,normal:1,big:2,small:1/Math.sqrt(2),infinity:t.BIGDIMEN};t.length2em=function(e,i,r,o){if(void 0===i&&(i=0),void 0===r&&(r=1),void 0===o&&(o=16),"string"!=typeof e&&(e=String(e)),""===e||null==e)return i;if(t.MATHSPACE[e])return t.MATHSPACE[e];var n=e.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);if(!n)return i;var a=parseFloat(n[1]||"1"),s=n[2];return t.UNITS.hasOwnProperty(s)?a*t.UNITS[s]/o/r:t.RELUNITS.hasOwnProperty(s)?a*t.RELUNITS[s]:"%"===s?a/100*i:a*i};t.percent=function(e){return(100*e).toFixed(1).replace(/\.?0+$/,"")+"%"};t.em=function(e){return .001>Math.abs(e)?"0":e.toFixed(3).replace(/\.?0+$/,"")+"em"};t.emRounded=function(e,t){return(void 0===t&&(t=16),.001>Math.abs(e=(Math.round(e*t)+.05)/t))?"0em":e.toFixed(3).replace(/\.?0+$/,"")+"em"};t.px=function(e,i,r){return(void 0===i&&(i=-t.BIGDIMEN),void 0===r&&(r=16),e*=r,i&&eMath.abs(e))?"0":e.toFixed(1).replace(/\.0$/,"")+"px"}},963146:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=t.sum=void 0;t.sum=function(e){return e.reduce(function(e,t){return e+t},0)};t.max=function(e){return e.reduce(function(e,t){return Math.max(e,t)},0)}},169882:function(e,t){"use strict";var i=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,o,n=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,i){if(i||2==arguments.length)for(var r,o=0,n=t.length;o0))return s;if(!p.revisit&&(e=m.remainder),!p.toContinue)break}}if(a<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(e,t){if(t){if(Array.isArray(t))for(var i=0;i":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(e){return o.patterns.findObserveGroups(e,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(e){return o.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(e){return o.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\color{","","","}")},"\\color{(...)}{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\color{","","","}","{","","","}")||o.patterns.findObserveGroups(e,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\ce{","","","}")},"\\pu{(...)}":function(e){return o.patterns.findObserveGroups(e,"\\pu{","","","}")},oxidation$:/^(?:[+-][IVX]+|(?:\\pm|\$\\pm\$|\+-|\+\/-)\s*0)$/,"d-oxidation$":/^(?:[+-]?[IVX]+|(?:\\pm|\$\\pm\$|\+-|\+\/-)\s*0)$/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(e){if(t=e.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/))return{match_:t[0],remainder:e.substr(t[0].length)};var t,i=o.patterns.findObserveGroups(e,"","$","$","");return i&&(t=i.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/))?{match_:t[0],remainder:e.substr(t[0].length)}:null},amount2:function(e){return this.amount(e)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(e){if(e.match(/^\([a-z]+\)$/))return null;var t=e.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return t?{match_:t[0],remainder:e.substr(t[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(e,t,i,r,o,n,a,s,l,c){var u=function(e,t){if("string"==typeof t)return 0!==e.indexOf(t)?null:t;var i=e.match(t);return i?i[0]:null},m=u(e,t);if(null===m||null===(m=u(e=e.substr(m.length),i)))return null;var p=function(e,t,i){for(var r=0;t2?{match_:r.slice(1),remainder:t.substr(r[0].length)}:{match_:r[1]||r[0],remainder:t.substr(r[0].length)};return null}},actions:{"a=":function(e,t){e.a=(e.a||"")+t},"b=":function(e,t){e.b=(e.b||"")+t},"p=":function(e,t){e.p=(e.p||"")+t},"o=":function(e,t){e.o=(e.o||"")+t},"o=+p1":function(e,t,i){e.o=(e.o||"")+i},"q=":function(e,t){e.q=(e.q||"")+t},"d=":function(e,t){e.d=(e.d||"")+t},"rm=":function(e,t){e.rm=(e.rm||"")+t},"text=":function(e,t){e.text_=(e.text_||"")+t},insert:function(e,t,i){return{type_:i}},"insert+p1":function(e,t,i){return{type_:i,p1:t}},"insert+p1+p2":function(e,t,i){return{type_:i,p1:t[0],p2:t[1]}},copy:function(e,t){return t},write:function(e,t,i){return i},rm:function(e,t){return{type_:"rm",p1:t}},text:function(e,t){return o.go(t,"text")},"tex-math":function(e,t){return o.go(t,"tex-math")},"tex-math tight":function(e,t){return o.go(t,"tex-math tight")},bond:function(e,t,i){return{type_:"bond",kind_:i||t}},"color0-output":function(e,t){return{type_:"color0",color:t}},ce:function(e,t){return o.go(t,"ce")},pu:function(e,t){return o.go(t,"pu")},"1/2":function(e,t){var i=[];t.match(/^[+\-]/)&&(i.push(t.substr(0,1)),t=t.substr(1));var r=t.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return r[1]=r[1].replace(/\$/g,""),i.push({type_:"frac",p1:r[1],p2:r[2]}),r[3]&&(r[3]=r[3].replace(/\$/g,""),i.push({type_:"tex-math",p1:r[3]})),i},"9,9":function(e,t){return o.go(t,"9,9")}},stateMachines:{tex:{transitions:r({empty:{0:{action_:"copy"}},"\\ce{(...)}":{0:{action_:[{type_:"write",option:"{"},"ce",{type_:"write",option:"}"}]}},"\\pu{(...)}":{0:{action_:[{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}]}},else:{0:{action_:"copy"}}}),actions:{}},ce:{transitions:r({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{action_:[]}},space:{a:{action_:[],nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". __* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{action_:[]}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}^":{"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"tinySkip"}],nextState:"1"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\pu{(...)}":{"*":{action_:["output",{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}],nextState:"3"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(e,t){var i;if((e.d||"").match(/^[1-9][0-9]*$/)){var r=e.d;e.d=void 0,(i=this.output(e)).push({type_:"tinySkip"}),e.b=r}else i=this.output(e);return o.actions["o="](e,t),i},"d= kv":function(e,t){e.d=t,e.dType="kv"},"charge or bond":function(e,t){if(e.beginsWithBond){var i=[];return o.concatArray(i,this.output(e)),o.concatArray(i,o.actions.bond(e,t,"-")),i}e.d=t},"- after o/d":function(e,t,i){var r=o.patterns.match_("orbital",e.o||""),n=o.patterns.match_("one lowercase greek letter $",e.o||""),a=o.patterns.match_("one lowercase latin letter $",e.o||""),s=o.patterns.match_("$one lowercase latin letter$ $",e.o||""),l="-"===t&&(r&&""===r.remainder||n||a||s);l&&!e.a&&!e.b&&!e.p&&!e.d&&!e.q&&!r&&a&&(e.o="$"+e.o+"$");var c=[];return l?(o.concatArray(c,this.output(e)),c.push({type_:"hyphen"})):(r=o.patterns.match_("digits",e.d||""),i&&r&&""===r.remainder?(o.concatArray(c,o.actions["d="](e,t)),o.concatArray(c,this.output(e))):(o.concatArray(c,this.output(e)),o.concatArray(c,o.actions.bond(e,t,"-")))),c},"a to o":function(e){e.o=e.a,e.a=void 0},"sb=true":function(e){e.sb=!0},"sb=false":function(e){e.sb=!1},"beginsWithBond=true":function(e){e.beginsWithBond=!0},"beginsWithBond=false":function(e){e.beginsWithBond=!1},"parenthesisLevel++":function(e){e.parenthesisLevel++},"parenthesisLevel--":function(e){e.parenthesisLevel--},"state of aggregation":function(e,t){return{type_:"state of aggregation",p1:o.go(t,"o")}},comma:function(e,t){var i=t.replace(/\s*$/,"");return i!==t&&0===e.parenthesisLevel?{type_:"comma enumeration L",p1:i}:{type_:"comma enumeration M",p1:i}},output:function(e,t,i){var r;if(e.r){var n=void 0;n="M"===e.rdt?o.go(e.rd,"tex-math"):"T"===e.rdt?[{type_:"text",p1:e.rd||""}]:o.go(e.rd,"ce");var a=void 0;a="M"===e.rqt?o.go(e.rq,"tex-math"):"T"===e.rqt?[{type_:"text",p1:e.rq||""}]:o.go(e.rq,"ce"),r={type_:"arrow",r:e.r,rd:n,rq:a}}else if(r=[],e.a||e.b||e.p||e.o||e.q||e.d||i)e.sb&&r.push({type_:"entitySkip"}),e.o||e.q||e.d||e.b||e.p||2===i?e.o||e.q||e.d||!e.b&&!e.p?e.o&&"kv"===e.dType&&o.patterns.match_("d-oxidation$",e.d||"")?e.dType="oxidation":e.o&&"kv"===e.dType&&!e.q&&(e.dType=void 0):(e.o=e.a,e.d=e.b,e.q=e.p,e.a=e.b=e.p=void 0):(e.o=e.a,e.a=void 0),r.push({type_:"chemfive",a:o.go(e.a,"a"),b:o.go(e.b,"bd"),p:o.go(e.p,"pq"),o:o.go(e.o,"o"),q:o.go(e.q,"pq"),d:o.go(e.d,"oxidation"===e.dType?"oxidation":"bd"),dType:e.dType});for(var s in e)"parenthesisLevel"!==s&&"beginsWithBond"!==s&&delete e[s];return r},"oxidation-output":function(e,t){var i=["{"];return o.concatArray(i,o.go(t,"oxidation")),i.push("}"),i},"frac-output":function(e,t){return{type_:"frac-ce",p1:o.go(t[0],"ce"),p2:o.go(t[1],"ce")}},"overset-output":function(e,t){return{type_:"overset",p1:o.go(t[0],"ce"),p2:o.go(t[1],"ce")}},"underset-output":function(e,t){return{type_:"underset",p1:o.go(t[0],"ce"),p2:o.go(t[1],"ce")}},"underbrace-output":function(e,t){return{type_:"underbrace",p1:o.go(t[0],"ce"),p2:o.go(t[1],"ce")}},"color-output":function(e,t){return{type_:"color",color1:t[0],color2:o.go(t[1],"ce")}},"r=":function(e,t){e.r=t},"rdt=":function(e,t){e.rdt=t},"rd=":function(e,t){e.rd=t},"rqt=":function(e,t){e.rqt=t},"rq=":function(e,t){e.rq=t},operator:function(e,t,i){return{type_:"operator",kind_:i||t}}}},a:{transitions:r({empty:{"*":{action_:[]}},"1/2$":{0:{action_:"1/2"}},else:{0:{action_:[],nextState:"1",revisit:!0}},"${(...)}$__$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:r({empty:{"*":{action_:[]}},"1/2$":{0:{action_:"1/2"}},else:{0:{action_:[],nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\pu{(...)}":{"*":{action_:[{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}]}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$__$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:[{type_:"write",option:"{"},"text",{type_:"write",option:"}"}]}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:r({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$__$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\pu{(...)}":{"*":{action_:["output",{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(e){if(e.text_){var t={type_:"text",p1:e.text_};for(var i in e)delete e[i];return t}}}},pq:{transitions:r({empty:{"*":{action_:[]}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{action_:[],nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{action_:[],nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{action_:[],nextState:"!f",revisit:!0}},"${(...)}$__$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}":{"*":{action_:"color-output"}},"\\color{(...)}":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\pu{(...)}":{"*":{action_:[{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(e,t){return{type_:"state of aggregation subscript",p1:o.go(t,"o")}},"color-output":function(e,t){return{type_:"color",color1:t[0],color2:o.go(t[1],"pq")}}}},bd:{transitions:r({empty:{"*":{action_:[]}},x$:{0:{action_:[],nextState:"!f",revisit:!0}},formula$:{0:{action_:[],nextState:"f",revisit:!0}},else:{0:{action_:[],nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$__$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}":{"*":{action_:"color-output"}},"\\color{(...)}":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\pu{(...)}":{"*":{action_:[{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(e,t){return{type_:"color",color1:t[0],color2:o.go(t[1],"bd")}}}},oxidation:{transitions:r({empty:{"*":{action_:"roman-numeral"}},"pm-operator":{"*":{action_:{type_:"o=+p1",option:"\\pm"}}},else:{"*":{action_:"o="}}}),actions:{"roman-numeral":function(e){return{type_:"roman numeral",p1:e.o||""}}}},"tex-math":{transitions:r({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"\\pu{(...)}":{"*":{action_:["output",{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(e){if(e.o){var t={type_:"tex-math",p1:e.o};for(var i in e)delete e[i];return t}}}},"tex-math tight":{transitions:r({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"\\pu{(...)}":{"*":{action_:["output",{type_:"write",option:"{"},"pu",{type_:"write",option:"}"}]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(e,t){e.o=(e.o||"")+"{"+t+"}"},output:function(e){if(e.o){var t={type_:"tex-math",p1:e.o};for(var i in e)delete e[i];return t}}}},"9,9":{transitions:r({empty:{"*":{action_:[]}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:r({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{action_:[]}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(e,t){var i=[];return"+-"===t[0]||"+/-"===t[0]?i.push("\\pm "):t[0]&&i.push(t[0]),t[1]&&(o.concatArray(i,o.go(t[1],"pu-9,9")),t[2]&&(t[2].match(/[,.]/)?o.concatArray(i,o.go(t[2],"pu-9,9")):i.push(t[2])),(t[3]||t[4])&&("e"===t[3]||"*"===t[4]?i.push({type_:"cdot"}):i.push({type_:"times"}))),t[5]&&i.push("10^{"+t[5]+"}"),i},"number^":function(e,t){var i=[];return"+-"===t[0]||"+/-"===t[0]?i.push("\\pm "):t[0]&&i.push(t[0]),o.concatArray(i,o.go(t[1],"pu-9,9")),i.push("^{"+t[2]+"}"),i},operator:function(e,t,i){return{type_:"operator",kind_:i||t}},space:function(){return{type_:"pu-space-1"}},output:function(e){var t,i=o.patterns.match_("{(...)}",e.d||"");i&&""===i.remainder&&(e.d=i.match_);var r=o.patterns.match_("{(...)}",e.q||"");if(r&&""===r.remainder&&(e.q=r.match_),e.d&&(e.d=e.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.d=e.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),e.q){e.q=e.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.q=e.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var n={d:o.go(e.d,"pu"),q:o.go(e.q,"pu")};"//"===e.o?t={type_:"pu-frac",p1:n.d,p2:n.q}:(t=n.d,n.d.length>1||n.q.length>1?t.push({type_:" / "}):t.push({type_:"/"}),o.concatArray(t,n.q))}else t=o.go(e.d,"pu-2");for(var a in e)delete e[a];return t}}},"pu-2":{transitions:r({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(e,t){e.rm+="^{"+t+"}"},space:function(){return{type_:"pu-space-2"}},output:function(e){var t=[];if(e.rm){var i=o.patterns.match_("{(...)}",e.rm||"");t=i&&""===i.remainder?o.go(i.match_,"pu"):{type_:"rm",p1:e.rm}}for(var r in e)delete e[r];return t}}},"pu-9,9":{transitions:r({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(e){var t=[];if(e.text_=e.text_||"",e.text_.length>4){var i=e.text_.length%3;0===i&&(i=3);for(var r=e.text_.length-3;r>0;r-=3)t.push(e.text_.substr(r,3)),t.push({type_:"1000 separator"});t.push(e.text_.substr(0,i)),t.reverse()}else t.push(e.text_);for(var o in e)delete e[o];return t},"output-o":function(e){var t=[];if(e.text_=e.text_||"",e.text_.length>4){var i=e.text_.length-3,r=void 0;for(r=0;r"===e.r||"<=>>"===e.r||"<<=>"===e.r||"<--\x3e"===e.r?(s="\\long"+s,a.rd&&(s="\\overset{"+a.rd+"}{"+s+"}"),a.rq&&(s="<--\x3e"===e.r?"\\underset{\\lower2mu{"+a.rq+"}}{"+s+"}":"\\underset{\\lower6mu{"+a.rq+"}}{"+s+"}"),s=" {}\\mathrel{"+s+"}{} "):(a.rq&&(s+="[{"+a.rq+"}]"),s+="{"+a.rd+"}",s=" {}\\mathrel{\\x"+s+"}{} "):s=" {}\\mathrel{\\long"+s+"}{} ",t=s;break;case"operator":t=n._getOperator(e.kind_);break;case"space":t=" ";break;case"tinySkip":t="\\mkern2mu";break;case"entitySkip":case"pu-space-1":t="~";break;case"pu-space-2":t="\\mkern3mu ";break;case"1000 separator":t="\\mkern2mu ";break;case"commaDecimal":t="{,}";break;case"comma enumeration L":t="{"+e.p1+"}\\mkern6mu ";break;case"comma enumeration M":t="{"+e.p1+"}\\mkern3mu ";break;case"comma enumeration S":t="{"+e.p1+"}\\mkern1mu ";break;case"hyphen":t="\\text{-}";break;case"addition compound":t="\\,{\\cdot}\\,";break;case"electron dot":t="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":t="{\\times}";break;case"prime":t="\\prime ";break;case"cdot":t="\\cdot ";break;case"tight cdot":t="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":t="\\times ";break;case"circa":t="{\\sim}";break;case"^":t="uparrow";break;case"v":t="downarrow";break;case"ellipsis":t="\\ldots ";break;case"/":t="/";break;case" / ":t="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return t},_getArrow:function(e){switch(e){case"->":case"→":case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<--\x3e":return"leftrightarrows";case"<=>":case"⇌":return"rightleftharpoons";case"<=>>":return"Rightleftharpoons";case"<<=>":return"Leftrightharpoons";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(e){switch(e){case"-":case"1":return"{-}";case"=":case"2":return"{=}";case"#":case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\rlap{\\lower.1em{-}}\\raise.1em{\\tripledash}}";case"~=":case"~--":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"-~-":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{-}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(e){switch(e){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":case"$\\approx$":return" {}\\approx{} ";case"v":case"(v)":return" \\downarrow{} ";case"^":case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};function a(e){}},929348:function(e){"use strict";var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};if("abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},o)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,o){for(var n,a,s=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l-1e3&&e<1e3||w.call(/e/,t))return t;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-E(-e):E(e);if(r!==e){var o=String(r),n=v.call(t,o.length+1);return y.call(o,i,"$&_")+"."+y.call(y.call(n,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,i,"$&_")}var M=i(726016),R=M.custom,N=Z(R)?R:null,P={__proto__:null,double:'"',single:"'"},j={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function L(e,t,i){var r=P[i.quoteStyle||t];return r+e+r}e.exports=function e(t,r,o,s){var l=r||{};if(K(l,"quoteStyle")&&!K(P,l.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(K(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!K(l,"customInspect")||l.customInspect;if("boolean"!=typeof h&&"symbol"!==h)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(l,"indent")&&null!==l.indent&&" "!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var D=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,i){if(t.length>i.maxStringLength){var r=t.length-i.maxStringLength;return e(v.call(t,0,i.maxStringLength),i)+("... "+r+" more character")+(r>1?"s":"")}var o=j[i.quoteStyle||"single"];return o.lastIndex=0,L(y.call(y.call(t,o,"\\$1"),/[\x00-\x1f]/g,W),"single",i)}(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return D?I(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return D?I(t,E):E}var S=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=S&&S>0&&"object"==typeof t)return G(t)?"[Array]":"[Object]";var R=function(e,t){var i;if(" "===e.indent)i=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;i=z.call(Array(e.indent+1)," ")}return{base:i,prev:z.call(Array(t+1),i)}}(l,o);if(void 0===s)s=[];else if(V(s,t)>=0)return"[Circular]";function H(t,i,r){if(i&&(s=_.call(s)).push(i),r){var n={depth:l.depth};return K(l,"quoteStyle")&&(n.quoteStyle=l.quoteStyle),e(t,n,o+1,s)}return e(t,l,o+1,s)}if("function"==typeof t&&!q(t)){var et=function(e){if(e.name)return e.name;var t=b.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ei=ee(t,H);return"[Function"+(et?": "+et:" (anonymous)")+"]"+(ei.length>0?" { "+z.call(ei,", ")+" }":"")}if(Z(t)){var er=A?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(t);return"object"!=typeof t||A?er:X(er)}if(function(e){return!!e&&"object"==typeof e&&(!!("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var eo="<"+x.call(String(t.nodeName)),en=t.attributes||[],ea=0;ea"}if(G(t)){if(0===t.length)return"[]";var es=ee(t,H);return R&&!function(e){for(var t=0;t=0)return!1;return!0}(es)?"["+J(es,R)+"]":"[ "+z.call(es,", ")+" ]"}if(function(e){return"[object Error]"===$(e)&&U(e)}(t)){var el=ee(t,H);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===el.length?"["+String(t)+"]":"{ ["+String(t)+"] "+z.call(el,", ")+" }":"{ ["+String(t)+"] "+z.call(k.call("[cause]: "+H(t.cause),el),", ")+" }"}if("object"==typeof t&&h){if(N&&"function"==typeof t[N]&&M)return M(t,{depth:S-o});if("symbol"!==h&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!n||!e||"object"!=typeof e)return!1;try{n.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ec=[];return a&&a.call(t,function(e,i){ec.push(H(i,t,!0)+" => "+H(e,t))}),Q("Map",n.call(t),ec,R)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{n.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var eu=[];return u&&u.call(t,function(e){eu.push(H(e,t))}),Q("Set",c.call(t),eu,R)}if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{m.call(e,m);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return"[object Number]"===$(e)&&U(e)}(t))return X(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return X(H(C.call(t)));if(function(e){return"[object Boolean]"===$(e)&&U(e)}(t))return X(f.call(t));if(function(e){return"[object String]"===$(e)&&U(e)}(t))return X(H(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==i.g&&t===i.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===$(e)&&U(e)}(t)&&!q(t)){var em=ee(t,H),ep=B?B(t)===Object.prototype:t instanceof Object||t.constructor===Object,ed=t instanceof Object?"":"null prototype",ef=!ep&&T&&Object(t)===t&&T in t?v.call($(t),8,-1):ed?"Object":"",eh=(ep||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ef||ed?"["+z.call(k.call([],ef||[],ed||[]),": ")+"] ":"");return 0===em.length?eh+"{}":R?eh+"{"+J(em,R)+"}":eh+"{ "+z.call(em,", ")+" }"}return String(t)};function U(e){return!T||!("object"==typeof e&&(T in e||void 0!==e[T]))}function G(e){return"[object Array]"===$(e)&&U(e)}function q(e){return"[object RegExp]"===$(e)&&U(e)}function Z(e){if(A)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!F)return!1;try{return F.call(e),!0}catch(e){}return!1}var H=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return H.call(e,t)}function $(e){return h.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,r=e.length;i=0}},{key:"isInsideSpecificTag",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e;if(i&&this.isSpecificTag(r,t))return!0;for(;r.parentNode;)if(r=r.parentNode,this.isSpecificTag(r,t))return!0;return!1}},{key:"canIgnoreNode",value:function(e){var t=e;if(t&&(this.isSpecificTag(t,this.ignoredTags)||this.isContentEditable(t)))return!0;for(;t.parentNode;)if((t=t.parentNode)&&(this.isSpecificTag(t,this.ignoredTags)||this.isContentEditable(t)))return!0;return!1}},{key:"isFirstTextChild",value:function(e,t){for(var i=e.childNodes,r=0;r-1;r--){var o=i[r];if(o.nodeType!==Node.COMMENT_NODE&&o.textContent)return o===t}return!1}},{key:"spacingNodeByXPath",value:function(e,t){if(!(!(t instanceof Node)||t instanceof DocumentFragment))for(var i,r,o=document.evaluate(e,t,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),n=o.snapshotLength-1;n>-1;--n){if(i=o.snapshotItem(n),this.isSpecificTag(i.parentNode,this.presentationalTags)&&!this.isInsideSpecificTag(i.parentNode,this.ignoredTags)){var a=i.parentNode;if(a.previousSibling){var s=a.previousSibling;if(s.nodeType===Node.TEXT_NODE){var l=s.data.substr(-1)+i.data.toString().charAt(0),c=this.spacing(l);l!==c&&(s.data="".concat(s.data," "))}}if(a.nextSibling){var u=a.nextSibling;if(u.nodeType===Node.TEXT_NODE){var m=i.data.substr(-1)+u.data.toString().charAt(0),p=this.spacing(m);m!==p&&(u.data=" ".concat(u.data))}}}if(this.canIgnoreNode(i)){r=i;continue}var d=this.spacing(i.data);if(i.data!==d&&(i.data=d),r){if(i.nextSibling&&i.nextSibling.nodeName.search(this.spaceLikeTags)>=0){r=i;continue}var f=i.data.toString().substr(-1)+r.data.toString().substr(0,1);if(this.spacing(f)!==f){for(var h=r;h.parentNode&&-1===h.nodeName.search(this.spaceSensitiveTags)&&this.isFirstTextChild(h.parentNode,h);)h=h.parentNode;for(var g=i;g.parentNode&&-1===g.nodeName.search(this.spaceSensitiveTags)&&this.isLastTextChild(g.parentNode,g);)g=g.parentNode;if(g.nextSibling&&g.nextSibling.nodeName.search(this.spaceLikeTags)>=0){r=i;continue}if(-1===g.nodeName.search(this.blockTags)){if(-1===h.nodeName.search(this.spaceSensitiveTags))-1===h.nodeName.search(this.ignoredTags)&&-1===h.nodeName.search(this.blockTags)&&(r.previousSibling?-1===r.previousSibling.nodeName.search(this.spaceLikeTags)&&(r.data=" ".concat(r.data)):!this.canIgnoreNode(r)&&(r.data=" ".concat(r.data)));else if(-1===g.nodeName.search(this.spaceSensitiveTags))i.data="".concat(i.data," ");else{var b=document.createElement("pangu");b.innerHTML=" ",h.previousSibling?-1===h.previousSibling.nodeName.search(this.spaceLikeTags)&&h.parentNode.insertBefore(b,h):h.parentNode.insertBefore(b,h),!b.previousElementSibling&&b.parentNode&&b.parentNode.removeChild(b)}}}}r=i}}},{key:"spacingNode",value:function(e){var t=".//*/text()[normalize-space(.)]";e.children&&0===e.children.length&&(t=".//text()[normalize-space(.)]"),this.spacingNodeByXPath(t,e)}},{key:"spacingElementById",value:function(e){this.spacingNodeByXPath('id("'.concat(e,'")//text()'),document)}},{key:"spacingElementByClassName",value:function(e){this.spacingNodeByXPath('//*[contains(concat(" ", normalize-space(@class), " "), "'.concat(e,'")]//text()'),document)}},{key:"spacingElementByTagName",value:function(e){this.spacingNodeByXPath("//".concat(e,"//text()"),document)}},{key:"spacingPageTitle",value:function(){this.spacingNodeByXPath("/html/head/title/text()",document)}},{key:"spacingPageBody",value:function(){var e="/html/body//*/text()[normalize-space(.)]";["script","style","textarea"].forEach(function(t){e="".concat(e,'[translate(name(..),"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")!="').concat(t,'"]')}),this.spacingNodeByXPath(e,document)}},{key:"spacingPage",value:function(){this.spacingPageTitle(),this.spacingPageBody()}},{key:"autoSpacingPage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3;if(document.body instanceof Node&&!this.isAutoSpacingPageExecuted){this.isAutoSpacingPageExecuted=!0;var r=this,o=function(e){var t=this,i=arguments,r=!1;return function(){if(!r)r=!0,e.apply(t,i)}}(function(){r.spacingPage()}),n=document.getElementsByTagName("video");if(0===n.length)setTimeout(function(){o()},e);else for(var a=0;a=i?(e.apply(r,o),a=s):n=setTimeout(function(){e.apply(r,o)},t)}}(function(){for(;l.length;){var e=l.shift();e&&r.spacingNode(e)}},t,{maxWait:i});new MutationObserver(function(e,t){e.forEach(function(e){switch(e.type){case"childList":e.addedNodes.forEach(function(e){e.nodeType===Node.ELEMENT_NODE?l.push(e):e.nodeType===Node.TEXT_NODE&&l.push(e.parentNode)});break;case"characterData":var t=e.target;t.nodeType===Node.TEXT_NODE&&l.push(t.parentNode)}}),c()}).observe(document.body,{characterData:!0,childList:!0,subtree:!0})}}}],r(i.prototype,a),l}(a),l=new s;e.exports=l,e.exports.default=l,e.exports.Pangu=s})?r.apply(t,o):r)&&(e.exports=n)},function(e,t,i){var r,o,n,a;a=0,o=[],void 0!==(n="function"==typeof(r=function(){"use strict";function t(e){return(t="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})(e)}function i(e,t){for(var i=0;i])([A-Za-z0-9])"),"g"),y=RegExp("([A-Za-z0-9])([\\+\\-\\*\\/=&\\|<>])([".concat(r,"])"),"g"),D=/([/]) ([a-z\-_\./]+)/g,x=/([/\.])([A-Za-z\-_\./]+) ([/])/g,w=RegExp("([".concat(r,"])([\\(\\[\\{<>“])"),"g"),k=RegExp("([\\)\\]\\}<>”])([".concat(r,"])"),"g"),z=/([\(\[\{<\u201c]+)[ ]*(.+?)[ ]*([\)\]\}>\u201d]+)/,_=RegExp("([A-Za-z0-9".concat(r,"])[ ]*([“])([A-Za-z0-9").concat(r,"\\-_ ]+)([”])"),"g"),E=RegExp("([“])([A-Za-z0-9".concat(r,"\\-_ ]+)([”])[ ]*([A-Za-z0-9").concat(r,"])"),"g"),C=/([A-Za-z0-9])([\(\[\{])/g,S=/([\)\]\}])([A-Za-z0-9])/g,F=RegExp("([".concat(r,"])([A-Za-zͰ-Ͽ0-9@\\$%\\^&\\*\\-\\+\\\\=\\|/\xa1-\xff⅐-↏✀—➿])"),"g"),A=RegExp("([A-Za-zͰ-Ͽ0-9~\\$%\\^&\\*\\-\\+\\\\=\\|/!;:,\\.\\?\xa1-\xff⅐-↏✀—➿])([".concat(r,"])"),"g"),T=/(%)([A-Za-z])/g,O=/([ ]*)([\u00b7\u2022\u2027])([ ]*)/g,B=function(){var e,r,B;function I(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,I),this.version="4.0.7"}return e=I,r=[{key:"convertToFullwidth",value:function(e){return e.replace(/~/g,"~").replace(/!/g,"!").replace(/;/g,";").replace(/:/g,":").replace(/,/g,",").replace(/\./g,"。").replace(/\?/g,"?")}},{key:"spacing",value:function(e){if("string"!=typeof e)return console.warn("spacing(text) only accepts string but got ".concat(t(e))),e;if(e.length<=1||!o.test(e))return e;var i=this,r=e;return r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r.replace(n,function(e,t,r,o){var n=i.convertToFullwidth(r);return"".concat(t).concat(n).concat(o)})).replace(a,function(e,t,r){var o=i.convertToFullwidth(r);return"".concat(t).concat(o)})).replace(s,"$1 $2")).replace(l,"$1:$2")).replace(c,"$1 $2")).replace(u,"$1 $2")).replace(m,"$1$2$3")).replace(p,"$1 $2")).replace(d,"$1 $2")).replace(f,"$1's")).replace(h,"$1 $2$3$4 $5")).replace(g,"$1 $2")).replace(b,"$1 $3")).replace(v,"$1 $2 $3")).replace(y,"$1 $2 $3")).replace(D,"$1$2")).replace(x,"$1$2$3")).replace(w,"$1 $2")).replace(k,"$1 $2")).replace(z,"$1$2$3")).replace(_,"$1 $2$3$4")).replace(E,"$1$2$3 $4")).replace(C,"$1 $2")).replace(S,"$1 $2")).replace(F,"$1 $2")).replace(A,"$1 $2")).replace(T,"$1 $2")).replace(O,"・")}},{key:"spacingText",value:function(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};try{t=this.spacing(e)}catch(e){i(e);return}i(null,t)}},{key:"spacingTextSync",value:function(e){return this.spacing(e)}}],i(e.prototype,r),I}(),I=new B;e.exports=I,e.exports.default=I,e.exports.Pangu=B})?r.apply(t,o):r)&&(e.exports=n)}])},e.exports=i()},355006:function(e,t,i){var r,o,n,a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof n?new n(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));w+=x.value.length,x=x.next){;var k,z=x.value;if(i.length>t.length)return;if(!(z instanceof n)){var _=1;if(b){if(!(k=a(D,w,t,g))||k.index>=t.length)break;var E=k.index,C=k.index+k[0].length,S=w;for(S+=x.value.length;E>=S;)S+=(x=x.next).value.length;if(S-=x.value.length,w=S,x.value instanceof n)continue;for(var F=x;F!==i.tail&&(Su.reach&&(u.reach=B);var I=x.prev;if(T&&(I=l(i,I,T),w+=T.length),function(e,t,i){for(var r=t.next,o=0;o1){var M={cause:m+","+d,reach:B};e(t,i,r,x.prev,w,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],i=e.head.next;i!==e.tail;)t.push(i.value),i=i.next;return t}(c)},hooks:{all:{},add:function(e,t){var i=o.hooks.all;i[e]=i[e]||[],i[e].push(t)},run:function(e,t){var i=o.hooks.all[e];if(!!i&&!!i.length)for(var r,n=0;r=i[n++];)r(t)}},Token:n};function n(e,t,i,r){this.type=e,this.content=t,this.alias=i,this.length=0|(r||"").length}function a(e,t,i,r){e.lastIndex=t;var o=e.exec(i);if(o&&r&&o[1]){var n=o[1].length;o.index+=n,o[0]=o[0].slice(n)}return o}e.Prism=o,n.stringify=function e(t,i){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,i)}),r}var n={type:t.type,content:e(t.content,i),tag:"span",classes:["token",t.type],attributes:{},language:i},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(n.classes,a):n.classes.push(a)),o.hooks.run("wrap",n);var s="";for(var l in n.attributes)s+=" "+l+'="'+(n.attributes[l]||"").replace(/"/g,""")+'"';return"<"+n.tag+' class="'+n.classes.join(" ")+'"'+s+">"+n.content+""};function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,i){var r=t.next,o={value:i,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}if(!e.document)return e.addEventListener?(!o.disableWorkerMessageHandler&&e.addEventListener("message",function(t){var i=JSON.parse(t.data),r=i.language,n=i.code,a=i.immediateClose;e.postMessage(o.highlight(n,o.languages[r],r)),a&&e.close()},!1),o):o;var c=o.util.currentScript();function u(){!o.manual&&o.highlightAll()}if(c&&(o.filename=c.src,c.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var m=document.readyState;"loading"===m||"interactive"===m&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=a),void 0!==i.g&&(i.g.Prism=a),a.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var i={};i["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},i.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:i}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(r=a).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+o.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css,(n=r.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css")),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|")+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,!function(){if(void 0!==a&&"undefined"!=typeof document){!Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",i="loading",r="loaded",o="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+i+'"])';a.hooks.add("before-highlightall",function(e){e.selector+=", "+o}),a.hooks.add("before-sanity-check",function(n){var s=n.element;if(s.matches(o)){n.code="",s.setAttribute(t,i);var l,c,u,m,p=s.appendChild(document.createElement("CODE"));p.textContent="Loading…";var d=s.getAttribute("data-src"),f=n.language;if("none"===f){var h=(/\.(\w+)$/.exec(d)||[,"none"])[1];f=e[h]||h}a.util.setLanguage(p,f),a.util.setLanguage(s,f);var g=a.plugins.autoloader;g&&g.loadLanguages(f),l=d,c=function(e){s.setAttribute(t,r);var i=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var i=Number(t[1]),r=t[2],o=t[3];return r?o?[i,Number(o)]:[i,void 0]:[i,i]}}(s.getAttribute("data-range"));if(i){var o=e.split(/\r\n?|\n/g),n=i[0],l=null==i[1]?o.length:i[1];n<0&&(n+=o.length),n=Math.max(0,Math.min(n-1,o.length)),l<0&&(l+=o.length),l=Math.max(0,Math.min(l,o.length)),e=o.slice(n,l).join("\n"),!s.hasAttribute("data-start")&&s.setAttribute("data-start",String(n+1))}p.textContent=e,a.highlightElement(p)},u=function(e){s.setAttribute(t,"failed"),p.textContent=e},(m=new XMLHttpRequest).open("GET",l,!0),m.onreadystatechange=function(){if(4==m.readyState){if(m.status<400&&m.responseText)c(m.responseText);else if(m.status>=400){var e;u((e=m.status,"✖ Error "+e+" while fetching file: "+m.statusText))}else u("✖ Error: File does not exist or is empty")}},m.send(null)}}),a.plugins.fileHighlight={highlight:function(e){for(var t=(e||document).querySelectorAll(o),i,r=0;i=t[r++];)a.highlightElement(i)}};var n=!1;a.fileHighlight=function(){!n&&(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),n=!0),a.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},223706:function(e,t,i){"use strict";var r=i(160978);function o(){}function n(){}n.resetWarningCache=o,e.exports=function(){function e(e,t,i,o,n,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:o};return i.PropTypes=i,i}},274325:function(e,t,i){e.exports=i(223706)()},160978:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},529821:function(e){"use strict";var t=String.prototype.replace,i=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}},517465:function(e,t,i){"use strict";var r=i(982817),o=i(313621),n=i(529821);e.exports={formats:n,parse:o,stringify:r}},313621:function(e,t,i){"use strict";var r=i(618916),o=Object.prototype.hasOwnProperty,n=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e,t,i){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&i>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t){var i={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===1/0?void 0:t.parameterLimit,u=l.split(t.delimiter,t.throwOnLimitExceeded?c+1:c);if(t.throwOnLimitExceeded&&u.length>c)throw RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var m=-1,p=t.charset;if(t.charsetSentinel)for(d=0;d0&&"[]"===e[e.length-1]){var a=e.slice(0,-1).join("");n=Array.isArray(t)&&t[a]?t[a].length:0}for(var l=o?t:s(t,i,n),c=e.length-1;c>=0;--c){var u,m=e[c];if("[]"===m&&i.parseArrays)u=i.allowEmptyArrays&&(""===l||i.strictNullHandling&&null===l)?[]:r.combine([],l);else{u=i.plainObjects?{__proto__:null}:{};var p="["===m.charAt(0)&&"]"===m.charAt(m.length-1)?m.slice(1,-1):m,d=i.decodeDotInKeys?p.replace(/%2E/g,"."):p,f=parseInt(d,10);i.parseArrays||""!==d?!isNaN(f)&&m!==d&&String(f)===d&&f>=0&&i.parseArrays&&f<=i.arrayLimit?(u=[])[f]=l:"__proto__"!==d&&(u[d]=l):u={0:l}}l=u}return l},u=function(e,t,i,r){if(!!e){var n=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=i.depth>0&&/(\[[^[\]]*])/.exec(n),l=s?n.slice(0,s.index):n,u=[];if(l){if(!i.plainObjects&&o.call(Object.prototype,l)&&!i.allowPrototypes)return;u.push(l)}for(var m=0;i.depth>0&&null!==(s=a.exec(n))&&m0?C.join(",")||null:void 0}];else if(l(g))E=g;else{var B=Object.keys(C);E=b?B.sort(b):B}var I=p?String(i).replace(/\./g,"%2E"):String(i),M=a&&l(C)&&1===C.length?I+"[]":I;if(s&&l(C)&&0===C.length)return M+"[]";for(var R=0;R0?D+y:""}},618916:function(e,t,i){"use strict";var r=i(529821),o=Object.prototype.hasOwnProperty,n=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),i=t.obj[t.prop];if(n(i)){for(var r=[],o=0;o=1024?s.slice(c,c+1024):s,m=[],p=0;p=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||n===r.RFC1738&&(40===d||41===d)){m[m.length]=u.charAt(p);continue}if(d<128){m[m.length]=a[d];continue}if(d<2048){m[m.length]=a[192|d>>6]+a[128|63&d];continue}if(d<55296||d>=57344){m[m.length]=a[224|d>>12]+a[128|d>>6&63]+a[128|63&d];continue}p+=1,d=65536+((1023&d)<<10|1023&u.charCodeAt(p)),m[m.length]=a[240|d>>18]+a[128|d>>12&63]+a[128|d>>6&63]+a[128|63&d]}l+=m.join("")}return l},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(n(e)){for(var i=[],r=0;rV});var r,o=i("515680"),n=i("582288"),a=i("894626"),s=i("195354"),l=i("685521"),c=i("862020"),u=i("252237"),m=i.n(u),p=i("980581"),d=i("455069");function f(e,t,i){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=i,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function h(e,t,i,r){if(!!i){var o=t;if("click"===t.type){i(o=f(t,e,""));return}if("file"!==e.type&&void 0!==r){i(o=f(t,e,r));return}i(o)}}var g=d.forwardRef(function(e,t){var i,r,s,l,c,u=e.inputElement,f=e.children,h=e.prefixCls,g=e.prefix,b=e.suffix,v=e.addonBefore,y=e.addonAfter,D=e.className,x=e.style,w=e.disabled,k=e.readOnly,z=e.focused,_=e.triggerFocus,E=e.allowClear,C=e.value,S=e.handleReset,F=e.hidden,A=e.classes,T=e.classNames,O=e.dataAttrs,B=e.styles,I=e.components,M=e.onClear,R=null!=f?f:u,N=(null==I?void 0:I.affixWrapper)||"span",P=(null==I?void 0:I.groupWrapper)||"span",j=(null==I?void 0:I.wrapper)||"span",L=(null==I?void 0:I.groupAddon)||"span",U=(0,d.useRef)(null);var G=!!((i=e).prefix||i.suffix||i.allowClear),q=(0,d.cloneElement)(R,{value:C,className:m()(null===(s=R.props)||void 0===s?void 0:s.className,!G&&(null==T?void 0:T.variant))||null}),Z=(0,d.useRef)(null);if(d.useImperativeHandle(t,function(){return{nativeElement:Z.current||U.current}}),G){var H=null;if(E){var K=!w&&!k&&C,$="".concat(h,"-clear-icon"),V="object"===(0,p.Z)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";H=d.createElement("button",{type:"button",tabIndex:-1,onClick:function(e){null==S||S(e),null==M||M()},onMouseDown:function(e){return e.preventDefault()},className:m()($,(0,n.Z)((0,n.Z)({},"".concat($,"-hidden"),!K),"".concat($,"-has-suffix"),!!b))},V)}var W="".concat(h,"-affix-wrapper"),X=m()(W,(0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)({},"".concat(h,"-disabled"),w),"".concat(W,"-disabled"),w),"".concat(W,"-focused"),z),"".concat(W,"-readonly"),k),"".concat(W,"-input-with-clear-btn"),b&&E&&C),null==A?void 0:A.affixWrapper,null==T?void 0:T.affixWrapper,null==T?void 0:T.variant),Y=(b||E)&&d.createElement("span",{className:m()("".concat(h,"-suffix"),null==T?void 0:T.suffix),style:null==B?void 0:B.suffix},H,b);q=d.createElement(N,(0,o.Z)({className:X,style:null==B?void 0:B.affixWrapper,onClick:function(e){var t;null!==(t=U.current)&&void 0!==t&&t.contains(e.target)&&(null==_||_())}},null==O?void 0:O.affixWrapper,{ref:U}),g&&d.createElement("span",{className:m()("".concat(h,"-prefix"),null==T?void 0:T.prefix),style:null==B?void 0:B.prefix},g),q,Y)}if((r=e).addonBefore||r.addonAfter){var Q="".concat(h,"-group"),J="".concat(Q,"-addon"),ee="".concat(Q,"-wrapper"),et=m()("".concat(h,"-wrapper"),Q,null==A?void 0:A.wrapper,null==T?void 0:T.wrapper),ei=m()(ee,(0,n.Z)({},"".concat(ee,"-disabled"),w),null==A?void 0:A.group,null==T?void 0:T.groupWrapper);q=d.createElement(P,{className:ei,ref:Z},d.createElement(j,{className:et},v&&d.createElement(L,{className:J},v),q,y&&d.createElement(L,{className:J},y)))}return d.cloneElement(q,{className:m()(null===(l=q.props)||void 0===l?void 0:l.className,D)||null,style:(0,a.Z)((0,a.Z)({},null===(c=q.props)||void 0===c?void 0:c.style),x),hidden:F})}),b=i("340243"),v=["show"],y=i("908217");i("606631");var D=i("921463");function x(e){return e instanceof HTMLElement||e instanceof SVGElement}function w(e){var t,i,r=(t=e)&&"object"===(0,p.Z)(t)&&x(t.nativeElement)?t.nativeElement:x(t)?t:null;return r?r:e instanceof d.Component?null===(i=D.findDOMNode)||void 0===i?void 0:i.call(D,e):null}var k=i("33421"),z=d.createContext(null),_=i("714682"),E=new Map,C=new _.Z(function(e){e.forEach(function(e){var t,i=e.target;null===(t=E.get(i))||void 0===t||t.forEach(function(e){return e(i)})})}),S=i("266755"),F=i("781502"),A=i("780396"),T=i("111153"),O=function(e){(0,A.Z)(i,e);var t=(0,T.Z)(i);function i(){return(0,S.Z)(this,i),t.apply(this,arguments)}return(0,F.Z)(i,[{key:"render",value:function(){return this.props.children}}]),i}(d.Component),B=d.forwardRef(function(e,t){var i=e.children,r=e.disabled,o=d.useRef(null),n=d.useRef(null),s=d.useContext(z),l="function"==typeof i,c=l?i(o):i,u=d.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!l&&d.isValidElement(c)&&(0,k.Yr)(c),f=m?(0,k.C4)(c):null,h=(0,k.x1)(f,o),g=function(){var e;return w(o.current)||(o.current&&"object"===(0,p.Z)(o.current)?w(null===(e=o.current)||void 0===e?void 0:e.nativeElement):null)||w(n.current)};d.useImperativeHandle(t,function(){return g()});var b=d.useRef(e);b.current=e;var v=d.useCallback(function(e){var t=b.current,i=t.onResize,r=t.data,o=e.getBoundingClientRect(),n=o.width,l=o.height,c=e.offsetWidth,m=e.offsetHeight,p=Math.floor(n),d=Math.floor(l);if(u.current.width!==p||u.current.height!==d||u.current.offsetWidth!==c||u.current.offsetHeight!==m){var f={width:p,height:d,offsetWidth:c,offsetHeight:m};u.current=f;var h=c===Math.round(n)?n:c,g=m===Math.round(l)?l:m,v=(0,a.Z)((0,a.Z)({},f),{},{offsetWidth:h,offsetHeight:g});null==s||s(v,e,r),i&&Promise.resolve().then(function(){i(v,e)})}},[]);return d.useEffect(function(){var e,t,i=g();if(i&&!r){;e=i,t=v,E.has(e)||(E.set(e,new Set),C.observe(e)),E.get(e).add(t)}return function(){var e,t;return e=i,t=v,void(E.has(e)&&(E.get(e).delete(t),!E.get(e).size&&(C.unobserve(e),E.delete(e))))}},[o.current,r]),d.createElement(O,{ref:n},m?d.cloneElement(c,{ref:h}):c)}),I=d.forwardRef(function(e,t){var i=e.children,r="function"==typeof i?[i]:function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return d.Children.forEach(t,function(t){if(null!=t||!!i.keepEmpty)Array.isArray(t)?r=r.concat(e(t)):(0,y.Z)(t)&&t.props?r=r.concat(e(t.props.children,i)):r.push(t)}),r}(i);return r.map(function(i,r){var n=(null==i?void 0:i.key)||"".concat("rc-observer-key","-").concat(r);return d.createElement(B,(0,o.Z)({},e,{key:n,ref:0===r?t:void 0}),i)})});I.Collection=function(e){var t=e.children,i=e.onBatchResize,r=d.useRef(0),o=d.useRef([]),n=d.useContext(z),a=d.useCallback(function(e,t,a){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:a}),Promise.resolve().then(function(){s===r.current&&(null==i||i(o.current),o.current=[])}),null==n||n(e,t,a)},[i,n]);return d.createElement(z.Provider,{value:a},t)};var M=i("543761"),R=function(e){return+setTimeout(e,16)},N=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(R=function(e){return window.requestAnimationFrame(e)},N=function(e){return window.cancelAnimationFrame(e)});var P=0,j=new Map;function L(e){j.delete(e)}var U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=P+=1;return!function t(r){if(0===r){var o;o=i,j.delete(o),e()}else{var n=R(function(){t(r-1)});j.set(i,n)}}(t),i};U.cancel=function(e){var t,i=j.get(e);return t=e,j.delete(t),N(i)};var G=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],q={},Z=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],H=d.forwardRef(function(e,t){var i=e.prefixCls,s=e.defaultValue,u=e.value,f=e.autoSize,h=e.onResize,g=e.className,v=e.style,y=e.disabled,D=e.onChange,x=(e.onInternalAutoSize,(0,c.Z)(e,Z)),w=(0,b.Z)(s,{value:u,postState:function(e){return null!=e?e:""}}),k=(0,l.Z)(w,2),z=k[0],_=k[1],E=d.useRef();d.useImperativeHandle(t,function(){return{textArea:E.current}});var C=d.useMemo(function(){return f&&"object"===(0,p.Z)(f)?[f.minRows,f.maxRows]:[]},[f]),S=(0,l.Z)(C,2),F=S[0],A=S[1],T=!!f,O=function(){try{if(document.activeElement===E.current){var e=E.current,t=e.selectionStart,i=e.selectionEnd,r=e.scrollTop;E.current.setSelectionRange(t,i),E.current.scrollTop=r}}catch(e){}},B=d.useState(2),R=(0,l.Z)(B,2),N=R[0],P=R[1],j=d.useState(),L=(0,l.Z)(j,2),H=L[0],K=L[1],$=function(){P(0)};(0,M.Z)(function(){T&&$()},[u,F,A,T]),(0,M.Z)(function(){if(0===N)P(1);else if(1===N){var e=function(e){var t,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!r&&((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),r.setAttribute("name","hiddenTextarea"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&q[i])return q[i];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),n=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:G.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:n,borderSize:a,boxSizing:o};return t&&i&&(q[i]=s),s}(e,i),s=a.paddingSize,l=a.borderSize,c=a.boxSizing,u=a.sizingStyle;r.setAttribute("style","".concat(u,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var m=void 0,p=void 0,d=r.scrollHeight;if("border-box"===c?d+=l:"content-box"===c&&(d-=s),null!==o||null!==n){r.value=" ";var f=r.scrollHeight-s;null!==o&&(m=f*o,"border-box"===c&&(m=m+s+l),d=Math.max(m,d)),null!==n&&(p=f*n,"border-box"===c&&(p=p+s+l),t=d>p?"":"hidden",d=Math.min(p,d))}var h={height:d,overflowY:t,resize:"none"};return m&&(h.minHeight=m),p&&(h.maxHeight=p),h}(E.current,!1,F,A);P(2),K(e)}else O()},[N]);var V=d.useRef(),W=function(){U.cancel(V.current)};d.useEffect(function(){return W},[]);var X=(0,a.Z)((0,a.Z)({},v),T?H:null);return(0===N||1===N)&&(X.overflowY="hidden",X.overflowX="hidden"),d.createElement(I,{onResize:function(e){2===N&&(null==h||h(e),f&&(W(),V.current=U(function(){$()})))},disabled:!(f||h)},d.createElement("textarea",(0,o.Z)({},x,{ref:E,style:X,className:m()(i,g,(0,n.Z)({},"".concat(i,"-disabled"),y)),disabled:y,value:z,onChange:function(e){_(e.target.value),null==D||D(e)}})))}),K=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],$=d.forwardRef(function(e,t){var i,r,u,f,y=e.defaultValue,D=e.value,x=e.onFocus,w=e.onBlur,k=e.onChange,z=e.allowClear,_=e.maxLength,E=e.onCompositionStart,C=e.onCompositionEnd,S=e.suffix,F=e.prefixCls,A=void 0===F?"rc-textarea":F,T=e.showCount,O=e.count,B=e.className,I=e.style,M=e.disabled,R=e.hidden,N=e.classNames,P=e.styles,j=e.onResize,L=e.onClear,U=e.onPressEnter,G=e.readOnly,q=e.autoSize,Z=e.onKeyDown,$=(0,c.Z)(e,K),V=(0,b.Z)(y,{value:D,defaultValue:y}),W=(0,l.Z)(V,2),X=W[0],Y=W[1],Q=null==X?"":String(X),J=d.useState(!1),ee=(0,l.Z)(J,2),et=ee[0],ei=ee[1],er=d.useRef(!1),eo=d.useState(null),en=(0,l.Z)(eo,2),ea=en[0],es=en[1],el=(0,d.useRef)(null),ec=(0,d.useRef)(null),eu=function(){var e;return null===(e=ec.current)||void 0===e?void 0:e.textArea},em=function(){eu().focus()};(0,d.useImperativeHandle)(t,function(){var e;return{resizableTextArea:ec.current,focus:em,blur:function(){eu().blur()},nativeElement:(null===(e=el.current)||void 0===e?void 0:e.nativeElement)||eu()}}),(0,d.useEffect)(function(){ei(function(e){return!M&&e})},[M]);var ep=d.useState(null),ed=(0,l.Z)(ep,2),ef=ed[0],eh=ed[1];d.useEffect(function(){if(ef){var e;(e=eu()).setSelectionRange.apply(e,(0,s.Z)(ef))}},[ef]);var eg=(i=O,r=T,d.useMemo(function(){var e={};r&&(e.show="object"===(0,p.Z)(r)&&r.formatter?r.formatter:!!r);var t=e=(0,a.Z)((0,a.Z)({},e),i),o=t.show,n=(0,c.Z)(t,v);return(0,a.Z)((0,a.Z)({},n),{},{show:!!o,showFormatter:"function"==typeof o?o:void 0,strategy:n.strategy||function(e){return e.length}})},[i,r])),eb=null!==(u=eg.max)&&void 0!==u?u:_,ev=Number(eb)>0,ey=eg.strategy(Q),eD=!!eb&&ey>eb,ex=function(e,t){var i=t;!er.current&&eg.exceedFormatter&&eg.max&&eg.strategy(t)>eg.max&&(i=eg.exceedFormatter(t,{max:eg.max}),t!==i&&eh([eu().selectionStart||0,eu().selectionEnd||0])),Y(i),h(e.currentTarget,e,k,i)},ew=S;eg.show&&(f=eg.showFormatter?eg.showFormatter({value:Q,count:ey,maxLength:eb}):"".concat(ey).concat(ev?" / ".concat(eb):""),ew=d.createElement(d.Fragment,null,ew,d.createElement("span",{className:m()("".concat(A,"-data-count"),null==N?void 0:N.count),style:null==P?void 0:P.count},f)));var ek=!q&&!T&&!z;return d.createElement(g,{ref:el,value:Q,allowClear:z,handleReset:function(e){Y(""),em(),h(eu(),e,k)},suffix:ew,prefixCls:A,classNames:(0,a.Z)((0,a.Z)({},N),{},{affixWrapper:m()(null==N?void 0:N.affixWrapper,(0,n.Z)((0,n.Z)({},"".concat(A,"-show-count"),T),"".concat(A,"-textarea-allow-clear"),z))}),disabled:M,focused:et,className:m()(B,eD&&"".concat(A,"-out-of-range")),style:(0,a.Z)((0,a.Z)({},I),ea&&!ek?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof f?f:void 0}},hidden:R,readOnly:G,onClear:L},d.createElement(H,(0,o.Z)({},$,{autoSize:q,maxLength:_,onKeyDown:function(e){"Enter"===e.key&&U&&U(e),null==Z||Z(e)},onChange:function(e){ex(e,e.target.value)},onFocus:function(e){ei(!0),null==x||x(e)},onBlur:function(e){ei(!1),null==w||w(e)},onCompositionStart:function(e){er.current=!0,null==E||E(e)},onCompositionEnd:function(e){er.current=!1,ex(e,e.currentTarget.value),null==C||C(e)},className:m()(null==N?void 0:N.textarea),style:(0,a.Z)((0,a.Z)({},null==P?void 0:P.textarea),{},{resize:null==I?void 0:I.resize}),disabled:M,prefixCls:A,onResize:function(e){var t;null==j||j(e),null!==(t=eu())&&void 0!==t&&t.style.height&&es(!0)},ref:ec,readOnly:G})))}),V=$},908217:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var r=i(980581),o=Symbol.for("react.element"),n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(e){return e&&"object"===(0,r.Z)(e)&&(e.$$typeof===o||e.$$typeof===n)&&e.type===a}},730933:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var r=i(455069);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,i=arguments.length,r=Array(i),o=0;oa,Z:()=>s});var r=i("455069"),o="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,n=function(e,t){var i=r.useRef(!0);o(function(){return e(i.current)},t),o(function(){return i.current=!1,function(){i.current=!0}},[])},a=function(e,t){n(function(t){if(!t)return e()},t)},s=n},340243:function(e,t,i){"use strict";i.d(t,{Z:()=>c});var r=i("685521"),o=i("730933"),n=i("543761"),a=i("455069");function s(e){var t=a.useRef(!1),i=a.useState(e),o=(0,r.Z)(i,2),n=o[0],s=o[1];return a.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[n,function(e,i){if(!i||!t.current)s(e)}]}function l(e){return void 0!==e}function c(e,t){var i=t||{},a=i.defaultValue,c=i.value,u=i.onChange,m=i.postState,p=s(function(){return l(c)?c:l(a)?"function"==typeof a?a():a:"function"==typeof e?e():e}),d=(0,r.Z)(p,2),f=d[0],h=d[1],g=void 0!==c?c:f,b=m?m(g):g,v=(0,o.Z)(u),y=s([g]),D=(0,r.Z)(y,2),x=D[0],w=D[1];return(0,n.o)(function(){var e=x[0];f!==e&&v(f,e)},[x]),(0,n.o)(function(){!l(c)&&h(c)},[c]),[b,(0,o.Z)(function(e,t){h(e,t),w([g],t)})]}},33421:function(e,t,i){"use strict";i.d(t,{C4:()=>d,Yr:()=>m,x1:()=>u});var r=i("980581"),o=i("455069"),n=i("339922"),a=i("908217"),s=Number(o.version.split(".")[0]),l=function(e,t){"function"==typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)},c=function(){for(var e=arguments.length,t=Array(e),i=0;i=19)return!0;var t,i,r=(0,n.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&!!t.render||r.$$typeof===n.ForwardRef)&&("function"!=typeof e||null!==(i=e.prototype)&&void 0!==i&&!!i.render||e.$$typeof===n.ForwardRef)||!1};function p(e){return(0,o.isValidElement)(e)&&!(0,a.Z)(e)}var d=function(e){return e&&p(e)?e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref:null}},606631:function(e,t){"use strict";var i={},r=[];function o(e,t){}function n(e,t){}function a(e,t,r){!t&&!i[r]&&(e(!1,r),i[r]=!0)}function s(e,t){a(o,e,t)}s.preMessage=function(e){r.push(e)},s.resetWarned=function(){i={}},s.noteOnce=function(e,t){a(n,e,t)},t.ZP=s},69930:function(e,t,i){"use strict";var r,o,n,a,s,l,c=i(455069),u=i(467452);function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i