diff --git a/docs/asset-manifest.json b/docs/asset-manifest.json index 27c93bf..2be2fc2 100644 --- a/docs/asset-manifest.json +++ b/docs/asset-manifest.json @@ -1,11 +1,11 @@ { "files": { - "main.css": "/static/css/main.4d2df099.css", - "main.js": "/static/js/main.bf84a601.js", + "main.css": "/static/css/main.1afedad0.css", + "main.js": "/static/js/main.5425b44b.js", "index.html": "/index.html" }, "entrypoints": [ - "static/css/main.4d2df099.css", - "static/js/main.bf84a601.js" + "static/css/main.1afedad0.css", + "static/js/main.5425b44b.js" ] } \ No newline at end of file diff --git a/docs/content/apex/database-service.md b/docs/content/apex/database-service.md index 62a3b85..1f9aadf 100644 --- a/docs/content/apex/database-service.md +++ b/docs/content/apex/database-service.md @@ -241,12 +241,6 @@ public with sharing class DatabaseMock { --- # Change Log -### v2.0 -- Added asX methods: - - `asUser` - - `asSystemInheritedSharing` - - `asSystemWithSharing` - - `asSystemWithoutSharing` ### v1.1.0 - Simplified DML Issuers code diff --git a/docs/index.html b/docs/index.html index 48e32f9..1a54287 100644 --- a/docs/index.html +++ b/docs/index.html @@ -17,8 +17,8 @@ Apex Libra - Library of Salesforce Accelerators, Frameworks, Utilities - - + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 0345517..9d4f9bf 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -165,19 +165,4 @@ daily 0.8 - - https://apexlibra.org/?/ - daily - 0.8 - - - https://apexlibra.org/?/ - daily - 0.8 - - - https://apexlibra.org/?/ - daily - 0.8 - \ No newline at end of file diff --git a/docs/static/css/main.4d2df099.css b/docs/static/css/main.1afedad0.css similarity index 75% rename from docs/static/css/main.4d2df099.css rename to docs/static/css/main.1afedad0.css index b204821..4203763 100644 --- a/docs/static/css/main.4d2df099.css +++ b/docs/static/css/main.1afedad0.css @@ -1 +1 @@ -.fullHeight,body,html{height:calc(100vh - 40px)}.fullWidth{width:100%}.text-preformatted{white-space:pre-wrap}.site-sidebar{background:#fafaf9;max-width:245px;min-width:245px;width:245px}.max-width{max-width:50rem}.slds-tabs_default__content{font-size:16px;& h1,& h2,& h3,& h4{margin-bottom:.75rem}& table{width:auto}}.button-copy{position:absolute;right:10px;top:5px;z-index:10}.slds-accordion__summary h3.slds-accordion__summary-heading{margin:0}.slds-tabs_default__content h3.slds-m-top_large:not(:first-child){margin-top:2rem}p{margin-bottom:1rem}.slds-theme_light{background-color:#fafaf9}.slds-box_darker{border:1px solid #c1c1c1}.tile:hover{background-color:#f4f6f9}.code,img{box-shadow:2px 2px 6px #979797;font-size:14px}.code-border{border-left:10px solid #358ccb}.slds-text-body_regular,.slds-text-title{font-size:16px}.slds-text-heading_small,.slds-text-title{font-size:18px}main{max-width:960px;overflow:auto;width:100%}.page-content{border-left:2px solid #fafaf9;display:none;margin-left:25px;max-height:calc(100vh - 125px);max-width:250px;overflow-y:auto;position:sticky;top:0;width:100%}.page-content .slds-tree__item-label{white-space:break-spaces}@media (min-width:1420px){.page-content{display:block}}ul.slds-accordion+ul.slds-accordion{border-top:1px solid #e5e5e5;border-top:1px solid var(--slds-g-color-border-base-1,#e5e5e5)}::-webkit-scrollbar{height:5px;width:5px}::-webkit-scrollbar-track{background:#fafaf9}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.animated{overflow:hidden;transition:all .5s ease-in-out}.animated-open{max-height:100%}.animated-closed{max-height:0;padding:0}.slds-tree_container[data-filtered=true] [role=treeitem][data-matched=false]{display:none}.slds-tree_container[data-filtered=true] [role=treeitem][data-matched=true] [role=treeitem]{display:inline;display:initial}.slds-tree_container[data-filtered=true] [role=treeitem][data-matched=false]:has([role=treeitem][data-matched=true]){display:inline;display:initial}.max-width-100{max-width:100%}.c-p-around_small{padding:.75rem}.image-enlarged img{background:#fff}.image-enlarged{background-color:#08070799;bottom:0;left:0;margin:0;position:fixed;right:0;top:0;z-index:99}.image-enlarged img{display:block;margin-left:auto;margin-right:auto}img:hover{box-shadow:2px 2px 6px #1b96ff}@media (max-width:600px){.c-p-around_small{padding:0}.slds-context-bar{padding-left:.5rem}.slds-context-bar__label-action.slds-context-bar__app-name{display:none}span.linenumber.react-syntax-highlighter-line-number{display:none!important}code.language-apex{tab-size:2!important}.slds-tabs_default__nav{flex-wrap:wrap}.image-enlarged{padding:0}}.header-anchor{position:relative}.hidden-link{opacity:0;padding-bottom:10px;padding-left:5px;transition:opacity .3s ease;visibility:hidden}.header-anchor:hover .hidden-link{opacity:1;visibility:visible}.header-anchor:first-child,.header-anchor:first-child .header{margin-top:0} \ No newline at end of file +.fullHeight,body,html{height:calc(100vh - 40px)}.fullWidth{width:100%}.text-preformatted{white-space:pre-wrap}.site-sidebar{background:#fafaf9;max-width:245px;min-width:245px;width:245px}.max-width{max-width:50rem}.slds-tabs_default__content{font-size:16px;& h1,& h2,& h3,& h4{margin-bottom:.75rem}& table{width:auto}}.button-copy{position:absolute;right:10px;top:5px;z-index:10}.slds-accordion__summary h3.slds-accordion__summary-heading{margin:0}.slds-tabs_default__content h3.slds-m-top_large:not(:first-child){margin-top:2rem}p{margin-bottom:1rem}.slds-theme_light{background-color:#fafaf9}.slds-box_darker{border:1px solid #c1c1c1}.tile:hover{background-color:#f4f6f9}.code,img{box-shadow:2px 2px 6px #979797;font-size:14px}.code-border{border-left:10px solid #358ccb}.slds-text-body_regular,.slds-text-title{font-size:16px}.slds-text-heading_small,.slds-text-title{font-size:18px}main{max-width:960px;overflow:auto;width:100%}.page-content{border-left:2px solid #fafaf9;display:none;margin-left:25px;max-height:calc(100vh - 125px);max-width:250px;overflow-y:auto;position:sticky;top:0;width:100%}.page-content .slds-tree__item-label{white-space:break-spaces}@media (min-width:1420px){.page-content{display:block}}ul.slds-accordion+ul.slds-accordion{border-top:1px solid #e5e5e5;border-top:1px solid var(--slds-g-color-border-base-1,#e5e5e5)}::-webkit-scrollbar{height:5px;width:5px}::-webkit-scrollbar-track{background:#fafaf9}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.animated{overflow:hidden;transition:all .5s ease-in-out}.animated-open{max-height:100%}.animated-closed{max-height:0;padding:0}.slds-tree_container[data-filtered=true] [role=treeitem][data-matched=false]{display:none}.slds-tree_container[data-filtered=true] [role=treeitem][data-matched=true] [role=treeitem]{display:inline;display:initial}.slds-tree_container[data-filtered=true] [role=treeitem][data-matched=false]:has([role=treeitem][data-matched=true]){display:inline;display:initial}.max-width-100{max-width:100%}.c-p-around_small{padding:.75rem}.image-enlarged img{background:#fff}.image-enlarged{background-color:#08070799;bottom:0;left:0;margin:0;position:fixed;right:0;top:0;z-index:99}.image-enlarged img{display:block;margin-left:auto;margin-right:auto}img{width:100%}img:hover{box-shadow:2px 2px 6px #1b96ff}@media (max-width:600px){.c-p-around_small{padding:0}.slds-context-bar{padding-left:.5rem}.slds-context-bar__label-action.slds-context-bar__app-name{display:none}span.linenumber.react-syntax-highlighter-line-number{display:none!important}code.language-apex{tab-size:2!important}.slds-tabs_default__nav{flex-wrap:wrap}.image-enlarged{padding:0}}.header-anchor{position:relative}.hidden-link{opacity:0;padding-bottom:10px;padding-left:5px;transition:opacity .3s ease;visibility:hidden}.header-anchor:hover .hidden-link{opacity:1;visibility:visible}.header-anchor:first-child,.header-anchor:first-child .header{margin-top:0} \ No newline at end of file diff --git a/docs/static/js/main.5425b44b.js b/docs/static/js/main.5425b44b.js new file mode 100644 index 0000000..c61c969 --- /dev/null +++ b/docs/static/js/main.5425b44b.js @@ -0,0 +1,2 @@ +/*! For license information please see main.5425b44b.js.LICENSE.txt */ +(()=>{var e={4737:(e,t,n)=>{"use strict";n.a(e,(async(e,t)=>{try{var r=n(9950),a=n(1352),o=n(3383),i=n(8979),s=n(8672),l=n(1083),c=n(39),u=n(4414);s.A.setAppElement("#root");const e=await fetch("/index.yml").then((e=>e.text())),d=c.Ay.parse(e),p=(0,i.A)(d),f=(0,o.Ys)(p);a.createRoot(document.getElementById("root")).render((0,u.jsx)(r.StrictMode,{children:(0,u.jsx)(l.A,{iconPath:"/icons",children:(0,u.jsx)(o.pg,{router:f})})})),t()}catch(d){t(d)}}),1)},8979:(e,t,n)=>{"use strict";n.d(t,{A:()=>Im});var r={};n.r(r),n.d(r,{attentionMarkers:()=>nc,contentInitial:()=>Xl,disable:()=>rc,document:()=>Yl,flow:()=>Ql,flowInitial:()=>Zl,insideSpan:()=>tc,string:()=>Jl,text:()=>ec});var a={};n.r(a),n.d(a,{boolean:()=>bd,booleanish:()=>yd,commaOrSpaceSeparated:()=>kd,commaSeparated:()=>wd,number:()=>Ed,overloadedBoolean:()=>vd,spaceSeparated:()=>Sd});var o=n(9950),i=n(3383),s=n(1942),l=n.n(s),c=n(8738),u=n.n(c),d=n(9322);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){var t;return o.createElement("div",{className:u()("slds-context-bar",(t={},p(t,"slds-context-bar_theme-".concat(e.cloud),e.cloud),p(t,"slds-context-bar_theme-".concat(e.theme),e.theme),t),e.className)},function(e){var t,n,r=[];return o.Children.forEach(e,(function(e){e&&e.type.displayName===d.k$&&("primary"===e.props.region?t=e:"secondary"===e.props.region?r.push(e):"tertiary"===e.props.region&&(n=e))})),[t].concat(r,[n])}(e.children))};f.propTypes={children:l().node,className:l().oneOfType([l().array,l().object,l().string]),cloud:l().string,theme:l().oneOf(["light","dark"])},f.displayName=d.pH;const m=f;function g(e){return g="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},g(e)}function h(e,t){for(var n=0;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function U(){return U=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var pe=function(e){var t=e.name,n=void 0===t?"":t,r=(e.assistiveText,e.category),a=void 0===r?"utility":r,i=e.icon,s=e.path,l=e.direction,c=de(e,["name","assistiveText","category","icon","path","direction"]),u=(0,o.useContext)(ce.E);P("UtilityIcon",{name:n,category:a,path:s,context:u});var d,p,f={action:K,custom:Y,doctype:X,standard:Z,utility:q};if(i?d=i:Object.keys(f[a]).length&&((d=f[a][n.toLowerCase()]).viewBox=f[a].viewBox),s)p=s;else if(u.onRequestIconPath)p=u.onRequestIconPath({category:a,name:n});else if(u["".concat(a,"Sprite")])p="".concat(u["".concat(a,"Sprite")],"#").concat(n);else{var m=l===Q.RTL?"symbols-rtl.svg":"symbols.svg";p=u.iconPath&&"".concat(u.iconPath,"/").concat(a,"-sprite/svg/").concat(m,"#").concat(n)}return d?o.createElement(W,ue({data:d,name:n},c)):o.createElement("svg",ue({key:"".concat(n,"_").concat(a)},c),o.createElement("use",{href:p}))};pe.displayName="UtilityIcon",pe.propTypes={assistiveText:l().object,category:l().oneOf(["action","custom","doctype","standard","utility"]),icon:l().object,name:l().string,path:l().string};const fe=le(pe);function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function he(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var be=function(e){var t,n=e.category,r=void 0===n?"utility":n,a=e.size,i=void 0===a?"medium":a,s=e.hint,l=e.icon,c=e.className,p=e.inverse,f=e.name,m=e.path,g=e.position,h=he(e,["category","size","hint","icon","className","inverse","name","path","position"]);return D(d.lF,function(e){for(var t=1;t=0)return 1;return 0}();var Ne=xe&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Oe))}};function Ce(e){return e&&"[object Function]"==={}.toString.call(e)}function Ie(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Re(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Le(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Ie(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/(auto|scroll|overlay)/.test(n+a+r)?e:Le(Re(e))}function De(e){return e&&e.referenceNode?e.referenceNode:e}var Pe=xe&&!(!window.MSInputMethodContext||!document.documentMode),Me=xe&&/MSIE 10/.test(navigator.userAgent);function Fe(e){return 11===e?Pe:10===e?Me:Pe||Me}function Ue(e){if(!e)return document.documentElement;for(var t=Fe(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ie(n,"position")?Ue(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Be(e){return null!==e.parentNode?Be(e.parentNode):e}function je(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,a=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(a,0);var i=o.commonAncestorContainer;if(e!==i&&t!==i||r.contains(a))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||Ue(e.firstElementChild)===e)}(i)?i:Ue(i);var s=Be(e);return s.host?je(s.host,t):je(e,Be(t).host)}function $e(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function ze(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function Ge(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Fe(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function He(e){var t=e.body,n=e.documentElement,r=Fe(10)&&getComputedStyle(n);return{height:Ge("Height",t,n,r),width:Ge("Width",t,n,r)}}var Ve=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=Fe(10),a="HTML"===t.nodeName,o=Ye(e),i=Ye(t),s=Le(e),l=Ie(t),c=parseFloat(l.borderTopWidth),u=parseFloat(l.borderLeftWidth);n&&a&&(i.top=Math.max(i.top,0),i.left=Math.max(i.left,0));var d=Ke({top:o.top-i.top-c,left:o.left-i.left-u,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&a){var p=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=c-p,d.bottom-=c-p,d.left-=u-f,d.right-=u-f,d.marginTop=p,d.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=$e(t,"top"),a=$e(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=a*o,e.right+=a*o,e}(d,t)),d}function Ze(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Ie(e,"position"))return!0;var n=Re(e);return!!n&&Ze(n)}function Qe(e){if(!e||!e.parentElement||Fe())return document.documentElement;for(var t=e.parentElement;t&&"none"===Ie(t,"transform");)t=t.parentElement;return t||document.documentElement}function Je(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},i=a?Qe(e):je(e,De(t));if("viewport"===r)o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=Xe(e,n),a=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:$e(n),s=t?0:$e(n,"left");return Ke({top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:a,height:o})}(i,a);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Le(Re(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=Xe(s,i,a);if("HTML"!==s.nodeName||Ze(i))o=l;else{var c=He(e.ownerDocument),u=c.height,d=c.width;o.top+=l.top-l.marginTop,o.bottom=u+l.top,o.left+=l.left-l.marginLeft,o.right=d+l.left}}var p="number"===typeof(n=n||0);return o.left+=p?n:n.left||0,o.top+=p?n:n.top||0,o.right-=p?n:n.right||0,o.bottom-=p?n:n.bottom||0,o}function et(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var i=Je(n,r,o,a),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},l=Object.keys(s).map((function(e){return qe({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function tt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Xe(n,r?Qe(t):je(t,De(n)),r)}function nt(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function rt(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function at(e,t,n){n=n.split("-")[0];var r=nt(e),a={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),i=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return a[i]=t[i]+t[l]/2-r[l]/2,a[s]=n===s?t[s]-r[c]:t[rt(s)],a}function ot(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function it(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=ot(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Ce(n)&&(t.offsets.popper=Ke(t.offsets.popper),t.offsets.reference=Ke(t.offsets.reference),t=n(t,e))})),t}function st(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=tt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=et(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=at(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=it(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function lt(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function ct(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=St.indexOf(e),r=St.slice(n+1).concat(St.slice(0,n));return t?r.reverse():r}var kt="flip",Tt="clockwise",_t="counterclockwise";function At(e,t,n,r){var a=[0,0],o=-1!==["right","left"].indexOf(r),i=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=i.indexOf(ot(i,(function(e){return-1!==e.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[i.slice(0,s).concat([i[s].split(l)[0]]),[i[s].split(l)[1]].concat(i.slice(s+1))]:[i];return c=c.map((function(e,r){var a=(1===r?!o:o)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var a=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+a[1],i=a[2];if(!o)return e;if(0===i.indexOf("%")){return Ke("%p"===i?n:r)[t]/100*o}if("vh"===i||"vw"===i)return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,a,t,n)}))})),c.forEach((function(e,t){e.forEach((function(n,r){ht(n)&&(a[t]+=n*("-"===e[r-1]?-1:1))}))})),a}var xt={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var a=e.offsets,o=a.reference,i=a.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:We({},l,o[l]),end:We({},l,o[l]+o[c]-i[c])};e.offsets.popper=qe({},i,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,a=e.offsets,o=a.popper,i=a.reference,s=r.split("-")[0],l=void 0;return l=ht(+n)?[+n,0]:At(n,o,i,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Ue(e.instance.popper);e.instance.reference===n&&(n=Ue(n));var r=ct("transform"),a=e.instance.popper.style,o=a.top,i=a.left,s=a[r];a.top="",a.left="",a[r]="";var l=Je(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);a.top=o,a.left=i,a[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),We({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=qe({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,a=e.placement.split("-")[0],o=Math.floor,i=-1!==["top","bottom"].indexOf(a),s=i?"right":"bottom",l=i?"left":"top",c=i?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[l]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!vt(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],o=e.offsets,i=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(a),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",m=nt(r)[c];s[f]-mi[f]&&(e.offsets.popper[d]+=s[d]+m-i[f]),e.offsets.popper=Ke(e.offsets.popper);var g=s[d]+s[c]/2-m/2,h=Ie(e.instance.popper),b=parseFloat(h["margin"+u]),y=parseFloat(h["border"+u+"Width"]),v=g-e.offsets.popper[d]-b-y;return v=Math.max(Math.min(i[c]-m,v),0),e.arrowElement=r,e.offsets.arrow=(We(n={},d,Math.round(v)),We(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(lt(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=Je(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],a=rt(r),o=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case kt:i=[r,a];break;case Tt:i=wt(r);break;case _t:i=wt(r,!0);break;default:i=t.behavior}return i.forEach((function(s,l){if(r!==s||i.length===l+1)return e;r=e.placement.split("-")[0],a=rt(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)d(u.top)||"bottom"===r&&d(c.top)d(n.right),g=d(c.top)d(n.bottom),b="left"===r&&f||"right"===r&&m||"top"===r&&g||"bottom"===r&&h,y=-1!==["top","bottom"].indexOf(r),v=!!t.flipVariations&&(y&&"start"===o&&f||y&&"end"===o&&m||!y&&"start"===o&&g||!y&&"end"===o&&h),E=!!t.flipVariationsByContent&&(y&&"start"===o&&m||y&&"end"===o&&f||!y&&"start"===o&&h||!y&&"end"===o&&g),S=v||E;(p||b||S)&&(e.flipped=!0,(p||b)&&(r=i[l+1]),S&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=qe({},e.offsets.popper,at(e.instance.popper,e.offsets.reference,e.placement)),e=it(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,a=r.popper,o=r.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return a[i?"left":"top"]=o[n]-(s?a[i?"width":"height"]:0),e.placement=rt(t),e.offsets.popper=Ke(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!vt(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=ot(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Ne(this.update.bind(this)),this.options=qe({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(qe({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=qe({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return qe({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Ce(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Ve(e,[{key:"update",value:function(){return st.call(this)}},{key:"destroy",value:function(){return ut.call(this)}},{key:"enableEventListeners",value:function(){return mt.call(this)}},{key:"disableEventListeners",value:function(){return gt.call(this)}}]),e}();Nt.Utils=("undefined"!==typeof window?window:n.g).PopperUtils,Nt.placements=Et,Nt.Defaults=Ot;const Ct=Nt;var It=n(1812),Rt=n.n(It),Lt=function(e){var t=e.renderTo,n=e.children;return o.createElement(Dt.Provider,{value:{renderTo:t}},n)};Lt.displayName=d.TH,Lt.propTypes={renderTo:l().string};var Dt=o.createContext({});function Pt(e){return Pt="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},Pt(e)}function Mt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(l){s=!0,a=l}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ft(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&function(e,t){var n=e.nodeName.toLowerCase();return/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n&&e.href||t}(e,!n)}(e)}))};var Kt=!("undefined"===typeof window||!window.document||!window.document.createElement),Yt=(Kt&&Boolean(window.addEventListener||window.attachEvent),Kt&&Boolean(window.screen),null),Xt=null,Zt=function(e){if(Kt&&Yt&&e.keyCode===Wt.TAB){var t=qt(Yt);if(t[e.shiftKey?0:t.length-1]===document.activeElement||Yt===document.activeElement)e.preventDefault(),t[e.shiftKey?t.length-1:0].focus()}},Qt={focusAncestor:function(e){var t=e.isPortal;if(Kt)if(t){var n=window.pageYOffset;Yt.focus({preventScroll:!0}),window.scrollTo(window.pageXOffset,n)}else Yt.focus()},hasOrAncestorHasFocus:function(){return Kt&&(document.activeElement===Yt||Yt.contains(document.activeElement))},returnFocusToStoredElement:function(){if(Kt){try{Xt.focus()}catch(e){console.warn("You tried to return focus to ".concat(Xt," but it is not in the DOM anymore"))}Xt=null}},setupScopedFocus:function(e){var t=e.ancestorElement;Yt=t,window.addEventListener("keydown",Zt,!1)},storeActiveElement:function(){Xt=Kt?document.activeElement:null},teardownScopedFocus:function(){Yt=null,Kt&&window.removeEventListener("keydown",Zt)}};const Jt=Qt;var en=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).flipped?u()({"slds-nubbin_top":"top"===e,"slds-nubbin_top-left":"top left"===e,"slds-nubbin_top-right":"top right"===e,"slds-nubbin_bottom":"bottom"===e,"slds-nubbin_bottom-left":"bottom left"===e,"slds-nubbin_bottom-right":"bottom right"===e,"slds-nubbin_left":"left"===e,"slds-nubbin_left-bottom":"left bottom"===e,"slds-nubbin_left-top":"left top"===e,"slds-nubbin_right":"right"===e,"slds-nubbin_right-bottom":"right bottom"===e,"slds-nubbin_right-top":"right top"===e}):u()({"slds-nubbin_top":"bottom"===e,"slds-nubbin_top-left":"bottom left"===e,"slds-nubbin_top-right":"bottom right"===e,"slds-nubbin_bottom":"top"===e,"slds-nubbin_bottom-left":"top left"===e,"slds-nubbin_bottom-right":"top right"===e,"slds-nubbin_left":"right"===e,"slds-nubbin_left-bottom":"right bottom"===e,"slds-nubbin_left-top":"right top"===e,"slds-nubbin_right":"left"===e,"slds-nubbin_right-bottom":"left bottom"===e,"slds-nubbin_right-top":"left top"===e})},tn=1/Math.sqrt(2);function nn(e){return nn="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},nn(e)}function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.placement,n=0,r=0,a=24,o=16*tn,i=.5*e.offsets.reference.width,s=.5*e.offsets.reference.height;return"top"===t?n=-1*o:"top-end"===t?(n=-1*o,r=a-i):"top-start"===t&&(n=-1*o,r=i-a),"bottom"===t?n=o:"bottom-end"===t?(n=o,r=a-i):"bottom-start"===t&&(n=o,r=i-a),"right"===t?r=o:"right-end"===t?(r=o,n=a-s):"right-start"===t&&(r=o,n=s-a),"left"===t?r=-1*o:"left-end"===t?(r=-1*o,n=a-s):"left-start"===t&&(r=-1*o,n=s-a),{left:r,top:n}}(e.state.popperData):{left:0,top:0},o=t.offsets.popper.left+a.left+r.horizontal,i=t.offsets.popper.top+a.top+r.vertical;return an(an({},t.style),{},{left:isNaN(o)?0:o,top:isNaN(i)?0:i,right:"inherit",position:n})})),dn(cn(e),"setDialogContent",(function(t){e.dialogContent=t,e.state.triggerPopperJS||e.setState({triggerPopperJS:!0})})),dn(cn(e),"handleClickOutside",(function(){e.handleClose()})),dn(cn(e),"handleClose",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.componentWillUnmount||e.setState({triggerPopperJS:!0}),e.props.onClose&&e.props.onClose(t,n)})),dn(cn(e),"handleClick",(function(e){e.nativeEvent&&(e.nativeEvent.preventDefault(),e.nativeEvent.stopPropagation())})),dn(cn(e),"handleKeyDown",(function(t){t.keyCode===Wt.TAB&&e.props.closeOnTabKey&&(ke.trap(t),e.handleClose(t)),e.props.onKeyDown&&e.props.onKeyDown(t)})),dn(cn(e),"handleOpen",(function(){"popover"===e.props.variant&&e.dialogContent&&(Jt.storeActiveElement(),Jt.setupScopedFocus({ancestorElement:e.dialogContent}),Jt.hasOrAncestorHasFocus()||Jt.focusAncestor({isPortal:"overflowBoundaryElement"===e.props.position})),e.props.onOpen&&e.props.onOpen(void 0,{portal:e.dialogContent})})),dn(cn(e),"createPopper",(function(){var t=e.props.onRequestTargetElement(),n=e.dialogContent,r=function(e,t){var n;switch(e){case"top left":n="top-start";break;case"top right":n="top-end";break;case"right top":n="right-start";break;case"right bottom":n="right-end";break;case"bottom left":n="bottom-start";break;case"bottom right":n="bottom-end";break;case"left top":n="left-start";break;case"left bottom":n="left-end";break;default:n=e}return t===Q.RTL&&(n.indexOf("left")>-1?n=n.replace("left","right"):n.indexOf("right")>-1?n=n.replace("right","left"):n.indexOf("start")>-1?n=n.replace("start","end"):n.indexOf("end")>-1&&(n=n.replace("end","start"))),n}(e.props.align,e.props.direction),a={applyStyle:{enabled:!1},preventOverflow:{enabled:!e.props.hasStaticAlignment,boundariesElement:"absolute"===e.props.position?"scrollParent":"viewport"},hide:{enabled:!1},flip:{enabled:!e.props.hasStaticAlignment},removeOnDestroy:!0,updateState:{enabled:!0,order:900,fn:function(t){return(e.state.popperData&&!Rt()(t.offsets,e.state.popperData.offsets)||!e.state.popperData)&&e.setState({popperData:t}),t}}};t||console.error("Target node not found!",t),n||console.error("Popper node not found!",n),e.popper=new Ct(t,n,{placement:r,eventsEnabled:!0,modifiers:a}),e.popper.scheduleUpdate()})),dn(cn(e),"destroyPopper",(function(){e.popper&&e.popper.destroy()})),e}return t=i,(n=[{key:"componentDidMount",value:function(){"absolute"!==this.props.position&&"relative"!==this.props.position||this.handleOpen()}},{key:"componentDidUpdate",value:function(e,t){this.popper&&this.popper.scheduleUpdate(),!0===this.state.triggerPopperJS&&!1===t.triggerPopperJS&&("absolute"===this.props.position||"overflowBoundaryElement"===this.props.position)&&this.dialogContent&&this.props.onRequestTargetElement()&&this.createPopper()}},{key:"componentWillUnmount",value:function(){"popover"===this.props.variant&&(Jt.teardownScopedFocus(),Jt.returnFocusToStoredElement()),"absolute"!==this.props.position&&"overflowBoundaryElement"!==this.props.position||this.destroyPopper(),this.handleClose(void 0,{componentWillUnmount:!0})}},{key:"render",value:function(){var e=this,t={},n="popover"===this.props.variant?"dialog":this.props.variant;"absolute"!==this.props.position&&"overflowBoundaryElement"!==this.props.position||(t=an(an({},t),{},{outline:0},this.getPopperStyles())),"target"===this.props.inheritWidthOf&&this.props.onRequestTargetElement()?t.width=this.props.onRequestTargetElement().getBoundingClientRect().width:"menu"===this.props.inheritWidthOf&&this.dialogContent&&this.dialogContent.querySelector(".slds-listbox")&&(t.width=this.dialogContent.querySelector(".slds-listbox").getBoundingClientRect().width),t=an(an({},t),this.props.style);var r="popover"===this.props.variant?"section":"div",a=o.createElement(r,an({className:u()(dn({"absolute-positioned":"absolute"===this.props.position,"portal-positioned":"overflowBoundaryElement"===this.props.position},"".concat(this.props.outsideClickIgnoreClass),"overflowBoundaryElement"===this.props.position),this.props.hasNubbin&&en(this.props.align,this.state.popperData),this.props.contentsClassName)||void 0,style:t,onMouseDown:this.props.onMouseDown,onKeyDown:this.handleKeyDown,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,ref:this.setDialogContent,role:n,tabIndex:"popover"===this.props.variant?"-1":void 0},this.props.containerProps),this.props.children),i={absolute:function(){return a},relative:function(){return a},overflowBoundaryElement:function(){var t=Object.keys(e.context).filter((function(t){return Boolean(e.context[t])})).reduce((function(t,n){return an(an({},t),dn({},n,e.context[n]))}),{}),n=o.createElement(J.Provider,{value:e.props.direction},o.createElement(ce.A,t,a));return o.createElement(Ht,{onOpen:e.handleOpen,portalMount:e.props.portalMount},n)}};return i[this.props.position]&&i[this.props.position]()}}])&&on(t.prototype,n),r&&on(t,r),i}(o.Component);dn(pn,"displayName",d.NM),dn(pn,"propTypes",{align:l().oneOf(["top","top left","top right","right","right top","right bottom","bottom","bottom left","bottom right","left","left top","left bottom"]),className:l().oneOfType([l().array,l().object,l().string]),contentsClassName:l().oneOfType([l().array,l().object,l().string]),children:l().node.isRequired,closeOnTabKey:l().bool,containerProps:l().object,direction:l().oneOf([Q.LTR,Q.RTL]),hasNubbin:l().bool,hasStaticAlignment:l().bool,inheritWidthOf:l().oneOf(["target","menu","none"]),offset:l().string,onClose:l().func,onKeyDown:l().func,onMouseEnter:l().func,onMouseLeave:l().func,onOpen:l().func,onRequestTargetElement:l().func.isRequired,outsideClickIgnoreClass:l().string,portalMount:l().func,position:l().oneOf(["absolute","overflowBoundaryElement","relative"]).isRequired,style:l().object,variant:l().oneOf(["dropdown","popover","tooltip"])}),dn(pn,"defaultProps",{align:"bottom left",direction:Q.LTR,offset:"0px 0px",outsideClickIgnoreClass:"ignore-react-onclickoutside"}),pn.contextType=ce.E;const fn=le(pn);const mn=function(){},gn=JSON.parse('{"component":"icon","status":"prod","display-name":"Icons","classKey":"Icon","last-accessibility-review":{"date-iso-8601":"2018/01/18","commit-sha":"ad6b6c6523ee21cada11be5f7ea4d99abc530726"},"SLDS-component-path":"/components/icons","site-stories":[{"heading":"Category Options","path":"/__examples__/categories.jsx"},{"heading":"Color Options","path":"/__examples__/colors.jsx"},{"heading":"Size Options","path":"/__examples__/sizes.jsx"}],"url-slug":"icons"}');const hn=function(){var e=u().apply(void 0,arguments);return""===e?void 0:e};var bn=n(7139),yn=n.n(bn);function vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function En(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var kn={assistiveText:{},category:"standard",colorVariant:"default",size:"medium"},Tn=function(e){var t=e.category,n=void 0===t?kn.category:t,r=e.className,a=e.colorVariant,i=void 0===a?kn.colorVariant:a,s=e.containerClassName,l=e.containerStyle,c=e.icon,u=e.inverse,p=e.name,f=e.path,m=e.size,g=void 0===m?kn.size:m,h=e.title,b=e.productTheme,y=e.assistiveText,v=void 0===y?kn.assistiveText:y,E=e.style,S=wn(e,["category","className","colorVariant","containerClassName","containerStyle","icon","inverse","name","path","size","title","productTheme","assistiveText","style"]);mn(d.kb,En({category:n,className:r,colorVariant:i,containerClassName:s,containerStyle:l,icon:c,inverse:u,name:p,path:f,size:g,title:h,productTheme:b,assistiveText:v,style:E},S),gn);var w=E;b&&(w=En({backgroundColor:yn()[b]},E));var k="string"===typeof v?v:En(En({},kn.assistiveText),v).label,T=p?p.replace(/_/g,"-"):"";return o.createElement("span",{className:hn(Sn({"slds-icon_container":"utility"!==n,"slds-icon_container_circle":"action"===n},"slds-icon-".concat(n,"-").concat(T),"utility"!==n&&"doctype"!==n&&!f),s),style:l,title:h},o.createElement(fe,{"aria-hidden":"true",category:n,className:hn(r,"slds-icon",{"slds-icon_xx-small":"xx-small"===g,"slds-icon_x-small":"x-small"===g,"slds-icon_small":"small"===g,"slds-icon_large":"large"===g,"slds-icon-text-default":"default"===i&&"utility"===n?!u:u,"slds-icon-text-success":"success"===i,"slds-icon-text-warning":"warning"===i,"slds-icon-text-error":"error"===i,"slds-icon-text-light":"light"===i}),icon:c,name:p,path:f,style:w}),k?o.createElement("span",{className:"slds-assistive-text"},k):"")};Tn.displayName=d.kb,Tn.propTypes={assistiveText:l().shape({label:l().string}),category:l().oneOf(["action","custom","doctype","standard","utility"]),className:l().oneOfType([l().array,l().object,l().string]),containerClassName:l().oneOfType([l().array,l().object,l().string]),containerStyle:l().object,colorVariant:l().oneOf(["base","default","error","light","warning","success"]),icon:l().object,inverse:l().bool,name:l().string,path:l().string,productTheme:l().oneOf(["global-setup","service-cloud","industry-cloud","sales-cloud","commerce-cloud","community-cloud","marketing-cloud","quip"]),size:l().oneOf(["xx-small","x-small","small","medium","large"]),style:l().object,title:l().string};const _n=Tn;const An=function(){},xn=JSON.parse('{"component":"tooltip","status":"prod","display-name":"Tooltips","classKey":"Tooltip","SLDS-component-path":"/components/tooltips","site-stories":[{"heading":"Base","path":"/__examples__/base.jsx"},{"heading":"Button Trigger","path":"/__examples__/button.jsx"},{"heading":"Button Group Trigger","path":"/__examples__/button-group.jsx"},{"heading":"Learn more","path":"/__examples__/learn-more.jsx"}],"url-slug":"tooltips"}');function On(e){return On="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},On(e)}function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cn(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,i.Zp)(),r=(0,i.zy)().pathname;return"/"===r&&setTimeout((()=>n("/apex/"))),(0,ta.jsxs)(ta.Fragment,{children:[(0,ta.jsxs)(m,{children:[(0,ta.jsx)(w,{region:"primary",children:(0,ta.jsx)(Cr,{isOpen:!1,triggerName:"Apex Libra",title:"Apex Libra",triggerOnClick:()=>{n("/news")},children:(0,ta.jsx)(Qr,{title:"1"})})}),(0,ta.jsx)(w,{region:"secondary",navigation:!0,children:e.map((e=>(0,ta.jsx)(ea,{label:e.label,active:r.indexOf(e.path)>-1,target:"_blank",href:e.url,onClick:t=>{t.preventDefault(),e.path&&n(e.path)||e.url&&window.open(e.url)}},e.label)))})]}),(0,ta.jsx)(i.sv,{})]})};function ra(e){return ra="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},ra(e)}function aa(e,t){for(var n=0;n0?this.setState({currButtonIndex:t-1}):this.setState({currButtonIndex:this.props.children.length-1}))}},{key:"addSummaryButton",value:function(e){var t=this.summaryButtons.find((function(t){return e===t}));null!==e&&void 0===t&&this.summaryButtons.push(e)}},{key:"render",value:function(){var e=this;return o.createElement("ul",{name:this.props.id||this.generatedId,className:u()("slds-accordion",this.props.className)},o.Children.map(this.props.children,(function(t){return o.cloneElement(t,{refs:{summaryButton:e.addSummaryButton.bind(e)},onClickSummary:e.onClickSummary.bind(e),onKeyDownSummary:e.onKeyDownSummary.bind(e)})})))}}])&&aa(t.prototype,n),r&&aa(t,r),i}(o.Component);ca.displayName=d.lq,ca.propTypes=la;const ua=ca;var da={children:l().node,expanded:l().bool.isRequired,id:l().oneOfType([l().number,l().string]).isRequired,panelContentActions:l().node,onKeyDownSummary:l().func,onTogglePanel:l().func.isRequired,refs:l().shape({summaryButton:l().func}),summary:l().oneOfType([l().string,l().node]).isRequired,title:l().string},pa=function(e){var t=e.children,n=e.expanded,r=e.id,a=e.panelContentActions,i=e.summary,s=e.title,l=e.onClickSummary,c=e.onKeyDownSummary,d=e.onTogglePanel,p=e.refs;return o.createElement("li",{className:"slds-accordion__list-item"},o.createElement("section",{className:u()("slds-accordion__section",{"slds-is-open":n})},o.createElement("div",{className:"slds-accordion__summary"},o.createElement("h3",{className:"slds-text-heading_small slds-accordion__summary-heading slds-has-flexi-truncate"},o.createElement(nr,{"aria-controls":"".concat(r,"-accordion-panel"),"aria-expanded":n,buttonRef:p.summaryButton,className:"slds-button_reset slds-accordion__summary-action",iconCategory:"utility",iconClassName:"slds-accordion__summary-action-icon slds-button__icon slds-button__icon_left",iconName:"switch",id:"".concat(r,"-accordion-button"),onKeyDown:c,onClick:function(e){l(),d(e)},variant:"base"},o.createElement("span",{className:"slds-truncate",title:s||i},i))),a),o.createElement("div",{"aria-hidden":!n,className:"slds-accordion__content",id:"".concat(r,"-accordion-panel")},t)))};const fa=pa;function ma(e){return ma="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},ma(e)}function ga(e,t){for(var n=0;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var ja="__body",$a="__header-actions",za="__heading",Ga="__filter-input",Ha=function(e){var t=e.heading,n=void 0===t?"Related Items":t,r=e.bodyClassName,a=e.children,i=e.className,s=e.empty,l=e.filter,c=e.footer,d=e.hasNoHeader,p=e.header,f=e.headerActions,m=e.icon,g=e.id,h=e.style,b=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t=e.join(".");return eo[t]||(eo[t]=function(e){var t=e.length;return 0===t||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),eo[t]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return Ja(Ja({},e),n[t])}),t)}function no(e){return e.join(" ")}function ro(e){var t=e.node,n=e.stylesheet,r=e.style,a=void 0===r?{}:r,i=e.useInlineStyles,s=e.key,l=t.properties,c=t.type,u=t.tagName,d=t.value;if("text"===c)return d;if(u){var p,f=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,a){return ro({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})}))}}(n,i);if(i){var m=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),g=l.className&&l.className.includes("token")?["token"]:[],h=l.className&&g.concat(l.className.filter((function(e){return!m.includes(e)})));p=Ja(Ja({},l),{},{className:no(h)||void 0,style:to(l.className,Object.assign({},l.style,a),n)})}else p=Ja(Ja({},l),{},{className:no(l.className)});var b=f(t.children);return o.createElement(u,Za({key:s},p),b)}}var ao=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function oo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function io(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||c.length>0?function(e,o){return po({children:e,lineNumber:o,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l,wrapLines:t})}(e,o,c):function(e,t){if(r&&t&&a){var n=uo(s,t,i);e.unshift(co(t,n))}return e}(e,o)}for(var g=function(){var e=u[f],t=e.children[0].value;if(t.match(so)){var n=t.split("\n");n.forEach((function(t,a){var i=r&&d.length+o,s={type:"text",value:"".concat(t,"\n")};if(0===a){var l=m(u.slice(p+1,f).concat(po({children:[s],className:e.properties.className})),i);d.push(l)}else if(a===n.length-1){var c=u[f+1]&&u[f+1].children&&u[f+1].children[0],g={type:"text",value:"".concat(t)};if(c){var h=po({children:[g],className:e.properties.className});u.splice(f+1,0,h)}else{var b=m([g],i,e.properties.className);d.push(b)}}else{var y=m([s],i,e.properties.className);d.push(y)}})),p=f}f++};f code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,r=e.style,a=void 0===r?vo:r,i=e.customStyle,s=void 0===i?{}:i,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:io(io({},a['code[class*="language-"]']),a['code[class*="language-'.concat(t,'"]')])}:l,u=e.useInlineStyles,d=void 0===u||u,p=e.showLineNumbers,f=void 0!==p&&p,m=e.showInlineLineNumbers,g=void 0===m||m,h=e.startingLineNumber,b=void 0===h?1:h,y=e.lineNumberContainerStyle,v=e.lineNumberStyle,E=void 0===v?{}:v,S=e.wrapLines,w=e.wrapLongLines,k=void 0!==w&&w,T=e.lineProps,_=void 0===T?{}:T,A=e.renderer,x=e.PreTag,O=void 0===x?"pre":x,N=e.CodeTag,C=void 0===N?"code":N,I=e.code,R=void 0===I?(Array.isArray(n)?n[0]:n)||"":I,L=e.astGenerator,D=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r code':{position:"relative",zIndex:"1",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em",position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal"},'pre[class*="language-"]:before':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"0.18em",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(-2deg)",MozTransform:"rotate(-2deg)",msTransform:"rotate(-2deg)",OTransform:"rotate(-2deg)",transform:"rotate(-2deg)"},'pre[class*="language-"]:after':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"auto",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(2deg)",MozTransform:"rotate(2deg)",msTransform:"rotate(2deg)",OTransform:"rotate(2deg)",transform:"rotate(2deg)",right:"0.75em"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"},'pre[class*="language-"].line-numbers.line-numbers':{paddingLeft:"0"},'pre[class*="language-"].line-numbers.line-numbers code':{paddingLeft:"3.8em"},'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows':{left:"0"},'pre[class*="language-"][data-line]':{paddingTop:"0",paddingBottom:"0",paddingLeft:"0"},"pre[data-line] code":{position:"relative",paddingLeft:"4em"},"pre .line-highlight":{marginTop:"0"}},ko={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local",margin:".5em 0",padding:"0 1em"},'pre[class*="language-"] > code':{display:"block"},':not(pre) > code[class*="language-"]':{position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"}};function To(e){let{language:t,header:n,description:r,code:a,withShadow:i,showLineNumbers:s,smallFont:l,hideCopy:c}=e;const[u,d]=(0,o.useState)("copy"),p={margin:0,boxShadow:"none"};return l&&(p.fontSize="0.9em"),(0,ta.jsxs)("div",{className:"slds-box_border slds-box_darker",children:[n?(0,ta.jsxs)("div",{className:"slds-p-vertical_xx-small slds-p-horizontal_large slds-theme_shade code-border",children:[(0,ta.jsx)("b",{children:n}),(0,ta.jsx)("br",{}),(0,ta.jsx)("span",{children:r})]}):null,a?(0,ta.jsxs)("div",{className:"slds-is-relative slds-scrollable_none",children:[(0,ta.jsx)(nr,{variant:"icon",iconCategory:"utility",iconName:u,className:`button-copy ${c&&"slds-hide"}`,onClick:e=>{navigator.clipboard.writeText(a.trim()),d("check"),setTimeout((()=>{d("copy")}),1500)}}),(0,ta.jsx)(So,{language:t,style:i?wo:ko,showLineNumbers:s,customStyle:p,children:a.trim()})]}):null]})}function _o(e){let{item:t,defaults:n}=e;return(0,ta.jsx)("div",{className:"slds-col slds-small-size--1-of-1 slds-medium-size_1-of-1 slds-large-size_1-of-3 slds-p-vertical--small max-width-100",children:(0,ta.jsx)(i.N_,{to:t.path,className:"slds-text-link_reset",children:(0,ta.jsxs)(Va,{header:(0,ta.jsx)(Ta,{body:(0,ta.jsxs)("div",{children:[(0,ta.jsx)("h2",{className:"slds-text-heading_small",children:t.label}),(0,ta.jsx)("h4",{className:"slds-wrap slds-text-color_weak",children:t.description})]})}),className:"slds-col slds-box_border tile",children:[t.image?(0,ta.jsx)("img",{className:"slds-border_top slds-border_bottom",src:t.image,alt:t.label}):null,t.snippet?(0,ta.jsx)(To,{smallFont:!0,language:t.language||n.language,code:t.snippet,withShadow:!0,hideCopy:!0}):null]})})})}function Ao(e){let{category:t}=e;const[n,r]=(0,o.useState)({});return(0,ta.jsxs)("div",{className:"slds-box slds-theme_light slds-box_darker slds-p-horizontal_none",children:[(0,ta.jsx)("div",{className:"slds-text-heading_medium slds-p-horizontal_small",children:t.label}),(0,ta.jsx)(ua,{children:t.groups.map((e=>(0,ta.jsx)(fa,{id:e.label,summary:e.label,expanded:!n[e.label],onTogglePanel:t=>{return a=e.label,void r({...n,[a]:!n[a]});var a},children:(0,ta.jsx)("div",{className:"slds-grid slds-gutters_x-small slds-wrap",children:e.items.map((e=>(0,ta.jsx)(_o,{item:e,defaults:t.defaults},e.path)))})},e.label)))})]})}class xo extends o.Component{render(){return this.props.isTrue?this.props.children:null}}function Oo(e){return Oo="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},Oo(e)}function No(e,t){for(var n=0;n(0,ta.jsx)(Mo,{...e,searchText:o,items:e.items,level:1,onClick:a,active:n,showPageHeaders:!0},e.path||e.label)))})]})}function Mo(e){let{label:t,path:n,active:r,items:a,level:o,onClick:i,searchText:s,badge:l,className:c}=e;const u=s&&t.toLowerCase().indexOf(s)>-1,d=""===n&&""===r||n&&r&&n===r;return!!t&&(0,ta.jsxs)("li",{role:"treeitem","aria-level":o,"aria-expanded":!0,"aria-label":t,"aria-selected":d,"data-matched":u,onClick:e=>{e.stopPropagation(),i&&i(n)},children:[(0,ta.jsx)("div",{className:`slds-tree__item ${c||""}`,children:(0,ta.jsx)("span",{className:"slds-has-flexi-truncate",children:(0,ta.jsxs)("span",{className:"slds-tree__item-label slds-truncate",title:t,children:[t,"\xa0",l&&(0,ta.jsx)(Do,{content:l,color:"light"})]})})}),(0,ta.jsx)(xo,{isTrue:null===a||void 0===a?void 0:a.length,children:(0,ta.jsx)("ul",{role:"group",className:"slds-p-bottom_small",children:null===a||void 0===a?void 0:a.map((e=>(0,ta.jsx)(Mo,{...e,active:r,searchText:s,level:o+1,onClick:e=>i&&i(e)},e.path)))})})]})}function Fo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uo(){return Uo=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var jo=function(e){var t=e.category,n=void 0===t?"utility":t,r=e.variant,a=void 0===r?"base":r,i=e.iconPosition,s=e.name,l=e.path,c=e.onClick,d=Bo(e,["category","variant","iconPosition","name","path","onClick"]),p={combobox:o.createElement("span",{className:"slds-icon_container slds-input__icon slds-input__icon_right"},o.createElement(fe,Uo({"aria-hidden":!0,category:n,className:u()("slds-icon slds-icon_x-small slds-icon-text-default"),name:s,path:l},d))),base:o.createElement(fe,Uo({"aria-hidden":!0,category:n,className:u()("slds-input__icon slds-icon-text-default",Fo({},"slds-input__icon_".concat(i),i)),name:s,path:l},d))};return T()(c)?o.createElement(nr,Uo({className:u()("slds-input__icon",Fo({},"slds-input__icon_".concat(i),i)),iconCategory:n,iconName:s,iconPath:l,onClick:c,variant:"icon"},d)):p[a]};jo.displayName=d.F$,jo.propTypes={category:l().string,iconPosition:l().oneOf(["left","right"]),name:l().string,path:l().string,onClick:l().func,variant:l().oneOf(["base","combobox"])};const $o=jo;const zo=function(){},Go=JSON.parse('{"component":"spinner","status":"prod","display-name":"Spinners","classKey":"Spinner","SLDS-component-path":"/components/spinner","site-stories":[{"heading":"Default","path":"/__examples__/default.jsx"}],"url-slug":"spinners"}');function Ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vo(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Ko={assistiveText:l().shape({label:l().string}),containerClassName:l().string,containerStyle:l().object,hasContainer:l().bool,id:l().string,isDelayed:l().bool,isInput:l().bool,isInline:l().bool,size:l().oneOf(["xx-small","x-small","small","medium","large"]),variant:l().oneOf(["base","brand","inverse"])},Yo={assistiveText:{label:"Loading..."},isDelayed:!1,isInline:!1,isInput:!1,hasContainer:!0,size:"medium",variant:"base"},Xo=function(e){var t=e.containerClassName,n=e.containerStyle,r=e.id,a=e.isDelayed,i=void 0===a?Yo.isDelayed:a,s=e.isInline,l=void 0===s?Yo.isInline:s,c=e.isInput,p=void 0===c?Yo.isInput:c,f=e.hasContainer,m=void 0===f?Yo.hasContainer:f,g=e.size,h=void 0===g?Yo.size:g,b=e.variant,y=void 0===b?Yo.variant:b,v=e.assistiveText,E=void 0===v?Yo.assistiveText:v,S=qo(e,["containerClassName","containerStyle","id","isDelayed","isInline","isInput","hasContainer","size","variant","assistiveText"]);zo(d._v,Vo({containerClassName:t,containerStyle:n,id:r,isDelayed:i,isInline:l,isInput:p,hasContainer:m,size:h,variant:y},S),Go);var w="string"===typeof E?E:Vo(Vo({},Yo.assistiveText),E).label,k=u()("slds-spinner",Wo({"slds-spinner_inline":l,"slds-input__spinner":p,"slds-spinner_brand":"brand"===y,"slds-spinner_inverse":"inverse"===y,"slds-spinner_delayed":i},"slds-spinner_".concat(h),h)),T=o.createElement("div",{"aria-hidden":"false",className:k,id:r,role:"status"},w&&o.createElement("span",{className:"slds-assistive-text"},w),o.createElement("div",{className:"slds-spinner__dot-a"}),o.createElement("div",{className:"slds-spinner__dot-b"}));return m?o.createElement("div",{className:u()(t,"slds-spinner_container"),style:n},T):T};Xo.displayName=d._v,Xo.propTypes=Ko;const Zo=Xo;function Qo(){return Qo=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var ri="counter",ai={"aria-activedescendant":l().string,"aria-autocomplete":l().string,"aria-controls":l().string,"aria-describedby":l().string,"aria-expanded":l().bool,"aria-haspopup":l().oneOfType([l().bool,l().string]),"aria-labelledby":l().string,"aria-owns":l().string,"aria-required":l().bool,assistiveText:l().shape({spinner:l().string}),autoComplete:l().string,className:l().oneOfType([l().array,l().object,l().string]),containerClassName:l().oneOfType([l().array,l().object,l().string]),containerProps:l().object,disabled:l().bool,fixedTextLeft:l().oneOfType([l().node,l().string]),fixedTextRight:l().oneOfType([l().node,l().string]),hasSpinner:l().bool,iconLeft:l().node,iconRight:l().node,id:l().string.isRequired,inputRef:l().func,isStatic:l().bool,label:l().string,onBlur:l().func,onChange:l().func,onClick:l().func,onFocus:l().func,onInput:l().func,onInvalid:l().func,onKeyDown:l().func,onKeyPress:l().func,onKeyUp:l().func,onSelect:l().func,onSubmit:l().func,placeholder:l().string,minLength:l().string,minValue:l().number,maxLength:l().string,maxValue:l().number,name:l().string,readOnly:l().bool,required:l().bool,role:l().string,step:l().number,style:l().object,tabIndex:l().string,type:l().oneOf(["text","password","datetime","datetime-local","date","month","time","week","number","email","url","search","tel","color"]),value:l().oneOfType([l().number,l().string]),variant:l().oneOf(["base",ri]),defaultValue:l().oneOfType([l().number,l().string])},oi={assistiveText:{spinner:"Loading ..."},type:"text"},ii=function(e){var t=e.assistiveText,n=void 0===t?oi.assistiveText:t,r=e.type,a=void 0===r?oi.type:r,i=ni(e,["assistiveText","type"]),s=$n(ei({assistiveText:n,type:a},i));s["aria-describedby"]=i.hasSpinner?"loading-status-icon ".concat(i["aria-describedby"]):i["aria-describedby"];var l=i.containerProps,c=l.className,d=ni(l,["className"]),p=ei(ei({},oi.assistiveText),n);return o.createElement("div",Qo({className:u()(c,{"slds-input-has-icon":i.variant!==ri&&(i.iconLeft||i.iconRight),"slds-input-has-icon_left":i.iconLeft&&!i.iconRight,"slds-input-has-icon_right":!i.iconLeft&&i.iconRight,"slds-input-has-icon_left-right":i.variant!==ri&&i.iconLeft&&i.iconRight,"slds-input-has-fixed-addon":i.fixedTextLeft||i.fixedTextRight,"slds-has-divider_bottom":i.isStatic})},d),i.iconLeft&&i.iconLeft,i.fixedTextLeft&&o.createElement("span",{className:"slds-form-element__addon"},i.fixedTextLeft),!i.isStatic&&o.createElement("input",Qo({autoComplete:i.autoComplete,className:u()("slds-input",{"slds-text-align_left":i.variant===ri&&i.readOnly},i.className),disabled:i.disabled,id:i.id,min:i.minValue,minLength:i.minLength,max:i.maxValue,maxLength:i.maxLength,name:i.name,onBlur:i.onBlur,onChange:i.onChange,onClick:i.onClick,onFocus:i.onFocus,onInput:i.onInput,onInvalid:i.onInvalid,onKeyDown:i.onKeyDown,onKeyPress:i.onKeyPress,onKeyUp:i.onKeyUp,onSelect:i.onSelect,onSubmit:i.onSubmit,placeholder:i.placeholder,readOnly:i.readOnly,ref:i.inputRef,required:i.required,role:i.role,step:i.step,style:i.style,tabIndex:i.tabIndex,type:a},s,void 0!==i.value?{value:i.value}:{defaultValue:i.defaultValue})),i.hasSpinner?o.createElement("div",{className:"slds-input__icon-group slds-input__icon-group_right"},o.createElement(Zo,{assistiveText:{label:p.spinner},id:"loading-status-icon",isInput:!0,size:"x-small",variant:"brand"}),i.iconRight&&i.iconRight):i.iconRight&&i.iconRight,i.fixedTextRight&&o.createElement("span",{className:"slds-form-element__addon"},i.fixedTextRight),i.isStatic&&o.createElement("span",{className:u()("slds-form-element__static","slds-grid",{"slds-grid_align-spread":i.variant!==ri}),onClick:i.onClick},i.value,i.inlineEditTrigger))};ii.displayName="SLDSInnerInput",ii.propTypes=ai;const si=ii;var li={assistiveText:l().object,className:l().oneOfType([l().array,l().object,l().string]),htmlFor:l().string,label:l().string,required:l().bool,variant:l().oneOf(["base","static"])},ci=function(e){var t=e.variant,n=void 0===t?"base":t,r=e.label,a=e.assistiveText,i=e.className,s=e.htmlFor,l=e.required,c=r||a&&a.label,d={base:o.createElement("label",{className:u()("slds-form-element__label",{"slds-assistive-text":a&&!r},i),htmlFor:s},l&&o.createElement("abbr",{className:"slds-required",title:"required"},"*"),c),static:o.createElement("span",{className:u()("slds-form-element__label",i)},c)};return c?d[n]:null};ci.displayName="Label",ci.propTypes=li;const ui=ci;const di=function(){},pi=JSON.parse('{"component":"input","status":"prod","display-name":"Inputs","classKey":"Input","last-accessibility-review":{"date-iso-8601":"2017/09/22","commit-sha":"ad6b6c6523ee21cada11be5f7ea4d99abc530726"},"dependencies":[{"component":"search","classKey":"InputSearch"}],"SLDS-component-path":"/components/input","site-stories":[{"heading":"Default","path":"/__examples__/default.jsx"},{"heading":"With Icons","path":"/__examples__/icons.jsx"},{"heading":"Error State","path":"/__examples__/error.jsx"},{"heading":"Disabled","path":"/__examples__/inactiveInputs.jsx"},{"heading":"With Inline Help","path":"/__examples__/inline-help.jsx"},{"heading":"With Field Level Help","path":"/__examples__/field-level-help.jsx"},{"heading":"Counter","path":"/__examples__/counter-input.jsx"}],"url-slug":"inputs"}');const fi={removeUndefined:function(e){var t={};return Object.keys(e).forEach((function(n){"undefined"!==typeof e[n]&&(t[n]=e[n])})),t}};function mi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gi(e){for(var t=1;t=t.props.maxValue||e===Ri&&void 0!==t.props.minValue&&n<=t.props.minValue)&&(r=!0),o.createElement(nr,{assistiveText:{icon:t.props.assistiveText[e.toLowerCase()]},className:u()("slds-button_icon-small","slds-input__button_".concat(e.toLowerCase())),disabled:r,iconCategory:"utility",iconName:e===Ri?"ban":"new",onKeyDown:function(n){13===n.keyCode&&t.performStep(e,n)},onKeyUp:t.stopStepping,onMouseDown:function(n){t.performStep(e,n)},onMouseLeave:t.stopStepping,onMouseUp:t.stopStepping,variant:"icon"})})),Ci(Oi(t),"getIconRender",(function(e,n){var r,a={assistiveText:{icon:t.props[n]&&t.props[n].props.assistiveText||t.props.iconAssistiveText},category:t.props[n]&&t.props[n].props.category||t.props.iconCategory,name:t.props[n]&&t.props[n].props.name||t.props.iconName,onClick:t.props[n]&&t.props[n].props.onClick||t.props.onIconClick};return t.props[n]&&e&&t.props[n]?r=o.cloneElement(t.props[n],{iconPosition:"".concat(e)}):a.name&&(r=o.createElement($o,Ti({iconPosition:e},a))),r})),Ci(Oi(t),"setInputRef",(function(e){t.inputRef=e,t.props.inputRef&&t.props.inputRef(e)})),Ci(Oi(t),"handleChange",(function(e){if(t.props.onChange){var n={value:e.target.value};t.props.variant===Ii&&(n.number=Number(n.value)),t.props.onChange(e,n)}})),Ci(Oi(t),"performStep",(function(e,n){clearTimeout(t.stepping.timeout);var r=t.props.maxValue,a=t.props.minValue,o=void 0!==t.props.step?Number(t.props.step):1,i=t.getValueAsNumber(),s=!1;if(e===Ri&&void 0!==r&&i>r)i=Number(r),s=!0;else if(e===Li&&void 0!==a&&i=0?String(o).split(".")[1].length:0,c=0;void 0!==a&&(c=(i-a)%o),i=c>0?e===Ri?i-c:i+(o-c):e===Ri?i-o:i+o,i=Number(i.toFixed(l)),void 0!==r&&i>r||void 0!==a&&i=r||e===Ri&&void 0!==a&&i<=a?t.stopStepping():t.stepping.timeout=setTimeout((function(){t.stepping.currentDelay=t.stepping.speedDelay,t.performStep(e)}),t.stepping.currentDelay)})),Ci(Oi(t),"stopStepping",(function(){clearTimeout(t.stepping.timeout),t.stepping.currentDelay=t.stepping.initialDelay})),t.inputRef=null,t.stepping={currentDelay:500,initialDelay:500,speedDelay:75,timeout:{}},di(d.bO,e,pi),t.generatedId=Ae(),e.errorText&&(t.generatedErrorId=Ae()),t}return t=i,(n=[{key:"render",value:function(){var e=ki(ki({},Di.assistiveText),this.props.assistiveText),t=this.props.variant===Ii?this.setInputRef:this.props.inputRef,n=null,r=null,a=this.props.label||e&&e.label;return this.props.iconLeft||("left"===this.props.iconPosition||void 0===this.props.iconPosition)&&this.props.iconName?n=this.getIconRender("left","iconLeft"):this.props.variant!==Ii||this.props.isStatic||this.props.readOnly||(n=this.getCounterButtonIcon(Ri)),this.props.iconRight||"right"===this.props.iconPosition&&this.props.iconName?r=this.getIconRender("right","iconRight"):this.props.variant!==Ii||this.props.isStatic||this.props.readOnly||(r=this.getCounterButtonIcon(Li)),o.createElement("div",{className:u()("slds-form-element",{"slds-has-error":this.props.errorText},this.props.className),style:this.props.styleContainer},o.createElement(ui,{assistiveText:e,htmlFor:this.props.isStatic?void 0:this.getId(),label:this.props.label,required:this.props.required,variant:this.props.isStatic?"static":"base"}),this.props.fieldLevelHelpTooltip&&a?o.createElement(Ei,{assistiveText:{triggerLearnMoreIcon:e.fieldLevelHelpButton},fieldLevelHelpTooltip:this.props.fieldLevelHelpTooltip}):null,o.createElement(si,{"aria-activedescendant":this.props["aria-activedescendant"],"aria-autocomplete":this.props["aria-autocomplete"],"aria-controls":this.props["aria-controls"],"aria-labelledby":this.props["aria-labelledby"],"aria-describedby":this.getErrorId(),"aria-expanded":this.props["aria-expanded"],"aria-owns":this.props["aria-owns"],"aria-required":this.props["aria-required"],autoComplete:this.props.autoComplete,className:u()({"slds-input_counter":this.props.variant===Ii,"slds-p-horizontal_none":this.props.variant===Ii&&this.props.readOnly}),containerProps:{className:"slds-form-element__control"},defaultValue:this.props.defaultValue,disabled:this.props.disabled,fixedTextLeft:this.props.fixedTextLeft,fixedTextRight:this.props.fixedTextRight,hasSpinner:this.props.hasSpinner,id:this.getId(),iconLeft:n,iconRight:r,inlineEditTrigger:this.props.inlineEditTrigger,isStatic:this.props.isStatic,minLength:this.props.minLength,minValue:this.props.minValue,maxLength:this.props.maxLength,maxValue:this.props.maxValue,name:this.props.name,onBlur:this.props.onBlur,onChange:this.handleChange,onClick:this.props.onClick,onFocus:this.props.onFocus,onInput:this.props.onInput,onInvalid:this.props.onInvalid,onKeyDown:this.props.onKeyDown,onKeyPress:this.props.onKeyPress,onKeyUp:this.props.onKeyUp,onSelect:this.props.onSelect,onSubmit:this.props.onSubmit,placeholder:this.props.placeholder,inputRef:t,readOnly:this.props.readOnly,required:this.props.required,role:this.props.role,assistiveText:this.props.assistiveText,type:this.props.variant===Ii?"number":this.props.type,value:this.props.value,variant:this.props.variant,step:this.props.step,style:this.props.styleInput}),this.props.inlineHelpText&&o.createElement("div",{className:"slds-form-element__help"},this.props.inlineHelpText),this.props.errorText&&o.createElement("div",{id:this.getErrorId(),className:"slds-form-element__help"},this.props.errorText),this.props.children)}}])&&_i(t.prototype,n),r&&_i(t,r),i}(o.Component);Ci(Pi,"displayName",d.bO),Ci(Pi,"propTypes",{"aria-activedescendant":l().string,"aria-autocomplete":l().string,"aria-controls":l().string,"aria-describedby":l().string,"aria-expanded":l().bool,"aria-haspopup":l().bool,"aria-labelledby":l().string,"aria-owns":l().string,"aria-required":l().bool,assistiveText:l().shape({label:l().string,spinner:l().string}),autoComplete:l().string,children:l().node,className:l().oneOfType([l().array,l().object,l().string]),defaultValue:l().oneOfType([l().number,l().string]),disabled:l().bool,errorText:l().oneOfType([l().node,l().string]),fieldLevelHelpTooltip:l().node,fixedTextLeft:l().oneOfType([l().node,l().string]),fixedTextRight:l().oneOfType([l().node,l().string]),hasSpinner:l().bool,iconLeft:l().node,iconRight:l().node,id:l().string,inlineHelpText:l().oneOfType([l().node,l().string]),inputRef:l().func,isStatic:l().bool,label:l().string,onBlur:l().func,onChange:l().func,onClick:l().func,onFocus:l().func,onInput:l().func,onInvalid:l().func,onKeyDown:l().func,onKeyPress:l().func,onKeyUp:l().func,onSelect:l().func,onSubmit:l().func,placeholder:l().string,minLength:l().string,minValue:l().number,maxLength:l().string,maxValue:l().number,name:l().string,readOnly:l().bool,required:l().bool,role:l().string,step:l().number,styleInput:l().object,styleContainer:l().object,type:l().oneOf(["text","password","datetime","datetime-local","date","month","time","week","number","email","url","search","tel","color"]),value:l().oneOfType([l().number,l().string]),variant:l().oneOf(["base",Ii])}),Ci(Pi,"defaultProps",Di);const Mi=Pi;function Fi(){return Fi=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var zi={assistiveText:{}},Gi=function(e){var t=e.clearable,n=e.onClear,r=e.onSearch,a=e.placeholder,i=e.assistiveText,s=void 0===i?zi.assistiveText:i,l=$i(e,["clearable","onClear","onSearch","placeholder","assistiveText"]);di(d.Dn,Bi({clearable:t,onClear:n,onSearch:r,placeholder:a,assistiveText:s},l),pi);var c="string"===typeof s?s:Bi(Bi({},zi.assistiveText),s).label;return o.createElement(Mi,Fi({assistiveText:{label:c},iconLeft:o.createElement($o,{assistiveText:{icon:"Search"},category:"utility",name:"search",onClick:r}),iconRight:t?o.createElement($o,{assistiveText:{icon:"Clear"},category:"utility",name:"clear",onClick:n}):null,onKeyDown:r?function(e){return function(e,t){e.keyCode===Wt.ENTER&&(ke.trapImmediate(e),t(e))}(e,r)}:null,placeholder:a},l))};Gi.displayName=d.Dn,Gi.propTypes={assistiveText:l().shape({label:l().string}),clearable:l().bool,onClear:l().func,onSearch:l().func,placeholder:l().string};const Hi=Gi;function Vi(e){let{showSearch:t=!0,category:n}=e;const[r,a]=(0,o.useState)(""),[s,l]=(0,o.useState)(""),c=(0,i.Zp)(),u=(0,i.zy)();return(0,o.useEffect)((()=>{l(function(e,t){let n=e.groups,r=t.pathname+"/";for(let a=0;a<(null===n||void 0===n?void 0:n.length);a++){let t=n[a].items;for(let n=0;n-1)return a.path}}}(n,u))}),[u.pathname,n,u]),(0,ta.jsxs)("div",{children:[t&&(0,ta.jsx)(Hi,{className:"slds-m-around_small slds-m-bottom_small",onChange:e=>a(e.target.value.toLowerCase()||"")}),(0,ta.jsx)("div",{className:"slds-scrollable slds-scrollable_y",style:{maxHeight:"calc(100vh - 105px)"},children:(0,ta.jsx)(Po,{active:s,items:n.groups,searchText:r,onClick:e=>{s!==e&&c(e)}})})]})}function Wi(e){let{category:t}=e;const n=(0,i.P1)();return(0,ta.jsxs)("div",{className:"slds-grid",style:{height:"100%"},children:[(0,ta.jsx)("div",{id:"parent",className:"slds-border_right fullHeight site-sidebar slds-border_right slds-box_darker slds-show_large",children:(0,ta.jsx)(Vi,{category:t})}),(0,ta.jsx)("div",{id:"top",className:"slds-theme_alert-texture fullWidth c-p-around_small slds-is-relative fullHeight slds-scrollable slds-scrollable_y slds-order_1",children:n||(0,ta.jsx)(Ao,{category:t})})]})}var qi=function(e){var t=e.id,n=e.className,r=e.children,a=e.variant;return o.createElement("ul",{id:"".concat(t,"-slds-tabs__nav"),className:u()(n,{"slds-tabs_default__nav":"default"===a,"slds-tabs_scoped__nav":"scoped"===a,"slds-vertical-tabs__nav":"vertical"===a}),role:"tablist","aria-orientation":"vertical"===a?"vertical":void 0},r)};qi.displayName=d.gi,qi.propTypes={id:l().string,className:l().oneOfType([l().array,l().object,l().string]),children:l().oneOfType([l().object,l().array]),variant:l().oneOf(["default","scoped","vertical"])};const Ki=qi;function Yi(e){return Yi="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},Yi(e)}function Xi(e,t){for(var n=0;ne;)if(!fs(this.getTab(t)))return t;return e}},{key:"getSelectedIndex",value:function(){return Number.isInteger(this.props.selectedIndex)?this.props.selectedIndex:this.state.selectedIndex}},{key:"getTab",value:function(e){return this.tabs[e].tab}},{key:"getTabNode",value:function(e){return this.tabs[e].node}},{key:"getTabsCount",value:function(){return this.props.children?o.Children.count(this.props.children):0}},{key:"getVariant",value:function(){return this.props.variant||"default"}},{key:"setSelected",value:function(e,t){if(!(e<0||e>=this.getTabsCount())){var n,r=this.getSelectedIndex();T()(this.props.onSelect)&&(n=this.props.onSelect(e,r)),!1!==n&&e!==this.state.selectedIndex&&this.setState({selectedIndex:e,focus:!0===t})}}},{key:"isTabFromContainer",value:function(e){if(!function(e){return"A"===e.nodeName&&"tab"===e.getAttribute("role")||"LI"===e.nodeName&&(e.classList.contains("slds-tabs_default__item")||e.classList.contains("slds-tabs_scoped__item")||e.classList.contains("slds-vertical-tabs__nav-item"))}(e))return!1;var t=e.parentElement;do{if(t===this.tabsNode)return!0;if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1}},{key:"renderTabPanels",value:function(e){var t,n=this,r=o.Children.toArray(this.props.children),a=this.getSelectedIndex();return t=r.map((function(t,i){var s="".concat(e,"-slds-tabs_tab-").concat(i),l="".concat(e,"-slds-tabs_panel-").concat(i),c=a===i,u=n.getVariant();return o.createElement(os,{key:t.key,selected:c,id:l,tabId:s,variant:u},r[i])})),t}},{key:"renderTabsList",value:function(e){var t=this,n=o.Children.toArray(this.props.children);return o.createElement(Ki,{id:e,variant:this.getVariant()},n.map((function(n,r){var a="".concat(e,"-slds-tabs_tab-").concat(r),i="".concat(e,"-slds-tabs_panel-").concat(r),s=t.getSelectedIndex()===r,l=s&&t.state.focus,c=t.getVariant();return o.createElement(rs,{key:n.key,ref:function(e){t.tabs[r]={tab:n,node:e},t.state.focus&&t.setState({focus:!1})},focus:l,selected:s,id:a,panelId:i,disabled:n.props.disabled,variant:c,hasError:n.props.hasError,assistiveText:n.props.assistiveText},n.props.label)})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.id,a=void 0===r?this.generatedId:r,i=t.variant,s=void 0===i?this.getVariant:i;return o.createElement("div",{id:a,className:u()({"slds-tabs_default":"default"===s,"slds-tabs_scoped":"scoped"===s,"slds-vertical-tabs":"vertical"===s},n),onClick:this.handleClick,onKeyDown:this.handleKeyDown,"data-tabs":!0,ref:function(t){e.tabsNode=t}},this.renderTabsList(a),this.renderTabPanels(a))}}],n&&ss(t.prototype,n),r&&ss(t,r),i}(o.Component);hs.displayName=ms,hs.propTypes=gs,hs.defaultProps={defaultSelectedIndex:0,variant:"default"};const bs=hs;var ys=function(e){var t=e.children;return o.createElement("div",null,o.Children.toArray(t))};ys.displayName=d.rD,ys.propTypes={label:l().oneOfType([l().string,l().element]).isRequired,children:l().oneOfType([l().arrayOf(l().node),l().node,l().element]).isRequired,hasError:l().bool,assistiveText:l().shape({withErrorIcon:l().string})};const vs=ys,Es={};function Ss(e,t){const n=t||Es;return ws(e,"boolean"!==typeof n.includeImageAlt||n.includeImageAlt,"boolean"!==typeof n.includeHtml||n.includeHtml)}function ws(e,t,n){if(function(e){return Boolean(e&&"object"===typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ks(e.children,t,n)}return Array.isArray(e)?ks(e,t,n):""}function ks(e,t,n){const r=[];let a=-1;for(;++aa?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i0?(Ts(e,e.length,0,t),e):t}class As{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&xs(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),xs(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),xs(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function qs(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(Gs(r))return e.enter(n),i(r);return t(r)};function i(r){return Gs(r)&&o++o))return;const n=t.events.length;let a,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(a){s=t.events[l][1].end;break}a=!0}for(b(i),e=n;er;){const r=n[a];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),a=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Xs={tokenize:function(e,t,n){return qs(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Zs={partial:!0,tokenize:function(e,t,n){return function(t){return Gs(t)?qs(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||$s(e)?t(e):n(e)}}};const Qs={resolve:function(e){return Os(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?a(t):$s(t)?e.check(Js,o,a)(t):(e.consume(t),r)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Js={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qs(e,a,"linePrefix")};function a(a){if(null===a||$s(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}};const el={tokenize:function(e){const t=this,n=e.attempt(Zs,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,qs(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Qs,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const tl={resolveAll:ol()},nl=al("string"),rl=al("text");function al(e){return{resolveAll:ol("text"===e?il:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],a=t.attempt(r,o,i);return o;function o(e){return l(e)?a(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let a=-1;if(t)for(;++a=3&&(null===o||$s(o))?(e.exit("thematicBreak"),t(o)):n(o)}function i(t){return t===r?(e.consume(t),a++,i):(e.exit("thematicBreakSequence"),Gs(t)?qs(e,o,"whitespace")(t):o(t))}}};const ll={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Zs,a,o);function a(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,qs(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!Gs(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ul,t,i)(n))}function i(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,qs(e,e.attempt(ll,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,a=r.events[r.events.length-1];let o=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,i=0;return function(t){const a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:Us(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(sl,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return Us(t)&&++i<10?(e.consume(t),s):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Zs,r.interrupt?n:c,e.attempt(cl,d,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,d(e)}function u(t){return Gs(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},cl={partial:!0,tokenize:function(e,t,n){const r=this;return qs(e,(function(e){const a=r.events[r.events.length-1];return!Gs(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},ul={partial:!0,tokenize:function(e,t,n){const r=this;return qs(e,(function(e){const a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)}};const dl={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Gs(t))return qs(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return a(t)};function a(r){return e.attempt(dl,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return Gs(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function pl(e,t,n,r,a,o,i,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(a),e.enter(o),e.consume(t),e.exit(o),d;if(null===t||32===t||41===t||Fs(t))return n(t);return e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(t)};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||$s(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(a){return u||null!==a&&41!==a&&!zs(a)?u999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(d):93===d?(e.exit(o),e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):$s(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||$s(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!Gs(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function ml(e,t,n,r,a,o){let i;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(a),e.consume(t),e.exit(a),i=40===t?41:t,s;return n(t)};function s(n){return n===i?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===i?(e.exit(o),s(i)):null===t?n(t):$s(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qs(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||$s(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function gl(e,t){let n;return function r(a){if($s(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r;if(Gs(a))return qs(e,r,n?"linePrefix":"lineSuffix")(a);return t(a)}}function hl(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const bl={name:"definition",tokenize:function(e,t,n){const r=this;let a;return function(t){return e.enter("definition"),function(t){return fl.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return a=hl(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return zs(t)?gl(e,s)(t):s(t)}function s(t){return pl(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(yl,c,c)(t)}function c(t){return Gs(t)?qs(e,u,"whitespace")(t):u(t)}function u(o){return null===o||$s(o)?(e.exit("definition"),r.parser.defined.push(a),t(o)):n(o)}}},yl={partial:!0,tokenize:function(e,t,n){return function(t){return zs(t)?gl(e,r)(t):n(t)};function r(t){return ml(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return Gs(t)?qs(e,o,"whitespace")(t):o(t)}function o(e){return null===e||$s(e)?t(e):n(e)}}};const vl={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),qs(e,a,"linePrefix",5)(t)};function a(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):$s(t)?e.attempt(El,o,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||$s(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function s(n){return e.exit("codeIndented"),t(n)}}},El={partial:!0,tokenize:function(e,t,n){const r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):$s(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):qs(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):$s(e)?a(e):n(e)}}};const Sl={name:"headingAtx",resolve:function(e,t){let n,r,a=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);a-2>o&&"whitespace"===e[a][1].type&&(a-=2);"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4);a>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},r={type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"},Ts(e,o,a-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),a(t)}(t)};function a(t){return 35===t&&r++<6?(e.consume(t),a):null===t||zs(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||$s(n)?(e.exit("atxHeading"),t(n)):Gs(n)?qs(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||zs(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}}};const wl={name:"setextUnderline",resolveTo:function(e,t){let n,r,a,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),a||"definition"!==e[o][1].type||(a=o);const i={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",i,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=i;return e.push(["exit",i,t]),e},tokenize:function(e,t,n){const r=this;let a;return function(t){let i,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){i="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),a=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===a?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),Gs(t)?qs(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||$s(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};const kl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Tl=["pre","script","style","textarea"],_l={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},tokenize:function(e,t,n){const r=this;let a,o,i,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),o=!0,f):63===s?(e.consume(s),a=3,r.interrupt?t:D):Ds(s)?(e.consume(s),i=String.fromCharCode(s),m):n(s)}function u(o){return 45===o?(e.consume(o),a=2,d):91===o?(e.consume(o),a=5,s=0,p):Ds(o)?(e.consume(o),a=4,r.interrupt?t:D):n(o)}function d(a){return 45===a?(e.consume(a),r.interrupt?t:D):n(a)}function p(a){const o="CDATA[";return a===o.charCodeAt(s++)?(e.consume(a),6===s?r.interrupt?t:A:p):n(a)}function f(t){return Ds(t)?(e.consume(t),i=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||zs(s)){const l=47===s,c=i.toLowerCase();return l||o||!Tl.includes(c)?kl.includes(i.toLowerCase())?(a=6,l?(e.consume(s),g):r.interrupt?t(s):A(s)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?h(s):b(s)):(a=1,r.interrupt?t(s):A(s))}return 45===s||Ps(s)?(e.consume(s),i+=String.fromCharCode(s),m):n(s)}function g(a){return 62===a?(e.consume(a),r.interrupt?t:A):n(a)}function h(t){return Gs(t)?(e.consume(t),h):T(t)}function b(t){return 47===t?(e.consume(t),T):58===t||95===t||Ds(t)?(e.consume(t),y):Gs(t)?(e.consume(t),b):T(t)}function y(t){return 45===t||46===t||58===t||95===t||Ps(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),E):Gs(t)?(e.consume(t),v):b(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,S):Gs(t)?(e.consume(t),E):w(t)}function S(t){return t===l?(e.consume(t),l=null,k):null===t||$s(t)?n(t):(e.consume(t),S)}function w(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||zs(t)?v(t):(e.consume(t),w)}function k(e){return 47===e||62===e||Gs(e)?b(e):n(e)}function T(t){return 62===t?(e.consume(t),_):n(t)}function _(t){return null===t||$s(t)?A(t):Gs(t)?(e.consume(t),_):n(t)}function A(t){return 45===t&&2===a?(e.consume(t),C):60===t&&1===a?(e.consume(t),I):62===t&&4===a?(e.consume(t),P):63===t&&3===a?(e.consume(t),D):93===t&&5===a?(e.consume(t),L):!$s(t)||6!==a&&7!==a?null===t||$s(t)?(e.exit("htmlFlowData"),x(t)):(e.consume(t),A):(e.exit("htmlFlowData"),e.check(Al,M,x)(t))}function x(t){return e.check(xl,O,M)(t)}function O(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return null===t||$s(t)?x(t):(e.enter("htmlFlowData"),A(t))}function C(t){return 45===t?(e.consume(t),D):A(t)}function I(t){return 47===t?(e.consume(t),i="",R):A(t)}function R(t){if(62===t){const n=i.toLowerCase();return Tl.includes(n)?(e.consume(t),P):A(t)}return Ds(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),R):A(t)}function L(t){return 93===t?(e.consume(t),D):A(t)}function D(t){return 62===t?(e.consume(t),P):45===t&&2===a?(e.consume(t),D):A(t)}function P(t){return null===t||$s(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),P)}function M(n){return e.exit("htmlFlow"),t(n)}}},Al={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Zs,t,n)}}},xl={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if($s(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a;return n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};const Ol={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Nl={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),Gs(t)?qs(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===o?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===o?(a++,e.consume(t),u):a>=s?(e.exit("codeFencedFenceSequence"),Gs(t)?qs(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||$s(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let o,i=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),Gs(t)?qs(e,c,"whitespace")(t):c(t))}function c(n){return null===n||$s(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ol,f,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||$s(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Gs(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),qs(e,d,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function d(t){return null===t||$s(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||$s(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),p)}function f(t){return e.attempt(a,y,m)(t)}function m(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return i>0&&Gs(t)?qs(e,h,"linePrefix",i+1)(t):h(t)}function h(t){return null===t||$s(t)?e.check(Ol,f,y)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||$s(t)?(e.exit("codeFlowValue"),h(t)):(e.consume(t),b)}function y(n){return e.exit("codeFenced"),t(n)}}};const Cl=document.createElement("i");function Il(e){const t="&"+e+";";Cl.innerHTML=t;const n=Cl.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Rl={name:"characterReference",tokenize:function(e,t,n){const r=this;let a,o,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,o=Ps,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=Bs,c):(e.enter("characterReferenceValue"),a=7,o=Us,c(t))}function c(s){if(59===s&&i){const a=e.exit("characterReferenceValue");return o!==Ps||Il(r.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return o(s)&&i++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d={...e[n][1].end},p={...e[u][1].start};Gl(d,-s),Gl(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},i={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:s>1?"strong":"emphasis",start:{...o.start},end:{...i.end}},e[n][1].end={...o.start},e[u][1].start={...i.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=_s(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=_s(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=_s(l,Pl(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=_s(l,[["exit",a,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=_s(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,Ts(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u-1){const e=i[0];"string"===typeof e?i[0]=e.slice(r):i.shift()}o>0&&i.push(e[a].slice(0,o))}return i}(i,e)}function m(){const{_bufferIndex:e,_index:t,line:n,column:a,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:a,offset:o}}function g(){let e;for(;r._index13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const sc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function lc(e){return e.replace(sc,cc)}function cc(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return ic(n.slice(t?2:1),t?16:10)}return Il(n)||e}function uc(e){return e&&"object"===typeof e?"position"in e||"type"in e?pc(e.position):"start"in e||"end"in e?pc(e):"line"in e||"column"in e?dc(e):"":""}function dc(e){return fc(e&&e.line)+":"+fc(e&&e.column)}function pc(e){return dc(e&&e.start)+"-"+dc(e&&e.end)}function fc(e){return e&&"number"===typeof e?e:1}const mc={}.hasOwnProperty;function gc(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(te),autolinkProtocol:_,autolinkEmail:_,atxHeading:o(Z),blockQuote:o(W),characterEscape:_,characterReference:_,codeFenced:o(q),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:o(q,i),codeText:o(K,i),codeTextData:_,data:_,codeFlowValue:_,definition:o(Y),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:o(X),hardBreakEscape:o(Q),hardBreakTrailing:o(Q),htmlFlow:o(J,i),htmlFlowData:_,htmlText:o(J,i),htmlTextData:_,image:o(ee),label:i,link:o(te),listItem:o(re),listItemValue:p,listOrdered:o(ne,d),listUnordered:o(ne),paragraph:o(ae),reference:B,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:o(Z),strong:o(oe),thematicBreak:o(se)},exit:{atxHeading:l(),atxHeadingSequence:S,autolink:l(),autolinkEmail:V,autolinkProtocol:H,blockQuote:l(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:$,characterReferenceMarkerNumeric:$,characterReferenceValue:z,characterReference:G,codeFenced:l(h),codeFencedFence:g,codeFencedFenceInfo:f,codeFencedFenceMeta:m,codeFlowValue:A,codeIndented:l(b),codeText:l(I),codeTextData:A,data:A,definition:l(),definitionDestinationString:E,definitionLabelString:y,definitionTitleString:v,emphasis:l(),hardBreakEscape:l(O),hardBreakTrailing:l(O),htmlFlow:l(N),htmlFlowData:A,htmlText:l(C),htmlTextData:A,image:l(L),label:P,labelText:D,lineEnding:x,link:l(R),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:j,resourceDestinationString:M,resourceTitleString:F,resource:U,setextHeading:l(T),setextHeadingLineSequence:k,setextHeadingText:w,strong:l(),thematicBreak:l()}};bc(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:s,exit:c,buffer:i,resume:u,data:n},l=[];let d=-1;for(;++d0){const e=o.tokenStack[o.tokenStack.length-1];(e[1]||vc).call(o,void 0,e[0])}for(r.position={start:hc(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:hc(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d"+(n?"":" ")+e}function xc(e,t){return Oc(e,t.inConstruct,!0)&&!Oc(e,t.notInConstruct,!1)}function Oc(e,t,n){if("string"===typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r":"")+")"})}return u;function u(){let c,u,d,p=jc;if((!t||o(a,s,l[l.length-1]||void 0))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[$c,e];return null===e||void 0===e?jc:[e]}(n(a,l)),p[0]===zc))return p;if("children"in a&&a.children){const t=a;if(t.children&&p[0]!==Gc)for(u=(r?t.children.length:-1)+i,d=l.concat(t);u>-1&&u",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),c+=l.move(")"),i(),c}function Yc(e,t,n,r){const a=e.referenceType,o=n.enter("imageReference");let i=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=u,o(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function Xc(e,t,n){let r=e.value||"",a="`",o=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o\u007F]/.test(e.url))}function Qc(e,t,n,r){const a=Rc(n),o='"'===a?"Quote":"Apostrophe",i=n.createTracker(r);let s,l;if(Zc(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=i.move("<");return r+=i.move(n.containerPhrasing(e,{before:r,after:">",...i.current()})),r+=i.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label");let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",...i.current()})),c+=i.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()})),c+=i.move(">")):(l=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{before:c,after:e.title?" ":")",...i.current()}))),l(),e.title&&(l=n.enter(`title${o}`),c+=i.move(" "+a),c+=i.move(n.safe(e.title,{before:c,after:a,...i.current()})),c+=i.move(a),l()),c+=i.move(")"),s(),c}function Jc(e,t,n,r){const a=e.referenceType,o=n.enter("linkReference");let i=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=u,o(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function eu(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function tu(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}qc.peek=function(){return"<"},Kc.peek=function(){return"!"},Yc.peek=function(){return"!"},Xc.peek=function(){return"`"},Qc.peek=function(e,t,n){return Zc(e,n)?"<":"["},Jc.peek=function(){return"["};const nu=Mc(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ru(e,t,n,r){const a=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),i=n.createTracker(r),s=i.move(a+a);let l=i.move(n.containerPhrasing(e,{after:a,before:s,...i.current()}));const c=l.charCodeAt(0),u=Dc(r.before.charCodeAt(r.before.length-1),c,a);u.inside&&(l=Lc(c)+l.slice(1));const d=l.charCodeAt(l.length-1),p=Dc(r.after.charCodeAt(0),d,a);p.inside&&(l=l.slice(0,-1)+Lc(d));const f=i.move(a+a);return o(),n.attentionEncodeSurroundingInfo={after:p.outside,before:u.outside},s+l+f}ru.peek=function(e,t,n){return n.options.strong||"*"};const au={blockquote:function(e,t,n,r){const a=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const i=n.indentLines(n.containerFlow(e,o.current()),Ac);return a(),i},break:Nc,code:function(e,t,n,r){const a=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",i="`"===a?"GraveAccent":"Tilde";if(Cc(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(o,Ic);return e(),t}const s=n.createTracker(r),l=a.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),a=r,o=0,i=0;if("string"!==typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===a?++o>i&&(i=o):o=1,a=r+t.length,r=n.indexOf(t,a);return i}(o,a)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const t=n.enter(`codeFencedLang${i}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${i}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){const a=Rc(n),o='"'===a?"Quote":"Apostrophe",i=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),i(),c},emphasis:Pc,hardBreak:Nc,heading:function(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(Wc(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===a?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const i="#".repeat(a),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c=Lc(c.charCodeAt(0))+c.slice(1)),c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),l(),s(),c},html:qc,image:Kc,imageReference:Yc,inlineCode:Xc,link:Qc,linkReference:Jc,list:function(e,t,n,r){const a=n.enter("list"),o=n.bulletCurrent;let i=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):eu(n);const s=e.ordered?"."===i?")":".":function(e){const t=eu(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!t||!n.bulletLastUsed)&&i===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),tu(n)===i&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let i=o.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const s=n.createTracker(r);s.move(o+" ".repeat(i-o.length)),s.shift(i);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(i))+e;return(n?o:o+" ".repeat(i-o.length))+e}));return l(),c},paragraph:function(e,t,n,r){const a=n.enter("paragraph"),o=n.enter("phrasing"),i=n.containerPhrasing(e,r);return o(),a(),i},root:function(e,t,n,r){return(e.children.some((function(e){return nu(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:ru,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(tu(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},ou=[function(e,t,n,r){if("code"===t.type&&Cc(t,r)&&("list"===e.type||e.type===t.type&&Cc(e,r)))return!1;if("spread"in n&&"boolean"===typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&Wc(t,r)))return;return n.spread?1:0}}];const iu=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],su=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:iu},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:iu},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:iu},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:iu},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:iu},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:iu},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:iu},{atBreak:!0,character:"~"}];function lu(e){return e.label||!e.identifier?e.label||"":lc(e.identifier)}function cu(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function uu(e,t,n,r){let a=r.join.length;for(;a--;){const o=r.join[a](e,t,n,r);if(!0===o||1===o)break;if("number"===typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const du=/\r?\n|\r/g;function pu(e,t){const n=[];let r,a=0,o=0;for(;r=du.exec(e);)i(e.slice(a,r.index)),n.push(r[0]),a=r.index+r[0].length,o++;return i(e.slice(a)),n.join("");function i(e){n.push(t(e,o,!e))}}function fu(e,t){return e-t}function mu(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],o=e+t;let i,s=-1,l=0;for(;i=n.exec(o);)r.push(i.index);for(;++s1?o-1:0),s=1;s0&&("\r"===l||"\n"===l)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",c=t.createTracker(n),c.move(o.join("")));let p=t.handle(u,e,t,{...c.current(),after:d,before:l});i&&i===p.slice(0,1)&&(p=Lc(i.charCodeAt(0))+p.slice(1));const f=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,i=void 0,f&&(o.length>0&&f.before&&l===o[o.length-1].slice(-1)&&(o[o.length-1]=o[o.length-1].slice(0,-1)+Lc(l.charCodeAt(0))),f.after&&(i=d)),c.move(p),o.push(p),l=p.slice(-1)}return r.pop(),o.join("")}(e,this,t)}function Su(e,t){return function(e,t,n){const r=t.indexStack,a=e.children||[],o=t.createTracker(n),i=[];let s=-1;for(r.push(-1);++s=c||e+11?l-1:0),u=1;ua.length;let c;l&&a.push(o);try{c=e.apply(this,a)}catch(r){if(l&&n)throw r;return o(r)}l||(c&&c.then&&"function"===typeof c.then?c.then(i,o):c instanceof Error?o(c):i(c))}function o(e){if(!n){n=!0;for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;oe.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let i=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(a=o):(s=-1,a=i));r===a?a=i:a<0&&(a=e.length);return e.slice(r,a)},dirname:function(e){if(Nu(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Nu(e);let t,n=e.length,r=-1,a=0,o=-1,i=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1);else if(t){a=n+1;break}}if(o<0||r<0||0===i||1===i&&o===r-1&&o===a+1)return"";return e.slice(o,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),a=0;a2){if(r=a.lastIndexOf("/"),r!==a.length-1){r<0?(a="",o=0):(a=a.slice(0,r),o=a.length-1-a.lastIndexOf("/")),i=l,s=0;continue}}else if(a.length>0){a="",o=0,i=l,s=0;continue}t&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+e.slice(i+1,l):a=e.slice(i+1,l),o=l-i-1;i=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function Nu(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Cu={cwd:function(){return"/"}};function Iu(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function Ru(e){if("string"===typeof e)e=new URL(e);else if(!Iu(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?r-1:0),o=1;o0){let[r,...o]=n;const i=t[a][1];_u(i)&&_u(r)&&(r=Tu(!0,i,r)),t[a]=[e,r,...o]}}}}const $u=(new ju).freeze();function zu(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Gu(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Hu(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Vu(e){if(!_u(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Wu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qu(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new Du(e)}const Ku=$u().use(Ec).use((function(e){const t=this;t.compiler=function(n){return hu(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}})).freeze(),Yu=/[,\-:!*&?()\\/.]/g;function Xu(e){var t;return""+((null===e||void 0===e||null===(t=e.props)||void 0===t?void 0:t.children[0])||e||"").toLowerCase().replaceAll(Yu,"").replaceAll(" ","-")}const Zu={};async function Qu(e){if(Zu[e])return Zu[e];{let t=await fetch("/content/"+e+".md"),n=await t.text(),r=function(e,t,n){let r,a,o=new Ju,i={children:[]},s=e.children,l="header",c=[];for(let u=0;u1&&e.depth<=3&&a){let t=new td(e.children[0].value,e.depth);for(;c.length>0&&c[c.length-1].level>=t.level;)c.pop();0===c.length?a.headers.push(t):c[c.length-1].items.push(t),c.push(t)}}return Vc(i,"link",(e=>{o.buttons.push({label:e.children[0].value,url:e.url})})),Vc(i,"code",(e=>{o.snippet={lang:e.lang,meta:e.meta,value:e.value}})),Vc(i,"emphasis",(e=>{o.description=e.children[0].value})),o.tabs.forEach((e=>{e.content=t.slice(e.start,e.end).trim()})),o}(await Ku.parse(n),n,e);return Zu[e]=r,r}}class Ju{constructor(){this.buttons=[],this.tabs=[]}}class ed{constructor(e){this.headers=[],Object.assign(this,e)}}class td{constructor(e,t){this.items=[],this.label=e,this.level=t,this.path=Xu(e)}}function nd(e){let{href:t,label:n}=e;return(0,ta.jsx)("a",{className:"slds-button slds-button_neutral",target:"_blank",rel:"noreferrer",href:t,children:n})}function rd(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function ad(e){let{buttons:t}=e;const{width:n}=function(){const[e,t]=(0,o.useState)(rd());return(0,o.useEffect)((()=>{function e(){t(rd())}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),e}(),[r,a]=(0,o.useState)(!1);if(0===t.length)return null;let i=[],s=[];if(t.length>0){i.push((0,ta.jsx)(nd,{href:t[0].url,label:t[0].label},t[0].label));let e=n;for(let n=1;n600?(i.push((0,ta.jsx)(nd,{href:r.url,label:r.label},r.label)),e-=150):s.push((0,ta.jsx)("li",{className:"slds-dropdown__item",role:"presentation",children:(0,ta.jsx)("a",{href:r.url,role:"menuitem",tabIndex:"0",children:(0,ta.jsx)("span",{className:"slds-truncate",title:r.label,children:r.label})})},r.url))}}return(0,ta.jsxs)("div",{className:"slds-button-group",role:"group",children:[i,s.length>0&&(0,ta.jsxs)("div",{className:`slds-dropdown-trigger slds-dropdown-trigger_click slds-button_last ${r&&"slds-is-open"}`,children:[(0,ta.jsx)(nr,{variant:"icon",iconCategory:"utility",iconName:"down",iconVariant:"border-filled",onClick:e=>a(!r)}),(0,ta.jsx)("div",{className:"slds-dropdown slds-dropdown_right slds-dropdown_actions",children:(0,ta.jsx)("ul",{className:"slds-dropdown__list",role:"menu",children:s})})]})]})}function od(e){let{label:t,collapsed:n,children:r}=e;const[a,i]=(0,o.useState)({collapsed:n});return(0,ta.jsx)(ua,{children:(0,ta.jsx)(fa,{id:t,expanded:!a.collapsed,summary:t,onTogglePanel:()=>i({collapsed:!a.collapsed}),children:(0,ta.jsx)("div",{className:"slds-p-left_large",children:r})})})}const id=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sd=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ld={};function cd(e,t){return((t||ld).jsx?sd:id).test(e)}const ud=/[ \t\n\f\r]/g;function dd(e){return""===e.replace(ud,"")}class pd{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function fd(e,t){const n={},r={};let a=-1;for(;++a"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Id=Nd({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Rd(e,t){return t in e?e[t]:t}function Ld(e,t){return Rd(e,t.toLowerCase())}const Dd=Nd({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ld,properties:{xmlns:null,xmlnsXLink:null}}),Pd=Nd({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:yd,ariaAutoComplete:null,ariaBusy:yd,ariaChecked:yd,ariaColCount:Ed,ariaColIndex:Ed,ariaColSpan:Ed,ariaControls:Sd,ariaCurrent:null,ariaDescribedBy:Sd,ariaDetails:null,ariaDisabled:yd,ariaDropEffect:Sd,ariaErrorMessage:null,ariaExpanded:yd,ariaFlowTo:Sd,ariaGrabbed:yd,ariaHasPopup:null,ariaHidden:yd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Sd,ariaLevel:Ed,ariaLive:null,ariaModal:yd,ariaMultiLine:yd,ariaMultiSelectable:yd,ariaOrientation:null,ariaOwns:Sd,ariaPlaceholder:null,ariaPosInSet:Ed,ariaPressed:yd,ariaReadOnly:yd,ariaRelevant:null,ariaRequired:yd,ariaRoleDescription:Sd,ariaRowCount:Ed,ariaRowIndex:Ed,ariaRowSpan:Ed,ariaSelected:yd,ariaSetSize:Ed,ariaSort:null,ariaValueMax:Ed,ariaValueMin:Ed,ariaValueNow:Ed,ariaValueText:null,role:null}}),Md=Nd({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ld,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wd,acceptCharset:Sd,accessKey:Sd,action:null,allow:null,allowFullScreen:bd,allowPaymentRequest:bd,allowUserMedia:bd,alt:null,as:null,async:bd,autoCapitalize:null,autoComplete:Sd,autoFocus:bd,autoPlay:bd,blocking:Sd,capture:null,charSet:null,checked:bd,cite:null,className:Sd,cols:Ed,colSpan:null,content:null,contentEditable:yd,controls:bd,controlsList:Sd,coords:Ed|wd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bd,defer:bd,dir:null,dirName:null,disabled:bd,download:vd,draggable:yd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bd,formTarget:null,headers:Sd,height:Ed,hidden:bd,high:Ed,href:null,hrefLang:null,htmlFor:Sd,httpEquiv:Sd,id:null,imageSizes:null,imageSrcSet:null,inert:bd,inputMode:null,integrity:null,is:null,isMap:bd,itemId:null,itemProp:Sd,itemRef:Sd,itemScope:bd,itemType:Sd,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:bd,low:Ed,manifest:null,max:null,maxLength:Ed,media:null,method:null,min:null,minLength:Ed,multiple:bd,muted:bd,name:null,nonce:null,noModule:bd,noValidate:bd,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:bd,optimum:Ed,pattern:null,ping:Sd,placeholder:null,playsInline:bd,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:bd,referrerPolicy:null,rel:Sd,required:bd,reversed:bd,rows:Ed,rowSpan:Ed,sandbox:Sd,scope:null,scoped:bd,seamless:bd,selected:bd,shadowRootClonable:bd,shadowRootDelegatesFocus:bd,shadowRootMode:null,shape:null,size:Ed,sizes:null,slot:null,span:Ed,spellCheck:yd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ed,step:null,style:null,tabIndex:Ed,target:null,title:null,translate:null,type:null,typeMustMatch:bd,useMap:null,value:yd,width:Ed,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Sd,axis:null,background:null,bgColor:null,border:Ed,borderColor:null,bottomMargin:Ed,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:bd,declare:bd,event:null,face:null,frame:null,frameBorder:null,hSpace:Ed,leftMargin:Ed,link:null,longDesc:null,lowSrc:null,marginHeight:Ed,marginWidth:Ed,noResize:bd,noHref:bd,noShade:bd,noWrap:bd,object:null,profile:null,prompt:null,rev:null,rightMargin:Ed,rules:null,scheme:null,scrolling:yd,standby:null,summary:null,text:null,topMargin:Ed,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ed,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bd,disableRemotePlayback:bd,prefix:null,property:null,results:Ed,security:null,unselectable:null}}),Fd=Nd({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Rd,properties:{about:kd,accentHeight:Ed,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ed,amplitude:Ed,arabicForm:null,ascent:Ed,attributeName:null,attributeType:null,azimuth:Ed,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ed,by:null,calcMode:null,capHeight:Ed,className:Sd,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ed,diffuseConstant:Ed,direction:null,display:null,dur:null,divisor:Ed,dominantBaseline:null,download:bd,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ed,enableBackground:null,end:null,event:null,exponent:Ed,externalResourcesRequired:null,fill:null,fillOpacity:Ed,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wd,g2:wd,glyphName:wd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ed,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ed,horizOriginX:Ed,horizOriginY:Ed,id:null,ideographic:Ed,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ed,k:Ed,k1:Ed,k2:Ed,k3:Ed,k4:Ed,kernelMatrix:kd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ed,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ed,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ed,overlineThickness:Ed,paintOrder:null,panose1:null,path:null,pathLength:Ed,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Sd,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ed,pointsAtY:Ed,pointsAtZ:Ed,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:kd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:kd,rev:kd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:kd,requiredFeatures:kd,requiredFonts:kd,requiredFormats:kd,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ed,specularExponent:Ed,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ed,strikethroughThickness:Ed,string:null,stroke:null,strokeDashArray:kd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ed,strokeOpacity:Ed,strokeWidth:null,style:null,surfaceScale:Ed,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:kd,tabIndex:Ed,tableValues:null,target:null,targetX:Ed,targetY:Ed,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:kd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ed,underlineThickness:Ed,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ed,values:null,vAlphabetic:Ed,vMathematical:Ed,vectorEffect:null,vHanging:Ed,vIdeographic:Ed,version:null,vertAdvY:Ed,vertOriginX:Ed,vertOriginY:Ed,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ed,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Ud=fd([Id,Cd,Dd,Pd,Md],"html"),Bd=fd([Id,Cd,Dd,Pd,Fd],"svg"),jd=/^data[-\w.:]+$/i,$d=/-[a-z]/g,zd=/[A-Z]/g;function Gd(e){return"-"+e.toLowerCase()}function Hd(e){return e.charAt(1).toUpperCase()}const Vd={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Wd=n(6999);const qd=Wd.default||Wd,Kd=Xd("end"),Yd=Xd("start");function Xd(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"===typeof n.line&&n.line>0&&"number"===typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"===typeof n.offset&&n.offset>-1?n.offset:void 0}}}const Zd={}.hasOwnProperty,Qd=new Map,Jd=/[A-Z]/g,ep=/-([a-z])/g,tp=new Set(["table","tbody","thead","tfoot","tr"]),np=new Set(["td","th"]),rp="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ap(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,a,o){const i=Array.isArray(a.children),s=Yd(n);return t(r,a,o,i,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,a,o){const i=Array.isArray(a.children)?n:t;return o?i(r,a,o):i(r,a)}}(0,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?Bd:Ud,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},o=op(a,e,void 0);return o&&"string"!==typeof o?o:a.create(e,a.Fragment,{children:o||void 0},void 0)}function op(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let a=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(a=Bd,e.schema=a);e.ancestors.push(t);const o=up(e,t.tagName,!1),i=function(e,t){const n={};let r,a;for(a in t.properties)if("children"!==a&&Zd.call(t.properties,a)){const o=cp(e,a,t.properties[a]);if(o){const[a,i]=o;e.tableCellAlignToStyle&&"align"===a&&"string"===typeof i&&np.has(t.tagName)?r=i:n[a]=i}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let s=lp(e,t);tp.has(t.tagName)&&(s=s.filter((function(e){return"string"!==typeof e||!("object"===typeof(t=e)?"text"===t.type&&dd(t.value):dd(t));var t})));return ip(e,i,o,t),sp(i,s),e.ancestors.pop(),e.schema=r,e.create(t,o,i,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}dp(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let a=r;"svg"===t.name&&"html"===r.space&&(a=Bd,e.schema=a);e.ancestors.push(t);const o=null===t.name?e.Fragment:up(e,t.name,!0),i=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const a=t.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else dp(e,t.position);else{const a=r.name;let o;if(r.value&&"object"===typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,o=e.evaluater.evaluateExpression(t.expression)}else dp(e,t.position);else o=null===r.value||r.value;n[a]=o}return n}(e,t),s=lp(e,t);return ip(e,i,o,t),sp(i,s),e.ancestors.pop(),e.schema=r,e.create(t,o,i,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);dp(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return sp(r,lp(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function ip(e,t,n,r){"string"!==typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function sp(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function lp(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:Qd;for(;++r4&&"data"===n.slice(0,4)&&jd.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace($d,Hd);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!$d.test(e)){let n=e.replace(zd,Gd);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=Ad}return new a(r,t)}(e.schema,t);if(!(null===n||void 0===n||"number"===typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"===typeof n?n:function(e,t){const n={};try{qd(t,r)}catch(a){if(!e.ignoreInvalidStyle){const t=a,n=new xu("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=rp+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(ep,fp)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)Zd.call(e,n)&&(t[pp(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Vd[r.property]||r.property:r.attribute,n]}}function up(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,a=-1;for(;++a((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=a=>{if(e.has(a))return e.get(a);const[o,i]=t[a];switch(o){case 0:case-1:return n(i,a);case 1:{const e=n([],a);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},a);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),a);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),a)}case 5:{const e=n(new Map,a);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,a);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new hp[e](t),a)}case 8:return n(BigInt(i),a);case"BigInt":return n(Object(BigInt(i)),a)}return n(new hp[o](i),a)};return r})(new Map,e)(0),yp="",{toString:vp}={},{keys:Ep}=Object,Sp=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=vp.call(e).slice(8,-1);switch(n){case"Array":return[1,yp];case"Object":return[2,yp];case"Date":return[3,yp];case"RegExp":return[4,yp];case"Map":return[5,yp];case"Set":return[6,yp]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},wp=e=>{let[t,n]=e;return 0===t&&("function"===n||"symbol"===n)},kp=function(e){let{json:t,lossy:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];return((e,t,n,r)=>{const a=(e,t)=>{const a=r.push(e)-1;return n.set(t,a),a},o=r=>{if(n.has(r))return n.get(r);let[i,s]=Sp(r);switch(i){case 0:{let t=r;switch(s){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return a([-1],r)}return a([i,t],r)}case 1:{if(s)return a([s,[...r]],r);const e=[],t=a([i,e],r);for(const n of r)e.push(o(n));return t}case 2:{if(s)switch(s){case"BigInt":return a([s,r.toString()],r);case"Boolean":case"Number":case"String":return a([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());const n=[],l=a([i,n],r);for(const t of Ep(r))!e&&wp(Sp(r[t]))||n.push([o(t),o(r[t])]);return l}case 3:return a([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return a([i,{source:e,flags:t}],r)}case 5:{const t=[],n=a([i,t],r);for(const[a,i]of r)(e||!wp(Sp(a))&&!wp(Sp(i)))&&t.push([o(a),o(i)]);return n}case 6:{const t=[],n=a([i,t],r);for(const a of r)!e&&wp(Sp(a))||t.push(o(a));return n}}const{message:l}=r;return a([i,{name:s,message:l}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},Tp="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?bp(kp(e,t)):structuredClone(e):(e,t)=>bp(kp(e,t));function _p(e){const t=[];let n=-1,r=0,a=0;for(;++n55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),a=1):i="\ufffd"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function Ap(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function xp(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Op(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),o=a[0];o&&"text"===o.type?o.value="["+o.value:a.unshift({type:"text",value:"["});const i=a[a.length-1];return i&&"text"===i.type?i.value+=r:a.push({type:"text",value:r}),a}function Np(e){const t=e.spread;return null===t||void 0===t?e.children.length>1:t}function Cp(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const o=[];for(;r;)o.push(Ip(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(Ip(t.slice(a),a>0,!1)),o.join("")}function Ip(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}const Rp={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=_p(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let i,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=o+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Op(e,t);const a={src:_p(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);const o={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:_p(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Op(e,t);const a={href:_p(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);const o={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:_p(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Yd(t.children[1]),i=Kd(t.children[t.children.length-1]);o&&i&&(r.position={start:o,end:i}),a.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,a=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length;let s=-1;const l=[];for(;++s0&&n.push({type:"text",value:"\n"}),n}function jp(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function $p(e,t){const n=function(e,t){const n=t||Pp,r=new Map,a=new Map,o=new Map,i={...Rp,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&d.push({type:"text",value:" "});let e="string"===typeof n?n:n(l,u);"string"===typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=o[o.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else o.push(...d);const m={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(o,!0)};e.patch(a,m),s.push(m)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Tp(i),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&o.children.push({type:"text",value:"\n"},a),o}function zp(e,t){return e&&"run"in e?async function(n,r){const a=$p(n,{file:r,...t});await e.run(a,r)}:function(n,r){return $p(n,{file:r,...e||t})}}const Gp=[],Hp={allowDangerousHtml:!0},Vp=/^(https?|ircs?|mailto|xmpp)$/i,Wp=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function qp(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",a=e.className,o=e.components,i=e.disallowedElements,s=e.rehypePlugins||Gp,l=e.remarkPlugins||Gp,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Hp}:Hp,u=e.skipHtml,d=e.unwrapDisallowed,p=e.urlTransform||Kp,f=$u().use(Ec).use(l).use(zp,c).use(s),m=new Du;"string"===typeof r&&(m.value=r);for(const b of Wp)Object.hasOwn(e,b.from)&&(b.from,b.to&&b.to,b.id);const g=f.parse(m);let h=f.runSync(g,m);return a&&(h={type:"element",tagName:"div",properties:{className:a},children:"root"===h.type?h.children:[h]}),Vc(h,(function(e,r,a){if("raw"===e.type&&a&&"number"===typeof r)return u?a.children.splice(r,1):a.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in gp)if(Object.hasOwn(gp,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=gp[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=p(String(n||""),t,e))}}if("element"===e.type){let o=t?!t.includes(e.tagName):!!i&&i.includes(e.tagName);if(!o&&n&&"number"===typeof r&&(o=!n(e,r,a)),o&&a&&"number"===typeof r)return d&&e.children?a.children.splice(r,1,...e.children):a.children.splice(r,1),r}})),ap(h,{Fragment:ta.Fragment,components:o,ignoreInvalidStyle:!0,jsx:ta.jsx,jsxs:ta.jsxs,passKeys:!0,passNode:!0})}function Kp(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t<0||a>-1&&t>a||n>-1&&t>n||r>-1&&t>r||Vp.test(e.slice(0,t))?e:""}function Yp(e,t){const n=String(e);if("string"!==typeof t)throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}function Xp(e,t,n){const r=Mc((n||{}).ignore||[]),a=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}c?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=Yp(e,"(");let o=Yp(e,")");for(;-1!==r&&a>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!i[0])return!1;const s={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",value:i[1]}]:s}function uf(e,t,n,r){return!(!df(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function df(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Vs(n)||Hs(n))&&(!t||47!==n)}function pf(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ff(){this.buffer()}function mf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=hl(this.sliceSerialize(e)).toLowerCase()}function gf(e){this.exit(e)}function hf(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function bf(){this.buffer()}function yf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=hl(this.sliceSerialize(e)).toLowerCase()}function vf(e){this.exit(e)}function Ef(e,t,n,r){const a=n.createTracker(r);let o=a.move("[^");const i=n.enter("footnoteReference"),s=n.enter("reference");return o+=a.move(n.safe(n.associationId(e),{...a.current(),before:o,after:"]"})),s(),i(),o+=a.move("]"),o}function Sf(e,t,n,r){const a=n.createTracker(r);let o=a.move("[^");const i=n.enter("footnoteDefinition"),s=n.enter("label");return o+=a.move(n.safe(n.associationId(e),{...a.current(),before:o,after:"]"})),s(),o+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),o+=a.move(n.indentLines(n.containerFlow(e,a.current()),wf)),i(),o}function wf(e,t,n){return 0===t?e:(n?"":" ")+e}Ef.peek=function(){return"["};const kf=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Tf(e){this.enter({type:"delete",children:[]},e)}function _f(e){this.exit(e)}function Af(e,t,n,r){const a=n.createTracker(r),o=n.enter("strikethrough");let i=a.move("~~");return i+=n.containerPhrasing(e,{...a.current(),before:i,after:"~"}),i+=a.move("~~"),o(),i}function xf(e){return e.length}function Of(e){const t="string"===typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Nf(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function Cf(e){this.exit(e),this.data.inTable=void 0}function If(e){this.enter({type:"tableRow",children:[]},e)}function Rf(e){this.exit(e)}function Lf(e){this.enter({type:"tableCell",children:[]},e)}function Df(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Pf));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Pf(e,t){return"|"===t?t:e}function Mf(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=au.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let a=-1;const o=[],i=t.enter("table");for(;++ac&&(c=e[u].length);++ol[o])&&(l[o]=e)}t.push(i)}i[u]=t,s[u]=r}var d;let p=-1;if("object"===typeof r&&"length"in r)for(;++pl[p]&&(l[p]=a),m[p]=a),f[p]=i}i.splice(1,0,f),s.splice(1,0,m),u=-1;const g=[];for(;++u0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Kf[43]=qf,Kf[45]=qf,Kf[46]=qf,Kf[95]=qf,Kf[72]=[qf,Wf],Kf[104]=[qf,Wf],Kf[87]=[qf,Vf],Kf[119]=[qf,Vf];const tm={tokenize:function(e,t,n){const r=this;return qs(e,(function(e){const a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function nm(e,t,n){const r=this;let a=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;a--;){const e=r.events[a][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!i||!i._balanced)return n(a);const s=hl(r.sliceSerialize({start:i.end,end:r.now()}));if(94!==s.codePointAt(0)||!o.includes(s.slice(1)))return n(a);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)}}function rm(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const a={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[r+1],e[r+2],["enter",a,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice(r,e.length-r+1,...l),e}function am(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(i>999||93===s&&!o||null===s||91===s||zs(s))return n(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return a.includes(hl(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return zs(s)||(o=!0),i++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function om(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!i||null===t||91===t||zs(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=hl(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return zs(t)||(i=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(o)||a.push(o),qs(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function im(e,t,n){return e.check(Zs,t,e.attempt(tm,t,n))}function sm(e){e.exit("gfmFootnoteDefinition")}function lm(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const a=this.previous,o=this.events;let i=0;return function(t){if(126===a&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){const l=$l(a);if(126===o)return i>1?r(o):(e.consume(o),i++,s);if(i<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=$l(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function um(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const a=t>-1?r.events[t][1].type:null,o="tableHead"===a||"tableRow"===a?E:s;if(o===E&&r.parser.lazy[r.now().line])return n(e);return o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return a=!0,i+=1,l(e)}(t)}function l(t){return null===t?n(t):$s(t)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):Gs(t)?qs(e,l,"whitespace")(t):(i+=1,a&&(a=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||zs(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),a=!1,Gs(t)?qs(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?m(t):124===t?(a=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):v(t)}function f(t){return Gs(t)?qs(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(i+=1,g(t)):null===t||$s(t)?y(t):v(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),h(t)):v(t)}function h(t){return 45===t?(e.consume(t),h):58===t?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return Gs(t)?qs(e,y,"whitespace")(t):y(t)}function y(n){return 124===n?p(n):(null===n||$s(n))&&a&&o===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):v(n)}function v(e){return n(e)}function E(t){return e.enter("tableRow"),S(t)}function S(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),S):null===n||$s(n)?(e.exit("tableRow"),t(n)):Gs(n)?qs(e,S,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||zs(t)?(e.exit("data"),S(t)):(e.consume(t),92===t?k:w)}function k(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function pm(e,t){let n,r,a,o=-1,i=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new cm;for(;++on[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==a&&(o.end=Object.assign({},gm(t.events,a)),e.add(a,0,[["exit",o,t]]),o=void 0),o}function mm(e,t,n,r,a){const o=[],i=gm(t.events,n);a&&(a.end=Object.assign({},i),o.push(["exit",a,t])),r.end=Object.assign({},i),o.push(["exit",r,t]),e.add(n+1,0,o)}function gm(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const hm={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a};function a(t){return zs(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}function i(r){return $s(r)?t(r):Gs(r)?e.check({tokenize:bm},t,n)(r):n(r)}}};function bm(e,t,n){return qs(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const ym={};function vm(e){const t=e||ym,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Is([{text:Kf},{document:{91:{name:"gfmFootnoteDefinition",tokenize:om,continuation:{tokenize:im},exit:sm}},text:{91:{name:"gfmFootnoteCall",tokenize:am},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:nm,resolveTo:rm}}},lm(e),{flow:{null:{name:"table",tokenize:dm,resolveAll:pm}}},{text:{91:hm}}])}(t)),a.push([{transforms:[lf],enter:{literalAutolink:tf,literalAutolinkEmail:nf,literalAutolinkHttp:nf,literalAutolinkWww:nf},exit:{literalAutolink:sf,literalAutolinkEmail:of,literalAutolinkHttp:rf,literalAutolinkWww:af}},{enter:{gfmFootnoteDefinition:pf,gfmFootnoteDefinitionLabelString:ff,gfmFootnoteCall:hf,gfmFootnoteCallString:bf},exit:{gfmFootnoteDefinition:gf,gfmFootnoteDefinitionLabelString:mf,gfmFootnoteCall:vf,gfmFootnoteCallString:yf}},{canContainEols:["delete"],enter:{strikethrough:Tf},exit:{strikethrough:_f}},{enter:{table:Nf,tableData:Lf,tableHeader:Lf,tableRow:If},exit:{codeText:Df,table:Cf,tableData:Rf,tableHeader:Rf,tableRow:Rf}},{exit:{taskListCheckValueChecked:Ff,taskListCheckValueUnchecked:Ff,paragraph:Uf}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Jp,notInConstruct:ef},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Jp,notInConstruct:ef},{character:":",before:"[ps]",after:"\\/",inConstruct:Jp,notInConstruct:ef}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Sf,footnoteReference:Ef}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:kf}],handlers:{delete:Af}},Mf(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Bf}}]}}(t))}const Em=new class{contains(e,t){return e.indexOf(t)>-1}substringAfter(e,t){const n=e.indexOf(t);return e.substring(n+t.length)}substringAfterLast(e,t){const n=e.lastIndexOf(t);return e.substring(n+t.length)}substringBefore(e,t){const n=e.indexOf(t);return e.substring(0,n)}substringBetween(e,t,n){const r=e.indexOf(t)+t.length,a=e.indexOf(n);return e.substring(r,a)}substringBeforeLast(e,t){const n=e.lastIndexOf(t);return e.substring(0,n)}},Sm=Em;function wm(){return function(e){Vc(e,"raw",(function(e){"
"===e.value&&(e.type="element",e.tagName="br",e.children=[],e.properties={})}))}}function km(){return function(e){let t=[];for(let n=0;n")){for(r.type="element",r.tagName="accordion",r.properties={label:Sm.substringBetween(r.value,"","")},r.children=[],n++;""!==e.children[n].value;)r.children.push(e.children[n]),n++;t.push(r)}else t.push(r)}e.children=t}}function Tm(e){let{alt:t,src:n}=e;const[r,a]=(0,o.useState)(!1);return(0,ta.jsxs)("div",{children:[(0,ta.jsx)("span",{className:"slds-text-link_reset img",onClick:e=>a(!r),children:(0,ta.jsx)("img",{className:"slds-col_bump-top slds-col_bump-bottom",src:n,alt:t})}),(0,ta.jsx)(xo,{isTrue:r,children:(0,ta.jsx)("span",{className:"slds-text-link_reset img image-enlarged slds-p-around_large slds-scrollable slds-grid slds-grid_vertical-align-center",onClick:e=>a(!r),children:(0,ta.jsx)("img",{className:"slds-col_bump-top slds-col_bump-bottom",src:n,alt:t})})})]})}const _m=new window.IntersectionObserver((e=>{const t=e.find((e=>!0===e.isIntersecting));t&&window.dispatchEvent(new CustomEvent("headerview",{detail:t.target}))}),{threshold:.85});const Am={h1:"slds-m-top_x-large slds-text-heading_large",h2:"slds-m-top_x-large slds-text-heading_medium",h3:"slds-m-top_x-large slds-text-heading_small"};function xm(e){let{level:t,text:n}=e,r=Xu(n);!function(e){(0,o.useEffect)((()=>{const t=document.querySelector("#"+e);return t&&_m.observe(t),()=>{_m.disconnect()}}),[e])}(r);let a=o.createElement(t,{className:"header"},n);return(0,ta.jsxs)("div",{id:r,className:Am[t]+" slds-grid header-anchor",children:[a,(0,ta.jsx)(nr,{variant:"icon",iconCategory:"utility",iconSize:"medium",iconName:"link",className:"hidden-link",onClick:e=>{document.location.hash="#"+r,navigator.clipboard.writeText(document.location.href)}},"link")]})}function Om(e){let{md:t}=e;return(0,ta.jsx)(qp,{children:t,remarkPlugins:[vm],rehypePlugins:[wm,km],components:{accordion:e=>{let{node:t,children:n}=e;return(0,ta.jsx)(od,{collapsed:!0,label:t.properties.label,children:n})},h1:e=>{let{children:t}=e;return(0,ta.jsx)(xm,{level:"h1",text:t})},h2:e=>{let{children:t}=e;return(0,ta.jsx)(xm,{level:"h2",text:t})},h3:e=>{let{children:t}=e;return(0,ta.jsx)(xm,{level:"h3",text:t})},h4:e=>{let{children:t}=e;return(0,ta.jsx)("h4",{className:"slds-m-top_large slds-text-title_caps",children:t})},h5:e=>{let{children:t}=e;return(0,ta.jsx)("h5",{className:"slds-m-top_large slds-text-title_bold",children:t})},h6:e=>{let{children:t}=e;return(0,ta.jsx)("h6",{className:"slds-m-top_large slds-text-title",children:t})},ul:e=>{let{children:t}=e;return(0,ta.jsx)("ul",{className:"slds-m-bottom_medium slds-list_dotted",children:t})},ol:e=>{let{children:t}=e;return(0,ta.jsx)("ul",{className:"slds-m-bottom_medium slds-list_ordered",children:t})},table:e=>{let{children:t}=e;return(0,ta.jsx)("div",{className:"slds-scrollable_x",children:(0,ta.jsx)("table",{className:"slds-box_border slds-table slds-table_bordered slds-table_col-bordered",children:t})})},pre:e=>{let{children:t}=e;return(0,ta.jsx)("pre",{className:"code",children:t})},img:e=>{let{src:t,alt:n}=e;return(0,ta.jsx)(Tm,{src:t,alt:n})},code(e){var t;let{node:n,inline:r,className:a,children:o,...i}=e;const s=/language-(\w+)/.exec(a||""),l=null===(t=n.data)||void 0===t?void 0:t.meta,c=l?l.split("|").flatMap((e=>e?e.trim():[])):[];return!r&&s?(0,ta.jsx)(To,{language:s[1],header:c[0],description:c[1],showLineNumbers:!0,code:String(o).replace(/\n$/,"")}):(0,ta.jsx)("code",{...i,className:a,children:o})}}})}function Nm(e){let{headers:t,active:n}=e;return(0,ta.jsx)(xo,{isTrue:(null===t||void 0===t?void 0:t.length)>0,children:(0,ta.jsx)("div",{className:"page-content",children:(0,ta.jsx)(Po,{header:"On this page",active:n,items:t,onClick:e=>{document.location.hash="#"+e,document.querySelector("#"+e).scrollIntoView()}})})})}function Cm(e){let{url:t,iconName:n}=e;const[r,a]=(0,o.useState)(),[s,l]=(0,o.useState)(),[c,u]=(0,o.useState)(0),d=(0,i.Zp)(),p=(0,i.zy)();var f;if(f=e=>l(e.detail.id),(0,o.useEffect)((()=>(window.addEventListener("headerview",f),()=>{window.removeEventListener("headerview",f)})),[f]),(0,o.useEffect)((()=>{Qu(t).then((e=>{var t;a(e);let n=e.tabs.findIndex((e=>e.path===p.pathname));n=-1===n?0:n,u(n),l(null===(t=e.tabs[n].headers[0])||void 0===t?void 0:t.path),p.hash&&(l(p.hash.slice(1)),setTimeout((()=>{var e;null===(e=document.querySelector(p.hash))||void 0===e||e.scrollIntoView()})))}))}),[t]),r){var m;const e=n.split(":");return(0,ta.jsx)("div",{className:"",children:(0,ta.jsxs)("div",{children:[(0,ta.jsx)("div",{className:"slds-theme_default slds-box_border slds-m-bottom_medium",children:(0,ta.jsxs)(Va,{heading:r.header,icon:(0,ta.jsx)(_n,{category:e[0],name:e[1]}),bodyClassName:"slds-p-horizontal_small",headerActions:(0,ta.jsx)(ad,{buttons:r.buttons}),children:[(0,ta.jsx)("p",{className:"slds-text-body_regular",children:(0,ta.jsx)("em",{children:r.description})}),(null===(m=r.snippet)||void 0===m?void 0:m.value)&&(0,ta.jsx)(To,{language:r.snippet.lang,code:r.snippet.value})]})}),(0,ta.jsx)("div",{className:"slds-theme_default slds-box_darker slds-p-horizontal_medium",children:(0,ta.jsx)(bs,{selectedIndex:c,onSelect:e=>{let n=r.tabs[e];d(0===e?t:n.path),u(e)},children:r.tabs.map(((e,t)=>(0,ta.jsx)(vs,{label:e.label,children:(0,ta.jsxs)("div",{className:"slds-grid slds-grid--align-spread slds-p-horizontal_small",children:[(0,ta.jsx)("main",{children:t===c?(0,ta.jsx)(Om,{md:e.content}):null}),(0,ta.jsx)(Nm,{active:s,headers:e.headers})]})},e.label)))})})]})})}return(0,ta.jsx)(Zo,{})}function Im(e){return[{path:"/",element:(0,ta.jsx)(na,{...e}),children:[...e.nav.map((e=>{var t;return{path:e.path,element:(0,ta.jsx)(ta.Fragment,{children:(0,ta.jsx)(Wi,{category:e})}),children:null===(t=e.groups)||void 0===t?void 0:t.map((t=>({children:t.items.map((t=>({path:`${t.path}/*`,element:(0,ta.jsx)(Cm,{url:`/${e.path}/${t.path}`,iconName:t.iconName||e.defaults.iconName})})))})))}}))]}]}},1083:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,E:()=>l});var r=n(9950),a=n(1942),o=n.n(a),i=n(9322),s=function(e){var t=e.iconPath,n=e.onRequestIconPath,a=e.actionSprite,o=e.customSprite,i=e.doctypeSprite,s=e.standardSprite,c=e.utilitySprite,u=e.children;return r.createElement(l.Provider,{value:{iconPath:t,onRequestIconPath:n,actionSprite:a,customSprite:o,doctypeSprite:i,standardSprite:s,utilitySprite:c}},u)};s.displayName=i._6,s.propTypes={iconPath:o().string,onRequestIconPath:o().func,actionSprite:o().string,customSprite:o().string,doctypeSprite:o().string,standardSprite:o().string,utilitySprite:o().string};var l=r.createContext({});const c=s},8672:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,a=n(2798),o=n.n(a),i="assets/";const s={setAssetsPath:function(e){e&&(i=e)},getAssetsPath:function(){return String(i)},setAppElement:function(e){e&&(r=e,o().setAppElement(e))},getAppElement:function(){return r}}},9322:(e,t,n)=>{"use strict";n.d(t,{Cv:()=>x,DF:()=>L,Dn:()=>v,F$:()=>_,Fq:()=>b,I8:()=>N,Lx:()=>g,ML:()=>p,NM:()=>h,PE:()=>d,Ry:()=>R,TH:()=>O,Tk:()=>A,UE:()=>i,W1:()=>s,XS:()=>m,_6:()=>T,_v:()=>C,bO:()=>y,gi:()=>D,i0:()=>a,k$:()=>w,kb:()=>k,lF:()=>u,lq:()=>r,n5:()=>c,pH:()=>E,qK:()=>S,rD:()=>P,vD:()=>f,wn:()=>I,x8:()=>o,yq:()=>l});var r="SLDSAccordion",a="SLDSAccordionPanel",o="SLDSAppLauncher",i="SLDSAppLauncherExpandableSection",s="SLDSAppLauncherTile",l="SLDSBadge",c="SLDSButton",u="SLDSButtonIcon",d="SLDSCard",p="SLDSCardBody",f="SLDSCardEmpty",m="SLDSCardFooter",g="SLDSCardHeader",h="SLDSDialog",b="SLDSExpandableSection",y="SLDSInput",v="SLDSSearch",E="SLDSGlobalNavigationBar",S="SLDSGlobalNavigationBarLink",w="SLDSGlobalNavigationBarRegion",k="SLDSIcon",T="SLDSIconSettings",_="SLDSIconInput",A="SLDSMediaObject",x="SLDSModal",O="SLDSPortalSettings",N="SLDSPopoverTooltip",C="SLDSSpinner",I="SLDSTab",R="SLDSTabPanel",L="SLDSTabs",D="SLDSTabsList",P="SLDSTabsPanel"},7139:e=>{e.exports={"global-setup":"#2A739E","service-cloud":"#7f2443","industry-cloud":"#4c2248","sales-cloud":"#00857d","commerce-cloud":"#41693d","community-cloud":"#ffc20e","marketing-cloud":"#ea7600",quip:"#cf451d"}},1734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&0===(y-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),m.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===("undefined"===typeof t?"undefined":a(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"===typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&d.add(document.body,a),r&&d.add(document.getElementsByTagName("html")[0],r),n&&(y+=1,u.hide(t)),m.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,a=e.overlayClassName,o=e.defaultStyles,i=e.children,s=n?{}:o.content,l=a?{}:o.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",a),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,i);return this.props.overlayElement(c,d)}}]),t}(i.Component);v.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},v.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=v,e.exports=t.default},416:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(e){return e.removeAttribute("aria-hidden")})));s=null},t.log=function(){return void 0;var e=s||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")},t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"===typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);l(n,t),t=n}return s=t||s},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=c(e)[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){a.value.setAttribute("aria-hidden","true")}}catch(i){n=!0,r=i}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=c(e)[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){a.value.removeAttribute("aria-hidden")}}catch(i){n=!0,r=i}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,a=n(2241),o=(r=a)&&r.__esModule?r:{default:r},i=n(3628);var s=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},3973:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[i,s],t=0;t0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(i.parentElement&&i.parentElement.removeChild(i),s.parentElement&&s.parentElement.removeChild(s))}))},7820:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)a(e,n[t]);var o=document.body;for(var i in r)a(o,r[i]);n={},r={}},t.log=function(){return void 0;var e=document.getElementsByTagName("html")[0].className,t="Show tracked classes:\n\n";for(var a in t+=" ("+e+"):\n",n)t+=" "+a+" "+n[a]+"\n";for(var o in e=document.body.className,t+="\n\ndoc.body ("+e+"):\n",r)t+=" "+o+" "+r[o]+"\n";t+="\n",console.log(t)};var n={},r={};function a(e,t){e.classList.remove(t)}t.add=function(e,t){return a=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(o,e),a.add(e)}));var a,o},t.remove=function(e,t){return a=e.classList,o="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(o,e),0===o[e]&&a.remove(e)}));var a,o}},1109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i=[]},t.log=function(){return void 0;console.log("focusManager ----------"),i.forEach((function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)})),console.log("end focusManager ----------")},t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==i.length&&(t=i.pop()).focus({preventScroll:e}))}catch(n){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var r,a=n(7881),o=(r=a)&&r.__esModule?r:{default:r};var i=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,o.default)(s)[0]||s).focus()}),0)}}},1974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},3628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,a=n(789);var o=((r=a)&&r.__esModule?r:{default:r}).default,i=o.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=o.canUseDOM?window.NodeList:{},t.canUseDOM=o.canUseDOM;t.default=i},5557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,a=t.shiftKey,i=n[0],s=n[n.length-1];if(e===document.activeElement){if(!a)return;r=s}s!==document.activeElement||a||(r=i);i===document.activeElement&&a&&(r=s);if(r)return t.preventDefault(),void r.focus();var l=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==l||"Chrome"==l[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var c=n.indexOf(document.activeElement);c>-1&&(c+=a?-1:1);if("undefined"===typeof(r=n[c]))return t.preventDefault(),void(r=a?s:i).focus();t.preventDefault(),r.focus()};var r,a=n(7881),o=(r=a)&&r.__esModule?r:{default:r};e.exports=t.default},7881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(r){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var a=e.nodeName.toLowerCase();return(n.test(a)&&!e.disabled||"a"===a&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(e)}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},2798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(1734),o=(r=a)&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},2146:(e,t)=>{"use strict";const n=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,r=/^[\u0021-\u003A\u003C-\u007E]*$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,s=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function l(e,t,n){do{const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}while(++tn;){const n=e.charCodeAt(--t);if(32!==n&&9!==n)return t+1}return n}function u(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}},789:(e,t,n)=>{var r;!function(){"use strict";var a=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:a,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},755:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,a=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,c,u,d=arguments[0],p=1,f=arguments.length,m=!1;for("boolean"===typeof d&&(m=d,d=arguments[1]||{},p=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});p{"use strict";e.exports=function(e,n){var r,a,o,i=e||"",s=n||"div",l={},c=0;for(;c{"use strict";var r=n(11),a=n(8245),o=n(9482),i=n(4509).q,s=n(4882).q;e.exports=function(e,t,n){var a=n?function(e){var t,n=e.length,r=-1,a={};for(;++r{"use strict";var r=n(1893),a=n(6818)(r,"div");a.displayName="html",e.exports=a},2292:(e,t,n)=>{"use strict";e.exports=n(4099)},4882:(e,t)=>{"use strict";t.q=function(e){var t,r=[],o=String(e||a),i=o.indexOf(n),s=0,l=!1;for(;!l;)-1===i&&(i=o.length,l=!0),!(t=o.slice(s,i).trim())&&l||r.push(t),s=i+1,i=o.indexOf(n,s);return r};var n=",",r=" ",a=""},11:(e,t,n)=>{"use strict";var r=n(8245),a=n(9715),o=n(4907),i="data";e.exports=function(e,t){var n=r(t),p=t,f=o;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===i&&s.test(t)&&("-"===t.charAt(4)?p=function(e){var t=e.slice(5).replace(l,d);return i+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(l.test(t))return e;t=t.replace(c,u),"-"!==t.charAt(0)&&(t="-"+t);return i+t}(t),f=a);return new f(p,t)};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},1893:(e,t,n)=>{"use strict";var r=n(6619),a=n(3470),o=n(3551),i=n(3464),s=n(4013),l=n(2785);e.exports=r([o,a,i,s,l])},4013:(e,t,n)=>{"use strict";var r=n(8146),a=n(1299),o=r.booleanish,i=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:i,ariaColIndex:i,ariaColSpan:i,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:o,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:s,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:i,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:i,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:s,ariaRowCount:i,ariaRowIndex:i,ariaRowSpan:i,ariaSelected:o,ariaSetSize:i,ariaSort:null,ariaValueMax:i,ariaValueMin:i,ariaValueNow:i,ariaValueText:null,role:null}})},2785:(e,t,n)=>{"use strict";var r=n(8146),a=n(1299),o=n(1946),i=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:i,allowPaymentRequest:i,allowUserMedia:i,alt:null,as:null,async:i,autoCapitalize:null,autoComplete:u,autoFocus:i,autoPlay:i,capture:i,charSet:null,checked:i,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:i,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:i,defer:i,dir:null,dirName:null,disabled:i,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:i,formTarget:null,headers:u,height:c,hidden:i,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:i,itemId:null,itemProp:u,itemRef:u,itemScope:i,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:i,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:i,muted:i,name:null,nonce:null,noModule:i,noValidate:i,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:i,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:i,poster:null,preload:null,readOnly:i,referrerPolicy:null,rel:u,required:i,reversed:i,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:i,seamless:i,selected:i,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:i,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:i,declare:i,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:i,noHref:i,noShade:i,noWrap:i,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:i,disableRemotePlayback:i,prefix:null,property:null,results:c,security:null,unselectable:null}})},1946:(e,t,n)=>{"use strict";var r=n(9639);e.exports=function(e,t){return r(e,t.toLowerCase())}},9639:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},1299:(e,t,n)=>{"use strict";var r=n(8245),a=n(9360),o=n(9715);e.exports=function(e){var t,n,i=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new o(t,u(l,t),c[t],i),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,i)}},9715:(e,t,n)=>{"use strict";var r=n(4907),a=n(8146);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],i=o.length;function s(e,t,n,s){var c,u=-1;for(l(this,"space",s),r.call(this,e,t);++u{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},6619:(e,t,n)=>{"use strict";var r=n(5644),a=n(9360);e.exports=function(e){var t,n,o=e.length,i=[],s=[],l=-1;for(;++l{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},8146:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},3470:(e,t,n)=>{"use strict";var r=n(1299);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},3551:(e,t,n)=>{"use strict";var r=n(1299);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},3464:(e,t,n)=>{"use strict";var r=n(1299),a=n(1946);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:a,properties:{xmlns:null,xmlnsXLink:null}})},8245:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},4509:(e,t)=>{"use strict";t.q=function(e){var t=String(e||n).trim();return t===n?[]:t.split(a)};var n="",r=" ",a=/[ \t\n\r\f]+/g},4814:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function f(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function m(){var e={line:d,column:p};return function(t){return t.position=new g(e),v(),t}}function g(e){this.start=e,this.end={line:d,column:p},this.source=l.source}g.prototype.content=e;var h=[];function b(t){var n=new Error(l.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=p,n.source=e,!l.silent)throw n;h.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function v(){y(r)}function E(e){var t;for(e=e||[];t=S();)!1!==t&&e.push(t);return e}function S(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return b("End of comment missing");var r=e.slice(2,n-2);return p+=2,f(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function w(){var e=m(),n=y(a);if(n){if(S(),!y(o))return b("property missing ':'");var r=y(i),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(s),l}}return v(),function(){var e,t=[];for(E(t);e=w();)!1!==e&&(t.push(e),E(t));return t}()}},1812:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",p="[object Number]",f="[object Object]",m="[object Promise]",g="[object RegExp]",h="[object Set]",b="[object String]",y="[object Symbol]",v="[object WeakMap]",E="[object ArrayBuffer]",S="[object DataView]",w=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[o]=T[i]=T[E]=T[s]=T[S]=T[l]=T[c]=T[u]=T[d]=T[p]=T[f]=T[g]=T[h]=T[b]=T[v]=!1;var _="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,A="object"==typeof self&&self&&self.Object===Object&&self,x=_||A||Function("return this")(),O=t&&!t.nodeType&&t,N=O&&e&&!e.nodeType&&e,C=N&&N.exports===O,I=C&&_.process,R=function(){try{return I&&I.binding&&I.binding("util")}catch(e){}}(),L=R&&R.isTypedArray;function D(e,t){for(var n=-1,r=null==e?0:e.length;++ns))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,p=2&n?new ve:void 0;for(o.set(e,t),o.set(t,e);++u-1},be.prototype.set=function(e,t){var n=this.__data__,r=we(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new he,map:new(ae||be),string:new he}},ye.prototype.delete=function(e){var t=Ce(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return Ce(this,e).get(e)},ye.prototype.has=function(e){return Ce(this,e).has(e)},ye.prototype.set=function(e,t){var n=Ce(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ve.prototype.add=ve.prototype.push=function(e){return this.__data__.set(e,r),this},ve.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.clear=function(){this.__data__=new be,this.size=0},Ee.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ee.prototype.get=function(e){return this.__data__.get(e)},Ee.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.set=function(e,t){var n=this.__data__;if(n instanceof be){var r=n.__data__;if(!ae||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ye(r)}return n.set(e,t),this.size=n.size,this};var Re=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=a}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ge(e){return null!=e&&"object"==typeof e}var He=L?function(e){return function(t){return e(t)}}(L):function(e){return Ge(e)&&$e(e.length)&&!!T[ke(e)]};function Ve(e){return null!=(t=e)&&$e(t.length)&&!je(t)?Se(e):xe(e);var t}e.exports=function(e,t){return _e(e,t)}},4420:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")(),i=Object.prototype,s=i.hasOwnProperty,l=i.toString,c=o.Symbol,u=c?c.toStringTag:void 0;function d(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?function(e){var t=s.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(o){}var a=l.call(e);r&&(t?e[u]=n:delete e[u]);return a}(e):function(e){return l.call(e)}(e)}e.exports=function(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=d(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},3488:(e,t,n)=>{"use strict";var r=n(3959);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new 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 n={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:o,resetWarningCache:a};return n.PropTypes=n,n}},1942:(e,t,n)=>{e.exports=n(3488)()},3959:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8345:(e,t,n)=>{"use strict";var r=n(9950),a=n(5340);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n