(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42276],{77822:function(t,e,n){"use strict";n.d(e,{W:function(){return l}});n(67294);var r=n(45697),o=n.n(r),i=n(12724),s=n(70917),a=["children","className","legend"];function u(){return u=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var l=function(t){var e=t.children,n=t.className,r=t.legend,o=c(t,a),l=!!r&&(0,s.tZ)(i.y,r);return(0,s.tZ)("fieldset",u({className:n},o),l,e)};l.propTypes={legend:o().shape({className:o().string,"aria-label":o().string,"data-test-subj":o().string,css:o().any,children:o().node.isRequired,display:o().oneOf(["hidden","visible"]),compressed:o().bool}),className:o().string,"aria-label":o().string,"data-test-subj":o().string,css:o().any}},12724:function(t,e,n){"use strict";n.d(e,{y:function(){return h}});n(67294);var r=n(45697),o=n.n(r),i=n(93967),s=n.n(i),a=n(85058),u=n(70917),c=["children","className","display","compressed"];function l(){return l=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var h=function(t){var e=t.children,n=t.className,r=t.display,o=void 0===r?"visible":r,i=t.compressed,h=p(t,c),f="hidden"===o,d=s()("euiFormLegend",{"euiFormLegend-isHidden":f,"euiFormLegend--compressed":i},n);return(0,u.tZ)("legend",l({className:d},h),f?(0,u.tZ)(a.D,null,(0,u.tZ)("span",null,e)):e)};h.propTypes={className:o().string,"aria-label":o().string,"data-test-subj":o().string,css:o().any,children:o().node.isRequired,display:o().oneOf(["hidden","visible"]),compressed:o().bool}},55850:function(t,e,n){"use strict";n.d(e,{R:function(){return p}});n(67294);var r=n(45697),o=n.n(r),i=n(93967),s=n.n(i),a=n(70917),u=["className","id","name","checked","label","value","onChange","disabled","compressed","autoFocus","labelProps"];function c(){return c=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var p=function(t){var e,n=t.className,r=t.id,o=t.name,i=t.checked,p=t.label,h=t.value,f=t.onChange,d=t.disabled,y=t.compressed,m=t.autoFocus,b=t.labelProps,g=l(t,u),v=s()("euiRadio",{"euiRadio--noLabel":!p,"euiRadio--compressed":y},n),w=s()("euiRadio__label",null===b||void 0===b?void 0:b.className);return p&&(e=(0,a.tZ)("label",c({},b,{className:w,htmlFor:r}),p)),(0,a.tZ)("div",c({className:v},g),(0,a.tZ)("input",{className:"euiRadio__input",type:"radio",id:r,name:o,value:h,checked:i,onChange:f,disabled:d,autoFocus:m}),(0,a.tZ)("div",{className:"euiRadio__circle"}),e)};p.propTypes={className:o().string,"aria-label":o().string,"data-test-subj":o().string,css:o().any,autoFocus:o().bool,compressed:o().bool,name:o().string,value:o().string,checked:o().bool,disabled:o().bool,onChange:o().any.isRequired,labelProps:o().shape({className:o().string,"aria-label":o().string,"data-test-subj":o().string,css:o().any}),label:o().node,id:o().oneOfType([o().string,o().string.isRequired])}},31826:function(t,e,n){"use strict";n.d(e,{z:function(){return d}});n(67294);var r=n(45697),o=n.n(r),i=n(93967),s=n.n(i),a=n(77822),u=n(55850),c=n(70917),l=["options","idSelected","onChange","name","className","disabled","compressed","legend"],p=["disabled","className","id","label"];function h(){return h=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var d=function(t){var e=t.options,n=void 0===e?[]:e,r=t.idSelected,o=t.onChange,i=t.name,d=t.className,y=t.disabled,m=t.compressed,b=t.legend,g=f(t,l),v=n.map((function(t,e){var n=t.disabled,a=t.className,l=t.id,d=t.label,b=f(t,p);return(0,c.tZ)(u.R,h({className:s()("euiRadioGroup__item",a),key:e,name:i,checked:l===r,disabled:y||n,onChange:o.bind(null,l,t.value),compressed:m,id:l,label:d},b))}));return b?(b.compressed=m,(0,c.tZ)(a.W,h({className:d,legend:b},g),v)):(0,c.tZ)("div",h({className:d},g),v)};d.propTypes={className:o().string,"aria-label":o().string,"data-test-subj":o().string,css:o().any,disabled:o().bool,compressed:o().bool,name:o().string,options:o().arrayOf(o().shape({id:o().string.isRequired}).isRequired).isRequired,idSelected:o().string,onChange:o().func.isRequired,legend:o().shape({className:o().string,"aria-label":o().string,"data-test-subj":o().string,css:o().any,children:o().node.isRequired,display:o().oneOf(["hidden","visible"]),compressed:o().bool})}},94362:function(t,e,n){"use strict";function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var L=(0,i.forwardRef)((function(t,e){var n=t.onBlur,r=t.onFocus,o=t.onMouseOver,s=t.onMouseOut,a=t.id,u=t.className,l=t.children,p=t.display,f=t.isVisible,d=R(t,P),y=x(),m=[y.euiToolTipAnchor,y[p]],b=c()("euiToolTipAnchor",u);return(0,h.tZ)("span",C({ref:e,css:m},d,{className:b,onMouseOver:o,onMouseOut:s}),(0,i.cloneElement)(l,function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var U=function(t){var e=t.position,n=B(t,F),r=(0,k.r)(),o=N(r),i=[o.euiToolTip__arrow,o.arrowPositions[e]];return(0,h.tZ)("div",M({css:i},n))};U.propTypes={position:a().oneOf(["top","right","bottom","left"]).isRequired};var V=["children","title","className","positionToolTip","popoverRef","calculatedPosition"];function z(){return z=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var q=function(t){var e=t.children,n=t.title,r=t.className,o=t.positionToolTip,s=t.popoverRef,a=t.calculatedPosition,u=Y(t,V),l=(0,i.useRef)(),p=(0,k.r)(),f=N(p),d=[f.euiToolTip,a&&f[a]],y=(0,i.useCallback)((function(){requestAnimationFrame((function(){l.current&&o()}))}),[o]);(0,i.useEffect)((function(){return document.body.classList.add("euiBody-hasPortalContent"),window.addEventListener("resize",y),function(){document.body.classList.remove("euiBody-hasPortalContent"),window.removeEventListener("resize",y)}}),[y]);var m=c()("euiToolTipPopover",r);return(0,h.tZ)("div",z({css:d,className:m,ref:function(t){s&&s(t)},"data-position":a},u),n&&(0,h.tZ)("div",{css:f.euiToolTip__title,className:"euiToolTip__title"},n),e)};q.propTypes={className:a().string,"aria-label":a().string,"data-test-subj":a().string,css:a().any,positionToolTip:a().func.isRequired,children:a().node,title:a().node,popoverRef:a().func,calculatedPosition:a().oneOf(["top","right","bottom","left"])};var G=n(42283),X=n(2296),Z=n(64733),W=n(1106);function K(t){return K="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(t)}var H=["children","className","anchorClassName","anchorProps","content","title","delay","display"];function Q(){return Q=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e){for(var n=0;n{this.off(t,n),e.apply(this,r)};return n.fn=e,this.on(t,n),this},e.prototype.off=function(t,e){if(void 0===t&&void 0===e)return this._callbacks.clear(),this;if(void 0===e)return this._callbacks.delete(t),this;const n=this._callbacks.get(t);if(n){for(const[t,r]of n.entries())if(r===e||r.fn===e){n.splice(t,1);break}0===n.length?this._callbacks.delete(t):this._callbacks.set(t,n)}return this},e.prototype.emit=function(t,...e){const n=this._callbacks.get(t);if(n){const t=[...n];for(const n of t)n.apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks.get(t)??[]},e.prototype.listenerCount=function(t){if(t)return this.listeners(t).length;let e=0;for(const n of this._callbacks.values())e+=n.length;return e},e.prototype.hasListeners=function(t){return this.listenerCount(t)>0},e.prototype.addEventListener=e.prototype.on,e.prototype.removeListener=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,t.exports=e},73579:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){let n=i.default,o=(null==e?void 0:e.suspense)?{}:{loading:t=>{let{error:e,isLoading:n,pastDelay:r}=t;return null}};t instanceof Promise?o.loader=()=>t:"function"===typeof t?o.loader=t:"object"===typeof t&&(o=r({},o,t));if(o=r({},o,e),o.suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");o.suspense&&(delete o.ssr,delete o.loading);o.loadableGenerated&&(o=r({},o,o.loadableGenerated),delete o.loadableGenerated);if("boolean"===typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,s(n,o);delete o.ssr}return n(o)},e.noSSR=s;var r=n(31032).Z,o=n(12845).Z,i=(o(n(67294)),o(n(23668)));function s(t,e){return delete e.webpack,delete e.modules,t(e)}("function"===typeof e.default||"object"===typeof e.default&&null!==e.default)&&"undefined"===typeof e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3982:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoadableContext=void 0;const r=(0,n(12845).Z)(n(67294)).default.createContext(null);e.LoadableContext=r},23668:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(31032).Z,o=(0,n(12845).Z)(n(67294)),i=n(3982);const{useSyncExternalStore:s}=n(61688),a=[],u=[];let c=!1;function l(t){let e=t(),n={loading:!0,loaded:null,error:null};return n.promise=e.then((t=>(n.loading=!1,n.loaded=t,t))).catch((t=>{throw n.loading=!1,n.error=t,t})),n}class p{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:t,_opts:e}=this;t.loading&&("number"===typeof e.delay&&(0===e.delay?this._state.pastDelay=!0:this._delay=setTimeout((()=>{this._update({pastDelay:!0})}),e.delay)),"number"===typeof e.timeout&&(this._timeout=setTimeout((()=>{this._update({timedOut:!0})}),e.timeout))),this._res.promise.then((()=>{this._update({}),this._clearTimeouts()})).catch((t=>{this._update({}),this._clearTimeouts()})),this._update({})}_update(t){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},t),this._callbacks.forEach((t=>t()))}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(t){return this._callbacks.add(t),()=>{this._callbacks.delete(t)}}constructor(t,e){this._loadFn=t,this._opts=e,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function h(t){return function(t,e){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},e);n.suspense&&(n.lazy=o.default.lazy(n.loader));let a=null;function l(){if(!a){const e=new p(t,n);a={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return a.promise()}if(!c){const t=n.webpack?n.webpack():n.modules;t&&u.push((e=>{for(const n of t)if(-1!==e.indexOf(n))return l()}))}function h(){l();const t=o.default.useContext(i.LoadableContext);t&&Array.isArray(n.modules)&&n.modules.forEach((e=>{t(e)}))}const f=n.suspense?function(t,e){return h(),o.default.createElement(n.lazy,r({},t,{ref:e}))}:function(t,e){h();const r=s(a.subscribe,a.getCurrentValue,a.getCurrentValue);return o.default.useImperativeHandle(e,(()=>({retry:a.retry})),[]),o.default.useMemo((()=>{return r.loading||r.error?o.default.createElement(n.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:a.retry}):r.loaded?o.default.createElement((e=r.loaded)&&e.__esModule?e.default:e,t):null;var e}),[t,r])};return f.preload=()=>l(),f.displayName="LoadableComponent",o.default.forwardRef(f)}(l,t)}function f(t,e){let n=[];for(;t.length;){let r=t.pop();n.push(r(e))}return Promise.all(n).then((()=>{if(t.length)return f(t,e)}))}h.preloadAll=()=>new Promise(((t,e)=>{f(a).then(t,e)})),h.preloadReady=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((e=>{const n=()=>(c=!0,e());f(u,t).then(n,n)}))},window.__NEXT_PRELOADREADY=h.preloadReady;var d=h;e.default=d},5152:function(t,e,n){t.exports=n(73579)},65003:function(t,e){(function(){"use strict";e.stripBOM=function(t){return"\ufeff"===t[0]?t.substring(1):t}}).call(this)},45821:function(t,e,n){(function(){"use strict";var t,r,o,i,s,a={}.hasOwnProperty;t=n(5532),r=n(59355).defaults,i=function(t){return"string"===typeof t&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},s=function(t){return""},o=function(t){return t.replace("]]>","]]]]>")},e.Builder=function(){function e(t){var e,n,o;for(e in this.options={},n=r[.2])a.call(n,e)&&(o=n[e],this.options[e]=o);for(e in t)a.call(t,e)&&(o=t[e],this.options[e]=o)}return e.prototype.buildObject=function(e){var n,o,u,c,l,p;return n=this.options.attrkey,o=this.options.charkey,1===Object.keys(e).length&&this.options.rootName===r[.2].rootName?e=e[l=Object.keys(e)[0]]:l=this.options.rootName,p=this,u=function(t,e){var r,c,l,h,f,d;if("object"!==typeof e)p.options.cdata&&i(e)?t.raw(s(e)):t.txt(e);else for(f in e)if(a.call(e,f))if(c=e[f],f===n){if("object"===typeof c)for(r in c)d=c[r],t=t.att(r,d)}else if(f===o)t=p.options.cdata&&i(c)?t.raw(s(c)):t.txt(c);else if(Array.isArray(c))for(h in c)a.call(c,h)&&(t="string"===typeof(l=c[h])?p.options.cdata&&i(l)?t.ele(f).raw(s(l)).up():t.ele(f,l).up():u(t.ele(f),l).up());else"object"===typeof c?t=u(t.ele(f),c).up():"string"===typeof c&&p.options.cdata&&i(c)?t=t.ele(f).raw(s(c)).up():(null==c&&(c=""),t=t.ele(f,c.toString()).up());return t},c=t.create(l,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),u(c,e).end(this.options.renderOpts)},e}()}).call(this)},59355:function(t,e){(function(){e.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},50510:function(t,e,n){(function(){"use strict";var t,r,o,i,s,a,u,c,l=function(t,e){return function(){return t.apply(e,arguments)}},p={}.hasOwnProperty;u=n(36099),o=n(17187),t=n(65003),a=n(10598),c=n(5663).setImmediate,r=n(59355).defaults,i=function(t){return"object"===typeof t&&null!=t&&0===Object.keys(t).length},s=function(t,e){var n,r;for(n=0,r=t.length;n0&&(c[t.options.childkey]=h),h=c;return r.length>0?t.assignOrPush(y,l,h):(t.options.explicitRoot&&(d=h,(h={})[l]=d),t.resultObject=h,t.saxParser.ended=!0,t.emit("end",t.resultObject))}}(this),n=function(t){return function(n){var o,i;if(i=r[r.length-1])return i[e]+=n,t.options.explicitChildren&&t.options.preserveChildrenOrder&&t.options.charsAsChildren&&(t.options.includeWhiteChars||""!==n.replace(/\\n/g,"").trim())&&(i[t.options.childkey]=i[t.options.childkey]||[],(o={"#name":"__text__"})[e]=n,t.options.normalize&&(o[e]=o[e].replace(/\s{2,}/g," ").trim()),i[t.options.childkey].push(o)),i}}(this),this.saxParser.ontext=n,this.saxParser.oncdata=function(t){var e;if(e=n(t))return e.cdata=!0}},o.prototype.parseString=function(e,n){var r;null!=n&&"function"===typeof n&&(this.on("end",(function(t){return this.reset(),n(null,t)})),this.on("error",(function(t){return this.reset(),n(t)})));try{return""===(e=e.toString()).trim()?(this.emit("end",null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,c(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(o){if(r=o,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},o}(o.EventEmitter),e.parseString=function(t,n,r){var o,i;return null!=r?("function"===typeof r&&(o=r),"object"===typeof n&&(i=n)):("function"===typeof n&&(o=n),i={}),new e.Parser(i).parseString(t,o)}}).call(this)},10598:function(t,e){(function(){"use strict";var t;t=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(t){return t.toLowerCase()},e.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},e.stripPrefix=function(e){return e.replace(t,"")},e.parseNumbers=function(t){return isNaN(t)||(t=t%1===0?parseInt(t,10):parseFloat(t)),t},e.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(this)},38175:function(t,e,n){(function(){"use strict";var t,r,o,i,s={}.hasOwnProperty;r=n(59355),t=n(45821),o=n(50510),i=n(10598),e.defaults=r.defaults,e.processors=i,e.ValidationError=function(t){function e(t){this.message=t}return function(t,e){for(var n in e)s.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(e,Error),e}(),e.Builder=t.Builder,e.Parser=o.Parser,e.parseString=o.parseString}).call(this)},36099:function(t,e,n){var r=n(48764).Buffer;!function(t){t.parser=function(t,e){return new o(t,e)},t.SAXParser=o,t.SAXStream=a,t.createStream=function(t,e){return new a(t,e)},t.MAX_BUFFER_LENGTH=65536;var e=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function o(n,r){if(!(this instanceof o))return new o(n,r);var i=this;!function(t){for(var n=0,r=e.length;n"===i?(E(r,"onsgmldeclaration",r.sgmlDecl),r.sgmlDecl="",r.state=_.TEXT):w(p,i)?(r.state=_.SGML_DECL_QUOTED,r.sgmlDecl+=i):r.sgmlDecl+=i;continue;case _.SGML_DECL_QUOTED:i===r.q&&(r.state=_.SGML_DECL,r.q=""),r.sgmlDecl+=i;continue;case _.DOCTYPE:">"===i?(r.state=_.TEXT,E(r,"ondoctype",r.doctype),r.doctype=!0):(r.doctype+=i,"["===i?r.state=_.DOCTYPE_DTD:w(p,i)&&(r.state=_.DOCTYPE_QUOTED,r.q=i));continue;case _.DOCTYPE_QUOTED:r.doctype+=i,i===r.q&&(r.q="",r.state=_.DOCTYPE);continue;case _.DOCTYPE_DTD:r.doctype+=i,"]"===i?r.state=_.DOCTYPE:w(p,i)&&(r.state=_.DOCTYPE_DTD_QUOTED,r.q=i);continue;case _.DOCTYPE_DTD_QUOTED:r.doctype+=i,i===r.q&&(r.state=_.DOCTYPE_DTD,r.q="");continue;case _.COMMENT:"-"===i?r.state=_.COMMENT_ENDING:r.comment+=i;continue;case _.COMMENT_ENDING:"-"===i?(r.state=_.COMMENT_ENDED,r.comment=D(r.opt,r.comment),r.comment&&E(r,"oncomment",r.comment),r.comment=""):(r.comment+="-"+i,r.state=_.COMMENT);continue;case _.COMMENT_ENDED:">"!==i?(x(r,"Malformed comment"),r.comment+="--"+i,r.state=_.COMMENT):r.state=_.TEXT;continue;case _.CDATA:"]"===i?r.state=_.CDATA_ENDING:r.cdata+=i;continue;case _.CDATA_ENDING:"]"===i?r.state=_.CDATA_ENDING_2:(r.cdata+="]"+i,r.state=_.CDATA);continue;case _.CDATA_ENDING_2:">"===i?(r.cdata&&E(r,"oncdata",r.cdata),E(r,"onclosecdata"),r.cdata="",r.state=_.TEXT):"]"===i?r.cdata+="]":(r.cdata+="]]"+i,r.state=_.CDATA);continue;case _.PROC_INST:"?"===i?r.state=_.PROC_INST_ENDING:w(u,i)?r.state=_.PROC_INST_BODY:r.procInstName+=i;continue;case _.PROC_INST_BODY:if(!r.procInstBody&&w(u,i))continue;"?"===i?r.state=_.PROC_INST_ENDING:r.procInstBody+=i;continue;case _.PROC_INST_ENDING:">"===i?(E(r,"onprocessinginstruction",{name:r.procInstName,body:r.procInstBody}),r.procInstName=r.procInstBody="",r.state=_.TEXT):(r.procInstBody+="?"+i,r.state=_.PROC_INST_BODY);continue;case _.OPEN_TAG:w(g,i)?r.tagName+=i:(P(r),">"===i?j(r):"/"===i?r.state=_.OPEN_TAG_SLASH:(T(u,i)&&x(r,"Invalid character in tag name"),r.state=_.ATTRIB));continue;case _.OPEN_TAG_SLASH:">"===i?(j(r,!0),R(r)):(x(r,"Forward-slash in opening tag not followed by >"),r.state=_.ATTRIB);continue;case _.ATTRIB:if(w(u,i))continue;">"===i?j(r):"/"===i?r.state=_.OPEN_TAG_SLASH:w(b,i)?(r.attribName=i,r.attribValue="",r.state=_.ATTRIB_NAME):x(r,"Invalid attribute name");continue;case _.ATTRIB_NAME:"="===i?r.state=_.ATTRIB_VALUE:">"===i?(x(r,"Attribute without value"),r.attribValue=r.attribName,S(r),j(r)):w(u,i)?r.state=_.ATTRIB_NAME_SAW_WHITE:w(g,i)?r.attribName+=i:x(r,"Invalid attribute name");continue;case _.ATTRIB_NAME_SAW_WHITE:if("="===i)r.state=_.ATTRIB_VALUE;else{if(w(u,i))continue;x(r,"Attribute without value"),r.tag.attributes[r.attribName]="",r.attribValue="",E(r,"onattribute",{name:r.attribName,value:""}),r.attribName="",">"===i?j(r):w(b,i)?(r.attribName=i,r.state=_.ATTRIB_NAME):(x(r,"Invalid attribute name"),r.state=_.ATTRIB)}continue;case _.ATTRIB_VALUE:if(w(u,i))continue;w(p,i)?(r.q=i,r.state=_.ATTRIB_VALUE_QUOTED):(x(r,"Unquoted attribute value"),r.state=_.ATTRIB_VALUE_UNQUOTED,r.attribValue=i);continue;case _.ATTRIB_VALUE_QUOTED:if(i!==r.q){"&"===i?r.state=_.ATTRIB_VALUE_ENTITY_Q:r.attribValue+=i;continue}S(r),r.q="",r.state=_.ATTRIB_VALUE_CLOSED;continue;case _.ATTRIB_VALUE_CLOSED:w(u,i)?r.state=_.ATTRIB:">"===i?j(r):"/"===i?r.state=_.OPEN_TAG_SLASH:w(b,i)?(x(r,"No whitespace between attributes"),r.attribName=i,r.attribValue="",r.state=_.ATTRIB_NAME):x(r,"Invalid attribute name");continue;case _.ATTRIB_VALUE_UNQUOTED:if(T(f,i)){"&"===i?r.state=_.ATTRIB_VALUE_ENTITY_U:r.attribValue+=i;continue}S(r),">"===i?j(r):r.state=_.ATTRIB;continue;case _.CLOSE_TAG:if(r.tagName)">"===i?R(r):w(g,i)?r.tagName+=i:r.script?(r.script+=""===i?R(r):x(r,"Invalid characters in closing tag");continue;case _.TEXT_ENTITY:case _.ATTRIB_VALUE_ENTITY_Q:case _.ATTRIB_VALUE_ENTITY_U:switch(r.state){case _.TEXT_ENTITY:var c=_.TEXT,l="textNode";break;case _.ATTRIB_VALUE_ENTITY_Q:c=_.ATTRIB_VALUE_QUOTED,l="attribValue";break;case _.ATTRIB_VALUE_ENTITY_U:c=_.ATTRIB_VALUE_UNQUOTED,l="attribValue"}";"===i?(r[l]+=L(r),r.entity="",r.state=c):w(h,i)?r.entity+=i:(x(r,"Invalid character entity"),r[l]+="&"+r.entity+i,r.entity="",r.state=c);continue;default:throw new Error(r,"Unknown state: "+r.state)}r.position>=r.bufferCheckPosition&&function(n){for(var r=Math.max(t.MAX_BUFFER_LENGTH,10),o=0,i=0,s=e.length;ir)switch(e[i]){case"textNode":N(n);break;case"cdata":E(n,"oncdata",n.cdata),n.cdata="";break;case"script":E(n,"onscript",n.script),n.script="";break;default:A(n,"Max buffer length exceeded: "+e[i])}o=Math.max(o,a)}n.bufferCheckPosition=t.MAX_BUFFER_LENGTH-o+n.position}(r);return r},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var t;N(t=this),""!==t.cdata&&(E(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(E(t,"onscript",t.script),t.script="")}};try{var i=n(53086).Stream}catch(k){i=function(){}}var s=t.EVENTS.filter((function(t){return"error"!==t&&"end"!==t}));function a(t,e){if(!(this instanceof a))return new a(t,e);i.apply(this),this._parser=new o(t,e),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(t){n.emit("error",t),n._parser.error=null},this._decoder=null,s.forEach((function(t){Object.defineProperty(n,"on"+t,{get:function(){return n._parser["on"+t]},set:function(e){if(!e)return n.removeAllListeners(t),n._parser["on"+t]=e;n.on(t,e)},enumerable:!0,configurable:!1})}))}a.prototype=Object.create(i.prototype,{constructor:{value:a}}),a.prototype.write=function(t){if("function"===typeof r&&"function"===typeof r.isBuffer&&r.isBuffer(t)){if(!this._decoder){var e=n(32553).s;this._decoder=new e("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},a.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},a.prototype.on=function(t,e){var n=this;return n._parser["on"+t]||-1===s.indexOf(t)||(n._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),n.emit.apply(n,e)}),i.prototype.on.call(n,t,e)};var u="\r\n\t ",c="0124356789",l="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",p="'\"",h=c+l+"#",f=u+">",d="https://www.w3.org/XML/1998/namespace",y="https://www.w3.org/2000/xmlns/",m={xml:d,xmlns:y};u=v(u),c=v(c),l=v(l);var b=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,g=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/;function v(t){return t.split("").reduce((function(t,e){return t[e]=!0,t}),{})}function w(t,e){return function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}(t)?!!e.match(t):t[e]}function T(t,e){return!w(t,e)}p=v(p),h=v(h),f=v(f);var _=0;for(var _ in t.STATE={BEGIN:_++,TEXT:_++,TEXT_ENTITY:_++,OPEN_WAKA:_++,SGML_DECL:_++,SGML_DECL_QUOTED:_++,DOCTYPE:_++,DOCTYPE_QUOTED:_++,DOCTYPE_DTD:_++,DOCTYPE_DTD_QUOTED:_++,COMMENT_STARTING:_++,COMMENT:_++,COMMENT_ENDING:_++,COMMENT_ENDED:_++,CDATA:_++,CDATA_ENDING:_++,CDATA_ENDING_2:_++,PROC_INST:_++,PROC_INST_BODY:_++,PROC_INST_ENDING:_++,OPEN_TAG:_++,OPEN_TAG_SLASH:_++,ATTRIB:_++,ATTRIB_NAME:_++,ATTRIB_NAME_SAW_WHITE:_++,ATTRIB_VALUE:_++,ATTRIB_VALUE_QUOTED:_++,ATTRIB_VALUE_CLOSED:_++,ATTRIB_VALUE_UNQUOTED:_++,ATTRIB_VALUE_ENTITY_Q:_++,ATTRIB_VALUE_ENTITY_U:_++,CLOSE_TAG:_++,CLOSE_TAG_SAW_WHITE:_++,SCRIPT:_++,SCRIPT_ENDING:_++},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"===typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[_]]=_;function O(t,e,n){t[e]&&t[e](n)}function E(t,e,n){t.textNode&&N(t),O(t,e,n)}function N(t){t.textNode=D(t.opt,t.textNode),t.textNode&&O(t,"ontext",t.textNode),t.textNode=""}function D(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function A(t,e){return N(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,O(t,"onerror",e),t}function I(t){return t.closedRoot||x(t,"Unclosed root tag"),t.state!==_.BEGIN&&t.state!==_.TEXT&&A(t,"Unexpected end"),N(t),t.c="",t.closed=!0,O(t,"onend"),o.call(t,t.strict,t.opt),t}function x(t,e){if("object"!==typeof t||!(t instanceof o))throw new Error("bad call to strictFail");t.strict&&A(t,e)}function P(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,n=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(n.ns=e.ns),t.attribList.length=0}function C(t,e){var n=t.indexOf(":")<0?["",t]:t.split(":"),r=n[0],o=n[1];return e&&"xmlns"===t&&(r="xmlns",o=""),{prefix:r,local:o}}function S(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))return t.attribName=t.attribValue="";if(t.opt.xmlns){var e=C(t.attribName,!0),n=e.prefix,r=e.local;if("xmlns"===n)if("xml"===r&&t.attribValue!==d)x(t,"xml: prefix must be bound to "+d+"\nActual: "+t.attribValue);else if("xmlns"===r&&t.attribValue!==y)x(t,"xmlns: prefix must be bound to "+y+"\nActual: "+t.attribValue);else{var o=t.tag,i=t.tags[t.tags.length-1]||t;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,E(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}function j(t,e){if(t.opt.xmlns){var n=t.tag,r=C(t.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(x(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),n.uri=r.prefix);var o=t.tags[t.tags.length-1]||t;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(e){E(t,"onopennamespace",{prefix:e,uri:n.ns[e]})}));for(var i=0,s=t.attribList.length;i",t.tagName="",void(t.state=_.SCRIPT);E(t,"onscript",t.script),t.script=""}var e=t.tags.length,n=t.tagName;t.strict||(n=n[t.looseCase]());for(var r=n;e--;){if(t.tags[e].name===r)break;x(t,"Unexpected close tag")}if(e<0)return x(t,"Unmatched closing tag: "+t.tagName),t.textNode+="",void(t.state=_.TEXT);t.tagName=n;for(var o=t.tags.length;o-- >e;){var i=t.tag=t.tags.pop();t.tagName=t.tag.name,E(t,"onclosetag",t.tagName);var s={};for(var a in i.ns)s[a]=i.ns[a];var u=t.tags[t.tags.length-1]||t;t.opt.xmlns&&i.ns!==u.ns&&Object.keys(i.ns).forEach((function(e){var n=i.ns[e];E(t,"onclosenamespace",{prefix:e,uri:n})}))}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=_.TEXT}function L(t){var e,n=t.entity,r=n.toLowerCase(),o="";return t.ENTITIES[n]?t.ENTITIES[n]:t.ENTITIES[r]?t.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(e=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(e=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),o.toLowerCase()!==n?(x(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}_=t.STATE,String.fromCodePoint||function(){var t=String.fromCharCode,e=Math.floor,n=function(){var n,r,o=16384,i=[],s=-1,a=arguments.length;if(!a)return"";for(var u="";++s1114111||e(c)!=c)throw RangeError("Invalid code point: "+c);c<=65535?i.push(c):(n=55296+((c-=65536)>>10),r=c%1024+56320,i.push(n,r)),(s+1==a||i.length>o)&&(u+=t.apply(null,i),i.length=0)}return u};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()}(e)},53086:function(t,e,n){var r=n(98767);function o(){r.call(this)}o.prototype=new r,t.exports=o,o.Stream=o,o.prototype.pipe=function(t,e){var n=this;function r(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",s),n.on("close",a));var i=!1;function s(){i||(i=!0,t.end())}function a(){i||(i=!0,"function"===typeof t.destroy&&t.destroy())}function u(t){if(c(),!this.hasListeners("error"))throw t}function c(){n.off("data",r),t.off("drain",o),n.off("end",s),n.off("close",a),n.off("error",u),t.off("error",u),n.off("end",c),n.off("close",c),t.off("end",c),t.off("close",c)}return n.on("error",u),t.on("error",u),n.on("end",c),n.on("close",c),t.on("end",c),t.on("close",c),t.emit("pipe",n),t}},5663:function(t,e){var n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5};for(var r in n)"millisecond"===r?n.ms=n[r]:n[r.charAt(0)]=n[r],n[r+"s"]=n[r];function o(t){this.count=0;var e=function(t){var e=t.match(i);if(e&&n[e[2]])return e.slice(1);return null}(t);e&&(this.time=Number(e[0])*n[e[1]],this.type=e[1])}o.prototype.do=function(t){this.time&&(this.interval=setInterval((function(){e.count++,t.call(e)}),this.time));var e=this;return this},o.prototype.stop=function(){return this.interval&&(clearInterval(this.interval),delete this.interval),this};var i=/^\s*(\d+(?:\.\d+)?)\s*([a-z]+)\s*$/},53250:function(t,e,n){"use strict";var r=n(67294);var o="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},i=r.useState,s=r.useEffect,a=r.useLayoutEffect,u=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!o(t,n)}catch(r){return!0}}var l="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=i({inst:{value:n,getSnapshot:e}}),o=r[0].inst,l=r[1];return a((function(){o.value=n,o.getSnapshot=e,c(o)&&l({inst:o})}),[t,n,e]),s((function(){return c(o)&&l({inst:o}),t((function(){c(o)&&l({inst:o})}))}),[t]),u(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},61688:function(t,e,n){"use strict";t.exports=n(53250)},40111:function(t){(function(){var e,n,r,o,i,s,a,u,c,l,p,h,f=[].slice,d={}.hasOwnProperty;e=function(){var t,e,n,r,o,i;if(i=arguments[0],o=2<=arguments.length?f.call(arguments,1):[],s(Object.assign))Object.assign.apply(null,arguments);else for(t=0,n=o.length;t=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(t){if(!t.isOpen)return!this.root&&0===this.currentLevel&&t instanceof p&&(this.root=t),this.onData(this.writer.openNode(t,this.currentLevel)),t.isOpen=!0},t.prototype.closeNode=function(t){if(!t.isClosed)return this.onData(this.writer.closeNode(t,this.currentLevel)),t.isClosed=!0},t.prototype.onData=function(t){return this.documentStarted=!0,this.onDataCallback(t)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(t,e,n){return this.node(t,e,n)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},t.prototype.dtd=function(t,e,n){return this.doctype(t,e,n)},t.prototype.e=function(t,e,n){return this.element(t,e,n)},t.prototype.n=function(t,e,n){return this.node(t,e,n)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(t,e){return this.entity(t,e)},t.prototype.pent=function(t,e){return this.pEntity(t,e)},t.prototype.not=function(t,e){return this.notation(t,e)},t}()}).call(this)},32161:function(t,e,n){(function(){var e,r,o,i,s,a={}.hasOwnProperty;s=n(40111),i=s.isObject,o=s.isFunction,r=n(32026),e=n(72750),t.exports=function(t){function n(t,e,r){if(n.__super__.constructor.call(this,t),null==e)throw new Error("Missing element name");this.name=this.stringify.eleName(e),this.attributes={},null!=r&&this.attribute(r),t.isDocument&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this)}return function(t,e){for(var n in e)a.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){var t,e,n,r;for(e in(n=Object.create(this)).isRoot&&(n.documentObject=null),n.attributes={},r=this.attributes)a.call(r,e)&&(t=r[e],n.attributes[e]=t.clone());return n.children=[],this.children.forEach((function(t){var e;return(e=t.clone()).parent=n,n.children.push(e)})),n},n.prototype.attribute=function(t,n){var r,s;if(null!=t&&(t=t.valueOf()),i(t))for(r in t)a.call(t,r)&&(s=t[r],this.attribute(r,s));else o(n)&&(n=n.apply()),this.options.skipNullAttributes&&null==n||(this.attributes[t]=new e(this,t,n));return this},n.prototype.removeAttribute=function(t){var e,n,r;if(null==t)throw new Error("Missing attribute name");if(t=t.valueOf(),Array.isArray(t))for(n=0,r=t.length;n"+this.endline(t))},n.prototype.comment=function(t,e){return this.stream.write(this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.endline(t))},n.prototype.declaration=function(t,e){return this.stream.write(this.space(e)),this.stream.write('"),this.stream.write(this.endline(t))},n.prototype.docType=function(t,n){var u,c,l,h;if(n||(n=0),this.stream.write(this.space(n)),this.stream.write("0){for(this.stream.write(" ["),this.stream.write(this.endline(t)),c=0,l=(h=t.children).length;c"),this.stream.write(this.endline(t))},n.prototype.element=function(t,n){var o,i,s,a,u,c,d,m;for(u in n||(n=0),m=this.space(n),this.stream.write(m+"<"+t.name),c=t.attributes)y.call(c,u)&&(o=c[u],this.attribute(o));if(0===t.children.length||t.children.every((function(t){return""===t.value})))this.allowEmpty?this.stream.write(">"):this.stream.write("/>");else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)this.stream.write(">"),this.stream.write(t.children[0].value),this.stream.write("");else{for(this.stream.write(">"+this.newline),s=0,a=(d=t.children).length;s")}return this.stream.write(this.endline(t))},n.prototype.processingInstruction=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},n.prototype.raw=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},n.prototype.text=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},n.prototype.dtdAttList=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},n.prototype.dtdElement=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},n.prototype.dtdEntity=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},n.prototype.dtdNotation=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},n.prototype.endline=function(t){return t.isLastRootNode?"":this.newline},n}(d)}).call(this)},26434:function(t,e,n){(function(){var e,r,o,i,s,a,u,c,l,p,h,f,d,y={}.hasOwnProperty;u=n(59077),c=n(86544),e=n(66170),r=n(62096),l=n(32161),h=n(79406),f=n(43595),p=n(19181),o=n(51179),i=n(36347),s=n(99078),a=n(44777),d=n(60751),t.exports=function(t){function n(t){n.__super__.constructor.call(this,t)}return function(t,e){for(var n in e)y.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.document=function(t){var e,n,o,i,s;for(i="",n=0,o=(s=t.children).length;n"+this.newline},n.prototype.comment=function(t,e){return this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.newline},n.prototype.declaration=function(t,e){var n;return n=this.space(e),n+='",n+=this.newline},n.prototype.docType=function(t,n){var u,c,l,h,f;if(n||(n=0),h=this.space(n),h+="0){for(h+=" [",h+=this.newline,c=0,l=(f=t.children).length;c"+this.newline:c+="/>"+this.newline;else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)c+=">",c+=t.children[0].value,c+=""+this.newline;else{for(c+=">"+this.newline,s=0,a=(m=t.children).length;s"+this.newline}return c},n.prototype.processingInstruction=function(t,e){var n;return n=this.space(e)+""+this.newline},n.prototype.raw=function(t,e){return this.space(e)+t.value+this.newline},n.prototype.text=function(t,e){return this.space(e)+t.value+this.newline},n.prototype.dtdAttList=function(t,e){var n;return n=this.space(e)+""+this.newline},n.prototype.dtdElement=function(t,e){return this.space(e)+""+this.newline},n.prototype.dtdEntity=function(t,e){var n;return n=this.space(e)+""+this.newline},n.prototype.dtdNotation=function(t,e){var n;return n=this.space(e)+""+this.newline},n.prototype.openNode=function(t,e){var n,r,o,i;if(e||(e=0),t instanceof l){for(r in o=this.space(e)+"<"+t.name,i=t.attributes)y.call(i,r)&&(n=i[r],o+=this.attribute(n));return o+=(t.children?">":"/>")+this.newline}return o=this.space(e)+"")+this.newline},n.prototype.closeNode=function(t,e){switch(e||(e=0),!1){case!(t instanceof l):return this.space(e)+""+this.newline;case!(t instanceof c):return this.space(e)+"]>"+this.newline}},n}(d)}).call(this)},95549:function(t,e,n){(function(){var e,r,o,i,s,a={}.hasOwnProperty;o=n(40111),e=o.camelCase,s=o.titleCase,r=o.kebabCase,i=o.snakeCase,t.exports=function(){function t(t){var e,n,r,o,i;for(r in this.assertLegalChar=(e=this.assertLegalChar,n=this,function(){return e.apply(n,arguments)}),t||(t={}),this.allowSurrogateChars=t.allowSurrogateChars,this.noDoubleEncoding=t.noDoubleEncoding,this.textCase=t.textCase,o=t.stringify||{})a.call(o,r)&&(i=o[r],this[r]=i)}return t.prototype.eleName=function(t){return t=""+t||"",t=this.applyCase(t),this.assertLegalChar(t)},t.prototype.eleText=function(t){return t=""+t||"",this.assertLegalChar(this.elEscape(t))},t.prototype.cdata=function(t){return t=(t=""+t||"").replace("]]>","]]]]>"),this.assertLegalChar(t)},t.prototype.comment=function(t){if((t=""+t||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},t.prototype.raw=function(t){return""+t||""},t.prototype.attName=function(t){return t=""+t||"",this.applyCase(t)},t.prototype.attValue=function(t){return t=""+t||"",this.attEscape(t)},t.prototype.insTarget=function(t){return""+t||""},t.prototype.insValue=function(t){if((t=""+t||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return t},t.prototype.xmlVersion=function(t){if(!(t=""+t||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},t.prototype.xmlEncoding=function(t){if(!(t=""+t||"").match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/))throw new Error("Invalid encoding: "+t);return t},t.prototype.xmlStandalone=function(t){return t?"yes":"no"},t.prototype.dtdPubID=function(t){return""+t||""},t.prototype.dtdSysID=function(t){return""+t||""},t.prototype.dtdElementValue=function(t){return""+t||""},t.prototype.dtdAttType=function(t){return""+t||""},t.prototype.dtdAttDefault=function(t){return null!=t?""+t||"":t},t.prototype.dtdEntityValue=function(t){return""+t||""},t.prototype.dtdNData=function(t){return""+t||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(t){var e,n;if(e=this.allowSurrogateChars?/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/:/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/,n=t.match(e))throw new Error("Invalid character ("+n+") in string: "+t+" at index "+n.index);return t},t.prototype.applyCase=function(t){switch(this.textCase){case"camel":return e(t);case"title":return s(t);case"kebab":case"lower":return r(t);case"snake":return i(t);case"upper":return r(t).toUpperCase();default:return t}},t.prototype.elEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(//g,">").replace(/\r/g," ")},t.prototype.attEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/