From 12bdc395a632321d9043acfcea629de21ba1ef00 Mon Sep 17 00:00:00 2001 From: Danny Wahl Date: Wed, 10 Jul 2024 13:14:04 -0700 Subject: [PATCH] Deploy v4.4.0+1720642421 --- assets/{IconRssLine-R9zaM-kI.js => IconRssLine-BcUub32U.js} | 2 +- assets/{Mdtoui-D2iN30Jx.js => Mdtoui-D8ifNIrl.js} | 6 +++--- ...derTopNavBar-DdduE_mK.js => RenderTopNavBar-DwZOqeqN.js} | 2 +- assets/{error-B5hQzbeZ.js => error-DE5Avba2.js} | 2 +- assets/{index-BgSjnQS9.js => index-B2tgx2JB.js} | 2 +- assets/{index-BX9l5wvn.js => index-BER2qAwk.js} | 2 +- assets/{index-BCoP-QCi.js => index-Baihd32c.js} | 2 +- assets/{index-CvvVU94y.js => index-C4If5P1l.js} | 2 +- assets/{index-ALzVjZWx.js => index-CCcpAznT.js} | 6 +++--- assets/{index-DVuP2ZA1.js => index-D8uc6p-q.js} | 6 +++--- assets/{index-Dv-2cAG8.js => index-DvkmnKwX.js} | 6 +++--- assets/{index-Chr3yVKt.js => index-nQtORJ0H.js} | 2 +- assets/{index.node-CMA9-fmz.js => index.node-C_A2BdXO.js} | 2 +- assets/{links-BGaBKQS1.js => links-C1U-V73k.js} | 4 ++-- ...{markdownBrand-ByXaigJ-.js => markdownBrand-Da1pf47v.js} | 6 +++--- assets/{mdui-BYnqM3s9.js => mdui-BjQIA41o.js} | 6 +++--- assets/{redirectTo-CxfIANF9.js => redirectTo-DOyBKLvA.js} | 4 ++-- assets/{releases-CUBpZtK6.js => releases-DR5Q5md9.js} | 6 +++--- index.html | 4 ++-- 19 files changed, 36 insertions(+), 36 deletions(-) rename assets/{IconRssLine-R9zaM-kI.js => IconRssLine-BcUub32U.js} (95%) rename assets/{Mdtoui-D2iN30Jx.js => Mdtoui-D8ifNIrl.js} (99%) rename assets/{RenderTopNavBar-DdduE_mK.js => RenderTopNavBar-DwZOqeqN.js} (99%) rename assets/{error-B5hQzbeZ.js => error-DE5Avba2.js} (92%) rename assets/{index-BgSjnQS9.js => index-B2tgx2JB.js} (99%) rename assets/{index-BX9l5wvn.js => index-BER2qAwk.js} (99%) rename assets/{index-BCoP-QCi.js => index-Baihd32c.js} (97%) rename assets/{index-CvvVU94y.js => index-C4If5P1l.js} (95%) rename assets/{index-ALzVjZWx.js => index-CCcpAznT.js} (99%) rename assets/{index-DVuP2ZA1.js => index-D8uc6p-q.js} (98%) rename assets/{index-Dv-2cAG8.js => index-DvkmnKwX.js} (99%) rename assets/{index-Chr3yVKt.js => index-nQtORJ0H.js} (99%) rename assets/{index.node-CMA9-fmz.js => index.node-C_A2BdXO.js} (80%) rename assets/{links-BGaBKQS1.js => links-C1U-V73k.js} (92%) rename assets/{markdownBrand-ByXaigJ-.js => markdownBrand-Da1pf47v.js} (88%) rename assets/{mdui-BYnqM3s9.js => mdui-BjQIA41o.js} (92%) rename assets/{redirectTo-CxfIANF9.js => redirectTo-DOyBKLvA.js} (86%) rename assets/{releases-CUBpZtK6.js => releases-DR5Q5md9.js} (84%) diff --git a/assets/IconRssLine-R9zaM-kI.js b/assets/IconRssLine-BcUub32U.js similarity index 95% rename from assets/IconRssLine-R9zaM-kI.js rename to assets/IconRssLine-BcUub32U.js index ab2c682..5b202d8 100644 --- a/assets/IconRssLine-R9zaM-kI.js +++ b/assets/IconRssLine-BcUub32U.js @@ -1 +1 @@ -import{r as c,R as r,S as s}from"./index-DVuP2ZA1.js";var o;class e extends c.Component{constructor(...a){super(...a),this.ref=null,this.handleRef=t=>{const n=this.props.elementRef;this.ref=t,typeof n=="function"&&n(t)}}render(){return r.createElement(s,Object.assign({},this.props,{name:"IconRss",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),o||(o=r.createElement("path",{d:"M1616.875 1813.333c-27.627-820.266-689.92-1482.56-1510.187-1510.186V107.52c928.213 27.733 1678.08 777.6 1705.813 1705.813h-195.626ZM53.355 0H.02v408.853h53.334c803.733 0 1457.706 653.974 1457.706 1457.814V1920h408.96v-53.333C1920.021 837.44 1082.581 0 53.355 0Zm933.984 1813.333c-26.667-473.493-407.147-853.973-880.64-880.746V736.853c581.226 27.094 1049.28 495.254 1076.373 1076.48H987.339ZM53.365 628.907H.032v408.853h53.333c456.96 0 828.8 371.947 828.8 828.907V1920h408.854v-53.333c0-682.454-555.2-1237.76-1237.654-1237.76ZM267.19 1812.288c-88 0-159.573-71.573-159.573-159.467 0-87.893 71.573-159.466 159.573-159.466 87.894 0 159.467 71.573 159.467 159.466 0 87.894-71.573 159.467-159.467 159.467m0-425.6c-146.773 0-266.24 119.36-266.24 266.133 0 146.774 119.467 266.134 266.24 266.134 146.774 0 266.134-119.36 266.134-266.134 0-146.773-119.36-266.133-266.134-266.133",fillRule:"evenodd"})))}}e.glyphName="rss";e.variant="Line";e.displayName="IconRssLine";e.propTypes={...s.propTypes};e.allowedProps=[...s.allowedProps];export{e as I}; +import{r as c,R as r,S as s}from"./index-D8uc6p-q.js";var o;class e extends c.Component{constructor(...a){super(...a),this.ref=null,this.handleRef=t=>{const n=this.props.elementRef;this.ref=t,typeof n=="function"&&n(t)}}render(){return r.createElement(s,Object.assign({},this.props,{name:"IconRss",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),o||(o=r.createElement("path",{d:"M1616.875 1813.333c-27.627-820.266-689.92-1482.56-1510.187-1510.186V107.52c928.213 27.733 1678.08 777.6 1705.813 1705.813h-195.626ZM53.355 0H.02v408.853h53.334c803.733 0 1457.706 653.974 1457.706 1457.814V1920h408.96v-53.333C1920.021 837.44 1082.581 0 53.355 0Zm933.984 1813.333c-26.667-473.493-407.147-853.973-880.64-880.746V736.853c581.226 27.094 1049.28 495.254 1076.373 1076.48H987.339ZM53.365 628.907H.032v408.853h53.333c456.96 0 828.8 371.947 828.8 828.907V1920h408.854v-53.333c0-682.454-555.2-1237.76-1237.654-1237.76ZM267.19 1812.288c-88 0-159.573-71.573-159.573-159.467 0-87.893 71.573-159.466 159.573-159.466 87.894 0 159.467 71.573 159.467 159.466 0 87.894-71.573 159.467-159.467 159.467m0-425.6c-146.773 0-266.24 119.36-266.24 266.133 0 146.774 119.467 266.134 266.24 266.134 146.774 0 266.134-119.36 266.134-266.134 0-146.773-119.36-266.133-266.134-266.133",fillRule:"evenodd"})))}}e.glyphName="rss";e.variant="Line";e.displayName="IconRssLine";e.propTypes={...s.propTypes};e.allowedProps=[...s.allowedProps];export{e as I}; diff --git a/assets/Mdtoui-D2iN30Jx.js b/assets/Mdtoui-D8ifNIrl.js similarity index 99% rename from assets/Mdtoui-D2iN30Jx.js rename to assets/Mdtoui-D8ifNIrl.js index eadcc45..88db0ca 100644 --- a/assets/Mdtoui-D2iN30Jx.js +++ b/assets/Mdtoui-D8ifNIrl.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Dv-2cAG8.js","assets/index-BgSjnQS9.js","assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DdduE_mK.js","assets/index-Chr3yVKt.js","assets/index-BCoP-QCi.js","assets/index-CvvVU94y.js","assets/index-ALzVjZWx.js","assets/IconRssLine-R9zaM-kI.js"])))=>i.map(i=>d[i]); -import{f as fs,P as be,T as Qn,w as ta,t as na,r as te,h as ra,i as ia,p as aa,V as ua,k as Br,l as ds,j as z,_ as ke,R as ms}from"./index-DVuP2ZA1.js";import{C as ps,s as _s}from"./RenderTopNavBar-DdduE_mK.js";import{a as $e}from"./index-BgSjnQS9.js";const Es=(e,t)=>{const n=t.size,r=t.delimiter,i=t.spacing,u=r!=="none",a=i!=="none";fs(!(u&&a),"[List] `itemSpacing` has no effect inside Lists with the `delimiter` prop set to anything other than `none`.");const o={small:{fontSize:e.fontSizeSmall},medium:{fontSize:e.fontSizeMedium},large:{fontSize:e.fontSizeLarge}},l={"xxx-small":{marginTop:e.spacingXXXSmall,marginBottom:e.spacingXXXSmall},"xx-small":{marginTop:e.spacingXXSmall,marginBottom:e.spacingXXSmall},"x-small":{marginTop:e.spacingXSmall,marginBottom:e.spacingXSmall},small:{marginTop:e.spacingSmall,marginBottom:e.spacingSmall},medium:{marginTop:e.spacingMedium,marginBottom:e.spacingMedium},large:{marginTop:e.spacingLarge,marginBottom:e.spacingLarge},"x-large":{marginTop:e.spacingXLarge,marginBottom:e.spacingXLarge},"xx-large":{marginTop:e.spacingXXLarge,marginBottom:e.spacingXXLarge},none:{}},c={dashed:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterDashedBorder}},solid:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterSolidBorder}},none:{}};return{listItem:{label:"listItem",fontWeight:e.fontWeight,fontFamily:e.fontFamily,lineHeight:e.lineHeight,color:e.color,padding:0,...o[n],...a&&!u&&l[i],...u&&c[r],"&:first-of-type":{marginTop:"0"},"&:last-of-type":{marginBottom:"0"}}}},gs=e=>{const t=e.borders,n=e.colors,r=e.spacing,i=e.typography,u=e.key,a={canvas:{color:e["ic-brand-font-color-dark"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,lineHeight:i==null?void 0:i.lineHeight,fontSizeSmall:i==null?void 0:i.fontSizeSmall,fontSizeMedium:i==null?void 0:i.fontSizeMedium,fontSizeLarge:i==null?void 0:i.fontSizeLarge,color:n==null?void 0:n.textDarkest,spacingXXXSmall:r==null?void 0:r.xxxSmall,spacingXXSmall:r==null?void 0:r.xxSmall,spacingXSmall:r==null?void 0:r.xSmall,spacingSmall:r==null?void 0:r.small,spacingMedium:r==null?void 0:r.medium,spacingLarge:r==null?void 0:r.large,spacingXLarge:r==null?void 0:r.xLarge,spacingXXLarge:r==null?void 0:r.xxLarge,delimiterDashedBorder:`${t==null?void 0:t.widthSmall} dashed ${n==null?void 0:n.borderMedium}`,delimiterSolidBorder:`${t==null?void 0:t.widthSmall} solid ${n==null?void 0:n.borderMedium}`},...a[u]}},bs={children:be.oneOfType([be.node,be.func]).isRequired,delimiter:be.oneOf(["none","dashed","solid"]),size:be.oneOf(["small","medium","large"]),margin:Qn.spacing,padding:Qn.spacing,spacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},Ts=["children","delimiter","size","margin","padding","spacing","elementRef"],As=["delimiter","spacing","size","margin","padding","elementRef","children","styles"];var Fr,Hr,Kt,Je;let sa=(Fr=ta(Es,gs),Hr=na(),Fr(Kt=Hr(Kt=(Je=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}render(){const t=this.props;t.delimiter,t.spacing,t.size;const n=t.margin,r=t.padding;t.elementRef;const i=t.children,u=t.styles,a=ra(t,As);return ia(ua,Object.assign({},aa(a),{css:u==null?void 0:u.listItem,as:"li",margin:n,padding:r,maxWidth:"100%",elementRef:this.handleRef}),i)}},Je.displayName="ListItem",Je.componentId="List.Item",Je.propTypes=bs,Je.allowedProps=Ts,Je.defaultProps={padding:"none",spacing:"none",delimiter:"none",size:"medium"},Je))||Kt)||Kt);const Cs=(e,t)=>{const n=t.isUnstyled,i=t.as==="ol";return{list:{label:"list",paddingInlineStart:e.listPadding,paddingInlineEnd:0,...i&&{listStyleType:"none",paddingInlineStart:`calc(${e.listPadding} / 2)`,paddingInlineEnd:0,counterReset:"ol-counter","&>li::before":{fontWeight:e.orderedNumberFontWeight,counterIncrement:"ol-counter",content:'counters(ol-counter, ".") "."',marginInlineEnd:e.orderedNumberMargin,marginInlineStart:0}},...n&&{listStyleType:"none",paddingInlineStart:0}}}},ks=e=>{const t=e.spacing,n=e.typography;return{...{listPadding:t==null?void 0:t.large,orderedNumberFontWeight:n==null?void 0:n.fontWeightBold,orderedNumberMargin:t==null?void 0:t.xSmall}}},Is={children:ps.oneOf([sa]),as:be.oneOf(["ul","ol"]),delimiter:be.oneOf(["none","dashed","solid"]),isUnstyled:be.bool,margin:Qn.spacing,size:be.oneOf(["small","medium","large"]),itemSpacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},ys=["children","as","delimiter","isUnstyled","margin","size","itemSpacing","elementRef"],Ns=["as","margin","isUnstyled","elementRef","styles"];var Ur,vr,$t,Ye;let Nt=(Ur=ta(Cs,ks),vr=na(),Ur($t=vr($t=(Ye=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}renderChildren(){return te.Children.map(this.props.children,t=>{if(t)return _s(t,{isUnstyled:this.props.isUnstyled,delimiter:this.props.delimiter,size:this.props.size,spacing:this.props.itemSpacing})})}render(){const t=this.props,n=t.as,r=t.margin;t.isUnstyled,t.elementRef;const i=t.styles,u=ra(t,Ns);return ia(ua,Object.assign({},aa(u),{css:i==null?void 0:i.list,as:n,margin:r,elementRef:this.handleRef,display:"block"}),this.renderChildren())}},Ye.displayName="List",Ye.componentId="List",Ye.propTypes=Is,Ye.allowedProps=ys,Ye.defaultProps={as:"ul",delimiter:"none",isUnstyled:!1,size:"medium",itemSpacing:"none"},Ye.Item=sa,Ye))||$t)||$t);function zr(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,u=!1;for(;!u;){r===-1&&(r=n.length,u=!0);const a=n.slice(i,r).trim();(a||!u)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}function oa(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xs=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ss=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Rs={};function Yr(e,t){return(Rs.jsx?Ss:xs).test(e)}const Ls=/[ \t\n\f\r]/g;function Os(e){return typeof e=="object"?e.type==="text"?qr(e.value):!1:qr(e)}function qr(e){return e.replace(Ls,"")===""}class qt{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}qt.prototype.property={};qt.prototype.normal={};qt.prototype.space=null;function la(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&Bs.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(Vr,Us);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!Vr.test(u)){let a=u.replace(Fs,Hs);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=cr}return new i(r,t)}function Hs(e){return"-"+e.toLowerCase()}function Us(e){return e.charAt(1).toUpperCase()}const vs={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"},jt=la([fa,ha,pa,_a,Ps],"html"),Xe=la([fa,ha,pa,_a,Ms],"svg");function Wr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ea(e){return e.join(" ").trim()}var ga={},Xr=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,zs=/\n/g,Ys=/^\s*/,qs=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,js=/^:\s*/,Vs=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ws=/^[;\s]*/,Xs=/^\s+|\s+$/g,Qs=` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DvkmnKwX.js","assets/index-B2tgx2JB.js","assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DwZOqeqN.js","assets/index-nQtORJ0H.js","assets/index-Baihd32c.js","assets/index-C4If5P1l.js","assets/index-CCcpAznT.js","assets/IconRssLine-BcUub32U.js"])))=>i.map(i=>d[i]); +import{f as fs,P as be,T as Qn,w as ta,t as na,r as te,h as ra,i as ia,p as aa,V as ua,k as Br,l as ds,j as z,_ as ke,R as ms}from"./index-D8uc6p-q.js";import{C as ps,s as _s}from"./RenderTopNavBar-DwZOqeqN.js";import{a as $e}from"./index-B2tgx2JB.js";const Es=(e,t)=>{const n=t.size,r=t.delimiter,i=t.spacing,u=r!=="none",a=i!=="none";fs(!(u&&a),"[List] `itemSpacing` has no effect inside Lists with the `delimiter` prop set to anything other than `none`.");const o={small:{fontSize:e.fontSizeSmall},medium:{fontSize:e.fontSizeMedium},large:{fontSize:e.fontSizeLarge}},l={"xxx-small":{marginTop:e.spacingXXXSmall,marginBottom:e.spacingXXXSmall},"xx-small":{marginTop:e.spacingXXSmall,marginBottom:e.spacingXXSmall},"x-small":{marginTop:e.spacingXSmall,marginBottom:e.spacingXSmall},small:{marginTop:e.spacingSmall,marginBottom:e.spacingSmall},medium:{marginTop:e.spacingMedium,marginBottom:e.spacingMedium},large:{marginTop:e.spacingLarge,marginBottom:e.spacingLarge},"x-large":{marginTop:e.spacingXLarge,marginBottom:e.spacingXLarge},"xx-large":{marginTop:e.spacingXXLarge,marginBottom:e.spacingXXLarge},none:{}},c={dashed:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterDashedBorder}},solid:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterSolidBorder}},none:{}};return{listItem:{label:"listItem",fontWeight:e.fontWeight,fontFamily:e.fontFamily,lineHeight:e.lineHeight,color:e.color,padding:0,...o[n],...a&&!u&&l[i],...u&&c[r],"&:first-of-type":{marginTop:"0"},"&:last-of-type":{marginBottom:"0"}}}},gs=e=>{const t=e.borders,n=e.colors,r=e.spacing,i=e.typography,u=e.key,a={canvas:{color:e["ic-brand-font-color-dark"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,lineHeight:i==null?void 0:i.lineHeight,fontSizeSmall:i==null?void 0:i.fontSizeSmall,fontSizeMedium:i==null?void 0:i.fontSizeMedium,fontSizeLarge:i==null?void 0:i.fontSizeLarge,color:n==null?void 0:n.textDarkest,spacingXXXSmall:r==null?void 0:r.xxxSmall,spacingXXSmall:r==null?void 0:r.xxSmall,spacingXSmall:r==null?void 0:r.xSmall,spacingSmall:r==null?void 0:r.small,spacingMedium:r==null?void 0:r.medium,spacingLarge:r==null?void 0:r.large,spacingXLarge:r==null?void 0:r.xLarge,spacingXXLarge:r==null?void 0:r.xxLarge,delimiterDashedBorder:`${t==null?void 0:t.widthSmall} dashed ${n==null?void 0:n.borderMedium}`,delimiterSolidBorder:`${t==null?void 0:t.widthSmall} solid ${n==null?void 0:n.borderMedium}`},...a[u]}},bs={children:be.oneOfType([be.node,be.func]).isRequired,delimiter:be.oneOf(["none","dashed","solid"]),size:be.oneOf(["small","medium","large"]),margin:Qn.spacing,padding:Qn.spacing,spacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},Ts=["children","delimiter","size","margin","padding","spacing","elementRef"],As=["delimiter","spacing","size","margin","padding","elementRef","children","styles"];var Fr,Hr,Kt,Je;let sa=(Fr=ta(Es,gs),Hr=na(),Fr(Kt=Hr(Kt=(Je=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}render(){const t=this.props;t.delimiter,t.spacing,t.size;const n=t.margin,r=t.padding;t.elementRef;const i=t.children,u=t.styles,a=ra(t,As);return ia(ua,Object.assign({},aa(a),{css:u==null?void 0:u.listItem,as:"li",margin:n,padding:r,maxWidth:"100%",elementRef:this.handleRef}),i)}},Je.displayName="ListItem",Je.componentId="List.Item",Je.propTypes=bs,Je.allowedProps=Ts,Je.defaultProps={padding:"none",spacing:"none",delimiter:"none",size:"medium"},Je))||Kt)||Kt);const Cs=(e,t)=>{const n=t.isUnstyled,i=t.as==="ol";return{list:{label:"list",paddingInlineStart:e.listPadding,paddingInlineEnd:0,...i&&{listStyleType:"none",paddingInlineStart:`calc(${e.listPadding} / 2)`,paddingInlineEnd:0,counterReset:"ol-counter","&>li::before":{fontWeight:e.orderedNumberFontWeight,counterIncrement:"ol-counter",content:'counters(ol-counter, ".") "."',marginInlineEnd:e.orderedNumberMargin,marginInlineStart:0}},...n&&{listStyleType:"none",paddingInlineStart:0}}}},ks=e=>{const t=e.spacing,n=e.typography;return{...{listPadding:t==null?void 0:t.large,orderedNumberFontWeight:n==null?void 0:n.fontWeightBold,orderedNumberMargin:t==null?void 0:t.xSmall}}},Is={children:ps.oneOf([sa]),as:be.oneOf(["ul","ol"]),delimiter:be.oneOf(["none","dashed","solid"]),isUnstyled:be.bool,margin:Qn.spacing,size:be.oneOf(["small","medium","large"]),itemSpacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},ys=["children","as","delimiter","isUnstyled","margin","size","itemSpacing","elementRef"],Ns=["as","margin","isUnstyled","elementRef","styles"];var Ur,vr,$t,Ye;let Nt=(Ur=ta(Cs,ks),vr=na(),Ur($t=vr($t=(Ye=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}renderChildren(){return te.Children.map(this.props.children,t=>{if(t)return _s(t,{isUnstyled:this.props.isUnstyled,delimiter:this.props.delimiter,size:this.props.size,spacing:this.props.itemSpacing})})}render(){const t=this.props,n=t.as,r=t.margin;t.isUnstyled,t.elementRef;const i=t.styles,u=ra(t,Ns);return ia(ua,Object.assign({},aa(u),{css:i==null?void 0:i.list,as:n,margin:r,elementRef:this.handleRef,display:"block"}),this.renderChildren())}},Ye.displayName="List",Ye.componentId="List",Ye.propTypes=Is,Ye.allowedProps=ys,Ye.defaultProps={as:"ul",delimiter:"none",isUnstyled:!1,size:"medium",itemSpacing:"none"},Ye.Item=sa,Ye))||$t)||$t);function zr(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,u=!1;for(;!u;){r===-1&&(r=n.length,u=!0);const a=n.slice(i,r).trim();(a||!u)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}function oa(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xs=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ss=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Rs={};function Yr(e,t){return(Rs.jsx?Ss:xs).test(e)}const Ls=/[ \t\n\f\r]/g;function Os(e){return typeof e=="object"?e.type==="text"?qr(e.value):!1:qr(e)}function qr(e){return e.replace(Ls,"")===""}class qt{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}qt.prototype.property={};qt.prototype.normal={};qt.prototype.space=null;function la(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&Bs.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(Vr,Us);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!Vr.test(u)){let a=u.replace(Fs,Hs);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=cr}return new i(r,t)}function Hs(e){return"-"+e.toLowerCase()}function Us(e){return e.charAt(1).toUpperCase()}const vs={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"},jt=la([fa,ha,pa,_a,Ps],"html"),Xe=la([fa,ha,pa,_a,Ms],"svg");function Wr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ea(e){return e.join(" ").trim()}var ga={},Xr=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,zs=/\n/g,Ys=/^\s*/,qs=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,js=/^:\s*/,Vs=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ws=/^[;\s]*/,Xs=/^\s+|\s+$/g,Qs=` `,Qr="/",Gr="*",et="",Gs="comment",Ks="declaration",$s=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(T){var I=T.match(zs);I&&(n+=I.length);var R=T.lastIndexOf(Qs);r=~R?T.length-R:r+T.length}function u(){var T={line:n,column:r};return function(I){return I.position=new a(T),c(),I}}function a(T){this.start=T,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(T){var I=new Error(t.source+":"+n+":"+r+": "+T);if(I.reason=T,I.filename=t.source,I.line=n,I.column=r,I.source=e,!t.silent)throw I}function l(T){var I=T.exec(e);if(I){var R=I[0];return i(R),e=e.slice(R.length),I}}function c(){l(Ys)}function f(T){var I;for(T=T||[];I=h();)I!==!1&&T.push(I);return T}function h(){var T=u();if(!(Qr!=e.charAt(0)||Gr!=e.charAt(1))){for(var I=2;et!=e.charAt(I)&&(Gr!=e.charAt(I)||Qr!=e.charAt(I+1));)++I;if(I+=2,et===e.charAt(I-1))return o("End of comment missing");var R=e.slice(2,I-2);return r+=2,i(R),e=e.slice(I),r+=2,T({type:Gs,comment:R})}}function E(){var T=u(),I=l(qs);if(I){if(h(),!l(js))return o("property missing ':'");var R=l(Vs),y=T({type:Ks,property:Kr(I[0].replace(Xr,et)),value:R?Kr(R[0].replace(Xr,et)):et});return l(Ws),y}}function p(){var T=[];f(T);for(var I;I=E();)I!==!1&&(T.push(I),f(T));return T}return c(),p()};function Kr(e){return e?e.replace(Xs,et):et}var Js=Br&&Br.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ga,"__esModule",{value:!0});var Zs=Js($s);function eo(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,Zs.default)(e),i=typeof t=="function";return r.forEach(function(u){if(u.type==="declaration"){var a=u.property,o=u.value;i?t(a,o,u):o&&(n=n||{},n[a]=o)}}),n}var $r=ga.default=eo;const to=$r.default||$r,gn=ba("end"),Pe=ba("start");function ba(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function no(e){const t=Pe(e),n=gn(e);if(t&&n)return{start:t,end:n}}function wt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Jr(e.position):"start"in e||"end"in e?Jr(e):"line"in e||"column"in e?Kn(e):""}function Kn(e){return Zr(e&&e.line)+":"+Zr(e&&e.column)}function Jr(e){return Kn(e&&e.start)+"-"+Kn(e&&e.end)}function Zr(e){return e&&typeof e=="number"?e:1}class fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",u={},a=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof t=="string"?i=t:!u.cause&&t&&(a=!0,i=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?u.ruleId=r:(u.source=r.slice(0,l),u.ruleId=r.slice(l+1))}if(!u.place&&u.ancestors&&u.ancestors){const l=u.ancestors[u.ancestors.length-1];l&&(u.place=l.position)}const o=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=o?o.line:void 0,this.name=wt(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=a&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual,this.expected,this.note,this.url}}fe.prototype.file="";fe.prototype.name="";fe.prototype.reason="";fe.prototype.message="";fe.prototype.stack="";fe.prototype.column=void 0;fe.prototype.line=void 0;fe.prototype.ancestors=void 0;fe.prototype.cause=void 0;fe.prototype.fatal=void 0;fe.prototype.place=void 0;fe.prototype.ruleId=void 0;fe.prototype.source=void 0;const hr={}.hasOwnProperty,ro=new Map,io=/[A-Z]/g,ao=/-([a-z])/g,uo=new Set(["table","tbody","thead","tfoot","tr"]),so=new Set(["td","th"]),Ta="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function oo(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Eo(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=_o(n,t.jsx,t.jsxs)}const i={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:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Xe:jt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},u=Aa(i,e,void 0);return u&&typeof u!="string"?u:i.create(e,i.Fragment,{children:u||void 0},void 0)}function Aa(e,t,n){if(t.type==="element")return lo(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return co(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return fo(e,t,n);if(t.type==="mdxjsEsm")return ho(e,t);if(t.type==="root")return mo(e,t,n);if(t.type==="text")return po(e,t)}function lo(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Xe,e.schema=i),e.ancestors.push(t);const u=ka(e,t.tagName,!1),a=go(e,t);let o=dr(e,t);return uo.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!Os(l):!0})),Ca(e,a,u,t),fr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,u,a,n)}function co(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}zt(e,t.position)}function ho(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);zt(e,t.position)}function fo(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Xe,e.schema=i),e.ancestors.push(t);const u=t.name===null?e.Fragment:ka(e,t.name,!0),a=bo(e,t),o=dr(e,t);return Ca(e,a,u,t),fr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,u,a,n)}function mo(e,t,n){const r={};return fr(r,dr(e,t)),e.create(t,e.Fragment,r,n)}function po(e,t){return t.value}function Ca(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function fr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function _o(e,t,n){return r;function r(i,u,a,o){const c=Array.isArray(a.children)?n:t;return o?c(u,a,o):c(u,a)}}function Eo(e,t){return n;function n(r,i,u,a){const o=Array.isArray(u.children),l=Pe(r);return t(i,u,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function go(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&hr.call(t.properties,i)){const u=To(e,i,t.properties[i]);if(u){const[a,o]=u;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&so.has(t.tagName)?r=o:n[a]=o}}if(r){const u=n.style||(n.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function bo(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const u=r.data.estree.body[0];u.type;const a=u.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else zt(e,t.position);else{const i=r.name;let u;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,u=e.evaluater.evaluateExpression(o.expression)}else zt(e,t.position);else u=r.value===null?!0:r.value;n[i]=u}return n}function dr(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:ro;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);u0?(Ce(e,e.length,0,t),e):t}const ni={}.hasOwnProperty;function ya(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Le(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const me=Qe(/[A-Za-z]/),he=Qe(/[\dA-Za-z]/),Lo=Qe(/[#-'*+\--9=?A-Z^-~]/);function hn(e){return e!==null&&(e<32||e===127)}const $n=Qe(/\d/),Oo=Qe(/[\dA-Fa-f]/),wo=Qe(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function J(e){return e!==null&&(e<0||e===32)}function j(e){return e===-2||e===-1||e===32}const bn=Qe(new RegExp("\\p{P}|\\p{S}","u")),rt=Qe(/\s/);function Qe(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function bt(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&u<57344){const o=e.charCodeAt(n+1);u<56320&&o>56319&&o<57344?(a=String.fromCharCode(u,o),i=1):a="�"}else a=String.fromCharCode(u);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function X(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return a;function a(l){return j(l)?(e.enter(n),o(l)):t(l)}function o(l){return j(l)&&u++a))return;const V=t.events.length;let ee=V,G,k;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){k=t.events[ee][1].end;break}G=!0}for(y(r),S=V;SD;){const U=n[H];t.containerState=U[1],U[0].exit.call(t,e)}n.length=D}function w(){i.write([null]),u=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Fo(e,t,n){return X(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function fn(e){if(e===null||J(e)||rt(e))return 1;if(bn(e))return 2}function Tn(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h=Object.assign({},e[r][1].end),E=Object.assign({},e[n][1].start);ii(h,-l),ii(E,l),a={type:l>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:E},u={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ae(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ae(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",u,t]]),c=Ae(c,Tn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ae(c,[["exit",u,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=Ae(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Ce(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n0&&j(S)?X(e,w,"linePrefix",u+1)(S):w(S)}function w(S){return S===null||F(S)?e.check(ai,I,H)(S):(e.enter("codeFlowValue"),D(S))}function D(S){return S===null||F(S)?(e.exit("codeFlowValue"),w(S)):(e.consume(S),D)}function H(S){return e.exit("codeFenced"),t(S)}function U(S,V,ee){let G=0;return k;function k(Q){return S.enter("lineEnding"),S.consume(Q),S.exit("lineEnding"),M}function M(Q){return S.enter("codeFencedFence"),j(Q)?X(S,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):B(Q)}function B(Q){return Q===o?(S.enter("codeFencedFenceSequence"),K(Q)):ee(Q)}function K(Q){return Q===o?(G++,S.consume(Q),K):G>=a?(S.exit("codeFencedFenceSequence"),j(Q)?X(S,re,"whitespace")(Q):re(Q)):ee(Q)}function re(Q){return Q===null||F(Q)?(S.exit("codeFencedFence"),V(Q)):ee(Q)}}}function Go(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const On={name:"codeIndented",tokenize:$o},Ko={tokenize:Jo,partial:!0};function $o(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),X(e,u,"linePrefix",5)(c)}function u(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):F(c)?e.attempt(Ko,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||F(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Jo(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):F(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):X(e,u,"linePrefix",5)(a)}function u(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):F(a)?i(a):n(a)}}const Zo={name:"codeText",tokenize:nl,resolve:el,previous:tl};function el(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&xt(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),xt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),xt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Oa(e,t,n,r,i,u,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return h;function h(y){return y===60?(e.enter(r),e.enter(i),e.enter(u),e.consume(y),e.exit(u),E):y===null||y===32||y===41||hn(y)?n(y):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),I(y))}function E(y){return y===62?(e.enter(u),e.consume(y),e.exit(u),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(o),E(y)):y===null||y===60||F(y)?n(y):(e.consume(y),y===92?T:p)}function T(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function I(y){return!f&&(y===null||y===41||J(y))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(y)):f999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(u),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||F(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!j(p)),p===92?E:h)}function E(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}function Da(e,t,n,r,i,u){let a;return o;function o(E){return E===34||E===39||E===40?(e.enter(r),e.enter(i),e.consume(E),e.exit(i),a=E===40?41:E,l):n(E)}function l(E){return E===a?(e.enter(i),e.consume(E),e.exit(i),e.exit(r),t):(e.enter(u),c(E))}function c(E){return E===a?(e.exit(u),l(a)):E===null?n(E):F(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),X(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(E))}function f(E){return E===a||E===null||F(E)?(e.exit("chunkString"),c(E)):(e.consume(E),E===92?h:f)}function h(E){return E===a||E===92?(e.consume(E),f):f(E)}}function Dt(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):j(i)?X(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const cl={name:"definition",tokenize:fl},hl={tokenize:dl,partial:!0};function fl(e,t,n){const r=this;let i;return u;function u(p){return e.enter("definition"),a(p)}function a(p){return wa.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=Le(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return J(p)?Dt(e,c)(p):c(p)}function c(p){return Oa(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(hl,h,h)(p)}function h(p){return j(p)?X(e,E,"whitespace")(p):E(p)}function E(p){return p===null||F(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function dl(e,t,n){return r;function r(o){return J(o)?Dt(e,i)(o):n(o)}function i(o){return Da(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function u(o){return j(o)?X(e,a,"whitespace")(o):a(o)}function a(o){return o===null||F(o)?t(o):n(o)}}const ml={name:"hardBreakEscape",tokenize:pl};function pl(e,t,n){return r;function r(u){return e.enter("hardBreakEscape"),e.consume(u),i}function i(u){return F(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}const _l={name:"headingAtx",tokenize:gl,resolve:El};function El(e,t){let n=e.length-2,r=3,i,u;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},u={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ce(e,r,n-r+1,[["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t]])),e}function gl(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),u(f)}function u(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||J(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||F(f)?(e.exit("atxHeading"),t(f)):j(f)?X(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||J(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const bl=["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"],si=["pre","script","style","textarea"],Tl={name:"htmlFlow",tokenize:Il,resolveTo:kl,concrete:!0},Al={tokenize:Nl,partial:!0},Cl={tokenize:yl,partial:!0};function kl(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Il(e,t,n){const r=this;let i,u,a,o,l;return c;function c(b){return f(b)}function f(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),h}function h(b){return b===33?(e.consume(b),E):b===47?(e.consume(b),u=!0,I):b===63?(e.consume(b),i=3,r.interrupt?t:g):me(b)?(e.consume(b),a=String.fromCharCode(b),R):n(b)}function E(b){return b===45?(e.consume(b),i=2,p):b===91?(e.consume(b),i=5,o=0,T):me(b)?(e.consume(b),i=4,r.interrupt?t:g):n(b)}function p(b){return b===45?(e.consume(b),r.interrupt?t:g):n(b)}function T(b){const xe="CDATA[";return b===xe.charCodeAt(o++)?(e.consume(b),o===xe.length?r.interrupt?t:B:T):n(b)}function I(b){return me(b)?(e.consume(b),a=String.fromCharCode(b),R):n(b)}function R(b){if(b===null||b===47||b===62||J(b)){const xe=b===47,Ge=a.toLowerCase();return!xe&&!u&&si.includes(Ge)?(i=1,r.interrupt?t(b):B(b)):bl.includes(a.toLowerCase())?(i=6,xe?(e.consume(b),y):r.interrupt?t(b):B(b)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):u?w(b):D(b))}return b===45||he(b)?(e.consume(b),a+=String.fromCharCode(b),R):n(b)}function y(b){return b===62?(e.consume(b),r.interrupt?t:B):n(b)}function w(b){return j(b)?(e.consume(b),w):k(b)}function D(b){return b===47?(e.consume(b),k):b===58||b===95||me(b)?(e.consume(b),H):j(b)?(e.consume(b),D):k(b)}function H(b){return b===45||b===46||b===58||b===95||he(b)?(e.consume(b),H):U(b)}function U(b){return b===61?(e.consume(b),S):j(b)?(e.consume(b),U):D(b)}function S(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),l=b,V):j(b)?(e.consume(b),S):ee(b)}function V(b){return b===l?(e.consume(b),l=null,G):b===null||F(b)?n(b):(e.consume(b),V)}function ee(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||J(b)?U(b):(e.consume(b),ee)}function G(b){return b===47||b===62||j(b)?D(b):n(b)}function k(b){return b===62?(e.consume(b),M):n(b)}function M(b){return b===null||F(b)?B(b):j(b)?(e.consume(b),M):n(b)}function B(b){return b===45&&i===2?(e.consume(b),ce):b===60&&i===1?(e.consume(b),oe):b===62&&i===4?(e.consume(b),Ne):b===63&&i===3?(e.consume(b),g):b===93&&i===5?(e.consume(b),Be):F(b)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Al,Fe,K)(b)):b===null||F(b)?(e.exit("htmlFlowData"),K(b)):(e.consume(b),B)}function K(b){return e.check(Cl,re,Fe)(b)}function re(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),Q}function Q(b){return b===null||F(b)?K(b):(e.enter("htmlFlowData"),B(b))}function ce(b){return b===45?(e.consume(b),g):B(b)}function oe(b){return b===47?(e.consume(b),a="",ye):B(b)}function ye(b){if(b===62){const xe=a.toLowerCase();return si.includes(xe)?(e.consume(b),Ne):B(b)}return me(b)&&a.length<8?(e.consume(b),a+=String.fromCharCode(b),ye):B(b)}function Be(b){return b===93?(e.consume(b),g):B(b)}function g(b){return b===62?(e.consume(b),Ne):b===45&&i===2?(e.consume(b),g):B(b)}function Ne(b){return b===null||F(b)?(e.exit("htmlFlowData"),Fe(b)):(e.consume(b),Ne)}function Fe(b){return e.exit("htmlFlow"),t(b)}}function yl(e,t,n){const r=this;return i;function i(a){return F(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):n(a)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Nl(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Vt,t,n)}}const xl={name:"htmlText",tokenize:Sl};function Sl(e,t,n){const r=this;let i,u,a;return o;function o(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),l}function l(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),U):g===63?(e.consume(g),D):me(g)?(e.consume(g),ee):n(g)}function c(g){return g===45?(e.consume(g),f):g===91?(e.consume(g),u=0,T):me(g)?(e.consume(g),w):n(g)}function f(g){return g===45?(e.consume(g),p):n(g)}function h(g){return g===null?n(g):g===45?(e.consume(g),E):F(g)?(a=h,oe(g)):(e.consume(g),h)}function E(g){return g===45?(e.consume(g),p):h(g)}function p(g){return g===62?ce(g):g===45?E(g):h(g)}function T(g){const Ne="CDATA[";return g===Ne.charCodeAt(u++)?(e.consume(g),u===Ne.length?I:T):n(g)}function I(g){return g===null?n(g):g===93?(e.consume(g),R):F(g)?(a=I,oe(g)):(e.consume(g),I)}function R(g){return g===93?(e.consume(g),y):I(g)}function y(g){return g===62?ce(g):g===93?(e.consume(g),y):I(g)}function w(g){return g===null||g===62?ce(g):F(g)?(a=w,oe(g)):(e.consume(g),w)}function D(g){return g===null?n(g):g===63?(e.consume(g),H):F(g)?(a=D,oe(g)):(e.consume(g),D)}function H(g){return g===62?ce(g):D(g)}function U(g){return me(g)?(e.consume(g),S):n(g)}function S(g){return g===45||he(g)?(e.consume(g),S):V(g)}function V(g){return F(g)?(a=V,oe(g)):j(g)?(e.consume(g),V):ce(g)}function ee(g){return g===45||he(g)?(e.consume(g),ee):g===47||g===62||J(g)?G(g):n(g)}function G(g){return g===47?(e.consume(g),ce):g===58||g===95||me(g)?(e.consume(g),k):F(g)?(a=G,oe(g)):j(g)?(e.consume(g),G):ce(g)}function k(g){return g===45||g===46||g===58||g===95||he(g)?(e.consume(g),k):M(g)}function M(g){return g===61?(e.consume(g),B):F(g)?(a=M,oe(g)):j(g)?(e.consume(g),M):G(g)}function B(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,K):F(g)?(a=B,oe(g)):j(g)?(e.consume(g),B):(e.consume(g),re)}function K(g){return g===i?(e.consume(g),i=void 0,Q):g===null?n(g):F(g)?(a=K,oe(g)):(e.consume(g),K)}function re(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||J(g)?G(g):(e.consume(g),re)}function Q(g){return g===47||g===62||J(g)?G(g):n(g)}function ce(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function oe(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ye}function ye(g){return j(g)?X(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Be(g)}function Be(g){return e.enter("htmlTextData"),a(g)}}const _r={name:"labelEnd",tokenize:Pl,resolveTo:Dl,resolveAll:wl},Rl={tokenize:Ml},Ll={tokenize:Bl},Ol={tokenize:Fl};function wl(e){let t=-1;for(;++t=3&&(c===null||F(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),j(c)?X(e,o,"whitespace")(c):o(c))}}const _e={name:"list",tokenize:Wl,continuation:{tokenize:Xl},exit:Gl},jl={tokenize:Kl,partial:!0},Vl={tokenize:Ql,partial:!0};function Wl(e,t,n){const r=this,i=r.events[r.events.length-1];let u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(p){const T=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:$n(p)){if(r.containerState.type||(r.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(sn,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return $n(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Vt,r.interrupt?n:f,e.attempt(jl,E,h))}function f(p){return r.containerState.initialBlankLine=!0,u++,E(p)}function h(p){return j(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),E):n(p)}function E(p){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Xl(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Vt,i,u);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,X(e,t,"listItemIndent",r.containerState.size+1)(o)}function u(o){return r.containerState.furtherBlankLines||!j(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Vl,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,X(e,e.attempt(_e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ql(e,t,n){const r=this;return X(e,i,"listItemIndent",r.containerState.size+1);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(u):n(u)}}function Gl(e){e.exit(this.containerState.type)}function Kl(e,t,n){const r=this;return X(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(u){const a=r.events[r.events.length-1];return!j(u)&&a&&a[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}const oi={name:"setextUnderline",tokenize:Jl,resolveTo:$l};function $l(e,t){let n=e.length,r,i,u;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!u&&e[n][1].type==="definition"&&(u=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",u?(e.splice(i,0,["enter",a,t]),e.splice(u+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[u][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function Jl(e,t,n){const r=this;let i;return u;function u(c){let f=r.events.length,h;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){h=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),j(c)?X(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||F(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Zl={tokenize:ec};function ec(e){const t=this,n=e.attempt(Vt,r,e.attempt(this.parser.constructs.flowInitial,i,X(e,e.attempt(this.parser.constructs.flow,i,e.attempt(al,i)),"linePrefix")));return n;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const tc={resolveAll:Ma()},nc=Pa("string"),rc=Pa("text");function Pa(e){return{tokenize:t,resolveAll:Ma(e==="text"?ic:void 0)};function t(n){const r=this,i=this.parser.constructs[e],u=n.attempt(i,a,o);return a;function a(f){return c(f)?u(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),u(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const h=i[f];let E=-1;if(h)for(;++E-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}u>0&&a.push(e[i].slice(0,u))}return a}function sc(e,t){let n=-1;const r=[];let i;for(;++n0){const Se=v.tokenStack[v.tokenStack.length-1];(Se[1]||ci).call(v,void 0,Se[0])}for(P.position={start:qe(x.length>0?x[0][1].start:{line:1,column:1,offset:0}),end:qe(x.length>0?x[x.length-2][1].end:{line:1,column:1,offset:0})},$=-1;++$",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${u}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),a(),c}function np(){return"!"}zu.peek=rp;function zu(e,t,n,r){const i=e.referenceType,u=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function rp(){return"!"}Yu.peek=ip;function Yu(e,t,n){let r=e.value||"",i="`",u=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++u\u007F]/.test(e.url))}ju.peek=ap;function ju(e,t,n,r){const i=Sr(n),u=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(qu(e,n)){const f=n.stack;n.stack=[],o=n.enter("autolink");let h=a.move("<");return h+=a.move(n.containerPhrasing(e,{before:h,after:">",...a.current()})),h+=a.move(">"),o(),n.stack=f,h}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${u}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),o(),c}function ap(e,t,n){return qu(e,n)?"<":"["}Vu.peek=up;function Vu(e,t,n,r){const i=e.referenceType,u=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function up(){return"["}function Rr(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 sp(e){const t=Rr(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}function op(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Wu(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}function lp(e,t,n,r){const i=n.enter("list"),u=n.bulletCurrent;let a=e.ordered?op(n):Rr(n);const o=e.ordered?a==="."?")":".":sp(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),Wu(n)===a&&f){let h=-1;for(;++h-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+u);let a=u.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(u+" ".repeat(a-u.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),f);return l(),c;function f(h,E,p){return E?(p?"":" ".repeat(a))+h:(p?u:u+" ".repeat(a-u.length))+h}}function fp(e,t,n,r){const i=n.enter("paragraph"),u=n.enter("phrasing"),a=n.containerPhrasing(e,r);return u(),i(),a}const dp=Cn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function mp(e,t,n,r){return(e.children.some(function(a){return dp(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function pp(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Xu.peek=_p;function Xu(e,t,n,r){const i=pp(n),u=n.enter("strong"),a=n.createTracker(r);let o=a.move(i+i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i+i),u(),o}function _p(e,t,n){return n.options.strong||"*"}function Ep(e,t,n,r){return n.safe(e.value,r)}function gp(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}function bp(e,t,n){const r=(Wu(n)+(n.options.ruleSpaces?" ":"")).repeat(gp(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Qu={blockquote:Ym,break:Ki,code:Qm,definition:Km,emphasis:Hu,hardBreak:Ki,heading:ep,html:Uu,image:vu,imageReference:zu,inlineCode:Yu,link:ju,linkReference:Vu,list:lp,listItem:hp,paragraph:fp,root:mp,strong:Xu,text:Ep,thematicBreak:bp};function Tp(){return{enter:{table:Ap,tableData:$i,tableHeader:$i,tableRow:kp},exit:{codeText:Ip,table:Cp,tableData:Xn,tableHeader:Xn,tableRow:Xn}}}function Ap(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Cp(e){this.exit(e),this.data.inTable=void 0}function kp(e){this.enter({type:"tableRow",children:[]},e)}function Xn(e){this.exit(e)}function $i(e){this.enter({type:"tableCell",children:[]},e)}function Ip(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,yp));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function yp(e,t){return t==="|"?t:e}function Np(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:E,table:a,tableCell:l,tableRow:o}};function a(p,T,I,R){return c(f(p,I,R),p.align)}function o(p,T,I,R){const y=h(p,I,R),w=c([y]);return w.slice(0,w.indexOf(` -`))}function l(p,T,I,R){const y=I.enter("tableCell"),w=I.enter("phrasing"),D=I.containerPhrasing(p,{...R,before:u,after:u});return w(),y(),D}function c(p,T){return Um(p,{align:T,alignDelimiters:r,padding:n,stringLength:i})}function f(p,T,I){const R=p.children;let y=-1;const w=[],D=T.enter("table");for(;++y0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const jp={tokenize:Jp,partial:!0};function Vp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Gp,continuation:{tokenize:Kp},exit:$p}},text:{91:{name:"gfmFootnoteCall",tokenize:Qp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Wp,resolveTo:Xp}}}}function Wp(e,t,n){const r=this;let i=r.events.length;const u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Le(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!u.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Xp(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Qp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u=0,a;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(u>999||h===93&&!a||h===null||h===91||J(h))return n(h);if(h===93){e.exit("chunkString");const E=e.exit("gfmFootnoteCallString");return i.includes(Le(r.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return J(h)||(a=!0),u++,e.consume(h),h===92?f:c}function f(h){return h===91||h===92||h===93?(e.consume(h),u++,c):c(h)}}function Gp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u,a=0,o;return l;function l(T){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(T){return T===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(T)}function f(T){if(a>999||T===93&&!o||T===null||T===91||J(T))return n(T);if(T===93){e.exit("chunkString");const I=e.exit("gfmFootnoteDefinitionLabelString");return u=Le(r.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),E}return J(T)||(o=!0),a++,e.consume(T),T===92?h:f}function h(T){return T===91||T===92||T===93?(e.consume(T),a++,f):f(T)}function E(T){return T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),i.includes(u)||i.push(u),X(e,p,"gfmFootnoteDefinitionWhitespace")):n(T)}function p(T){return t(T)}}function Kp(e,t,n){return e.check(Vt,t,e.attempt(jp,t,n))}function $p(e){e.exit("gfmFootnoteDefinition")}function Jp(e,t,n){const r=this;return X(e,i,"gfmFootnoteDefinitionIndent",5);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(u):n(u)}}function Zp(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l1?l(T):(a.consume(T),h++,p);if(h<2&&!n)return l(T);const R=a.exit("strikethroughSequenceTemporary"),y=fn(T);return R._open=!y||y===2&&!!I,R._close=!I||I===2&&!!y,o(T)}}}class e1{constructor(){this.map=[]}add(t,n,r){t1(this,t,n,r)}consume(t){if(this.map.sort(function(u,a){return u[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function t1(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const re=r.events[M][1].type;if(re==="lineEnding"||re==="linePrefix")M--;else break}const B=M>-1?r.events[M][1].type:null,K=B==="tableHead"||B==="tableRow"?S:l;return K===S&&r.parser.lazy[r.now().line]?n(k):K(k)}function l(k){return e.enter("tableHead"),e.enter("tableRow"),c(k)}function c(k){return k===124||(a=!0,u+=1),f(k)}function f(k){return k===null?n(k):F(k)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),p):n(k):j(k)?X(e,f,"whitespace")(k):(u+=1,a&&(a=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),h(k)))}function h(k){return k===null||k===124||J(k)?(e.exit("data"),f(k)):(e.consume(k),k===92?E:h)}function E(k){return k===92||k===124?(e.consume(k),h):h(k)}function p(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),a=!1,j(k)?X(e,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):T(k))}function T(k){return k===45||k===58?R(k):k===124?(a=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),I):U(k)}function I(k){return j(k)?X(e,R,"whitespace")(k):R(k)}function R(k){return k===58?(u+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(u+=1,y(k)):k===null||F(k)?H(k):U(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),w(k)):U(k)}function w(k){return k===45?(e.consume(k),w):k===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(k))}function D(k){return j(k)?X(e,H,"whitespace")(k):H(k)}function H(k){return k===124?T(k):k===null||F(k)?!a||i!==u?U(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):U(k)}function U(k){return n(k)}function S(k){return e.enter("tableRow"),V(k)}function V(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),V):k===null||F(k)?(e.exit("tableRow"),t(k)):j(k)?X(e,V,"whitespace")(k):(e.enter("data"),ee(k))}function ee(k){return k===null||k===124||J(k)?(e.exit("data"),V(k)):(e.consume(k),k===92?G:ee)}function G(k){return k===92||k===124?(e.consume(k),ee):ee(k)}}function a1(e,t){let n=-1,r=!0,i=0,u=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,h;const E=new e1;for(;++nn[2]+1){const T=n[2]+1,I=n[3]-n[2]-1;e.add(T,I,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(u.end=Object.assign({},dt(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}function Zi(e,t,n,r,i){const u=[],a=dt(t.events,n);i&&(i.end=Object.assign({},a),u.push(["exit",i,t])),r.end=Object.assign({},a),u.push(["exit",r,t]),e.add(n+1,0,u)}function dt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const u1={name:"tasklistCheck",tokenize:o1};function s1(){return{text:{91:u1}}}function o1(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),u)}function u(l){return J(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return F(l)?t(l):j(l)?e.check({tokenize:l1},t,n)(l):n(l)}}function l1(e,t,n){return X(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function c1(e){return ya([Mp(),Vp(),Zp(e),r1(),s1()])}const h1={};function R1(e){const t=this,n=e||h1,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(c1(n)),u.push(Op()),a.push(wp(n))}const L1=["strong","summary","blockquote","details","table","tbody","thead","h1","h2","h3","h4","h5","h6","input","ul","li","div","pre","ul","ol","li","br","em","hr","td","th","tr","a","img","p","del","span","code","button"],f1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Alert}))),d1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Avatar}))),m1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Button}))),p1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Byline}))),_1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Checkbox}))),ct=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Heading}))),E1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Img}))),g1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Link}))),b1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.SourceCodeEditor}))),ht=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Text}))),T1=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.ToggleDetails}))),an=te.lazy(()=>ke(()=>import("./index-Dv-2cAG8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.View}))),un=e=>te.Children.map(e.children,t=>typeof t!="string"?t:null),ea=e=>{var t,n;return((n=(t=e==null?void 0:e.style)==null?void 0:t.textAlign)==null?void 0:n.replace(/\b(left|right)\b/,r=>r==="left"?"start":"end"))??"start"},O1={hr:({node:e,...t})=>z.jsx(an,{as:e==null?void 0:e.tagName,shadow:"topmost",borderWidth:"small",margin:"small none",padding:"none",borderColor:"primary",...t}),a:({node:e,...t})=>z.jsx(g1,{to:e.href,...t}),button:({node:e,...t})=>z.jsx(m1,{withBackground:!1,...t}),p:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),em:({node:e,...t})=>z.jsx(ht,{fontStyle:"italic",...t}),strong:({node:e,...t})=>z.jsx(ht,{weight:"bold",...t}),span:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),code:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),del:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),blockquote:({node:e,...t})=>{t={...t,children:un(t)};const n=/\[\!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/,r={NOTE:"info",TIP:"success",IMPORTANT:"info",WARNING:"warning",CAUTION:"error"},i=te.Children.toArray(t.children)[0];let u,a;ms.isValidElement(i)?[u,a]=i.props.children.split("--",2):[u,a]=i.toString().split("--",2);const o=u.match(n);return o?z.jsx(f1,{variant:r[o[1]],children:u.replace(`${o[0]}`,"")}):z.jsx(p1,{description:u,title:a,margin:"medium 0",...t,children:a?z.jsx(d1,{name:a}):z.jsx(z.Fragment,{})})},h1:({node:e,...t})=>z.jsx(ct,{margin:"none none medium",level:e.tagName,...t}),h2:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h3:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h4:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h5:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h6:({node:e,...t})=>z.jsx(ct,{as:"h6",...t}),img:({node:e,...t})=>z.jsx(E1,{src:e.src,...t}),div:({node:e,...t})=>z.jsx(an,{as:e.tagName,...t}),pre:({node:e,...t})=>{if(e.children.length===1&&e.children[0].tagName==="code"){let n=e.children[0].children[0].value;return n.endsWith(` +`))}function l(p,T,I,R){const y=I.enter("tableCell"),w=I.enter("phrasing"),D=I.containerPhrasing(p,{...R,before:u,after:u});return w(),y(),D}function c(p,T){return Um(p,{align:T,alignDelimiters:r,padding:n,stringLength:i})}function f(p,T,I){const R=p.children;let y=-1;const w=[],D=T.enter("table");for(;++y0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const jp={tokenize:Jp,partial:!0};function Vp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Gp,continuation:{tokenize:Kp},exit:$p}},text:{91:{name:"gfmFootnoteCall",tokenize:Qp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Wp,resolveTo:Xp}}}}function Wp(e,t,n){const r=this;let i=r.events.length;const u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Le(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!u.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Xp(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Qp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u=0,a;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(u>999||h===93&&!a||h===null||h===91||J(h))return n(h);if(h===93){e.exit("chunkString");const E=e.exit("gfmFootnoteCallString");return i.includes(Le(r.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return J(h)||(a=!0),u++,e.consume(h),h===92?f:c}function f(h){return h===91||h===92||h===93?(e.consume(h),u++,c):c(h)}}function Gp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u,a=0,o;return l;function l(T){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(T){return T===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(T)}function f(T){if(a>999||T===93&&!o||T===null||T===91||J(T))return n(T);if(T===93){e.exit("chunkString");const I=e.exit("gfmFootnoteDefinitionLabelString");return u=Le(r.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),E}return J(T)||(o=!0),a++,e.consume(T),T===92?h:f}function h(T){return T===91||T===92||T===93?(e.consume(T),a++,f):f(T)}function E(T){return T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),i.includes(u)||i.push(u),X(e,p,"gfmFootnoteDefinitionWhitespace")):n(T)}function p(T){return t(T)}}function Kp(e,t,n){return e.check(Vt,t,e.attempt(jp,t,n))}function $p(e){e.exit("gfmFootnoteDefinition")}function Jp(e,t,n){const r=this;return X(e,i,"gfmFootnoteDefinitionIndent",5);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(u):n(u)}}function Zp(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l1?l(T):(a.consume(T),h++,p);if(h<2&&!n)return l(T);const R=a.exit("strikethroughSequenceTemporary"),y=fn(T);return R._open=!y||y===2&&!!I,R._close=!I||I===2&&!!y,o(T)}}}class e1{constructor(){this.map=[]}add(t,n,r){t1(this,t,n,r)}consume(t){if(this.map.sort(function(u,a){return u[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function t1(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const re=r.events[M][1].type;if(re==="lineEnding"||re==="linePrefix")M--;else break}const B=M>-1?r.events[M][1].type:null,K=B==="tableHead"||B==="tableRow"?S:l;return K===S&&r.parser.lazy[r.now().line]?n(k):K(k)}function l(k){return e.enter("tableHead"),e.enter("tableRow"),c(k)}function c(k){return k===124||(a=!0,u+=1),f(k)}function f(k){return k===null?n(k):F(k)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),p):n(k):j(k)?X(e,f,"whitespace")(k):(u+=1,a&&(a=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),h(k)))}function h(k){return k===null||k===124||J(k)?(e.exit("data"),f(k)):(e.consume(k),k===92?E:h)}function E(k){return k===92||k===124?(e.consume(k),h):h(k)}function p(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),a=!1,j(k)?X(e,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):T(k))}function T(k){return k===45||k===58?R(k):k===124?(a=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),I):U(k)}function I(k){return j(k)?X(e,R,"whitespace")(k):R(k)}function R(k){return k===58?(u+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(u+=1,y(k)):k===null||F(k)?H(k):U(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),w(k)):U(k)}function w(k){return k===45?(e.consume(k),w):k===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(k))}function D(k){return j(k)?X(e,H,"whitespace")(k):H(k)}function H(k){return k===124?T(k):k===null||F(k)?!a||i!==u?U(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):U(k)}function U(k){return n(k)}function S(k){return e.enter("tableRow"),V(k)}function V(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),V):k===null||F(k)?(e.exit("tableRow"),t(k)):j(k)?X(e,V,"whitespace")(k):(e.enter("data"),ee(k))}function ee(k){return k===null||k===124||J(k)?(e.exit("data"),V(k)):(e.consume(k),k===92?G:ee)}function G(k){return k===92||k===124?(e.consume(k),ee):ee(k)}}function a1(e,t){let n=-1,r=!0,i=0,u=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,h;const E=new e1;for(;++nn[2]+1){const T=n[2]+1,I=n[3]-n[2]-1;e.add(T,I,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(u.end=Object.assign({},dt(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}function Zi(e,t,n,r,i){const u=[],a=dt(t.events,n);i&&(i.end=Object.assign({},a),u.push(["exit",i,t])),r.end=Object.assign({},a),u.push(["exit",r,t]),e.add(n+1,0,u)}function dt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const u1={name:"tasklistCheck",tokenize:o1};function s1(){return{text:{91:u1}}}function o1(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),u)}function u(l){return J(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return F(l)?t(l):j(l)?e.check({tokenize:l1},t,n)(l):n(l)}}function l1(e,t,n){return X(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function c1(e){return ya([Mp(),Vp(),Zp(e),r1(),s1()])}const h1={};function R1(e){const t=this,n=e||h1,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(c1(n)),u.push(Op()),a.push(wp(n))}const L1=["strong","summary","blockquote","details","table","tbody","thead","h1","h2","h3","h4","h5","h6","input","ul","li","div","pre","ul","ol","li","br","em","hr","td","th","tr","a","img","p","del","span","code","button"],f1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Alert}))),d1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Avatar}))),m1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Button}))),p1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Byline}))),_1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Checkbox}))),ct=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Heading}))),E1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Img}))),g1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Link}))),b1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.SourceCodeEditor}))),ht=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Text}))),T1=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.ToggleDetails}))),an=te.lazy(()=>ke(()=>import("./index-DvkmnKwX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.View}))),un=e=>te.Children.map(e.children,t=>typeof t!="string"?t:null),ea=e=>{var t,n;return((n=(t=e==null?void 0:e.style)==null?void 0:t.textAlign)==null?void 0:n.replace(/\b(left|right)\b/,r=>r==="left"?"start":"end"))??"start"},O1={hr:({node:e,...t})=>z.jsx(an,{as:e==null?void 0:e.tagName,shadow:"topmost",borderWidth:"small",margin:"small none",padding:"none",borderColor:"primary",...t}),a:({node:e,...t})=>z.jsx(g1,{to:e.href,...t}),button:({node:e,...t})=>z.jsx(m1,{withBackground:!1,...t}),p:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),em:({node:e,...t})=>z.jsx(ht,{fontStyle:"italic",...t}),strong:({node:e,...t})=>z.jsx(ht,{weight:"bold",...t}),span:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),code:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),del:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),blockquote:({node:e,...t})=>{t={...t,children:un(t)};const n=/\[\!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/,r={NOTE:"info",TIP:"success",IMPORTANT:"info",WARNING:"warning",CAUTION:"error"},i=te.Children.toArray(t.children)[0];let u,a;ms.isValidElement(i)?[u,a]=i.props.children.split("--",2):[u,a]=i.toString().split("--",2);const o=u.match(n);return o?z.jsx(f1,{variant:r[o[1]],children:u.replace(`${o[0]}`,"")}):z.jsx(p1,{description:u,title:a,margin:"medium 0",...t,children:a?z.jsx(d1,{name:a}):z.jsx(z.Fragment,{})})},h1:({node:e,...t})=>z.jsx(ct,{margin:"none none medium",level:e.tagName,...t}),h2:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h3:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h4:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h5:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h6:({node:e,...t})=>z.jsx(ct,{as:"h6",...t}),img:({node:e,...t})=>z.jsx(E1,{src:e.src,...t}),div:({node:e,...t})=>z.jsx(an,{as:e.tagName,...t}),pre:({node:e,...t})=>{if(e.children.length===1&&e.children[0].tagName==="code"){let n=e.children[0].children[0].value;return n.endsWith(` `)&&(n=n.slice(0,-1)),z.jsx(b1,{label:"Code",lineNumbers:!0,foldGutter:!0,editable:!0,readOnly:!0,defaultValue:n})}return z.jsx(an,{as:e.tagName,...t})},ul:({node:e,...t})=>{t={...t,children:un(t)};const{children:n,...r}=t,i=(r==null?void 0:r.className)==="contains-task-list"||!1;return z.jsx(Nt,{isUnstyled:i,...r,children:te.Children.map(n,u=>{const{children:a,...o}=u.props;if(i&&a){let l=!1;return z.jsx(Nt.Item,{margin:"0 0 small small",...o,children:te.Children.map(a,c=>{var f,h,E;if(((f=c==null?void 0:c.props)==null?void 0:f.type)==="checkbox"&&(l=((h=c==null?void 0:c.props)==null?void 0:h.checked)??!1),((E=c==null?void 0:c.props)==null?void 0:E.type)!=="checkbox"&&c!==" "&&c!=="[ ]"&&c!=="[X]")return z.jsx(_1,{label:c,disabled:!0,defaultChecked:l})})},u.key)}return z.jsx(Nt.Item,{...u.props},u.key)})})},ol:({node:e,...t})=>{t={...t,children:un(t)};const{children:n,...r}=t;return z.jsx(Nt,{as:e.tagName,...r,children:te.Children.map(n,i=>z.jsx(Nt.Item,{...i.props},i.key))})},input:({node:e,...t})=>z.jsx(e.tagName,{...t}),details:({node:e,...t})=>{t={...t,children:un(t)};const n=t.children.shift();return z.jsx(T1,{summary:n,children:z.jsx(an,{display:"block",padding:"small",...t})})},table:({node:e,...t})=>{const{children:n,...r}=t;return z.jsx($e,{margin:"medium none",hover:!0,caption:"",...r,children:te.Children.map(n,i=>{const{children:u,...a}=i.props;return i.type==="thead"?z.jsx($e.Head,{...a,children:te.Children.map(u,o=>{const{children:l,...c}=o.props;return z.jsx($e.Row,{...c,children:te.Children.map(l,f=>z.jsx($e.ColHeader,{id:f.key,textAlign:ea(f.props),...f.props},f.key))})})}):z.jsx($e.Body,{...a,children:te.Children.map(u,o=>{const{children:l,...c}=o.props;return z.jsx($e.Row,{...c,children:te.Children.map(l,f=>z.jsx($e.Cell,{textAlign:ea(f.props),...f.props}))})})})})})}};export{Nt as L,N1 as M,S1 as a,x1 as b,L1 as c,O1 as d,sa as e,R1 as r}; diff --git a/assets/RenderTopNavBar-DdduE_mK.js b/assets/RenderTopNavBar-DwZOqeqN.js similarity index 99% rename from assets/RenderTopNavBar-DdduE_mK.js rename to assets/RenderTopNavBar-DwZOqeqN.js index 82b8c7b..e71c473 100644 --- a/assets/RenderTopNavBar-DdduE_mK.js +++ b/assets/RenderTopNavBar-DwZOqeqN.js @@ -1,4 +1,4 @@ -import{R as v,v as Jt,z as M,A as Z,B as Ie,C as ve,D as Kt,m as $,r as w,P as s,w as E,h as j,q as ye,i as h,p as ie,l as Vn,f as N,E as ct,F as Fs,s as pe,t as A,G as Ar,T as ee,V as H,o as V,S as R,H as Dr,I as Pn,J as Ws,K as Hs,j as O,M as to,N as zs}from"./index-DVuP2ZA1.js";function W(o,e={}){return typeof o=="function"?o.prototype&&o.prototype.isReactComponent?v.createElement(o,e):o(e):o}function Yt(o){if(Array.isArray(o)){const e=o.slice(0);for(let t=0;t{if(e==null)return!1;const n=Vs(o,e);return n.length===1||t===n[0]}).reduce((e,t)=>{if(typeof t!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return e===null?t:function(...i){e.apply(this,i),t.apply(this,i)}},null)}function Vs(o,e){const t=[];return o.forEach((n,i)=>{n===e&&t.push(i)}),t}function Lr(o){const e=`${o}`,t=e.match(/[\d.\-\+]*\s*(.*)/);return[parseFloat(e),t&&t.length>0?t[1]:""]}function js(o){if(!o||typeof o=="number")return o;const e=Lr(o),t=Jt(e,2),n=t[0],i=t[1];return i==="ms"?n:i==="s"?n*1e3:n}function fe(o,e,t,n){const i=o===window||o===document?o:M(o);return i==null||i.addEventListener(e,t,n),{remove(){i==null||i.removeEventListener(e,t,n)}}}function Us(o,e){const t=o&&M(o),n=e&&M(e);return!t||!n?!1:!(t instanceof Window)&&!(n instanceof Window)?t.contains(n):Nr(t,n)}function Nr(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentNode}return!1}const Ft=Z?Us:Nr;function z(o){const e={top:0,bottom:0,left:0,right:0,height:0,width:0};if(!Z)return e;const t=o&&M(o);if(!t)return e;if(t===window)return{left:window.pageXOffset,top:window.pageYOffset,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth+window.pageXOffset,bottom:window.innerHeight+window.pageYOffset};const n=o===document?document:Ie(t),i=n&&n.documentElement;if(!i||!Ft(i,t))return e;const r=t.getBoundingClientRect();let a;for(a in e)e[a]=r[a];if(n!==document&&n.defaultView){const l=n.defaultView.frameElement;if(l){const d=z(l);e.top+=d.top,e.bottom+=d.top,e.left+=d.left,e.right+=d.left}}return{top:e.top+(window.pageYOffset||i.scrollTop)-(i.clientTop||0),left:e.left+(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),width:(e.width==null?t.offsetWidth:e.width)||0,height:(e.height==null?t.offsetHeight:e.height)||0,right:n.body.clientWidth-e.width-e.left,bottom:n.body.clientHeight-e.height-e.top}}const Le=function(){let o;if(Z&&window.requestAnimationFrame&&window.cancelAnimationFrame)o=e=>{const t=window.requestAnimationFrame(e);return{cancel:()=>window.cancelAnimationFrame(t)}};else{let e=new Date().getTime();o=t=>{const n=new Date().getTime(),i=Math.max(0,16-(n-e)),r=setTimeout(t,i);return e=n,{cancel:()=>clearTimeout(r)}}}return o}();function Gs(o,e){const t=M(o),n=[];let i=z(t)||{},r=!1;function a(){if(!r){const l=z(t)||{};(l.top!==i.top||l.left!==i.left||l.right!==i.right||l.bottom!==i.bottom||l.width!==i.width||l.height!==i.height)&&typeof e=="function"&&e(l),i=l,n.push(Le(a))}}return a(),{remove(){r=!0,n.forEach(l=>l.cancel())}}}function qs(o){return!!(o.tagName.includes("-")&&customElements.get(o.tagName.toLowerCase()))}function Nt(o){const e=(o||document).activeElement;return e&&qs(e)?e.shadowRoot.activeElement:e}function ut(o){const e=o&&M(o),t=Nt();return!!e&&(t===e||Ft(e,t))}const no=["a[href]","frame","iframe","object","input:not([type=hidden])","select","textarea","button","*[tabindex]",'[contenteditable="true"]'].join(",");function jn(o,e,t){const n=o&&M(o);if(!n||typeof n.querySelectorAll!="function")return[];let i=Array.from(n.querySelectorAll(no));return t&&n.matches(no)&&(i=[...i,n]),i.filter(r=>typeof e=="function"?e(r)&&oo(r):oo(r))}function Xs(o){return ve(o).display==="none"}function Ks(o){var e,t;const n=["fixed","absolute"];return!!(n.includes((e=o.style.position)===null||e===void 0?void 0:e.toLowerCase())||n.includes((t=ve(o).getPropertyValue("position"))===null||t===void 0?void 0:t.toLowerCase()))}function Ys(o){let e=o;for(;e&&!(e===document.body||e instanceof ShadowRoot);){if(Xs(e))return!1;if(Ks(e))break;e=e.parentNode}return!0}function oo(o){return!o.disabled&&Ys(o)}function Un(o,e){return jn(o,t=>!Zs(t.getAttribute("tabindex")),e)}function Zs(o){return!isNaN(o)&&o<0}const Qs={toArray:()=>[],contains:()=>!1,add:()=>{},remove:()=>{}};function io(o){const e=M(o);if(!e)return Qs;const t={toArray(){return[...e.classList]},contains:()=>!1,add:()=>{},remove:()=>{}};return t.add=n=>e.classList.add(n),t.remove=n=>e.classList.remove(n),t.contains=n=>e.classList.contains(n),t}const ro=new WeakMap;function so(o,e=!1){var t;if(!Z)return 16;const n=o||((t=Ie(o))===null||t===void 0?void 0:t.documentElement),i=ro.get(n);if(!e&&i)return i;const r=parseInt(ve(n).getPropertyValue("font-size"));return ro.set(n,r),r}function Js(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){let n=t;for(;(n=n.parentNode)&&n&&n.nodeType===1&&n.tagName!=="BODY";){const i=ve(n),r=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("-moz-transform")||i.getPropertyValue("-ms-transform")||i.getPropertyValue("-o-transform")||i.getPropertyValue("transform")||"none",a=r==="none"||r==="matrix(1, 0, 0, 1, 0, 0)";(i.position!=="static"||!a)&&e.push(n)}e.push(Ie(t).body)}return e}function Fr(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){const i=(ve(t)||{}).position;if(i==="fixed")return[t.ownerDocument];let r=t;for(;r&&r.nodeType===1&&(r=r.parentNode);){let l;try{l=ve(r)}catch{}if(typeof l>"u"||l===null)return e.push(r),e;const d=l,c=d.overflow,u=d.overflowX,p=d.overflowY;/(auto|scroll|overlay)/.test(c+p+u)&&(i!=="absolute"||["relative","absolute","fixed"].indexOf(l.position)>=0)&&e.push(r)}const a=t.ownerDocument;a&&(e.push(a.body),a!==document&&e.push(a.defaultView))}return e}function ao(o,e){const t=e.currentTarget,n=e.relatedTarget;(!n||n!==t&&!Ft(t,n))&&o(e)}function Zt(o){const e=o&&M(o);return e?Nt()===e:!1}function An(o,e=!0){const t=o&&M(o);if(t===window||t===document||t===document.body)return!0;const n=t.parentNode;if(t.nodeType===3)return An(n,e);const i=t?ve(t):{};if(i.display==="none"||i.visibility==="hidden"||i.opacity==="0")return!1;if(i.overflow==="hidden"&&i.position==="absolute"&&i.clip!=="auto"){const r=i.clip.substring(5).slice(0,-1).split(", ");let a=!0;if(r.forEach(l=>{l!=="0px"&&(a=!1)}),a)return!1}return e&&n?An(n):!0}function ea(o,e){const t=M(e)||document;if(Z){const n=Kt(t);return n&&n.matchMedia(o)}return null}function Y(o,e){if(!o||typeof o=="number")return o;const t=Lr(o),n=Jt(t,2),i=n[0],r=n[1];if(r==="rem")return i*so();if(r==="em"){const a=Z?document.body:null;return i*so(e||a)}else return i}const ta=Object.prototype.hasOwnProperty;function wn(o,e){if(lo(o,e))return!0;if(typeof o!="object"||o===null||typeof e!="object"||e===null)return!1;const t=Object.keys(o),n=Object.keys(e);if(t.length!==n.length)return!1;for(let i=0;i{d.indexOf("on")===0&&(typeof e[d]=="function"||typeof o.props[d]=="function")&&(l[d]=L(o.props[d],e[d]))}),i==null||n==null?v.cloneElement(o,l,...t):($(r,`Cloning an element with a ref that will be overwritten because the ref is not a function. Use a composable callback-style ref instead. Ignoring ref: ${i}`),v.cloneElement(o,{...l,ref(d){a?n(d):n.current=d,i(d)}},...t))}function De(o,e={}){const t=w.Children.count(o);return t===0?null:typeof o=="string"&&o.length>0||t>1?v.createElement("span",e,o):J(Array.isArray(o)?o[0]:o,e)}const na=()=>o=>o;function co(o){return typeof o=="string"?o:o.displayName||o.name}function Wr({props:o={},interactionTypes:e=["disabled","readonly"]}={}){const t=o.interaction,n=o.disabled,i=o.readOnly;return t||(e.includes("disabled")&&n?"disabled":e.includes("readonly")&&i?"readonly":"enabled")}function U(o,e=[]){return o&&o.type?e.map(n=>co(n)).indexOf(co(o.type))>=0:!1}function uo(o){return function(e,t,n,i="",r=""){const a=e[t];return a===null||typeof a>"u"?new Error(`The prop \`${t}\` is marked as required in \`${n}\`, but its value is \`${a}\``):o(e,t,n,i,r)}}const G={oneOf(o){function e(t,n,i){const r=v.Children.toArray(t[n]),a=o.map(l=>l&&Ne(l));for(let l=0;l{const c=Ne(d);return r[c]=0,c});for(let d=0;d{r[d]>1&&l.push(`${r[d]} children of type ${d}`),r[d]===0&&l.push(`0 children of type ${d}`)}),l.length>0?new Error(`Expected exactly one of each ${a.join(", ")} in ${n} but found:${l.join(` +import{R as v,v as Jt,z as M,A as Z,B as Ie,C as ve,D as Kt,m as $,r as w,P as s,w as E,h as j,q as ye,i as h,p as ie,l as Vn,f as N,E as ct,F as Fs,s as pe,t as A,G as Ar,T as ee,V as H,o as V,S as R,H as Dr,I as Pn,J as Ws,K as Hs,j as O,M as to,N as zs}from"./index-D8uc6p-q.js";function W(o,e={}){return typeof o=="function"?o.prototype&&o.prototype.isReactComponent?v.createElement(o,e):o(e):o}function Yt(o){if(Array.isArray(o)){const e=o.slice(0);for(let t=0;t{if(e==null)return!1;const n=Vs(o,e);return n.length===1||t===n[0]}).reduce((e,t)=>{if(typeof t!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return e===null?t:function(...i){e.apply(this,i),t.apply(this,i)}},null)}function Vs(o,e){const t=[];return o.forEach((n,i)=>{n===e&&t.push(i)}),t}function Lr(o){const e=`${o}`,t=e.match(/[\d.\-\+]*\s*(.*)/);return[parseFloat(e),t&&t.length>0?t[1]:""]}function js(o){if(!o||typeof o=="number")return o;const e=Lr(o),t=Jt(e,2),n=t[0],i=t[1];return i==="ms"?n:i==="s"?n*1e3:n}function fe(o,e,t,n){const i=o===window||o===document?o:M(o);return i==null||i.addEventListener(e,t,n),{remove(){i==null||i.removeEventListener(e,t,n)}}}function Us(o,e){const t=o&&M(o),n=e&&M(e);return!t||!n?!1:!(t instanceof Window)&&!(n instanceof Window)?t.contains(n):Nr(t,n)}function Nr(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentNode}return!1}const Ft=Z?Us:Nr;function z(o){const e={top:0,bottom:0,left:0,right:0,height:0,width:0};if(!Z)return e;const t=o&&M(o);if(!t)return e;if(t===window)return{left:window.pageXOffset,top:window.pageYOffset,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth+window.pageXOffset,bottom:window.innerHeight+window.pageYOffset};const n=o===document?document:Ie(t),i=n&&n.documentElement;if(!i||!Ft(i,t))return e;const r=t.getBoundingClientRect();let a;for(a in e)e[a]=r[a];if(n!==document&&n.defaultView){const l=n.defaultView.frameElement;if(l){const d=z(l);e.top+=d.top,e.bottom+=d.top,e.left+=d.left,e.right+=d.left}}return{top:e.top+(window.pageYOffset||i.scrollTop)-(i.clientTop||0),left:e.left+(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),width:(e.width==null?t.offsetWidth:e.width)||0,height:(e.height==null?t.offsetHeight:e.height)||0,right:n.body.clientWidth-e.width-e.left,bottom:n.body.clientHeight-e.height-e.top}}const Le=function(){let o;if(Z&&window.requestAnimationFrame&&window.cancelAnimationFrame)o=e=>{const t=window.requestAnimationFrame(e);return{cancel:()=>window.cancelAnimationFrame(t)}};else{let e=new Date().getTime();o=t=>{const n=new Date().getTime(),i=Math.max(0,16-(n-e)),r=setTimeout(t,i);return e=n,{cancel:()=>clearTimeout(r)}}}return o}();function Gs(o,e){const t=M(o),n=[];let i=z(t)||{},r=!1;function a(){if(!r){const l=z(t)||{};(l.top!==i.top||l.left!==i.left||l.right!==i.right||l.bottom!==i.bottom||l.width!==i.width||l.height!==i.height)&&typeof e=="function"&&e(l),i=l,n.push(Le(a))}}return a(),{remove(){r=!0,n.forEach(l=>l.cancel())}}}function qs(o){return!!(o.tagName.includes("-")&&customElements.get(o.tagName.toLowerCase()))}function Nt(o){const e=(o||document).activeElement;return e&&qs(e)?e.shadowRoot.activeElement:e}function ut(o){const e=o&&M(o),t=Nt();return!!e&&(t===e||Ft(e,t))}const no=["a[href]","frame","iframe","object","input:not([type=hidden])","select","textarea","button","*[tabindex]",'[contenteditable="true"]'].join(",");function jn(o,e,t){const n=o&&M(o);if(!n||typeof n.querySelectorAll!="function")return[];let i=Array.from(n.querySelectorAll(no));return t&&n.matches(no)&&(i=[...i,n]),i.filter(r=>typeof e=="function"?e(r)&&oo(r):oo(r))}function Xs(o){return ve(o).display==="none"}function Ks(o){var e,t;const n=["fixed","absolute"];return!!(n.includes((e=o.style.position)===null||e===void 0?void 0:e.toLowerCase())||n.includes((t=ve(o).getPropertyValue("position"))===null||t===void 0?void 0:t.toLowerCase()))}function Ys(o){let e=o;for(;e&&!(e===document.body||e instanceof ShadowRoot);){if(Xs(e))return!1;if(Ks(e))break;e=e.parentNode}return!0}function oo(o){return!o.disabled&&Ys(o)}function Un(o,e){return jn(o,t=>!Zs(t.getAttribute("tabindex")),e)}function Zs(o){return!isNaN(o)&&o<0}const Qs={toArray:()=>[],contains:()=>!1,add:()=>{},remove:()=>{}};function io(o){const e=M(o);if(!e)return Qs;const t={toArray(){return[...e.classList]},contains:()=>!1,add:()=>{},remove:()=>{}};return t.add=n=>e.classList.add(n),t.remove=n=>e.classList.remove(n),t.contains=n=>e.classList.contains(n),t}const ro=new WeakMap;function so(o,e=!1){var t;if(!Z)return 16;const n=o||((t=Ie(o))===null||t===void 0?void 0:t.documentElement),i=ro.get(n);if(!e&&i)return i;const r=parseInt(ve(n).getPropertyValue("font-size"));return ro.set(n,r),r}function Js(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){let n=t;for(;(n=n.parentNode)&&n&&n.nodeType===1&&n.tagName!=="BODY";){const i=ve(n),r=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("-moz-transform")||i.getPropertyValue("-ms-transform")||i.getPropertyValue("-o-transform")||i.getPropertyValue("transform")||"none",a=r==="none"||r==="matrix(1, 0, 0, 1, 0, 0)";(i.position!=="static"||!a)&&e.push(n)}e.push(Ie(t).body)}return e}function Fr(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){const i=(ve(t)||{}).position;if(i==="fixed")return[t.ownerDocument];let r=t;for(;r&&r.nodeType===1&&(r=r.parentNode);){let l;try{l=ve(r)}catch{}if(typeof l>"u"||l===null)return e.push(r),e;const d=l,c=d.overflow,u=d.overflowX,p=d.overflowY;/(auto|scroll|overlay)/.test(c+p+u)&&(i!=="absolute"||["relative","absolute","fixed"].indexOf(l.position)>=0)&&e.push(r)}const a=t.ownerDocument;a&&(e.push(a.body),a!==document&&e.push(a.defaultView))}return e}function ao(o,e){const t=e.currentTarget,n=e.relatedTarget;(!n||n!==t&&!Ft(t,n))&&o(e)}function Zt(o){const e=o&&M(o);return e?Nt()===e:!1}function An(o,e=!0){const t=o&&M(o);if(t===window||t===document||t===document.body)return!0;const n=t.parentNode;if(t.nodeType===3)return An(n,e);const i=t?ve(t):{};if(i.display==="none"||i.visibility==="hidden"||i.opacity==="0")return!1;if(i.overflow==="hidden"&&i.position==="absolute"&&i.clip!=="auto"){const r=i.clip.substring(5).slice(0,-1).split(", ");let a=!0;if(r.forEach(l=>{l!=="0px"&&(a=!1)}),a)return!1}return e&&n?An(n):!0}function ea(o,e){const t=M(e)||document;if(Z){const n=Kt(t);return n&&n.matchMedia(o)}return null}function Y(o,e){if(!o||typeof o=="number")return o;const t=Lr(o),n=Jt(t,2),i=n[0],r=n[1];if(r==="rem")return i*so();if(r==="em"){const a=Z?document.body:null;return i*so(e||a)}else return i}const ta=Object.prototype.hasOwnProperty;function wn(o,e){if(lo(o,e))return!0;if(typeof o!="object"||o===null||typeof e!="object"||e===null)return!1;const t=Object.keys(o),n=Object.keys(e);if(t.length!==n.length)return!1;for(let i=0;i{d.indexOf("on")===0&&(typeof e[d]=="function"||typeof o.props[d]=="function")&&(l[d]=L(o.props[d],e[d]))}),i==null||n==null?v.cloneElement(o,l,...t):($(r,`Cloning an element with a ref that will be overwritten because the ref is not a function. Use a composable callback-style ref instead. Ignoring ref: ${i}`),v.cloneElement(o,{...l,ref(d){a?n(d):n.current=d,i(d)}},...t))}function De(o,e={}){const t=w.Children.count(o);return t===0?null:typeof o=="string"&&o.length>0||t>1?v.createElement("span",e,o):J(Array.isArray(o)?o[0]:o,e)}const na=()=>o=>o;function co(o){return typeof o=="string"?o:o.displayName||o.name}function Wr({props:o={},interactionTypes:e=["disabled","readonly"]}={}){const t=o.interaction,n=o.disabled,i=o.readOnly;return t||(e.includes("disabled")&&n?"disabled":e.includes("readonly")&&i?"readonly":"enabled")}function U(o,e=[]){return o&&o.type?e.map(n=>co(n)).indexOf(co(o.type))>=0:!1}function uo(o){return function(e,t,n,i="",r=""){const a=e[t];return a===null||typeof a>"u"?new Error(`The prop \`${t}\` is marked as required in \`${n}\`, but its value is \`${a}\``):o(e,t,n,i,r)}}const G={oneOf(o){function e(t,n,i){const r=v.Children.toArray(t[n]),a=o.map(l=>l&&Ne(l));for(let l=0;l{const c=Ne(d);return r[c]=0,c});for(let d=0;d{r[d]>1&&l.push(`${r[d]} children of type ${d}`),r[d]===0&&l.push(`0 children of type ${d}`)}),l.length>0?new Error(`Expected exactly one of each ${a.join(", ")} in ${n} but found:${l.join(` `)}`):null}},enforceOrder(...o){function e(r,a){for(let l=0;ln(r,l)).join(` `)}function n(r,a){const l=a.map(d=>d?Ne(d):"??").map(d=>` <${d} />`).join(` diff --git a/assets/error-B5hQzbeZ.js b/assets/error-DE5Avba2.js similarity index 92% rename from assets/error-B5hQzbeZ.js rename to assets/error-DE5Avba2.js index 79b8837..032ee67 100644 --- a/assets/error-B5hQzbeZ.js +++ b/assets/error-DE5Avba2.js @@ -1 +1 @@ -import{a as _,x as w,y as R,j as s,V as j}from"./index-DVuP2ZA1.js";import{c as f,a as y,g as k,L as N,T as E,R as b,b as B}from"./RenderTopNavBar-DdduE_mK.js";import{B as T}from"./index-BCoP-QCi.js";const L={awkward:{EN:"Well, this is awkward.",ES_LA:"Esto es incómodo.",PT_BR:"Isso é constrangedor.",DE:"Das ist peinlich."},not_your_fault:{EN:"I'm not sure what happened, but I'm pretty sure it's not your fault.",ES_LA:"No estoy seguro de qué pasó, pero estoy bastante seguro de que no es tu culpa.",PT_BR:"Não tenho certeza do que aconteceu, mas tenho certeza de que não é sua culpa.",DE:"Ich bin mir nicht sicher, was passiert ist, aber ich bin mir ziemlich sicher, dass es nicht deine Schuld ist."},uhm:{EN:"Uhm...",ES_LA:"Ehm...",PT_BR:"Hã...",DE:"Ähm..."},class_dismissed:{EN:"class dismissed",ES_LA:"clase despedida",PT_BR:"classe dispensada",DE:"Klasse entlassen"},unknown_error:{EN:"An unknown error occurred.",ES_LA:"Ocurrió un error desconocido.",PT_BR:"Ocorreu um erro desconhecido.",DE:"Ein unbekannter Fehler ist aufgetreten."}};function x(){const e=f.c(24),a=_().language;let g,r;e[0]!==a?(r=y(a),g=k(L,r),e[0]=a,e[1]=g,e[2]=r):(g=e[1],r=e[2]);const t=g,i=w();let n;R(i)?n=`${i.status} ${i.statusText}`:i instanceof Error?n=i.message:typeof i=="string"?n=i:(console.error(i),n=t.unknown_error);let o;e[3]!==r?(o=s.jsx(b,{language:r}),e[3]=r,e[4]=o):o=e[4];let l;e[5]!==n?(l=s.jsx(E,{as:"p",children:s.jsx("i",{children:n})}),e[5]=n,e[6]=l):l=e[6];let d;e[7]!==t.class_dismissed?(d=s.jsx(N,{href:"./#/",children:t.class_dismissed}),e[7]=t.class_dismissed,e[8]=d):d=e[8];let c;e[9]!==t.uhm||e[10]!==d?(c=s.jsxs(E,{as:"p",children:[t.uhm," ",d,"."]}),e[9]=t.uhm,e[10]=d,e[11]=c):c=e[11];let u;e[12]!==l||e[13]!==c?(u=s.jsxs(s.Fragment,{children:[l,c]}),e[12]=l,e[13]=c,e[14]=u):u=e[14];let m;e[15]!==t.awkward||e[16]!==u?(m=s.jsx(j,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:s.jsx(T,{size:"medium",heading:t.awkward,headingAs:"h1",message:u})}),e[15]=t.awkward,e[16]=u,e[17]=m):m=e[17];let h;e[18]!==r?(h=s.jsx(B,{language:r}),e[18]=r,e[19]=h):h=e[19];let p;return e[20]!==o||e[21]!==m||e[22]!==h?(p=s.jsxs(s.Fragment,{children:[o,m,h]}),e[20]=o,e[21]=m,e[22]=h,e[23]=p):p=e[23],p}x.displayName="Route.Error";function S(){const e=f.c(1);let a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(x,{}),e[0]=a):a=e[0],a}S.displayName="Error.ErrorPage";export{x as Component,S as ErrorBoundary}; +import{a as _,x as w,y as R,j as s,V as j}from"./index-D8uc6p-q.js";import{c as f,a as y,g as k,L as N,T as E,R as b,b as B}from"./RenderTopNavBar-DwZOqeqN.js";import{B as T}from"./index-Baihd32c.js";const L={awkward:{EN:"Well, this is awkward.",ES_LA:"Esto es incómodo.",PT_BR:"Isso é constrangedor.",DE:"Das ist peinlich."},not_your_fault:{EN:"I'm not sure what happened, but I'm pretty sure it's not your fault.",ES_LA:"No estoy seguro de qué pasó, pero estoy bastante seguro de que no es tu culpa.",PT_BR:"Não tenho certeza do que aconteceu, mas tenho certeza de que não é sua culpa.",DE:"Ich bin mir nicht sicher, was passiert ist, aber ich bin mir ziemlich sicher, dass es nicht deine Schuld ist."},uhm:{EN:"Uhm...",ES_LA:"Ehm...",PT_BR:"Hã...",DE:"Ähm..."},class_dismissed:{EN:"class dismissed",ES_LA:"clase despedida",PT_BR:"classe dispensada",DE:"Klasse entlassen"},unknown_error:{EN:"An unknown error occurred.",ES_LA:"Ocurrió un error desconocido.",PT_BR:"Ocorreu um erro desconhecido.",DE:"Ein unbekannter Fehler ist aufgetreten."}};function x(){const e=f.c(24),a=_().language;let g,r;e[0]!==a?(r=y(a),g=k(L,r),e[0]=a,e[1]=g,e[2]=r):(g=e[1],r=e[2]);const t=g,i=w();let n;R(i)?n=`${i.status} ${i.statusText}`:i instanceof Error?n=i.message:typeof i=="string"?n=i:(console.error(i),n=t.unknown_error);let o;e[3]!==r?(o=s.jsx(b,{language:r}),e[3]=r,e[4]=o):o=e[4];let l;e[5]!==n?(l=s.jsx(E,{as:"p",children:s.jsx("i",{children:n})}),e[5]=n,e[6]=l):l=e[6];let d;e[7]!==t.class_dismissed?(d=s.jsx(N,{href:"./#/",children:t.class_dismissed}),e[7]=t.class_dismissed,e[8]=d):d=e[8];let c;e[9]!==t.uhm||e[10]!==d?(c=s.jsxs(E,{as:"p",children:[t.uhm," ",d,"."]}),e[9]=t.uhm,e[10]=d,e[11]=c):c=e[11];let u;e[12]!==l||e[13]!==c?(u=s.jsxs(s.Fragment,{children:[l,c]}),e[12]=l,e[13]=c,e[14]=u):u=e[14];let m;e[15]!==t.awkward||e[16]!==u?(m=s.jsx(j,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:s.jsx(T,{size:"medium",heading:t.awkward,headingAs:"h1",message:u})}),e[15]=t.awkward,e[16]=u,e[17]=m):m=e[17];let h;e[18]!==r?(h=s.jsx(B,{language:r}),e[18]=r,e[19]=h):h=e[19];let p;return e[20]!==o||e[21]!==m||e[22]!==h?(p=s.jsxs(s.Fragment,{children:[o,m,h]}),e[20]=o,e[21]=m,e[22]=h,e[23]=p):p=e[23],p}x.displayName="Route.Error";function S(){const e=f.c(1);let a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(x,{}),e[0]=a):a=e[0],a}S.displayName="Error.ErrorPage";export{x as Component,S as ErrorBoundary}; diff --git a/assets/index-BgSjnQS9.js b/assets/index-B2tgx2JB.js similarity index 99% rename from assets/index-BgSjnQS9.js rename to assets/index-B2tgx2JB.js index e2a05ba..920aa1e 100644 --- a/assets/index-BgSjnQS9.js +++ b/assets/index-B2tgx2JB.js @@ -1,2 +1,2 @@ -import{k as Jt,l as Qt,r as b,R as H,S as F,P as o,w as M,m as Mt,o as L,i as f,h as B,n as We,q as zt,s as ii,f as eo,t as Oi,p as Je,V as G,v as Qe,T as io}from"./index-DVuP2ZA1.js";import{C as Re,S as Ce,m as P,s as Ve,h as Et,i as to,j as oo,k as De,l as Bt,n as ie,P as ke,O as ye,o as Hi,p as Mi,q as no,r as so}from"./RenderTopNavBar-DdduE_mK.js";var di={exports:{}};(function(n,e){(function(i,t){var s="1.0.38",d="",h="?",u="function",m="undefined",g="object",v="string",x="major",r="model",a="name",l="type",p="vendor",c="version",A="architecture",z="console",y="mobile",w="tablet",S="smarttv",k="wearable",D="embedded",Se=500,Oe="Amazon",ne="Apple",He="ASUS",Me="BlackBerry",X="Browser",Ne="Chrome",Zt="Edge",Te="Firefox",qe="Google",xi="Huawei",ti="LG",oi="Microsoft",$i="Motorola",ze="Opera",Ge="Samsung",ki="Sharp",je="Sony",ni="Xiaomi",si="Zebra",Ri="Facebook",Ci="Chromium OS",Ii="Mac OS",Yt=function($,C){var _={};for(var I in $)C[I]&&C[I].length%2===0?_[I]=C[I].concat($[I]):_[I]=$[I];return _},Ue=function($){for(var C={},_=0;_<$.length;_++)C[$[_].toUpperCase()]=$[_];return C},Ai=function($,C){return typeof $===v?Ee(C).indexOf(Ee($))!==-1:!1},Ee=function($){return $.toLowerCase()},Xt=function($){return typeof $===v?$.replace(/[^\d\.]/g,d).split(".")[0]:t},ri=function($,C){if(typeof $===v)return $=$.replace(/^\s\s*/,d),typeof C===m?$:$.substring(0,Se)},Be=function($,C){for(var _=0,I,K,j,R,O,U;_0?R.length===2?typeof R[1]==u?this[R[0]]=R[1].call(this,U):this[R[0]]=R[1]:R.length===3?typeof R[1]===u&&!(R[1].exec&&R[1].test)?this[R[0]]=U?R[1].call(this,U,R[2]):t:this[R[0]]=U?U.replace(R[1],R[2]):t:R.length===4&&(this[R[0]]=U?R[3].call(this,U.replace(R[1],R[2])):t):this[R]=U||t;_+=2}},li=function($,C){for(var _ in C)if(typeof C[_]===g&&C[_].length>0){for(var I=0;I2&&(O[r]="iPad",O[l]=w),O},this.getEngine=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.engine),O},this.getOS=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.os),R&&!O[a]&&K&&K.platform&&K.platform!="Unknown"&&(O[a]=K.platform.replace(/chrome os/i,Ci).replace(/macos/i,Ii)),O},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return I},this.setUA=function(O){return I=typeof O===v&&O.length>Se?ri(O,Se):O,this},this.setUA(I),this};V.VERSION=s,V.BROWSER=Ue([a,c,x]),V.CPU=Ue([A]),V.DEVICE=Ue([r,p,l,z,y,S,w,k,D]),V.ENGINE=V.OS=Ue([a,c]),n.exports&&(e=n.exports=V),e.UAParser=V;var _e=typeof i!==m&&(i.jQuery||i.Zepto);if(_e&&!_e.ua){var Ze=new V;_e.ua=Ze.getResult(),_e.ua.get=function(){return Ze.getUA()},_e.ua.set=function($){Ze.setUA($);var C=Ze.getResult();for(var _ in C)_e.ua[_]=C[_]}}})(typeof window=="object"?window:Jt)})(di,di.exports);var ro=di.exports;const lo=Qt(ro),ao=()=>new lo().getResult().browser,po=()=>ao().name==="Safari";var zi;class Ie extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),zi||(zi=H.createElement("path",{d:"m.153 526.146 92.168-92.299 867.767 867.636 867.636-867.636 92.429 92.299-960.065 959.935z",fillRule:"evenodd"})))}}Ie.glyphName="arrow-open-down";Ie.variant="Line";Ie.displayName="IconArrowOpenDownLine";Ie.propTypes={...F.propTypes};Ie.allowedProps=[...F.allowedProps];var Ei;class Ae extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Ei||(Ei=H.createElement("path",{d:"m.153 1393.854 92.168 92.299 867.767-867.636 867.636 867.636 92.429-92.299L960.088 433.92z",fillRule:"evenodd"})))}}Ae.glyphName="arrow-open-up";Ae.variant="Line";Ae.displayName="IconArrowOpenUpLine";Ae.propTypes={...F.propTypes};Ae.allowedProps=[...F.allowedProps];var Bi;class te extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconCheck",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Bi||(Bi=H.createElement("path",{d:"M1827.701 303.065 698.835 1431.801 92.299 825.266 0 917.564 698.835 1616.4 1919.869 395.234z",fillRule:"evenodd"})))}}te.glyphName="check";te.variant="Line";te.displayName="IconCheckLine";te.propTypes={...F.propTypes};te.allowedProps=[...F.allowedProps];var Di;class Le extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDouble",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Di||(Di=H.createElement("path",{d:"M1319.1 790.054 1020.06 355.79c-33.165-48.165-87.553-47.273-120.104 0L600.92 790.054c-33.166 48.165-12.581 87.21 46.116 87.21h625.944c58.64 0 78.67-39.938 46.12-87.21ZM600.634 1129.94l299.035 434.27c33.167 48.16 87.554 47.27 120.101 0l299.04-434.27c33.17-48.16 12.58-87.21-46.12-87.21H646.75c-58.636 0-78.668 39.94-46.116 87.21Z"})))}}Le.glyphName="mini-arrow-double";Le.variant="Line";Le.displayName="IconMiniArrowDoubleLine";Le.propTypes={...F.propTypes};Le.allowedProps=[...F.allowedProps];var Wi;class Fe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Wi||(Wi=H.createElement("path",{d:"M994.034 1226.26c-18.796 27.296-49.269 27.3-68.067 0L574.893 716.424C556.096 689.128 567.713 667 600.852 667h718.297c33.133 0 44.757 22.125 25.959 49.424L994.034 1226.26Z",fillRule:"evenodd"})))}}Fe.glyphName="mini-arrow-down";Fe.variant="Line";Fe.displayName="IconMiniArrowDownLine";Fe.propTypes={...F.propTypes};Fe.allowedProps=[...F.allowedProps];var Vi;class Pe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Vi||(Vi=H.createElement("path",{d:"M994.034 694.296c-18.796-27.296-49.269-27.3-68.067 0l-351.074 509.836c-18.797 27.296-7.18 49.424 25.959 49.424h718.297c33.133 0 44.757-22.125 25.959-49.424L994.034 694.296Z",fillRule:"evenodd"})))}}Pe.glyphName="mini-arrow-up";Pe.variant="Line";Pe.displayName="IconMiniArrowUpLine";Pe.propTypes={...F.propTypes};Pe.allowedProps=[...F.allowedProps];const co=(n,e)=>{const i=e.vAlign,t=e.textAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.isLastCol,m=e.startAt,g=e.visualDebug,v={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}},x=()=>{const S={small:{paddingLeft:`calc(${n.spacingSmall} / 2)`,paddingRight:`calc(${n.spacingSmall} / 2)`},medium:{paddingLeft:`calc(${n.spacingMedium} / 2)`,paddingRight:`calc(${n.spacingMedium} / 2)`},large:{paddingLeft:`calc(${n.spacingLarge} / 2)`,paddingRight:`calc(${n.spacingLarge} / 2)`},none:{}},k={top:{alignSelf:"flex-start"},middle:{alignSelf:"center"},bottom:{alignSelf:"flex-end"},stretch:{alignSelf:"stretch"}},D={start:{textAlign:"start"},end:{textAlign:"end"},center:{textAlign:"center"},inherit:{textAlign:"inherit"}};return{flexGrow:1,flexShrink:1,flexBasis:"0%",marginBottom:0,boxSizing:"border-box",...d&&S[d],...i&&k[i],...t&&D[t]}},r=()=>{const S=["small","medium","large","x-large",null];return S.slice(S.indexOf(m))},a=S=>r().includes(S),l=S=>{let k=e.width;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},p=S=>{let k=e.offset;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},c=(S="1")=>{switch(S){case"auto":return{flexGrow:0,flexShrink:0,flexBasis:"auto"};case 12:return{flex:"0 0 100%"};default:return{flexGrow:0,flexShrink:0,flexBasis:`calc(${S} / 12 * 99.999%)`,maxWidth:`calc(${S} / 12 * 99.999%)`}}},A=(S="1")=>{switch(S){case"auto":case 12:return{};default:return{marginInlineStart:`calc(${S} / 12 * 99.999%)`,marginInlineEnd:0}}},z=S=>m&&m===S?{...x()}:{},y=S=>{const k=l(S),D=p(S);return a(S)?{...k&&c(k),...D&&A(D)}:{}},w=S=>({...z(S),...y(S)});return{gridCol:{label:"gridCol",display:"block",boxSizing:"border-box",textAlign:"inherit",minWidth:"0.0625rem",...s&&v[s],...h&&u&&{marginBottom:0},...w("small"),[`@media screen and (${n.mediumMin})`]:{...w("medium")},[`@media screen and (${n.largeMin})`]:{...w("large")},[`@media screen and (${n.xLargeMin})`]:{...w("x-large")},...g&&{outline:"0.0625rem dashed red"}}}},uo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},Z=o.oneOfType([o.number,o.oneOf(["auto"])]),ho={children:o.node,colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),textAlign:o.oneOf(["start","end","center","inherit"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,width:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),offset:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),isLastRow:o.bool,isLastCol:o.bool,elementRef:o.func},fo=["children","colSpacing","rowSpacing","textAlign","hAlign","vAlign","startAt","visualDebug","width","offset","isLastRow","isLastCol","elementRef"];var Ni,Ti,se;let _i=(Ni=M(co,uo),Ni(Ti=(se=class Dt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}widthCheck(){const e=this.props.width;let i=!1;e&&(typeof e=="number"&&e<=0&&(i=!0),typeof e=="object"&&Object.keys(e).forEach(t=>{typeof e[t]=="number"&&e[t]<=0&&(i=!0)})),i&&Mt(!1,"Col width must be positive!")}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}render(){const e=this.props,i=e.children,t=e.styles,s=L(this.props,Dt.allowedProps);return f("span",Object.assign({},s,{ref:this.handleRef,css:t==null?void 0:t.gridCol}),i)}},se.displayName="GridCol",se.componentId="Grid.Col",se.propTypes=ho,se.allowedProps=fo,se.defaultProps={textAlign:"inherit",children:null,isLastCol:!1,isLastRow:!1},se))||Ti);const go=(n,e)=>{const i=e.hAlign,t=e.vAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.startAt,m=e.visualDebug,g=()=>{const x={center:{justifyContent:"center"},start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},"space-around":{justifyContent:"space-around"},"space-between":{justifyContent:"space-between"}},r={top:{alignItems:"flex-start"},middle:{alignItems:"center"},bottom:{alignItems:"flex-end"},stretch:{alignItems:"stretch"}},a={small:{margin:`0 calc(-1 * ${n.spacingSmall} / 2)`},medium:{margin:`0 calc(-1 * ${n.spacingMedium} / 2)`},large:{margin:`0 calc(-1 * ${n.spacingLarge} / 2)`},none:{}},l={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}};return{display:"flex",flexFlow:"row nowrap",...i&&x[i],...t&&r[t],...d&&a[d],...s&&l[s],...h&&{marginBottom:0}}},v=x=>u&&u===x?{...g()}:{};return{gridRow:{label:"gridRow",display:"block",boxSizing:"border-box",...v("small"),[`@media screen and (${n.mediumMin})`]:{...v("medium")},[`@media screen and (${n.largeMin})`]:{...v("large")},[`@media screen and (${n.xLargeMin})`]:{...v("x-large")},...m&&{outline:"0.0625rem dashed blue"}}}},mo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},bo={children:Re.oneOf([_i,Ce]),rowSpacing:o.oneOf(["none","small","medium","large"]),colSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,isLastRow:o.bool},vo=["children","rowSpacing","colSpacing","hAlign","vAlign","startAt","visualDebug","isLastRow"],yo=["styles","makeStyles"],wo=["styles"];var qi,Gi,re;let pi=(qi=M(go,mo),qi(Gi=(re=class ci extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,yo);return b.Children.map(this.props.children,(t,s)=>P(t,[_i])?Ve(t,{...We(i,ci.allowedProps),...t.props,isLastRow:i.isLastRow,isLastCol:s+1===b.Children.count(this.props.children)}):t)}render(){const e=this.props,i=e.styles,t=B(e,wo),s=L(t,ci.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.gridRow,ref:this.handleRef}),this.renderChildren())}},re.displayName="GridRow",re.componentId="Grid.Row",re.propTypes=bo,re.allowedProps=vo,re.defaultProps={children:null,isLastRow:!1},re))||Gi);const So=(n,e)=>{const i=e.startAt,t=e.visualDebug,s=d=>i&&i===d?{boxSizing:"border-box"}:{};return{grid:{label:"grid",display:"block",...s("small"),[`@media screen and (${n.mediumMin})`]:{...s("medium")},[`@media screen and (${n.largeMin})`]:{...s("large")},[`@media screen and (${n.xLargeMin})`]:{...s("x-large")},...t&&{outline:"0.0625rem dashed red"}}}},Oo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},_o={children:Re.oneOf([pi,Ce]),colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool},xo=["children","colSpacing","rowSpacing","hAlign","vAlign","startAt","visualDebug"],$o=["styles","makeStyles"],ko=["styles"];var ji,Ui,J;let N=(ji=M(So,Oo),ji(Ui=(J=class ui extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,$o),t=b.Children.toArray(this.props.children);return t.map((s,d)=>P(s,[pi])?Ve(s,{...We(i,ui.allowedProps),...s.props,isLastRow:d+1===t.length}):s)}render(){const e=this.props,i=e.styles,t=B(e,ko),s=L(t,ui.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.grid,ref:this.handleRef}),this.renderChildren())}},J.displayName="Grid",J.componentId="Grid",J.propTypes=_o,J.allowedProps=xo,J.defaultProps={colSpacing:"medium",rowSpacing:"medium",hAlign:"start",startAt:"small",vAlign:"top",visualDebug:!1,children:null},J.Row=pi,J.Col=_i,J))||Ui);const Ro=(n,e)=>{const i=e.children,s={all:"initial",display:"block",...Et(i)&&{color:n.color,fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,margin:0,textAlign:"inherit"}};return{formFieldLabel:{label:"formFieldLabel",...s,"&:is(label)":s,"&:-webkit-any(label)":s}}},Co=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{color:n["ic-brand-font-color-dark"]}};return{...{color:e==null?void 0:e.textDarkest,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightBold,fontSize:i==null?void 0:i.fontSizeMedium,lineHeight:i==null?void 0:i.lineHeightFit},...s[t]}},Io={children:o.node.isRequired,as:o.elementType},Ao=["as","children"];var Zi,Yi,le;let Lo=(Zi=M(Ro,Co),Zi(Yi=(le=class hi extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=zt(hi,this.props),i=this.props,t=i.styles,s=i.children;return f(e,Object.assign({},L(this.props,hi.allowedProps),{css:t==null?void 0:t.formFieldLabel,ref:this.handleRef}),s)}},le.displayName="FormFieldLabel",le.componentId="FormFieldLabel",le.propTypes=Io,le.allowedProps=Ao,le.defaultProps={as:"span"},le))||Yi);const Fo=(n,e)=>{const i=e.variant,t={hint:{color:n.colorHint},error:{color:n.colorError},success:{color:n.colorSuccess},"screenreader-only":{}};return{formFieldMessage:{label:"formFieldMessage",fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,display:"block",...t[i]}}},Po=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{colorHint:n["ic-brand-font-color-dark"]}};return{...{colorHint:e==null?void 0:e.textDarkest,colorError:e==null?void 0:e.textDanger,colorSuccess:e==null?void 0:e.textSuccess,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,fontSize:i==null?void 0:i.fontSizeSmall,lineHeight:i==null?void 0:i.lineHeight},...s[t]}},Wt=o.oneOf(["error","hint","success","screenreader-only"]),Vt=o.node,we={message:o.shape({type:Wt,text:Vt})},Ho={variant:Wt,children:Vt},Mo=["variant","children"];var Xi,Ki,ae;let zo=(Xi=M(Fo,Po),Xi(Ki=(ae=class extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles;return this.props.variant!=="screenreader-only"?f("span",{css:t==null?void 0:t.formFieldMessage,ref:this.handleRef},i):f(Ce,{elementRef:this.handleRef},i)}},ae.displayName="FormFieldMessage",ae.componentId="FormFieldMessage",ae.propTypes=Ho,ae.allowedProps=Mo,ae.defaultProps={variant:"hint"},ae))||Ki);const Eo=n=>({formFieldMessages:{label:"formFieldMessages",padding:0,display:"block",margin:`calc(-1 * ${n.topMargin}) 0 0 0`},message:{label:"formFieldMessages__message",display:"block"}}),Bo=n=>{const e=n.spacing;return{...{topMargin:e==null?void 0:e.xxSmall}}},Do={messages:o.arrayOf(we.message)},Wo=["messages"];var Ji,Qi,de;let et=(Ji=M(Eo,Bo),Ji(Qi=(de=class Nt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.messages,t=e.styles;return i&&i.length>0?f("span",Object.assign({css:t==null?void 0:t.formFieldMessages},L(this.props,Nt.allowedProps),{ref:this.handleRef}),i.map((s,d)=>f("span",{key:`error${d}`,css:t==null?void 0:t.message},f(zo,{variant:s.type},s.text)))):null}},de.displayName="FormFieldMessages",de.componentId="FormFieldMessages",de.propTypes=Do,de.allowedProps=Wo,de.defaultProps={},de))||Qi);const Vo=(n,e)=>({formFieldLayout:{label:"formFieldLayout",all:"initial",border:"0",padding:"0",margin:"0",minWidth:"0",direction:"inherit",textAlign:"start",opacity:"inherit",display:"block",width:"100%",...e.inline&&{display:"inline-block",verticalAlign:"middle",width:"auto"}}}),No={label:o.node.isRequired,id:o.string,as:o.elementType,messages:o.arrayOf(we.message),messagesId:o.string,children:o.node,inline:o.bool,layout:o.oneOf(["stacked","inline"]),labelAlign:o.oneOf(["start","end"]),vAlign:o.oneOf(["top","middle","bottom"]),width:o.string,inputContainerRef:o.func,elementRef:o.func},To=["label","id","as","messages","messagesId","children","inline","layout","labelAlign","width","inputContainerRef","elementRef"],qo=["makeStyles","styles"];var it,tt,Ye,pe;let ei=(it=ii(),tt=M(Vo,null),it(Ye=tt(Ye=(pe=class fi extends b.Component{constructor(e){super(e),this._messagesId=void 0,this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)},this.handleInputContainerRef=i=>{typeof this.props.inputContainerRef=="function"&&this.props.inputContainerRef(i)},this._messagesId=e.messagesId||e.deterministicId(),eo(typeof e.width<"u"||!e.inline||e.layout!=="inline",`[FormFieldLayout] The 'inline' prop is true, and the 'layout' is set to 'inline'. +import{k as Jt,l as Qt,r as b,R as H,S as F,P as o,w as M,m as Mt,o as L,i as f,h as B,n as We,q as zt,s as ii,f as eo,t as Oi,p as Je,V as G,v as Qe,T as io}from"./index-D8uc6p-q.js";import{C as Re,S as Ce,m as P,s as Ve,h as Et,i as to,j as oo,k as De,l as Bt,n as ie,P as ke,O as ye,o as Hi,p as Mi,q as no,r as so}from"./RenderTopNavBar-DwZOqeqN.js";var di={exports:{}};(function(n,e){(function(i,t){var s="1.0.38",d="",h="?",u="function",m="undefined",g="object",v="string",x="major",r="model",a="name",l="type",p="vendor",c="version",A="architecture",z="console",y="mobile",w="tablet",S="smarttv",k="wearable",D="embedded",Se=500,Oe="Amazon",ne="Apple",He="ASUS",Me="BlackBerry",X="Browser",Ne="Chrome",Zt="Edge",Te="Firefox",qe="Google",xi="Huawei",ti="LG",oi="Microsoft",$i="Motorola",ze="Opera",Ge="Samsung",ki="Sharp",je="Sony",ni="Xiaomi",si="Zebra",Ri="Facebook",Ci="Chromium OS",Ii="Mac OS",Yt=function($,C){var _={};for(var I in $)C[I]&&C[I].length%2===0?_[I]=C[I].concat($[I]):_[I]=$[I];return _},Ue=function($){for(var C={},_=0;_<$.length;_++)C[$[_].toUpperCase()]=$[_];return C},Ai=function($,C){return typeof $===v?Ee(C).indexOf(Ee($))!==-1:!1},Ee=function($){return $.toLowerCase()},Xt=function($){return typeof $===v?$.replace(/[^\d\.]/g,d).split(".")[0]:t},ri=function($,C){if(typeof $===v)return $=$.replace(/^\s\s*/,d),typeof C===m?$:$.substring(0,Se)},Be=function($,C){for(var _=0,I,K,j,R,O,U;_0?R.length===2?typeof R[1]==u?this[R[0]]=R[1].call(this,U):this[R[0]]=R[1]:R.length===3?typeof R[1]===u&&!(R[1].exec&&R[1].test)?this[R[0]]=U?R[1].call(this,U,R[2]):t:this[R[0]]=U?U.replace(R[1],R[2]):t:R.length===4&&(this[R[0]]=U?R[3].call(this,U.replace(R[1],R[2])):t):this[R]=U||t;_+=2}},li=function($,C){for(var _ in C)if(typeof C[_]===g&&C[_].length>0){for(var I=0;I2&&(O[r]="iPad",O[l]=w),O},this.getEngine=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.engine),O},this.getOS=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.os),R&&!O[a]&&K&&K.platform&&K.platform!="Unknown"&&(O[a]=K.platform.replace(/chrome os/i,Ci).replace(/macos/i,Ii)),O},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return I},this.setUA=function(O){return I=typeof O===v&&O.length>Se?ri(O,Se):O,this},this.setUA(I),this};V.VERSION=s,V.BROWSER=Ue([a,c,x]),V.CPU=Ue([A]),V.DEVICE=Ue([r,p,l,z,y,S,w,k,D]),V.ENGINE=V.OS=Ue([a,c]),n.exports&&(e=n.exports=V),e.UAParser=V;var _e=typeof i!==m&&(i.jQuery||i.Zepto);if(_e&&!_e.ua){var Ze=new V;_e.ua=Ze.getResult(),_e.ua.get=function(){return Ze.getUA()},_e.ua.set=function($){Ze.setUA($);var C=Ze.getResult();for(var _ in C)_e.ua[_]=C[_]}}})(typeof window=="object"?window:Jt)})(di,di.exports);var ro=di.exports;const lo=Qt(ro),ao=()=>new lo().getResult().browser,po=()=>ao().name==="Safari";var zi;class Ie extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),zi||(zi=H.createElement("path",{d:"m.153 526.146 92.168-92.299 867.767 867.636 867.636-867.636 92.429 92.299-960.065 959.935z",fillRule:"evenodd"})))}}Ie.glyphName="arrow-open-down";Ie.variant="Line";Ie.displayName="IconArrowOpenDownLine";Ie.propTypes={...F.propTypes};Ie.allowedProps=[...F.allowedProps];var Ei;class Ae extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Ei||(Ei=H.createElement("path",{d:"m.153 1393.854 92.168 92.299 867.767-867.636 867.636 867.636 92.429-92.299L960.088 433.92z",fillRule:"evenodd"})))}}Ae.glyphName="arrow-open-up";Ae.variant="Line";Ae.displayName="IconArrowOpenUpLine";Ae.propTypes={...F.propTypes};Ae.allowedProps=[...F.allowedProps];var Bi;class te extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconCheck",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Bi||(Bi=H.createElement("path",{d:"M1827.701 303.065 698.835 1431.801 92.299 825.266 0 917.564 698.835 1616.4 1919.869 395.234z",fillRule:"evenodd"})))}}te.glyphName="check";te.variant="Line";te.displayName="IconCheckLine";te.propTypes={...F.propTypes};te.allowedProps=[...F.allowedProps];var Di;class Le extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDouble",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Di||(Di=H.createElement("path",{d:"M1319.1 790.054 1020.06 355.79c-33.165-48.165-87.553-47.273-120.104 0L600.92 790.054c-33.166 48.165-12.581 87.21 46.116 87.21h625.944c58.64 0 78.67-39.938 46.12-87.21ZM600.634 1129.94l299.035 434.27c33.167 48.16 87.554 47.27 120.101 0l299.04-434.27c33.17-48.16 12.58-87.21-46.12-87.21H646.75c-58.636 0-78.668 39.94-46.116 87.21Z"})))}}Le.glyphName="mini-arrow-double";Le.variant="Line";Le.displayName="IconMiniArrowDoubleLine";Le.propTypes={...F.propTypes};Le.allowedProps=[...F.allowedProps];var Wi;class Fe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Wi||(Wi=H.createElement("path",{d:"M994.034 1226.26c-18.796 27.296-49.269 27.3-68.067 0L574.893 716.424C556.096 689.128 567.713 667 600.852 667h718.297c33.133 0 44.757 22.125 25.959 49.424L994.034 1226.26Z",fillRule:"evenodd"})))}}Fe.glyphName="mini-arrow-down";Fe.variant="Line";Fe.displayName="IconMiniArrowDownLine";Fe.propTypes={...F.propTypes};Fe.allowedProps=[...F.allowedProps];var Vi;class Pe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Vi||(Vi=H.createElement("path",{d:"M994.034 694.296c-18.796-27.296-49.269-27.3-68.067 0l-351.074 509.836c-18.797 27.296-7.18 49.424 25.959 49.424h718.297c33.133 0 44.757-22.125 25.959-49.424L994.034 694.296Z",fillRule:"evenodd"})))}}Pe.glyphName="mini-arrow-up";Pe.variant="Line";Pe.displayName="IconMiniArrowUpLine";Pe.propTypes={...F.propTypes};Pe.allowedProps=[...F.allowedProps];const co=(n,e)=>{const i=e.vAlign,t=e.textAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.isLastCol,m=e.startAt,g=e.visualDebug,v={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}},x=()=>{const S={small:{paddingLeft:`calc(${n.spacingSmall} / 2)`,paddingRight:`calc(${n.spacingSmall} / 2)`},medium:{paddingLeft:`calc(${n.spacingMedium} / 2)`,paddingRight:`calc(${n.spacingMedium} / 2)`},large:{paddingLeft:`calc(${n.spacingLarge} / 2)`,paddingRight:`calc(${n.spacingLarge} / 2)`},none:{}},k={top:{alignSelf:"flex-start"},middle:{alignSelf:"center"},bottom:{alignSelf:"flex-end"},stretch:{alignSelf:"stretch"}},D={start:{textAlign:"start"},end:{textAlign:"end"},center:{textAlign:"center"},inherit:{textAlign:"inherit"}};return{flexGrow:1,flexShrink:1,flexBasis:"0%",marginBottom:0,boxSizing:"border-box",...d&&S[d],...i&&k[i],...t&&D[t]}},r=()=>{const S=["small","medium","large","x-large",null];return S.slice(S.indexOf(m))},a=S=>r().includes(S),l=S=>{let k=e.width;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},p=S=>{let k=e.offset;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},c=(S="1")=>{switch(S){case"auto":return{flexGrow:0,flexShrink:0,flexBasis:"auto"};case 12:return{flex:"0 0 100%"};default:return{flexGrow:0,flexShrink:0,flexBasis:`calc(${S} / 12 * 99.999%)`,maxWidth:`calc(${S} / 12 * 99.999%)`}}},A=(S="1")=>{switch(S){case"auto":case 12:return{};default:return{marginInlineStart:`calc(${S} / 12 * 99.999%)`,marginInlineEnd:0}}},z=S=>m&&m===S?{...x()}:{},y=S=>{const k=l(S),D=p(S);return a(S)?{...k&&c(k),...D&&A(D)}:{}},w=S=>({...z(S),...y(S)});return{gridCol:{label:"gridCol",display:"block",boxSizing:"border-box",textAlign:"inherit",minWidth:"0.0625rem",...s&&v[s],...h&&u&&{marginBottom:0},...w("small"),[`@media screen and (${n.mediumMin})`]:{...w("medium")},[`@media screen and (${n.largeMin})`]:{...w("large")},[`@media screen and (${n.xLargeMin})`]:{...w("x-large")},...g&&{outline:"0.0625rem dashed red"}}}},uo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},Z=o.oneOfType([o.number,o.oneOf(["auto"])]),ho={children:o.node,colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),textAlign:o.oneOf(["start","end","center","inherit"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,width:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),offset:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),isLastRow:o.bool,isLastCol:o.bool,elementRef:o.func},fo=["children","colSpacing","rowSpacing","textAlign","hAlign","vAlign","startAt","visualDebug","width","offset","isLastRow","isLastCol","elementRef"];var Ni,Ti,se;let _i=(Ni=M(co,uo),Ni(Ti=(se=class Dt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}widthCheck(){const e=this.props.width;let i=!1;e&&(typeof e=="number"&&e<=0&&(i=!0),typeof e=="object"&&Object.keys(e).forEach(t=>{typeof e[t]=="number"&&e[t]<=0&&(i=!0)})),i&&Mt(!1,"Col width must be positive!")}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}render(){const e=this.props,i=e.children,t=e.styles,s=L(this.props,Dt.allowedProps);return f("span",Object.assign({},s,{ref:this.handleRef,css:t==null?void 0:t.gridCol}),i)}},se.displayName="GridCol",se.componentId="Grid.Col",se.propTypes=ho,se.allowedProps=fo,se.defaultProps={textAlign:"inherit",children:null,isLastCol:!1,isLastRow:!1},se))||Ti);const go=(n,e)=>{const i=e.hAlign,t=e.vAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.startAt,m=e.visualDebug,g=()=>{const x={center:{justifyContent:"center"},start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},"space-around":{justifyContent:"space-around"},"space-between":{justifyContent:"space-between"}},r={top:{alignItems:"flex-start"},middle:{alignItems:"center"},bottom:{alignItems:"flex-end"},stretch:{alignItems:"stretch"}},a={small:{margin:`0 calc(-1 * ${n.spacingSmall} / 2)`},medium:{margin:`0 calc(-1 * ${n.spacingMedium} / 2)`},large:{margin:`0 calc(-1 * ${n.spacingLarge} / 2)`},none:{}},l={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}};return{display:"flex",flexFlow:"row nowrap",...i&&x[i],...t&&r[t],...d&&a[d],...s&&l[s],...h&&{marginBottom:0}}},v=x=>u&&u===x?{...g()}:{};return{gridRow:{label:"gridRow",display:"block",boxSizing:"border-box",...v("small"),[`@media screen and (${n.mediumMin})`]:{...v("medium")},[`@media screen and (${n.largeMin})`]:{...v("large")},[`@media screen and (${n.xLargeMin})`]:{...v("x-large")},...m&&{outline:"0.0625rem dashed blue"}}}},mo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},bo={children:Re.oneOf([_i,Ce]),rowSpacing:o.oneOf(["none","small","medium","large"]),colSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,isLastRow:o.bool},vo=["children","rowSpacing","colSpacing","hAlign","vAlign","startAt","visualDebug","isLastRow"],yo=["styles","makeStyles"],wo=["styles"];var qi,Gi,re;let pi=(qi=M(go,mo),qi(Gi=(re=class ci extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,yo);return b.Children.map(this.props.children,(t,s)=>P(t,[_i])?Ve(t,{...We(i,ci.allowedProps),...t.props,isLastRow:i.isLastRow,isLastCol:s+1===b.Children.count(this.props.children)}):t)}render(){const e=this.props,i=e.styles,t=B(e,wo),s=L(t,ci.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.gridRow,ref:this.handleRef}),this.renderChildren())}},re.displayName="GridRow",re.componentId="Grid.Row",re.propTypes=bo,re.allowedProps=vo,re.defaultProps={children:null,isLastRow:!1},re))||Gi);const So=(n,e)=>{const i=e.startAt,t=e.visualDebug,s=d=>i&&i===d?{boxSizing:"border-box"}:{};return{grid:{label:"grid",display:"block",...s("small"),[`@media screen and (${n.mediumMin})`]:{...s("medium")},[`@media screen and (${n.largeMin})`]:{...s("large")},[`@media screen and (${n.xLargeMin})`]:{...s("x-large")},...t&&{outline:"0.0625rem dashed red"}}}},Oo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},_o={children:Re.oneOf([pi,Ce]),colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool},xo=["children","colSpacing","rowSpacing","hAlign","vAlign","startAt","visualDebug"],$o=["styles","makeStyles"],ko=["styles"];var ji,Ui,J;let N=(ji=M(So,Oo),ji(Ui=(J=class ui extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,$o),t=b.Children.toArray(this.props.children);return t.map((s,d)=>P(s,[pi])?Ve(s,{...We(i,ui.allowedProps),...s.props,isLastRow:d+1===t.length}):s)}render(){const e=this.props,i=e.styles,t=B(e,ko),s=L(t,ui.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.grid,ref:this.handleRef}),this.renderChildren())}},J.displayName="Grid",J.componentId="Grid",J.propTypes=_o,J.allowedProps=xo,J.defaultProps={colSpacing:"medium",rowSpacing:"medium",hAlign:"start",startAt:"small",vAlign:"top",visualDebug:!1,children:null},J.Row=pi,J.Col=_i,J))||Ui);const Ro=(n,e)=>{const i=e.children,s={all:"initial",display:"block",...Et(i)&&{color:n.color,fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,margin:0,textAlign:"inherit"}};return{formFieldLabel:{label:"formFieldLabel",...s,"&:is(label)":s,"&:-webkit-any(label)":s}}},Co=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{color:n["ic-brand-font-color-dark"]}};return{...{color:e==null?void 0:e.textDarkest,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightBold,fontSize:i==null?void 0:i.fontSizeMedium,lineHeight:i==null?void 0:i.lineHeightFit},...s[t]}},Io={children:o.node.isRequired,as:o.elementType},Ao=["as","children"];var Zi,Yi,le;let Lo=(Zi=M(Ro,Co),Zi(Yi=(le=class hi extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=zt(hi,this.props),i=this.props,t=i.styles,s=i.children;return f(e,Object.assign({},L(this.props,hi.allowedProps),{css:t==null?void 0:t.formFieldLabel,ref:this.handleRef}),s)}},le.displayName="FormFieldLabel",le.componentId="FormFieldLabel",le.propTypes=Io,le.allowedProps=Ao,le.defaultProps={as:"span"},le))||Yi);const Fo=(n,e)=>{const i=e.variant,t={hint:{color:n.colorHint},error:{color:n.colorError},success:{color:n.colorSuccess},"screenreader-only":{}};return{formFieldMessage:{label:"formFieldMessage",fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,display:"block",...t[i]}}},Po=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{colorHint:n["ic-brand-font-color-dark"]}};return{...{colorHint:e==null?void 0:e.textDarkest,colorError:e==null?void 0:e.textDanger,colorSuccess:e==null?void 0:e.textSuccess,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,fontSize:i==null?void 0:i.fontSizeSmall,lineHeight:i==null?void 0:i.lineHeight},...s[t]}},Wt=o.oneOf(["error","hint","success","screenreader-only"]),Vt=o.node,we={message:o.shape({type:Wt,text:Vt})},Ho={variant:Wt,children:Vt},Mo=["variant","children"];var Xi,Ki,ae;let zo=(Xi=M(Fo,Po),Xi(Ki=(ae=class extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles;return this.props.variant!=="screenreader-only"?f("span",{css:t==null?void 0:t.formFieldMessage,ref:this.handleRef},i):f(Ce,{elementRef:this.handleRef},i)}},ae.displayName="FormFieldMessage",ae.componentId="FormFieldMessage",ae.propTypes=Ho,ae.allowedProps=Mo,ae.defaultProps={variant:"hint"},ae))||Ki);const Eo=n=>({formFieldMessages:{label:"formFieldMessages",padding:0,display:"block",margin:`calc(-1 * ${n.topMargin}) 0 0 0`},message:{label:"formFieldMessages__message",display:"block"}}),Bo=n=>{const e=n.spacing;return{...{topMargin:e==null?void 0:e.xxSmall}}},Do={messages:o.arrayOf(we.message)},Wo=["messages"];var Ji,Qi,de;let et=(Ji=M(Eo,Bo),Ji(Qi=(de=class Nt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.messages,t=e.styles;return i&&i.length>0?f("span",Object.assign({css:t==null?void 0:t.formFieldMessages},L(this.props,Nt.allowedProps),{ref:this.handleRef}),i.map((s,d)=>f("span",{key:`error${d}`,css:t==null?void 0:t.message},f(zo,{variant:s.type},s.text)))):null}},de.displayName="FormFieldMessages",de.componentId="FormFieldMessages",de.propTypes=Do,de.allowedProps=Wo,de.defaultProps={},de))||Qi);const Vo=(n,e)=>({formFieldLayout:{label:"formFieldLayout",all:"initial",border:"0",padding:"0",margin:"0",minWidth:"0",direction:"inherit",textAlign:"start",opacity:"inherit",display:"block",width:"100%",...e.inline&&{display:"inline-block",verticalAlign:"middle",width:"auto"}}}),No={label:o.node.isRequired,id:o.string,as:o.elementType,messages:o.arrayOf(we.message),messagesId:o.string,children:o.node,inline:o.bool,layout:o.oneOf(["stacked","inline"]),labelAlign:o.oneOf(["start","end"]),vAlign:o.oneOf(["top","middle","bottom"]),width:o.string,inputContainerRef:o.func,elementRef:o.func},To=["label","id","as","messages","messagesId","children","inline","layout","labelAlign","width","inputContainerRef","elementRef"],qo=["makeStyles","styles"];var it,tt,Ye,pe;let ei=(it=ii(),tt=M(Vo,null),it(Ye=tt(Ye=(pe=class fi extends b.Component{constructor(e){super(e),this._messagesId=void 0,this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)},this.handleInputContainerRef=i=>{typeof this.props.inputContainerRef=="function"&&this.props.inputContainerRef(i)},this._messagesId=e.messagesId||e.deterministicId(),eo(typeof e.width<"u"||!e.inline||e.layout!=="inline",`[FormFieldLayout] The 'inline' prop is true, and the 'layout' is set to 'inline'. This will cause a layout issue in Internet Explorer 11 unless you also add a value for the 'width' prop.`)}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}get hasVisibleLabel(){return this.props.label&&Et(this.props.label)}get hasMessages(){return this.props.messages&&this.props.messages.length>0}get elementType(){return zt(fi,this.props)}get inlineContainerAndLabel(){return this.props.inline&&this.props.layout==="inline"}renderLabel(){return this.hasVisibleLabel?f(N.Col,{textAlign:this.props.labelAlign,width:this.inlineContainerAndLabel?"auto":3},f(Lo,{"aria-hidden":this.elementType==="fieldset"?"true":void 0},this.props.label)):this.elementType!=="fieldset"?this.props.label:null}renderLegend(){return f(Ce,{as:"legend"},this.props.label,this.hasMessages&&f(et,{messages:this.props.messages}))}renderVisibleMessages(){return this.hasMessages?f(N.Row,null,f(N.Col,{offset:this.inlineContainerAndLabel?void 0:3,textAlign:this.inlineContainerAndLabel?"end":void 0},f(et,{id:this._messagesId,messages:this.props.messages}))):null}render(){const e=this.elementType,i=this.props;i.makeStyles;const t=i.styles,s=B(i,qo),d=s.width,h=s.layout,u=s.children;return f(e,Object.assign({},L(s,[...fi.allowedProps,...N.allowedProps]),{css:t==null?void 0:t.formFieldLayout,style:{width:d},"aria-describedby":this.hasMessages?this._messagesId:void 0,ref:this.handleRef}),this.elementType==="fieldset"&&this.renderLegend(),f(N,Object.assign({rowSpacing:"small",colSpacing:"small",startAt:h==="inline"&&this.hasVisibleLabel?"medium":null},We(s,N.allowedProps)),f(N.Row,null,this.renderLabel(),f(N.Col,{width:this.inlineContainerAndLabel?"auto":void 0,elementRef:this.handleInputContainerRef},u)),this.renderVisibleMessages()))}},pe.displayName="FormFieldLayout",pe.componentId="FormFieldLayout",pe.propTypes=No,pe.allowedProps=To,pe.defaultProps={inline:!1,layout:"stacked",as:"label",labelAlign:"end"},pe))||Ye)||Ye);const Go={label:o.node.isRequired,id:o.string.isRequired,messages:o.arrayOf(we.message),messagesId:o.string,children:o.node,inline:o.bool,layout:o.oneOf(["stacked","inline"]),labelAlign:o.oneOf(["start","end"]),vAlign:o.oneOf(["top","middle","bottom"]),width:o.string,inputContainerRef:o.func,elementRef:o.func},jo=["label","id","messages","messagesId","children","inline","layout","labelAlign","vAlign","width","inputContainerRef","elementRef"];class oe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(ei,Object.assign({},L(this.props,oe.allowedProps),We(this.props,ei.allowedProps),{label:this.props.label,vAlign:this.props.vAlign,as:"label",htmlFor:this.props.id,elementRef:this.handleRef}))}}oe.displayName="FormField";oe.componentId="FormField";oe.propTypes=Go;oe.allowedProps=jo;oe.defaultProps={inline:!1,layout:"stacked",labelAlign:"end",vAlign:"middle"};const Uo=(n,e,i)=>{const t=e.disabled,s=i.invalid;return{formFieldGroup:{label:"formFieldGroup",border:`${n.borderWidth} ${n.borderStyle} ${n.borderColor}`,borderRadius:n.borderRadius,display:"block",...s&&{borderColor:n.errorBorderColor,padding:n.errorFieldsPadding},...t&&{opacity:.6,cursor:"not-allowed",pointerEvents:"none"}}}},Zo=n=>{const e=n.borders,i=n.colors,t=n.spacing;return{...{borderWidth:e==null?void 0:e.widthSmall,borderStyle:e==null?void 0:e.style,borderColor:"transparent",borderRadius:e==null?void 0:e.radiusMedium,errorBorderColor:i==null?void 0:i.borderDanger,errorFieldsPadding:t==null?void 0:t.xSmall}}},Yo={description:o.node.isRequired,as:o.elementType,messages:o.arrayOf(we.message),messagesId:o.string,disabled:o.bool,children:o.node,layout:o.oneOf(["stacked","columns","inline"]),rowSpacing:o.oneOf(["none","small","medium","large"]),colSpacing:o.oneOf(["none","small","medium","large"]),vAlign:o.oneOf(["top","middle","bottom"]),startAt:o.oneOf(["small","medium","large","x-large",null]),elementRef:o.func},Xo=["description","as","messages","messagesId","disabled","children","layout","rowSpacing","colSpacing","vAlign","startAt","elementRef"],Ko=["styles","makeStyles"];var ot,nt,ce;let rs=(ot=M(Uo,Zo),ot(nt=(ce=class Tt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i,this.makeStylesVariables)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i,this.makeStylesVariables)}get makeStylesVariables(){return{invalid:this.invalid}}get invalid(){return!!this.props.messages&&this.props.messages.findIndex(e=>e.type==="error")>=0}renderColumns(){return b.Children.map(this.props.children,(e,i)=>e?f(N.Col,{width:e.props&&e.props.width?"auto":void 0,key:i},e):null)}renderChildren(){return f(N,{colSpacing:this.props.colSpacing,rowSpacing:this.props.rowSpacing,vAlign:this.props.vAlign,startAt:this.props.startAt||(this.props.layout==="columns"?"medium":null)},f(N.Row,null,this.renderColumns()))}renderFields(){const e=this.props.styles;return f("span",{key:"fields",css:e==null?void 0:e.formFieldGroup},this.renderChildren())}render(){const e=this.props;e.styles,e.makeStyles;const i=B(e,Ko);return f(ei,Object.assign({},L(i,Tt.allowedProps),We(i,ei.allowedProps),{vAlign:i.vAlign,layout:i.layout==="inline"?"inline":"stacked",label:i.description,"aria-disabled":i.disabled?"true":void 0,"aria-invalid":this.invalid?"true":void 0,elementRef:this.handleRef}),this.renderFields())}},ce.displayName="FormFieldGroup",ce.componentId="FormFieldGroup",ce.propTypes=Yo,ce.allowedProps=Xo,ce.defaultProps={as:"fieldset",disabled:!1,rowSpacing:"medium",colSpacing:"small",vAlign:"middle"},ce))||nt);const Jo=(n,e,i)=>{const t=e.size,s=e.textAlign,d=e.shouldNotWrap,h=i.disabled,u=i.invalid,m=i.focused,g=i.beforeElementHasWidth,v=i.afterElementHasWidth,x={small:{fontSize:n.smallFontSize,height:`calc(${n.smallHeight} - (2 * ${n.borderWidth}))`,lineHeight:`calc(${n.smallHeight} - (2 * ${n.borderWidth}))`},medium:{fontSize:n.mediumFontSize,height:`calc(${n.mediumHeight} - (2 * ${n.borderWidth}))`,lineHeight:`calc(${n.mediumHeight} - (2 * ${n.borderWidth}))`},large:{fontSize:n.largeFontSize,height:`calc(${n.largeHeight} - (2 * ${n.borderWidth}))`,lineHeight:`calc(${n.largeHeight} - (2 * ${n.borderWidth}))`}},r=h?{cursor:"not-allowed",pointerEvents:"none",opacity:"0.5"}:{},a=m?{opacity:1,transform:"scale(1)"}:{opacity:0,transform:"scale(0.95)"},l=u?{borderColor:n.errorBorderColor}:{},p=u&&m?{borderColor:n.errorBorderColor}:{},c={all:"initial","&::-ms-clear":{display:"none"},WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",appearance:"none",margin:0,width:"100%",display:"block",boxSizing:"border-box",outline:"none",fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,padding:`0 ${n.padding}`,background:"transparent",border:"none",verticalAlign:"baseline",'&[autocomplete="off"]::-webkit-contacts-auto-fill-button':{display:"none !important"},"&:focus":{boxShadow:"initial"},"&::placeholder":{color:n.placeholderColor},...x[t],textAlign:s},A={boxSizing:"border-box",fontFamily:n.fontFamily,maxWidth:"100%",overflow:"visible",unicodeBidi:"isolate"},z={...A,display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row"},y={...A,flexShrink:0};return{textInput:{label:"textInput",...c,"&:is(input)[type]":c,"&:-webkit-any(input)[type]":c},facade:{label:"textInput__facade",position:"relative",display:"block",boxSizing:"border-box",border:`${n.borderWidth} ${n.borderStyle} ${n.borderColor}`,borderRadius:n.borderRadius,background:n.background,color:n.color,"&::before":{content:'""',pointerEvents:"none",position:"absolute",display:"block",boxSizing:"border-box",top:"-0.25rem",bottom:"-0.25rem",left:"-0.25rem",right:"-0.25rem",border:`${n.focusOutlineWidth} ${n.focusOutlineStyle} ${n.focusOutlineColor}`,borderRadius:`calc(${n.borderRadius} * 1.5)`,transition:"all 0.2s",...a,...p},...r,...l},layout:{label:"textInput__layout",...z,...!d&&{flexWrap:"wrap"}},beforeElement:{label:"textInput__beforeElement",...y,paddingInlineStart:n.padding,...g===!1&&{paddingInlineStart:0}},innerWrapper:{label:"textInput__innerWrapper",...y,minWidth:"0.0625rem",flexShrink:1,flexGrow:1},inputLayout:{label:"textInput__inputLayout",...z},afterElement:{label:"textInput__afterElement",...y,paddingInlineEnd:n.padding,...v===!1&&{paddingInlineEnd:0}}}},Qo=n=>{const e=n.colors,i=n.typography,t=n.borders,s=n.spacing,d=n.forms,h=n.key,u={canvas:{color:n["ic-brand-font-color-dark"],focusOutlineColor:n["ic-brand-primary"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,borderWidth:t==null?void 0:t.widthSmall,borderStyle:t==null?void 0:t.style,borderColor:e==null?void 0:e.borderMedium,borderRadius:t==null?void 0:t.radiusMedium,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,padding:s==null?void 0:s.small,focusOutlineWidth:t==null?void 0:t.widthMedium,focusOutlineStyle:t==null?void 0:t.style,focusOutlineColor:e==null?void 0:e.borderBrand,errorBorderColor:e==null?void 0:e.borderDanger,errorOutlineColor:e==null?void 0:e.borderDanger,placeholderColor:e==null?void 0:e.textDark,smallFontSize:i==null?void 0:i.fontSizeSmall,smallHeight:d==null?void 0:d.inputHeightSmall,mediumFontSize:i==null?void 0:i.fontSizeMedium,mediumHeight:d==null?void 0:d.inputHeightMedium,largeFontSize:i==null?void 0:i.fontSizeLarge,largeHeight:d==null?void 0:d.inputHeightLarge},...u[h]}},en={renderLabel:o.oneOfType([o.node,o.func]),type:o.oneOf(["text","email","url","tel","search","password"]),id:o.string,value:to(o.string),defaultValue:o.string,interaction:o.oneOf(["enabled","disabled","readonly"]),messages:o.arrayOf(we.message),size:o.oneOf(["small","medium","large"]),textAlign:o.oneOf(["start","center"]),width:o.string,htmlSize:o.number,display:o.oneOf(["inline-block","block"]),shouldNotWrap:o.bool,placeholder:o.string,isRequired:o.bool,elementRef:o.func,inputRef:o.func,inputContainerRef:o.func,renderBeforeInput:o.oneOfType([o.node,o.func]),renderAfterInput:o.oneOfType([o.node,o.func]),onChange:o.func,onBlur:o.func,onFocus:o.func},tn=["renderLabel","type","id","value","defaultValue","interaction","messages","size","textAlign","width","htmlSize","display","shouldNotWrap","placeholder","isRequired","elementRef","inputRef","inputContainerRef","renderBeforeInput","renderAfterInput","onChange","onBlur","onFocus"],on=["type","size","htmlSize","display","textAlign","placeholder","value","defaultValue","isRequired","onFocus"];var st,rt,lt,xe,ue;let nn=(st=ii(),rt=M(Jo,Qo),lt=Oi(),st(xe=rt(xe=lt(xe=(ue=class extends b.Component{constructor(e){super(e),this.ref=null,this._input=null,this._beforeElement=null,this._afterElement=null,this._defaultId=void 0,this._messagesId=void 0,this._focusListener=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)},this.makeStyleProps=()=>{const i=this.interaction,t=this.state,s=t.hasFocus,d=t.beforeElementHasWidth,h=t.afterElementHasWidth;return{disabled:i==="disabled",invalid:this.invalid,focused:s,beforeElementHasWidth:d,afterElementHasWidth:h}},this.handleInputRef=i=>{this._input=i,typeof this.props.inputRef=="function"&&this.props.inputRef(i)},this.handleChange=i=>{typeof this.props.onChange=="function"&&this.props.onChange(i,i.target.value)},this.handleBlur=i=>{typeof this.props.onBlur=="function"&&this.props.onBlur(i),this.setState({hasFocus:!1})},this.handleFocus=i=>{typeof this.props.onFocus=="function"&&this.props.onFocus(i),this.setState({hasFocus:!0})},this.state={hasFocus:!1,beforeElementHasWidth:void 0,afterElementHasWidth:void 0},this._defaultId=e.deterministicId(),this._messagesId=e.deterministicId("TextInput-messages")}componentDidMount(){var e,i;this._input&&(this._focusListener=oo(this._input,"focus",this.handleFocus),this.setState({beforeElementHasWidth:this.getElementHasWidth(this._beforeElement),afterElementHasWidth:this.getElementHasWidth(this._afterElement)})),(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i,this.makeStyleProps())}componentWillUnmount(){this._focusListener&&this._focusListener.remove()}componentDidUpdate(e){var i,t;e.renderBeforeInput!==this.props.renderBeforeInput&&this.setState({beforeElementHasWidth:this.getElementHasWidth(this._beforeElement)}),e.renderAfterInput!==this.props.renderAfterInput&&this.setState({afterElementHasWidth:this.getElementHasWidth(this._afterElement)}),De({props:e})!=="disabled"&&De({props:this.props})==="disabled"&&this.setState({hasFocus:!1}),(i=(t=this.props).makeStyles)===null||i===void 0||i.call(t,this.makeStyleProps())}focus(){var e;(e=this._input)===null||e===void 0||e.focus()}get interaction(){return De({props:this.props})}get hasMessages(){return!!this.props.messages&&this.props.messages.length>0}get invalid(){return!!this.props.messages&&this.props.messages.findIndex(e=>e.type==="error")>=0}get focused(){return Bt(this._input)}get value(){var e;return(e=this._input)===null||e===void 0?void 0:e.value}get id(){return this.props.id||this._defaultId}renderInput(){var e;const i=this.props,t=i.type;i.size;const s=i.htmlSize;i.display,i.textAlign;const d=i.placeholder,h=i.value,u=i.defaultValue,m=i.isRequired;i.onFocus;const g=B(i,on),v=Je(g),x=this.interaction;let r="";return v["aria-describedby"]&&(r=`${v["aria-describedby"]}`),this.hasMessages&&(r=r!==""?`${r} ${this._messagesId}`:this._messagesId),f("input",Object.assign({},v,{css:(e=this.props.styles)===null||e===void 0?void 0:e.textInput,defaultValue:u,value:h,placeholder:d,ref:this.handleInputRef,type:t,id:this.id,required:m,"aria-invalid":this.invalid?"true":void 0,disabled:x==="disabled",readOnly:x==="readonly","aria-describedby":r!==""?r:void 0,size:s,onChange:this.handleChange,onBlur:this.handleBlur}))}getElementHasWidth(e){if(!e)return;const i=getComputedStyle(e),t=i.width,s=i.paddingInlineStart,d=i.paddingInlineEnd;return t==="auto"||t===""?!0:parseFloat(t)-parseFloat(s)-parseFloat(d)>0}render(){const e=this.props,i=e.width,t=e.display,s=e.renderLabel,d=e.renderBeforeInput,h=e.renderAfterInput,u=e.messages,m=e.inputContainerRef,g=e.styles,v=d?ie(d):null,x=h?ie(h):null,r=!!v||!!x;return f(oe,{id:this.id,label:ie(s),messagesId:this._messagesId,messages:u,inline:t==="inline-block",width:i,inputContainerRef:m,layout:this.props.layout,elementRef:this.handleRef},f("span",{css:g==null?void 0:g.facade},r?f("div",null,f("span",{css:g==null?void 0:g.layout},v&&f("span",{css:g==null?void 0:g.beforeElement,ref:a=>{this._beforeElement=a}},v),f("span",{css:g==null?void 0:g.innerWrapper},f("span",{css:g==null?void 0:g.inputLayout},f("span",{css:g==null?void 0:g.innerWrapper},this.renderInput()),x&&f("span",{css:g==null?void 0:g.afterElement,ref:a=>{this._afterElement=a}},x))))):this.renderInput()))}},ue.displayName="TextInput",ue.componentId="TextInput",ue.allowedProps=tn,ue.propTypes=en,ue.defaultProps={type:"text",interaction:void 0,isRequired:!1,display:"block",shouldNotWrap:!1,size:"medium",textAlign:"start",messages:[]},ue))||xe)||xe)||xe);const sn=(n,e)=>{const i=e.size,t={small:{fontSize:n.smallIconSize},medium:{fontSize:n.mediumIconSize},large:{fontSize:n.largeIconSize}};return{select:{label:"select",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color},icon:{label:"select__icon",...t[i]},assistiveText:{label:"select__assistiveText",display:"none"}}},rn=n=>{const e=n.colors,i=n.typography;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,smallIconSize:i==null?void 0:i.fontSizeXSmall,mediumIconSize:i==null?void 0:i.fontSizeSmall,largeIconSize:i==null?void 0:i.fontSizeMedium,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest}}},ln={id:o.string.isRequired,isHighlighted:o.bool,isSelected:o.bool,isDisabled:o.bool,renderBeforeLabel:o.oneOfType([o.node,o.func]),renderAfterLabel:o.oneOfType([o.node,o.func]),children:o.node},an=["id","isHighlighted","isSelected","isDisabled","renderBeforeLabel","renderAfterLabel","children"];let T=class extends b.Component{render(){return null}};T.displayName="Option";T.componentId="Select.Option";T.allowedProps=an;T.propTypes=ln;T.defaultProps={isHighlighted:!1,isSelected:!1,isDisabled:!1};const dn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,children:Re.oneOf([T])},pn=["renderLabel","children"];let W=class extends b.Component{render(){return null}};W.displayName="Group";W.componentId="Select.Group";W.allowedProps=pn;W.propTypes=dn;W.defaultProps={};const cn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,inputValue:o.string,id:o.string,size:o.oneOf(["small","medium","large"]),assistiveText:o.string,placeholder:o.string,interaction:o.oneOf(["enabled","disabled","readonly"]),isRequired:o.bool,isInline:o.bool,width:o.string,htmlSize:o.number,visibleOptionsCount:o.number,optionsMaxHeight:o.string,optionsMaxWidth:o.string,messages:o.arrayOf(we.message),placement:ke.placement,constrain:ke.constrain,mountNode:ke.mountNode,onFocus:o.func,onBlur:o.func,onInputChange:o.func,isShowingOptions:o.bool,onRequestShowOptions:o.func,onRequestHideOptions:o.func,onRequestHighlightOption:o.func,onRequestSelectOption:o.func,inputRef:o.func,listRef:o.func,renderBeforeInput:o.oneOfType([o.node,o.func]),renderAfterInput:o.oneOfType([o.node,o.func]),children:Re.oneOf([W,T]),shouldNotWrap:o.bool,scrollToHighlightedOption:o.bool},un=["renderLabel","inputValue","isShowingOptions","id","size","assistiveText","placeholder","interaction","isRequired","isInline","width","htmlSize","visibleOptionsCount","optionsMaxHeight","optionsMaxWidth","messages","placement","constrain","mountNode","onFocus","onBlur","onInputChange","onRequestShowOptions","onRequestHideOptions","onRequestHighlightOption","onRequestSelectOption","inputRef","listRef","renderBeforeInput","renderAfterInput","children","shouldNotWrap","scrollToHighlightedOption"],hn=["id","renderLabel","children"],fn=["renderLabel","inputValue","placeholder","isRequired","shouldNotWrap","size","isInline","width","htmlSize","messages","renderBeforeInput","renderAfterInput","onFocus","onBlur","onInputChange","onRequestHideOptions"],gn=["ref"];var at,dt,pt,$e,Q,ct,ut,ht,ft;const qt=b.memo(function(e){const i=e.optionsItemProps,t=e.children;return f(ye.Item,Object.assign({as:"li"},i),t)},(n,e)=>n.selectOption.props.isHighlighted===e.selectOption.props.isHighlighted&&n.selectOption.props.isSelected===e.selectOption.props.isSelected&&n.selectOption.props.isDisabled===e.selectOption.props.isDisabled&&n.selectOption.props.children===e.selectOption.props.children&&n.selectOption.props.id===e.selectOption.props.id&&n.selectOption.props.renderBeforeLabel===e.selectOption.props.renderBeforeLabel&&n.selectOption.props.renderAfterLabel===e.selectOption.props.renderAfterLabel&&n.children===e.children);qt.displayName="Item";let Xe=(at=ii(),dt=M(sn,rn),pt=Oi(),at($e=dt($e=pt($e=(Q=class Gt extends b.Component{constructor(...e){super(...e),this.state={hasInputRef:!1},this.ref=null,this._input=null,this._defaultId=this.props.deterministicId(),this._inputContainer=null,this._listView=null,this._optionIds=[],this._optionHeight=36,this.handleInputRef=i=>{var t,s;this.state.hasInputRef||this.setState({hasInputRef:!0}),this._input=i,(t=(s=this.props).inputRef)===null||t===void 0||t.call(s,i)},this.handleListRef=i=>{var t,s;(t=(s=this.props).listRef)===null||t===void 0||t.call(s,i),i&&i.querySelector('[role="option"]')&&(this._optionHeight=i.querySelector('[role="option"]').offsetHeight)},this.handleInputContainerRef=i=>{this._inputContainer=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.props.scrollToHighlightedOption&&requestAnimationFrame(()=>this.scrollToOption(this.highlightedOptionId))}focus(){this._input&&this._input.focus()}get childrenArray(){return b.Children.toArray(this.props.children)}getGroupChildrenArray(e){return b.Children.toArray(e.props.children)}get focused(){return this._input?Bt(this._input):!1}get id(){return this.props.id||this._defaultId}get width(){return this._inputContainer?this._inputContainer.offsetWidth:void 0}get interaction(){return De({props:this.props})}get highlightedOptionId(){let e;return this.childrenArray.forEach(i=>{P(i,[W])?this.getGroupChildrenArray(i).forEach(t=>{t.props.isHighlighted&&(e=t.props.id)}):i.props.isHighlighted&&(e=i.props.id)}),e}get selectedOptionId(){const e=[];if(this.childrenArray.forEach(i=>{P(i,[W])?this.getGroupChildrenArray(i).forEach(t=>{t.props.isSelected&&e.push(t.props.id)}):i.props.isSelected&&e.push(i.props.id)}),e.length===1)return e[0];if(e.length!==0)return e}scrollToOption(e){if(this._listView){const i=this._listView.querySelector(`[id="${e}"]`);if(!i)return;const t=i.parentNode,s=Hi(this._listView).top,d=Hi(t).top,h=s+this._listView.clientHeight,u=d+(t?t.clientHeight:0);u>h?this._listView.scrollTop+=u-h:d{t==null||t(h);const u=this.selectedOptionId;u&&!Array.isArray(u)&&this.highlightOption(h,u)},onRequestHideOptions:h=>{s==null||s(h)},onRequestHighlightOption:(h,{id:u,direction:m})=>{if(!i)return;const g=this.highlightedOptionId;let v=this._optionIds.indexOf(u)>-1?u:void 0;if(!v)if(!g)v=this._optionIds[0];else{const x=this._optionIds.indexOf(g);v=x>-1?this._optionIds[x+m]:void 0}v&&this.highlightOption(h,v)},onRequestHighlightFirstOption:h=>{this.highlightOption(h,this._optionIds[0])},onRequestHighlightLastOption:h=>{this.highlightOption(h,this._optionIds[this._optionIds.length-1])},onRequestSelectOption:(h,{id:u})=>{u&&this._optionIds.indexOf(u)!==-1&&(d==null||d(h,{id:u}))}}:{}}renderOption(e,i){const t=i.getOptionProps,s=i.getDisabledOptionProps,d=e.props,h=d.id,u=d.isDisabled,m=d.isHighlighted,g=d.isSelected,v=d.renderBeforeLabel,x=d.renderAfterLabel,r=d.children,a=p=>{var c;return typeof p=="function"&&!(p!=null&&(c=p.prototype)!==null&&c!==void 0&&c.isReactComponent)?p.bind(null,{id:h,isDisabled:u,isSelected:g,isHighlighted:m,children:r}):p};let l={...L(e.props,[...T.allowedProps,...ye.Item.allowedProps]),...t({id:h}),renderBeforeLabel:a(v),renderAfterLabel:a(x)};return g?l.variant="selected":m&&(l.variant="highlighted"),u?(l.variant="disabled",l={...l,...s()}):this._optionIds.push(h),f(qt,{optionsItemProps:l,selectOption:e},r)}renderGroup(e,i){const t=i.getOptionProps,s=i.getDisabledOptionProps,d=i.isFirstChild,h=i.isLastChild,u=i.afterGroup,m=e.props,g=m.id,v=m.renderLabel,x=m.children,r=B(m,hn),a=[];return!d&&!u&&a.push(ct||(ct=f(ye.Separator,null))),a.push(f(ye,Object.assign({id:g,as:"ul",role:"group",renderLabel:v},L(r,[...ye.allowedProps,...W.allowedProps])),b.Children.map(x,l=>this.renderOption(l,{getOptionProps:t,getDisabledOptionProps:s})))),h||a.push(ut||(ut=f(ye.Separator,null))),a}renderList(e){const i=e.getListProps,t=e.getOptionProps,s=e.getDisabledOptionProps,d=this.props,h=d.isShowingOptions,u=d.optionsMaxWidth,m=d.optionsMaxHeight,g=d.visibleOptionsCount,v=d.children;let x=!1;const r=h?{display:"block",overflowY:"auto",maxHeight:m||this._optionHeight*g,maxWidth:u||this.width,background:"primary",elementRef:a=>this._listView=a}:{maxHeight:0};return f(G,r,f(ye,i({as:"ul",elementRef:this.handleListRef}),h?b.Children.map(v,(a,l)=>{if(!(!a||!P(a,[W,T]))){if(P(a,[T]))return x=!1,this.renderOption(a,{getOptionProps:t,getDisabledOptionProps:s});if(P(a,[W])){const p=x;return x=!0,this.renderGroup(a,{getOptionProps:t,getDisabledOptionProps:s,isFirstChild:l===0,isLastChild:l===b.Children.count(v)-1,afterGroup:p})}}}):null))}renderIcon(){const e=this.props,i=e.styles,t=e.isShowingOptions;return f("span",{css:i==null?void 0:i.icon},t?ht||(ht=f(Ae,{inline:!1})):ft||(ft=f(Ie,{inline:!1})))}renderInput(e){const i=e.getInputProps,t=e.getTriggerProps,s=this.props,d=s.renderLabel,h=s.inputValue,u=s.placeholder,m=s.isRequired,g=s.shouldNotWrap,v=s.size,x=s.isInline,r=s.width,a=s.htmlSize,l=s.messages,p=s.renderBeforeInput,c=s.renderAfterInput,A=s.onFocus,z=s.onBlur,y=s.onInputChange,w=s.onRequestHideOptions,S=B(s,fn),k=this.interaction,D=L(S,Gt.allowedProps),Se=t({...D}),Oe=Se.ref,ne=B(Se,gn),He=typeof y<"u",Me=He?{}:{role:po()?"button":"combobox",title:h,"aria-autocomplete":void 0,"aria-readonly":!0};D.autoComplete&&(Me.autoComplete=D.autoComplete);const X={id:this.id,renderLabel:d,placeholder:u,size:v,width:r,htmlSize:a,messages:l,value:h,inputRef:Mi(Oe,this.handleInputRef),inputContainerRef:this.handleInputContainerRef,interaction:k==="enabled"&&!He?"readonly":k,isRequired:m,shouldNotWrap:g,display:x?"inline-block":"block",renderBeforeInput:p,renderAfterInput:c||this.renderIcon(),onChange:typeof y=="function"?y:h?()=>{}:void 0,onFocus:A,onBlur:Mi(z,w),...Me};return f(nn,Object.assign({},ne,i(X)))}render(){const e=this.props,i=e.constrain,t=e.placement,s=e.mountNode,d=e.assistiveText,h=e.isShowingOptions,u=e.styles;this._optionIds=[];const m=this.highlightedOptionId,g=this.selectedOptionId;return f(no,Object.assign({highlightedOptionId:m,isShowingOptions:h,selectedOptionId:g},this.getEventHandlers()),({getRootProps:v,getInputProps:x,getTriggerProps:r,getListProps:a,getOptionProps:l,getDisabledOptionProps:p,getDescriptionProps:c})=>f("span",Object.assign({},v({css:u==null?void 0:u.select}),{ref:A=>this.ref=A}),this.renderInput({getInputProps:x,getTriggerProps:r}),f("span",Object.assign({},c(),{css:u==null?void 0:u.assistiveText}),d),f(so,{constrain:i,placement:t,mountNode:s,positionTarget:this._inputContainer,isShowingContent:h,shouldReturnFocus:!1,withArrow:!1},this.renderList({getListProps:a,getOptionProps:l,getDisabledOptionProps:p}))))}},Q.displayName="Select",Q.componentId="Select",Q.allowedProps=un,Q.propTypes=cn,Q.defaultProps={inputValue:"",isShowingOptions:!1,size:"medium",interaction:void 0,isRequired:!1,isInline:!1,visibleOptionsCount:8,placement:"bottom stretch",constrain:"window",shouldNotWrap:!1,scrollToHighlightedOption:!0},Q.Option=T,Q.Group=W,Q))||$e)||$e)||$e);const mn={id:o.string.isRequired,value:o.oneOfType([o.string,o.number]).isRequired,isDisabled:o.bool,renderBeforeLabel:o.oneOfType([o.node,o.func]),renderAfterLabel:o.oneOfType([o.node,o.func]),children:o.string},bn=["id","value","isDisabled","renderBeforeLabel","renderAfterLabel","children"];class q extends b.Component{render(){return null}}q.displayName="Option";q.componentId="SimpleSelect.Option";q.allowedProps=bn;q.propTypes=mn;q.defaultProps={isDisabled:!1};const vn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,children:Re.oneOf([q])},yn=["renderLabel","children"];class Y extends b.Component{render(){return null}}Y.displayName="Group";Y.componentId="SimpleSelect.Group";Y.allowedProps=yn;Y.propTypes=vn;Y.defaultProps={};const wn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,value:o.oneOfType([o.string,o.number]),defaultValue:o.string,id:o.string,size:o.oneOf(["small","medium","large"]),assistiveText:o.string,placeholder:o.string,interaction:o.oneOf(["enabled","disabled","readonly"]),isRequired:o.bool,isInline:o.bool,width:o.string,visibleOptionsCount:o.number,optionsMaxHeight:o.string,optionsMaxWidth:o.string,messages:o.arrayOf(we.message),placement:ke.placement,constrain:ke.constrain,mountNode:ke.mountNode,onChange:o.func,onFocus:o.func,onBlur:o.func,onShowOptions:o.func,onHideOptions:o.func,inputRef:o.func,listRef:o.func,renderEmptyOption:o.oneOfType([o.node,o.func]),renderBeforeInput:o.oneOfType([o.node,o.func]),renderAfterInput:o.oneOfType([o.node,o.func]),children:Re.oneOf([Y,q])},Sn=["renderLabel","value","defaultValue","id","size","assistiveText","placeholder","interaction","isRequired","isInline","width","visibleOptionsCount","optionsMaxHeight","optionsMaxWidth","messages","placement","constrain","mountNode","onChange","onFocus","onBlur","onShowOptions","onHideOptions","inputRef","listRef","renderEmptyOption","renderBeforeInput","renderAfterInput","children"],On=["id","value","children","renderBeforeLabel","renderAfterLabel"],_n=["id","renderLabel","children"],xn=["renderLabel","value","defaultValue","id","size","assistiveText","placeholder","interaction","isRequired","isInline","width","optionsMaxWidth","optionsMaxHeight","visibleOptionsCount","messages","placement","constrain","mountNode","inputRef","listRef","renderEmptyOption","renderBeforeInput","renderAfterInput","onFocus","onBlur","onShowOptions","onHideOptions","children"];var gt,mt,Ke,ee;let bt=(gt=ii(),mt=Oi(),gt(Ke=mt(Ke=(ee=class extends b.Component{constructor(e){super(e),this.ref=null,this._emptyOptionId=void 0,this.getOption=(t,s)=>{const d=b.Children.toArray(this.props.children);let h;for(let u=0;u{this.ref=t},this.handleBlur=t=>{this.setState({highlightedOptionId:void 0}),typeof this.props.onBlur=="function"&&this.props.onBlur(t)},this.handleShowOptions=t=>{this.setState({isShowingOptions:!0}),typeof this.props.onShowOptions=="function"&&this.props.onShowOptions(t)},this.handleHideOptions=t=>{this.setState(s=>{const d=this.getOption("id",s.selectedOptionId);return{isShowingOptions:!1,highlightedOptionId:void 0,inputValue:d?d.props.children:""}}),typeof this.props.onHideOptions=="function"&&this.props.onHideOptions(t)},this.handleHighlightOption=(t,{id:s})=>{if(s===this._emptyOptionId)return;const d=this.getOption("id",s),h=d==null?void 0:d.props.children,u=t.type==="keydown"?h:this.state.inputValue;this.setState({highlightedOptionId:s,inputValue:u})},this.handleSelectOption=(t,{id:s})=>{if(s===this._emptyOptionId){this.setState({isShowingOptions:!1});return}const d=this.getOption("id",s),h=d&&d.props.value;this.isControlled?this.setState({isShowingOptions:!1}):this.setState(u=>({isShowingOptions:!1,selectedOptionId:s,inputValue:d?d.props.children:u.inputValue})),d&&typeof this.props.onChange=="function"&&this.props.onChange(t,{value:h,id:s}),typeof this.props.onHideOptions=="function"&&this.props.onHideOptions(t)};const i=this.getInitialOption(e);this.state={inputValue:i?i.props.children:"",isShowingOptions:!1,highlightedOptionId:void 0,selectedOptionId:i?i.props.id:void 0},this._emptyOptionId=e.deterministicId("Select-EmptyOption")}get _select(){return this.ref}focus(){this.ref&&this.ref.focus()}get focused(){return this.ref?this.ref.focused:!1}get id(){return this.ref?this.ref.id:void 0}get isControlled(){return typeof this.props.value<"u"}get interaction(){return De({props:this.props})}componentDidUpdate(e){if(this.props.value!==e.value){let i=this.getOption("value",this.props.value);typeof this.props.value>"u"&&(i=this.getOption("value",e.value)),this.setState({inputValue:i?i.props.children:"",selectedOptionId:i?i.props.id:""})}}getInitialOption(e){const i=e.value,t=e.defaultValue,s=i||t;return typeof s=="string"||typeof s=="number"?this.getOption("value",s):this.getFirstOption()}getOptionLabelById(e){const i=this.getOption("id",e);return i?i.props.children:""}getFirstOption(){const e=b.Children.toArray(this.props.children);let i;for(let t=0;tP(i,[q])?this.renderOption(i):P(i,[Y])?this.renderGroup(i):null).filter(i=>!!i),e.length===0?this.renderEmptyOption():e}renderEmptyOption(){return H.createElement(Xe.Option,{id:this._emptyOptionId,isHighlighted:!1,isSelected:!1},ie(this.props.renderEmptyOption))}renderOption(e){const i=e.props,t=i.id,s=i.value,d=i.children,h=i.renderBeforeLabel,u=i.renderAfterLabel,m=B(i,On),g=e.props.isDisabled,v=t===this.state.selectedOptionId,x=t===this.state.highlightedOptionId,r=a=>{var l;return typeof a=="function"&&!(a!=null&&(l=a.prototype)!==null&&l!==void 0&&l.isReactComponent)?a.bind(null,{id:t,isDisabled:g,isSelected:v,isHighlighted:x,children:d}):a};return H.createElement(Xe.Option,Object.assign({id:t,value:s,key:e.key||t,isHighlighted:t===this.state.highlightedOptionId,isSelected:t===this.state.selectedOptionId,isDisabled:e.props.isDisabled,renderBeforeLabel:r(h),renderAfterLabel:r(u)},Je(m)),d)}renderGroup(e){const i=e.props,t=i.id,s=i.renderLabel,d=i.children,h=B(i,_n);return H.createElement(Xe.Group,Object.assign({renderLabel:s,key:e.key||t},Je(h)),b.Children.map(d,u=>this.renderOption(u)))}render(){const e=this.props,i=e.renderLabel;e.value,e.defaultValue;const t=e.id,s=e.size,d=e.assistiveText,h=e.placeholder;e.interaction;const u=e.isRequired,m=e.isInline,g=e.width,v=e.optionsMaxWidth,x=e.optionsMaxHeight,r=e.visibleOptionsCount,a=e.messages,l=e.placement,p=e.constrain,c=e.mountNode,A=e.inputRef,z=e.listRef;e.renderEmptyOption;const y=e.renderBeforeInput,w=e.renderAfterInput,S=e.onFocus;e.onBlur,e.onShowOptions,e.onHideOptions,e.children;const k=B(e,xn);return H.createElement(Xe,Object.assign({renderLabel:i,inputValue:this.state.inputValue,isShowingOptions:this.state.isShowingOptions,id:t,size:s,assistiveText:d,placeholder:h,interaction:this.interaction,isRequired:u,isInline:m,width:g,optionsMaxWidth:v,optionsMaxHeight:x,visibleOptionsCount:r,messages:a,placement:l,constrain:p,mountNode:c,ref:this.handleRef,inputRef:A,listRef:z,renderBeforeInput:y,renderAfterInput:w,onFocus:S,onBlur:this.handleBlur,onRequestShowOptions:this.handleShowOptions,onRequestHideOptions:this.handleHideOptions,onRequestHighlightOption:this.handleHighlightOption,onRequestSelectOption:this.handleSelectOption},Je(k)),this.renderChildren())}},ee.displayName="SimpleSelect",ee.componentId="SimpleSelect",ee.Option=q,ee.Group=Y,ee.allowedProps=Sn,ee.propTypes=wn,ee.defaultProps={size:"medium",isRequired:!1,isInline:!1,visibleOptionsCount:8,placement:"bottom stretch",constrain:"window",renderEmptyOption:"---"},ee))||Ke)||Ke);const $n=(n,e)=>{const i=e.layout;return{table:{label:"table",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background,display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,...i==="fixed"&&{tableLayout:"fixed"},caption:{textAlign:"start"}}}},kn=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{color:n["ic-brand-font-color-dark"]}};return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest},...s[t]}},Rn=n=>({head:{label:"head",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background}}),Cn=n=>{const e=n.colors,i=n.typography;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest}}},In=(n,e)=>{const i=e.hover,t=e.isStacked;return{row:{label:"row",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background,boxSizing:"border-box",borderBottomStyle:"solid",borderBottomWidth:"0.0625rem",borderBottomColor:n.borderColor,...i&&{borderLeft:"0.1875rem solid transparent",borderRight:"0.1875rem solid transparent","&:hover":{borderLeftColor:n.hoverBorderColor,borderRightColor:n.hoverBorderColor}},...t&&{padding:n.padding}}}},An=n=>{const e=n.colors,i=n.typography,t=n.spacing,s=n.key,d={canvas:{hoverBorderColor:n["ic-brand-primary"]}};return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,borderColor:e==null?void 0:e.borderMedium,hoverBorderColor:e==null?void 0:e.borderBrand,padding:`${t==null?void 0:t.xSmall} 0`},...d[s]}},Ln={children:o.node,hover:o.bool,isStacked:o.bool,headers:o.arrayOf(o.oneOfType([o.node,o.func]))},Fn=["children","hover","isStacked","headers"];var vt,yt,he;let gi=(vt=M(In,An),vt(yt=(he=class mi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles,s=e.isStacked,d=e.headers;return f(G,Object.assign({},G.omitViewProps(L(this.props,mi.allowedProps),mi),{as:s?"div":"tr",css:t==null?void 0:t.row,role:s?"row":void 0}),b.Children.toArray(i).filter(Boolean).map((h,u)=>Ve(h,{key:h.props.name,isStacked:s,header:d&&d[u]})))}},he.displayName="Row",he.componentId="Table.Row",he.allowedProps=Fn,he.propTypes=Ln,he.defaultProps={children:null},he))||yt);const Pn=(n,e)=>{const i=e.onRequestSort,t=e.textAlign,s={color:n.color,fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:"bold",lineHeight:n.lineHeight,padding:n.padding},d={start:{flexDirection:"row"},center:{justifyContent:"center"},end:{flexDirection:"row-reverse"}};return{colHeader:{label:"colHeader",background:n.background,verticalAlign:"middle",boxSizing:"border-box",...!i&&s,textAlign:t},button:{label:"colHeader__button",...s,display:"flex",alignItems:"center",boxSizing:"border-box",border:"none",width:"100%",height:"100%",background:"transparent",cursor:"pointer",outline:"none","&::-moz-focus-inner":{border:0},"&:focus":{outline:`${n.focusOutlineWidth} ${n.focusOutlineStyle} ${n.focusOutlineColor}`},...d[t]},buttonContent:{label:"colHeader__buttonContent",display:"flex",alignItems:"center"}}},Hn=n=>{const e=n.typography,i=n.colors,t=n.borders,s=n.spacing;return{...{fontSize:e==null?void 0:e.fontSizeMedium,fontFamily:e==null?void 0:e.fontFamily,color:i==null?void 0:i.textDarkest,background:i==null?void 0:i.backgroundLightest,borderColor:i==null?void 0:i.borderMedium,lineHeight:e==null?void 0:e.lineHeightCondensed,padding:`${s==null?void 0:s.xSmall} ${s==null?void 0:s.small}`,focusOutlineColor:i==null?void 0:i.borderBrand,focusOutlineWidth:t==null?void 0:t.widthMedium,focusOutlineStyle:t==null?void 0:t.style}}},Mn={id:o.string.isRequired,stackedSortByLabel:o.string,children:o.oneOfType([o.node,o.func]),width:o.oneOfType([o.string,o.number]),textAlign:o.oneOf(["start","center","end"]),sortDirection:o.oneOf(["none","ascending","descending"]),onRequestSort:o.func,scope:o.oneOf(["row","col","rowgroup","colgroup","auto"])},zn=["id","stackedSortByLabel","children","width","textAlign","sortDirection","onRequestSort","scope"];var wt,St,fe,Ot,_t;let bi=(wt=M(Pn,Hn),wt(St=(fe=class jt extends b.Component{constructor(...e){super(...e),this.handleClick=i=>{const t=this.props,s=t.id,d=t.onRequestSort;d&&d(i,{id:s})}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderSortArrow(){const e=this.props,i=e.sortDirection,t=e.onRequestSort;if(i==="ascending")return Ot||(Ot=f(Pe,null));if(i==="descending")return _t||(_t=f(Fe,null));if(t)return f(Le,{css:{opacity:"30%"}})}render(){const e=this.props,i=e.onRequestSort,t=e.width,s=e.children,d=e.sortDirection,h=e.scope,u=e.styles;return f("th",Object.assign({},L(this.props,jt.allowedProps),{css:u==null?void 0:u.colHeader,style:{width:t},scope:h,"aria-sort":d}),i&&f("button",{onClick:this.handleClick,css:u==null?void 0:u.button},f("div",{css:u==null?void 0:u.buttonContent},ie(s),this.renderSortArrow())),!i&&s,!i&&this.renderSortArrow())}},fe.displayName="ColHeader",fe.componentId="Table.ColHeader",fe.allowedProps=zn,fe.propTypes=Mn,fe.defaultProps={textAlign:"start",sortDirection:"none",children:null,scope:"col"},fe))||St);const En={children:o.node,isStacked:o.bool,renderSortLabel:o.oneOfType([o.node,o.func])},Bn=["children","isStacked","renderSortLabel"];var xt,$t,ge,kt;let Dn=(xt=M(Rn,Cn),xt($t=(ge=class Ut extends b.Component{get isSortable(){const e=b.Children.toArray(this.props.children),i=Qe(e,1),t=i[0];let s=!1;return t&&b.Children.forEach(t.props.children,d=>{P(d,[bi])&&d.props.onRequestSort&&(s=!0)}),s}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;this.isSortable&&typeof this.props.renderSortLabel>"u"&&Mt(!1,"[Table.Head] The `renderSortLabel` prop should be provided when Table is sortable."),(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderSelect(){const e=this.props,i=e.children,t=e.renderSortLabel,s=b.Children.toArray(i),d=Qe(s,1),h=d[0];if(!P(h,[gi]))return null;const u=[],m={};let g,v=0;if(b.Children.forEach(h.props.children,r=>{if(v+=1,P(r,[bi])){const a=r.props,l=a.id,p=a.stackedSortByLabel,c=a.sortDirection,A=a.onRequestSort,z=p||l;A&&(u.push({id:l,label:z}),m[l]=A,c!=="none"&&(g=l))}}),!u.length)return null;const x=(r,{value:a})=>{a&&typeof m[a]=="function"&&m[a](r,{id:`${a}`})};return f("div",{role:"rowgroup"},f("div",{role:"row"},f("div",{role:"cell","aria-colspan":v},f(bt,{renderLabel:t?ie(t):kt||(kt=f(Ce,null)),renderBeforeInput:g&&te,value:g,onChange:x},u.map(({id:r,label:a})=>f(bt.Option,{id:r,key:r,value:r,renderBeforeLabel:r===g?te:()=>f(te,{style:{color:"transparent"}})},a))))))}render(){const e=this.props,i=e.children,t=e.isStacked,s=e.styles;return t?this.renderSelect():f("thead",Object.assign({},L(this.props,Ut.allowedProps),{css:s==null?void 0:s.head}),b.Children.map(i,d=>P(d,[gi])?d:null))}},ge.displayName="Head",ge.componentId="Table.Head",ge.allowedProps=Bn,ge.propTypes=En,ge.defaultProps={children:null},ge))||$t);const Wn=n=>({body:{label:"body",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background}}),Vn=n=>{const e=n.colors,i=n.typography;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest}}},Nn={children:o.node,hover:o.bool,isStacked:o.bool,headers:o.arrayOf(o.oneOfType([o.node,o.func]))},Tn=["children","hover","isStacked","headers"];var Rt,Ct,me;let qn=(Rt=M(Wn,Vn),Rt(Ct=(me=class vi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.hover,s=e.isStacked,d=e.headers,h=e.styles;return f(G,Object.assign({},G.omitViewProps(L(this.props,vi.allowedProps),vi),{as:s?"div":"tbody",css:h==null?void 0:h.body,role:s?"rowgroup":void 0}),b.Children.map(i,u=>Ve(u,{key:u.props.name,hover:t,isStacked:s,headers:d})))}},me.displayName="Body",me.componentId="Table.Body",me.allowedProps=Tn,me.propTypes=Nn,me.defaultProps={children:null},me))||Ct);const Gn=(n,e)=>{const i=e.textAlign;return{rowHeader:{label:"rowHeader",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:"bold",color:n.color,background:n.background,boxSizing:"border-box",verticalAlign:"middle",lineHeight:n.lineHeight,padding:n.padding,...i&&{textAlign:i}}}},jn=n=>{const e=n.colors,i=n.typography,t=n.spacing;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,borderColor:e==null?void 0:e.borderMedium,lineHeight:i==null?void 0:i.lineHeightCondensed,padding:`${t==null?void 0:t.xSmall} ${t==null?void 0:t.small}`}}},Un={children:o.oneOfType([o.node,o.func]),isStacked:o.bool,textAlign:o.oneOf(["start","center","end"])},Zn=["children","isStacked","textAlign"];var It,At,be;let Yn=(It=M(Gn,jn),It(At=(be=class yi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.isStacked,s=e.styles;return f(G,Object.assign({},G.omitViewProps(L(this.props,yi.allowedProps),yi),{as:t?"div":"th",css:s==null?void 0:s.rowHeader,scope:"row",role:t?"rowheader":void 0}),ie(i))}},be.displayName="RowHeader",be.componentId="Table.RowHeader",be.allowedProps=Zn,be.propTypes=Un,be.defaultProps={textAlign:"start",children:null},be))||At);const Xn=(n,e)=>{const i=e.textAlign;return{cell:{label:"cell",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background,boxSizing:"border-box",verticalAlign:"middle",lineHeight:n.lineHeight,padding:n.padding,...i&&{textAlign:i}}}},Kn=n=>{const e=n.colors,i=n.typography,t=n.spacing;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,borderColor:e==null?void 0:e.borderMedium,lineHeight:i==null?void 0:i.lineHeightCondensed,padding:`${t==null?void 0:t.xSmall} ${t==null?void 0:t.small}`}}},Jn={children:o.oneOfType([o.node,o.func]),isStacked:o.bool,header:o.oneOfType([o.node,o.func]),textAlign:o.oneOf(["start","center","end"])},Qn=["children","isStacked","header","textAlign"];var Lt,Ft,ve;let es=(Lt=M(Xn,Kn),Lt(Ft=(ve=class wi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles,s=e.isStacked,d=e.header;return f(G,Object.assign({},G.omitViewProps(L(this.props,wi.allowedProps),wi),{as:s?"div":"td",css:t==null?void 0:t.cell,role:s?"cell":void 0}),d&&ie(d),d&&": ",ie(i))}},ve.displayName="Cell",ve.componentId="Table.Cell",ve.allowedProps=Qn,ve.propTypes=Jn,ve.defaultProps={textAlign:"start",children:null},ve))||Ft);const is={caption:o.node.isRequired,children:o.node,margin:io.spacing,elementRef:o.func,hover:o.bool,layout:o.oneOf(["auto","fixed","stacked"])},ts=["caption","children","margin","elementRef","hover","layout"];var Pt,Ht,E;let cs=(Pt=M($n,kn),Pt(Ht=(E=class Si extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}getHeaders(){const e=this.props.children,i=b.Children.toArray(e),t=Qe(i,1),s=t[0],d=b.Children.toArray(s.props.children),h=Qe(d,1),u=h[0];if(u)return b.Children.map(u.props.children,m=>m.props.children)}render(){const e=this.props,i=e.margin,t=e.layout,s=e.caption,d=e.children,h=e.hover,u=e.styles,m=t==="stacked",g=m?this.getHeaders():void 0;return f(G,Object.assign({},G.omitViewProps(L(this.props,Si.allowedProps),Si),{as:m?"div":"table",margin:i,elementRef:this.handleRef,css:u==null?void 0:u.table,role:m?"table":void 0,"aria-label":m?s:void 0}),!m&&f("caption",null,f(Ce,null,s)),b.Children.map(d,v=>Ve(v,{key:v.props.name,isStacked:m,hover:h,headers:g})))}},E.displayName="Table",E.componentId="Table",E.allowedProps=ts,E.propTypes=is,E.defaultProps={children:null,hover:!1,layout:"auto"},E.Head=Dn,E.Body=qn,E.Row=gi,E.ColHeader=bi,E.RowHeader=Yn,E.Cell=es,E))||Ht);export{rs as F,N as G,Ie as I,bt as S,nn as T,cs as a,we as b,et as c,Xe as d,Ae as e,oe as f,Lo as g,zo as h,ei as i,pi as j,_i as k,te as l,Le as m,Fe as n,Pe as o}; diff --git a/assets/index-BX9l5wvn.js b/assets/index-BER2qAwk.js similarity index 99% rename from assets/index-BX9l5wvn.js rename to assets/index-BER2qAwk.js index a0b87ef..c6c307e 100644 --- a/assets/index-BX9l5wvn.js +++ b/assets/index-BER2qAwk.js @@ -1,4 +1,4 @@ -import{k as Su,l as Cu,R as ga}from"./index-DVuP2ZA1.js";var wa={exports:{}};(function(Tt,_){(function(x,W){Tt.exports=W()})(Su,function(){var x=navigator.userAgent,W=navigator.platform,k=/gecko\/\d/i.test(x),y=/MSIE \d/.test(x),C=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(x),q=/Edge\/(\d+)/.exec(x),T=y||C||q,se=T&&(y?document.documentMode||6:+(q||C)[1]),ie=!q&&/WebKit\//.test(x),ve=ie&&/Qt\/\d+\.\d+/.test(x),ee=!q&&/Chrome\/(\d+)/.exec(x),j=ee&&+ee[1],E=/Opera\//.test(x),K=/Apple Computer/.test(navigator.vendor),ce=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(x),ue=/PhantomJS/.test(x),te=K&&(/Mobile\/\w+/.test(x)||navigator.maxTouchPoints>2),Q=/Android/.test(x),fe=te||Q||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(x),De=te||/Mac/.test(W),Ge=/\bCrOS\b/.test(x),nt=/win/i.test(W),Pe=E&&x.match(/Version\/(\d*\.\d*)/);Pe&&(Pe=Number(Pe[1])),Pe&&Pe>=15&&(E=!1,ie=!0);var He=De&&(ve||E&&(Pe==null||Pe<12.11)),pe=k||T&&se>=9;function I(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var We=function(e,t){var i=e.className,r=I(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function D(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Y(e,t){return D(e).appendChild(t)}function c(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return l+(t-o);l+=a-o,l+=i-l%i,o=a+1}}var he=function(){this.id=null,this.f=null,this.time=0,this.handler=re(this.onTimeout,this)};he.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},he.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i=t)return r+Math.min(l,t-n);if(n+=o-r,n+=i-n%i,r=o+1,n>=t)return r}}var Ke=[""];function ot(e){for(;Ke.length<=e;)Ke.push(ye(Ke)+" ");return Ke[e]}function ye(e){return e[e.length-1]}function Ce(e,t){for(var i=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Le.test(e))}function Xt(e,t){return t?t.source.indexOf("\\w")>-1&&at(e)?!0:t.test(e):at(e)}function Wi(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Yt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Xe(e){return e.charCodeAt(0)>=768&&Yt.test(e)}function ir(e,t,i){for(;(i<0?t>0:ti?-1:1;;){if(t==i)return t;var n=(t+i)/2,o=r<0?Math.ceil(n):Math.floor(n);if(o==t)return e(o)?t:i;e(o)?i=o:t=o+r}}function nr(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,o=0;ot||t==i&&l.to==t)&&(r(Math.max(l.from,t),Math.min(l.to,i),l.level==1?"rtl":"ltr",o),n=!0)}n||r(t,i,"ltr")}var yr=null;function or(e,t,i){var r;yr=null;for(var n=0;nt)return n;o.to==t&&(o.from!=o.to&&i=="before"?r=n:yr=n),o.from==t&&(o.from!=o.to&&i!="before"?r=n:yr=n)}return r??yr}var mn=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,o=/[LRr]/,l=/[Lb1n]/,a=/[1n]/;function s(u,d,g){this.level=u,this.from=d,this.to=g}return function(u,d){var g=d=="ltr"?"L":"R";if(u.length==0||d=="ltr"&&!r.test(u))return!1;for(var b=u.length,m=[],L=0;L-1&&(r[t]=n.slice(0,o).concat(n.slice(o+1)))}}}function Re(e,t){var i=$t(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n0}function Et(e){e.prototype.on=function(t,i){le(this,t,i)},e.prototype.off=function(t,i){st(this,t,i)}}function ut(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Er(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function gt(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function lr(e){ut(e),Er(e)}function ni(e){return e.target||e.srcElement}function Nt(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),De&&e.ctrlKey&&t==1&&(t=3),t}var xn=function(){if(T&&se<9)return!1;var e=c("div");return"draggable"in e||"dragDrop"in e}(),Nr;function zi(e){if(Nr==null){var t=c("span","​");Y(e,c("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Nr=t.offsetWidth<=1&&t.offsetHeight>2&&!(T&&se<8))}var i=Nr?c("span","​"):c("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var oi;function ar(e){if(oi!=null)return oi;var t=Y(e,document.createTextNode("AخA")),i=N(t,0,1).getBoundingClientRect(),r=N(t,1,2).getBoundingClientRect();return D(e),!i||i.left==i.right?!1:oi=r.right-i.right<3}var Ft=` +import{k as Su,l as Cu,R as ga}from"./index-D8uc6p-q.js";var wa={exports:{}};(function(Tt,_){(function(x,W){Tt.exports=W()})(Su,function(){var x=navigator.userAgent,W=navigator.platform,k=/gecko\/\d/i.test(x),y=/MSIE \d/.test(x),C=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(x),q=/Edge\/(\d+)/.exec(x),T=y||C||q,se=T&&(y?document.documentMode||6:+(q||C)[1]),ie=!q&&/WebKit\//.test(x),ve=ie&&/Qt\/\d+\.\d+/.test(x),ee=!q&&/Chrome\/(\d+)/.exec(x),j=ee&&+ee[1],E=/Opera\//.test(x),K=/Apple Computer/.test(navigator.vendor),ce=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(x),ue=/PhantomJS/.test(x),te=K&&(/Mobile\/\w+/.test(x)||navigator.maxTouchPoints>2),Q=/Android/.test(x),fe=te||Q||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(x),De=te||/Mac/.test(W),Ge=/\bCrOS\b/.test(x),nt=/win/i.test(W),Pe=E&&x.match(/Version\/(\d*\.\d*)/);Pe&&(Pe=Number(Pe[1])),Pe&&Pe>=15&&(E=!1,ie=!0);var He=De&&(ve||E&&(Pe==null||Pe<12.11)),pe=k||T&&se>=9;function I(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var We=function(e,t){var i=e.className,r=I(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function D(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Y(e,t){return D(e).appendChild(t)}function c(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return l+(t-o);l+=a-o,l+=i-l%i,o=a+1}}var he=function(){this.id=null,this.f=null,this.time=0,this.handler=re(this.onTimeout,this)};he.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},he.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i=t)return r+Math.min(l,t-n);if(n+=o-r,n+=i-n%i,r=o+1,n>=t)return r}}var Ke=[""];function ot(e){for(;Ke.length<=e;)Ke.push(ye(Ke)+" ");return Ke[e]}function ye(e){return e[e.length-1]}function Ce(e,t){for(var i=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Le.test(e))}function Xt(e,t){return t?t.source.indexOf("\\w")>-1&&at(e)?!0:t.test(e):at(e)}function Wi(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Yt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Xe(e){return e.charCodeAt(0)>=768&&Yt.test(e)}function ir(e,t,i){for(;(i<0?t>0:ti?-1:1;;){if(t==i)return t;var n=(t+i)/2,o=r<0?Math.ceil(n):Math.floor(n);if(o==t)return e(o)?t:i;e(o)?i=o:t=o+r}}function nr(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,o=0;ot||t==i&&l.to==t)&&(r(Math.max(l.from,t),Math.min(l.to,i),l.level==1?"rtl":"ltr",o),n=!0)}n||r(t,i,"ltr")}var yr=null;function or(e,t,i){var r;yr=null;for(var n=0;nt)return n;o.to==t&&(o.from!=o.to&&i=="before"?r=n:yr=n),o.from==t&&(o.from!=o.to&&i!="before"?r=n:yr=n)}return r??yr}var mn=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,o=/[LRr]/,l=/[Lb1n]/,a=/[1n]/;function s(u,d,g){this.level=u,this.from=d,this.to=g}return function(u,d){var g=d=="ltr"?"L":"R";if(u.length==0||d=="ltr"&&!r.test(u))return!1;for(var b=u.length,m=[],L=0;L-1&&(r[t]=n.slice(0,o).concat(n.slice(o+1)))}}}function Re(e,t){var i=$t(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n0}function Et(e){e.prototype.on=function(t,i){le(this,t,i)},e.prototype.off=function(t,i){st(this,t,i)}}function ut(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Er(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function gt(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function lr(e){ut(e),Er(e)}function ni(e){return e.target||e.srcElement}function Nt(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),De&&e.ctrlKey&&t==1&&(t=3),t}var xn=function(){if(T&&se<9)return!1;var e=c("div");return"draggable"in e||"dragDrop"in e}(),Nr;function zi(e){if(Nr==null){var t=c("span","​");Y(e,c("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Nr=t.offsetWidth<=1&&t.offsetHeight>2&&!(T&&se<8))}var i=Nr?c("span","​"):c("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var oi;function ar(e){if(oi!=null)return oi;var t=Y(e,document.createTextNode("AخA")),i=N(t,0,1).getBoundingClientRect(),r=N(t,1,2).getBoundingClientRect();return D(e),!i||i.left==i.right?!1:oi=r.right-i.right<3}var Ft=` b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],r=e.length;t<=r;){var n=e.indexOf(` `,t);n==-1&&(n=e.length);var o=e.slice(t,e.charAt(n-1)=="\r"?n-1:n),l=o.indexOf("\r");l!=-1?(i.push(o.slice(0,l)),t+=l+1):(i.push(o),t=n+1)}return i}:function(e){return e.split(/\r\n?|\n/)},sr=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Bi=function(){var e=c("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Ot=null;function yn(e){if(Ot!=null)return Ot;var t=Y(e,c("span","x")),i=t.getBoundingClientRect(),r=N(t,0,1).getBoundingClientRect();return Ot=Math.abs(i.left-r.left)>1}var Or={},Pt={};function Ht(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Or[e]=t}function br(e,t){Pt[e]=t}function Pr(e){if(typeof e=="string"&&Pt.hasOwnProperty(e))e=Pt[e];else if(e&&typeof e.name=="string"&&Pt.hasOwnProperty(e.name)){var t=Pt[e.name];typeof t=="string"&&(t={name:t}),e=M(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Pr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Pr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Hr(e,t){t=Pr(t);var i=Or[t.name];if(!i)return Hr(e,"text/plain");var r=i(e,t);if(ur.hasOwnProperty(t.name)){var n=ur[t.name];for(var o in n)n.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=n[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var l in t.modeProps)r[l]=t.modeProps[l];return r}var ur={};function Wr(e,t){var i=ur.hasOwnProperty(e)?ur[e]:ur[e]={};ge(t,i)}function _t(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var r in t){var n=t[r];n instanceof Array&&(n=n.concat([])),i[r]=n}return i}function li(e,t){for(var i;e.innerMode&&(i=e.innerMode(t),!(!i||i.mode==e));)t=i.state,e=i.mode;return i||{mode:e,state:t}}function Ir(e,t,i){return e.startState?e.startState(t,i):!0}var qe=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};qe.prototype.eol=function(){return this.pos>=this.string.length},qe.prototype.sol=function(){return this.pos==this.lineStart},qe.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},qe.prototype.next=function(){if(this.post},qe.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},qe.prototype.skipToEnd=function(){this.pos=this.string.length},qe.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},qe.prototype.backUp=function(e){this.pos-=e},qe.prototype.column=function(){return this.lastColumnPos0?null:(o&&t!==!1&&(this.pos+=o[0].length),o)}},qe.prototype.current=function(){return this.string.slice(this.start,this.pos)},qe.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},qe.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},qe.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function V(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var i=e;!i.lines;)for(var r=0;;++r){var n=i.children[r],o=n.chunkSize();if(t=e.first&&ti?S(i,V(e,i).text.length):Ca(t,V(e,t.line).text.length)}function Ca(e,t){var i=e.ch;return i==null||i>t?S(e.line,t):i<0?S(e.line,0):e}function mo(e,t){for(var i=[],r=0;rthis.maxLookAhead&&(this.maxLookAhead=e),t},qt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},qt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},qt.fromSaved=function(e,t,i){return t instanceof Ri?new qt(e,_t(e.mode,t.state),i,t.lookAhead):new qt(e,_t(e.mode,t),i)},qt.prototype.save=function(e){var t=e!==!1?_t(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ri(t,this.maxLookAhead):t};function xo(e,t,i,r){var n=[e.state.modeGen],o={};Co(e,t.text,e.doc.mode,i,function(u,d){return n.push(u,d)},o,r);for(var l=i.state,a=function(u){i.baseTokens=n;var d=e.state.overlays[u],g=1,b=0;i.state=!0,Co(e,t.text,d.mode,i,function(m,L){for(var F=g;bm&&n.splice(g,1,m,n[g+1],H),g+=2,b=Math.min(m,H)}if(L)if(d.opaque)n.splice(F,g-F,m,"overlay "+L),g=F+2;else for(;Fe.options.maxHighlightLength&&_t(e.doc.mode,r.state),o=xo(e,t,r);n&&(r.state=n),t.stateAfter=r.save(!n),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function si(e,t,i){var r=e.doc,n=e.display;if(!r.mode.startState)return new qt(r,!0,t);var o=La(e,t,i),l=o>r.first&&V(r,o-1).stateAfter,a=l?qt.fromSaved(r,l,o):new qt(r,Ir(r.mode),o);return r.iter(o,t,function(s){bn(e,s.text,a);var u=a.line;s.stateAfter=u==t-1||u%5==0||u>=n.viewFrom&&ut.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}var ko=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function wo(e,t,i,r){var n=e.doc,o=n.mode,l;t=me(n,t);var a=V(n,t.line),s=si(e,t.line,i),u=new qe(a.text,e.options.tabSize,s),d;for(r&&(d=[]);(r||u.pose.options.maxHighlightLength?(a=!1,l&&bn(e,t,r,d.pos),d.pos=t.length,g=null):g=So(kn(i,d,r.state,b),o),b){var m=b[0].name;m&&(g="m-"+(g?m+" "+g:m))}if(!a||u!=g){for(;sl;--a){if(a<=o.first)return o.first;var s=V(o,a-1),u=s.stateAfter;if(u&&(!i||a+(u instanceof Ri?u.lookAhead:0)<=o.modeFrontier))return a;var d=xe(s.text,null,e.options.tabSize);(n==null||r>d)&&(n=a-1,r=d)}return n}function Ta(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontieri;r--){var n=V(e,r).stateAfter;if(n&&(!(n instanceof Ri)||r+n.lookAhead=t:o.to>t);(r||(r=[])).push(new _i(l,o.from,s?null:o.to))}}return r}function Na(e,t,i){var r;if(e)for(var n=0;n=t:o.to>t);if(a||o.from==t&&l.type=="bookmark"&&(!i||o.marker.insertLeft)){var s=o.from==null||(l.inclusiveLeft?o.from<=t:o.from0&&a)for(var $=0;$0)){var d=[s,1],g=G(u.from,a.from),b=G(u.to,a.to);(g<0||!l.inclusiveLeft&&!g)&&d.push({from:u.from,to:a.from}),(b>0||!l.inclusiveRight&&!b)&&d.push({from:a.to,to:u.to}),n.splice.apply(n,d),s+=d.length-3}}return n}function Do(e){var t=e.markedSpans;if(t){for(var i=0;it)&&(!r||Sn(r,o.marker)<0)&&(r=o.marker)}return r}function Eo(e,t,i,r,n){var o=V(e,t),l=Jt&&o.markedSpans;if(l)for(var a=0;a=0&&g<=0||d<=0&&g>=0)&&(d<=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?G(u.to,i)>=0:G(u.to,i)>0)||d>=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?G(u.from,r)<=0:G(u.from,r)<0)))return!0}}}function Wt(e){for(var t;t=Fo(e);)e=t.find(-1,!0).line;return e}function Ha(e){for(var t;t=Ki(e);)e=t.find(1,!0).line;return e}function Wa(e){for(var t,i;t=Ki(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function Cn(e,t){var i=V(e,t),r=Wt(i);return i==r?t:f(r)}function No(e,t){if(t>e.lastLine())return t;var i=V(e,t),r;if(!fr(e,i))return t;for(;r=Ki(i);)i=r.find(1,!0).line;return f(i)+1}function fr(e,t){var i=Jt&&t.markedSpans;if(i){for(var r=void 0,n=0;nt.maxLineLength&&(t.maxLineLength=n,t.maxLine=r)})}var Br=function(e,t,i){this.text=e,Mo(this,t),this.height=i?i(this):1};Br.prototype.lineNo=function(){return f(this)},Et(Br);function Ia(e,t,i,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Do(e),Mo(e,i);var n=r?r(e):1;n!=e.height&&Dt(e,n)}function za(e){e.parent=null,Do(e)}var Ba={},Ra={};function Oo(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?Ra:Ba;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function Po(e,t){var i=U("span",null,null,ie?"padding-right: .1px":null),r={pre:U("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var n=0;n<=(t.rest?t.rest.length:0);n++){var o=n?t.rest[n-1]:t.line,l=void 0;r.pos=0,r.addToken=qa,ar(e.display.measure)&&(l=Se(o,e.doc.direction))&&(r.addToken=Ka(r.addToken,l)),r.map=[];var a=t!=e.display.externalMeasured&&f(o);Ua(o,r,yo(e,o,a)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=wt(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=wt(o.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(zi(e.display.measure))),n==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(ie){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Re(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=wt(r.pre.className,r.textClass||"")),r}function _a(e){var t=c("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function qa(e,t,i,r,n,o,l){if(t){var a=e.splitSpaces?ja(t,e.trailingSpace):t,s=e.cm.state.specialChars,u=!1,d;if(!s.test(t))e.col+=t.length,d=document.createTextNode(a),e.map.push(e.pos,e.pos+t.length,d),T&&se<9&&(u=!0),e.pos+=t.length;else{d=document.createDocumentFragment();for(var g=0;;){s.lastIndex=g;var b=s.exec(t),m=b?b.index-g:t.length-g;if(m){var L=document.createTextNode(a.slice(g,g+m));T&&se<9?d.appendChild(c("span",[L])):d.appendChild(L),e.map.push(e.pos,e.pos+m,L),e.col+=m,e.pos+=m}if(!b)break;g+=m+1;var F=void 0;if(b[0]==" "){var H=e.cm.options.tabSize,B=H-e.col%H;F=d.appendChild(c("span",ot(B),"cm-tab")),F.setAttribute("role","presentation"),F.setAttribute("cm-text"," "),e.col+=B}else b[0]=="\r"||b[0]==` diff --git a/assets/index-BCoP-QCi.js b/assets/index-Baihd32c.js similarity index 97% rename from assets/index-BCoP-QCi.js rename to assets/index-Baihd32c.js index eec77d3..0ba348e 100644 --- a/assets/index-BCoP-QCi.js +++ b/assets/index-Baihd32c.js @@ -1 +1 @@ -import{P as s,T as f,w as y,r as k,i as d,q as S,V as b,o as C}from"./index-DVuP2ZA1.js";import{H as z,n as _}from"./RenderTopNavBar-DdduE_mK.js";const x=(o,i)=>{const e=i.size,l=i.href,r=i.onClick,a=i.disabled,n=i.hero,g=i.heading,p=l||r,c={small:{billboard:{padding:o.paddingSmall},hero:{fontSize:"3rem"},message:{fontSize:o.messageFontSizeSmall},heading:{...n&&{margin:`${o.mediumMargin} 0 0`}}},medium:{billboard:{padding:o.paddingMedium},hero:{fontSize:"5rem"},message:{fontSize:o.messageFontSizeMedium},heading:{}},large:{billboard:{padding:o.paddingLarge},hero:{fontSize:"10rem"},message:{fontSize:o.messageFontSizeLarge},heading:{}}},m=p?{appearance:"none",boxSizing:"border-box",cursor:"pointer",userSelect:"none",touchAction:"manipulation",width:"100%",margin:"0",border:`${o.buttonBorderWidth} ${o.buttonBorderStyle} transparent`,borderRadius:o.buttonBorderRadius,background:o.backgroundColor,textDecoration:"none","&:hover":{borderStyle:o.buttonHoverBorderStyle},"&:hover, &:focus":{textDecoration:"none",outline:"none",borderColor:o.iconHoverColor,"& [class$=-billboard__hero]":{color:o.iconHoverColor}},"&:active":{background:o.clickableActiveBg,borderColor:o.iconHoverColor,"& [class$=-billboard__hero], & [class$=-billboard__message]":{color:o.clickableActiveText}}}:{backgroundColor:o.backgroundColor};return{billboard:{label:"billboard",boxSizing:"border-box",position:"relative",fontFamily:o.fontFamily,marginLeft:"auto",marginRight:"auto",textAlign:"center",display:"block",...c[e].billboard,...m,...a&&{cursor:"not-allowed",pointerEvents:"none",opacity:.5}},content:{label:"billboard__content",display:"block"},hero:{label:"billboard__hero",display:"block",color:o.iconColor,...c[e].hero,"& > img, & > svg":{maxWidth:"100%",display:"block",margin:"0 auto"},"& > img":{height:"auto"}},heading:{label:"billboard__heading",display:"block",...n&&{margin:`${o.largeMargin} 0 0`},...c[e].heading},message:{label:"billboard__message",display:"block",color:p?o.messageColorClickable:o.messageColor,...(n||g)&&{margin:`${o.mediumMargin} 0 0`},...c[e].message}}},B=o=>{const i=o.borders,e=o.colors,l=o.spacing,r=o.typography,a=o.key,n={canvas:{iconHoverColor:o["ic-link-color"],messageColorClickable:o["ic-link-color"],clickableActiveBg:o["ic-brand-primary"]}};return{...{fontFamily:r==null?void 0:r.fontFamily,paddingSmall:l==null?void 0:l.small,paddingMedium:l==null?void 0:l.medium,paddingLarge:l==null?void 0:l.medium,iconColor:e==null?void 0:e.textDark,mediumMargin:l==null?void 0:l.small,largeMargin:l==null?void 0:l.medium,iconHoverColor:e==null?void 0:e.textLink,backgroundColor:e==null?void 0:e.backgroundLightest,iconHoverColorInverse:e==null?void 0:e.textLightest,buttonBorderWidth:i==null?void 0:i.widthMedium,buttonBorderRadius:i==null?void 0:i.radiusLarge,messageColor:e==null?void 0:e.textDark,messageColorClickable:e==null?void 0:e.textLink,messageColorInverse:e==null?void 0:e.textLight,messageFontSizeSmall:r==null?void 0:r.fontSizeSmall,messageFontSizeMedium:r==null?void 0:r.fontSizeMedium,messageFontSizeLarge:r==null?void 0:r.fontSizeLarge,clickableActiveBg:e==null?void 0:e.backgroundBrand,clickableActiveText:e==null?void 0:e.textLightest,buttonBorderStyle:i==null?void 0:i.style,buttonHoverBorderStyle:"dashed"},...n[a]}},L={hero:s.oneOfType([s.element,s.func]),size:s.oneOf(["small","medium","large"]),as:s.elementType,elementRef:s.func,heading:s.string,headingAs:s.oneOf(["h1","h2","h3","span"]),headingLevel:s.oneOf(["h1","h2","h3","h4"]),message:s.oneOfType([s.node,s.func]),onClick:s.func,href:s.string,disabled:s.bool,readOnly:s.bool,margin:f.spacing},$=["hero","size","as","elementRef","heading","headingAs","headingLevel","message","onClick","href","disabled","readOnly","margin"];var v,h,t;let R=(v=y(x,B),v(h=(t=class u extends k.Component{constructor(...i){super(...i),this.ref=null,this.handleRef=e=>{const l=this.props.elementRef;this.ref=e,typeof l=="function"&&l(e)},this.handleClick=e=>{const l=this.props,r=l.readOnly,a=l.onClick;r?(e.preventDefault(),e.stopPropagation()):typeof a=="function"&&a(e)}}componentDidMount(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}componentDidUpdate(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}renderHeading(){const i=this.props,e=i.headingLevel,l=i.headingAs,r=i.heading,a=i.styles;return d("span",{css:a==null?void 0:a.heading},d(z,{level:e,as:l,color:"primary"},r))}get SVGIconSize(){const i=this.props.size;return i==="small"?"medium":i==="large"?"x-large":"large"}renderHero(){return typeof this.props.hero=="function"?this.props.hero(this.SVGIconSize):this.props.hero}renderContent(){const i=this.props,e=i.heading,l=i.message,r=i.hero,a=i.styles;return d("span",{css:a==null?void 0:a.content},r&&d("span",{css:a==null?void 0:a.hero},this.renderHero()),e&&this.renderHeading(),l&&d("span",{css:a==null?void 0:a.message},_(l)))}render(){const i=this.props,e=i.href,l=i.disabled,r=i.readOnly,a=i.margin,n=i.styles,g=S(u,this.props);return d(b,{as:"div",margin:a},d(b,Object.assign({},C(this.props,[...u.allowedProps,...b.allowedProps]),{type:g==="button"?"button":void 0,as:g,elementRef:this.handleRef,css:n==null?void 0:n.billboard,href:e,onClick:this.handleClick,disabled:l,"aria-disabled":l||r?"true":void 0}),this.renderContent()))}},t.displayName="Billboard",t.componentId="Billboard",t.propTypes=L,t.allowedProps=$,t.defaultProps={disabled:!1,readOnly:!1,size:"medium",headingAs:"span",headingLevel:"h1",as:"span",elementRef:()=>{}},t))||h);export{R as B}; +import{P as s,T as f,w as y,r as k,i as d,q as S,V as b,o as C}from"./index-D8uc6p-q.js";import{H as z,n as _}from"./RenderTopNavBar-DwZOqeqN.js";const x=(o,i)=>{const e=i.size,l=i.href,r=i.onClick,a=i.disabled,n=i.hero,g=i.heading,p=l||r,c={small:{billboard:{padding:o.paddingSmall},hero:{fontSize:"3rem"},message:{fontSize:o.messageFontSizeSmall},heading:{...n&&{margin:`${o.mediumMargin} 0 0`}}},medium:{billboard:{padding:o.paddingMedium},hero:{fontSize:"5rem"},message:{fontSize:o.messageFontSizeMedium},heading:{}},large:{billboard:{padding:o.paddingLarge},hero:{fontSize:"10rem"},message:{fontSize:o.messageFontSizeLarge},heading:{}}},m=p?{appearance:"none",boxSizing:"border-box",cursor:"pointer",userSelect:"none",touchAction:"manipulation",width:"100%",margin:"0",border:`${o.buttonBorderWidth} ${o.buttonBorderStyle} transparent`,borderRadius:o.buttonBorderRadius,background:o.backgroundColor,textDecoration:"none","&:hover":{borderStyle:o.buttonHoverBorderStyle},"&:hover, &:focus":{textDecoration:"none",outline:"none",borderColor:o.iconHoverColor,"& [class$=-billboard__hero]":{color:o.iconHoverColor}},"&:active":{background:o.clickableActiveBg,borderColor:o.iconHoverColor,"& [class$=-billboard__hero], & [class$=-billboard__message]":{color:o.clickableActiveText}}}:{backgroundColor:o.backgroundColor};return{billboard:{label:"billboard",boxSizing:"border-box",position:"relative",fontFamily:o.fontFamily,marginLeft:"auto",marginRight:"auto",textAlign:"center",display:"block",...c[e].billboard,...m,...a&&{cursor:"not-allowed",pointerEvents:"none",opacity:.5}},content:{label:"billboard__content",display:"block"},hero:{label:"billboard__hero",display:"block",color:o.iconColor,...c[e].hero,"& > img, & > svg":{maxWidth:"100%",display:"block",margin:"0 auto"},"& > img":{height:"auto"}},heading:{label:"billboard__heading",display:"block",...n&&{margin:`${o.largeMargin} 0 0`},...c[e].heading},message:{label:"billboard__message",display:"block",color:p?o.messageColorClickable:o.messageColor,...(n||g)&&{margin:`${o.mediumMargin} 0 0`},...c[e].message}}},B=o=>{const i=o.borders,e=o.colors,l=o.spacing,r=o.typography,a=o.key,n={canvas:{iconHoverColor:o["ic-link-color"],messageColorClickable:o["ic-link-color"],clickableActiveBg:o["ic-brand-primary"]}};return{...{fontFamily:r==null?void 0:r.fontFamily,paddingSmall:l==null?void 0:l.small,paddingMedium:l==null?void 0:l.medium,paddingLarge:l==null?void 0:l.medium,iconColor:e==null?void 0:e.textDark,mediumMargin:l==null?void 0:l.small,largeMargin:l==null?void 0:l.medium,iconHoverColor:e==null?void 0:e.textLink,backgroundColor:e==null?void 0:e.backgroundLightest,iconHoverColorInverse:e==null?void 0:e.textLightest,buttonBorderWidth:i==null?void 0:i.widthMedium,buttonBorderRadius:i==null?void 0:i.radiusLarge,messageColor:e==null?void 0:e.textDark,messageColorClickable:e==null?void 0:e.textLink,messageColorInverse:e==null?void 0:e.textLight,messageFontSizeSmall:r==null?void 0:r.fontSizeSmall,messageFontSizeMedium:r==null?void 0:r.fontSizeMedium,messageFontSizeLarge:r==null?void 0:r.fontSizeLarge,clickableActiveBg:e==null?void 0:e.backgroundBrand,clickableActiveText:e==null?void 0:e.textLightest,buttonBorderStyle:i==null?void 0:i.style,buttonHoverBorderStyle:"dashed"},...n[a]}},L={hero:s.oneOfType([s.element,s.func]),size:s.oneOf(["small","medium","large"]),as:s.elementType,elementRef:s.func,heading:s.string,headingAs:s.oneOf(["h1","h2","h3","span"]),headingLevel:s.oneOf(["h1","h2","h3","h4"]),message:s.oneOfType([s.node,s.func]),onClick:s.func,href:s.string,disabled:s.bool,readOnly:s.bool,margin:f.spacing},$=["hero","size","as","elementRef","heading","headingAs","headingLevel","message","onClick","href","disabled","readOnly","margin"];var v,h,t;let R=(v=y(x,B),v(h=(t=class u extends k.Component{constructor(...i){super(...i),this.ref=null,this.handleRef=e=>{const l=this.props.elementRef;this.ref=e,typeof l=="function"&&l(e)},this.handleClick=e=>{const l=this.props,r=l.readOnly,a=l.onClick;r?(e.preventDefault(),e.stopPropagation()):typeof a=="function"&&a(e)}}componentDidMount(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}componentDidUpdate(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}renderHeading(){const i=this.props,e=i.headingLevel,l=i.headingAs,r=i.heading,a=i.styles;return d("span",{css:a==null?void 0:a.heading},d(z,{level:e,as:l,color:"primary"},r))}get SVGIconSize(){const i=this.props.size;return i==="small"?"medium":i==="large"?"x-large":"large"}renderHero(){return typeof this.props.hero=="function"?this.props.hero(this.SVGIconSize):this.props.hero}renderContent(){const i=this.props,e=i.heading,l=i.message,r=i.hero,a=i.styles;return d("span",{css:a==null?void 0:a.content},r&&d("span",{css:a==null?void 0:a.hero},this.renderHero()),e&&this.renderHeading(),l&&d("span",{css:a==null?void 0:a.message},_(l)))}render(){const i=this.props,e=i.href,l=i.disabled,r=i.readOnly,a=i.margin,n=i.styles,g=S(u,this.props);return d(b,{as:"div",margin:a},d(b,Object.assign({},C(this.props,[...u.allowedProps,...b.allowedProps]),{type:g==="button"?"button":void 0,as:g,elementRef:this.handleRef,css:n==null?void 0:n.billboard,href:e,onClick:this.handleClick,disabled:l,"aria-disabled":l||r?"true":void 0}),this.renderContent()))}},t.displayName="Billboard",t.componentId="Billboard",t.propTypes=L,t.allowedProps=$,t.defaultProps={disabled:!1,readOnly:!1,size:"medium",headingAs:"span",headingLevel:"h1",as:"span",elementRef:()=>{}},t))||h);export{R as B}; diff --git a/assets/index-CvvVU94y.js b/assets/index-C4If5P1l.js similarity index 95% rename from assets/index-CvvVU94y.js rename to assets/index-C4If5P1l.js index 85bdbf2..58cefff 100644 --- a/assets/index-CvvVU94y.js +++ b/assets/index-C4If5P1l.js @@ -1 +1 @@ -import{r as d,R as c,S as i,P as r,T as S,w as L,t as z,h as x,p as E}from"./index-DVuP2ZA1.js";import{w as j,B as N,S as Z}from"./RenderTopNavBar-DdduE_mK.js";var l;class s extends d.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}render(){return c.createElement(i,Object.assign({},this.props,{name:"IconSearch",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),l||(l=c.createElement("path",{d:"M790.588 1468.235c-373.722 0-677.647-303.924-677.647-677.647 0-373.722 303.925-677.647 677.647-677.647 373.723 0 677.647 303.925 677.647 677.647 0 373.723-303.924 677.647-677.647 677.647Zm596.781-160.715c120.396-138.692 193.807-319.285 193.807-516.932C1581.176 354.748 1226.428 0 790.588 0S0 354.748 0 790.588s354.748 790.588 790.588 790.588c197.647 0 378.24-73.411 516.932-193.807l516.028 516.142 79.963-79.963-516.142-516.028Z",fillRule:"evenodd"})))}}s.glyphName="search";s.variant="Line";s.displayName="IconSearchLine";s.propTypes={...i.propTypes};s.allowedProps=[...i.allowedProps];const q={children:r.oneOfType([r.node,r.func]),renderIcon:r.oneOfType([r.node,r.func]),screenReaderLabel:r.string.isRequired,type:r.oneOf(["button","submit","reset"]),size:r.oneOf(["small","medium","large"]),elementRef:r.func,as:r.elementType,interaction:r.oneOf(["enabled","disabled","readonly"]),color:r.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:r.oneOf(["info","inverse"]),shape:r.oneOf(["rectangle","circle"]),withBackground:r.bool,withBorder:r.bool,margin:S.spacing,cursor:r.string,href:r.string,onClick:r.func},G=["as","children","color","cursor","elementRef","focusColor","href","interaction","margin","renderIcon","screenReaderLabel","shape","size","type","withBackground","withBorder","onClick"],M=["children","renderIcon","screenReaderLabel","type","size","elementRef","as","interaction","color","focusColor","shape","withBackground","withBorder","margin","cursor","href"];var p,h,a,t;let $=(p=L(null,j),h=z(),p(a=h(a=(t=class extends d.Component{constructor(...e){super(...e),this._baseButton=null,this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}get focused(){return this._baseButton&&this._baseButton.focused}focus(){this._baseButton&&this._baseButton.focus()}render(){const e=this.props,o=e.children,n=e.renderIcon,f=e.screenReaderLabel,m=e.type,B=e.size;e.elementRef;const g=e.as,y=e.interaction,b=e.color,R=e.focusColor,w=e.shape,I=e.withBackground,_=e.withBorder,C=e.margin,O=e.cursor,T=e.href,v=x(e,M),P=this.props.themeOverride;return c.createElement(N,Object.assign({},E(v),{type:m,size:B,elementRef:this.handleRef,as:g,interaction:y,color:b,focusColor:R,shape:w,withBackground:I,withBorder:_,margin:C,cursor:O,href:T,renderIcon:o||n,themeOverride:P,ref:k=>{this._baseButton=k}}),c.createElement(Z,null,f))}},t.displayName="IconButton",t.componentId="IconButton",t.propTypes=q,t.allowedProps=G,t.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",shape:"rectangle",withBackground:!0,withBorder:!0,margin:"0",cursor:"pointer"},t))||a)||a);export{s as I,$ as a}; +import{r as d,R as c,S as i,P as r,T as S,w as L,t as z,h as x,p as E}from"./index-D8uc6p-q.js";import{w as j,B as N,S as Z}from"./RenderTopNavBar-DwZOqeqN.js";var l;class s extends d.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}render(){return c.createElement(i,Object.assign({},this.props,{name:"IconSearch",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),l||(l=c.createElement("path",{d:"M790.588 1468.235c-373.722 0-677.647-303.924-677.647-677.647 0-373.722 303.925-677.647 677.647-677.647 373.723 0 677.647 303.925 677.647 677.647 0 373.723-303.924 677.647-677.647 677.647Zm596.781-160.715c120.396-138.692 193.807-319.285 193.807-516.932C1581.176 354.748 1226.428 0 790.588 0S0 354.748 0 790.588s354.748 790.588 790.588 790.588c197.647 0 378.24-73.411 516.932-193.807l516.028 516.142 79.963-79.963-516.142-516.028Z",fillRule:"evenodd"})))}}s.glyphName="search";s.variant="Line";s.displayName="IconSearchLine";s.propTypes={...i.propTypes};s.allowedProps=[...i.allowedProps];const q={children:r.oneOfType([r.node,r.func]),renderIcon:r.oneOfType([r.node,r.func]),screenReaderLabel:r.string.isRequired,type:r.oneOf(["button","submit","reset"]),size:r.oneOf(["small","medium","large"]),elementRef:r.func,as:r.elementType,interaction:r.oneOf(["enabled","disabled","readonly"]),color:r.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:r.oneOf(["info","inverse"]),shape:r.oneOf(["rectangle","circle"]),withBackground:r.bool,withBorder:r.bool,margin:S.spacing,cursor:r.string,href:r.string,onClick:r.func},G=["as","children","color","cursor","elementRef","focusColor","href","interaction","margin","renderIcon","screenReaderLabel","shape","size","type","withBackground","withBorder","onClick"],M=["children","renderIcon","screenReaderLabel","type","size","elementRef","as","interaction","color","focusColor","shape","withBackground","withBorder","margin","cursor","href"];var p,h,a,t;let $=(p=L(null,j),h=z(),p(a=h(a=(t=class extends d.Component{constructor(...e){super(...e),this._baseButton=null,this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}get focused(){return this._baseButton&&this._baseButton.focused}focus(){this._baseButton&&this._baseButton.focus()}render(){const e=this.props,o=e.children,n=e.renderIcon,f=e.screenReaderLabel,m=e.type,B=e.size;e.elementRef;const g=e.as,y=e.interaction,b=e.color,R=e.focusColor,w=e.shape,I=e.withBackground,_=e.withBorder,C=e.margin,O=e.cursor,T=e.href,v=x(e,M),P=this.props.themeOverride;return c.createElement(N,Object.assign({},E(v),{type:m,size:B,elementRef:this.handleRef,as:g,interaction:y,color:b,focusColor:R,shape:w,withBackground:I,withBorder:_,margin:C,cursor:O,href:T,renderIcon:o||n,themeOverride:P,ref:k=>{this._baseButton=k}}),c.createElement(Z,null,f))}},t.displayName="IconButton",t.componentId="IconButton",t.propTypes=q,t.allowedProps=G,t.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",shape:"rectangle",withBackground:!0,withBorder:!0,margin:"0",cursor:"pointer"},t))||a)||a);export{s as I,$ as a}; diff --git a/assets/index-ALzVjZWx.js b/assets/index-CCcpAznT.js similarity index 99% rename from assets/index-ALzVjZWx.js rename to assets/index-CCcpAznT.js index 1c56075..c3342db 100644 --- a/assets/index-ALzVjZWx.js +++ b/assets/index-CCcpAznT.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css"])))=>i.map(i=>d[i]); -import{R as rt,_ as Wp,F as Ep,r as Hc,v as Vp,P as j,s as Yp,w as Dp,E as qp,t as zp,G as Lp,h as _p,i as Un,p as Bp,o as Up}from"./index-DVuP2ZA1.js";import{T as Ip,I as jp,e as Np}from"./index-BgSjnQS9.js";import{I as Gp,a as ha}from"./index-CvvVU94y.js";import{i as Fp,U as Hp,S as Kp}from"./RenderTopNavBar-DdduE_mK.js";class B{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){[e,t]=Qi(this,e,t);let s=[];return this.decompose(0,e,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(t,this.length,s,1),ot.from(s,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=Qi(this,e,t);let i=[];return this.decompose(e,t,i,0),ot.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),s=new rn(this),r=new rn(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=i)return!0}}iter(e=1){return new rn(this,e)}iterRange(e,t=this.length){return new Kc(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;i=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Jc(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?B.empty:e.length<=32?new ne(e):ot.from(ne.split(e,[]))}}class ne extends B{constructor(e,t=Jp(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?i:l)>=e)return new em(s,l,i,o);s=l+1,i++}}decompose(e,t,i,s){let r=e<=0&&t>=this.length?this:new ne(ca(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=i.pop(),l=gs(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ne(l,o.length+r.length));else{let a=l.length>>1;i.push(new ne(l.slice(0,a)),new ne(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ne))return super.replace(e,t,i);[e,t]=Qi(this,e,t);let s=gs(this.text,gs(i.text,ca(this.text,0,e)),t),r=this.length+i.length-(t-e);return s.length<=32?new ne(s,r):ot.from(ne.split(s,[]),r)}sliceString(e,t=this.length,i=` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css"])))=>i.map(i=>d[i]); +import{R as rt,_ as Wp,F as Ep,r as Hc,v as Vp,P as j,s as Yp,w as Dp,E as qp,t as zp,G as Lp,h as _p,i as Un,p as Bp,o as Up}from"./index-D8uc6p-q.js";import{T as Ip,I as jp,e as Np}from"./index-B2tgx2JB.js";import{I as Gp,a as ha}from"./index-C4If5P1l.js";import{i as Fp,U as Hp,S as Kp}from"./RenderTopNavBar-DwZOqeqN.js";class B{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){[e,t]=Qi(this,e,t);let s=[];return this.decompose(0,e,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(t,this.length,s,1),ot.from(s,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=Qi(this,e,t);let i=[];return this.decompose(e,t,i,0),ot.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),s=new rn(this),r=new rn(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=i)return!0}}iter(e=1){return new rn(this,e)}iterRange(e,t=this.length){return new Kc(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;i=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Jc(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?B.empty:e.length<=32?new ne(e):ot.from(ne.split(e,[]))}}class ne extends B{constructor(e,t=Jp(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?i:l)>=e)return new em(s,l,i,o);s=l+1,i++}}decompose(e,t,i,s){let r=e<=0&&t>=this.length?this:new ne(ca(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=i.pop(),l=gs(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ne(l,o.length+r.length));else{let a=l.length>>1;i.push(new ne(l.slice(0,a)),new ne(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ne))return super.replace(e,t,i);[e,t]=Qi(this,e,t);let s=gs(this.text,gs(i.text,ca(this.text,0,e)),t),r=this.length+i.length-(t-e);return s.length<=32?new ne(s,r):ot.from(ne.split(s,[]),r)}sliceString(e,t=this.length,i=` `){[e,t]=Qi(this,e,t);let s="";for(let r=0,o=0;r<=t&&oe&&o&&(s+=i),er&&(s+=l.slice(Math.max(0,e-r),t-r)),r=a+1}return s}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],s=-1;for(let r of e)i.push(r),s+=r.length+1,i.length==32&&(t.push(new ne(i,s)),i=[],s=-1);return s>-1&&t.push(new ne(i,s)),t}}class ot extends B{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.children[r],l=s+o.length,a=i+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,i,s);s=l+1,i=a+1}}decompose(e,t,i,s){for(let r=0,o=0;o<=t&&r=o){let h=s&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!h?i.push(l):l.decompose(e-o,t-o,i,h)}o=a+1}}replace(e,t,i){if([e,t]=Qi(this,e,t),i.lines=r&&t<=l){let a=o.replace(e-r,t-r,i),h=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>h>>6){let c=this.children.slice();return c[s]=a,new ot(c,this.length-(t-e)+i.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` `){[e,t]=Qi(this,e,t);let s="";for(let r=0,o=0;re&&r&&(s+=i),eo&&(s+=l.sliceString(e-o,t-o,i)),o=a+1}return s}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof ot))return 0;let i=0,[s,r,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;s+=t,r+=t){if(s==o||r==l)return i;let a=this.children[s],h=e.children[r];if(a!=h)return i+a.scanIdentical(h,t);i+=a.length+1}}static from(e,t=e.reduce((i,s)=>i+s.length+1,-1)){let i=0;for(let d of e)i+=d.lines;if(i<32){let d=[];for(let O of e)O.flatten(d);return new ne(d,t)}let s=Math.max(32,i>>5),r=s<<1,o=s>>1,l=[],a=0,h=-1,c=[];function f(d){let O;if(d.lines>r&&d instanceof ot)for(let m of d.children)f(m);else d.lines>o&&(a>o||!a)?(u(),l.push(d)):d instanceof ne&&a&&(O=c[c.length-1])instanceof ne&&d.lines+O.lines<=32?(a+=d.lines,h+=d.length+1,c[c.length-1]=new ne(O.text.concat(d.text),O.length+1+d.length)):(a+d.lines>s&&u(),a+=d.lines,h+=d.length+1,c.push(d))}function u(){a!=0&&(l.push(c.length==1?c[0]:ot.from(c,h)),h=-1,a=c.length=0)}for(let d of e)f(d);return u(),l.length==1?l[0]:new ot(l,t)}}B.empty=new ne([""],0);function Jp(n){let e=-1;for(let t of n)e+=t.length+1;return e}function gs(n,e,t=0,i=1e9){for(let s=0,r=0,o=!0;r=t&&(a>i&&(l=l.slice(0,i-s)),s0?1:(e instanceof ne?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,s=this.nodes[i],r=this.offsets[i],o=r>>1,l=s instanceof ne?s.text.length:s.children.length;if(o==(t>0?l:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` `,this;e--}else if(s instanceof ne){let a=s.text[o+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=s.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ne?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Kc{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new rn(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:s}=this.cursor.next(e);return this.pos+=(s.length+e)*t,this.value=s.length<=i?s:t<0?s.slice(s.length-i):s.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class Jc{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:s}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(B.prototype[Symbol.iterator]=function(){return this.iter()},rn.prototype[Symbol.iterator]=Kc.prototype[Symbol.iterator]=Jc.prototype[Symbol.iterator]=function(){return this});let em=class{constructor(e,t,i,s){this.from=e,this.to=t,this.number=i,this.text=s}get length(){return this.to-this.from}};function Qi(n,e,t){return e=Math.max(0,Math.min(n.length,e)),[e,Math.max(e,Math.min(n.length,t))]}let mi="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;nn)return mi[e-1]<=n;return!1}function fa(n){return n>=127462&&n<=127487}const ua=8205;function me(n,e,t=!0,i=!0){return(t?ef:im)(n,e,i)}function ef(n,e,t){if(e==n.length)return e;e&&tf(n.charCodeAt(e))&&nf(n.charCodeAt(e-1))&&e--;let i=ue(n,e);for(e+=ze(i);e=0&&fa(ue(n,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function im(n,e,t){for(;e>0;){let i=ef(n,e-2,t);if(i=56320&&n<57344}function nf(n){return n>=55296&&n<56320}function ue(n,e){let t=n.charCodeAt(e);if(!nf(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return tf(i)?(t-55296<<10)+(i-56320)+65536:t}function cl(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function ze(n){return n<65536?1:2}const io=/\r\n?|\n/;var Oe=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(Oe||(Oe={}));class ft{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-s);r+=l}else{if(i!=Oe.Simple&&h>=e&&(i==Oe.TrackDel&&se||i==Oe.TrackBefore&&se))return null;if(h>e||h==e&&t<0&&!l)return e==s||t<0?r:r+a;r+=a}s=h}if(e>s)throw new RangeError(`Position ${e} is out of range for changeset of length ${s}`);return r}touchesRange(e,t=e){for(let i=0,s=0;i=0&&s<=t&&l>=e)return st?"cover":!0;s=l}return!1}toString(){let e="";for(let t=0;t=0?":"+s:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ft(e)}static create(e){return new ft(e)}}class he extends ft{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return no(this,(t,i,s,r,o)=>e=e.replace(s,s+(i-t),o),!1),e}mapDesc(e,t=!1){return so(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let s=0,r=0;s=0){t[s]=l,t[s+1]=o;let a=s>>1;for(;i.length0&&Tt(i,t,r.text),r.forward(c),l+=c}let h=e[o++];for(;l>1].toJSON()))}return e}static of(e,t,i){let s=[],r=[],o=0,l=null;function a(c=!1){if(!c&&!s.length)return;ou||f<0||u>t)throw new RangeError(`Invalid change range ${f} to ${u} (in doc of length ${t})`);let O=d?typeof d=="string"?B.of(d.split(i||io)):d:B.empty,m=O.length;if(f==u&&m==0)return;fo&&ge(s,f-o,-1),ge(s,u-f,m),Tt(r,s,O),o=u}}return h(e),a(!l),l}static empty(e){return new he(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let s=0;sl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;i.length=0&&t<=0&&t==n[s+1]?n[s]+=e:e==0&&n[s]==0?n[s+1]+=t:i?(n[s]+=e,n[s+1]+=t):n.push(e,t)}function Tt(n,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||o==n.sections.length||n.sections[o+1]<0);)l=n.sections[o++],a=n.sections[o++];e(s,h,r,c,f),s=h,r=c}}}function so(n,e,t,i=!1){let s=[],r=i?[]:null,o=new un(n),l=new un(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let h=Math.min(o.len,l.len);ge(s,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let h=0,c=o.len;for(;c;)if(l.ins==-1){let f=Math.min(c,l.len);h+=f,c-=f,l.forward(f)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),r.forward2(a),o.forward(a)}}}}class un{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?B.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?B.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Gt{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,t=-1){let i,s;return this.empty?i=s=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),s=e.mapPos(this.to,-1)),i==this.from&&s==this.to?this:new Gt(i,s,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return y.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return y.range(this.anchor,i)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return y.range(e.anchor,e.head)}static create(e,t,i){return new Gt(e,t,i)}}class y{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:y.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let i=0;ie.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new y(e.ranges.map(t=>Gt.fromJSON(t)),e.main)}static single(e,t=e){return new y([y.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,s=0;se?8:0)|r)}static normalized(e,t=0){let i=e[t];e.sort((s,r)=>s.from-r.from),t=e.indexOf(i);for(let s=1;sr.head?y.range(a,l):y.range(l,a))}}return new y(e,t)}}function rf(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let fl=0;class T{constructor(e,t,i,s,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=s,this.id=fl++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}get reader(){return this}static define(e={}){return new T(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:ul),!!e.static,e.enables)}of(e){return new bs([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bs(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bs(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function ul(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class bs{constructor(e,t,i,s){this.dependencies=e,this.facet=t,this.type=i,this.value=s,this.id=fl++}dynamicSlot(e){var t;let i=this.value,s=this.facet.compareInput,r=this.id,o=e[r]>>1,l=this.type==2,a=!1,h=!1,c=[];for(let f of this.dependencies)f=="doc"?a=!0:f=="selection"?h=!0:((t=e[f.id])!==null&&t!==void 0?t:1)&1||c.push(e[f.id]);return{create(f){return f.values[o]=i(f),1},update(f,u){if(a&&u.docChanged||h&&(u.docChanged||u.selection)||ro(f,c)){let d=i(f);if(l?!da(d,f.values[o],s):!s(d,f.values[o]))return f.values[o]=d,1}return 0},reconfigure:(f,u)=>{let d,O=u.config.address[r];if(O!=null){let m=Ts(u,O);if(this.dependencies.every(g=>g instanceof T?u.facet(g)===f.facet(g):g instanceof ce?u.field(g,!1)==f.field(g,!1):!0)||(l?da(d=i(f),m,s):s(d=i(f),m)))return f.values[o]=m,0}else d=i(f);return f.values[o]=d,1}}}}function da(n,e,t){if(n.length!=e.length)return!1;for(let i=0;in[a.id]),s=t.map(a=>a.type),r=i.filter(a=>!(a&1)),o=n[e.id]>>1;function l(a){let h=[];for(let c=0;ci===s),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Oa).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,s)=>{let r=i.values[t],o=this.updateF(r,s);return this.compareF(r,o)?0:(i.values[t]=o,1)},reconfigure:(i,s)=>s.config.address[this.id]!=null?(i.values[t]=s.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,Oa.of({field:this,create:e})]}get extension(){return this}}const jt={lowest:4,low:3,default:2,high:1,highest:0};function _i(n){return e=>new of(e,n)}const kt={highest:_i(jt.highest),high:_i(jt.high),default:_i(jt.default),low:_i(jt.low),lowest:_i(jt.lowest)};class of{constructor(e,t){this.inner=e,this.prec=t}}class rr{of(e){return new oo(this,e)}reconfigure(e){return rr.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class oo{constructor(e,t){this.compartment=e,this.inner=t}}class Zs{constructor(e,t,i,s,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=s,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let s=[],r=Object.create(null),o=new Map;for(let u of sm(e,t,o))u instanceof ce?s.push(u):(r[u.facet.id]||(r[u.facet.id]=[])).push(u);let l=Object.create(null),a=[],h=[];for(let u of s)l[u.id]=h.length<<1,h.push(d=>u.slot(d));let c=i==null?void 0:i.config.facets;for(let u in r){let d=r[u],O=d[0].facet,m=c&&c[u]||[];if(d.every(g=>g.type==0))if(l[O.id]=a.length<<1|1,ul(m,d))a.push(i.facet(O));else{let g=O.combine(d.map(b=>b.value));a.push(i&&O.compare(g,i.facet(O))?i.facet(O):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=h.length<<1,h.push(b=>g.dynamicSlot(b)));l[O.id]=h.length<<1,h.push(g=>nm(g,O,d))}}let f=h.map(u=>u(l));return new Zs(e,o,f,l,a,r)}}function sm(n,e,t){let i=[[],[],[],[],[]],s=new Map;function r(o,l){let a=s.get(o);if(a!=null){if(a<=l)return;let h=i[a].indexOf(o);h>-1&&i[a].splice(h,1),o instanceof oo&&t.delete(o.compartment)}if(s.set(o,l),Array.isArray(o))for(let h of o)r(h,l);else if(o instanceof oo){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let h=e.get(o.compartment)||o.inner;t.set(o.compartment,h),r(h,l)}else if(o instanceof of)r(o.inner,o.prec);else if(o instanceof ce)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof bs)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,jt.default);else{let h=o.extension;if(!h)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(h,l)}}return r(n,jt.default),i.reduce((o,l)=>o.concat(l))}function on(n,e){if(e&1)return 2;let t=e>>1,i=n.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;n.status[t]=4;let s=n.computeSlot(n,n.config.dynamicSlots[t]);return n.status[t]=2|s}function Ts(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const lf=T.define(),lo=T.define({combine:n=>n.some(e=>e),static:!0}),af=T.define({combine:n=>n.length?n[0]:void 0,static:!0}),hf=T.define(),cf=T.define(),ff=T.define(),uf=T.define({combine:n=>n.length?n[0]:!1});class xt{constructor(e,t){this.type=e,this.value=t}static define(){return new rm}}class rm{of(e){return new xt(this,e)}}class om{constructor(e){this.map=e}of(e){return new M(this,e)}}class M{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new M(this.type,t)}is(e){return this.type==e}static define(e={}){return new om(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let s of e){let r=s.map(t);r&&i.push(r)}return i}}M.reconfigure=M.define();M.appendConfig=M.define();class re{constructor(e,t,i,s,r,o){this.startState=e,this.changes=t,this.selection=i,this.effects=s,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&rf(i,t.newLength),r.some(l=>l.type==re.time)||(this.annotations=r.concat(re.time.of(Date.now())))}static create(e,t,i,s,r,o){return new re(e,t,i,s,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(re.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}re.time=xt.define();re.userEvent=xt.define();re.addToHistory=xt.define();re.remote=xt.define();function lm(n,e){let t=[];for(let i=0,s=0;;){let r,o;if(i=n[i]))r=n[i++],o=n[i++];else if(s=0;s--){let r=i[s](n);r instanceof re?n=r:Array.isArray(r)&&r.length==1&&r[0]instanceof re?n=r[0]:n=Of(e,gi(r),!1)}return n}function hm(n){let e=n.startState,t=e.facet(ff),i=n;for(let s=t.length-1;s>=0;s--){let r=t[s](n);r&&Object.keys(r).length&&(i=df(i,ao(e,r,n.changes.newLength),!0))}return i==n?n:re.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const cm=[];function gi(n){return n==null?cm:Array.isArray(n)?n:[n]}var te=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(te||(te={}));const fm=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let ho;try{ho=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function um(n){if(ho)return ho.test(n);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||fm.test(t)))return!0}return!1}function dm(n){return e=>{if(!/\S/.test(e))return te.Space;if(um(e))return te.Word;for(let t=0;t-1)return te.Word;return te.Other}}class Y{constructor(e,t,i,s,r,o){this.config=e,this.doc=t,this.selection=i,this.values=s,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;ls.set(h,a)),t=null),s.set(l.value.compartment,l.value.extension)):l.is(M.reconfigure)?(t=null,i=l.value):l.is(M.appendConfig)&&(t=null,i=gi(i).concat(l.value));let r;t?r=e.startState.values.slice():(t=Zs.resolve(i,s,this),r=new Y(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(a,h)=>h.reconfigure(a,this),null).values);let o=e.startState.facet(lo)?e.newSelection:e.newSelection.asSingle();new Y(t,e.newDoc,o,r,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:y.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),s=this.changes(i.changes),r=[i.range],o=gi(i.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return Y.create({doc:e.doc,selection:y.fromJSON(e.selection),extensions:t.extensions?s.concat([t.extensions]):s})}static create(e={}){let t=Zs.resolve(e.extensions||[],new Map),i=e.doc instanceof B?e.doc:B.of((e.doc||"").split(t.staticFacet(Y.lineSeparator)||io)),s=e.selection?e.selection instanceof y?e.selection:y.single(e.selection.anchor,e.selection.head):y.single(0);return rf(s,i.length),t.staticFacet(lo)||(s=s.asSingle()),new Y(t,i,s,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(Y.tabSize)}get lineBreak(){return this.facet(Y.lineSeparator)||` @@ -29,4 +29,4 @@ import{R as rt,_ as Wp,F as Ep,r as Hc,v as Vp,P as j,s as Yp,w as Dp,E as qp,t `+e.scrub();for(let i of e.markers)t.marks.push(i)}return this.finishLeaf(t),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}moveRangeI(){for(;this.rangeI=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=Nx;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let i=this.absoluteLineStart,s=this.rangeI;for(;this.ranges[s].tothis.to?i.slice(0,this.to-e):i}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,i=0){this.block=sr.create(e,i,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,i=0){this.startContext(this.parser.getNodeType(e),t,i)}addNode(e,t,i){typeof e=="number"&&(e=new D(this.parser.nodeSet.types[e],Wi,Wi,(i??this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(ol(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?up(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let i of e.parsers)if(i.finish(this,e))return;let t=ol(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(Q.Paragraph,e.content.length),e.start)}elt(e,t,i,s){return typeof e=="string"?L(this.parser.getNodeType(e),t,i,s):new pp(e,t)}get buffer(){return new Op(this.parser.nodeSet)}}function up(n,e,t,i,s){let r=n[e].to,o=[],l=[],a=t.from+i;function h(c,f){for(;f?c>=r:c>r;){let u=n[e+1].from-r;i+=u,c+=u,e++,r=n[e].to}}for(let c=t.firstChild;c;c=c.nextSibling){h(c.from+i,!0);let f=c.from+i,u,d=s.get(c.tree);d?u=d:c.to+i>r?(u=up(n,e,c,i,s),h(c.to+i,!1)):u=c.toTree(),o.push(u),l.push(f-a)}return h(t.to+i,!1),new D(t.type,o,l,t.to+i-a,t.tree?t.tree.propValues:void 0)}class gr extends ar{constructor(e,t,i,s,r,o,l,a,h){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=i,this.blockNames=s,this.endLeafBlock=r,this.skipContextMarkup=o,this.inlineParsers=l,this.inlineNames=a,this.wrappers=h,this.nodeTypes=Object.create(null);for(let c of e.types)this.nodeTypes[c.name]=c.id}createParse(e,t,i){let s=new Gx(this,e,t,i);for(let r of this.wrappers)s=r(s,e,t,i);return s}configure(e){let t=sl(e);if(!t)return this;let{nodeSet:i,skipContextMarkup:s}=this,r=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),l=this.blockNames.slice(),a=this.inlineParsers.slice(),h=this.inlineNames.slice(),c=this.endLeafBlock.slice(),f=this.wrappers;if(Hi(t.defineNodes)){s=Object.assign({},s);let u=i.types.slice(),d;for(let O of t.defineNodes){let{name:m,block:g,composite:b,style:S}=typeof O=="string"?{name:O}:O;if(u.some(k=>k.name==m))continue;b&&(s[u.length]=(k,C,v)=>b(C,v,k.value));let x=u.length,w=b?["Block","BlockContext"]:g?x>=Q.ATXHeading1&&x<=Q.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;u.push(le.define({id:x,name:m,props:w&&[[X.group,w]]})),S&&(d||(d={}),Array.isArray(S)||S instanceof Ne?d[m]=S:Object.assign(d,S))}i=new Vi(u),d&&(i=i.extend(oi(d)))}if(Hi(t.props)&&(i=i.extend(...t.props)),Hi(t.remove))for(let u of t.remove){let d=this.blockNames.indexOf(u),O=this.inlineNames.indexOf(u);d>-1&&(r[d]=o[d]=void 0),O>-1&&(a[O]=void 0)}if(Hi(t.parseBlock))for(let u of t.parseBlock){let d=l.indexOf(u.name);if(d>-1)r[d]=u.parse,o[d]=u.leaf;else{let O=u.before?ps(l,u.before):u.after?ps(l,u.after)+1:l.length-1;r.splice(O,0,u.parse),o.splice(O,0,u.leaf),l.splice(O,0,u.name)}u.endLeaf&&c.push(u.endLeaf)}if(Hi(t.parseInline))for(let u of t.parseInline){let d=h.indexOf(u.name);if(d>-1)a[d]=u.parse;else{let O=u.before?ps(h,u.before):u.after?ps(h,u.after)+1:h.length-1;a.splice(O,0,u.parse),h.splice(O,0,u.name)}}return t.wrap&&(f=f.concat(t.wrap)),new gr(i,r,o,l,c,s,a,h,f)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let i=new Hx(this,e,t);e:for(let s=t;s=0){s=l;continue e}}s++}return i.resolveMarkers(0)}}function Hi(n){return n!=null&&n.length>0}function sl(n){if(!Array.isArray(n))return n;if(n.length==0)return null;let e=sl(n[0]);if(n.length==1)return e;let t=sl(n.slice(1));if(!t||!e)return e||t;let i=(o,l)=>(o||Wi).concat(l||Wi),s=e.wrap,r=t.wrap;return{props:i(e.props,t.props),defineNodes:i(e.defineNodes,t.defineNodes),parseBlock:i(e.parseBlock,t.parseBlock),parseInline:i(e.parseInline,t.parseInline),remove:i(e.remove,t.remove),wrap:s?r?(o,l,a,h)=>s(r(o,l,a,h),l,a,h):s:r}}function ps(n,e){let t=n.indexOf(e);if(t<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return t}let dp=[le.none];for(let n=1,e;e=Q[n];n++)dp[n]=le.define({id:n,name:e,props:n>=Q.Escape?[]:[[X.group,n in np?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});const Wi=[];class Op{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,i,s=0){return this.content.push(e,t,i,4+s*4),this}writeElements(e,t=0){for(let i of e)i.writeTo(this,t);return this}finish(e,t){return D.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class Xn{constructor(e,t,i,s=Wi){this.type=e,this.from=t,this.to=i,this.children=s}writeTo(e,t){let i=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-i)}toTree(e){return new Op(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class pp{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Wi}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function L(n,e,t,i){return new Xn(n,e,t,i)}const mp={resolve:"Emphasis",mark:"EmphasisMark"},gp={resolve:"Emphasis",mark:"EmphasisMark"},di={},rl={};class qe{constructor(e,t,i,s){this.type=e,this.from=t,this.to=i,this.side=s}}const Rc="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let Mn=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Mn=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch{}const Jr={Escape(n,e,t){if(e!=92||t==n.end-1)return-1;let i=n.char(t+1);for(let s=0;s]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(i);if(s)return n.append(L(Q.Autolink,t,t+1+s[0].length,[L(Q.LinkMark,t,t+1),L(Q.URL,t+1,t+s[0].length),L(Q.LinkMark,t+s[0].length,t+1+s[0].length)]));let r=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(i);if(r)return n.append(L(Q.Comment,t,t+1+r[0].length));let o=/^\?[^]*?\?>/.exec(i);if(o)return n.append(L(Q.ProcessingInstruction,t,t+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return l?n.append(L(Q.HTMLTag,t,t+1+l[0].length)):-1},Emphasis(n,e,t){if(e!=95&&e!=42)return-1;let i=t+1;for(;n.char(i)==e;)i++;let s=n.slice(t-1,t),r=n.slice(i,i+1),o=Mn.test(s),l=Mn.test(r),a=/\s|^$/.test(s),h=/\s|^$/.test(r),c=!h&&(!l||a||o),f=!a&&(!o||h||l),u=c&&(e==42||!f||o),d=f&&(e==42||!c||l);return n.append(new qe(e==95?mp:gp,t,i,(u?1:0)|(d?2:0)))},HardBreak(n,e,t){if(e==92&&n.char(t+1)==10)return n.append(L(Q.HardBreak,t,t+2));if(e==32){let i=t+1;for(;n.char(i)==32;)i++;if(n.char(i)==10&&i>=t+2)return n.append(L(Q.HardBreak,t,i+1))}return-1},Link(n,e,t){return e==91?n.append(new qe(di,t,t+1,1)):-1},Image(n,e,t){return e==33&&n.char(t+1)==91?n.append(new qe(rl,t,t+2,1)):-1},LinkEnd(n,e,t){if(e!=93)return-1;for(let i=n.parts.length-1;i>=0;i--){let s=n.parts[i];if(s instanceof qe&&(s.type==di||s.type==rl)){if(!s.side||n.skipSpace(s.to)==t&&!/[(\[]/.test(n.slice(t+1,t+2)))return n.parts[i]=null,-1;let r=n.takeContent(i),o=n.parts[i]=Fx(n,r,s.type==di?Q.Link:Q.Image,s.from,t+1);if(s.type==di)for(let l=0;le?L(Q.URL,e+t,r+t):r==n.length?null:!1}}function Sp(n,e,t){let i=n.charCodeAt(e);if(i!=39&&i!=34&&i!=40)return!1;let s=i==40?41:i;for(let r=e+1,o=!1;r=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,i,s,r){return this.append(new qe(e,t,i,(s?1:0)|(r?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof qe&&(t.type==di||t.type==rl))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let i=e;i=e;a--){let m=this.parts[a];if(m instanceof qe&&m.side&1&&m.type==s.type&&!(r&&(s.side&1||m.side&2)&&(m.to-m.from+o)%3==0&&((m.to-m.from)%3||o%3))){l=m;break}}if(!l)continue;let h=s.type.resolve,c=[],f=l.from,u=s.to;if(r){let m=Math.min(2,l.to-l.from,o);f=l.to-m,u=s.from+m,h=m==1?"Emphasis":"StrongEmphasis"}l.type.mark&&c.push(this.elt(l.type.mark,f,l.to));for(let m=a+1;m=0;t--){let i=this.parts[t];if(i instanceof qe&&i.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return cn(this.text,e-this.offset)+this.offset}elt(e,t,i,s){return typeof e=="string"?L(this.parser.getNodeType(e),t,i,s):new pp(e,t)}}function ol(n,e){if(!e.length)return n;if(!n.length)return e;let t=n.slice(),i=0;for(let s of e){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let r=this.fragment.to;for(;r>0&&this.input.read(r-1,r)!=` -`;)r--;this.fragmentEnd=r?r-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let s=e+this.fragment.offset;for(;i.to<=s;)if(!i.parent())return!1;for(;;){if(i.from>=s)return this.fragment.from<=t;if(!i.childAfter(s))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(X.contextHash)==e}takeNodes(e){let t=this.cursor,i=this.fragment.offset,s=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,o=r,l=e.block.children.length,a=o,h=l;for(;;){if(t.to-i>s){if(t.type.isAnonymous&&t.firstChild())continue;break}let c=kp(t.from-i,e.ranges);if(t.to-i<=e.ranges[e.rangeI].to)e.addNode(t.tree,c);else{let f=new D(e.parser.nodeSet.types[Q.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,t.tree),e.addNode(f,c)}if(t.type.is("Block")&&(Kx.indexOf(t.type.id)<0?(o=t.to-i,l=e.block.children.length):(o=a,l=h,a=t.to-i,h=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-r}}function kp(n,e){let t=n;for(let i=1;iOs[n]),Object.keys(Os).map(n=>Ix[n]),Object.keys(Os),jx,np,Object.keys(Jr).map(n=>Jr[n]),Object.keys(Jr),[]);function iw(n,e,t){let i=[];for(let s=n.firstChild,r=e;;s=s.nextSibling){let o=s?s.from:t;if(o>r&&i.push({from:r,to:o}),!s)break;r=s.to}return i}function nw(n){let{codeParser:e,htmlParser:t}=n;return{wrap:Au((s,r)=>{let o=s.type.id;if(e&&(o==Q.CodeBlock||o==Q.FencedCode)){let l="";if(o==Q.FencedCode){let h=s.node.getChild(Q.CodeInfo);h&&(l=r.read(h.from,h.to))}let a=e(l);if(a)return{parser:a,overlay:h=>h.type.id==Q.CodeText}}else if(t&&(o==Q.HTMLBlock||o==Q.HTMLTag))return{parser:t,overlay:iw(s.node,s.from,s.to)};return null})}}const sw={resolve:"Strikethrough",mark:"StrikethroughMark"},rw={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":p.strikethrough}},{name:"StrikethroughMark",style:p.processingInstruction}],parseInline:[{name:"Strikethrough",parse(n,e,t){if(e!=126||n.char(t+1)!=126||n.char(t+2)==126)return-1;let i=n.slice(t-1,t),s=n.slice(t+2,t+3),r=/\s|^$/.test(i),o=/\s|^$/.test(s),l=Mn.test(i),a=Mn.test(s);return n.addDelimiter(sw,t,t+2,!o&&(!a||r||l),!r&&(!l||o||a))},after:"Emphasis"}]};function fn(n,e,t=0,i,s=0){let r=0,o=!0,l=-1,a=-1,h=!1,c=()=>{i.push(n.elt("TableCell",s+l,s+a,n.parser.parseInline(e.slice(l,a),s+l)))};for(let f=t;f-1)&&r++,o=!1,i&&(l>-1&&c(),i.push(n.elt("TableDelimiter",f+s,f+s+1))),l=a=-1):(h||u!=32&&u!=9)&&(l<0&&(l=f),a=f+1),h=!h&&u==92}return l>-1&&(r++,i&&c()),r}function Ac(n,e){for(let t=e;ts instanceof Xc)||!Ac(e.text,e.basePos))return!1;let i=n.scanLine(n.absoluteLineEnd+1).text;return xp.test(i)&&fn(n,e.text,e.basePos)==fn(n,i,e.basePos)},before:"SetextHeading"}]};class lw{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const aw={defineNodes:[{name:"Task",block:!0,style:p.list},{name:"TaskMarker",style:p.atom}],parseBlock:[{name:"TaskList",leaf(n,e){return/^\[[ xX]\][ \t]/.test(e.content)&&n.parentType().name=="ListItem"?new lw:null},after:"SetextHeading"}]},Mc=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Wc=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,hw=/[\w-]+\.[\w-]+($|\/)/,Ec=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Vc=/\/[a-zA-Z\d@.]+/gy;function Yc(n,e,t,i){let s=0;for(let r=e;r-1)return-1;let i=e+t[0].length;for(;;){let s=n[i-1],r;if(/[?!.,:*_~]/.test(s)||s==")"&&Yc(n,e,i,")")>Yc(n,e,i,"("))i--;else if(s==";"&&(r=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(n.slice(e,i))))i=e+r.index;else break}return i}function Dc(n,e){Ec.lastIndex=e;let t=Ec.exec(n);if(!t)return-1;let i=t[0][t[0].length-1];return i=="_"||i=="-"?-1:e+t[0].length-(i=="."?1:0)}const fw={parseInline:[{name:"Autolink",parse(n,e,t){let i=t-n.offset;Mc.lastIndex=i;let s=Mc.exec(n.text),r=-1;if(!s)return-1;if(s[1]||s[2]){if(r=cw(n.text,i+s[0].length),r>-1&&n.hasOpenLink){let o=/([^\[\]]|\[[^\]]*\])*/.exec(n.text.slice(i,r));r=i+o[0].length}}else s[3]?r=Dc(n.text,i):(r=Dc(n.text,i+s[0].length),r>-1&&s[0]=="xmpp:"&&(Vc.lastIndex=r,s=Vc.exec(n.text),s&&(r=s.index+s[0].length)));return r<0?-1:(n.addElement(n.elt("URL",t,r+n.offset)),r+n.offset)}}]},uw=[ow,aw,rw,fw];function wp(n,e,t){return(i,s,r)=>{if(s!=n||i.char(r+1)==n)return-1;let o=[i.elt(t,r,r+1)];for(let l=r+1;l"}}}),Pp=new X,$p=tw.configure({props:[li.add(n=>!n.is("Block")||n.is("Document")||ll(n)!=null||mw(n)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),Pp.add(ll),Di.add({Document:()=>null}),Xt.add({Document:Qp})]});function ll(n){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(n.name);return e?+e[1]:void 0}function mw(n){return n.name=="OrderedList"||n.name=="BulletList"}function gw(n,e){let t=n;for(;;){let i=t.nextSibling,s;if(!i||(s=ll(i.type))!=null&&s<=e)break;t=i}return t.to}const bw=Du.of((n,e,t)=>{for(let i=F(n).resolveInner(t,-1);i&&!(i.fromt)return{from:t,to:r}}return null});function ra(n){return new Ee(Qp,n,[bw],"markdown")}const Sw=ra($p),yw=$p.configure([uw,Ow,dw,pw,{props:[li.add({Table:(n,e)=>({from:e.doc.lineAt(n.from).to,to:n.to})})]}]),vp=ra(yw);function kw(n,e){return t=>{if(t&&n){let i=null;if(t=/\S*/.exec(t)[0],typeof n=="function"?i=n(t):i=Ds.matchLanguageName(n,t,!0),i instanceof Ds)return i.support?i.support.language.parser:ii.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}class ms{constructor(e,t,i,s,r,o,l){this.node=e,this.from=t,this.to=i,this.spaceBefore=s,this.spaceAfter=r,this.type=o,this.item=l}blank(e,t=!0){let i=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;i.length0;s--)i+=" ";return i+(t?this.spaceAfter:"")}}marker(e,t){let i=this.node.name=="OrderedList"?String(+Zp(this.item,e)[2]+t):"";return this.spaceBefore+i+this.type+this.spaceAfter}}function Cp(n,e){let t=[];for(let s=n;s&&s.name!="Document";s=s.parent)(s.name=="ListItem"||s.name=="Blockquote"||s.name=="FencedCode")&&t.push(s);let i=[];for(let s=t.length-1;s>=0;s--){let r=t[s],o,l=e.lineAt(r.from),a=r.from-l.from;if(r.name=="FencedCode")i.push(new ms(r,a,a,"","","",null));else if(r.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))i.push(new ms(r,a,a+o[0].length,"",o[1],">",null));else if(r.name=="ListItem"&&r.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let h=o[3],c=o[0].length;h.length>=4&&(h=h.slice(0,h.length-4),c-=4),i.push(new ms(r.parent,a,a+c,o[1],h,o[2],r))}else if(r.name=="ListItem"&&r.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let h=o[4],c=o[0].length;h.length>4&&(h=h.slice(0,h.length-4),c-=4);let f=o[2];o[3]&&(f+=o[3].replace(/[xX]/," ")),i.push(new ms(r.parent,a,a+c,o[1],h,f,r))}}return i}function Zp(n,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(n.from,n.from+10))}function eo(n,e,t,i=0){for(let s=-1,r=n;;){if(r.name=="ListItem"){let l=Zp(r,e),a=+l[2];if(s>=0){if(a!=s+1)return;t.push({from:r.from+l[1].length,to:r.from+l[0].length,insert:String(s+2+i)})}s=a}let o=r.nextSibling;if(!o)break;r=o}}function oa(n,e){let t=/^[ \t]*/.exec(n)[0].length;if(!t||e.facet(Yi)!=" ")return n;let i=Ge(n,4,t),s="";for(let r=i;r>0;)r>=4?(s+=" ",r-=4):(s+=" ",r--);return s+n.slice(t)}const xw=({state:n,dispatch:e})=>{let t=F(n),{doc:i}=n,s=null,r=n.changeByRange(o=>{if(!o.empty||!vp.isActiveAt(n,o.from))return s={range:o};let l=o.from,a=i.lineAt(l),h=Cp(t.resolveInner(l,-1),i);for(;h.length&&h[h.length-1].from>l-a.from;)h.pop();if(!h.length)return s={range:o};let c=h[h.length-1];if(c.to-c.spaceAfter.length>l-a.from)return s={range:o};let f=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&f){let g=c.node.firstChild,b=c.node.getChild("ListItem","ListItem");if(g.to>=l||b&&b.to0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let S=h.length>1?h[h.length-2]:null,x,w="";S&&S.item?(x=a.from+S.from,w=S.marker(i,1)):x=a.from+(S?S.to:0);let k=[{from:x,to:l,insert:w}];return c.node.name=="OrderedList"&&eo(c.item,i,k,-2),S&&S.node.name=="OrderedList"&&eo(S.item,i,k),{range:y.cursor(x+w.length),changes:k}}else{let S=zc(h,n,a);return{range:y.cursor(l+S.length+1),changes:{from:a.from,insert:S+n.lineBreak}}}}if(c.node.name=="Blockquote"&&f&&a.from){let g=i.lineAt(a.from-1),b=/>\s*$/.exec(g.text);if(b&&b.index==c.from){let S=n.changes([{from:g.from+b.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(S),changes:S}}}let u=[];c.node.name=="OrderedList"&&eo(c.item,i,u);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,b=h.length-1;g<=b;g++)O+=g==b&&!d?h[g].marker(i,1):h[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return O=oa(O,n),ww(c.node,n.doc)&&(O=zc(h,n,a)+n.lineBreak+O),u.push({from:m,to:l,insert:n.lineBreak+O}),{range:y.cursor(m+O.length+1),changes:u}});return s?!1:(e(n.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function qc(n){return n.name=="QuoteMark"||n.name=="ListMark"}function ww(n,e){if(n.name!="OrderedList"&&n.name!="BulletList")return!1;let t=n.firstChild,i=n.getChild("ListItem","ListItem");if(!i)return!1;let s=e.lineAt(t.to),r=e.lineAt(i.from),o=/^[\s>]*$/.test(s.text);return s.number+(o?0:1){let t=F(n),i=null,s=n.changeByRange(r=>{let o=r.from,{doc:l}=n;if(r.empty&&vp.isActiveAt(n,r.from)){let a=l.lineAt(o),h=Cp(Qw(t,o),l);if(h.length){let c=h[h.length-1],f=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>f&&!/\S/.test(a.text.slice(f,o-a.from)))return{range:y.cursor(a.from+f),changes:{from:a.from+f,to:o}};if(o-a.from==f&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let u=a.from+c.from;if(c.item&&c.node.from1&&n.eat("$");var t=n.next();return/['"({]/.test(t)?(e.tokens[0]=br(t,t=="("?"quote":t=="{"?"def":"string"),Ei(n,e)):(/\d/.test(t)||n.eatWhile(/\w/),e.tokens.shift(),"def")};function Ew(n){return function(e,t){return e.sol()&&e.string==n&&t.tokens.shift(),e.skipToEnd(),"string.special"}}function Ei(n,e){return(e.tokens[0]||Mw)(n,e)}const Vw={name:"shell",startState:function(){return{tokens:[]}},token:function(n,e){return Ei(n,e)},languageData:{autocomplete:Tp.concat(Rp,Ap),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};var Yw=["true","false","on","off","yes","no"],Dw=new RegExp("\\b(("+Yw.join(")|(")+"))$","i");const qw={name:"yaml",token:function(n,e){var t=n.peek(),i=e.escaped;if(e.escaped=!1,t=="#"&&(n.pos==0||/\s/.test(n.string.charAt(n.pos-1))))return n.skipToEnd(),"comment";if(n.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&n.indentation()>e.keyCol)return n.skipToEnd(),"string";if(e.literal&&(e.literal=!1),n.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,n.match("---")||n.match("..."))return"def";if(n.match(/^\s*-\s+/))return"meta"}if(n.match(/^(\{|\}|\[|\])/))return t=="{"?e.inlinePairs++:t=="}"?e.inlinePairs--:t=="["?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!i&&t==",")return n.next(),"meta";if(e.inlinePairs>0&&!i&&t==",")return e.keyCol=0,e.pair=!1,e.pairStart=!1,n.next(),"meta";if(e.pairStart){if(n.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(n.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(e.inlinePairs==0&&n.match(/^\s*-?[0-9\.\,]+\s?$/)||e.inlinePairs>0&&n.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(n.match(Dw))return"keyword"}return!e.pair&&n.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=n.indentation(),"atom"):e.pair&&n.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped=t=="\\",n.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};var Lc,_c,Bc;function Uc({view:n,searchConfig:e}){const t=Hc.useState(""),i=Vp(t,2),s=i[0],r=i[1],o=(u,d)=>{r(d),l(d)},l=u=>{n.dispatch({effects:Ri.of(new Dl({search:u}))})},a=u=>{u.key==="Enter"&&(u.shiftKey?f():c())},h=u=>{u.key==="Escape"&&Ll(n)},c=()=>{l(s),vn(n)},f=()=>{l(s),Cn(n)};return rt.createElement(Ip,{renderLabel:"",inputRef:u=>{setTimeout(()=>u==null?void 0:u.focus(),0)},size:"small",display:"inline-block",width:"20rem",placeholder:e.placeholder,onChange:o,onKeyDown:a,onKeyUp:h,renderBeforeInput:Lc||(Lc=rt.createElement(Gp,{size:"x-small"})),renderAfterInput:rt.createElement("span",null,rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:c,screenReaderLabel:e.nextResultLabel},_c||(_c=rt.createElement(jp,null))),rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:f,screenReaderLabel:e.prevResultLabel},Bc||(Bc=rt.createElement(Np,null))))})}function zw(n){return n?OS({createPanel:e=>{var t;const i=document.createElement("div");return i.style.padding="8px",Number(rt.version.split(".")[0])>=18?Wp(()=>import("./index-DVuP2ZA1.js").then(r=>r.c),__vite__mapDeps([0,1])).then(r=>{r.createRoot(i).render(t||(t=rt.createElement(Uc,{view:e,searchConfig:n})))}).catch(r=>{}):Ep.render(rt.createElement(Uc,{view:e,searchConfig:n}),i),{dom:i}}}):[]}const Lw=(n,e)=>{const t=e.attachment,i=e.height,s=e.width,r={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0}},o={top:{marginBottom:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}},l=1.4375;return{codeEditor:{label:"codeEditor",position:"relative",boxSizing:"border-box",height:i||"auto",width:s},label:{label:"label",height:"100%",width:"100%"},codeEditorContainer:{label:"codeEditorContainer",height:"100%",width:"100%",borderColor:n==null?void 0:n.borderColor,borderStyle:"solid",borderWidth:n==null?void 0:n.borderWidth,borderRadius:n.borderRadius,marginBottom:"1rem",...t&&{...o[t],...r[t]}},theme:{"&":{overflow:"hidden",background:n.background,fontFamily:n.fontFamily,fontSize:n.fontSize,color:n.color,border:0,height:"100%",width:"100%",minHeight:`${l}rem`,lineHeight:l,borderRadius:n.borderRadius,...t&&{...r[t]}},"&.cm-editor.cm-focused":{outline:`${n==null?void 0:n.borderWidth} solid ${n==null?void 0:n.focusBorderColor}`},".cm-content":{padding:`${n.verticalPadding} 0`},".cm-scroller":{fontFamily:n.fontFamily,lineHeight:1.4375},".cm-gutters":{background:n.gutterBackground,borderColor:n.borderColor},".cm-line":{padding:`0 ${n.horizontalPadding}`},".cm-selectionBackground":{background:"transparent"},".cm-focused .cm-selectionBackground":{background:"#d7d4f0"},".cm-placeholder":{color:"#707070"}},highlightStyle:[{tag:p.link,textDecoration:"underline"},{tag:p.heading,textDecoration:"underline",fontWeight:"bold"},{tag:p.emphasis,fontStyle:"italic"},{tag:p.strong,fontWeight:"bold"},{tag:p.strikethrough,textDecoration:"line-through"},{tag:p.keyword,color:"#708"},{tag:[p.atom,p.bool,p.url,p.contentSeparator,p.labelName],color:"#219"},{tag:[p.literal,p.inserted],color:"#164"},{tag:[p.string,p.deleted],color:"#a11"},{tag:p.definition(p.variableName),color:"#00f"},{tag:p.local(p.variableName),color:"#30a"},{tag:p.className,color:"#167"},{tag:[p.special(p.variableName),p.macroName],color:"#256"},{tag:p.definition(p.propertyName),color:"#00c"},{tag:p.comment,color:"#940"},{tag:p.meta,color:"#757075"},{tag:[p.regexp,p.escape,p.special(p.string)],color:"#d13b00"},{tag:[p.typeName,p.namespace],color:"#008051"},{tag:p.invalid,color:"#e60000"}]}},_w=n=>{const e=n.colors,t=n.borders,i=n.typography,s=n.spacing;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLightest,color:e==null?void 0:e.textDarkest,gutterBackground:e==null?void 0:e.backgroundLight,borderWidth:t==null?void 0:t.widthSmall,borderColor:e==null?void 0:e.borderMedium,borderRadius:t==null?void 0:t.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,horizontalPadding:s==null?void 0:s.xSmall,verticalPadding:s==null?void 0:s.xxSmall}}},Ic=[{key:"ArrowLeft",run:jl,shift:Gl,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:Xd,shift:Nd},{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Wd,shift:Fd},{mac:"Cmd-ArrowLeft",run:Bd,shift:sO},{key:"Home",run:zd,shift:tO},{key:"ArrowRight",run:Il,shift:Nl,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:Ad,shift:jd},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Md,shift:Gd},{mac:"Cmd-ArrowRight",run:_d,shift:nO},{key:"End",run:Ld,shift:iO},{key:"Delete",run:Fs},{key:"Mod-Delete",mac:"Alt-Delete",run:Fl},{key:"Backspace",run:Hs,shift:Hs},{key:"Mod-Backspace",mac:"Alt-Backspace",run:lO},{mac:"Mod-Delete",run:sy},{mac:"Mod-Backspace",run:aO}],Bw={label:j.string.isRequired,language:j.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:j.bool,editable:j.bool,lineNumbers:j.bool,foldGutter:j.bool,highlightActiveLineGutter:j.bool,highlightActiveLine:j.bool,lineWrapping:j.bool,autofocus:j.bool,spellcheck:j.bool,direction:j.oneOf(["ltr","rtl"]),rtlMoveVisually:j.bool,indentOnLoad:j.bool,indentWithTab:j.bool,indentUnit:j.string,defaultValue:j.string,value:Fp(j.string,"onChange","defaultValue"),onChange:j.func,onFocus:j.func,onBlur:j.func,attachment:j.oneOf(["bottom","top"]),height:j.string,width:j.string,elementRef:j.func,containerRef:j.func,searchConfig:j.object},Uw=["label","language","readOnly","editable","lineNumbers","foldGutter","highlightActiveLineGutter","highlightActiveLine","lineWrapping","autofocus","spellcheck","direction","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","defaultValue","value","onChange","onFocus","onBlur","attachment","height","width","elementRef","containerRef","searchConfig"],Iw=["label","styles"];var jc,Nc,Gc,Fc,Pt,It;let sQ=(jc=Yp(),Nc=Dp(Lw,_w),Gc=qp(),Fc=zp(),jc(Pt=Nc(Pt=Gc(Pt=Fc(Pt=(It=class Mp extends Hc.Component{addAnimationFrame(e){typeof e=="function"&&this._raf.push(Hp(e))}cancelAnimationFrames(){this._raf.forEach(e=>e.cancel()),this._raf=[]}focus(){this.addAnimationFrame(()=>{var e;(e=this._editorView)===null||e===void 0||e.focus()})}get hasFocus(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.hasFocus}selectAll(){this._editorView&&this.addAnimationFrame(()=>{var e;this.dispatchViewSelection({anchor:0,head:(e=this.currentDocValue)===null||e===void 0?void 0:e.length})})}deselectAll(){this._editorView&&this.addAnimationFrame(()=>{this.dispatchViewSelection({anchor:0,head:0})})}indentCurrentSelection(){this.addAnimationFrame(()=>{this._editorView&&uO({state:this._editorView.state,dispatch:e=>{var t;(t=this._editorView)===null||t===void 0||t.update([e])}})})}indentAll(){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.indentCodeRange(0,this.currentDocValue.length)})}indentCodeRange(e,t){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.dispatchViewChanges({changes:Ob(this._editorView.state,e,t)})})}dispatchViewEffects(e){!this._editorView||!e||this._editorView.dispatch({effects:e})}dispatchViewChanges({changes:e,selection:t,userEvent:i}){!this._editorView||!e||this._editorView.dispatch({changes:e,...t?{selection:t}:void 0,...i?{userEvent:i}:void 0})}dispatchViewSelection(e){!this._editorView||!e||this._editorView.dispatch({selection:e})}get currentDocValue(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.state.doc}get isControlled(){return typeof this.props.value=="string"}constructor(e){super(e),this._id=void 0,this.ref=null,this._containerRef=void 0,this._editorView=void 0,this._raf=[],this._newSelectionAfterValueChange=void 0,this.handleRef=t=>{const i=this.props.elementRef;this.ref=t,typeof i=="function"&&i(t)},this.handleContainerRef=t=>{const i=this.props.containerRef;this._containerRef=t||void 0,typeof i=="function"&&i(t)},this._id=e.deterministicId()}componentDidMount(){var e,t;const i=this.props,s=i.value,r=i.defaultValue,o=i.autofocus,l=i.indentOnLoad;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t);const a=Y.create({doc:s||r,extensions:this.extensions});this._editorView=new $({state:a,parent:this._containerRef}),o&&this.focus(),l&&this.indentAll()}componentWillUnmount(){var e;(e=this._editorView)===null||e===void 0||e.destroy(),this.cancelAnimationFrames()}componentDidUpdate(e){var t,i;(t=(i=this.props).makeStyles)===null||t===void 0||t.call(i),this._editorView&&(this.props.value!==e.value&&this.refreshEditorValue(),this.shouldUpdateExtensions(e)&&this.refreshExtensions())}shouldUpdateExtensions(e){const t=["styles","themeOverride","language","readOnly","editable","lineNumbers","highlightActiveLineGutter","foldGutter","lineWrapping","autofocus","spellcheck","direction","dir","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","highlightActiveLine","attachment"];for(const i of t)if(!Lp(this.props[i],e[i]))return!0;return!1}get direction(){return this.props.direction||this.props.dir}get extensions(){const e=[...this.baseExtensions,this.languageExtension,this.onChangeExtension,this.focusListenerExtension,this.announceLineNumberExtension];return this.themeExtension&&e.push(this.themeExtension),this.props.lineNumbers&&e.push(z0()),this.props.highlightActiveLine&&e.push(p0()),this.props.highlightActiveLineGutter&&e.push(B0()),this.props.foldGutter&&e.push(Eb()),this.props.lineWrapping&&e.push($.lineWrapping),this.props.editable===!1&&e.push($.editable.of(!1)),this.props.readOnly&&e.push(Y.readOnly.of(!0)),this.props.spellcheck&&e.push($.contentAttributes.of({spellcheck:"true"})),this.direction&&e.push($.contentAttributes.of({dir:this.direction})),this.props.indentUnit&&e.push(Yi.of(this.props.indentUnit)),e}get baseExtensions(){return[h0(),VS(),Kg(),n0(),Y.allowMultipleSelections.of(!0),vh(qb,{fallback:!0}),jb(),z1(),K1(),k0(),Q0(),rS(),Qb(),zw(this.props.searchConfig),Vn.of(this.keymaps)]}get keymaps(){const e=[...U1,...this.commandKeybinding,...IS,...Ab,...pd,...Zy,...this.props.searchConfig?PS:[]];return this.props.indentWithTab&&e.push(yy),e}get commandKeybinding(){const e=this.props.rtlMoveVisually;if(this.direction==="rtl"&&!e){const t=Ic.map(s=>s.key?s.key:s.mac?s.mac:s);return[...Kh.filter(s=>s.key?t.indexOf(s.key)<0:s.mac?t.indexOf(s.mac)<0:!1),...Ic]}return Kh}get themeExtension(){const e=this.props.styles;if(!(e!=null&&e.theme)||!e.highlightStyle)return;const t=$.theme(e==null?void 0:e.theme),i=vh(zn.define(e==null?void 0:e.highlightStyle));return[t,i]}get languageExtension(){switch(this.props.language){case"json":return Xw();case"js":case"jsx":case"javascript":return Jo({jsx:!0,typescript:!0});case"html":return ip({matchClosingTags:!0,autoCloseTags:!0});case"css":return jO();case"markdown":return vw();case"sh":case"shell":case"bash":return Ls.define(Vw);case"yml":case"yaml":return Ls.define(qw);default:return Jo({jsx:!0,typescript:!0})}}callOnChangeHandler(e){const t=this.props,i=t.onChange,s=t.value;this.addAnimationFrame(()=>{typeof i=="function"&&e!==s&&i(e)})}get onChangeExtension(){return Y.changeFilter.of(e=>{if(!this._editorView)return!1;if(e.docChanged){const t=e.newDoc.toString();if(this.isControlled)return t!==this.props.value?(this._newSelectionAfterValueChange=e.selection,this.cancelAnimationFrames(),this.callOnChangeHandler(t),!1):!0;this.callOnChangeHandler(t)}return!0})}get focusListenerExtension(){const e=this.props,t=e.onFocus,i=e.onBlur;return $.updateListener.of(s=>{s.focusChanged&&this._editorView&&(this.hasFocus?typeof t=="function"&&t():typeof i=="function"&&i())})}get announceLineNumberExtension(){return Y.transactionExtender.of(e=>{const t=e.selection,i=e.startState.selection.main;if(t&&t.main.empty&&i.empty){const s=e.startState.doc.lineAt(i.head),r=e.newDoc.lineAt(t.main.head);if(s.number!=r.number)return{effects:$.announce.of(e.startState.phrase("line ")+r.number+".")}}return null})}refreshExtensions(){this.dispatchViewEffects(M.reconfigure.of(this.extensions))}refreshEditorValue(){if(!this._editorView)return;const e=this.props.value,t=this._editorView.state.doc.toString();if(typeof e<"u"&&t!==e){let i;const s=e.length-t.length;s===1?i="input.type":s===-1&&(i="delete.backward"),this.dispatchViewChanges({changes:{from:0,to:t.length,insert:e||""},selection:this._newSelectionAfterValueChange,userEvent:i}),this._newSelectionAfterValueChange=void 0}this.props.indentOnLoad&&this.indentAll()}render(){const e=this.props,t=e.label,i=e.styles,s=_p(e,Iw);return Un("div",Object.assign({ref:this.handleRef,css:i==null?void 0:i.codeEditor},Bp(Up(s,Mp.allowedProps))),Un("label",{css:i==null?void 0:i.label,htmlFor:this._id},Un(Kp,null,t),Un("div",{ref:this.handleContainerRef,css:i==null?void 0:i.codeEditorContainer})))}},It.displayName="SourceCodeEditor",It.componentId="SourceCodeEditor",It.propTypes=Bw,It.allowedProps=Uw,It.defaultProps={language:"jsx",readOnly:!1,editable:!0,lineNumbers:!1,foldGutter:!1,highlightActiveLine:!1,highlightActiveLineGutter:!1,lineWrapping:!1,autofocus:!1,spellcheck:!1,rtlMoveVisually:!0,indentOnLoad:!1,indentWithTab:!1,defaultValue:"",height:"auto"},It))||Pt)||Pt)||Pt)||Pt);export{sQ as S}; +`;)r--;this.fragmentEnd=r?r-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let s=e+this.fragment.offset;for(;i.to<=s;)if(!i.parent())return!1;for(;;){if(i.from>=s)return this.fragment.from<=t;if(!i.childAfter(s))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(X.contextHash)==e}takeNodes(e){let t=this.cursor,i=this.fragment.offset,s=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,o=r,l=e.block.children.length,a=o,h=l;for(;;){if(t.to-i>s){if(t.type.isAnonymous&&t.firstChild())continue;break}let c=kp(t.from-i,e.ranges);if(t.to-i<=e.ranges[e.rangeI].to)e.addNode(t.tree,c);else{let f=new D(e.parser.nodeSet.types[Q.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,t.tree),e.addNode(f,c)}if(t.type.is("Block")&&(Kx.indexOf(t.type.id)<0?(o=t.to-i,l=e.block.children.length):(o=a,l=h,a=t.to-i,h=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-r}}function kp(n,e){let t=n;for(let i=1;iOs[n]),Object.keys(Os).map(n=>Ix[n]),Object.keys(Os),jx,np,Object.keys(Jr).map(n=>Jr[n]),Object.keys(Jr),[]);function iw(n,e,t){let i=[];for(let s=n.firstChild,r=e;;s=s.nextSibling){let o=s?s.from:t;if(o>r&&i.push({from:r,to:o}),!s)break;r=s.to}return i}function nw(n){let{codeParser:e,htmlParser:t}=n;return{wrap:Au((s,r)=>{let o=s.type.id;if(e&&(o==Q.CodeBlock||o==Q.FencedCode)){let l="";if(o==Q.FencedCode){let h=s.node.getChild(Q.CodeInfo);h&&(l=r.read(h.from,h.to))}let a=e(l);if(a)return{parser:a,overlay:h=>h.type.id==Q.CodeText}}else if(t&&(o==Q.HTMLBlock||o==Q.HTMLTag))return{parser:t,overlay:iw(s.node,s.from,s.to)};return null})}}const sw={resolve:"Strikethrough",mark:"StrikethroughMark"},rw={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":p.strikethrough}},{name:"StrikethroughMark",style:p.processingInstruction}],parseInline:[{name:"Strikethrough",parse(n,e,t){if(e!=126||n.char(t+1)!=126||n.char(t+2)==126)return-1;let i=n.slice(t-1,t),s=n.slice(t+2,t+3),r=/\s|^$/.test(i),o=/\s|^$/.test(s),l=Mn.test(i),a=Mn.test(s);return n.addDelimiter(sw,t,t+2,!o&&(!a||r||l),!r&&(!l||o||a))},after:"Emphasis"}]};function fn(n,e,t=0,i,s=0){let r=0,o=!0,l=-1,a=-1,h=!1,c=()=>{i.push(n.elt("TableCell",s+l,s+a,n.parser.parseInline(e.slice(l,a),s+l)))};for(let f=t;f-1)&&r++,o=!1,i&&(l>-1&&c(),i.push(n.elt("TableDelimiter",f+s,f+s+1))),l=a=-1):(h||u!=32&&u!=9)&&(l<0&&(l=f),a=f+1),h=!h&&u==92}return l>-1&&(r++,i&&c()),r}function Ac(n,e){for(let t=e;ts instanceof Xc)||!Ac(e.text,e.basePos))return!1;let i=n.scanLine(n.absoluteLineEnd+1).text;return xp.test(i)&&fn(n,e.text,e.basePos)==fn(n,i,e.basePos)},before:"SetextHeading"}]};class lw{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const aw={defineNodes:[{name:"Task",block:!0,style:p.list},{name:"TaskMarker",style:p.atom}],parseBlock:[{name:"TaskList",leaf(n,e){return/^\[[ xX]\][ \t]/.test(e.content)&&n.parentType().name=="ListItem"?new lw:null},after:"SetextHeading"}]},Mc=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Wc=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,hw=/[\w-]+\.[\w-]+($|\/)/,Ec=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Vc=/\/[a-zA-Z\d@.]+/gy;function Yc(n,e,t,i){let s=0;for(let r=e;r-1)return-1;let i=e+t[0].length;for(;;){let s=n[i-1],r;if(/[?!.,:*_~]/.test(s)||s==")"&&Yc(n,e,i,")")>Yc(n,e,i,"("))i--;else if(s==";"&&(r=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(n.slice(e,i))))i=e+r.index;else break}return i}function Dc(n,e){Ec.lastIndex=e;let t=Ec.exec(n);if(!t)return-1;let i=t[0][t[0].length-1];return i=="_"||i=="-"?-1:e+t[0].length-(i=="."?1:0)}const fw={parseInline:[{name:"Autolink",parse(n,e,t){let i=t-n.offset;Mc.lastIndex=i;let s=Mc.exec(n.text),r=-1;if(!s)return-1;if(s[1]||s[2]){if(r=cw(n.text,i+s[0].length),r>-1&&n.hasOpenLink){let o=/([^\[\]]|\[[^\]]*\])*/.exec(n.text.slice(i,r));r=i+o[0].length}}else s[3]?r=Dc(n.text,i):(r=Dc(n.text,i+s[0].length),r>-1&&s[0]=="xmpp:"&&(Vc.lastIndex=r,s=Vc.exec(n.text),s&&(r=s.index+s[0].length)));return r<0?-1:(n.addElement(n.elt("URL",t,r+n.offset)),r+n.offset)}}]},uw=[ow,aw,rw,fw];function wp(n,e,t){return(i,s,r)=>{if(s!=n||i.char(r+1)==n)return-1;let o=[i.elt(t,r,r+1)];for(let l=r+1;l"}}}),Pp=new X,$p=tw.configure({props:[li.add(n=>!n.is("Block")||n.is("Document")||ll(n)!=null||mw(n)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),Pp.add(ll),Di.add({Document:()=>null}),Xt.add({Document:Qp})]});function ll(n){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(n.name);return e?+e[1]:void 0}function mw(n){return n.name=="OrderedList"||n.name=="BulletList"}function gw(n,e){let t=n;for(;;){let i=t.nextSibling,s;if(!i||(s=ll(i.type))!=null&&s<=e)break;t=i}return t.to}const bw=Du.of((n,e,t)=>{for(let i=F(n).resolveInner(t,-1);i&&!(i.fromt)return{from:t,to:r}}return null});function ra(n){return new Ee(Qp,n,[bw],"markdown")}const Sw=ra($p),yw=$p.configure([uw,Ow,dw,pw,{props:[li.add({Table:(n,e)=>({from:e.doc.lineAt(n.from).to,to:n.to})})]}]),vp=ra(yw);function kw(n,e){return t=>{if(t&&n){let i=null;if(t=/\S*/.exec(t)[0],typeof n=="function"?i=n(t):i=Ds.matchLanguageName(n,t,!0),i instanceof Ds)return i.support?i.support.language.parser:ii.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}class ms{constructor(e,t,i,s,r,o,l){this.node=e,this.from=t,this.to=i,this.spaceBefore=s,this.spaceAfter=r,this.type=o,this.item=l}blank(e,t=!0){let i=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;i.length0;s--)i+=" ";return i+(t?this.spaceAfter:"")}}marker(e,t){let i=this.node.name=="OrderedList"?String(+Zp(this.item,e)[2]+t):"";return this.spaceBefore+i+this.type+this.spaceAfter}}function Cp(n,e){let t=[];for(let s=n;s&&s.name!="Document";s=s.parent)(s.name=="ListItem"||s.name=="Blockquote"||s.name=="FencedCode")&&t.push(s);let i=[];for(let s=t.length-1;s>=0;s--){let r=t[s],o,l=e.lineAt(r.from),a=r.from-l.from;if(r.name=="FencedCode")i.push(new ms(r,a,a,"","","",null));else if(r.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))i.push(new ms(r,a,a+o[0].length,"",o[1],">",null));else if(r.name=="ListItem"&&r.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let h=o[3],c=o[0].length;h.length>=4&&(h=h.slice(0,h.length-4),c-=4),i.push(new ms(r.parent,a,a+c,o[1],h,o[2],r))}else if(r.name=="ListItem"&&r.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let h=o[4],c=o[0].length;h.length>4&&(h=h.slice(0,h.length-4),c-=4);let f=o[2];o[3]&&(f+=o[3].replace(/[xX]/," ")),i.push(new ms(r.parent,a,a+c,o[1],h,f,r))}}return i}function Zp(n,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(n.from,n.from+10))}function eo(n,e,t,i=0){for(let s=-1,r=n;;){if(r.name=="ListItem"){let l=Zp(r,e),a=+l[2];if(s>=0){if(a!=s+1)return;t.push({from:r.from+l[1].length,to:r.from+l[0].length,insert:String(s+2+i)})}s=a}let o=r.nextSibling;if(!o)break;r=o}}function oa(n,e){let t=/^[ \t]*/.exec(n)[0].length;if(!t||e.facet(Yi)!=" ")return n;let i=Ge(n,4,t),s="";for(let r=i;r>0;)r>=4?(s+=" ",r-=4):(s+=" ",r--);return s+n.slice(t)}const xw=({state:n,dispatch:e})=>{let t=F(n),{doc:i}=n,s=null,r=n.changeByRange(o=>{if(!o.empty||!vp.isActiveAt(n,o.from))return s={range:o};let l=o.from,a=i.lineAt(l),h=Cp(t.resolveInner(l,-1),i);for(;h.length&&h[h.length-1].from>l-a.from;)h.pop();if(!h.length)return s={range:o};let c=h[h.length-1];if(c.to-c.spaceAfter.length>l-a.from)return s={range:o};let f=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&f){let g=c.node.firstChild,b=c.node.getChild("ListItem","ListItem");if(g.to>=l||b&&b.to0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let S=h.length>1?h[h.length-2]:null,x,w="";S&&S.item?(x=a.from+S.from,w=S.marker(i,1)):x=a.from+(S?S.to:0);let k=[{from:x,to:l,insert:w}];return c.node.name=="OrderedList"&&eo(c.item,i,k,-2),S&&S.node.name=="OrderedList"&&eo(S.item,i,k),{range:y.cursor(x+w.length),changes:k}}else{let S=zc(h,n,a);return{range:y.cursor(l+S.length+1),changes:{from:a.from,insert:S+n.lineBreak}}}}if(c.node.name=="Blockquote"&&f&&a.from){let g=i.lineAt(a.from-1),b=/>\s*$/.exec(g.text);if(b&&b.index==c.from){let S=n.changes([{from:g.from+b.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(S),changes:S}}}let u=[];c.node.name=="OrderedList"&&eo(c.item,i,u);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,b=h.length-1;g<=b;g++)O+=g==b&&!d?h[g].marker(i,1):h[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return O=oa(O,n),ww(c.node,n.doc)&&(O=zc(h,n,a)+n.lineBreak+O),u.push({from:m,to:l,insert:n.lineBreak+O}),{range:y.cursor(m+O.length+1),changes:u}});return s?!1:(e(n.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function qc(n){return n.name=="QuoteMark"||n.name=="ListMark"}function ww(n,e){if(n.name!="OrderedList"&&n.name!="BulletList")return!1;let t=n.firstChild,i=n.getChild("ListItem","ListItem");if(!i)return!1;let s=e.lineAt(t.to),r=e.lineAt(i.from),o=/^[\s>]*$/.test(s.text);return s.number+(o?0:1){let t=F(n),i=null,s=n.changeByRange(r=>{let o=r.from,{doc:l}=n;if(r.empty&&vp.isActiveAt(n,r.from)){let a=l.lineAt(o),h=Cp(Qw(t,o),l);if(h.length){let c=h[h.length-1],f=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>f&&!/\S/.test(a.text.slice(f,o-a.from)))return{range:y.cursor(a.from+f),changes:{from:a.from+f,to:o}};if(o-a.from==f&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let u=a.from+c.from;if(c.item&&c.node.from1&&n.eat("$");var t=n.next();return/['"({]/.test(t)?(e.tokens[0]=br(t,t=="("?"quote":t=="{"?"def":"string"),Ei(n,e)):(/\d/.test(t)||n.eatWhile(/\w/),e.tokens.shift(),"def")};function Ew(n){return function(e,t){return e.sol()&&e.string==n&&t.tokens.shift(),e.skipToEnd(),"string.special"}}function Ei(n,e){return(e.tokens[0]||Mw)(n,e)}const Vw={name:"shell",startState:function(){return{tokens:[]}},token:function(n,e){return Ei(n,e)},languageData:{autocomplete:Tp.concat(Rp,Ap),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};var Yw=["true","false","on","off","yes","no"],Dw=new RegExp("\\b(("+Yw.join(")|(")+"))$","i");const qw={name:"yaml",token:function(n,e){var t=n.peek(),i=e.escaped;if(e.escaped=!1,t=="#"&&(n.pos==0||/\s/.test(n.string.charAt(n.pos-1))))return n.skipToEnd(),"comment";if(n.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&n.indentation()>e.keyCol)return n.skipToEnd(),"string";if(e.literal&&(e.literal=!1),n.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,n.match("---")||n.match("..."))return"def";if(n.match(/^\s*-\s+/))return"meta"}if(n.match(/^(\{|\}|\[|\])/))return t=="{"?e.inlinePairs++:t=="}"?e.inlinePairs--:t=="["?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!i&&t==",")return n.next(),"meta";if(e.inlinePairs>0&&!i&&t==",")return e.keyCol=0,e.pair=!1,e.pairStart=!1,n.next(),"meta";if(e.pairStart){if(n.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(n.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(e.inlinePairs==0&&n.match(/^\s*-?[0-9\.\,]+\s?$/)||e.inlinePairs>0&&n.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(n.match(Dw))return"keyword"}return!e.pair&&n.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=n.indentation(),"atom"):e.pair&&n.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped=t=="\\",n.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};var Lc,_c,Bc;function Uc({view:n,searchConfig:e}){const t=Hc.useState(""),i=Vp(t,2),s=i[0],r=i[1],o=(u,d)=>{r(d),l(d)},l=u=>{n.dispatch({effects:Ri.of(new Dl({search:u}))})},a=u=>{u.key==="Enter"&&(u.shiftKey?f():c())},h=u=>{u.key==="Escape"&&Ll(n)},c=()=>{l(s),vn(n)},f=()=>{l(s),Cn(n)};return rt.createElement(Ip,{renderLabel:"",inputRef:u=>{setTimeout(()=>u==null?void 0:u.focus(),0)},size:"small",display:"inline-block",width:"20rem",placeholder:e.placeholder,onChange:o,onKeyDown:a,onKeyUp:h,renderBeforeInput:Lc||(Lc=rt.createElement(Gp,{size:"x-small"})),renderAfterInput:rt.createElement("span",null,rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:c,screenReaderLabel:e.nextResultLabel},_c||(_c=rt.createElement(jp,null))),rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:f,screenReaderLabel:e.prevResultLabel},Bc||(Bc=rt.createElement(Np,null))))})}function zw(n){return n?OS({createPanel:e=>{var t;const i=document.createElement("div");return i.style.padding="8px",Number(rt.version.split(".")[0])>=18?Wp(()=>import("./index-D8uc6p-q.js").then(r=>r.c),__vite__mapDeps([0,1])).then(r=>{r.createRoot(i).render(t||(t=rt.createElement(Uc,{view:e,searchConfig:n})))}).catch(r=>{}):Ep.render(rt.createElement(Uc,{view:e,searchConfig:n}),i),{dom:i}}}):[]}const Lw=(n,e)=>{const t=e.attachment,i=e.height,s=e.width,r={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0}},o={top:{marginBottom:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}},l=1.4375;return{codeEditor:{label:"codeEditor",position:"relative",boxSizing:"border-box",height:i||"auto",width:s},label:{label:"label",height:"100%",width:"100%"},codeEditorContainer:{label:"codeEditorContainer",height:"100%",width:"100%",borderColor:n==null?void 0:n.borderColor,borderStyle:"solid",borderWidth:n==null?void 0:n.borderWidth,borderRadius:n.borderRadius,marginBottom:"1rem",...t&&{...o[t],...r[t]}},theme:{"&":{overflow:"hidden",background:n.background,fontFamily:n.fontFamily,fontSize:n.fontSize,color:n.color,border:0,height:"100%",width:"100%",minHeight:`${l}rem`,lineHeight:l,borderRadius:n.borderRadius,...t&&{...r[t]}},"&.cm-editor.cm-focused":{outline:`${n==null?void 0:n.borderWidth} solid ${n==null?void 0:n.focusBorderColor}`},".cm-content":{padding:`${n.verticalPadding} 0`},".cm-scroller":{fontFamily:n.fontFamily,lineHeight:1.4375},".cm-gutters":{background:n.gutterBackground,borderColor:n.borderColor},".cm-line":{padding:`0 ${n.horizontalPadding}`},".cm-selectionBackground":{background:"transparent"},".cm-focused .cm-selectionBackground":{background:"#d7d4f0"},".cm-placeholder":{color:"#707070"}},highlightStyle:[{tag:p.link,textDecoration:"underline"},{tag:p.heading,textDecoration:"underline",fontWeight:"bold"},{tag:p.emphasis,fontStyle:"italic"},{tag:p.strong,fontWeight:"bold"},{tag:p.strikethrough,textDecoration:"line-through"},{tag:p.keyword,color:"#708"},{tag:[p.atom,p.bool,p.url,p.contentSeparator,p.labelName],color:"#219"},{tag:[p.literal,p.inserted],color:"#164"},{tag:[p.string,p.deleted],color:"#a11"},{tag:p.definition(p.variableName),color:"#00f"},{tag:p.local(p.variableName),color:"#30a"},{tag:p.className,color:"#167"},{tag:[p.special(p.variableName),p.macroName],color:"#256"},{tag:p.definition(p.propertyName),color:"#00c"},{tag:p.comment,color:"#940"},{tag:p.meta,color:"#757075"},{tag:[p.regexp,p.escape,p.special(p.string)],color:"#d13b00"},{tag:[p.typeName,p.namespace],color:"#008051"},{tag:p.invalid,color:"#e60000"}]}},_w=n=>{const e=n.colors,t=n.borders,i=n.typography,s=n.spacing;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLightest,color:e==null?void 0:e.textDarkest,gutterBackground:e==null?void 0:e.backgroundLight,borderWidth:t==null?void 0:t.widthSmall,borderColor:e==null?void 0:e.borderMedium,borderRadius:t==null?void 0:t.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,horizontalPadding:s==null?void 0:s.xSmall,verticalPadding:s==null?void 0:s.xxSmall}}},Ic=[{key:"ArrowLeft",run:jl,shift:Gl,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:Xd,shift:Nd},{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Wd,shift:Fd},{mac:"Cmd-ArrowLeft",run:Bd,shift:sO},{key:"Home",run:zd,shift:tO},{key:"ArrowRight",run:Il,shift:Nl,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:Ad,shift:jd},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Md,shift:Gd},{mac:"Cmd-ArrowRight",run:_d,shift:nO},{key:"End",run:Ld,shift:iO},{key:"Delete",run:Fs},{key:"Mod-Delete",mac:"Alt-Delete",run:Fl},{key:"Backspace",run:Hs,shift:Hs},{key:"Mod-Backspace",mac:"Alt-Backspace",run:lO},{mac:"Mod-Delete",run:sy},{mac:"Mod-Backspace",run:aO}],Bw={label:j.string.isRequired,language:j.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:j.bool,editable:j.bool,lineNumbers:j.bool,foldGutter:j.bool,highlightActiveLineGutter:j.bool,highlightActiveLine:j.bool,lineWrapping:j.bool,autofocus:j.bool,spellcheck:j.bool,direction:j.oneOf(["ltr","rtl"]),rtlMoveVisually:j.bool,indentOnLoad:j.bool,indentWithTab:j.bool,indentUnit:j.string,defaultValue:j.string,value:Fp(j.string,"onChange","defaultValue"),onChange:j.func,onFocus:j.func,onBlur:j.func,attachment:j.oneOf(["bottom","top"]),height:j.string,width:j.string,elementRef:j.func,containerRef:j.func,searchConfig:j.object},Uw=["label","language","readOnly","editable","lineNumbers","foldGutter","highlightActiveLineGutter","highlightActiveLine","lineWrapping","autofocus","spellcheck","direction","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","defaultValue","value","onChange","onFocus","onBlur","attachment","height","width","elementRef","containerRef","searchConfig"],Iw=["label","styles"];var jc,Nc,Gc,Fc,Pt,It;let sQ=(jc=Yp(),Nc=Dp(Lw,_w),Gc=qp(),Fc=zp(),jc(Pt=Nc(Pt=Gc(Pt=Fc(Pt=(It=class Mp extends Hc.Component{addAnimationFrame(e){typeof e=="function"&&this._raf.push(Hp(e))}cancelAnimationFrames(){this._raf.forEach(e=>e.cancel()),this._raf=[]}focus(){this.addAnimationFrame(()=>{var e;(e=this._editorView)===null||e===void 0||e.focus()})}get hasFocus(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.hasFocus}selectAll(){this._editorView&&this.addAnimationFrame(()=>{var e;this.dispatchViewSelection({anchor:0,head:(e=this.currentDocValue)===null||e===void 0?void 0:e.length})})}deselectAll(){this._editorView&&this.addAnimationFrame(()=>{this.dispatchViewSelection({anchor:0,head:0})})}indentCurrentSelection(){this.addAnimationFrame(()=>{this._editorView&&uO({state:this._editorView.state,dispatch:e=>{var t;(t=this._editorView)===null||t===void 0||t.update([e])}})})}indentAll(){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.indentCodeRange(0,this.currentDocValue.length)})}indentCodeRange(e,t){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.dispatchViewChanges({changes:Ob(this._editorView.state,e,t)})})}dispatchViewEffects(e){!this._editorView||!e||this._editorView.dispatch({effects:e})}dispatchViewChanges({changes:e,selection:t,userEvent:i}){!this._editorView||!e||this._editorView.dispatch({changes:e,...t?{selection:t}:void 0,...i?{userEvent:i}:void 0})}dispatchViewSelection(e){!this._editorView||!e||this._editorView.dispatch({selection:e})}get currentDocValue(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.state.doc}get isControlled(){return typeof this.props.value=="string"}constructor(e){super(e),this._id=void 0,this.ref=null,this._containerRef=void 0,this._editorView=void 0,this._raf=[],this._newSelectionAfterValueChange=void 0,this.handleRef=t=>{const i=this.props.elementRef;this.ref=t,typeof i=="function"&&i(t)},this.handleContainerRef=t=>{const i=this.props.containerRef;this._containerRef=t||void 0,typeof i=="function"&&i(t)},this._id=e.deterministicId()}componentDidMount(){var e,t;const i=this.props,s=i.value,r=i.defaultValue,o=i.autofocus,l=i.indentOnLoad;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t);const a=Y.create({doc:s||r,extensions:this.extensions});this._editorView=new $({state:a,parent:this._containerRef}),o&&this.focus(),l&&this.indentAll()}componentWillUnmount(){var e;(e=this._editorView)===null||e===void 0||e.destroy(),this.cancelAnimationFrames()}componentDidUpdate(e){var t,i;(t=(i=this.props).makeStyles)===null||t===void 0||t.call(i),this._editorView&&(this.props.value!==e.value&&this.refreshEditorValue(),this.shouldUpdateExtensions(e)&&this.refreshExtensions())}shouldUpdateExtensions(e){const t=["styles","themeOverride","language","readOnly","editable","lineNumbers","highlightActiveLineGutter","foldGutter","lineWrapping","autofocus","spellcheck","direction","dir","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","highlightActiveLine","attachment"];for(const i of t)if(!Lp(this.props[i],e[i]))return!0;return!1}get direction(){return this.props.direction||this.props.dir}get extensions(){const e=[...this.baseExtensions,this.languageExtension,this.onChangeExtension,this.focusListenerExtension,this.announceLineNumberExtension];return this.themeExtension&&e.push(this.themeExtension),this.props.lineNumbers&&e.push(z0()),this.props.highlightActiveLine&&e.push(p0()),this.props.highlightActiveLineGutter&&e.push(B0()),this.props.foldGutter&&e.push(Eb()),this.props.lineWrapping&&e.push($.lineWrapping),this.props.editable===!1&&e.push($.editable.of(!1)),this.props.readOnly&&e.push(Y.readOnly.of(!0)),this.props.spellcheck&&e.push($.contentAttributes.of({spellcheck:"true"})),this.direction&&e.push($.contentAttributes.of({dir:this.direction})),this.props.indentUnit&&e.push(Yi.of(this.props.indentUnit)),e}get baseExtensions(){return[h0(),VS(),Kg(),n0(),Y.allowMultipleSelections.of(!0),vh(qb,{fallback:!0}),jb(),z1(),K1(),k0(),Q0(),rS(),Qb(),zw(this.props.searchConfig),Vn.of(this.keymaps)]}get keymaps(){const e=[...U1,...this.commandKeybinding,...IS,...Ab,...pd,...Zy,...this.props.searchConfig?PS:[]];return this.props.indentWithTab&&e.push(yy),e}get commandKeybinding(){const e=this.props.rtlMoveVisually;if(this.direction==="rtl"&&!e){const t=Ic.map(s=>s.key?s.key:s.mac?s.mac:s);return[...Kh.filter(s=>s.key?t.indexOf(s.key)<0:s.mac?t.indexOf(s.mac)<0:!1),...Ic]}return Kh}get themeExtension(){const e=this.props.styles;if(!(e!=null&&e.theme)||!e.highlightStyle)return;const t=$.theme(e==null?void 0:e.theme),i=vh(zn.define(e==null?void 0:e.highlightStyle));return[t,i]}get languageExtension(){switch(this.props.language){case"json":return Xw();case"js":case"jsx":case"javascript":return Jo({jsx:!0,typescript:!0});case"html":return ip({matchClosingTags:!0,autoCloseTags:!0});case"css":return jO();case"markdown":return vw();case"sh":case"shell":case"bash":return Ls.define(Vw);case"yml":case"yaml":return Ls.define(qw);default:return Jo({jsx:!0,typescript:!0})}}callOnChangeHandler(e){const t=this.props,i=t.onChange,s=t.value;this.addAnimationFrame(()=>{typeof i=="function"&&e!==s&&i(e)})}get onChangeExtension(){return Y.changeFilter.of(e=>{if(!this._editorView)return!1;if(e.docChanged){const t=e.newDoc.toString();if(this.isControlled)return t!==this.props.value?(this._newSelectionAfterValueChange=e.selection,this.cancelAnimationFrames(),this.callOnChangeHandler(t),!1):!0;this.callOnChangeHandler(t)}return!0})}get focusListenerExtension(){const e=this.props,t=e.onFocus,i=e.onBlur;return $.updateListener.of(s=>{s.focusChanged&&this._editorView&&(this.hasFocus?typeof t=="function"&&t():typeof i=="function"&&i())})}get announceLineNumberExtension(){return Y.transactionExtender.of(e=>{const t=e.selection,i=e.startState.selection.main;if(t&&t.main.empty&&i.empty){const s=e.startState.doc.lineAt(i.head),r=e.newDoc.lineAt(t.main.head);if(s.number!=r.number)return{effects:$.announce.of(e.startState.phrase("line ")+r.number+".")}}return null})}refreshExtensions(){this.dispatchViewEffects(M.reconfigure.of(this.extensions))}refreshEditorValue(){if(!this._editorView)return;const e=this.props.value,t=this._editorView.state.doc.toString();if(typeof e<"u"&&t!==e){let i;const s=e.length-t.length;s===1?i="input.type":s===-1&&(i="delete.backward"),this.dispatchViewChanges({changes:{from:0,to:t.length,insert:e||""},selection:this._newSelectionAfterValueChange,userEvent:i}),this._newSelectionAfterValueChange=void 0}this.props.indentOnLoad&&this.indentAll()}render(){const e=this.props,t=e.label,i=e.styles,s=_p(e,Iw);return Un("div",Object.assign({ref:this.handleRef,css:i==null?void 0:i.codeEditor},Bp(Up(s,Mp.allowedProps))),Un("label",{css:i==null?void 0:i.label,htmlFor:this._id},Un(Kp,null,t),Un("div",{ref:this.handleContainerRef,css:i==null?void 0:i.codeEditorContainer})))}},It.displayName="SourceCodeEditor",It.componentId="SourceCodeEditor",It.propTypes=Bw,It.allowedProps=Uw,It.defaultProps={language:"jsx",readOnly:!1,editable:!0,lineNumbers:!1,foldGutter:!1,highlightActiveLine:!1,highlightActiveLineGutter:!1,lineWrapping:!1,autofocus:!1,spellcheck:!1,rtlMoveVisually:!0,indentOnLoad:!1,indentWithTab:!1,defaultValue:"",height:"auto"},It))||Pt)||Pt)||Pt)||Pt);export{sQ as S}; diff --git a/assets/index-DVuP2ZA1.js b/assets/index-D8uc6p-q.js similarity index 98% rename from assets/index-DVuP2ZA1.js rename to assets/index-D8uc6p-q.js index c15507a..ea0f40c 100644 --- a/assets/index-DVuP2ZA1.js +++ b/assets/index-D8uc6p-q.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/markdownBrand-ByXaigJ-.js","assets/RenderTopNavBar-DdduE_mK.js","assets/Mdtoui-D2iN30Jx.js","assets/index-BgSjnQS9.js","assets/redirectTo-CxfIANF9.js","assets/index-BCoP-QCi.js","assets/links-BGaBKQS1.js","assets/index-Chr3yVKt.js","assets/index-CvvVU94y.js","assets/mdui-BYnqM3s9.js","assets/index-ALzVjZWx.js","assets/releases-CUBpZtK6.js","assets/IconRssLine-R9zaM-kI.js","assets/error-B5hQzbeZ.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/markdownBrand-Da1pf47v.js","assets/RenderTopNavBar-DwZOqeqN.js","assets/Mdtoui-D8ifNIrl.js","assets/index-B2tgx2JB.js","assets/redirectTo-DOyBKLvA.js","assets/index-Baihd32c.js","assets/links-C1U-V73k.js","assets/index-nQtORJ0H.js","assets/index-C4If5P1l.js","assets/mdui-BjQIA41o.js","assets/index-CCcpAznT.js","assets/releases-DR5Q5md9.js","assets/IconRssLine-BcUub32U.js","assets/error-DE5Avba2.js"])))=>i.map(i=>d[i]); function Hs(e,t){for(var a=0;an[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function a(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(l){if(l.ep)return;l.ep=!0;const i=a(l);fetch(l.href,i)}})();const dg="modulepreload",hg=function(e){return"/"+e},bd={},Ut=function(t,a,n){let l=Promise.resolve();if(a&&a.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),r=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.all(a.map(u=>{if(u=hg(u),u in bd)return;bd[u]=!0;const c=u.endsWith(".css"),o=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${o}`))return;const s=document.createElement("link");if(s.rel=c?"stylesheet":dg,c||(s.as="script",s.crossOrigin=""),s.href=u,r&&s.setAttribute("nonce",r),document.head.appendChild(s),c)return new Promise((d,f)=>{s.addEventListener("load",d),s.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}return l.then(()=>t()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})};var y9=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ll(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function b9(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var a=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var l=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(a,n,l.get?l:{enumerable:!0,get:function(){return e[n]}})}),a}var Lh={exports:{}},Ku={};/** * @license React * react-jsx-runtime.production.js @@ -85,5 +85,5 @@ Error generating stack: `+a.message+` In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u5(e,t){return n5(e)||l5(e,t)||i5(e,t)||r5()}const c5=e=>!!e&&e.ref!==void 0,o5=e=>!!e&&e.current!==void 0;function br(e){const t=typeof e=="function"?e():e;if(t&&t===document)return document.documentElement;if(t instanceof Element||t===window||t&&typeof t.nodeType<"u")return t;if(t){const a=t;if(c5(a)){const n=o5(a.ref)?a.ref.current:a.ref;return n instanceof HTMLElement?n:br(n)}else return a.constructor.componentId?a.constructor.componentId:a.constructor.name,Jh.findDOMNode(t)}}const Mc=!!(typeof window<"u"&&window.document&&window.document.createElement);function s5(e){const t=e&&br(e);let a;t&&"ownerDocument"in t&&(a=t.ownerDocument);const n=Mc?window.document:void 0;return a||n}function f5(e){const t=e&&br(e),a=s5(t);return a&&a.defaultView}function d5(e,t){let a={};if(Mc){const n=e&&br(e);if(n){const l=f5(e);a=l?l.getComputedStyle(n,t):{}}}return a}function bp(e){return e.replace(/-([a-z])/g,t=>t[1].toUpperCase())}const h5=["borders","breakpoints","colors","forms","media","shadows","spacing","stacking","transitions","typography"],Sp=e=>{if(Array.isArray(e)||typeof e=="function")throw new Error;try{return"key"in e&&h5.every(t=>t in e)}catch{throw new Error}};function m5(e,t,a){var n,l;return t.as&&t.as!==((n=e.defaultProps)===null||n===void 0?void 0:n.as)?t.as:typeof a=="function"?a():t.href?"a":t.to?(Xu(!t.as,`[${e.displayName}] \`as\` prop should be provided when using \`to\``),"a"):typeof t.onClick=="function"?"button":((l=e.defaultProps)===null||l===void 0?void 0:l.as)||"span"}function Ep(e,t,a){const n=Array.isArray(t)?t:Object.keys(t||{}),l=a?n.concat(a):n;return p5(e,l)}const v5=Object.prototype.hasOwnProperty,p5=(e,t)=>{const a={};for(const n in e)n==="theme"||n==="children"||n==="className"||n==="style"||n==="styles"||n==="makeStyles"||n==="themeOverride"||n==="deterministicId"||t.includes(n)||!v5.call(e,n)||(a[n]=e[n]);return a};var g5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,y5=ep(function(e){return g5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function b5(e){const t={};return Object.keys(e).filter(a=>y5(a)&&a!=="style"&&a!=="className"&&a!=="children"&&a!=="styles"&&a!=="makeStyles"&&a!=="deterministicId").forEach(a=>{t[a]=e[a]}),t}function Rp(e,t,a){const n=Array.isArray(t)?t:Object.keys(t||{}),l=a?n.concat(a):n;return S5(e,l)}function S5(e,t){const a={},n=t.length;let l=-1,i;for(;++lbe.createElement(Ap.Provider,{value:t},e),C5=Oc(e=>{const t=T.forwardRef((a,n)=>{const l=e.componentId||e.displayName||e.name,i=T.useContext(Ap),r=(u=l)=>t5(u,i);return a.deterministicId&&Xu(!1,`Manually passing the "deterministicId" property is not allowed on the ${l} component. `,a.deterministicId),be.createElement(e,Object.assign({ref:n,deterministicId:r},a))});return If(t,e),t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,t.allowedProps=e.allowedProps,t.originalType=e.originalType||e,t});function A5(e,t){if(e==null)return{};var a={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;a[n]=e[n]}return a}function xn(e,t){if(e==null)return{};var a,n,l=A5(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}let si,Xr,To;const w5=()=>{if(si)return si;if(Mc){const e=document.documentElement;return Xr=e.getAttribute("dir"),si=Xr||d5(e).direction,To||(To=new MutationObserver(()=>{const t=e.getAttribute("dir");t&&t!==Xr&&(Xr=si=t)}),To.observe(e,{attributes:!0})),si}};function T5(e){if(Mc)return w5()}const zs=T.createContext(T5()||"ltr"),xc={ltr:"ltr",rtl:"rtl"},_5=["forwardedRef"],ad=Oc(e=>{class t extends be.Component{render(){const l=this.props,i=l.forwardedRef,r=xn(l,_5);return be.createElement(zs.Consumer,null,u=>be.createElement(e,Object.assign({ref:i,dir:u},r)))}}t.displayName="TextDirectionContextConsumerComponent";const a=T.forwardRef((n,l)=>be.createElement(t,Object.assign({},n,{forwardedRef:l})));return If(a,e),a.defaultProps=e.defaultProps,a.propTypes=e.propTypes,a.allowedProps=e.allowedProps,a.originalType=e.originalType||e,a});ad.DIRECTION=xc;const O5=L.oneOf(["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"]),M5=Object.freeze({radiusSmall:"0.125rem",radiusMedium:"0.25rem",radiusLarge:"0.5rem",widthSmall:"0.0625rem",widthMedium:"0.125rem",widthLarge:"0.25rem",style:"solid"});function x5(e){const t={textDarkest:e.licorice,textDark:e.ash,textLight:e.porcelain,textLightest:e.white,textBrand:e.brand,textLink:e.link,textAlert:e.barney,textInfo:e.brand,textSuccess:e.shamrock,textDanger:e.crimson,textWarning:e.fire},a={backgroundDarkest:e.licorice,backgroundDark:e.ash,backgroundMedium:e.tiara,backgroundLight:e.porcelain,backgroundLightest:e.white,backgroundBrand:e.brand,backgroundBrandSecondary:e.oxford,backgroundAlert:e.barney,backgroundInfo:e.brand,backgroundSuccess:e.shamrock,backgroundDanger:e.crimson,backgroundWarning:e.fire},n={borderLightest:e.white,borderLight:e.porcelain,borderMedium:e.tiara,borderDark:e.ash,borderDarkest:e.licorice,borderBrand:e.brand,borderAlert:e.barney,borderInfo:e.brand,borderSuccess:e.shamrock,borderDanger:e.crimson,borderWarning:e.fire,borderDebug:e.crimson};return{...e,...t,...a,...n,values:e,text:t,background:a,border:n}}const D5={brand:"#0374B5",link:"#0374B5",electric:"#0374B5",shamrock:"#0B874B",barney:"#BF32A4",crimson:"#E0061F",fire:"#FC5E13",licorice:"#2D3B45",oxford:"#394B58",ash:"#6B7780",slate:"#8B969E",tiara:"#C7CDD1",porcelain:"#F5F5F5",white:"#FFFFFF"},$5=Object.freeze(x5(D5)),z5=Object.freeze({duration:"300ms",timing:"ease-in-out"}),N5=Object.freeze({fontFamily:'LatoWeb, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif',fontFamilyMonospace:'Menlo, Consolas, Monaco, "Andale Mono", monospace',fontSizeXSmall:"0.75rem",fontSizeSmall:"0.875rem",fontSizeMedium:"1rem",fontSizeLarge:"1.375rem",fontSizeXLarge:"1.75rem",fontSizeXXLarge:"2.375rem",fontWeightLight:300,fontWeightNormal:400,fontWeightBold:700,lineHeight:1.5,lineHeightFit:1.125,lineHeightCondensed:1.25,lineHeightDouble:2,letterSpacingNormal:0,letterSpacingCondensed:"-0.0625rem",letterSpacingExpanded:"0.0625rem"}),L5=Object.freeze({xxxSmall:"0.125rem",xxSmall:"0.375rem",xSmall:"0.5rem",small:"0.75rem",mediumSmall:"1rem",medium:"1.5rem",large:"2.25rem",xLarge:"3rem",xxLarge:"3.75rem"}),U5=Object.freeze({inputHeightSmall:"1.75rem",inputHeightMedium:"2.375rem",inputHeightLarge:"3rem"}),H5=.0625,ma={xxSmall:8,xSmall:16,small:30,medium:48,tablet:48,large:62,desktop:64,xLarge:75},hu=Object.freeze({xxSmall:`${ma.xxSmall}em`,xSmall:`${ma.xSmall}em`,small:`${ma.small}em`,medium:`${ma.medium}em`,tablet:`${ma.tablet}em`,large:`${ma.large}em`,desktop:`${ma.desktop}em`,xLarge:`${ma.xLarge}em`,maxWidth:`${ma.large-H5}em`}),B5=Object.freeze({mediumMin:`min-width: ${hu.medium}`,largeMin:`min-width: ${hu.large}`,xLargeMin:`min-width: ${hu.xLarge}`}),Pn=["0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1)","0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)","0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25)"],j5=Object.freeze({depth1:Pn[0],depth2:Pn[1],depth3:Pn[2],resting:Pn[0],above:Pn[1],topmost:Pn[2]}),V5=Object.freeze({topmost:9999,above:1,below:-1,deepest:-9999}),wp={colors:$5,borders:M5,transitions:z5,typography:N5,spacing:L5,forms:U5,media:B5,breakpoints:hu,shadows:j5,stacking:V5},k5=["key","description"],G5=["key","description","use"],Y5="@@themeRegistryDefaultTheme",Zu="__GLOBAL_THEME_REGISTRY__";globalThis[Zu]?nd(q5(globalThis[Zu])):_p();function Tp(){return{currentThemeKey:null,themes:{},registered:[]}}function q5(e){const t=Tp();if(typeof e>"u")return t;let a=!0;return Object.keys(t).forEach(n=>{typeof e[n]>"u"&&(a=!1)}),Mn(a,"[theme-registry] Invalid global theme registry!"),e}function Dc(){return globalThis[Zu]}function nd(e){globalThis[Zu]=e}function _p(){nd(Tp())}function X5(){const e=Dc(),t=e.currentThemeKey;if(t)return e.themes[t]}function Z5(e,t){const a=Dc(),n=a.themes[e];n||e!==Y5&&Mn(n,`[theme-registry] Could not find theme: '${e}' in the registry.`),a.currentThemeKey=e;const l=gp(n,t);return a.themes[e]=l,l}function Q5(e){const t=e.key,a=e.description,n=xn(e,k5),l={key:t,description:a,...n,use(i){Z5(t,(i==null?void 0:i.overrides)||{})}};return new Proxy(l,{get(i,r){i.key,i.description,i.use;const u=xn(i,G5);return r==="variables"?u:Reflect.get(i,r)}})}function K5(e){const t=Dc();if(e.key&&t.themes[e.key])return t.themes[e.key];{if(!Sp(e))throw Mn(!1,`[theme-registry] The theme provided to 'registerTheme' is not a valid theme object! For it to be valid some properties have to be present, check out https://instructure.design/#canvas as a reference.`),new Error;const a=Q5(e);return t.themes[a.key]=a,t.registered.push(a.key),a}}const ld={getRegistry:Dc,clearRegistry:_p,setRegistry:nd,registerTheme:K5,getCurrentTheme:X5},yt=wp.colors,P5="canvas",J5={"ic-brand-primary":yt.textBrand,"ic-brand-font-color-dark":yt.textDarkest,"ic-link-color":yt.textLink,"ic-link-decoration":"none","ic-brand-button--primary-bgd":yt.backgroundBrand,"ic-brand-button--primary-text":yt.textLightest,"ic-brand-button--secondary-bgd":yt.backgroundDarkest,"ic-brand-button--secondary-text":yt.textLightest,"ic-brand-global-nav-bgd":yt.backgroundBrandSecondary,"ic-global-nav-link-hover":yt.backgroundDarkest,"ic-brand-global-nav-ic-icon-svg-fill":yt.textLightest,"ic-brand-global-nav-ic-icon-svg-fill--active":yt.textBrand,"ic-brand-global-nav-menu-item__text-color":yt.textLightest,"ic-brand-global-nav-menu-item__text-color--active":yt.textBrand},W5={key:P5,...wp,...J5},id=ld.registerTheme(W5),F5=e=>(t={})=>{var a,n;try{if(Sp(e))return e}catch{e={}}let l;Object.keys(t).length===0?l=ld.getCurrentTheme()||id:l=t;const i=l.key,r=((a=e)===null||a===void 0||(n=a.themeOverrides)===null||n===void 0?void 0:n[i])||e.themeOverrides||{};return gp(l,e,r)};function Op({children:e,theme:t={},dir:a,instanceCounterMap:n,as:l}){const i=a||T.useContext(zs);let r=be.createElement(R5,{instanceCounterMap:n},be.createElement(G3,{theme:F5(t)},be.createElement(zs.Provider,{value:i},e)));if(a){const u=l||"span";r=be.createElement(u,{dir:i},r)}return r}Op.propTypes={children:L.node,theme:L.object,dir:L.oneOf(["ltr","rtl"]),instanceCounterMap:L.instanceOf(Map),as:L.string};const I5=(e,t,a,n,l)=>{const i=t,r=a,u=n,c=u.themeOverride,o=e,s=o.componentOverrides;let d={},f={};return s&&(d=i&&s[i]||r&&s[r]||{}),c&&(typeof c=="function"?f=c(l||{},e):f=c),{...d,...f}},eS=()=>{let e=j3();if(pp(e)){const t=ld.getCurrentTheme();if(t)return t;e=id}return e},_o={styles:{},makeStyles:()=>{}},rd=Oc((e,t,a)=>{const n=e.displayName||e.name,l=T.forwardRef((i,r)=>{const u=eS();i.styles&&Xu(!1,`Manually passing the "styles" property is not allowed on the ${n} component. Using the default styles calculated by the @withStyle decorator instead. -`,i.styles),i.makeStyles&&Xu(!1,`Manually passing the "makeStyles" property is not allowed on the ${n} component. Styles are calculated by the @withStyle decorator.`);const c={...e.defaultProps,...i,..._o};let o=typeof a=="function"?a(u):{};const s=I5(u,n,e.componentId,c,o);o={...o,...s};const d=T.useState(t?t(o,c,{}):{}),f=u5(d,2),p=f[0],C=f[1],S=M=>{const m=t(o,c,M);e5(m,p)||C(m)};return be.createElement(e,Object.assign({ref:r},i,{makeStyles:S,styles:p,themeOverride:s}))});return If(l,e),l.originalType=e.originalType||e,l.propTypes=e.propTypes,l.defaultProps=e.defaultProps,l.allowedProps=e.allowedProps,l.generateComponentTheme=a,e.defaultProps={...e.defaultProps,makeStyles:_o.makeStyles,styles:_o.styles},l}),jn={SHADOW_TYPES:{resting:"resting",above:"above",topmost:"topmost",none:"none"},STACKING_TYPES:{deepest:"deepest",below:"below",resting:"resting",above:"above",topmost:"topmost"},BORDER_WIDTHS:{0:"0",none:"none",small:"small",medium:"medium",large:"large"},BORDER_RADII:{0:"0",none:"none",small:"small",medium:"medium",large:"large",circle:"circle",pill:"pill"},BACKGROUNDS:{default:"default",inverse:"inverse",transparent:"transparent"},SIZES:{xSmall:"x-small",small:"small",medium:"medium",large:"large",xLarge:"x-large"},SPACING:{0:"0",none:"none",auto:"auto",xxxSmall:"xxx-small",xxSmall:"xx-small",xSmall:"x-small",small:"small",mediumSmall:"mediumSmall",medium:"medium",large:"large",xLarge:"x-large",xxLarge:"xx-large"}},tS=jn.SHADOW_TYPES,aS=jn.STACKING_TYPES,nS=jn.BORDER_WIDTHS,lS=jn.BORDER_RADII,iS=jn.BACKGROUNDS,rS=jn.SIZES,uS=jn.SPACING,Jn={shadow:L.oneOf(Object.values(tS)),stacking:L.oneOf(Object.values(aS)),borderWidth:Oo(Object.values(nS)),borderRadius:Oo(Object.values(lS)),background:L.oneOf(Object.values(iS)),size:L.oneOf(Object.values(rS)),spacing:Oo(Object.values(uS))};function Oo(e){return function(t,a,n,l){const i=t[a];if(typeof i>"u")return null;if(typeof i!="string")return new Error(`Invalid ${l} \`${a}\` of type \`${typeof i}\` supplied to \`${n}\`, expected a string.`);const r=i.split(" "),u=r.length;if(u>0&&u<5){for(let c=0;c{a[bp(`${e}-${String(n)}`)]=t[n]}),a}function Qu(e,t,a,n){if(!(typeof a!="string"||pp(t)))return a.split(" ").map(l=>{if(l==="auto"||l==="0")return l;if(l==="none")return"0";if(l==="circle")return"100%";if(l==="pill")return"999em";const i=bp(`${n}-${l}`),r=t[i];return Mn(typeof r<"u",`[${e}] '${i}' is an invalid '${n}' value.`),r||"0"}).join(" ").trim()}function Ns(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===4){var a=[t[3],t[1]];t[1]=a[0],t[3]=a[1]}return t.join(" ")}function cS(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===2){var a=[t[1],t[0]];t[0]=a[0],t[1]=a[1]}if(t.length===3&&t.push(t[1]),t.length===4){var n=[t[1],t[0],t[3],t[2]];t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3]}return t.join(" ")}let Ls=!0;try{var Mo,xo;Ls=!((Mo=process)!==null&&Mo!==void 0&&(xo=Mo.env)!==null&&xo!==void 0&&xo.ALWAYS_APPEND_UI_TESTABLE_LOCATORS)}catch(e){if(e instanceof ReferenceError)Ls=!1;else throw e}const Mp=Ls?()=>e=>e:Oc(e=>{const a={attribute:"data-cid",value:e.displayName||e.name},n=`[${a.attribute}~="${a.value}"]`;class l extends e{constructor(...r){super(...r),this._testableUnmounted=void 0,this._locatorTimeout=void 0}componentDidMount(){this._testableUnmounted=!1,super.componentDidMount&&super.componentDidMount(),this.appendLocatorAttribute()}componentDidUpdate(r,u,c){super.componentDidUpdate&&super.componentDidUpdate(r,u,c),this.appendLocatorAttribute()}componentWillUnmount(){this._testableUnmounted=!0,super.componentWillUnmount&&super.componentWillUnmount(),this._locatorTimeout&&clearTimeout(this._locatorTimeout)}appendLocatorAttribute(){this._locatorTimeout=setTimeout(()=>{let r;if(!this._testableUnmounted){try{r=this.DOMNode||br(this)}catch{}if(r){const u=r.getAttribute(a.attribute),c=typeof u=="string"?u.split(/\s+/):[];c.includes(a.value)||c.push(a.value),r.setAttribute(a.attribute,c.join(" "))}}})}}return l.selector=n,l}),oS=({borderRadius:e,borderWidth:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{borderRadius:Qu("View",n,l?cS(e):e,"borderRadius"),borderWidth:Qu("View",n,l?Ns(t):t,"borderWidth")}},sS=({margin:e,padding:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{margin:Qu("View",n,l?Ns(e):e,"margin"),padding:Qu("View",n,l?Ns(t):t,"padding")}},fS=({insetBlockStart:e,insetBlockEnd:t,insetInlineStart:a,insetInlineEnd:n,dir:l})=>{const i=l===xc.rtl;return{...{top:e,insetBlockStart:e},...{bottom:t,insetBlockEnd:t},...{left:i?n:a,right:i?a:n}}},dS=({cursor:e,style:t})=>{const a=Rp(t||{},{},["top","left","position","display","transform","overflow","minWidth","minHeight","filter","flexBasis","backgroundImage","pointerEvents"]);return e&&(a.cursor=e),a},hS=(e,t)=>typeof t!="string"?!1:t.trim().split(" ").every(a=>e===a),mS=e=>{const t="focusRing--radius",a=(e||"").trim().split(" ")[0];if(hS(a,e)){const n=l=>`${l.charAt(0).toUpperCase()}${l.slice(1)}`;if(["small","medium","large"].includes(a))return`${t}${n(a)}`;if(["circle","pill"].includes(a))return`${t}Inherit`}return`${t}None`},vS=e=>{const t=e.position,a=e.display,n=e.focusPosition,l=e.withFocusOutline;return typeof l>"u"||l&&(Mn(a==="inline"||t==="relative","[View] the focus outline will only show if the `position` prop is `relative`."),Mn(a!=="inline"||n==="inset","[View] when display is set to `inline` the focus outline will only show if `focusPosition` is set to `inset`.")),l},pS=e=>{const t=e.borderWidth;return t&&t!=="0"&&t!=="none"},gS=(e,t)=>{const a=e.focusColor,n=e.focusPosition,l=e.position,i=e.shouldAnimateFocus,r=e.borderRadius,u=vS(e),c=typeof u>"u",o={offset:{top:`calc(${t.focusOutlineOffset} * -1)`,left:`calc(${t.focusOutlineOffset} * -1)`,right:`calc(${t.focusOutlineOffset} * -1)`,bottom:`calc(${t.focusOutlineOffset}* -1)`},inset:{top:`calc(${t.focusOutlineInset} * -1)`,left:`calc(${t.focusOutlineInset} * -1)`,right:`calc(${t.focusOutlineInset} * -1)`,bottom:`calc(${t.focusOutlineInset} * -1)`}},s={info:t.focusColorInfo,inverse:t.focusColorInverse,success:t.focusColorSuccess,danger:t.focusColorDanger};if(l==="relative"){const d=mS(r),f={"focusRing--radiusInherit":"inherit","focusRing--radiusNone":0},p={offset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`}},inset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`}}};return{"&::before":{pointerEvents:"none",content:'""',position:"absolute",borderStyle:t.focusOutlineStyle,borderWidth:t.focusOutlineWidth,borderColor:s[a],opacity:0,borderRadius:f[d],...p[n][d],...o[n],...i?{transition:"all 0.2s",transform:"scale(0.95)"}:{},...u?{opacity:1,transform:"scale(1)"}:{}},"&:focus":{outline:"none","&::before":{...c?{opacity:1,transform:"scale(1)"}:{}}}}}return{"&::before":{borderStyle:"none"},outlineStyle:"none",outlineColor:s[a],...u?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{},"&:focus":{...c?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{}}}},yS=(e,t)=>{const a=t.borderRadius,n=t.borderWidth,l=t.margin,i=t.padding,r=t.position,u=t.display,c=t.focusPosition,o=t.textAlign,s=t.borderColor,d=t.background,f=t.stacking,p=t.shadow,C=t.overflowY,S=t.overflowX,M=t.overscrollBehavior,m=t.insetBlockEnd,h=t.insetBlockStart,v=t.insetInlineEnd,R=t.insetInlineStart,x=t.width,y=t.height,A=t.minWidth,$=t.minHeight,U=t.maxWidth,j=t.maxHeight,q=t.withVisualDebug,Me=t.dir,Te=oS({theme:e,borderRadius:a,borderWidth:n,dir:Me}),Ee=sS({margin:l,padding:i,theme:e,dir:Me}),wt=fS({dir:Me,insetBlockEnd:m,insetBlockStart:h,insetInlineEnd:v,insetInlineStart:R}),z=r==="relative"||u==="inline"&&c==="inset",H={inline:{label:"view--inline",display:"inline"},block:{label:"view--block",display:"block"},"inline-block":{label:"view--inlineBlock",display:"inline-block",verticalAlign:"middle"},flex:{label:"view--flex",display:"flex"},"inline-flex":{label:"view--inlineFlex",display:"inline-flex",verticalAlign:"middle"},auto:{}},Y={start:{textAlign:"start"},center:{textAlign:"center"},end:{textAlign:"end"}},ie={transparent:{borderColor:e.borderColorTransparent},primary:{borderColor:e.borderColorPrimary},secondary:{borderColor:e.borderColorSecondary},brand:{borderColor:e.borderColorBrand},info:{borderColor:e.borderColorInfo},success:{borderColor:e.borderColorSuccess},warning:{borderColor:e.borderColorWarning},alert:{borderColor:e.borderColorAlert},danger:{borderColor:e.borderColorDanger}},fe={transparent:{color:e.color,background:"none"},primary:{color:e.color,background:e.backgroundPrimary},secondary:{color:e.color,background:e.backgroundSecondary},"primary-inverse":{color:e.colorPrimaryInverse,background:e.backgroundPrimaryInverse},brand:{color:e.colorPrimaryInverse,background:e.backgroundBrand},info:{color:e.colorPrimaryInverse,background:e.backgroundInfo},alert:{color:e.colorPrimaryInverse,background:e.backgroundAlert},success:{color:e.colorPrimaryInverse,background:e.backgroundSuccess},danger:{color:e.colorPrimaryInverse,background:e.backgroundDanger},warning:{color:e.colorPrimaryInverse,background:e.backgroundWarning}},Ie={topmost:{zIndex:e.stackingTopmost},above:{zIndex:e.stackingAbove},resting:{},below:{zIndex:e.stackingBelow},deepest:{zIndex:e.stackingDeepest}},pt={topmost:{boxShadow:e.shadowTopmost},resting:{boxShadow:e.shadowResting},above:{boxShadow:e.shadowAbove},none:{}},jt=gS(t,e);return{view:{label:"view",boxSizing:"border-box",fontFamily:e.fontFamily,maxWidth:"100%",overflow:"visible",...H[u],...d&&fe[d],...f&&Ie[f],...p&&pt[p],...o&&Y[o],overflowX:S&&S!=="visible"?S:"",overflowY:C&&C!=="visible"?C:"",position:r!=="static"?r:"",overscrollBehavior:M||"auto",...q?{outline:`0.0625rem dashed ${e.debugOutlineColor}`}:{},...pS(t)?{borderStyle:e.borderStyle,...ie[s]}:{},...z?jt:{}},inlineStyles:{"&&&&&&&&&&":{...Ee,...Te,...wt,width:x,height:y,minWidth:A,minHeight:$,maxWidth:U,maxHeight:j,...dS(t)}}}},bS=e=>{const t=e.colors,a=e.typography,n=e.borders,l=e.breakpoints,i=e.spacing,r=e.shadows,u=e.stacking,c=e.key,o={canvas:{color:e["ic-brand-font-color-dark"],focusColorInfo:e["ic-brand-primary"],backgroundBrand:e["ic-brand-primary"],backgroundInfo:e["ic-brand-primary"],borderColorBrand:e["ic-brand-primary"],borderColorInfo:e["ic-brand-primary"]}};return{...{fontFamily:a==null?void 0:a.fontFamily,color:t==null?void 0:t.textDarkest,colorPrimaryInverse:t==null?void 0:t.textLightest,borderColorPrimary:t==null?void 0:t.borderMedium,borderColorSecondary:t==null?void 0:t.borderDark,borderColorSuccess:t==null?void 0:t.borderSuccess,borderColorBrand:t==null?void 0:t.borderBrand,borderColorInfo:t==null?void 0:t.borderInfo,borderColorAlert:t==null?void 0:t.borderAlert,borderColorWarning:t==null?void 0:t.borderWarning,borderColorDanger:t==null?void 0:t.borderDanger,borderColorTransparent:"transparent",debugOutlineColor:t==null?void 0:t.borderDebug,backgroundPrimary:t==null?void 0:t.backgroundLightest,backgroundSecondary:t==null?void 0:t.backgroundLight,backgroundPrimaryInverse:t==null?void 0:t.backgroundDarkest,backgroundBrand:t==null?void 0:t.backgroundBrand,backgroundInfo:t==null?void 0:t.backgroundInfo,backgroundAlert:t==null?void 0:t.backgroundAlert,backgroundSuccess:t==null?void 0:t.backgroundSuccess,backgroundDanger:t==null?void 0:t.backgroundDanger,backgroundWarning:t==null?void 0:t.backgroundWarning,arrowSize:"0.5rem",focusOutlineStyle:n==null?void 0:n.style,focusOutlineWidth:n==null?void 0:n.widthMedium,focusOutlineOffset:"0.3125rem",focusOutlineInset:"0rem",focusColorInfo:t==null?void 0:t.borderInfo,focusColorDanger:t==null?void 0:t.borderDanger,focusColorSuccess:t==null?void 0:t.borderSuccess,focusColorInverse:t==null?void 0:t.borderLightest,xSmallMaxWidth:l==null?void 0:l.xSmall,smallMaxWidth:l==null?void 0:l.small,mediumMaxWidth:l==null?void 0:l.medium,largeMaxWidth:l==null?void 0:l.large,...fi("margin",i),...fi("padding",i),...fi("shadow",r),...fi("stacking",u),...fi("border",n)},...o[c]}},SS={as:L.elementType,elementRef:L.func,display:L.oneOf(["auto","inline","block","inline-block","flex","inline-flex"]),overflowX:L.oneOf(["auto","hidden","visible"]),overflowY:L.oneOf(["auto","hidden","visible"]),margin:Jn.spacing,padding:Jn.spacing,height:L.oneOfType([L.string,L.number]),width:L.oneOfType([L.string,L.number]),maxHeight:L.oneOfType([L.string,L.number]),maxWidth:L.oneOfType([L.string,L.number]),minHeight:L.oneOfType([L.string,L.number]),minWidth:L.oneOfType([L.string,L.number]),children:L.node,textAlign:L.oneOf(["start","center","end"]),borderWidth:Jn.borderWidth,borderRadius:Jn.borderRadius,borderColor:L.oneOf(["transparent","primary","secondary","brand","info","success","warning","alert","danger"]),background:L.oneOf(["transparent","primary","secondary","primary-inverse","brand","info","alert","success","danger","warning"]),shadow:Jn.shadow,stacking:Jn.stacking,cursor:O5,position:L.oneOf(["static","absolute","relative","sticky","fixed"]),insetInlineStart:L.string,insetInlineEnd:L.string,insetBlockStart:L.string,insetBlockEnd:L.string,withFocusOutline:L.bool,focusPosition:L.oneOf(["offset","inset"]),focusColor:L.oneOf(["info","inverse","success","danger"]),shouldAnimateFocus:L.bool,withVisualDebug:L.bool,dir:L.oneOf(Object.values(ad.DIRECTION)),overscrollBehavior:L.oneOf(["auto","contain","none"])},ES=["as","background","borderColor","borderRadius","borderWidth","children","cursor","dir","display","elementRef","focusColor","focusPosition","height","insetBlockEnd","insetBlockStart","insetInlineEnd","insetInlineStart","margin","maxHeight","maxWidth","minHeight","minWidth","overflowX","overflowY","overscrollBehavior","padding","position","shadow","shouldAnimateFocus","stacking","textAlign","width","withFocusOutline","withVisualDebug"],RS=["children","textAlign","background","display","withVisualDebug","width","height","minWidth","minHeight","maxWidth","maxHeight","overflowX","overflowY","stacking","shadow","position","focusPosition","focusColor","shouldAnimateFocus","borderColor","className","overscrollBehavior","styles","makeStyles"];var Eh,Rh,Zr,va;let CS=(Eh=ad(),Rh=rd(yS,bS),Eh(Zr=Rh(Zr=(va=class xp extends T.Component{get _element(){return this.ref}constructor(t){super(t),this.spanMarginVerified=void 0,this.ref=null,this.handleElementRef=a=>{typeof this.props.elementRef=="function"&&this.props.elementRef(a),this.ref=a},this.spanMarginVerified=!1}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.children;t.textAlign,t.background,t.display,t.withVisualDebug,t.width,t.height,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight,t.overflowX,t.overflowY,t.stacking,t.shadow,t.position,t.focusPosition,t.focusColor,t.shouldAnimateFocus,t.borderColor;const n=t.className;t.overscrollBehavior;const l=t.styles;t.makeStyles;const i=xn(t,RS),r=m5(xp,this.props);return hn(r,Object.assign({},b5(i),{className:n,css:[l==null?void 0:l.view,l==null?void 0:l.inlineStyles],ref:this.handleElementRef}),a)}},va.displayName="View",va.componentId="View",va.allowedProps=ES,va.propTypes=SS,va.defaultProps={display:"auto",overflowX:"visible",overflowY:"visible",withVisualDebug:!1,borderColor:"primary",position:"static",focusPosition:"offset",focusColor:"info",shouldAnimateFocus:!0,overscrollBehavior:"auto"},va.omitViewProps=(e,t)=>{const a=[...va.allowedProps,"styles","makeStyles","themeOverride"];let n=!0;try{n=!1}catch(l){if(l instanceof ReferenceError)n=!1;else throw l}return n&&Object.keys(Rp(e,a)).forEach(l=>{Mn(!1,`[${t.name}] prop '${l}' is not allowed.`)}),Ep(e,a)},va))||Zr)||Zr);const AS=(e,t)=>{const a=t.inline,n=t.color,l={inherit:{color:"inherit"},primary:{color:e.primaryColor},secondary:{color:e.secondaryColor},"primary-inverse":{color:e.primaryInverseColor},"secondary-inverse":{color:e.secondaryInverseColor},success:{color:e.successColor},brand:{color:e.brandColor},warning:{color:e.warningColor},error:{color:e.errorColor},alert:{color:e.alertColor},auto:{}};return{inlineSVG:{label:"inlineSVG",fill:"currentColor",display:a?"inline-block":"block",overflow:"visible",...l[n]}}},wS=e=>{const t=e.colors,a=e.key,n={canvas:{primaryColor:e["ic-brand-font-color-dark"],brandColor:e["ic-brand-primary"]}};return{...{primaryInverseColor:t==null?void 0:t.textLightest,primaryColor:t==null?void 0:t.textDarkest,secondaryColor:t==null?void 0:t.textDark,secondaryInverseColor:t==null?void 0:t.textLight,warningColor:t==null?void 0:t.textWarning,brandColor:t==null?void 0:t.textBrand,errorColor:t==null?void 0:t.textDanger,alertColor:t==null?void 0:t.textAlert,successColor:t==null?void 0:t.textSuccess},...n[a]}},TS={children:L.node,src:L.string,title:L.string,description:L.string,focusable:L.bool,width:L.oneOfType([L.string,L.number]),height:L.oneOfType([L.string,L.number]),inline:L.bool,color:L.oneOf(["inherit","primary","secondary","primary-inverse","secondary-inverse","success","error","alert","warning","brand","auto"]),elementRef:L.func},_S=["children","src","title","description","focusable","width","height","inline","color","elementRef"],OS=["style","title","description","focusable","children","src","styles"];var Ch,Ah,wh,Wn,Na;let Dp=(Ch=C5(),Ah=rd(AS,wS),wh=Mp(),Ch(Wn=Ah(Wn=wh(Wn=(Na=class Us extends T.Component{constructor(t){super(t),this.titleId=void 0,this.descId=void 0,this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)},this.titleId=t.deterministicId("InlineSVG-title"),this.descId=t.deterministicId("InlineSVG-desc")}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}get role(){return this.props.title?"img":"presentation"}renderTitle(){const t=this.props.title;return t?hn("title",{id:this.titleId},t):null}renderDesc(t){return t?hn("desc",{id:this.descId},t):null}get labelledBy(){const t=[];return this.props.title&&t.push(this.titleId),this.props.description&&t.push(this.descId),t.length>0?t.join(" "):void 0}renderContent(){if(this.props.src){const t=Us.prepareSrc(this.props.src);return hn("g",{role:"presentation",dangerouslySetInnerHTML:{__html:t}})}else return hn("g",{role:"presentation"},this.props.children)}render(){const t=this.props,a=t.style,n=t.title,l=t.description,i=t.focusable;t.children;const r=t.src,u=t.styles,c=xn(t,OS),o=this.props.width==="auto"?void 0:this.props.width,s=this.props.height==="auto"?void 0:this.props.height;return hn("svg",Object.assign({},MS(r),Ep(this.props,Us.allowedProps,["inline"]),{style:{...a,width:o,height:s},width:o,height:s,"aria-hidden":n?void 0:"true","aria-labelledby":this.labelledBy,role:this.role,focusable:i?"true":"false",css:u==null?void 0:u.inlineSVG,className:c.className,ref:this.handleRef}),this.renderTitle(),this.renderDesc(l),this.renderContent())}},Na.displayName="InlineSVG",Na.componentId="InlineSVG",Na.allowedProps=_S,Na.propTypes=TS,Na.defaultProps={focusable:!1,src:"",title:"",description:"",inline:!0,width:"1em",height:"1em",color:"inherit"},Na.prepareSrc=e=>{const a=/]*>((.|[\n\r])*)<\/svg>/.exec(e);return a?a[1]:e},Na))||Wn)||Wn)||Wn);function MS(e){const t={},a=/]*)\s*>/,n=/(\S+)=["']?((?:.(?!["']?\s+(?:\S+)=|[>"']))+.)["']?/g;if(typeof e=="string"){const l=a.exec(e),i=l?l[1]:"",r=["xmlns","xmlns:xlink","version"];let u=n.exec(i);for(;u!=null;)r.indexOf(u[1])===-1&&(t[u[1]]=u[2]||(u[3]?u[3]:u[4]?u[4]:u[5])||u[1]),u=n.exec(i)}return t}const xS=(e,t)=>{const a=t.rotate,n=t.size,l=t.bidirectional,i={0:{},90:{transform:"rotate(90deg)"},180:{transform:"rotate(180deg)"},270:{transform:"rotate(270deg)"}},r={0:{transform:"scale3d(-1, 1, 1)"},90:{transform:"scale3d(-1, 1, 1) rotate(90deg)"},180:{transform:"scale3d(-1, 1, 1) rotate(180deg)"},270:{transform:"scale3d(-1, 1, 1) rotate(270deg)"}},u={"x-small":{fontSize:e.sizeXSmall},small:{fontSize:e.sizeSmall},medium:{fontSize:e.sizeMedium},large:{fontSize:e.sizeLarge},"x-large":{fontSize:e.sizeXLarge}};return{svgIcon:{label:"svgIcon",verticalAlign:"middle",lineHeight:1,width:"1em",height:"1em",...i[a],...n&&u[n],...l&&{'[dir="rtl"] &':r[a]}}}},DS=()=>({...{sizeXSmall:"1.125rem",sizeSmall:"2rem",sizeMedium:"3rem",sizeLarge:"5rem",sizeXLarge:"10rem"}}),$S={...Dp.propTypes,rotate:L.oneOf(["0","90","180","270"]),size:L.oneOf(["x-small","small","medium","large","x-large"]),bidirectional:L.bool},zS=["children","src","title","description","focusable","width","height","inline","color","elementRef","rotate","size","bidirectional"],NS=["rotate","className","themeOverride","size","bidirectional","makeStyles","styles"],LS=["sizeXSmall","sizeSmall","sizeMedium","sizeLarge","sizeXLarge"];var Th,_h,Qr,cn;let Fe=(Th=rd(xS,DS),_h=Mp(),Th(Qr=_h(Qr=(cn=class extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.rotate,n=t.className,l=t.themeOverride;t.size,t.bidirectional,t.makeStyles;const i=t.styles,r=xn(t,NS),u=l;u.sizeXSmall,u.sizeSmall,u.sizeMedium,u.sizeLarge,u.sizeXLarge;const c=xn(u,LS);return hn(Dp,Object.assign({},r,{themeOverride:c,rotate:a,css:i==null?void 0:i.svgIcon,className:n,elementRef:this.handleRef}))}},cn.displayName="SVGIcon",cn.componentId="SVGIcon",cn.allowedProps=zS,cn.propTypes=$S,cn.defaultProps={rotate:"0",bidirectional:!1},cn))||Qr)||Qr);var Oh;class Xl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconCanvasLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Oh||(Oh=be.createElement("path",{d:"M958.568 277.97C1100.42 277.97 1216.48 171.94 1233.67 34.3881 1146.27 12.8955 1054.57 0 958.568 0 864.001 0 770.867 12.8955 683.464 34.3881 700.658 171.94 816.718 277.97 958.568 277.97ZM35.8207 682.031C173.373 699.225 279.403 815.285 279.403 957.136 279.403 1098.99 173.373 1215.05 35.8207 1232.24 12.8953 1144.84 1.43262 1051.7 1.43262 957.136 1.43262 862.569 12.8953 769.434 35.8207 682.031ZM528.713 957.142C528.713 1005.41 489.581 1044.55 441.31 1044.55 393.038 1044.55 353.907 1005.41 353.907 957.142 353.907 908.871 393.038 869.74 441.31 869.74 489.581 869.74 528.713 908.871 528.713 957.142ZM1642.03 957.136C1642.03 1098.99 1748.06 1215.05 1885.61 1232.24 1908.54 1144.84 1920 1051.7 1920 957.136 1920 862.569 1908.54 769.434 1885.61 682.031 1748.06 699.225 1642.03 815.285 1642.03 957.136ZM1567.51 957.142C1567.51 1005.41 1528.38 1044.55 1480.11 1044.55 1431.84 1044.55 1392.71 1005.41 1392.71 957.142 1392.71 908.871 1431.84 869.74 1480.11 869.74 1528.38 869.74 1567.51 908.871 1567.51 957.142ZM958.568 1640.6C816.718 1640.6 700.658 1746.63 683.464 1884.18 770.867 1907.11 864.001 1918.57 958.568 1918.57 1053.14 1918.57 1146.27 1907.11 1233.67 1884.18 1216.48 1746.63 1100.42 1640.6 958.568 1640.6ZM1045.98 1480.11C1045.98 1528.38 1006.85 1567.51 958.575 1567.51 910.304 1567.51 871.172 1528.38 871.172 1480.11 871.172 1431.84 910.304 1392.71 958.575 1392.71 1006.85 1392.71 1045.98 1431.84 1045.98 1480.11ZM1045.98 439.877C1045.98 488.148 1006.85 527.28 958.575 527.28 910.304 527.28 871.172 488.148 871.172 439.877 871.172 391.606 910.304 352.474 958.575 352.474 1006.85 352.474 1045.98 391.606 1045.98 439.877ZM1441.44 1439.99C1341.15 1540.29 1333.98 1697.91 1418.52 1806.8 1579 1712.23 1713.68 1577.55 1806.82 1418.5 1699.35 1332.53 1541.74 1339.7 1441.44 1439.99ZM1414.21 1325.37C1414.21 1373.64 1375.08 1412.77 1326.8 1412.77 1278.53 1412.77 1239.4 1373.64 1239.4 1325.37 1239.4 1277.1 1278.53 1237.97 1326.8 1237.97 1375.08 1237.97 1414.21 1277.1 1414.21 1325.37ZM478.577 477.145C578.875 376.846 586.039 219.234 501.502 110.339 341.024 204.906 206.338 339.592 113.203 498.637 220.666 584.607 378.278 576.01 478.577 477.145ZM679.155 590.32C679.155 638.591 640.024 677.723 591.752 677.723 543.481 677.723 504.349 638.591 504.349 590.32 504.349 542.048 543.481 502.917 591.752 502.917 640.024 502.917 679.155 542.048 679.155 590.32ZM1440 475.712C1540.3 576.01 1697.91 583.174 1806.8 498.637 1712.24 338.159 1577.55 203.473 1418.51 110.339 1332.54 217.801 1341.13 375.413 1440 475.712ZM1414.21 590.32C1414.21 638.591 1375.08 677.723 1326.8 677.723 1278.53 677.723 1239.4 638.591 1239.4 590.32 1239.4 542.048 1278.53 502.917 1326.8 502.917 1375.08 502.917 1414.21 542.048 1414.21 590.32ZM477.145 1438.58C376.846 1338.28 219.234 1331.12 110.339 1415.65 204.906 1576.13 339.593 1710.82 498.637 1805.39 584.607 1696.49 577.443 1538.88 477.145 1438.58ZM679.155 1325.37C679.155 1373.64 640.024 1412.77 591.752 1412.77 543.481 1412.77 504.349 1373.64 504.349 1325.37 504.349 1277.1 543.481 1237.97 591.752 1237.97 640.024 1237.97 679.155 1277.1 679.155 1325.37Z"})))}}Xl.glyphName="canvas-logo";Xl.variant="Line";Xl.displayName="IconCanvasLogoLine";Xl.propTypes={...Fe.propTypes};Xl.allowedProps=[...Fe.allowedProps];var Mh;class Zl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconElevateLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Mh||(Mh=be.createElement("path",{d:"M1070.45 53.9152C1104.97 88.4365 1124.36 135.258 1124.36 184.078L1123.51 1188.09C1123.74 1229.1 1110.25 1269.01 1085.18 1301.47 1060.11 1333.93 1024.9 1357.08 985.16 1367.22 945.419 1377.35 903.428 1373.91 865.87 1357.43 828.312 1340.95 797.346 1312.38 777.899 1276.28 763.314 1249.19 755.85 1218.85 756.21 1188.09V184.078C756.21 135.258 775.603 88.4365 810.124 53.9152 844.646 19.3939 891.467 0 940.288 0 989.108 0 1035.93 19.3939 1070.45 53.9152ZM161.091 1320.33C194.624 1353.7 240.009 1372.44 287.319 1372.44 310.767 1372.44 333.985 1367.81 355.644 1358.83 377.304 1349.85 396.98 1336.69 413.547 1320.1 430.113 1303.5 443.246 1283.8 452.193 1262.13 461.141 1240.45 465.726 1217.23 465.689 1193.78L463.406 359.01 106.666 741.15 108.378 1194.35C108.605 1241.67 127.558 1286.96 161.091 1320.33ZM1592.41 1372.44C1639.74 1372.51 1685.17 1353.81 1718.72 1320.42 1752.27 1287.02 1771.2 1241.69 1771.35 1194.35L1773.06 741.15 1416.33 359.01 1414.32 1193.78C1414.29 1217.21 1418.87 1240.41 1427.79 1262.06 1436.72 1283.71 1449.83 1303.41 1466.37 1319.99 1482.9 1336.58 1502.55 1349.75 1524.17 1358.75 1545.8 1367.75 1568.99 1372.4 1592.41 1372.44ZM1123.46 1752.39C1126.77 1716.09 1119.25 1679.61 1101.83 1647.56 1090.29 1626.27 1074.66 1607.47 1055.85 1592.22 1037.03 1576.97 1015.39 1565.59 992.163 1558.73 968.939 1551.86 944.588 1549.64 920.506 1552.2 896.423 1554.76 873.083 1562.05 851.822 1573.65 819.782 1591.06 793.627 1617.59 776.661 1649.87 759.697 1682.14 752.685 1718.73 756.513 1754.99 760.341 1791.25 774.837 1825.57 798.168 1853.59 821.499 1881.62 852.616 1902.09 887.585 1912.44 922.554 1922.77 959.804 1922.51 994.623 1911.68 1029.44 1900.84 1060.27 1879.94 1083.2 1851.58 1106.13 1823.23 1120.14 1788.71 1123.46 1752.39Z"})))}}Zl.glyphName="elevate-logo";Zl.variant="Line";Zl.displayName="IconElevateLogoLine";Zl.propTypes={...Fe.propTypes};Zl.allowedProps=[...Fe.allowedProps];var xh;class Ql extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconImpactLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),xh||(xh=be.createElement("path",{d:"M910.001 203.918C910.001 163.587 921.96 124.161 944.366 90.6273 966.773 57.0931 998.621 30.9565 1035.88 15.5225 1073.14.0883516 1114.15-3.9499 1153.7 3.91831 1193.26 11.7866 1229.59 31.2078 1258.11 59.7263 1286.63 88.2447 1306.05 124.579 1313.92 164.135 1321.78 203.692 1317.75 244.693 1302.32 281.954 1286.88 319.215 1260.74 351.062 1227.21 373.47 1193.68 395.876 1154.25 407.836 1113.92 407.836 1087.13 407.869 1060.6 402.617 1035.84 392.38 1011.09 382.144 988.596 367.124 969.654 348.182 950.712 329.241 935.692 306.748 925.457 281.993 915.22 257.237 909.967 230.706 910.001 203.918ZM167.424 913.308 458.311 622.422H1045.04L460.789 1206.68C421.886 1245.58 369.124 1267.44 314.107 1267.44 259.09 1267.44 206.327 1245.58 167.424 1206.68 128.522 1167.77 106.667 1115.01 106.667 1059.99 106.667 1004.97 128.522 952.211 167.424 913.308ZM1738.81 1027.77 1454.11 1313.21H867.136L1444.7 734.406C1483.6 695.405 1536.4 673.455 1591.49 673.386 1646.57 673.316 1699.43 695.132 1738.43 734.034 1777.43 772.936 1799.38 825.739 1799.45 880.826 1799.52 935.911 1777.71 988.769 1738.81 1027.77ZM587.075 1602.79C564.668 1636.33 552.709 1675.75 552.709 1716.08 552.709 1770.16 574.192 1822.02 612.435 1860.27 650.677 1898.51 702.543 1920 756.627 1920 796.957 1920 836.382 1908.04 869.917 1885.63 903.451 1863.23 929.588 1831.38 945.021 1794.12 960.456 1756.85 964.494 1715.85 956.625 1676.29 948.758 1636.74 929.336 1600.4 900.817 1571.89 872.299 1543.37 835.965 1523.94 796.409 1516.08 756.853 1508.21 715.851 1512.25 678.59 1527.69 641.329 1543.12 609.481 1569.25 587.075 1602.79Z"})))}}Ql.glyphName="impact-logo";Ql.variant="Line";Ql.displayName="IconImpactLogoLine";Ql.propTypes={...Fe.propTypes};Ql.allowedProps=[...Fe.allowedProps];var Dh;class Dn extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconInstructureLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Dh||(Dh=be.createElement("path",{d:"M1448.57 288.052 1084.46 502.746 1448.55 718.026 1813.23 502.732 1448.57 288.052ZM959.965 429.191 1323.92 214.589 959.988 0 596.032 214.602 959.965 429.191ZM835.499 502.732 471.388 288.038 106.704 502.732 471.388 718.026 835.499 502.732ZM106.667 1416.54 960 1920 1813.33 1416.54 960 913.07 106.667 1416.54Z"})))}}Dn.glyphName="instructure-logo";Dn.variant="Line";Dn.displayName="IconInstructureLogoLine";Dn.propTypes={...Fe.propTypes};Dn.allowedProps=[...Fe.allowedProps];var $h;class Kl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconMasteryLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),$h||($h=be.createElement("path",{d:"M672.274 547.699V889.681L371.706 760.866C332.318 747.272 297.441 723.083 270.907 690.958 244.373 658.833 227.209 620.015 221.301 578.769 215.392 537.524 220.969 495.447 237.417 457.164 253.866 418.883 280.55 385.876 314.537 361.771 348.524 337.668 388.498 323.399 430.066 320.536 471.634 317.672 513.187 326.323 550.158 345.538 587.13 364.753 618.089 393.788 639.632 429.453 661.176 465.119 672.47 506.033 672.274 547.699ZM959.895 1550.52C1013.45 1550.76 1065.35 1531.95 1106.32 1497.47 1147.3 1462.98 1174.68 1415.06 1183.6 1362.25 1192.51 1309.44 1182.37 1255.17 1154.98 1209.16 1127.6 1163.13 1084.75 1128.34 1034.08 1110.97L733.516 982.161V1324.15C733.584 1384.17 757.456 1441.7 799.895 1484.15 842.335 1526.59 899.876 1550.46 959.895 1550.52ZM226.887 1097.53C182.052 1097.47 138.21 1110.72 100.908 1135.6 63.6045 1160.47 34.5168 1195.85 17.3245 1237.26.13224 1278.67-4.39211 1324.24 4.32386 1368.21 13.0399 1412.19 34.6045 1452.61 66.2896 1484.32 97.9747 1516.04 138.356 1537.65 182.325 1546.42 226.295 1555.19 271.876 1550.71 313.303 1533.57 354.73 1516.42 390.14 1487.37 415.054 1450.1 439.968 1412.82 453.266 1368.99 453.266 1324.16 453.199 1264.12 429.335 1206.55 386.902 1164.08 344.47 1121.59 286.929 1097.66 226.887 1097.53ZM1693.14 1550.52C1746.69 1550.76 1798.6 1531.95 1839.57 1497.47 1880.54 1462.98 1907.93 1415.06 1916.85 1362.25 1925.75 1309.44 1915.62 1255.17 1888.23 1209.16 1860.85 1163.13 1818 1128.34 1767.33 1110.97L1466.51 982.161V1324.15C1466.64 1384.19 1490.57 1441.72 1533.05 1484.16 1575.53 1526.59 1633.1 1550.46 1693.14 1550.52ZM1405.53 547.689V889.671L1104.7 760.856C1065.35 747.221 1030.51 723.005 1004.02 690.865 977.527 658.724 960.404 619.905 954.531 578.67 948.656 537.434 954.261 495.378 970.726 457.12 987.192 418.861 1013.88 385.879 1047.87 361.798 1081.85 337.716 1121.81 323.465 1163.37 320.611 1204.92 317.757 1246.46 326.408 1283.41 345.617 1320.37 364.825 1351.33 393.847 1372.86 429.495 1394.41 465.143 1405.71 506.038 1405.53 547.689Z"})))}}Kl.glyphName="mastery-logo";Kl.variant="Line";Kl.displayName="IconMasteryLogoLine";Kl.propTypes={...Fe.propTypes};Kl.allowedProps=[...Fe.allowedProps];const US="isp-site",HS="4.4.0+1720642096",BS="https://inst.bid/#/",jS="module",VS={dev:"vite","biome:check":"pnpm lint && pnpm check && pnpm format","biome:apply":"pnpm lint:apply && pnpm check:apply && pnpm format:apply",build:"pnpm build:preview && pnpm build:git","build:git":'git add . && git commit -m "Build v$npm_package_version" && git push',"build:js":"vite build","build:preview":"pnpm biome:apply && pnpm sec && pnpm build:version && pnpm build:ts && pnpm build:js","build:ts":"tsc","build:version":`node-jq -r '.version=$ARGS.positional[0]+"+"+$ARGS.positional[1]' package.json --args "$(pnpm -s env:semver)" "$(date +%s)" | sponge package.json`,check:"biome check","check:apply":"biome check --write","env:package":"node-jq '.' package.json","env:biome":"biome rage","env:buildtime":`date -r $(node-jq -r '(.version | split("+"))[1]' package.json)`,"env:semver":`node-jq -r '(.version | split("+"))[0]' package.json`,"env:version":'echo "$npm_package_version"',format:"biome format","format:apply":"biome format --write",lint:"biome lint","lint:apply":"biome lint --write",preview:"pnpm build:preview && vite preview",push:`pnpm build && {pnpm tag || printf "git tag already exists.\r -";} && gh-pages -t -m "Deploy v$(pnpm -s env:version)" -d dist`,sec:"pnpm sec:audit && pnpm sec:scan","sec:audit":"snyk test && pnpm audit","sec:scan":"snyk code test",tag:"git tag isp-site-v$(pnpm -s env:semver) && git push origin isp-site-v$(pnpm -s env:semver)"},kS={"@instructure/browserslist-config-canvas-lms":"^2.0.0","@instructure/ui":"^9.2.0","gh-pages":"^6.1.1",react:"19.0.0-rc-fb9a90fa48-20240614","react-dom":"19.0.0-rc-fb9a90fa48-20240614","react-markdown":"^9.0.1","react-router-dom":"^6.24.1","rehype-raw":"^7.0.0","remark-gemoji":"^8.0.0","remark-gfm":"^4.0.0"},GS={"@babel/plugin-syntax-import-attributes":"^7.24.7","@biomejs/biome":"1.8.2","@instructure/shared-types":"^9.2.0","@octokit/types":"^13.5.0","@types/react":"npm:types-react@19.0.0-rc.0","@types/react-dom":"npm:types-react-dom@19.0.0-rc.0","@vitejs/plugin-react":"^4.3.1","babel-plugin-react-compiler":"0.0.0-experimental-938cd9a-20240601","node-jq":"^4.4.0",snyk:"^1.1292.1","snyk-policy":"^3.0.0",typescript:"^5.5.3",vite:"^5.3.3"},YS={node:">=22.4.1",pnpm:">=9.5.0"},qS="pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",XS={overrides:{react:"^19.0.0-rc-f994737d14-20240522","react-dom":"^19.0.0-rc-f994737d14-20240522","@instructure/ui-test-sandbox>sinon":"^17.0.1","gh-pages>globby":"11.1.0","node-jq>tempfile":"^5.0.0","bin-build>tempfile":"^5.0.0","bin-build>download":"^8.0.0","download>got":"^14.4.1"}},ZS=["extends @instructure/browserslist-config-canvas-lms"],QS={name:US,version:HS,homepage:BS,private:!0,type:jS,scripts:VS,dependencies:kS,devDependencies:GS,engines:YS,packageManager:qS,pnpm:XS,browserslist:ZS},O={owner:"thedannywahl",repo:"instructure-security-package",branch:"main",url:QS.homepage.replace("/#/",""),gh:"https://github.com",api:"https://api.github.com",raw:"https://raw.githubusercontent.com"},La=`${O.raw}/${O.owner}/${O.repo}/${O.branch}/README`,KS=["Instructure","Canvas","Mastery","Elevate","Impact","LearnPlatform","Intelligent Insights","Parchment"],_9=[...KS,"Canvas LMS","Canvas Mobile","Canvas Studio","Canvas Credentials","Canvas Catalog","Canvas Commons","Canvas Data","Mastery Connect","Mastery Item Bank","Mastery View Assessments","Elevate Data Quality","Elevate Data Sync","Learn Platform"],PS=[{brandName:"Instructure",get title(){return this.brandName.toLowerCase()},route:"/",readme:`${La}.md`,color:"#287A9F",Icon:Dn},{brandName:"Canvas",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#E72429",Icon:Xl},{brandName:"Mastery",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#24A159",Icon:Kl},{brandName:"Elevate",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0097D3",Icon:Zl},{brandName:"Impact",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#F76400",Icon:Ql},{brandName:"LearnPlatform",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0077CC",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 0 300 300",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("path",{d:"M191.431 212.736H205.086C204.961 212.34 204.846 211.974 204.738 211.63C204.404 210.567 204.135 209.713 203.834 208.81C199.852 198.417 195.964 187.986 192.171 177.517C181.493 149.012 170.872 120.497 160.309 91.9733C159.911 90.214 158.223 89.0597 156.44 89.3276C151.091 89.4698 145.743 89.5267 140.423 89.3276C138.432 89 136.546 90.3293 136.184 92.3147C121.657 131.422 107.129 170.519 92.6017 209.607C92.414 210.136 92.2467 210.686 92.0507 211.329C91.9201 211.759 91.7767 212.23 91.606 212.765C93.7973 212.765 95.9464 212.748 98.0664 212.732C102.222 212.701 106.265 212.67 110.297 212.765C112.402 212.935 113.17 211.94 113.824 210.091C115.474 205.226 117.167 200.375 118.859 195.525C120.552 190.675 122.245 185.824 123.895 180.959C124.199 179.276 125.788 178.141 127.479 178.399H168.729C170.418 178.138 172.011 179.255 172.342 180.931C173.799 185.14 175.307 189.334 176.814 193.524C178.251 197.519 179.687 201.511 181.076 205.51C182.365 209.107 183.012 210.914 184.295 211.821C185.589 212.736 187.531 212.736 191.431 212.736ZM148.417 109.213C154.145 126.092 159.977 143.351 165.913 160.989H131.121L148.417 109.213Z"}),Ze.jsx("path",{d:"M225 110.209V114.191H207.931V133.707H203.522V114.191H186.453V110.209H203.522V90.8069H207.732V110.209H225Z"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"})]})},{brandName:"Intelligent Insights",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title.replace(/ /g,"-")}`},get readme(){return`${La}-${this.brandName.replace(/ /g,"-")}.md`},color:"#287A9F",Icon:Dn},{brandName:"Parchment",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0093b2",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 -3 29 31.68",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("polygon",{points:"26.87 21.98 2.44 21.98 2.44 2.44 19.54 2.44 19.54 0 0 0 0 24.43 29.31 24.43 29.31 9.77 26.87 9.77"}),Ze.jsx("rect",{x:"26.87",y:"4.89",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"21.98",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"26.87",width:"2.44",height:"2.44"}),Ze.jsxs("g",{children:[Ze.jsx("path",{d:"M9.38,13.2c-.5,0-.62.37-.62.71v1.53c0,.4.23.69.66.69.36,0,.55-.21.55-.69v-1.53c0-.42-.13-.71-.58-.71Z"}),Ze.jsx("path",{d:"M9.15,11.01c-2.36,0-4.27,1.91-4.27,4.27s1.91,4.27,4.27,4.27,4.27-1.91,4.27-4.27-1.91-4.27-4.27-4.27ZM10.86,15.4c0,.81-.54,1.44-1.27,1.44-.31,0-.84-.14-.84-.38v1.87c0,.14-.18.23-.3.23h-.3c-.13,0-.31-.08-.31-.23v-5.53c0-.14.18-.28.31-.28h.31c.13,0,.29.13.29.28v.05c0-.18.44-.36.8-.36.8,0,1.31.5,1.31,1.48v1.43Z"})]})]})}],JS=`${O.raw}/${O.owner}/${O.repo}`,Fn=`${JS}/${O.branch}`,WS=[{title:"CAIQ",from:"/aws/caiq/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CAIQ.pdf`},{title:"Cyber Essentials+ Certificate",from:"/aws/ce/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20Cyber%20Essentials%20Plus%20Certificate.pdf`},{title:"CSA Star Level 2 Certificate",from:"/aws/csa/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CSA%20Star%20Certification.pdf`},{title:"ISO 27001 Certificate",from:"/aws/iso/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%2027001%20Certificate.pdf`},{title:"ISO 9001 Certificate",from:"/aws/iso9001/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%209001%20Certificate.pdf`},{title:"SOC 3 Report",from:"/aws/soc/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20SOC%203.pdf`}],FS=WS.map(e=>({...e,lang:"EN"})),IS={brand:"AWS",links:FS},$p="canvas-catalog",e7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,t7=`${O.raw}/${O.owner}/${O.repo}`,In=`${t7}/${$p}`,a7=[{title:"Compliance Package",from:"/canvas/catalog/dl",to:`${e7}/${$p}.zip`},{title:"PCI AOC SAQ",from:"/canvas/catalog/aoc/dl",to:`${In}/Canvas%20Catalog/2024_Instructure_PCI_DSS_Summary.pdf`},{title:"Architecture Paper",from:"/canvas/catalog/architecture/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20Architecture.pdf`},{title:"HECVAT Lite",from:"/canvas/catalog/hecvat/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20HECVAT%20Lite.xlsx`},{title:"PCI Shared Responsibility Matrix",from:"/canvas/catalog/pci/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20PCI%20Responsibility%20Matrix.pdf`},{title:"TX-RAMP Certification",from:"/canvas/catalog/tx-ramp/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20TX-RAMP%20Provisional%20Certificate.pdf`},{title:"Payment Redirector",from:"/canvas/catalog/payments/dl",to:`${In}/Canvas%20Catalog/Catalog%20Payment%20Redirector.png`},{title:"Home (HE)",from:"/canvas/catalog",to:"https://www.instructure.com/higher-education/products/canvas/canvas-catalog/"},{title:"Home (K12)",from:"/canvas/catalog/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-catalog/"},{title:"Guides",from:"/canvas/catalog/guides",to:"https://community.canvaslms.com/t5/Canvas-Catalog/ct-p/canvas_catalog"},{title:"Release Notes",from:"/canvas/catalog/releases",to:"https://community.canvaslms.com/t5/Catalog-Releases/ct-p/catalog_releases"},{title:"API",from:"/canvas/catalog/api",to:"https://api.catalog.instructure.com/api/docs"}],n7=a7.map(e=>({...e,lang:"EN"})),l7={brand:"Canvas Catalog",links:n7},i7=[{title:"Home",from:"/canvas/commons",to:"https://lor.instructure.com/"},{title:"Guides",from:"/canvas/commons/guides",to:"https://community.canvaslms.com/t5/Canvas-Commons/tkb-p/commons"},{title:"API",from:"/canvas/commons/api",to:"https://lor.instructure.com/docs/api/"}],r7=i7.map(e=>({...e,lang:"EN"})),u7={brand:"Canvas Commons",links:r7},zp="canvas-credentials",c7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,o7=`${O.raw}/${O.owner}/${O.repo}`,Kr=`${o7}/${zp}`,s7=[{title:"Compliance Package",from:"/canvas/credentials/dl",to:`${c7}/${zp}.zip`},{title:"VPAT",from:"/canvas/credentials/vpat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Architecture Paper",from:"/canvas/credentials/architecture/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/credentials/hecvat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Certification",from:"/canvas/credentials/tx-ramp/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/credentials",to:"https://www.instructure.com/higher-education/products/canvas/canvas-credentials-digital-badges/"},{title:"Home (K12)",from:"/canvas/credentials/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-credentials-digital-badges/"},{title:"Guides",from:"/canvas/credentials/guides",to:"https://community.canvaslms.com/t5/Canvas-Credentials-Badges-Badgr/ct-p/canvas-credentials-badges"},{title:"Release Notes",from:"/canvas/credentials/releases",to:"https://community.canvaslms.com/t5/Badges-Credentials-Releases/tkb-p/badges-release"},{title:"API",from:"/canvas/credentials/api",to:"https://api.badgr.io/docs/v2/"}],f7=s7.map(e=>({...e,lang:"EN"})),Np="canvas-credentials-ES_LA",d7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,h7=`${O.raw}/${O.owner}/${O.repo}`,Pr=`${h7}/${Np}`,m7=[{title:"Compliance Package",from:"/es-la/canvas/credentials/dl",to:`${d7}/${Np}.zip`},{title:"VPAT",from:"/es-la/canvas/credentials/vpat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/es-la/canvas/credentials/arquitectura/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/credentials/hecvat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/credentials/tx-ramp/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],v7=m7.map(e=>({...e,lang:"ES_LA"})),Lp="canvas-credentials-PT_BR",p7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,g7=`${O.raw}/${O.owner}/${O.repo}`,Jr=`${g7}/${Lp}`,y7=[{title:"Compliance Package",from:"/pt-br/canvas/credentials/dl",to:`${p7}/${Lp}.zip`},{title:"VPAT",from:"/pt-br/canvas/credentials/vpat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/pt-br/canvas/credentials/arquitectura/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/credentials/hecvat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 de TX-RAMP",from:"/pt-br/canvas/credentials/tx-ramp/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],b7=y7.map(e=>({...e,lang:"PT_BR"})),S7={brand:"Canvas Credentials",links:[...f7,...v7,...b7]},E7=[{title:"Guides",from:"/canvas/data/guides",to:"https://community.canvaslms.com/t5/Canvas-Data-Users/gh-p/data"},{title:"API",from:"/canvas/data/api",to:"https://portal.inshosteddata.com/docs"}],R7=E7.map(e=>({...e,lang:"EN"})),C7={brand:"Canvas Data",links:R7},A7=[{title:"Startseite",from:"/de/canvas/lms",to:"https://www.instructure.com/de/hochschule/produkt/canvas/canvas-lms/"},{title:"Handbücher",from:"/de/canvas/handbuch",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],w7=A7.map(e=>({...e,lang:"DE"})),Up="canvas-lms",T7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,_7=`${O.raw}/${O.owner}/${O.repo}`,di=`${_7}/${Up}`,O7=[{title:"Compliance Package",from:"/canvas/lms/dl",to:`${T7}/${Up}.zip`},{title:"Architecture Paper",from:"/canvas/lms/architecture/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/lms/hecvat/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/canvas/lms/k12cvat/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20K12CVAT%20Full.xlsx`},{title:"SOC 3 Report",from:"/canvas/lms/soc/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"TX-RAMP Level 2 Certificate",from:"/canvas/lms/txramp/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/lms",to:"https://www.instructure.com/higher-education/products/canvas/canvas-lms/"},{title:"Home (K12)",from:"/canvas/lms/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-lms/"},{title:"VPAT",from:"/canvas/lms/vpat",to:"https://www.instructure.com/products/canvas/accessibility/"},{title:"Guides",from:"/canvas/lms/guides",to:"https://community.canvaslms.com/t5/Canvas-Guides/ct-p/canvas_guides/"},{title:"Release Notes",from:"/canvas/lms/releases",to:"https://community.canvaslms.com/t5/Canvas-Releases/tkb-p/canvas-release"},{title:"API",from:"/canvas/lms/api",to:"https://canvas.instructure.com/doc/api/index.html"}],M7=O7.map(e=>({...e,lang:"EN"})),Hp="canvas-lms-ES_LA",x7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,D7=`${O.raw}/${O.owner}/${O.repo}`,hi=`${D7}/${Hp}`,$7=[{title:"Compliance Package",from:"/es-la/canvas/lms/dl",to:`${x7}/${Hp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/canvas/lms/arquitectura/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/lms/hecvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/es-la/canvas/lms/k12cvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Informe SOC 3",from:"/es-la/canvas/lms/soc/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/lms/txramp/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página de inicio (HE)",from:"/es-la/canvas/lms",to:"https://www.instructure.com/es/canvas/educacion-superior/"},{title:"Página de inicio (K12)",from:"/es-la/canvas/lms/basica",to:"https://www.instructure.com/es/educacion-basica/"},{title:"Guías",from:"/es-la/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de implementación",from:"/es-la/canvas/lms/publicacion",to:"https://community.canvaslms.com/t5/Espa%C3%B1ol/tkb-p/canvas-release-espanol"}],z7=$7.map(e=>({...e,lang:"ES_LA"})),Bp="canvas-lms-PT_BR",N7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,L7=`${O.raw}/${O.owner}/${O.repo}`,mi=`${L7}/${Bp}`,U7=[{title:"Compliance Package",from:"/pt-br/canvas/lms/dl",to:`${N7}/${Bp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/canvas/lms/arquitetura/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/lms/hecvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/pt-br/canvas/lms/k12cvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Relatório SOC 3",from:"/pt-br/canvas/lms/soc/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/canvas/lms/txramp/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página inicial (HE)",from:"/canvas/lms/pt",to:"https://www.instructure.com/pt-br/canvas/ensino-superior/"},{title:"Página inicial (K12)",from:"/canvas/lms/pt/basica",to:"https://www.instructure.com/pt-br/ensino-fundamental-e-medio/"},{title:"Guias",from:"/pt-br/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de lançamento (Canvas LMS)",from:"/canvas/lms/lancamentos",to:"https://community.canvaslms.com/t5/Portugues/tkb-p/canvas-release-portugues"}],H7=U7.map(e=>({...e,lang:"PT_BR"})),B7={brand:"Canvas LMS",links:[...M7,...z7,...H7,...w7]},j7=[{title:"Mobile Apps (Android)",from:"/canvas/mobile/android",to:"https://play.google.com/store/apps/developer?id=Instructure"},{title:"Mobile Apps (iOS)",from:"/canvas/mobile/ios",to:"https://apps.apple.com/us/developer/instructure-inc/id418441198"},{title:"Release Notes",from:"/canvas/mobile/releases",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Releases/tkb-p/CanvasMobileReleases"},{title:"Guides",from:"/canvas/mobile/guides",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Users/gh-p/mobile"}],V7=j7.map(e=>({...e,lang:"EN"})),k7={brand:"Canvas Mobile",links:V7},jp="canvas-studio",G7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,Y7=`${O.raw}/${O.owner}/${O.repo}`,zh=`${Y7}/${jp}`,q7=[{title:"Compliance Package",from:"/canvas/studio/dl",to:`${G7}/${jp}.zip`},{title:"Architecture Paper",from:"/canvas/studio/architecture/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/studio/hecvat/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20HECVAT%20Lite.xlsx`},{title:"Home (HE)",from:"/canvas/studio",to:"https://www.instructure.com/higher-education/products/canvas/canvas-studio/"},{title:"Home (K12)",from:"/canvas/studio/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-studio/"},{title:"VPAT",from:"/canvas/studio/vpat",to:"https://www.instructure.com/accessibility/canvas/canvas-studio-vpat/"},{title:"Guides",from:"/canvas/studio/guides",to:"https://community.canvaslms.com/t5/Canvas-Studio/ct-p/studio_guides"},{title:"Release Notes",from:"/canvas/studio/releases",to:"https://community.canvaslms.com/t5/Studio-Releases/ct-p/studio_releases"},{title:"API",from:"/canvas/studio/api",to:"https://canvas.instructuremedia.com/api/public/docs/#/"}],X7=q7.map(e=>({...e,lang:"EN"})),Z7={brand:"Canvas Studio",links:X7},Q7=[{title:"Gemeinschaft",from:"/de/canvas/gemeinschaft",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],K7=Q7.map(e=>({...e,lang:"DE"})),P7="canvas-lms",J7=`${O.raw}/${O.owner}/${O.repo}`,W7=`${J7}/${P7}`,F7=[{title:"Security Audit Report",from:"/canvas/audit/dl",to:`${W7}/Canvas%20LMS/Canvas%20Security%20Audit%20Report.pdf`},{title:"Try Canvas (FFT)",from:"/canvas/try",to:"https://www.instructure.com/try-canvas"},{title:"Community",from:"/canvas/community",to:"https://community.canvaslms.com/t5/Canvas/ct-p/canvas"},{title:"Roadmap",from:"/canvas/roadmap",to:"https://community.canvaslms.com/t5/Canvas-Product-Roadmap/ct-p/canvas-product-roadmap"},{title:"Ideas",from:"/canvas/ideas",to:"https://community.canvaslms.com/t5/Canvas-Ideas-and-Themes/ct-p/canvas-ideas-themes?tab=identified"}],I7=F7.map(e=>({...e,lang:"EN"})),e6=[{title:"Communidad",from:"/es-la/canvas/lms/communidad",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"}],t6=e6.map(e=>({...e,lang:"ES_LA"})),a6=[{title:"Comunidade",from:"/pt-br/canvas/comunidade",to:"https://community.canvaslms.com/t5/Recursos-em-Portugu%C3%AAs-Portuguese/ct-p/portuguese_resources"}],n6=a6.map(e=>({...e,lang:"PT_BR"})),l6={brand:"Canvas",links:[...I7,...t6,...n6,...K7]},i6=[{title:"Home",from:"/elevate/dataquality",to:"https://www.instructure.com/k12/products/elevate/elevate-data-quality/"},{title:"Guides",from:"/elevate/dataquality/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Quality/ct-p/certify"}],r6=i6.map(e=>({...e,lang:"EN"})),u6={brand:"Elevate Data Quality",links:r6},c6=[{title:"Guides",from:"/elevate/datasync/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Sync/ct-p/elevate_data_sync"}],o6=c6.map(e=>({...e,lang:"EN"})),s6={brand:"Elevate Data Sync",links:o6},Vp="elevate-standards-alignment",f6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,d6=`${O.raw}/${O.owner}/${O.repo}`,h6=`${d6}/${Vp}`,m6=[{title:"Compliance Package",from:"/elevate/standards-alignment/dl",to:`${f6}/${Vp}.zip`},{title:"HECVAT Lite",from:"/elevate/standards-alignment/hecvat/dl",to:`${h6}/Elevate%20Standards%20Alignment/Elevate%20Standards%20Alignment%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/elevate/standards-alignment",to:"https://www.instructure.com/corporate-education/products/elevate/elevate-standards-alignment"},{title:"Release Notes",from:"/elevate/standards-alignment/releases",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/esa_releases"},{title:"Guides",from:"/elevate/standards-alignment/guides",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/ab_basics"}],v6=m6.map(e=>({...e,lang:"EN"})),p6={brand:"Elevate Standards Alignment",links:v6},g6=[{title:"Community",from:"/elevate/community",to:"https://community.canvaslms.com/t5/Elevate/ct-p/elevate"},{title:"Roadmap",from:"/elevate/roadmap",to:"https://community.canvaslms.com/t5/Elevate-Product-Roadmap/ct-p/elevate-product-roadmap"}],y6=g6.map(e=>({...e,lang:"EN"})),b6={brand:"Elevate",links:y6},kp="impact",S6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,E6=`${O.raw}/${O.owner}/${O.repo}`,Do=`${E6}/${kp}`,R6=[{title:"Compliance Package",from:"/impact/dl",to:`${S6}/${kp}.zip`},{title:"Architecture Paper",from:"/impact/architecture/dl",to:`${Do}/Impact/Impact%20Architecture.pdf`},{title:"HECVAT",from:"/impact/hecvat/dl",to:`${Do}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Level 2 Certification",from:"/impact/tx-ramp/dl",to:`${Do}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/impact/he",to:"https://www.instructure.com/higher-education/products/impact/"},{title:"Home (K12)",from:"/impact/k12",to:"https://www.instructure.com/k12/products/impact/"},{title:"Community",from:"/impact/community",to:"https://community.canvaslms.com/t5/Impact/ct-p/impact"},{title:"Guides",from:"/impact/guides",to:"https://community.canvaslms.com/t5/Impact-Guides/tkb-p/impact_guides"},{title:"Release Notes",from:"/impact/releases",to:"https://community.canvaslms.com/t5/Impact-Releases/ct-p/impact_releases"}],C6=R6.map(e=>({...e,lang:"EN"})),Gp="impact-ES_LA",A6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,w6=`${O.raw}/${O.owner}/${O.repo}`,$o=`${w6}/${Gp}`,T6=[{title:"Compliance Package",from:"/es-la/impact/dl",to:`${A6}/${Gp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/impact/arquitectura/dl",to:`${$o}/Impact/Impact%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/impact/hecvat/dl",to:`${$o}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/impact/tx-ramp/dl",to:`${$o}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],_6=T6.map(e=>({...e,lang:"ES_LA"})),Yp="impact-PT_BR",O6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,M6=`${O.raw}/${O.owner}/${O.repo}`,zo=`${M6}/${Yp}`,x6=[{title:"Compliance Package",from:"/pt-br/impact/dl",to:`${O6}/${Yp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/impact/arquitetura/dl",to:`${zo}/Impact/Impact%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/impact/hecvat/dl",to:`${zo}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/impact/tx-ramp/dl",to:`${zo}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],D6=x6.map(e=>({...e,lang:"PT_BR"})),$6={brand:"Impact",links:[...C6,..._6,...D6]},z6=[{title:"Startseite",from:"/de/home",to:"https://www.instructure.com/de"},{title:"Kontakt",from:"/de/kontakt",to:"https://www.instructure.com/de/contact-us"}],N6=z6.map(e=>({...e,lang:"DE"})),L6=`${O.raw}/${O.owner}/${O.repo}`,Pt=`${L6}/${O.branch}`,U6=[{title:"Security White Paper",from:"/security/dl",to:`${Pt}/Instructure/Instructure%20Security%20Overview.pdf`},{title:"Business Continuity White Paper",from:"/bc/dl",to:`${Pt}/Instructure/Instructure%20Business%20Continuity%20%26%20Disaster%20Recovery.pdf`},{title:"CAIQ",from:"/caiq/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"CSA Star Certificate",from:"/csa/dl",to:`${Pt}/Instructure/Instructure%20CSA%20STAR%20Certificate.pdf`},{title:"Cyber Essentials+ Certificate",from:"/ce/dl",to:`${Pt}/Instructure/Instructure%20Cyber%20Essentials%20Plus.pdf`},{title:"Environmental, Social, and Governance Report",from:"/esg/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"Instructure, Inc. Certificate of Insurance",from:"/coi/dl",to:`${Pt}/Instructure/Instructure%20Inc%20COI.pdf`},{title:"Instructure Global Certificate of Insurance",from:"/coi-global/dl",to:`${Pt}/Instructure/Instructure%20Global%20COI.pdf`},{title:"ISO 27001 Certificate",from:"/iso/dl",to:`${Pt}/Instructure/Instructure%20ISO%2027001%20Compliance%20Certificate.pdf`},{title:"Quality Assurance Program",from:"/qa/dl",to:`${Pt}/Instructure/Instructure%20Quality%20Assurance%20Program.pdf`},{title:"Home",from:"/home",to:"https://www.instructure.com/"},{title:"Roadmap",from:"/roadmap",to:"https://community.canvaslms.com/t5/Instructure-Roadmap/ct-p/instructure-roadmap/"},{title:"Accessibility",from:"/a11y",to:"https://www.instructure.com/accessibility/"},{title:"Contact",from:"/contact",to:"https://www.instructure.com/contact-us/"},{title:"Privacy",from:"/privacy",to:"https://www.instructure.com/canvas/privacy/"},{title:"Security",from:"/security",to:"https://www.instructure.com/products/canvas/security/"},{title:"Trust Center",from:"/trust",to:"https://www.instructure.com/trust-center/"},{title:"Community",from:"/community",to:"https://community.canvaslms.com/"},{title:"Terms & Conditions",from:"/tos",to:"https://www.instructure.com/policies/master-terms-conditions/"},{title:"Global Terms & Conditions",from:"/tos/global",to:"https://www.instructure.com/policies/global/master-terms-and-conditions/"},{title:"Acceptable Use Policy",from:"/aup",to:"https://www.instructure.com/policies/acceptable-use/"},{title:"Data Privacy Addendum",from:"/dpa",to:"https://www.instructure.com/policies/data-processing/"},{title:"Investor Relations",from:"/investors",to:"https://ir.instructure.com/overview/default.aspx"},{title:"Status",from:"/status",to:"https://status.instructure.com/"},{title:"CSA Star Registration",from:"/csa",to:"https://cloudsecurityalliance.org/star/registry/instructure/"},{title:"1EdTech Registrations",from:"/1edtech",to:"https://site.imsglobal.org/certifications?query=instructure"},{title:"Our Story",from:"/story",to:"https://www.instructure.com/about/our-story"},{title:"Study Hall",from:"/resources",to:"https://www.instructure.com/resources/"},{title:"EduAppCenter",from:"/apps",to:"https://www.eduappcenter.com/"},{title:"ESG Report (online)",from:"/esg",to:"https://instructure.com/esg-report"}],H6=U6.map(e=>({...e,lang:"EN"})),B6=[{title:"Página de inicio",from:"/es-la/home",to:"https://www.instructure.com/es/"},{title:"Contáctenos",from:"/es-la/contactenos",to:"https://www.instructure.com/es/contactenos/"},{title:"Privacidad",from:"/es-la/privicidad",to:"https://www.instructure.com/es/canvas/privacidad/"},{title:"Seguridad",from:"/es-la/seguridad",to:"https://www.instructure.com/es/canvas/seguridad/"},{title:"Nuestra Historia",from:"/es-la/historia",to:"https://www.instructure.com/es/sobre/nuestra-historia"}],j6=B6.map(e=>({...e,lang:"ES_LA"})),V6=[{title:"Pagina inicial",from:"/pt-br/home",to:"https://www.instructure.com/pt-br/"},{title:"Contato",from:"/pt-br/contato",to:"https://www.instructure.com/pt-br/contato/"},{title:"Contato",from:"/pt-br/contato",to:"https://www.instructure.com/pt-br/contato/"},{title:"Privacidade",from:"/pt-br/privacidade",to:"https://www.instructure.com/pt-br/canvas/privacidade/"},{title:"Segurança",from:"/pt-br/seguranca",to:"https://www.instructure.com/pt-br/canvas/seguranca/"},{title:"Nossa História",from:"/pt-br/historia",to:"https://www.instructure.com/pt-br/sobre/nossa-historia"}],k6=V6.map(e=>({...e,lang:"PT_BR"})),G6={brand:"Instructure",links:[...H6,...j6,...k6,...N6]},qp="intelligent-insights",Y6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,q6=`${O.raw}/${O.owner}/${O.repo}`,No=`${q6}/${qp}`,X6=[{title:"Compliance Package",from:"/intelligent-insights/dl",to:`${Y6}/${qp}.zip`},{title:"Architecture Paper",from:"/intelligent-insights/architecture/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Architecture%20Overview.pdf`},{title:"HECVAT",from:"/intelligent-insights/hecvat/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20HECVAT%20Lite.xlsx`},{title:"Data Sheet",from:"/intelligent-insights/data/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Data%20Sheet.pdf`},{title:"Home",from:"/intelligent-insights/home",to:"https://www.instructure.com/products/intelligent-insights"},{title:"Community",from:"/intelligent-insights/community",to:"https://community.canvaslms.com/t5/Intelligent-Insights/ct-p/intelligent_insights"},{title:"Guides",from:"/intelligent-insights/guides",to:"https://community.canvaslms.com/t5/Intelligent-Insights-Guides/tkb-p/intelligent_insights_guides"},{title:"Release Notes",from:"/intelligent-insights/releases",to:"https://community.canvaslms.com/t5/Intelligent-Insights-Releases/ct-p/intelligent_insights_releases"}],Z6=X6.map(e=>({...e,lang:"EN"})),Q6={brand:"Intelligent Insights",links:Z6},Xp="learnplatform",K6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,P6=`${O.raw}/${O.owner}/${O.repo}`,Lo=`${P6}/${Xp}`,J6=[{title:"Compliance Package",from:"/learnplatform/dl",to:`${K6}/${Xp}.zip`},{title:"EdTech Top 40 Report",from:"/learnplatform/top40/dl",to:`${Lo}/LearnPlatform/EdTech%20Top%2040.pdf`},{title:"Architecture Paper",from:"/learnplatform/architecture/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20Architecture%20Overview.pdf`},{title:"HECVAT Lite",from:"/learnplatform/hecvat/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/learnplatform",to:"https://www.instructure.com/k12/products/learnplatform/"},{title:"Terms of Service",from:"/learnplatform/tos",to:"https://www.instructure.com/policies/learnplatform-terms-of-service/"},{title:"Privacy",from:"/learnplatform/privacy",to:"https://www.instructure.com/policies/privacy-learnplatform/"},{title:"Data Processing Agreement",from:"/learnplatform/dpa",to:"https://www.instructure.com/policies/learnplatform-data-processing-agreement/"},{title:"Statement of Neutrality",from:"/learnplatform/neutrality",to:"https://www.instructure.com/policies/learnplatform-neutrality/"}],W6=J6.map(e=>({...e,lang:"EN"})),F6={brand:"Learnplatform",links:W6},Zp="mastery-connect",I6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,e9=`${O.raw}/${O.owner}/${O.repo}`,Nh=`${e9}/${Zp}`,t9=[{title:"Compliance Package",from:"/mastery/connect/dl",to:`${I6}/${Zp}.zip`},{title:"Architecture Paper",from:"/mastery/connect/architecture/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20Architecture.pdf`},{title:"HECVAT Lite",from:"/mastery/connect/hecvat/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/mastery/connect",to:"https://www.instructure.com/k12/products/mastery/mastery-connect"},{title:"Guides",from:"/mastery/connect/guides",to:"https://community.canvaslms.com/t5/Mastery-Connect/ct-p/masteryconnect"},{title:"Release Notes",from:"/mastery/connect/releases",to:"https://community.canvaslms.com/t5/Mastery-Connect-Releases/tkb-p/masteryconnect"},{title:"API",from:"/mastery/connect/api",to:"https://docs.google.com/document/d/19TxyeRzF6nyJDY6ej2dZozbE87JdUygw"},{title:"Mobile App (Android)",from:"/mastery/connect/android",to:"https://play.google.com/store/apps/dev?id=8869528477632015729&hl=EN&gl=US"},{title:"Mobile App (iOS)",from:"/canvas/lms/ios",to:"https://apps.apple.com/us/developer/masteryconnect/id413937396"}],a9=t9.map(e=>({...e,lang:"EN"})),n9={brand:"Mastery Connect",links:a9},l9=[{title:"Home",from:"/mastery/itembank",to:"https://www.instructure.com/k12/products/mastery/mastery-item-bank/"},{title:"Guides",from:"/mastery/itembank/guides",to:"https://community.canvaslms.com/t5/Mastery-Item-Bank/ct-p/mastery-item-bank/"}],i9=l9.map(e=>({...e,lang:"EN"})),r9={brand:"Mastery Item Bank",links:i9},u9=[{title:"Formatives Home",from:"/mastery/view/formative",to:"https://www.instructure.com/k12/products/mastery/mastery-view-formative-assessments/"},{title:"Predictives Home",from:"/mastery/view/predictive",to:"https://www.instructure.com/k12/products/mastery/mastery-view-predictive-assessments/"}],c9=u9.map(e=>({...e,lang:"EN"})),o9={brand:"Mastery View Assessments",links:c9},s9=[{title:"Community",from:"/mastery/community",to:"https://community.canvaslms.com/t5/Mastery/ct-p/mastery"},{title:"Roadmap",from:"/mastery/roadmap",to:"https://community.canvaslms.com/t5/Mastery-Product-Roadmap/ct-p/mastery-product-roadmap"}],f9=s9.map(e=>({...e,lang:"EN"})),d9={brand:"Mastery",links:f9},h9=[],m9=h9.map(e=>({...e,lang:"EN"})),v9={brand:"Parchment",links:m9},p9=[IS,G6,l6,B7,k7,Z7,l7,u7,C7,S7,d9,n9,r9,o9,$6,b6,p6,u6,s6,F6,Q6,v9],Vn=[];for(const e of PS)Vn.push({path:`${e.route}`,lazy:()=>Ut(()=>import("./markdownBrand-ByXaigJ-.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName}),children:[{path:":language",lazy:()=>Ut(()=>import("./markdownBrand-ByXaigJ-.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName})}]});for(const e of p9)for(const t of e.links)Vn.push({path:t.from,lazy:()=>Ut(()=>import("./redirectTo-CxfIANF9.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to}),children:[{path:":language",lazy:()=>Ut(()=>import("./redirectTo-CxfIANF9.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to})}]});Vn.push({path:"/links",lazy:()=>Ut(()=>import("./links-BGaBKQS1.js"),__vite__mapDeps([6,1,7,3,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./links-BGaBKQS1.js"),__vite__mapDeps([6,1,7,3,8]))}]});Vn.push({path:"/mdui",lazy:()=>Ut(()=>import("./mdui-BYnqM3s9.js"),__vite__mapDeps([9,1,2,3,10,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./mdui-BYnqM3s9.js"),__vite__mapDeps([9,1,2,3,10,8]))}]});Vn.push({path:"/releases",lazy:()=>Ut(()=>import("./releases-CUBpZtK6.js"),__vite__mapDeps([11,1,2,3,12])),children:[{path:":language",lazy:()=>Ut(()=>import("./releases-CUBpZtK6.js"),__vite__mapDeps([11,1,2,3,12]))}]});Vn.push({path:"*",lazy:()=>Ut(()=>import("./error-B5hQzbeZ.js"),__vite__mapDeps([13,1,5])),children:[{path:":language",lazy:()=>Ut(()=>import("./error-B5hQzbeZ.js"),__vite__mapDeps([13,1,5]))}]});const g9=_4(Vn),Qp=document.getElementById("root");if(!Qp)throw new Error("Root element not found");Dv.createRoot(Qp).render(Ze.jsx(be.StrictMode,{children:Ze.jsx(Op,{theme:id,children:Ze.jsx(CS,{as:"div",minHeight:"100vh",position:"relative",children:Ze.jsx(U4,{router:g9})})})}));export{zs as $,Mc as A,s5 as B,d5 as C,f5 as D,ad as E,Jh as F,e5 as G,A9 as H,Op as I,t5 as J,E5 as K,p9 as L,PS as M,C9 as N,b9 as O,L as P,x5 as Q,be as R,Fe as S,Jn as T,wp as U,CS as V,ld as W,w9 as X,Qu as Y,fi as Z,Ut as _,E9 as a,Dp as a0,id as a1,Xl as a2,Zl as a3,Ql as a4,Dn as a5,Kl as a6,Ys as b,S9 as c,KS as d,_9 as e,Mn as f,O as g,xn as h,hn as i,Ze as j,y9 as k,Ll as l,Xu as m,Rp as n,Ep as o,b5 as p,m5 as q,T as r,C5 as s,Mp as t,R9 as u,u5 as v,rd as w,y4 as x,dc as y,br as z}; +`,i.styles),i.makeStyles&&Xu(!1,`Manually passing the "makeStyles" property is not allowed on the ${n} component. Styles are calculated by the @withStyle decorator.`);const c={...e.defaultProps,...i,..._o};let o=typeof a=="function"?a(u):{};const s=I5(u,n,e.componentId,c,o);o={...o,...s};const d=T.useState(t?t(o,c,{}):{}),f=u5(d,2),p=f[0],C=f[1],S=M=>{const m=t(o,c,M);e5(m,p)||C(m)};return be.createElement(e,Object.assign({ref:r},i,{makeStyles:S,styles:p,themeOverride:s}))});return If(l,e),l.originalType=e.originalType||e,l.propTypes=e.propTypes,l.defaultProps=e.defaultProps,l.allowedProps=e.allowedProps,l.generateComponentTheme=a,e.defaultProps={...e.defaultProps,makeStyles:_o.makeStyles,styles:_o.styles},l}),jn={SHADOW_TYPES:{resting:"resting",above:"above",topmost:"topmost",none:"none"},STACKING_TYPES:{deepest:"deepest",below:"below",resting:"resting",above:"above",topmost:"topmost"},BORDER_WIDTHS:{0:"0",none:"none",small:"small",medium:"medium",large:"large"},BORDER_RADII:{0:"0",none:"none",small:"small",medium:"medium",large:"large",circle:"circle",pill:"pill"},BACKGROUNDS:{default:"default",inverse:"inverse",transparent:"transparent"},SIZES:{xSmall:"x-small",small:"small",medium:"medium",large:"large",xLarge:"x-large"},SPACING:{0:"0",none:"none",auto:"auto",xxxSmall:"xxx-small",xxSmall:"xx-small",xSmall:"x-small",small:"small",mediumSmall:"mediumSmall",medium:"medium",large:"large",xLarge:"x-large",xxLarge:"xx-large"}},tS=jn.SHADOW_TYPES,aS=jn.STACKING_TYPES,nS=jn.BORDER_WIDTHS,lS=jn.BORDER_RADII,iS=jn.BACKGROUNDS,rS=jn.SIZES,uS=jn.SPACING,Jn={shadow:L.oneOf(Object.values(tS)),stacking:L.oneOf(Object.values(aS)),borderWidth:Oo(Object.values(nS)),borderRadius:Oo(Object.values(lS)),background:L.oneOf(Object.values(iS)),size:L.oneOf(Object.values(rS)),spacing:Oo(Object.values(uS))};function Oo(e){return function(t,a,n,l){const i=t[a];if(typeof i>"u")return null;if(typeof i!="string")return new Error(`Invalid ${l} \`${a}\` of type \`${typeof i}\` supplied to \`${n}\`, expected a string.`);const r=i.split(" "),u=r.length;if(u>0&&u<5){for(let c=0;c{a[bp(`${e}-${String(n)}`)]=t[n]}),a}function Qu(e,t,a,n){if(!(typeof a!="string"||pp(t)))return a.split(" ").map(l=>{if(l==="auto"||l==="0")return l;if(l==="none")return"0";if(l==="circle")return"100%";if(l==="pill")return"999em";const i=bp(`${n}-${l}`),r=t[i];return Mn(typeof r<"u",`[${e}] '${i}' is an invalid '${n}' value.`),r||"0"}).join(" ").trim()}function Ns(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===4){var a=[t[3],t[1]];t[1]=a[0],t[3]=a[1]}return t.join(" ")}function cS(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===2){var a=[t[1],t[0]];t[0]=a[0],t[1]=a[1]}if(t.length===3&&t.push(t[1]),t.length===4){var n=[t[1],t[0],t[3],t[2]];t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3]}return t.join(" ")}let Ls=!0;try{var Mo,xo;Ls=!((Mo=process)!==null&&Mo!==void 0&&(xo=Mo.env)!==null&&xo!==void 0&&xo.ALWAYS_APPEND_UI_TESTABLE_LOCATORS)}catch(e){if(e instanceof ReferenceError)Ls=!1;else throw e}const Mp=Ls?()=>e=>e:Oc(e=>{const a={attribute:"data-cid",value:e.displayName||e.name},n=`[${a.attribute}~="${a.value}"]`;class l extends e{constructor(...r){super(...r),this._testableUnmounted=void 0,this._locatorTimeout=void 0}componentDidMount(){this._testableUnmounted=!1,super.componentDidMount&&super.componentDidMount(),this.appendLocatorAttribute()}componentDidUpdate(r,u,c){super.componentDidUpdate&&super.componentDidUpdate(r,u,c),this.appendLocatorAttribute()}componentWillUnmount(){this._testableUnmounted=!0,super.componentWillUnmount&&super.componentWillUnmount(),this._locatorTimeout&&clearTimeout(this._locatorTimeout)}appendLocatorAttribute(){this._locatorTimeout=setTimeout(()=>{let r;if(!this._testableUnmounted){try{r=this.DOMNode||br(this)}catch{}if(r){const u=r.getAttribute(a.attribute),c=typeof u=="string"?u.split(/\s+/):[];c.includes(a.value)||c.push(a.value),r.setAttribute(a.attribute,c.join(" "))}}})}}return l.selector=n,l}),oS=({borderRadius:e,borderWidth:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{borderRadius:Qu("View",n,l?cS(e):e,"borderRadius"),borderWidth:Qu("View",n,l?Ns(t):t,"borderWidth")}},sS=({margin:e,padding:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{margin:Qu("View",n,l?Ns(e):e,"margin"),padding:Qu("View",n,l?Ns(t):t,"padding")}},fS=({insetBlockStart:e,insetBlockEnd:t,insetInlineStart:a,insetInlineEnd:n,dir:l})=>{const i=l===xc.rtl;return{...{top:e,insetBlockStart:e},...{bottom:t,insetBlockEnd:t},...{left:i?n:a,right:i?a:n}}},dS=({cursor:e,style:t})=>{const a=Rp(t||{},{},["top","left","position","display","transform","overflow","minWidth","minHeight","filter","flexBasis","backgroundImage","pointerEvents"]);return e&&(a.cursor=e),a},hS=(e,t)=>typeof t!="string"?!1:t.trim().split(" ").every(a=>e===a),mS=e=>{const t="focusRing--radius",a=(e||"").trim().split(" ")[0];if(hS(a,e)){const n=l=>`${l.charAt(0).toUpperCase()}${l.slice(1)}`;if(["small","medium","large"].includes(a))return`${t}${n(a)}`;if(["circle","pill"].includes(a))return`${t}Inherit`}return`${t}None`},vS=e=>{const t=e.position,a=e.display,n=e.focusPosition,l=e.withFocusOutline;return typeof l>"u"||l&&(Mn(a==="inline"||t==="relative","[View] the focus outline will only show if the `position` prop is `relative`."),Mn(a!=="inline"||n==="inset","[View] when display is set to `inline` the focus outline will only show if `focusPosition` is set to `inset`.")),l},pS=e=>{const t=e.borderWidth;return t&&t!=="0"&&t!=="none"},gS=(e,t)=>{const a=e.focusColor,n=e.focusPosition,l=e.position,i=e.shouldAnimateFocus,r=e.borderRadius,u=vS(e),c=typeof u>"u",o={offset:{top:`calc(${t.focusOutlineOffset} * -1)`,left:`calc(${t.focusOutlineOffset} * -1)`,right:`calc(${t.focusOutlineOffset} * -1)`,bottom:`calc(${t.focusOutlineOffset}* -1)`},inset:{top:`calc(${t.focusOutlineInset} * -1)`,left:`calc(${t.focusOutlineInset} * -1)`,right:`calc(${t.focusOutlineInset} * -1)`,bottom:`calc(${t.focusOutlineInset} * -1)`}},s={info:t.focusColorInfo,inverse:t.focusColorInverse,success:t.focusColorSuccess,danger:t.focusColorDanger};if(l==="relative"){const d=mS(r),f={"focusRing--radiusInherit":"inherit","focusRing--radiusNone":0},p={offset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`}},inset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`}}};return{"&::before":{pointerEvents:"none",content:'""',position:"absolute",borderStyle:t.focusOutlineStyle,borderWidth:t.focusOutlineWidth,borderColor:s[a],opacity:0,borderRadius:f[d],...p[n][d],...o[n],...i?{transition:"all 0.2s",transform:"scale(0.95)"}:{},...u?{opacity:1,transform:"scale(1)"}:{}},"&:focus":{outline:"none","&::before":{...c?{opacity:1,transform:"scale(1)"}:{}}}}}return{"&::before":{borderStyle:"none"},outlineStyle:"none",outlineColor:s[a],...u?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{},"&:focus":{...c?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{}}}},yS=(e,t)=>{const a=t.borderRadius,n=t.borderWidth,l=t.margin,i=t.padding,r=t.position,u=t.display,c=t.focusPosition,o=t.textAlign,s=t.borderColor,d=t.background,f=t.stacking,p=t.shadow,C=t.overflowY,S=t.overflowX,M=t.overscrollBehavior,m=t.insetBlockEnd,h=t.insetBlockStart,v=t.insetInlineEnd,R=t.insetInlineStart,x=t.width,y=t.height,A=t.minWidth,$=t.minHeight,U=t.maxWidth,j=t.maxHeight,q=t.withVisualDebug,Me=t.dir,Te=oS({theme:e,borderRadius:a,borderWidth:n,dir:Me}),Ee=sS({margin:l,padding:i,theme:e,dir:Me}),wt=fS({dir:Me,insetBlockEnd:m,insetBlockStart:h,insetInlineEnd:v,insetInlineStart:R}),z=r==="relative"||u==="inline"&&c==="inset",H={inline:{label:"view--inline",display:"inline"},block:{label:"view--block",display:"block"},"inline-block":{label:"view--inlineBlock",display:"inline-block",verticalAlign:"middle"},flex:{label:"view--flex",display:"flex"},"inline-flex":{label:"view--inlineFlex",display:"inline-flex",verticalAlign:"middle"},auto:{}},Y={start:{textAlign:"start"},center:{textAlign:"center"},end:{textAlign:"end"}},ie={transparent:{borderColor:e.borderColorTransparent},primary:{borderColor:e.borderColorPrimary},secondary:{borderColor:e.borderColorSecondary},brand:{borderColor:e.borderColorBrand},info:{borderColor:e.borderColorInfo},success:{borderColor:e.borderColorSuccess},warning:{borderColor:e.borderColorWarning},alert:{borderColor:e.borderColorAlert},danger:{borderColor:e.borderColorDanger}},fe={transparent:{color:e.color,background:"none"},primary:{color:e.color,background:e.backgroundPrimary},secondary:{color:e.color,background:e.backgroundSecondary},"primary-inverse":{color:e.colorPrimaryInverse,background:e.backgroundPrimaryInverse},brand:{color:e.colorPrimaryInverse,background:e.backgroundBrand},info:{color:e.colorPrimaryInverse,background:e.backgroundInfo},alert:{color:e.colorPrimaryInverse,background:e.backgroundAlert},success:{color:e.colorPrimaryInverse,background:e.backgroundSuccess},danger:{color:e.colorPrimaryInverse,background:e.backgroundDanger},warning:{color:e.colorPrimaryInverse,background:e.backgroundWarning}},Ie={topmost:{zIndex:e.stackingTopmost},above:{zIndex:e.stackingAbove},resting:{},below:{zIndex:e.stackingBelow},deepest:{zIndex:e.stackingDeepest}},pt={topmost:{boxShadow:e.shadowTopmost},resting:{boxShadow:e.shadowResting},above:{boxShadow:e.shadowAbove},none:{}},jt=gS(t,e);return{view:{label:"view",boxSizing:"border-box",fontFamily:e.fontFamily,maxWidth:"100%",overflow:"visible",...H[u],...d&&fe[d],...f&&Ie[f],...p&&pt[p],...o&&Y[o],overflowX:S&&S!=="visible"?S:"",overflowY:C&&C!=="visible"?C:"",position:r!=="static"?r:"",overscrollBehavior:M||"auto",...q?{outline:`0.0625rem dashed ${e.debugOutlineColor}`}:{},...pS(t)?{borderStyle:e.borderStyle,...ie[s]}:{},...z?jt:{}},inlineStyles:{"&&&&&&&&&&":{...Ee,...Te,...wt,width:x,height:y,minWidth:A,minHeight:$,maxWidth:U,maxHeight:j,...dS(t)}}}},bS=e=>{const t=e.colors,a=e.typography,n=e.borders,l=e.breakpoints,i=e.spacing,r=e.shadows,u=e.stacking,c=e.key,o={canvas:{color:e["ic-brand-font-color-dark"],focusColorInfo:e["ic-brand-primary"],backgroundBrand:e["ic-brand-primary"],backgroundInfo:e["ic-brand-primary"],borderColorBrand:e["ic-brand-primary"],borderColorInfo:e["ic-brand-primary"]}};return{...{fontFamily:a==null?void 0:a.fontFamily,color:t==null?void 0:t.textDarkest,colorPrimaryInverse:t==null?void 0:t.textLightest,borderColorPrimary:t==null?void 0:t.borderMedium,borderColorSecondary:t==null?void 0:t.borderDark,borderColorSuccess:t==null?void 0:t.borderSuccess,borderColorBrand:t==null?void 0:t.borderBrand,borderColorInfo:t==null?void 0:t.borderInfo,borderColorAlert:t==null?void 0:t.borderAlert,borderColorWarning:t==null?void 0:t.borderWarning,borderColorDanger:t==null?void 0:t.borderDanger,borderColorTransparent:"transparent",debugOutlineColor:t==null?void 0:t.borderDebug,backgroundPrimary:t==null?void 0:t.backgroundLightest,backgroundSecondary:t==null?void 0:t.backgroundLight,backgroundPrimaryInverse:t==null?void 0:t.backgroundDarkest,backgroundBrand:t==null?void 0:t.backgroundBrand,backgroundInfo:t==null?void 0:t.backgroundInfo,backgroundAlert:t==null?void 0:t.backgroundAlert,backgroundSuccess:t==null?void 0:t.backgroundSuccess,backgroundDanger:t==null?void 0:t.backgroundDanger,backgroundWarning:t==null?void 0:t.backgroundWarning,arrowSize:"0.5rem",focusOutlineStyle:n==null?void 0:n.style,focusOutlineWidth:n==null?void 0:n.widthMedium,focusOutlineOffset:"0.3125rem",focusOutlineInset:"0rem",focusColorInfo:t==null?void 0:t.borderInfo,focusColorDanger:t==null?void 0:t.borderDanger,focusColorSuccess:t==null?void 0:t.borderSuccess,focusColorInverse:t==null?void 0:t.borderLightest,xSmallMaxWidth:l==null?void 0:l.xSmall,smallMaxWidth:l==null?void 0:l.small,mediumMaxWidth:l==null?void 0:l.medium,largeMaxWidth:l==null?void 0:l.large,...fi("margin",i),...fi("padding",i),...fi("shadow",r),...fi("stacking",u),...fi("border",n)},...o[c]}},SS={as:L.elementType,elementRef:L.func,display:L.oneOf(["auto","inline","block","inline-block","flex","inline-flex"]),overflowX:L.oneOf(["auto","hidden","visible"]),overflowY:L.oneOf(["auto","hidden","visible"]),margin:Jn.spacing,padding:Jn.spacing,height:L.oneOfType([L.string,L.number]),width:L.oneOfType([L.string,L.number]),maxHeight:L.oneOfType([L.string,L.number]),maxWidth:L.oneOfType([L.string,L.number]),minHeight:L.oneOfType([L.string,L.number]),minWidth:L.oneOfType([L.string,L.number]),children:L.node,textAlign:L.oneOf(["start","center","end"]),borderWidth:Jn.borderWidth,borderRadius:Jn.borderRadius,borderColor:L.oneOf(["transparent","primary","secondary","brand","info","success","warning","alert","danger"]),background:L.oneOf(["transparent","primary","secondary","primary-inverse","brand","info","alert","success","danger","warning"]),shadow:Jn.shadow,stacking:Jn.stacking,cursor:O5,position:L.oneOf(["static","absolute","relative","sticky","fixed"]),insetInlineStart:L.string,insetInlineEnd:L.string,insetBlockStart:L.string,insetBlockEnd:L.string,withFocusOutline:L.bool,focusPosition:L.oneOf(["offset","inset"]),focusColor:L.oneOf(["info","inverse","success","danger"]),shouldAnimateFocus:L.bool,withVisualDebug:L.bool,dir:L.oneOf(Object.values(ad.DIRECTION)),overscrollBehavior:L.oneOf(["auto","contain","none"])},ES=["as","background","borderColor","borderRadius","borderWidth","children","cursor","dir","display","elementRef","focusColor","focusPosition","height","insetBlockEnd","insetBlockStart","insetInlineEnd","insetInlineStart","margin","maxHeight","maxWidth","minHeight","minWidth","overflowX","overflowY","overscrollBehavior","padding","position","shadow","shouldAnimateFocus","stacking","textAlign","width","withFocusOutline","withVisualDebug"],RS=["children","textAlign","background","display","withVisualDebug","width","height","minWidth","minHeight","maxWidth","maxHeight","overflowX","overflowY","stacking","shadow","position","focusPosition","focusColor","shouldAnimateFocus","borderColor","className","overscrollBehavior","styles","makeStyles"];var Eh,Rh,Zr,va;let CS=(Eh=ad(),Rh=rd(yS,bS),Eh(Zr=Rh(Zr=(va=class xp extends T.Component{get _element(){return this.ref}constructor(t){super(t),this.spanMarginVerified=void 0,this.ref=null,this.handleElementRef=a=>{typeof this.props.elementRef=="function"&&this.props.elementRef(a),this.ref=a},this.spanMarginVerified=!1}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.children;t.textAlign,t.background,t.display,t.withVisualDebug,t.width,t.height,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight,t.overflowX,t.overflowY,t.stacking,t.shadow,t.position,t.focusPosition,t.focusColor,t.shouldAnimateFocus,t.borderColor;const n=t.className;t.overscrollBehavior;const l=t.styles;t.makeStyles;const i=xn(t,RS),r=m5(xp,this.props);return hn(r,Object.assign({},b5(i),{className:n,css:[l==null?void 0:l.view,l==null?void 0:l.inlineStyles],ref:this.handleElementRef}),a)}},va.displayName="View",va.componentId="View",va.allowedProps=ES,va.propTypes=SS,va.defaultProps={display:"auto",overflowX:"visible",overflowY:"visible",withVisualDebug:!1,borderColor:"primary",position:"static",focusPosition:"offset",focusColor:"info",shouldAnimateFocus:!0,overscrollBehavior:"auto"},va.omitViewProps=(e,t)=>{const a=[...va.allowedProps,"styles","makeStyles","themeOverride"];let n=!0;try{n=!1}catch(l){if(l instanceof ReferenceError)n=!1;else throw l}return n&&Object.keys(Rp(e,a)).forEach(l=>{Mn(!1,`[${t.name}] prop '${l}' is not allowed.`)}),Ep(e,a)},va))||Zr)||Zr);const AS=(e,t)=>{const a=t.inline,n=t.color,l={inherit:{color:"inherit"},primary:{color:e.primaryColor},secondary:{color:e.secondaryColor},"primary-inverse":{color:e.primaryInverseColor},"secondary-inverse":{color:e.secondaryInverseColor},success:{color:e.successColor},brand:{color:e.brandColor},warning:{color:e.warningColor},error:{color:e.errorColor},alert:{color:e.alertColor},auto:{}};return{inlineSVG:{label:"inlineSVG",fill:"currentColor",display:a?"inline-block":"block",overflow:"visible",...l[n]}}},wS=e=>{const t=e.colors,a=e.key,n={canvas:{primaryColor:e["ic-brand-font-color-dark"],brandColor:e["ic-brand-primary"]}};return{...{primaryInverseColor:t==null?void 0:t.textLightest,primaryColor:t==null?void 0:t.textDarkest,secondaryColor:t==null?void 0:t.textDark,secondaryInverseColor:t==null?void 0:t.textLight,warningColor:t==null?void 0:t.textWarning,brandColor:t==null?void 0:t.textBrand,errorColor:t==null?void 0:t.textDanger,alertColor:t==null?void 0:t.textAlert,successColor:t==null?void 0:t.textSuccess},...n[a]}},TS={children:L.node,src:L.string,title:L.string,description:L.string,focusable:L.bool,width:L.oneOfType([L.string,L.number]),height:L.oneOfType([L.string,L.number]),inline:L.bool,color:L.oneOf(["inherit","primary","secondary","primary-inverse","secondary-inverse","success","error","alert","warning","brand","auto"]),elementRef:L.func},_S=["children","src","title","description","focusable","width","height","inline","color","elementRef"],OS=["style","title","description","focusable","children","src","styles"];var Ch,Ah,wh,Wn,Na;let Dp=(Ch=C5(),Ah=rd(AS,wS),wh=Mp(),Ch(Wn=Ah(Wn=wh(Wn=(Na=class Us extends T.Component{constructor(t){super(t),this.titleId=void 0,this.descId=void 0,this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)},this.titleId=t.deterministicId("InlineSVG-title"),this.descId=t.deterministicId("InlineSVG-desc")}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}get role(){return this.props.title?"img":"presentation"}renderTitle(){const t=this.props.title;return t?hn("title",{id:this.titleId},t):null}renderDesc(t){return t?hn("desc",{id:this.descId},t):null}get labelledBy(){const t=[];return this.props.title&&t.push(this.titleId),this.props.description&&t.push(this.descId),t.length>0?t.join(" "):void 0}renderContent(){if(this.props.src){const t=Us.prepareSrc(this.props.src);return hn("g",{role:"presentation",dangerouslySetInnerHTML:{__html:t}})}else return hn("g",{role:"presentation"},this.props.children)}render(){const t=this.props,a=t.style,n=t.title,l=t.description,i=t.focusable;t.children;const r=t.src,u=t.styles,c=xn(t,OS),o=this.props.width==="auto"?void 0:this.props.width,s=this.props.height==="auto"?void 0:this.props.height;return hn("svg",Object.assign({},MS(r),Ep(this.props,Us.allowedProps,["inline"]),{style:{...a,width:o,height:s},width:o,height:s,"aria-hidden":n?void 0:"true","aria-labelledby":this.labelledBy,role:this.role,focusable:i?"true":"false",css:u==null?void 0:u.inlineSVG,className:c.className,ref:this.handleRef}),this.renderTitle(),this.renderDesc(l),this.renderContent())}},Na.displayName="InlineSVG",Na.componentId="InlineSVG",Na.allowedProps=_S,Na.propTypes=TS,Na.defaultProps={focusable:!1,src:"",title:"",description:"",inline:!0,width:"1em",height:"1em",color:"inherit"},Na.prepareSrc=e=>{const a=/]*>((.|[\n\r])*)<\/svg>/.exec(e);return a?a[1]:e},Na))||Wn)||Wn)||Wn);function MS(e){const t={},a=/]*)\s*>/,n=/(\S+)=["']?((?:.(?!["']?\s+(?:\S+)=|[>"']))+.)["']?/g;if(typeof e=="string"){const l=a.exec(e),i=l?l[1]:"",r=["xmlns","xmlns:xlink","version"];let u=n.exec(i);for(;u!=null;)r.indexOf(u[1])===-1&&(t[u[1]]=u[2]||(u[3]?u[3]:u[4]?u[4]:u[5])||u[1]),u=n.exec(i)}return t}const xS=(e,t)=>{const a=t.rotate,n=t.size,l=t.bidirectional,i={0:{},90:{transform:"rotate(90deg)"},180:{transform:"rotate(180deg)"},270:{transform:"rotate(270deg)"}},r={0:{transform:"scale3d(-1, 1, 1)"},90:{transform:"scale3d(-1, 1, 1) rotate(90deg)"},180:{transform:"scale3d(-1, 1, 1) rotate(180deg)"},270:{transform:"scale3d(-1, 1, 1) rotate(270deg)"}},u={"x-small":{fontSize:e.sizeXSmall},small:{fontSize:e.sizeSmall},medium:{fontSize:e.sizeMedium},large:{fontSize:e.sizeLarge},"x-large":{fontSize:e.sizeXLarge}};return{svgIcon:{label:"svgIcon",verticalAlign:"middle",lineHeight:1,width:"1em",height:"1em",...i[a],...n&&u[n],...l&&{'[dir="rtl"] &':r[a]}}}},DS=()=>({...{sizeXSmall:"1.125rem",sizeSmall:"2rem",sizeMedium:"3rem",sizeLarge:"5rem",sizeXLarge:"10rem"}}),$S={...Dp.propTypes,rotate:L.oneOf(["0","90","180","270"]),size:L.oneOf(["x-small","small","medium","large","x-large"]),bidirectional:L.bool},zS=["children","src","title","description","focusable","width","height","inline","color","elementRef","rotate","size","bidirectional"],NS=["rotate","className","themeOverride","size","bidirectional","makeStyles","styles"],LS=["sizeXSmall","sizeSmall","sizeMedium","sizeLarge","sizeXLarge"];var Th,_h,Qr,cn;let Fe=(Th=rd(xS,DS),_h=Mp(),Th(Qr=_h(Qr=(cn=class extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.rotate,n=t.className,l=t.themeOverride;t.size,t.bidirectional,t.makeStyles;const i=t.styles,r=xn(t,NS),u=l;u.sizeXSmall,u.sizeSmall,u.sizeMedium,u.sizeLarge,u.sizeXLarge;const c=xn(u,LS);return hn(Dp,Object.assign({},r,{themeOverride:c,rotate:a,css:i==null?void 0:i.svgIcon,className:n,elementRef:this.handleRef}))}},cn.displayName="SVGIcon",cn.componentId="SVGIcon",cn.allowedProps=zS,cn.propTypes=$S,cn.defaultProps={rotate:"0",bidirectional:!1},cn))||Qr)||Qr);var Oh;class Xl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconCanvasLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Oh||(Oh=be.createElement("path",{d:"M958.568 277.97C1100.42 277.97 1216.48 171.94 1233.67 34.3881 1146.27 12.8955 1054.57 0 958.568 0 864.001 0 770.867 12.8955 683.464 34.3881 700.658 171.94 816.718 277.97 958.568 277.97ZM35.8207 682.031C173.373 699.225 279.403 815.285 279.403 957.136 279.403 1098.99 173.373 1215.05 35.8207 1232.24 12.8953 1144.84 1.43262 1051.7 1.43262 957.136 1.43262 862.569 12.8953 769.434 35.8207 682.031ZM528.713 957.142C528.713 1005.41 489.581 1044.55 441.31 1044.55 393.038 1044.55 353.907 1005.41 353.907 957.142 353.907 908.871 393.038 869.74 441.31 869.74 489.581 869.74 528.713 908.871 528.713 957.142ZM1642.03 957.136C1642.03 1098.99 1748.06 1215.05 1885.61 1232.24 1908.54 1144.84 1920 1051.7 1920 957.136 1920 862.569 1908.54 769.434 1885.61 682.031 1748.06 699.225 1642.03 815.285 1642.03 957.136ZM1567.51 957.142C1567.51 1005.41 1528.38 1044.55 1480.11 1044.55 1431.84 1044.55 1392.71 1005.41 1392.71 957.142 1392.71 908.871 1431.84 869.74 1480.11 869.74 1528.38 869.74 1567.51 908.871 1567.51 957.142ZM958.568 1640.6C816.718 1640.6 700.658 1746.63 683.464 1884.18 770.867 1907.11 864.001 1918.57 958.568 1918.57 1053.14 1918.57 1146.27 1907.11 1233.67 1884.18 1216.48 1746.63 1100.42 1640.6 958.568 1640.6ZM1045.98 1480.11C1045.98 1528.38 1006.85 1567.51 958.575 1567.51 910.304 1567.51 871.172 1528.38 871.172 1480.11 871.172 1431.84 910.304 1392.71 958.575 1392.71 1006.85 1392.71 1045.98 1431.84 1045.98 1480.11ZM1045.98 439.877C1045.98 488.148 1006.85 527.28 958.575 527.28 910.304 527.28 871.172 488.148 871.172 439.877 871.172 391.606 910.304 352.474 958.575 352.474 1006.85 352.474 1045.98 391.606 1045.98 439.877ZM1441.44 1439.99C1341.15 1540.29 1333.98 1697.91 1418.52 1806.8 1579 1712.23 1713.68 1577.55 1806.82 1418.5 1699.35 1332.53 1541.74 1339.7 1441.44 1439.99ZM1414.21 1325.37C1414.21 1373.64 1375.08 1412.77 1326.8 1412.77 1278.53 1412.77 1239.4 1373.64 1239.4 1325.37 1239.4 1277.1 1278.53 1237.97 1326.8 1237.97 1375.08 1237.97 1414.21 1277.1 1414.21 1325.37ZM478.577 477.145C578.875 376.846 586.039 219.234 501.502 110.339 341.024 204.906 206.338 339.592 113.203 498.637 220.666 584.607 378.278 576.01 478.577 477.145ZM679.155 590.32C679.155 638.591 640.024 677.723 591.752 677.723 543.481 677.723 504.349 638.591 504.349 590.32 504.349 542.048 543.481 502.917 591.752 502.917 640.024 502.917 679.155 542.048 679.155 590.32ZM1440 475.712C1540.3 576.01 1697.91 583.174 1806.8 498.637 1712.24 338.159 1577.55 203.473 1418.51 110.339 1332.54 217.801 1341.13 375.413 1440 475.712ZM1414.21 590.32C1414.21 638.591 1375.08 677.723 1326.8 677.723 1278.53 677.723 1239.4 638.591 1239.4 590.32 1239.4 542.048 1278.53 502.917 1326.8 502.917 1375.08 502.917 1414.21 542.048 1414.21 590.32ZM477.145 1438.58C376.846 1338.28 219.234 1331.12 110.339 1415.65 204.906 1576.13 339.593 1710.82 498.637 1805.39 584.607 1696.49 577.443 1538.88 477.145 1438.58ZM679.155 1325.37C679.155 1373.64 640.024 1412.77 591.752 1412.77 543.481 1412.77 504.349 1373.64 504.349 1325.37 504.349 1277.1 543.481 1237.97 591.752 1237.97 640.024 1237.97 679.155 1277.1 679.155 1325.37Z"})))}}Xl.glyphName="canvas-logo";Xl.variant="Line";Xl.displayName="IconCanvasLogoLine";Xl.propTypes={...Fe.propTypes};Xl.allowedProps=[...Fe.allowedProps];var Mh;class Zl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconElevateLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Mh||(Mh=be.createElement("path",{d:"M1070.45 53.9152C1104.97 88.4365 1124.36 135.258 1124.36 184.078L1123.51 1188.09C1123.74 1229.1 1110.25 1269.01 1085.18 1301.47 1060.11 1333.93 1024.9 1357.08 985.16 1367.22 945.419 1377.35 903.428 1373.91 865.87 1357.43 828.312 1340.95 797.346 1312.38 777.899 1276.28 763.314 1249.19 755.85 1218.85 756.21 1188.09V184.078C756.21 135.258 775.603 88.4365 810.124 53.9152 844.646 19.3939 891.467 0 940.288 0 989.108 0 1035.93 19.3939 1070.45 53.9152ZM161.091 1320.33C194.624 1353.7 240.009 1372.44 287.319 1372.44 310.767 1372.44 333.985 1367.81 355.644 1358.83 377.304 1349.85 396.98 1336.69 413.547 1320.1 430.113 1303.5 443.246 1283.8 452.193 1262.13 461.141 1240.45 465.726 1217.23 465.689 1193.78L463.406 359.01 106.666 741.15 108.378 1194.35C108.605 1241.67 127.558 1286.96 161.091 1320.33ZM1592.41 1372.44C1639.74 1372.51 1685.17 1353.81 1718.72 1320.42 1752.27 1287.02 1771.2 1241.69 1771.35 1194.35L1773.06 741.15 1416.33 359.01 1414.32 1193.78C1414.29 1217.21 1418.87 1240.41 1427.79 1262.06 1436.72 1283.71 1449.83 1303.41 1466.37 1319.99 1482.9 1336.58 1502.55 1349.75 1524.17 1358.75 1545.8 1367.75 1568.99 1372.4 1592.41 1372.44ZM1123.46 1752.39C1126.77 1716.09 1119.25 1679.61 1101.83 1647.56 1090.29 1626.27 1074.66 1607.47 1055.85 1592.22 1037.03 1576.97 1015.39 1565.59 992.163 1558.73 968.939 1551.86 944.588 1549.64 920.506 1552.2 896.423 1554.76 873.083 1562.05 851.822 1573.65 819.782 1591.06 793.627 1617.59 776.661 1649.87 759.697 1682.14 752.685 1718.73 756.513 1754.99 760.341 1791.25 774.837 1825.57 798.168 1853.59 821.499 1881.62 852.616 1902.09 887.585 1912.44 922.554 1922.77 959.804 1922.51 994.623 1911.68 1029.44 1900.84 1060.27 1879.94 1083.2 1851.58 1106.13 1823.23 1120.14 1788.71 1123.46 1752.39Z"})))}}Zl.glyphName="elevate-logo";Zl.variant="Line";Zl.displayName="IconElevateLogoLine";Zl.propTypes={...Fe.propTypes};Zl.allowedProps=[...Fe.allowedProps];var xh;class Ql extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconImpactLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),xh||(xh=be.createElement("path",{d:"M910.001 203.918C910.001 163.587 921.96 124.161 944.366 90.6273 966.773 57.0931 998.621 30.9565 1035.88 15.5225 1073.14.0883516 1114.15-3.9499 1153.7 3.91831 1193.26 11.7866 1229.59 31.2078 1258.11 59.7263 1286.63 88.2447 1306.05 124.579 1313.92 164.135 1321.78 203.692 1317.75 244.693 1302.32 281.954 1286.88 319.215 1260.74 351.062 1227.21 373.47 1193.68 395.876 1154.25 407.836 1113.92 407.836 1087.13 407.869 1060.6 402.617 1035.84 392.38 1011.09 382.144 988.596 367.124 969.654 348.182 950.712 329.241 935.692 306.748 925.457 281.993 915.22 257.237 909.967 230.706 910.001 203.918ZM167.424 913.308 458.311 622.422H1045.04L460.789 1206.68C421.886 1245.58 369.124 1267.44 314.107 1267.44 259.09 1267.44 206.327 1245.58 167.424 1206.68 128.522 1167.77 106.667 1115.01 106.667 1059.99 106.667 1004.97 128.522 952.211 167.424 913.308ZM1738.81 1027.77 1454.11 1313.21H867.136L1444.7 734.406C1483.6 695.405 1536.4 673.455 1591.49 673.386 1646.57 673.316 1699.43 695.132 1738.43 734.034 1777.43 772.936 1799.38 825.739 1799.45 880.826 1799.52 935.911 1777.71 988.769 1738.81 1027.77ZM587.075 1602.79C564.668 1636.33 552.709 1675.75 552.709 1716.08 552.709 1770.16 574.192 1822.02 612.435 1860.27 650.677 1898.51 702.543 1920 756.627 1920 796.957 1920 836.382 1908.04 869.917 1885.63 903.451 1863.23 929.588 1831.38 945.021 1794.12 960.456 1756.85 964.494 1715.85 956.625 1676.29 948.758 1636.74 929.336 1600.4 900.817 1571.89 872.299 1543.37 835.965 1523.94 796.409 1516.08 756.853 1508.21 715.851 1512.25 678.59 1527.69 641.329 1543.12 609.481 1569.25 587.075 1602.79Z"})))}}Ql.glyphName="impact-logo";Ql.variant="Line";Ql.displayName="IconImpactLogoLine";Ql.propTypes={...Fe.propTypes};Ql.allowedProps=[...Fe.allowedProps];var Dh;class Dn extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconInstructureLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Dh||(Dh=be.createElement("path",{d:"M1448.57 288.052 1084.46 502.746 1448.55 718.026 1813.23 502.732 1448.57 288.052ZM959.965 429.191 1323.92 214.589 959.988 0 596.032 214.602 959.965 429.191ZM835.499 502.732 471.388 288.038 106.704 502.732 471.388 718.026 835.499 502.732ZM106.667 1416.54 960 1920 1813.33 1416.54 960 913.07 106.667 1416.54Z"})))}}Dn.glyphName="instructure-logo";Dn.variant="Line";Dn.displayName="IconInstructureLogoLine";Dn.propTypes={...Fe.propTypes};Dn.allowedProps=[...Fe.allowedProps];var $h;class Kl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconMasteryLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),$h||($h=be.createElement("path",{d:"M672.274 547.699V889.681L371.706 760.866C332.318 747.272 297.441 723.083 270.907 690.958 244.373 658.833 227.209 620.015 221.301 578.769 215.392 537.524 220.969 495.447 237.417 457.164 253.866 418.883 280.55 385.876 314.537 361.771 348.524 337.668 388.498 323.399 430.066 320.536 471.634 317.672 513.187 326.323 550.158 345.538 587.13 364.753 618.089 393.788 639.632 429.453 661.176 465.119 672.47 506.033 672.274 547.699ZM959.895 1550.52C1013.45 1550.76 1065.35 1531.95 1106.32 1497.47 1147.3 1462.98 1174.68 1415.06 1183.6 1362.25 1192.51 1309.44 1182.37 1255.17 1154.98 1209.16 1127.6 1163.13 1084.75 1128.34 1034.08 1110.97L733.516 982.161V1324.15C733.584 1384.17 757.456 1441.7 799.895 1484.15 842.335 1526.59 899.876 1550.46 959.895 1550.52ZM226.887 1097.53C182.052 1097.47 138.21 1110.72 100.908 1135.6 63.6045 1160.47 34.5168 1195.85 17.3245 1237.26.13224 1278.67-4.39211 1324.24 4.32386 1368.21 13.0399 1412.19 34.6045 1452.61 66.2896 1484.32 97.9747 1516.04 138.356 1537.65 182.325 1546.42 226.295 1555.19 271.876 1550.71 313.303 1533.57 354.73 1516.42 390.14 1487.37 415.054 1450.1 439.968 1412.82 453.266 1368.99 453.266 1324.16 453.199 1264.12 429.335 1206.55 386.902 1164.08 344.47 1121.59 286.929 1097.66 226.887 1097.53ZM1693.14 1550.52C1746.69 1550.76 1798.6 1531.95 1839.57 1497.47 1880.54 1462.98 1907.93 1415.06 1916.85 1362.25 1925.75 1309.44 1915.62 1255.17 1888.23 1209.16 1860.85 1163.13 1818 1128.34 1767.33 1110.97L1466.51 982.161V1324.15C1466.64 1384.19 1490.57 1441.72 1533.05 1484.16 1575.53 1526.59 1633.1 1550.46 1693.14 1550.52ZM1405.53 547.689V889.671L1104.7 760.856C1065.35 747.221 1030.51 723.005 1004.02 690.865 977.527 658.724 960.404 619.905 954.531 578.67 948.656 537.434 954.261 495.378 970.726 457.12 987.192 418.861 1013.88 385.879 1047.87 361.798 1081.85 337.716 1121.81 323.465 1163.37 320.611 1204.92 317.757 1246.46 326.408 1283.41 345.617 1320.37 364.825 1351.33 393.847 1372.86 429.495 1394.41 465.143 1405.71 506.038 1405.53 547.689Z"})))}}Kl.glyphName="mastery-logo";Kl.variant="Line";Kl.displayName="IconMasteryLogoLine";Kl.propTypes={...Fe.propTypes};Kl.allowedProps=[...Fe.allowedProps];const US="isp-site",HS="4.4.0+1720642421",BS="https://inst.bid/#/",jS="module",VS={dev:"vite","biome:check":"pnpm lint && pnpm check && pnpm format","biome:apply":"pnpm lint:apply && pnpm check:apply && pnpm format:apply",build:"pnpm build:preview && pnpm build:git","build:git":'git add . && git commit -m "Build v$npm_package_version" && git push',"build:js":"vite build","build:preview":"pnpm biome:apply && pnpm sec && pnpm build:version && pnpm build:ts && pnpm build:js","build:ts":"tsc","build:version":`node-jq -r '.version=$ARGS.positional[0]+"+"+$ARGS.positional[1]' package.json --args "$(pnpm -s env:semver)" "$(date +%s)" | sponge package.json`,check:"biome check","check:apply":"biome check --write","env:package":"node-jq '.' package.json","env:biome":"biome rage","env:buildtime":`date -r $(node-jq -r '(.version | split("+"))[1]' package.json)`,"env:semver":`node-jq -r '(.version | split("+"))[0]' package.json`,"env:version":'echo "$npm_package_version"',format:"biome format","format:apply":"biome format --write",lint:"biome lint","lint:apply":"biome lint --write",preview:"pnpm build:preview && vite preview",push:`pnpm build && {pnpm tag || printf "git tag already exists.\r +";} && gh-pages -t -m "Deploy v$(pnpm -s env:version)" -d dist`,sec:"pnpm sec:audit && pnpm sec:scan","sec:audit":"snyk test && pnpm audit","sec:scan":"snyk code test",tag:"git tag isp-site-v$(pnpm -s env:semver) && git push origin isp-site-v$(pnpm -s env:semver)"},kS={"@instructure/browserslist-config-canvas-lms":"^2.0.0","@instructure/ui":"^9.2.0","gh-pages":"^6.1.1",react:"19.0.0-rc-fb9a90fa48-20240614","react-dom":"19.0.0-rc-fb9a90fa48-20240614","react-markdown":"^9.0.1","react-router-dom":"^6.24.1","rehype-raw":"^7.0.0","remark-gemoji":"^8.0.0","remark-gfm":"^4.0.0"},GS={"@babel/plugin-syntax-import-attributes":"^7.24.7","@biomejs/biome":"1.8.2","@instructure/shared-types":"^9.2.0","@octokit/types":"^13.5.0","@types/react":"npm:types-react@19.0.0-rc.0","@types/react-dom":"npm:types-react-dom@19.0.0-rc.0","@vitejs/plugin-react":"^4.3.1","babel-plugin-react-compiler":"0.0.0-experimental-938cd9a-20240601","node-jq":"^4.4.0",snyk:"^1.1292.1","snyk-policy":"^3.0.0",typescript:"^5.5.3",vite:"^5.3.3"},YS={node:">=22.4.1",pnpm:">=9.5.0"},qS="pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",XS={overrides:{react:"^19.0.0-rc-f994737d14-20240522","react-dom":"^19.0.0-rc-f994737d14-20240522","@instructure/ui-test-sandbox>sinon":"^17.0.1","gh-pages>globby":"11.1.0","node-jq>tempfile":"^5.0.0","bin-build>tempfile":"^5.0.0","bin-build>download":"^8.0.0","download>got":"^14.4.1"}},ZS=["extends @instructure/browserslist-config-canvas-lms"],QS={name:US,version:HS,homepage:BS,private:!0,type:jS,scripts:VS,dependencies:kS,devDependencies:GS,engines:YS,packageManager:qS,pnpm:XS,browserslist:ZS},O={owner:"thedannywahl",repo:"instructure-security-package",branch:"main",url:QS.homepage.replace("/#/",""),gh:"https://github.com",api:"https://api.github.com",raw:"https://raw.githubusercontent.com"},La=`${O.raw}/${O.owner}/${O.repo}/${O.branch}/README`,KS=["Instructure","Canvas","Mastery","Elevate","Impact","LearnPlatform","Intelligent Insights","Parchment"],_9=[...KS,"Canvas LMS","Canvas Mobile","Canvas Studio","Canvas Credentials","Canvas Catalog","Canvas Commons","Canvas Data","Mastery Connect","Mastery Item Bank","Mastery View Assessments","Elevate Data Quality","Elevate Data Sync","Learn Platform"],PS=[{brandName:"Instructure",get title(){return this.brandName.toLowerCase()},route:"/",readme:`${La}.md`,color:"#287A9F",Icon:Dn},{brandName:"Canvas",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#E72429",Icon:Xl},{brandName:"Mastery",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#24A159",Icon:Kl},{brandName:"Elevate",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0097D3",Icon:Zl},{brandName:"Impact",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#F76400",Icon:Ql},{brandName:"LearnPlatform",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0077CC",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 0 300 300",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("path",{d:"M191.431 212.736H205.086C204.961 212.34 204.846 211.974 204.738 211.63C204.404 210.567 204.135 209.713 203.834 208.81C199.852 198.417 195.964 187.986 192.171 177.517C181.493 149.012 170.872 120.497 160.309 91.9733C159.911 90.214 158.223 89.0597 156.44 89.3276C151.091 89.4698 145.743 89.5267 140.423 89.3276C138.432 89 136.546 90.3293 136.184 92.3147C121.657 131.422 107.129 170.519 92.6017 209.607C92.414 210.136 92.2467 210.686 92.0507 211.329C91.9201 211.759 91.7767 212.23 91.606 212.765C93.7973 212.765 95.9464 212.748 98.0664 212.732C102.222 212.701 106.265 212.67 110.297 212.765C112.402 212.935 113.17 211.94 113.824 210.091C115.474 205.226 117.167 200.375 118.859 195.525C120.552 190.675 122.245 185.824 123.895 180.959C124.199 179.276 125.788 178.141 127.479 178.399H168.729C170.418 178.138 172.011 179.255 172.342 180.931C173.799 185.14 175.307 189.334 176.814 193.524C178.251 197.519 179.687 201.511 181.076 205.51C182.365 209.107 183.012 210.914 184.295 211.821C185.589 212.736 187.531 212.736 191.431 212.736ZM148.417 109.213C154.145 126.092 159.977 143.351 165.913 160.989H131.121L148.417 109.213Z"}),Ze.jsx("path",{d:"M225 110.209V114.191H207.931V133.707H203.522V114.191H186.453V110.209H203.522V90.8069H207.732V110.209H225Z"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"})]})},{brandName:"Intelligent Insights",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title.replace(/ /g,"-")}`},get readme(){return`${La}-${this.brandName.replace(/ /g,"-")}.md`},color:"#287A9F",Icon:Dn},{brandName:"Parchment",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0093b2",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 -3 29 31.68",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("polygon",{points:"26.87 21.98 2.44 21.98 2.44 2.44 19.54 2.44 19.54 0 0 0 0 24.43 29.31 24.43 29.31 9.77 26.87 9.77"}),Ze.jsx("rect",{x:"26.87",y:"4.89",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"21.98",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"26.87",width:"2.44",height:"2.44"}),Ze.jsxs("g",{children:[Ze.jsx("path",{d:"M9.38,13.2c-.5,0-.62.37-.62.71v1.53c0,.4.23.69.66.69.36,0,.55-.21.55-.69v-1.53c0-.42-.13-.71-.58-.71Z"}),Ze.jsx("path",{d:"M9.15,11.01c-2.36,0-4.27,1.91-4.27,4.27s1.91,4.27,4.27,4.27,4.27-1.91,4.27-4.27-1.91-4.27-4.27-4.27ZM10.86,15.4c0,.81-.54,1.44-1.27,1.44-.31,0-.84-.14-.84-.38v1.87c0,.14-.18.23-.3.23h-.3c-.13,0-.31-.08-.31-.23v-5.53c0-.14.18-.28.31-.28h.31c.13,0,.29.13.29.28v.05c0-.18.44-.36.8-.36.8,0,1.31.5,1.31,1.48v1.43Z"})]})]})}],JS=`${O.raw}/${O.owner}/${O.repo}`,Fn=`${JS}/${O.branch}`,WS=[{title:"CAIQ",from:"/aws/caiq/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CAIQ.pdf`},{title:"Cyber Essentials+ Certificate",from:"/aws/ce/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20Cyber%20Essentials%20Plus%20Certificate.pdf`},{title:"CSA Star Level 2 Certificate",from:"/aws/csa/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CSA%20Star%20Certification.pdf`},{title:"ISO 27001 Certificate",from:"/aws/iso/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%2027001%20Certificate.pdf`},{title:"ISO 9001 Certificate",from:"/aws/iso9001/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%209001%20Certificate.pdf`},{title:"SOC 3 Report",from:"/aws/soc/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20SOC%203.pdf`}],FS=WS.map(e=>({...e,lang:"EN"})),IS={brand:"AWS",links:FS},$p="canvas-catalog",e7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,t7=`${O.raw}/${O.owner}/${O.repo}`,In=`${t7}/${$p}`,a7=[{title:"Compliance Package",from:"/canvas/catalog/dl",to:`${e7}/${$p}.zip`},{title:"PCI AOC SAQ",from:"/canvas/catalog/aoc/dl",to:`${In}/Canvas%20Catalog/2024_Instructure_PCI_DSS_Summary.pdf`},{title:"Architecture Paper",from:"/canvas/catalog/architecture/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20Architecture.pdf`},{title:"HECVAT Lite",from:"/canvas/catalog/hecvat/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20HECVAT%20Lite.xlsx`},{title:"PCI Shared Responsibility Matrix",from:"/canvas/catalog/pci/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20PCI%20Responsibility%20Matrix.pdf`},{title:"TX-RAMP Certification",from:"/canvas/catalog/tx-ramp/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20TX-RAMP%20Provisional%20Certificate.pdf`},{title:"Payment Redirector",from:"/canvas/catalog/payments/dl",to:`${In}/Canvas%20Catalog/Catalog%20Payment%20Redirector.png`},{title:"Home (HE)",from:"/canvas/catalog",to:"https://www.instructure.com/higher-education/products/canvas/canvas-catalog/"},{title:"Home (K12)",from:"/canvas/catalog/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-catalog/"},{title:"Guides",from:"/canvas/catalog/guides",to:"https://community.canvaslms.com/t5/Canvas-Catalog/ct-p/canvas_catalog"},{title:"Release Notes",from:"/canvas/catalog/releases",to:"https://community.canvaslms.com/t5/Catalog-Releases/ct-p/catalog_releases"},{title:"API",from:"/canvas/catalog/api",to:"https://api.catalog.instructure.com/api/docs"}],n7=a7.map(e=>({...e,lang:"EN"})),l7={brand:"Canvas Catalog",links:n7},i7=[{title:"Home",from:"/canvas/commons",to:"https://lor.instructure.com/"},{title:"Guides",from:"/canvas/commons/guides",to:"https://community.canvaslms.com/t5/Canvas-Commons/tkb-p/commons"},{title:"API",from:"/canvas/commons/api",to:"https://lor.instructure.com/docs/api/"}],r7=i7.map(e=>({...e,lang:"EN"})),u7={brand:"Canvas Commons",links:r7},zp="canvas-credentials",c7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,o7=`${O.raw}/${O.owner}/${O.repo}`,Kr=`${o7}/${zp}`,s7=[{title:"Compliance Package",from:"/canvas/credentials/dl",to:`${c7}/${zp}.zip`},{title:"VPAT",from:"/canvas/credentials/vpat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Architecture Paper",from:"/canvas/credentials/architecture/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/credentials/hecvat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Certification",from:"/canvas/credentials/tx-ramp/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/credentials",to:"https://www.instructure.com/higher-education/products/canvas/canvas-credentials-digital-badges/"},{title:"Home (K12)",from:"/canvas/credentials/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-credentials-digital-badges/"},{title:"Guides",from:"/canvas/credentials/guides",to:"https://community.canvaslms.com/t5/Canvas-Credentials-Badges-Badgr/ct-p/canvas-credentials-badges"},{title:"Release Notes",from:"/canvas/credentials/releases",to:"https://community.canvaslms.com/t5/Badges-Credentials-Releases/tkb-p/badges-release"},{title:"API",from:"/canvas/credentials/api",to:"https://api.badgr.io/docs/v2/"}],f7=s7.map(e=>({...e,lang:"EN"})),Np="canvas-credentials-ES_LA",d7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,h7=`${O.raw}/${O.owner}/${O.repo}`,Pr=`${h7}/${Np}`,m7=[{title:"Compliance Package",from:"/es-la/canvas/credentials/dl",to:`${d7}/${Np}.zip`},{title:"VPAT",from:"/es-la/canvas/credentials/vpat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/es-la/canvas/credentials/arquitectura/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/credentials/hecvat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/credentials/tx-ramp/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],v7=m7.map(e=>({...e,lang:"ES_LA"})),Lp="canvas-credentials-PT_BR",p7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,g7=`${O.raw}/${O.owner}/${O.repo}`,Jr=`${g7}/${Lp}`,y7=[{title:"Compliance Package",from:"/pt-br/canvas/credentials/dl",to:`${p7}/${Lp}.zip`},{title:"VPAT",from:"/pt-br/canvas/credentials/vpat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/pt-br/canvas/credentials/arquitectura/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/credentials/hecvat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 de TX-RAMP",from:"/pt-br/canvas/credentials/tx-ramp/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],b7=y7.map(e=>({...e,lang:"PT_BR"})),S7={brand:"Canvas Credentials",links:[...f7,...v7,...b7]},E7=[{title:"Guides",from:"/canvas/data/guides",to:"https://community.canvaslms.com/t5/Canvas-Data-Users/gh-p/data"},{title:"API",from:"/canvas/data/api",to:"https://portal.inshosteddata.com/docs"}],R7=E7.map(e=>({...e,lang:"EN"})),C7={brand:"Canvas Data",links:R7},A7=[{title:"Startseite",from:"/de/canvas/lms",to:"https://www.instructure.com/de/hochschule/produkt/canvas/canvas-lms/"},{title:"Handbücher",from:"/de/canvas/handbuch",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],w7=A7.map(e=>({...e,lang:"DE"})),Up="canvas-lms",T7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,_7=`${O.raw}/${O.owner}/${O.repo}`,di=`${_7}/${Up}`,O7=[{title:"Compliance Package",from:"/canvas/lms/dl",to:`${T7}/${Up}.zip`},{title:"Architecture Paper",from:"/canvas/lms/architecture/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/lms/hecvat/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/canvas/lms/k12cvat/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20K12CVAT%20Full.xlsx`},{title:"SOC 3 Report",from:"/canvas/lms/soc/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"TX-RAMP Level 2 Certificate",from:"/canvas/lms/txramp/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/lms",to:"https://www.instructure.com/higher-education/products/canvas/canvas-lms/"},{title:"Home (K12)",from:"/canvas/lms/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-lms/"},{title:"VPAT",from:"/canvas/lms/vpat",to:"https://www.instructure.com/products/canvas/accessibility/"},{title:"Guides",from:"/canvas/lms/guides",to:"https://community.canvaslms.com/t5/Canvas-Guides/ct-p/canvas_guides/"},{title:"Release Notes",from:"/canvas/lms/releases",to:"https://community.canvaslms.com/t5/Canvas-Releases/tkb-p/canvas-release"},{title:"API",from:"/canvas/lms/api",to:"https://canvas.instructure.com/doc/api/index.html"}],M7=O7.map(e=>({...e,lang:"EN"})),Hp="canvas-lms-ES_LA",x7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,D7=`${O.raw}/${O.owner}/${O.repo}`,hi=`${D7}/${Hp}`,$7=[{title:"Compliance Package",from:"/es-la/canvas/lms/dl",to:`${x7}/${Hp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/canvas/lms/arquitectura/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/lms/hecvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/es-la/canvas/lms/k12cvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Informe SOC 3",from:"/es-la/canvas/lms/soc/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/lms/txramp/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página de inicio (HE)",from:"/es-la/canvas/lms",to:"https://www.instructure.com/es/canvas/educacion-superior/"},{title:"Página de inicio (K12)",from:"/es-la/canvas/lms/basica",to:"https://www.instructure.com/es/educacion-basica/"},{title:"Guías",from:"/es-la/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de implementación",from:"/es-la/canvas/lms/publicacion",to:"https://community.canvaslms.com/t5/Espa%C3%B1ol/tkb-p/canvas-release-espanol"}],z7=$7.map(e=>({...e,lang:"ES_LA"})),Bp="canvas-lms-PT_BR",N7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,L7=`${O.raw}/${O.owner}/${O.repo}`,mi=`${L7}/${Bp}`,U7=[{title:"Compliance Package",from:"/pt-br/canvas/lms/dl",to:`${N7}/${Bp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/canvas/lms/arquitetura/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/lms/hecvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/pt-br/canvas/lms/k12cvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Relatório SOC 3",from:"/pt-br/canvas/lms/soc/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/canvas/lms/txramp/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página inicial (HE)",from:"/canvas/lms/pt",to:"https://www.instructure.com/pt-br/canvas/ensino-superior/"},{title:"Página inicial (K12)",from:"/canvas/lms/pt/basica",to:"https://www.instructure.com/pt-br/ensino-fundamental-e-medio/"},{title:"Guias",from:"/pt-br/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de lançamento (Canvas LMS)",from:"/canvas/lms/lancamentos",to:"https://community.canvaslms.com/t5/Portugues/tkb-p/canvas-release-portugues"}],H7=U7.map(e=>({...e,lang:"PT_BR"})),B7={brand:"Canvas LMS",links:[...M7,...z7,...H7,...w7]},j7=[{title:"Mobile Apps (Android)",from:"/canvas/mobile/android",to:"https://play.google.com/store/apps/developer?id=Instructure"},{title:"Mobile Apps (iOS)",from:"/canvas/mobile/ios",to:"https://apps.apple.com/us/developer/instructure-inc/id418441198"},{title:"Release Notes",from:"/canvas/mobile/releases",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Releases/tkb-p/CanvasMobileReleases"},{title:"Guides",from:"/canvas/mobile/guides",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Users/gh-p/mobile"}],V7=j7.map(e=>({...e,lang:"EN"})),k7={brand:"Canvas Mobile",links:V7},jp="canvas-studio",G7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,Y7=`${O.raw}/${O.owner}/${O.repo}`,zh=`${Y7}/${jp}`,q7=[{title:"Compliance Package",from:"/canvas/studio/dl",to:`${G7}/${jp}.zip`},{title:"Architecture Paper",from:"/canvas/studio/architecture/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/studio/hecvat/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20HECVAT%20Lite.xlsx`},{title:"Home (HE)",from:"/canvas/studio",to:"https://www.instructure.com/higher-education/products/canvas/canvas-studio/"},{title:"Home (K12)",from:"/canvas/studio/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-studio/"},{title:"VPAT",from:"/canvas/studio/vpat",to:"https://www.instructure.com/accessibility/canvas/canvas-studio-vpat/"},{title:"Guides",from:"/canvas/studio/guides",to:"https://community.canvaslms.com/t5/Canvas-Studio/ct-p/studio_guides"},{title:"Release Notes",from:"/canvas/studio/releases",to:"https://community.canvaslms.com/t5/Studio-Releases/ct-p/studio_releases"},{title:"API",from:"/canvas/studio/api",to:"https://canvas.instructuremedia.com/api/public/docs/#/"}],X7=q7.map(e=>({...e,lang:"EN"})),Z7={brand:"Canvas Studio",links:X7},Q7=[{title:"Gemeinschaft",from:"/de/canvas/gemeinschaft",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],K7=Q7.map(e=>({...e,lang:"DE"})),P7="canvas-lms",J7=`${O.raw}/${O.owner}/${O.repo}`,W7=`${J7}/${P7}`,F7=[{title:"Security Audit Report",from:"/canvas/audit/dl",to:`${W7}/Canvas%20LMS/Canvas%20Security%20Audit%20Report.pdf`},{title:"Try Canvas (FFT)",from:"/canvas/try",to:"https://www.instructure.com/try-canvas"},{title:"Community",from:"/canvas/community",to:"https://community.canvaslms.com/t5/Canvas/ct-p/canvas"},{title:"Roadmap",from:"/canvas/roadmap",to:"https://community.canvaslms.com/t5/Canvas-Product-Roadmap/ct-p/canvas-product-roadmap"},{title:"Ideas",from:"/canvas/ideas",to:"https://community.canvaslms.com/t5/Canvas-Ideas-and-Themes/ct-p/canvas-ideas-themes?tab=identified"}],I7=F7.map(e=>({...e,lang:"EN"})),e6=[{title:"Communidad",from:"/es-la/canvas/lms/communidad",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"}],t6=e6.map(e=>({...e,lang:"ES_LA"})),a6=[{title:"Comunidade",from:"/pt-br/canvas/comunidade",to:"https://community.canvaslms.com/t5/Recursos-em-Portugu%C3%AAs-Portuguese/ct-p/portuguese_resources"}],n6=a6.map(e=>({...e,lang:"PT_BR"})),l6={brand:"Canvas",links:[...I7,...t6,...n6,...K7]},i6=[{title:"Home",from:"/elevate/dataquality",to:"https://www.instructure.com/k12/products/elevate/elevate-data-quality/"},{title:"Guides",from:"/elevate/dataquality/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Quality/ct-p/certify"}],r6=i6.map(e=>({...e,lang:"EN"})),u6={brand:"Elevate Data Quality",links:r6},c6=[{title:"Guides",from:"/elevate/datasync/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Sync/ct-p/elevate_data_sync"}],o6=c6.map(e=>({...e,lang:"EN"})),s6={brand:"Elevate Data Sync",links:o6},Vp="elevate-standards-alignment",f6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,d6=`${O.raw}/${O.owner}/${O.repo}`,h6=`${d6}/${Vp}`,m6=[{title:"Compliance Package",from:"/elevate/standards-alignment/dl",to:`${f6}/${Vp}.zip`},{title:"HECVAT Lite",from:"/elevate/standards-alignment/hecvat/dl",to:`${h6}/Elevate%20Standards%20Alignment/Elevate%20Standards%20Alignment%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/elevate/standards-alignment",to:"https://www.instructure.com/corporate-education/products/elevate/elevate-standards-alignment"},{title:"Release Notes",from:"/elevate/standards-alignment/releases",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/esa_releases"},{title:"Guides",from:"/elevate/standards-alignment/guides",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/ab_basics"}],v6=m6.map(e=>({...e,lang:"EN"})),p6={brand:"Elevate Standards Alignment",links:v6},g6=[{title:"Community",from:"/elevate/community",to:"https://community.canvaslms.com/t5/Elevate/ct-p/elevate"},{title:"Roadmap",from:"/elevate/roadmap",to:"https://community.canvaslms.com/t5/Elevate-Product-Roadmap/ct-p/elevate-product-roadmap"}],y6=g6.map(e=>({...e,lang:"EN"})),b6={brand:"Elevate",links:y6},kp="impact",S6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,E6=`${O.raw}/${O.owner}/${O.repo}`,Do=`${E6}/${kp}`,R6=[{title:"Compliance Package",from:"/impact/dl",to:`${S6}/${kp}.zip`},{title:"Architecture Paper",from:"/impact/architecture/dl",to:`${Do}/Impact/Impact%20Architecture.pdf`},{title:"HECVAT",from:"/impact/hecvat/dl",to:`${Do}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Level 2 Certification",from:"/impact/tx-ramp/dl",to:`${Do}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/impact/he",to:"https://www.instructure.com/higher-education/products/impact/"},{title:"Home (K12)",from:"/impact/k12",to:"https://www.instructure.com/k12/products/impact/"},{title:"Community",from:"/impact/community",to:"https://community.canvaslms.com/t5/Impact/ct-p/impact"},{title:"Guides",from:"/impact/guides",to:"https://community.canvaslms.com/t5/Impact-Guides/tkb-p/impact_guides"},{title:"Release Notes",from:"/impact/releases",to:"https://community.canvaslms.com/t5/Impact-Releases/ct-p/impact_releases"}],C6=R6.map(e=>({...e,lang:"EN"})),Gp="impact-ES_LA",A6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,w6=`${O.raw}/${O.owner}/${O.repo}`,$o=`${w6}/${Gp}`,T6=[{title:"Compliance Package",from:"/es-la/impact/dl",to:`${A6}/${Gp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/impact/arquitectura/dl",to:`${$o}/Impact/Impact%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/impact/hecvat/dl",to:`${$o}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/impact/tx-ramp/dl",to:`${$o}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],_6=T6.map(e=>({...e,lang:"ES_LA"})),Yp="impact-PT_BR",O6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,M6=`${O.raw}/${O.owner}/${O.repo}`,zo=`${M6}/${Yp}`,x6=[{title:"Compliance Package",from:"/pt-br/impact/dl",to:`${O6}/${Yp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/impact/arquitetura/dl",to:`${zo}/Impact/Impact%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/impact/hecvat/dl",to:`${zo}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/impact/tx-ramp/dl",to:`${zo}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],D6=x6.map(e=>({...e,lang:"PT_BR"})),$6={brand:"Impact",links:[...C6,..._6,...D6]},z6=[{title:"Startseite",from:"/de/home",to:"https://www.instructure.com/de"},{title:"Kontakt",from:"/de/kontakt",to:"https://www.instructure.com/de/contact-us"}],N6=z6.map(e=>({...e,lang:"DE"})),L6=`${O.raw}/${O.owner}/${O.repo}`,Pt=`${L6}/${O.branch}`,U6=[{title:"Security White Paper",from:"/security/dl",to:`${Pt}/Instructure/Instructure%20Security%20Overview.pdf`},{title:"Business Continuity White Paper",from:"/bc/dl",to:`${Pt}/Instructure/Instructure%20Business%20Continuity%20%26%20Disaster%20Recovery.pdf`},{title:"CAIQ",from:"/caiq/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"CSA Star Certificate",from:"/csa/dl",to:`${Pt}/Instructure/Instructure%20CSA%20STAR%20Certificate.pdf`},{title:"Cyber Essentials+ Certificate",from:"/ce/dl",to:`${Pt}/Instructure/Instructure%20Cyber%20Essentials%20Plus.pdf`},{title:"Environmental, Social, and Governance Report",from:"/esg/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"Instructure, Inc. Certificate of Insurance",from:"/coi/dl",to:`${Pt}/Instructure/Instructure%20Inc%20COI.pdf`},{title:"Instructure Global Certificate of Insurance",from:"/coi-global/dl",to:`${Pt}/Instructure/Instructure%20Global%20COI.pdf`},{title:"ISO 27001 Certificate",from:"/iso/dl",to:`${Pt}/Instructure/Instructure%20ISO%2027001%20Compliance%20Certificate.pdf`},{title:"Quality Assurance Program",from:"/qa/dl",to:`${Pt}/Instructure/Instructure%20Quality%20Assurance%20Program.pdf`},{title:"Home",from:"/home",to:"https://www.instructure.com/"},{title:"Roadmap",from:"/roadmap",to:"https://community.canvaslms.com/t5/Instructure-Roadmap/ct-p/instructure-roadmap/"},{title:"Accessibility",from:"/a11y",to:"https://www.instructure.com/accessibility/"},{title:"Contact",from:"/contact",to:"https://www.instructure.com/contact-us/"},{title:"Privacy",from:"/privacy",to:"https://www.instructure.com/canvas/privacy/"},{title:"Security",from:"/security",to:"https://www.instructure.com/products/canvas/security/"},{title:"Trust Center",from:"/trust",to:"https://www.instructure.com/trust-center/"},{title:"Community",from:"/community",to:"https://community.canvaslms.com/"},{title:"Terms & Conditions",from:"/tos",to:"https://www.instructure.com/policies/master-terms-conditions/"},{title:"Global Terms & Conditions",from:"/tos/global",to:"https://www.instructure.com/policies/global/master-terms-and-conditions/"},{title:"Acceptable Use Policy",from:"/aup",to:"https://www.instructure.com/policies/acceptable-use/"},{title:"Data Privacy Addendum",from:"/dpa",to:"https://www.instructure.com/policies/data-processing/"},{title:"Investor Relations",from:"/investors",to:"https://ir.instructure.com/overview/default.aspx"},{title:"Status",from:"/status",to:"https://status.instructure.com/"},{title:"CSA Star Registration",from:"/csa",to:"https://cloudsecurityalliance.org/star/registry/instructure/"},{title:"1EdTech Registrations",from:"/1edtech",to:"https://site.imsglobal.org/certifications?query=instructure"},{title:"Our Story",from:"/story",to:"https://www.instructure.com/about/our-story"},{title:"Study Hall",from:"/resources",to:"https://www.instructure.com/resources/"},{title:"EduAppCenter",from:"/apps",to:"https://www.eduappcenter.com/"},{title:"ESG Report (online)",from:"/esg",to:"https://instructure.com/esg-report"}],H6=U6.map(e=>({...e,lang:"EN"})),B6=[{title:"Página de inicio",from:"/es-la/home",to:"https://www.instructure.com/es/"},{title:"Contáctenos",from:"/es-la/contactenos",to:"https://www.instructure.com/es/contactenos/"},{title:"Privacidad",from:"/es-la/privicidad",to:"https://www.instructure.com/es/canvas/privacidad/"},{title:"Seguridad",from:"/es-la/seguridad",to:"https://www.instructure.com/es/canvas/seguridad/"},{title:"Nuestra Historia",from:"/es-la/historia",to:"https://www.instructure.com/es/sobre/nuestra-historia"}],j6=B6.map(e=>({...e,lang:"ES_LA"})),V6=[{title:"Pagina inicial",from:"/pt-br/home",to:"https://www.instructure.com/pt-br/"},{title:"Contato",from:"/pt-br/contato",to:"https://www.instructure.com/pt-br/contato/"},{title:"Contato",from:"/pt-br/contato",to:"https://www.instructure.com/pt-br/contato/"},{title:"Privacidade",from:"/pt-br/privacidade",to:"https://www.instructure.com/pt-br/canvas/privacidade/"},{title:"Segurança",from:"/pt-br/seguranca",to:"https://www.instructure.com/pt-br/canvas/seguranca/"},{title:"Nossa História",from:"/pt-br/historia",to:"https://www.instructure.com/pt-br/sobre/nossa-historia"}],k6=V6.map(e=>({...e,lang:"PT_BR"})),G6={brand:"Instructure",links:[...H6,...j6,...k6,...N6]},qp="intelligent-insights",Y6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,q6=`${O.raw}/${O.owner}/${O.repo}`,No=`${q6}/${qp}`,X6=[{title:"Compliance Package",from:"/intelligent-insights/dl",to:`${Y6}/${qp}.zip`},{title:"Architecture Paper",from:"/intelligent-insights/architecture/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Architecture%20Overview.pdf`},{title:"HECVAT",from:"/intelligent-insights/hecvat/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20HECVAT%20Lite.xlsx`},{title:"Data Sheet",from:"/intelligent-insights/data/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Data%20Sheet.pdf`},{title:"Home",from:"/intelligent-insights/home",to:"https://www.instructure.com/products/intelligent-insights"},{title:"Community",from:"/intelligent-insights/community",to:"https://community.canvaslms.com/t5/Intelligent-Insights/ct-p/intelligent_insights"},{title:"Guides",from:"/intelligent-insights/guides",to:"https://community.canvaslms.com/t5/Intelligent-Insights-Guides/tkb-p/intelligent_insights_guides"},{title:"Release Notes",from:"/intelligent-insights/releases",to:"https://community.canvaslms.com/t5/Intelligent-Insight-Release/tkb-p/intelligent_insights_releases"}],Z6=X6.map(e=>({...e,lang:"EN"})),Q6={brand:"Intelligent Insights",links:Z6},Xp="learnplatform",K6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,P6=`${O.raw}/${O.owner}/${O.repo}`,Lo=`${P6}/${Xp}`,J6=[{title:"Compliance Package",from:"/learnplatform/dl",to:`${K6}/${Xp}.zip`},{title:"EdTech Top 40 Report",from:"/learnplatform/top40/dl",to:`${Lo}/LearnPlatform/EdTech%20Top%2040.pdf`},{title:"Architecture Paper",from:"/learnplatform/architecture/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20Architecture%20Overview.pdf`},{title:"HECVAT Lite",from:"/learnplatform/hecvat/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/learnplatform",to:"https://www.instructure.com/k12/products/learnplatform/"},{title:"Terms of Service",from:"/learnplatform/tos",to:"https://www.instructure.com/policies/learnplatform-terms-of-service/"},{title:"Privacy",from:"/learnplatform/privacy",to:"https://www.instructure.com/policies/privacy-learnplatform/"},{title:"Data Processing Agreement",from:"/learnplatform/dpa",to:"https://www.instructure.com/policies/learnplatform-data-processing-agreement/"},{title:"Statement of Neutrality",from:"/learnplatform/neutrality",to:"https://www.instructure.com/policies/learnplatform-neutrality/"}],W6=J6.map(e=>({...e,lang:"EN"})),F6={brand:"Learnplatform",links:W6},Zp="mastery-connect",I6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,e9=`${O.raw}/${O.owner}/${O.repo}`,Nh=`${e9}/${Zp}`,t9=[{title:"Compliance Package",from:"/mastery/connect/dl",to:`${I6}/${Zp}.zip`},{title:"Architecture Paper",from:"/mastery/connect/architecture/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20Architecture.pdf`},{title:"HECVAT Lite",from:"/mastery/connect/hecvat/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/mastery/connect",to:"https://www.instructure.com/k12/products/mastery/mastery-connect"},{title:"Guides",from:"/mastery/connect/guides",to:"https://community.canvaslms.com/t5/Mastery-Connect/ct-p/masteryconnect"},{title:"Release Notes",from:"/mastery/connect/releases",to:"https://community.canvaslms.com/t5/Mastery-Connect-Releases/tkb-p/masteryconnect"},{title:"API",from:"/mastery/connect/api",to:"https://docs.google.com/document/d/19TxyeRzF6nyJDY6ej2dZozbE87JdUygw"},{title:"Mobile App (Android)",from:"/mastery/connect/android",to:"https://play.google.com/store/apps/dev?id=8869528477632015729&hl=EN&gl=US"},{title:"Mobile App (iOS)",from:"/canvas/lms/ios",to:"https://apps.apple.com/us/developer/masteryconnect/id413937396"}],a9=t9.map(e=>({...e,lang:"EN"})),n9={brand:"Mastery Connect",links:a9},l9=[{title:"Home",from:"/mastery/itembank",to:"https://www.instructure.com/k12/products/mastery/mastery-item-bank/"},{title:"Guides",from:"/mastery/itembank/guides",to:"https://community.canvaslms.com/t5/Mastery-Item-Bank/ct-p/mastery-item-bank/"}],i9=l9.map(e=>({...e,lang:"EN"})),r9={brand:"Mastery Item Bank",links:i9},u9=[{title:"Formatives Home",from:"/mastery/view/formative",to:"https://www.instructure.com/k12/products/mastery/mastery-view-formative-assessments/"},{title:"Predictives Home",from:"/mastery/view/predictive",to:"https://www.instructure.com/k12/products/mastery/mastery-view-predictive-assessments/"}],c9=u9.map(e=>({...e,lang:"EN"})),o9={brand:"Mastery View Assessments",links:c9},s9=[{title:"Community",from:"/mastery/community",to:"https://community.canvaslms.com/t5/Mastery/ct-p/mastery"},{title:"Roadmap",from:"/mastery/roadmap",to:"https://community.canvaslms.com/t5/Mastery-Product-Roadmap/ct-p/mastery-product-roadmap"}],f9=s9.map(e=>({...e,lang:"EN"})),d9={brand:"Mastery",links:f9},h9=[],m9=h9.map(e=>({...e,lang:"EN"})),v9={brand:"Parchment",links:m9},p9=[IS,G6,l6,B7,k7,Z7,l7,u7,C7,S7,d9,n9,r9,o9,$6,b6,p6,u6,s6,F6,Q6,v9],Vn=[];for(const e of PS)Vn.push({path:`${e.route}`,lazy:()=>Ut(()=>import("./markdownBrand-Da1pf47v.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName}),children:[{path:":language",lazy:()=>Ut(()=>import("./markdownBrand-Da1pf47v.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName})}]});for(const e of p9)for(const t of e.links)Vn.push({path:t.from,lazy:()=>Ut(()=>import("./redirectTo-DOyBKLvA.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to}),children:[{path:":language",lazy:()=>Ut(()=>import("./redirectTo-DOyBKLvA.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to})}]});Vn.push({path:"/links",lazy:()=>Ut(()=>import("./links-C1U-V73k.js"),__vite__mapDeps([6,1,7,3,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./links-C1U-V73k.js"),__vite__mapDeps([6,1,7,3,8]))}]});Vn.push({path:"/mdui",lazy:()=>Ut(()=>import("./mdui-BjQIA41o.js"),__vite__mapDeps([9,1,2,3,10,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./mdui-BjQIA41o.js"),__vite__mapDeps([9,1,2,3,10,8]))}]});Vn.push({path:"/releases",lazy:()=>Ut(()=>import("./releases-DR5Q5md9.js"),__vite__mapDeps([11,1,2,3,12])),children:[{path:":language",lazy:()=>Ut(()=>import("./releases-DR5Q5md9.js"),__vite__mapDeps([11,1,2,3,12]))}]});Vn.push({path:"*",lazy:()=>Ut(()=>import("./error-DE5Avba2.js"),__vite__mapDeps([13,1,5])),children:[{path:":language",lazy:()=>Ut(()=>import("./error-DE5Avba2.js"),__vite__mapDeps([13,1,5]))}]});const g9=_4(Vn),Qp=document.getElementById("root");if(!Qp)throw new Error("Root element not found");Dv.createRoot(Qp).render(Ze.jsx(be.StrictMode,{children:Ze.jsx(Op,{theme:id,children:Ze.jsx(CS,{as:"div",minHeight:"100vh",position:"relative",children:Ze.jsx(U4,{router:g9})})})}));export{zs as $,Mc as A,s5 as B,d5 as C,f5 as D,ad as E,Jh as F,e5 as G,A9 as H,Op as I,t5 as J,E5 as K,p9 as L,PS as M,C9 as N,b9 as O,L as P,x5 as Q,be as R,Fe as S,Jn as T,wp as U,CS as V,ld as W,w9 as X,Qu as Y,fi as Z,Ut as _,E9 as a,Dp as a0,id as a1,Xl as a2,Zl as a3,Ql as a4,Dn as a5,Kl as a6,Ys as b,S9 as c,KS as d,_9 as e,Mn as f,O as g,xn as h,hn as i,Ze as j,y9 as k,Ll as l,Xu as m,Rp as n,Ep as o,b5 as p,m5 as q,T as r,C5 as s,Mp as t,R9 as u,u5 as v,rd as w,y4 as x,dc as y,br as z}; diff --git a/assets/index-Dv-2cAG8.js b/assets/index-DvkmnKwX.js similarity index 99% rename from assets/index-Dv-2cAG8.js rename to assets/index-DvkmnKwX.js index 4f24669..87d1bfe 100644 --- a/assets/index-Dv-2cAG8.js +++ b/assets/index-DvkmnKwX.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.node-CMA9-fmz.js","assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css","assets/index-BX9l5wvn.js"])))=>i.map(i=>d[i]); -import{S as _b,b as n1,c as My,F as IM,T as re,d as mM,I as lN,e as cN,f as S2}from"./index-BgSjnQS9.js";import{g as Rk,i as vk,h as Wk,G as gk,k as yk,j as Lk,l as Nk,m as Bk,n as Ck,o as Sk,a as wk}from"./index-BgSjnQS9.js";import{A as by,r as l,R as r,O as MN,k as bN,l as zN,Q as zy,U as dy,W as Oy,P as s,h as Y,q as E2,p as p0,S as n,T as G,w as L,t as N,i as b,s as z0,f as t0,V as w,F as dN,X as _2,o as D,n as Q0,H as ON,_ as Xb,m as x2,E as ze,G as hN,Y as AN,Z as fN,v as uN,z as Tc,C as qN}from"./index-DVuP2ZA1.js";import{a2 as xk,a3 as Tk,a4 as Pk,a5 as Ek,a6 as _k,a0 as Xk,I as kk,$ as Hk,a1 as $k}from"./index-DVuP2ZA1.js";import{j as r0,t as mN,u as RN,S as m0,v as de,k as oo,B as rb,w as vN,P as S0,e as he,n as Z,x as k,y as L1,s as i0,C as h0,z as hy,I as ib,A as to,p as c0,D as Ay,i as u0,l as po,m as M0,E as ae,F as J0,T as xM,r as oM,G as Vl,q as WN,o as B2,J as sb,K as w2,M as fy,N as Vc,Q as Zc,U as ab,V as Dc,W as gN,h as lb,X as uy,Y as yN,Z as LN,_ as cb,$ as NN,a0 as kb,a1 as BN,a2 as CN,a3 as SN}from"./RenderTopNavBar-DdduE_mK.js";import{a4 as Zk,a5 as Dk,H as Fk,ac as jk,ai as Uk,ad as Gk,ae as Yk,af as Kk,ag as Qk,ah as Jk,a6 as eH,L as oH,O as tH,a7 as pH,a8 as nH,a9 as rH,aa as iH,ab as sH}from"./RenderTopNavBar-DdduE_mK.js";import{b as qy,B as Fc,E as Hb}from"./index-Chr3yVKt.js";import{I as lH,a as cH,R as MH,T as bH}from"./index-Chr3yVKt.js";import{B as dH}from"./index-BCoP-QCi.js";import{a as t1}from"./index-CvvVU94y.js";import{I as hH}from"./index-CvvVU94y.js";import{L as fH,e as uH}from"./Mdtoui-D2iN30Jx.js";import{S as mH}from"./index-ALzVjZWx.js";import{I as vH}from"./IconRssLine-R9zaM-kI.js";const my=(()=>{{const p=function(){return e=>e};return p.deprecatePropValues=()=>()=>null,p.warnDeprecatedProps=()=>{},p.warnDeprecatedComponent=()=>{},p.changedPackageWarning=()=>"",p}})(),no={keyboard:"keyboard",pointer:"pointer"};let q0=[],N2=[],ro=no.keyboard,RM=0;const jc={},Z0=p=>{p.target.nodeName.toLowerCase()!=="html"&&(Mb(ro,no.pointer),q0.forEach(e=>e.remove()))},Mb=(p,e)=>{p!==e&&(ro=e,Object.keys(jc).forEach(o=>jc[o](p,e)))},wN=()=>{Mb(ro,no.keyboard)},vM=()=>{Mb(ro,no.pointer)},IN=()=>{q0.length===0&&(q0.push(r0(document,"mousemove",Z0,!0)),q0.push(r0(document,"mousedown",Z0,!0)),q0.push(r0(document,"mouseup",Z0,!0)),q0.push(r0(document,"pointermove",Z0,!0)),q0.push(r0(document,"pointerdown",Z0,!0)),q0.push(r0(document,"pointerup",Z0,!0)),q0.push(r0(document,"touchmove",Z0,!0)),q0.push(r0(document,"touchstart",Z0,!0)),q0.push(r0(document,"touchend",Z0,!0)))},xN=()=>{N2.length===0&&(N2.push(r0(document,"keydown",wN,!0)),N2.push(r0(document,"mousedown",vM,!0)),N2.push(r0(document,"pointerdown",vM,!0)),N2.push(r0(document,"touchstart",vM,!0)))},TN=()=>{q0.forEach(p=>p.remove()),q0=[],N2.forEach(p=>p.remove()),N2=[]},PN=p=>{const e=p.onInputModeChange,o=RM++;return typeof e=="function"&&(jc[o]=e),by&&(xN(),IN()),{isKeyboardMode:()=>ro===no.keyboard,remove:()=>{RM===1&&TN(),delete jc[o],RM--}}},tM=l.createContext({locale:void 0,timezone:void 0}),nX=({children:p,locale:e,timezone:o})=>r.createElement(tM.Provider,{value:{locale:e,timezone:o}},mN(p));var Ry={exports:{}},vy={exports:{}};//! moment.js +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.node-C_A2BdXO.js","assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css","assets/index-BER2qAwk.js"])))=>i.map(i=>d[i]); +import{S as _b,b as n1,c as My,F as IM,T as re,d as mM,I as lN,e as cN,f as S2}from"./index-B2tgx2JB.js";import{g as Rk,i as vk,h as Wk,G as gk,k as yk,j as Lk,l as Nk,m as Bk,n as Ck,o as Sk,a as wk}from"./index-B2tgx2JB.js";import{A as by,r as l,R as r,O as MN,k as bN,l as zN,Q as zy,U as dy,W as Oy,P as s,h as Y,q as E2,p as p0,S as n,T as G,w as L,t as N,i as b,s as z0,f as t0,V as w,F as dN,X as _2,o as D,n as Q0,H as ON,_ as Xb,m as x2,E as ze,G as hN,Y as AN,Z as fN,v as uN,z as Tc,C as qN}from"./index-D8uc6p-q.js";import{a2 as xk,a3 as Tk,a4 as Pk,a5 as Ek,a6 as _k,a0 as Xk,I as kk,$ as Hk,a1 as $k}from"./index-D8uc6p-q.js";import{j as r0,t as mN,u as RN,S as m0,v as de,k as oo,B as rb,w as vN,P as S0,e as he,n as Z,x as k,y as L1,s as i0,C as h0,z as hy,I as ib,A as to,p as c0,D as Ay,i as u0,l as po,m as M0,E as ae,F as J0,T as xM,r as oM,G as Vl,q as WN,o as B2,J as sb,K as w2,M as fy,N as Vc,Q as Zc,U as ab,V as Dc,W as gN,h as lb,X as uy,Y as yN,Z as LN,_ as cb,$ as NN,a0 as kb,a1 as BN,a2 as CN,a3 as SN}from"./RenderTopNavBar-DwZOqeqN.js";import{a4 as Zk,a5 as Dk,H as Fk,ac as jk,ai as Uk,ad as Gk,ae as Yk,af as Kk,ag as Qk,ah as Jk,a6 as eH,L as oH,O as tH,a7 as pH,a8 as nH,a9 as rH,aa as iH,ab as sH}from"./RenderTopNavBar-DwZOqeqN.js";import{b as qy,B as Fc,E as Hb}from"./index-nQtORJ0H.js";import{I as lH,a as cH,R as MH,T as bH}from"./index-nQtORJ0H.js";import{B as dH}from"./index-Baihd32c.js";import{a as t1}from"./index-C4If5P1l.js";import{I as hH}from"./index-C4If5P1l.js";import{L as fH,e as uH}from"./Mdtoui-D8ifNIrl.js";import{S as mH}from"./index-CCcpAznT.js";import{I as vH}from"./IconRssLine-BcUub32U.js";const my=(()=>{{const p=function(){return e=>e};return p.deprecatePropValues=()=>()=>null,p.warnDeprecatedProps=()=>{},p.warnDeprecatedComponent=()=>{},p.changedPackageWarning=()=>"",p}})(),no={keyboard:"keyboard",pointer:"pointer"};let q0=[],N2=[],ro=no.keyboard,RM=0;const jc={},Z0=p=>{p.target.nodeName.toLowerCase()!=="html"&&(Mb(ro,no.pointer),q0.forEach(e=>e.remove()))},Mb=(p,e)=>{p!==e&&(ro=e,Object.keys(jc).forEach(o=>jc[o](p,e)))},wN=()=>{Mb(ro,no.keyboard)},vM=()=>{Mb(ro,no.pointer)},IN=()=>{q0.length===0&&(q0.push(r0(document,"mousemove",Z0,!0)),q0.push(r0(document,"mousedown",Z0,!0)),q0.push(r0(document,"mouseup",Z0,!0)),q0.push(r0(document,"pointermove",Z0,!0)),q0.push(r0(document,"pointerdown",Z0,!0)),q0.push(r0(document,"pointerup",Z0,!0)),q0.push(r0(document,"touchmove",Z0,!0)),q0.push(r0(document,"touchstart",Z0,!0)),q0.push(r0(document,"touchend",Z0,!0)))},xN=()=>{N2.length===0&&(N2.push(r0(document,"keydown",wN,!0)),N2.push(r0(document,"mousedown",vM,!0)),N2.push(r0(document,"pointerdown",vM,!0)),N2.push(r0(document,"touchstart",vM,!0)))},TN=()=>{q0.forEach(p=>p.remove()),q0=[],N2.forEach(p=>p.remove()),N2=[]},PN=p=>{const e=p.onInputModeChange,o=RM++;return typeof e=="function"&&(jc[o]=e),by&&(xN(),IN()),{isKeyboardMode:()=>ro===no.keyboard,remove:()=>{RM===1&&TN(),delete jc[o],RM--}}},tM=l.createContext({locale:void 0,timezone:void 0}),nX=({children:p,locale:e,timezone:o})=>r.createElement(tM.Provider,{value:{locale:e,timezone:o}},mN(p));var Ry={exports:{}},vy={exports:{}};//! moment.js //! version : 2.30.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT @@ -22,7 +22,7 @@ g.version="2.30.1";EN(J);g.fn=v;g.min=gC;g.max=yC;g.now=LC;g.utc=$0;g.unix=ow;g. }`,wI=(p,e)=>{const o=e.type,t=e.variant,i=e.placement,a=i===void 0?"":i,c=e.standalone,M=e.pulse,z=a.indexOf("top")>-1,d=a.indexOf("bottom")>-1,O=a.indexOf("start")>-1,A=a.indexOf("end")>-1,f=a.indexOf("center")>-1,u={danger:{badge:{color:p.color,backgroundColor:p.colorDanger},pulseBorder:{borderColor:p.colorDanger}},success:{badge:{color:p.color,backgroundColor:p.colorSuccess},pulseBorder:{borderColor:p.colorSuccess}},primary:{badge:{color:p.color,backgroundColor:p.colorPrimary},pulseBorder:{borderColor:p.colorPrimary}},inverse:{badge:{color:p.colorInverse,backgroundColor:p.color},pulseBorder:{borderColor:p.color}}},R={...z&&{top:`calc(-1 * ${p.countOffset})`},...d&&{bottom:`calc(-1 * ${p.countOffset})`},...O&&{insetInlineStart:`calc(-1 * ${p.countOffset})`,insetInlineEnd:"auto"},...A&&{insetInlineEnd:`calc(-1 * ${p.countOffset})`,insetInlineStart:"auto"},...f&&{...(A||O)&&{top:`calc(50% - (${p.size} / 2))`},...O&&{insetInlineStart:"auto",insetInlineEnd:`calc(100% - ${p.countOffset})`},...A&&{insetInlineEnd:"auto",insetInlineStart:`calc(100% - ${p.countOffset})`}}},B={...z&&{top:p.notificationOffset},...d&&{bottom:p.notificationOffset},...O&&{insetInlineStart:p.notificationOffset,insetInlineEnd:"auto"},...A&&{insetInlineEnd:p.notificationOffset,insetInlineStart:"auto"},...f&&{...(A||O)&&{top:`calc(50% - (${p.sizeNotification} / 2))`},...O&&{insetInlineStart:`calc(-1 * ${p.sizeNotification} / 2)`,insetInlineEnd:"auto"},...A&&{insetInlineEnd:`calc(-1 * ${p.sizeNotification} / 2)`,insetInlineStart:"auto"}}},I={count:R,notification:B},S={count:{lineHeight:p.size,minWidth:p.size,paddingInlineStart:p.padding,paddingInlineEnd:p.padding},notification:{width:p.sizeNotification,height:p.sizeNotification}};return{badge:{label:"badge",fontFamily:p.fontFamily,fontWeight:p.fontWeight,boxSizing:"border-box",pointerEvents:"none",textAlign:"center",fontSize:p.fontSize,whiteSpace:"nowrap",borderRadius:p.borderRadius,...u[t].badge,...M&&{position:"relative","&::before":{content:'""',width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",borderRadius:p.borderRadius,position:"absolute",top:"-0.25rem",insetInlineEnd:"auto",insetInlineStart:"-0.25rem",boxSizing:"border-box",border:`${p.pulseBorderThickness} solid`,opacity:0,transform:"scale(0.75)",animationName:SI,animationDuration:"1s",animationIterationCount:"4",animationDirection:"alternate",...u[t].pulseBorder}},...S[o],...!c&&{position:"absolute",zIndex:p.notificationZIndex,...I[o]}},wrapper:{label:"badge__wrapper",position:"relative",boxSizing:"border-box",svg:{display:"block"}}}},II=p=>{const e=p.borders,o=p.colors,t=p.spacing,i=p.typography,a=p.stacking,c=p.key,M={canvas:{colorPrimary:p["ic-brand-primary"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:o==null?void 0:o.textLightest,fontSize:i==null?void 0:i.fontSizeXSmall,colorDanger:o==null?void 0:o.textDanger,colorSuccess:o==null?void 0:o.textSuccess,colorPrimary:o==null?void 0:o.textBrand,colorInverse:o==null?void 0:o.textDarkest,size:"1.25rem",countOffset:"0.5rem",notificationOffset:"0.125rem",notificationZIndex:a==null?void 0:a.above,sizeNotification:t==null?void 0:t.small,borderRadius:"999rem",padding:t==null?void 0:t.xxSmall,pulseBorderThickness:e==null?void 0:e.widthMedium},...M[c]}},xI={count:s.number,countUntil:s.number,children:s.element,type:s.oneOf(["count","notification"]),standalone:s.bool,pulse:s.bool,variant:s.oneOf(["primary","success","danger","inverse"]),placement:S0.placement,display:s.oneOf(["inline-block","block"]),margin:G.spacing,elementRef:s.func,formatOverflowText:s.func,formatOutput:s.func,as:s.elementType},TI=["count","countUntil","children","type","standalone","pulse","variant","placement","display","margin","elementRef","formatOverflowText","formatOutput","as"];var ev,ov,tv,$2,E1;let dX=(ev=z0(),ov=L(wI,II),tv=N(),ev($2=ov($2=tv($2=(E1=class extends l.Component{constructor(e){super(e),this._defaultId=void 0,this.ref=null,this.handleRef=o=>{const t=this.props.elementRef;this.ref=o,typeof t=="function"&&t(o)},this._defaultId=this.props.deterministicId()}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}countOverflow(){const e=this.props,o=e.count,t=e.countUntil;return t&&o&&t>1&&o>=t}renderOutput(){const e=this.props,o=e.count,t=e.countUntil,i=e.formatOverflowText,a=e.formatOutput,c=e.type;let M=(o||"").toString();return o&&t&&i&&c==="count"&&this.countOverflow()&&(M=i(o,t)),typeof a=="function"?a(M):c==="count"?M:null}renderBadge(){const e=this.props,o=e.count,t=e.margin,i=e.standalone,a=e.type,c=e.styles;return b(w,Object.assign({margin:i?t:"none",css:c==null?void 0:c.badge,title:a==="count"&&this.countOverflow()?o==null?void 0:o.toString():"",id:i?void 0:this._defaultId,display:i?"inline-block":"block"},i&&{elementRef:this.handleRef}),this.renderOutput())}renderChildren(){return l.Children.map(this.props.children,e=>i0(e,{"aria-describedby":this._defaultId}))}render(){const e=this.props,o=e.margin,t=e.standalone,i=e.display,a=e.as,c=e.styles;return t?this.renderBadge():b(w,{as:a,margin:o,elementRef:this.handleRef,css:c==null?void 0:c.wrapper,display:i},this.renderChildren(),this.renderBadge())}},E1.displayName="Badge",E1.componentId="Badge",E1.propTypes=xI,E1.allowedProps=TI,E1.defaultProps={standalone:!1,type:"count",variant:"primary",display:"inline-block",pulse:!1,placement:"top end",elementRef:()=>{},formatOverflowText:(p,e)=>`${e-1} +`},E1))||$2)||$2)||$2);const PI=(p,e)=>{const o=e.alignContent,t=e.size,i={top:{alignItems:"flex-start"},center:{alignItems:"center"}},a={display:"flex",background:p.background,margin:0,padding:0,fontFamily:p.fontFamily,...i[o]},c={color:p.color,margin:0,padding:0};return{byline:{label:"byline",...a,"&:is(figure)":a,"&:-webkit-any(figure)":a},figure:{label:"byline__figure",marginInlineStart:0,marginInlineEnd:p.figureMargin},caption:{label:"byline__caption",...c,"&:is(figcaption)":c,"&:-webkit-any(figcaption)":c},title:{label:"byline__title",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"block",margin:p.titleMargin,fontSize:p.titleFontSize,fontWeight:p.titleFontWeight,lineHeight:p.titleLineHeight},description:{label:"byline__description",fontSize:p.descriptionFontSize,lineHeight:p.descriptionLineHeight,fontWeight:p.descriptionFontWeight},maxWidth:t&&p[t]}},EI=p=>{const e=p.colors,o=p.spacing,t=p.typography,i=p.breakpoints,a=p.key,c={canvas:{color:p["ic-brand-font-color-dark"]}};return{...{fontFamily:t==null?void 0:t.fontFamily,background:e==null?void 0:e.backgroundLightest,color:e==null?void 0:e.textDarkest,figureMargin:o==null?void 0:o.small,titleMargin:`0 0 ${o==null?void 0:o.xSmall} 0`,titleFontSize:t==null?void 0:t.fontSizeLarge,titleFontWeight:t==null?void 0:t.fontWeightNormal,titleLineHeight:t==null?void 0:t.lineHeightFit,descriptionFontSize:t==null?void 0:t.fontSizeMedium,descriptionFontWeight:t==null?void 0:t.fontWeightNormal,descriptionLineHeight:t==null?void 0:t.lineHeightCondensed,small:i==null?void 0:i.small,medium:i==null?void 0:i.medium,large:i==null?void 0:i.large},...c[a]}},_I={children:s.node.isRequired,title:s.node,description:s.oneOfType([s.string,s.node]),alignContent:s.oneOf(["top","center"]),margin:G.spacing,size:s.oneOf(["small","medium","large"]),elementRef:s.func},XI=["alignContent","children","description","elementRef","margin","size","title"];var pv,nv,_1;let hX=(pv=L(PI,EI),pv(nv=(_1=class ZM extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{const t=this.props.elementRef;this.ref=o,typeof t=="function"&&t(o)}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}render(){var e,o,t,i,a,c;const M=w.omitViewProps(D(this.props,ZM.allowedProps),ZM);return b(w,Object.assign({},M,{elementRef:this.handleRef,css:(e=this.props.styles)===null||e===void 0?void 0:e.byline,as:"figure",margin:this.props.margin,maxWidth:(o=this.props.styles)===null||o===void 0?void 0:o.maxWidth}),b("div",{css:(t=this.props.styles)===null||t===void 0?void 0:t.figure},this.props.children),b("figcaption",{css:(i=this.props.styles)===null||i===void 0?void 0:i.caption},this.props.title&&b("span",{css:(a=this.props.styles)===null||a===void 0?void 0:a.title},this.props.title),this.props.description&&b("div",{css:(c=this.props.styles)===null||c===void 0?void 0:c.description},this.props.description)))}},_1.displayName="Byline",_1.componentId="Byline",_1.propTypes=_I,_1.allowedProps=XI,_1.defaultProps={alignContent:"center"},_1))||nv);const kI=(p,e)=>{const o=e.withYearPicker;return{navigation:{label:"calendar__navigation",textAlign:"center",color:p.color,background:p.background,fontFamily:p.fontFamily,fontSize:p.fontSize,fontWeight:p.fontWeight,marginBottom:o?p.navWithYearMargin:p.navMargin},navigationWithButtons:{label:"calendar__navigation--withButtons",display:"flex",alignItems:"center",justifyContent:"space-between"},weekdayHeader:{label:"calendar__weekdayHeader",textAlign:"center",maxWidth:p.maxHeaderWidth},yearPicker:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:p.yearPickerMargin}}},HI=p=>{const e=p.colors,o=p.typography,t=p.spacing,i=p.key,a={canvas:{color:p["ic-brand-font-color-dark"]}};return{...{fontSize:o==null?void 0:o.fontSizeMedium,fontFamily:o==null?void 0:o.fontFamily,fontWeight:o==null?void 0:o.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,navMargin:t==null?void 0:t.small,navWithYearMargin:t==null?void 0:t.xSmall,yearPickerMargin:t==null?void 0:t.mediumSmall,maxHeaderWidth:t==null?void 0:t.medium},...a[i]}},$I=(p,e,o)=>{const t=e.isOutsideMonth,i=e.isSelected,a=e.isToday,c=o.isDisabled;return{calendarDay:{label:"calendarDay",padding:0},day:{label:"calendarDay__day",display:"flex",alignItems:"center",justifyContent:"center",background:p.background,color:p.color,fontSize:p.fontSize,textDecoration:"none",lineHeight:1,height:p.height,minWidth:p.minWidth,border:"none",margin:0,...t&&{color:p.outsideMonthColor},...i&&{background:p.selectedBackground,borderRadius:p.selectedBorderRadius,color:p.selectedColor},...a&&!i&&{background:p.todayBackground,borderRadius:p.todayBorderRadius,color:p.todayColor},...c&&{opacity:.5}}}},VI=p=>{const e=p.borders,o=p.colors,t=p.typography,i=p.spacing,a=p.forms,c=p.key,M={canvas:{color:p["ic-brand-font-color-dark"],todayBackground:p["ic-brand-primary"]}};return{...{color:o==null?void 0:o.textDarkest,background:o==null?void 0:o.backgroundLightest,fontSize:t==null?void 0:t.fontSizeMedium,padding:i==null?void 0:i.xxSmall,height:a==null?void 0:a.inputHeightSmall,minWidth:a==null?void 0:a.inputHeightSmall,outsideMonthColor:o==null?void 0:o.textDark,selectedBackground:o==null?void 0:o.backgroundSuccess,selectedColor:o==null?void 0:o.textLightest,selectedBorderRadius:e==null?void 0:e.radiusMedium,todayBackground:o==null?void 0:o.backgroundBrand,todayColor:o==null?void 0:o.textLightest,todayBorderRadius:a==null?void 0:a.inputHeightSmall},...M[c]}},ZI={children:s.oneOfType([s.node,s.func]),date:J3.iso8601.isRequired,label:s.string.isRequired,interaction:s.oneOf(["enabled","disabled"]),isSelected:s.bool,isToday:s.bool,isOutsideMonth:s.bool,onClick:s.func,onKeyDown:s.func,elementRef:s.func,as:s.elementType},DI=["children","date","label","interaction","isSelected","isToday","isOutsideMonth","onClick","onKeyDown","elementRef","as"],FI=["children","label","interaction","isOutsideMonth","isSelected","isToday","onClick","onKeyDown","as","styles"];var rv,iv,Gl,X1;let mL=(rv=L($I,VI),iv=N(),rv(Gl=iv(Gl=(X1=class Xc extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleClick=o=>{const t=this.props,i=t.onClick,a=t.date;typeof i=="function"&&i(o,{date:a})},this.handleKeyDown=o=>{const t=this.props,i=t.onKeyDown,a=t.date;typeof i=="function"&&i(o,{date:a})},this.handleElementRef=o=>{const t=this.props.elementRef;this.ref=o,typeof t=="function"&&t(o)}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o,this.makeStylesVariables)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o,this.makeStylesVariables)}get makeStylesVariables(){return{isDisabled:this.isDisabled}}get isDisabled(){return this.props.interaction==="disabled"}get elementType(){return this.props.as||E2(Xc,this.props)}shouldApplyAriaSelected(){const e=this.props.role;return!!e&&["option","gridcell"].indexOf(e)>-1}render(){const e=this.props,o=e.children,t=e.label;e.interaction,e.isOutsideMonth;const i=e.isSelected,a=e.isToday,c=e.onClick,M=e.onKeyDown;e.as;const z=e.styles,d=Y(e,FI),O=this.elementType,A=this.isDisabled,f=w.omitViewProps(D(d,Xc.allowedProps),Xc);return b(w,Object.assign({},f,{as:O,css:z==null?void 0:z.calendarDay,display:"inline-block",margin:"xxx-small",borderWidth:"none",borderColor:"transparent",background:"transparent",cursor:O==="button"||O==="a"?A?"not-allowed":"pointer":"auto",disabled:A,"aria-current":a?"date":void 0,"aria-selected":this.shouldApplyAriaSelected()?i?"true":"false":void 0,onClick:c&&this.handleClick,onKeyDown:M&&this.handleKeyDown,elementRef:this.handleElementRef}),b("span",{css:z==null?void 0:z.day},b(a0,{alt:t},Z(o))))}},X1.displayName="Day",X1.componentId="Calendar.Day",X1.propTypes=ZI,X1.allowedProps=DI,X1.defaultProps={interaction:"enabled",isSelected:!1,isToday:!1,isOutsideMonth:!1},X1))||Gl)||Gl);const jI={as:s.elementType,children:h0.oneOf([mL]),currentDate:s.string,disabledDates:s.oneOfType([s.array,s.func]),locale:s.string,onDateSelected:s.func,onRequestRenderNextMonth:s.func,onRequestRenderPrevMonth:s.func,renderNavigationLabel:s.oneOfType([s.node,s.func]),renderNextMonthButton:s.oneOfType([s.node,s.func]),renderPrevMonthButton:s.oneOfType([s.node,s.func]),renderWeekdayLabels:s.arrayOf(s.oneOfType([s.node,s.func])),role:s.oneOf(["table","listbox"]),selectedDate:s.string,timezone:s.string,visibleMonth:s.string,withYearPicker:s.object},UI=["as","children","currentDate","disabledDates","locale","onDateSelected","onRequestRenderNextMonth","onRequestRenderPrevMonth","renderNavigationLabel","renderNextMonthButton","renderPrevMonthButton","renderWeekdayLabels","role","selectedDate","timezone","visibleMonth"];var sv,av,Yl,P0,lv,cv;let Jc=(sv=L(kI,HI),av=N(),sv(Yl=av(Yl=(P0=class L2 extends l.Component{constructor(e){super(e),this.ref=null,this._weekdayHeaderIds=(this.props.renderWeekdayLabels||this.defaultWeekdays).reduce((o,t,i)=>({...o,[i]:hy(`weekday-header-${i}`)}),{}),this.handleRef=o=>{this.ref=o},this.calculateState=(o,t,i)=>{const a=this.props.visibleMonth||i;return{visibleMonth:a?T.parse(a,o,t):T.now(o,t),today:i?T.parse(i,o,t):T.now(o,t)}},this.renderMonthNavigationButtons=()=>{const o=this.props,t=o.renderNextMonthButton,i=o.renderPrevMonthButton;return{prevButton:i?Z(i):lv||(lv=b(t1,{size:"small",withBackground:!1,withBorder:!1,renderIcon:b(ib,{color:"primary"}),screenReaderLabel:"Previous month"})),nextButton:t?Z(t):cv||(cv=b(t1,{size:"small",withBackground:!1,withBorder:!1,renderIcon:b(to,{color:"primary"}),screenReaderLabel:"Next month"}))}},this.handleMonthChange=o=>t=>{const i=this.props,a=i.onRequestRenderNextMonth,c=i.onRequestRenderPrevMonth,z=this.state.visibleMonth.clone();if(o==="prev"){if(!this.hasPrevMonth)return;if(c){c(t,z.subtract({months:1}).format("YYYY-MM"));return}z.subtract({months:1})}else{if(!this.hasNextMonth)return;if(a){a(t,z.add({months:1}).format("YYYY-MM"));return}z.add({months:1})}this.setState({visibleMonth:z})},this.handleYearChange=(o,t)=>{const i=this.props.withYearPicker,c=this.state.visibleMonth.clone();if(i!=null&&i.onRequestYearChange){i.onRequestYearChange(o,t);return}c.year(t),this.setState({visibleMonth:c})},this.handleDayClick=(o,{date:t})=>{if(this.props.onDateSelected){const i=T.parse(t,this.locale(),this.timezone());this.props.onDateSelected(i.toISOString(),i,o)}},this.state=this.calculateState(this.locale(),this.timezone(),e.currentDate)}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(e){var o,t;(o=(t=this.props).makeStyles)===null||o===void 0||o.call(t),(e.locale!==this.props.locale||e.timezone!==this.props.timezone||e.visibleMonth!==this.props.visibleMonth)&&this.setState(()=>({...this.calculateState(this.locale(),this.timezone(),this.props.currentDate)}))}get role(){return this.props.role==="listbox"?this.props.role:void 0}get hasPrevMonth(){return!this.props.withYearPicker||this.props.withYearPicker&&Number(this.state.visibleMonth.clone().subtract({months:1}).format("YYYY"))>=this.props.withYearPicker.startYear}get hasNextMonth(){return!this.props.withYearPicker||this.props.withYearPicker&&Number(this.state.visibleMonth.clone().add({months:1}).format("YYYY"))<=this.props.withYearPicker.endYear}renderHeader(){const e=this.props,o=e.renderNavigationLabel,t=e.styles,i=e.withYearPicker,a=this.state.visibleMonth,c=this.renderMonthNavigationButtons(),M=c.prevButton,z=c.nextButton,d=(f,u)=>i0(f,{onClick:c0(f.props.onClick,u)}),O=[t==null?void 0:t.navigation,...M||z?[t==null?void 0:t.navigationWithButtons]:[]],A=[];if(i){const f=i.startYear,u=i.endYear;for(let R=u;R>=f;R--)A.push(R)}return b("div",null,b("div",{css:O},M&&d(M,this.handleMonthChange("prev")),o?Z(o):b("span",null,b("div",null,a.format("MMMM")),i?null:b("div",null,a.format("YYYY"))),z&&d(z,this.handleMonthChange("next"))),i?b("div",{css:t==null?void 0:t.yearPicker},b(_b,{width:"90px",renderLabel:"",assistiveText:i.screenReaderLabel,value:Number(a.format("YYYY")),onChange:(f,{value:u})=>this.handleYearChange(f,Number(u))},A.map(f=>b(_b.Option,{key:f,id:`opt-${f}`,value:f},`${f}`)))):null)}renderBody(){return b("table",{role:this.role},b("thead",null,this.renderWeekdayHeaders()),b("tbody",null,this.renderDays()))}renderWeekdayHeaders(){const e=this.props.styles,o=this.props.renderWeekdayLabels||this.defaultWeekdays,t=o.length;return t0(t===7,`[Calendar] \`renderWeekdayLabels\` should be an array with 7 labels (one for each weekday). ${t} provided.`),b("tr",null,o.map((i,a)=>b("th",{key:a,scope:"col",css:e==null?void 0:e.weekdayHeader,id:this._weekdayHeaderIds[a]},Z(i))))}get defaultWeekdays(){const e=T.getLocalDayNamesOfTheWeek(this.locale(),"short"),o=T.getLocalDayNamesOfTheWeek(this.locale(),"long");return[b(a0,{key:1,alt:o[0]},e[0]),b(a0,{key:2,alt:o[1]},e[1]),b(a0,{key:3,alt:o[2]},e[2]),b(a0,{key:4,alt:o[3]},e[3]),b(a0,{key:5,alt:o[4]},e[4]),b(a0,{key:6,alt:o[5]},e[5]),b(a0,{key:7,alt:o[6]},e[6])]}renderDays(){const e=this.props.children,o=l.Children.toArray(e||this.renderDefaultdays()),t=o.length,i=this.role==="listbox"?"presentation":void 0;return t0(t===L2.DAY_COUNT,`[Calendar] should have exactly ${L2.DAY_COUNT} children. ${t} provided.`),o.reduce((a,c,M)=>{const z=Math.floor(M/7);return a[z]||a.push([]),a[z].push(c),a},[]).map(a=>b("tr",{key:`row${a[0].props.date}`,role:i},a.map((c,M)=>b("td",{key:c.props.date,role:i},i==="presentation"?i0(c,{"aria-describedby":this._weekdayHeaderIds[M]}):c))))}locale(){return this.props.locale?this.props.locale:this.context&&this.context.locale?this.context.locale:dM.browserLocale()}timezone(){return this.props.timezone?this.props.timezone:this.context&&this.context.timezone?this.context.timezone:T.browserTimeZone()}isDisabledDate(e){const o=this.props.disabledDates;if(!o)return!1;if(Array.isArray(o)){for(const t of o)if(e.isSame(t,"day"))return!0;return!1}return o(e.toISOString())}renderDefaultdays(){const e=this.props.selectedDate,o=this.state,t=o.visibleMonth,i=o.today,a=T.getFirstDayOfWeek(t.clone().startOf("month")),c=[];for(let M=0;M{const z=M.toISOString();return b(L2.Day,{key:z,date:z,isSelected:e?M.isSame(e,"day"):!1,isToday:M.isSame(i,"day"),isOutsideMonth:!M.isSame(t,"month"),label:M.format("D MMMM YYYY"),onClick:this.handleDayClick,interaction:this.isDisabledDate(M)?"disabled":"enabled"},M.format("DD"))})}render(){const e=w.omitViewProps(D(this.props,L2.allowedProps),L2);return b(w,Object.assign({},e,{as:this.props.as,display:"inline-block",padding:"small",background:"primary",elementRef:this.handleRef}),this.renderHeader(),this.renderBody())}},P0.displayName="Calendar",P0.componentId="Calendar",P0.contextType=tM,P0.Day=mL,P0.DAY_COUNT=42,P0.propTypes=jI,P0.allowedProps=UI,P0.defaultProps={as:"span",role:"table"},P0))||Yl)||Yl);const GI=(p,e)=>{const o=e.size,t=e.checked,i=e.focused,a=e.hovered,c=e.indeterminate,M=t||c,z={small:{label:{fontSize:p.labelFontSizeSmall},facade:{fontSize:p.iconSizeSmall,width:p.facadeSizeSmall,height:p.facadeSizeSmall}},medium:{label:{fontSize:p.labelFontSizeMedium},facade:{fontSize:p.iconSizeMedium,width:p.facadeSizeMedium,height:p.facadeSizeMedium}},large:{label:{fontSize:p.labelFontSizeLarge},facade:{fontSize:p.iconSizeLarge,width:p.facadeSizeLarge,height:p.facadeSizeLarge}}};return{checkboxFacade:{label:"checkboxFacade",display:"flex",alignItems:"flex-start"},facade:{label:"checkboxFacade__facade",color:p.color,background:p.background,position:"relative",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",flexShrink:0,transition:"all 0.2s",border:`${p.borderWidth} solid ${p.borderColor}`,borderRadius:p.borderRadius,marginInlineEnd:p.marginRight,marginInlineStart:"0",padding:p.padding,...z[o].facade,"&::before":{content:'""',position:"absolute",top:"-0.3125rem",bottom:"-0.3125rem",left:"-0.3125rem",right:"-0.3125rem",boxSizing:"border-box",borderRadius:`calc(${p.borderRadius} * 1.5)`,border:`${p.focusBorderWidth} ${p.focusBorderStyle} ${p.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none",...i&&{transform:"scale(1)",opacity:1}},...M&&{background:p.checkedBackground,borderColor:p.checkedBorderColor},...a&&{borderColor:p.hoverBorderColor}},label:{label:"checkboxFacade__label",flex:"1 1 auto",minWidth:"0.0625rem",color:p.labelColor,fontFamily:p.labelFontFamily,fontWeight:p.labelFontWeight,lineHeight:p.labelLineHeight,...z[o].label,...M&&{color:p.checkedLabelColor}}}},YI=p=>{const e=p.colors,o=p.borders,t=p.spacing,i=p.typography,a=p.key,c={canvas:{focusBorderColor:p["ic-brand-primary"],labelColor:p["ic-brand-font-color-dark"],checkedLabelColor:p["ic-brand-font-color-dark"],checkedBackground:p["ic-brand-font-color-dark"],checkedBorderColor:p["ic-brand-font-color-dark"],hoverBorderColor:p["ic-brand-font-color-dark"]}};return{...{color:e==null?void 0:e.textLightest,borderWidth:o==null?void 0:o.widthSmall,borderColor:e==null?void 0:e.borderMedium,borderRadius:o==null?void 0:o.radiusMedium,background:e==null?void 0:e.backgroundLightest,marginRight:t==null?void 0:t.xSmall,padding:t==null?void 0:t.xxxSmall,checkedBackground:e==null?void 0:e.backgroundDarkest,checkedBorderColor:e==null?void 0:e.borderDarkest,hoverBorderColor:e==null?void 0:e.borderDarkest,focusBorderColor:e==null?void 0:e.borderBrand,focusBorderWidth:o==null?void 0:o.widthMedium,focusBorderStyle:o==null?void 0:o.style,labelColor:e==null?void 0:e.textDarkest,checkedLabelColor:e==null?void 0:e.textDarkest,labelFontFamily:i==null?void 0:i.fontFamily,labelFontWeight:i==null?void 0:i.fontWeightNormal,labelLineHeight:i==null?void 0:i.lineHeightCondensed,facadeSizeSmall:"1rem",facadeSizeMedium:"1.25rem",facadeSizeLarge:"1.75rem",labelFontSizeSmall:i==null?void 0:i.fontSizeSmall,labelFontSizeMedium:i==null?void 0:i.fontSizeMedium,labelFontSizeLarge:i==null?void 0:i.fontSizeLarge,iconSizeSmall:"0.625rem",iconSizeMedium:"0.75rem",iconSizeLarge:"1rem"},...c[a]}},KI={children:s.node.isRequired,checked:s.bool,focused:s.bool,hovered:s.bool,size:s.oneOf(["small","medium","large"]),indeterminate:s.bool},QI=["children","checked","focused","hovered","size","indeterminate"];var Mv,bv,k1,zv,dv;let JI=(Mv=L(GI,YI),Mv(bv=(k1=class extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{this.ref=o}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}renderIcon(){return this.props.indeterminate?zv||(zv=b(n,{viewBox:"0 0 1920 1920",inline:!1},b("rect",{x:"140",y:"820",width:"1640",height:"280"}))):this.props.checked?dv||(dv=b(k2,{inline:!1})):null}render(){const e=this.props,o=e.children,t=e.styles;return b("span",{css:t==null?void 0:t.checkboxFacade,ref:this.handleRef},b("span",{css:t==null?void 0:t.facade,"aria-hidden":"true"},this.renderIcon()),b("span",{css:t==null?void 0:t.label},o))}},k1.displayName="CheckboxFacade",k1.componentId="CheckboxFacade",k1.propTypes=KI,k1.allowedProps=QI,k1.defaultProps={checked:!1,focused:!1,hovered:!1,size:"medium",indeterminate:!1},k1))||bv);const ex=(p,e)=>{const o=e.size,t=e.checked,i=e.focused,a=e.labelPlacement,c={start:{facade:{marginInlineEnd:"0",marginInlineStart:p.marginStart},label:{textAlign:"end"}},end:{facade:{marginInlineEnd:p.marginEnd,marginInlineStart:"0"},label:{}},top:{facade:{marginTop:p.marginVertical},label:{display:"block"}}},M={small:{fontSize:p.labelFontSizeSmall},medium:{fontSize:p.labelFontSizeMedium},large:{fontSize:p.labelFontSizeLarge}};return{toggleFacade:{label:"toggleFacade",display:"flex",alignItems:"center",...a==="top"&&{display:"block"}},facade:{label:"toggleFacade__facade",background:p.background,borderColor:p.borderColor,cursor:"pointer",display:"inline-block",userSelect:"none",position:"relative",borderRadius:"3rem",verticalAlign:"middle",boxShadow:`inset 0 0 0 ${p.borderWidth} ${p.borderColor}`,height:p.toggleSize,width:`calc(${p.toggleSize} * 1.5)`,...c[a].facade,...t&&{background:p.checkedBackground,boxShadow:"none"},"&::before":{content:'""',position:"absolute",top:"-0.25rem",left:"-0.25rem",width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",boxSizing:"border-box",borderRadius:p.borderRadius,border:`${p.focusBorderWidth} ${p.focusBorderStyle} ${p.focusOutlineColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none",...i&&{transform:"scale(1)",opacity:1}}},icon:{label:"toggleFacade__icon",display:"block",textAlign:"center",position:"absolute",top:"0",insetInlineStart:"0",insetInlineEnd:"auto",transition:"all 0.2s",transform:"translate3d(0, 0, 0)",fontSize:"0.875rem",height:p.toggleSize,width:p.toggleSize,...t&&{transform:"translate3d(50%, 0, 0)",'[dir="rtl"] &':{transform:"translate3d(-50%, 0, 0)"}}},iconToggle:{label:"toggleFacade__iconToggle",position:"relative",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center","&::before":{content:'""',position:"absolute",top:p.borderWidth,left:p.borderWidth,height:`calc(100% - (${p.borderWidth} * 2))`,width:`calc(100% - (${p.borderWidth} * 2))`,background:p.toggleBackground,boxShadow:p.toggleShadow,borderRadius:"100%"}},iconSVG:{label:"toggleFacade__iconSVG",display:"block",color:p.uncheckedIconColor,position:"relative",zIndex:1,...t&&{color:p.checkedIconColor}},label:{label:"toggleFacade__label",flex:1,minWidth:"0.0625rem",color:p.labelColor,fontFamily:p.labelFontFamily,fontWeight:p.labelFontWeight,lineHeight:p.labelLineHeight,...M[o],...c[a].label}}},ox=p=>{const e=p.colors,o=p.borders,t=p.forms,i=p.shadows,a=p.spacing,c=p.typography,M=p.key,z={canvas:{focusOutlineColor:p["ic-brand-primary"],labelColor:p["ic-brand-font-color-dark"]},"canvas-high-contrast":{background:e==null?void 0:e.backgroundDarkest,borderColor:e==null?void 0:e.borderDarkest}};return{...{color:e==null?void 0:e.textLightest,background:e==null?void 0:e.backgroundLight,borderColor:e==null?void 0:e.borderMedium,borderWidth:o==null?void 0:o.widthSmall,borderRadius:"4rem",marginEnd:a==null?void 0:a.small,marginStart:a==null?void 0:a.small,marginVertical:a==null?void 0:a.xSmall,checkedBackground:e==null?void 0:e.backgroundSuccess,uncheckedIconColor:e==null?void 0:e.textDarkest,checkedIconColor:e==null?void 0:e.textSuccess,focusOutlineColor:e==null?void 0:e.borderBrand,focusBorderWidth:o==null?void 0:o.widthMedium,focusBorderStyle:o==null?void 0:o.style,toggleBackground:e==null?void 0:e.backgroundLightest,toggleShadow:i==null?void 0:i.depth1,toggleSize:t==null?void 0:t.inputHeightSmall,labelColor:e==null?void 0:e.textDarkest,labelFontFamily:c==null?void 0:c.fontFamily,labelFontWeight:c==null?void 0:c.fontWeightNormal,labelLineHeight:c==null?void 0:c.lineHeightCondensed,labelFontSizeSmall:c==null?void 0:c.fontSizeSmall,labelFontSizeMedium:c==null?void 0:c.fontSizeMedium,labelFontSizeLarge:c==null?void 0:c.fontSizeLarge},...z[M]}},tx={children:s.node.isRequired,checked:s.bool,disabled:s.bool,readOnly:s.bool,focused:s.bool,size:s.oneOf(["small","medium","large"]),labelPlacement:s.oneOf(["top","start","end"])},px=["children","checked","disabled","readOnly","focused","size","labelPlacement"];var Ov,hv,H1;let nx=(Ov=L(ex,ox),Ov(hv=(H1=class extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{this.ref=o}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}renderIcon(){const e=this.props,o=e.styles;return e.checked?b(Ay,{css:o==null?void 0:o.iconSVG}):b(qy,{css:o==null?void 0:o.iconSVG})}renderLabel(){const e=this.props,o=e.children,t=e.styles;return b("span",{css:t==null?void 0:t.label},o)}render(){const e=this.props,o=e.labelPlacement,t=e.styles;return b("span",{css:t==null?void 0:t.toggleFacade,ref:this.handleRef},(o==="top"||o==="start")&&this.renderLabel(),b("span",{css:t==null?void 0:t.facade,"aria-hidden":"true"},b("span",{css:t==null?void 0:t.icon},b("span",{css:t==null?void 0:t.iconToggle},this.renderIcon()))),o==="end"&&this.renderLabel())}},H1.displayName="ToggleFacade",H1.componentId="ToggleFacade",H1.propTypes=tx,H1.allowedProps=px,H1.defaultProps={checked:!1,focused:!1,size:"medium",disabled:!1,readOnly:!1,labelPlacement:"end"},H1))||hv);const rx=(p,e)=>{const o=e.inline;return{checkbox:{label:"checkbox",position:"relative",width:"100%",...e.disabled&&{cursor:"not-allowed",pointerEvents:"none",opacity:.5},...o&&{display:"inline-block",verticalAlign:"middle",width:"auto"}},input:{label:"checkbox__input",padding:0,margin:0,fontSize:"inherit",lineHeight:"inherit",width:"auto",position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",opacity:1e-4},control:{label:"checkbox__control",all:"initial",display:"block",direction:"inherit",textAlign:"start"}}},ix={label:s.node.isRequired,id:s.string,value:s.oneOfType([s.string,s.number]),messages:s.arrayOf(n1.message),defaultChecked:s.bool,checked:u0(s.bool,"onChange","defaultChecked"),onChange:s.func,onKeyDown:s.func,onFocus:s.func,onBlur:s.func,onMouseOver:s.func,onMouseOut:s.func,disabled:s.bool,readOnly:s.bool,indeterminate:s.bool,size:s.oneOf(["small","medium","large"]),variant:s.oneOf(["simple","toggle"]),inline:s.bool,labelPlacement:s.oneOf(["top","start","end"])},sx=["label","id","value","messages","defaultChecked","checked","onChange","onKeyDown","onFocus","onBlur","onMouseOver","onMouseOut","disabled","readOnly","indeterminate","size","variant","inline","labelPlacement"];var Av,fv,uv,V2,$1;let RL=(Av=z0(),fv=L(rx,null),uv=N(),Av(V2=fv(V2=uv(V2=($1=class vL extends l.Component{constructor(e){super(e),this._defaultId=void 0,this._input=null,this.ref=null,this.handleRef=o=>{this.ref=o},this.handleChange=o=>{const t=this.props,i=t.onChange,a=t.disabled,c=t.checked,M=t.readOnly;if(a||M){o.preventDefault();return}typeof c>"u"&&this.setState({checked:!this.state.checked}),typeof i=="function"&&i(o)},this.handleKeyDown=o=>{this.props.variant==="toggle"&&o.keyCode===k.codes.enter&&(this._input&&this._input.click(),o.preventDefault())},this.handleFocus=()=>{this.setState({focused:!0})},this.handleBlur=()=>{this.setState({focused:!1})},this.handleMouseOver=()=>{!this.props.disabled&&this.setState({hovered:!0})},this.handleMouseOut=()=>{this.setState({hovered:!1})},this.state={focused:!1,hovered:!1,checked:typeof e.checked>"u"?!!e.defaultChecked:void 0},typeof e.checked>"u"&&(this.state.checked=!!e.defaultChecked),this._defaultId=e.deterministicId()}componentDidMount(){var e,o;this._input&&(this._input.indeterminate=this.props.indeterminate),(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(e){var o,t;e.indeterminate!==this.props.indeterminate&&this._input&&(this._input.indeterminate=this.props.indeterminate||!1),(o=(t=this.props).makeStyles)===null||o===void 0||o.call(t)}get id(){return this.props.id||this._defaultId}get checked(){return typeof this.props.checked>"u"?this.state.checked:this.props.checked}get focused(){return po(this._input)}focus(){this._input&&this._input.focus()}renderFacade(){const e=this.props,o=e.size,t=e.disabled,i=e.variant,a=e.label,c=e.readOnly,M=e.indeterminate,z=e.labelPlacement,d=e.themeOverride,O=this.state,A=O.hovered,f=O.focused;return t0(!(i==="simple"&&z!=="end"),"[Checkbox] The `simple` variant does not support the `labelPlacement` property. Use the `toggle` variant instead."),i==="toggle"?b(nx,{disabled:t,size:o,focused:f,checked:this.checked,readOnly:c,labelPlacement:z,themeOverride:d},a):b(JI,{size:o,hovered:A,focused:f,checked:this.checked,indeterminate:M,themeOverride:d},a)}renderMessages(){const e=this.props.messages;return e&&e.length>0?b(w,{display:"block",margin:"small 0 0"},b(My,{messages:e})):null}render(){const e=this.props,o=e.disabled,t=e.readOnly,i=e.value,a=e.onKeyDown,c=e.onFocus,M=e.onBlur,z=e.onMouseOver,d=e.onMouseOut,O=e.indeterminate,A=e.variant,f=e.styles,u=D(this.props,vL.allowedProps);return t0(!(A==="toggle"&&O),"[Checkbox] The `toggle` variant does not support the `indeterminate` property. Use the `simple` variant instead."),b("div",{css:f==null?void 0:f.checkbox,onMouseOver:c0(z,this.handleMouseOver),onMouseOut:c0(d,this.handleMouseOut),ref:this.handleRef},b("input",Object.assign({},u,{id:this.id,value:i,type:"checkbox",ref:R=>{this._input=R},disabled:o||t,"aria-checked":O?"mixed":void 0,css:f==null?void 0:f.input,onChange:this.handleChange,onKeyDown:c0(a,this.handleKeyDown),onFocus:c0(c,this.handleFocus),onBlur:c0(M,this.handleBlur),checked:this.checked})),b("label",{htmlFor:this.id,css:f==null?void 0:f.control},this.renderFacade(),this.renderMessages()))}},$1.displayName="Checkbox",$1.componentId="Checkbox",$1.propTypes=ix,$1.allowedProps=sx,$1.defaultProps={size:"medium",variant:"simple",disabled:!1,inline:!1,indeterminate:!1,readOnly:!1,labelPlacement:"end"},$1))||V2)||V2)||V2);const ax={name:s.string.isRequired,description:s.node.isRequired,defaultValue:s.array,value:u0(s.array),onChange:s.func,disabled:s.bool,readOnly:s.bool,messages:s.arrayOf(n1.message),children:h0.oneOf([RL]),size:s.oneOf(["small","medium","large"]),layout:s.oneOf(["stacked","columns","inline"])},lx=["name","description","defaultValue","value","onChange","disabled","readOnly","messages","children","size","layout"];var qv,mv,Kl,V1;let uX=(qv=z0(),mv=N(),qv(Kl=mv(Kl=(V1=class WL extends l.Component{constructor(e){super(e),this._messagesId=void 0,this.ref=null,this.handleRef=o=>{this.ref=o},this.handleChange=o=>{const t=this.value;if(this.props.disabled||this.props.readOnly){o.preventDefault();return}o.target.checked?t.push(o.target.value):t.splice(t.indexOf(o.target.value),1),typeof this.props.value>"u"&&this.setState({value:t}),typeof this.props.onChange=="function"&&this.props.onChange(t)},typeof e.value>"u"&&(this.state={value:e.defaultValue||[]}),this._messagesId=e.deterministicId()}get hasMessages(){return this.props.messages&&this.props.messages.length>0}get value(){return typeof this.props.value>"u"?[...this.state.value]:[...this.props.value]}renderChildren(){const e=this.props,o=e.children,t=e.name,i=e.size,a=e.disabled,c=e.readOnly;return l.Children.map(o,M=>M0(M,[RL])?i0(M,{key:`${M.props.name}`,name:t,label:M.props.label,disabled:a||M.props.disabled,readOnly:c||M.props.readOnly,size:i,checked:this.value.indexOf(M.props.value)>-1,onChange:this.handleChange,width:M.props.width||"auto","aria-describedby":this.hasMessages?this._messagesId:void 0}):M)}render(){return r.createElement(IM,Object.assign({},D(this.props,WL.allowedProps),Q0(this.props,IM.allowedProps),{description:this.props.description,rowSpacing:"small",vAlign:"top",messagesId:this._messagesId,elementRef:this.handleRef}),this.renderChildren())}},V1.displayName="CheckboxGroup",V1.componentId="CheckboxGroup",V1.propTypes=ax,V1.allowedProps=lx,V1.defaultProps={disabled:!1,readOnly:!1,size:"medium",layout:"stacked",children:null},V1))||Kl)||Kl);const Rv=_2` 0% {} 50% { background-color: transparent; } - 100% {}`,cx=(p,e)=>{const o=e.attachment,t={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}};return{codeEditor:{label:"codeEditor"},globalStyles:{".CodeMirror":{direction:"ltr",position:"relative",overflow:"hidden",background:p.background,height:"auto",fontFamily:p.fontFamily,fontSize:p.fontSize,borderRadius:p.borderRadius,border:p.border,color:p.color,lineHeight:1.4375,minHeight:"1.4375rem",marginBottom:"1rem",...o&&t[o]},".CodeMirror-lines":{padding:`${p.verticalPadding} 0`,cursor:"text",minHeight:"0.0625rem"},".CodeMirror pre":{padding:`0 ${p.horizontalPadding}`,borderRadius:"0",borderWidth:"0",background:"transparent",fontFamily:"inherit",fontSize:"inherit",margin:"0",whiteSpace:"pre",wordWrap:"normal",lineHeight:"inherit",color:"inherit",zIndex:`calc(${p.zIndex} + 3)`,position:"relative",overflow:"visible",WebkitTapHighlightColor:"transparent",fontVariantLigatures:"contextual"},".CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{background:p.background},".CodeMirror-cursor":{borderLeft:`0.0625rem solid ${p.cursorColor}`,borderRight:"none",width:"0",position:"absolute",pointerEvents:"none"},".CodeMirror-cursors":{visibility:"hidden",position:"relative",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-dragcursors":{visibility:"visible"},".CodeMirror-focused .CodeMirror-cursors":{visibility:"visible"},".CodeMirror-crosshair":{cursor:"crosshair"},".cm-fat-cursor .CodeMirror-cursor":{width:"auto",border:"0 !important",background:p.fatCursorBackground},".cm-fat-cursor .CodeMirror-cursors":{zIndex:`calc(${p.zIndex} + 2)`},".CodeMirror .CodeMirror-secondarycursor":{borderLeft:`0.0625rem solid ${p.secondaryCursorColor}`},".cm-fat-cursor-mark":{background:p.fatCursorMarkBackground,animation:`${Rv} 1.06s steps(1) infinite`},".cm-animate-fat-cursor":{width:"auto",border:"0",animation:`${Rv} 1.06s steps(1) infinite`,backgroundColor:p.fatCursorBackground},".cm-tab":{display:"inline-block",textDecoration:"inherit"},".CodeMirror-rulers":{position:"absolute",left:"0",right:"0",top:"-50px",bottom:"-20px",overflow:"hidden"},".CodeMirror-ruler":{borderLeft:`0.0625rem solid ${p.rulerColor}`,top:"0",bottom:"0",position:"absolute"},"div.CodeMirror span.CodeMirror-matchingbracket":{outline:`0.0625rem solid ${p.matchingBracketOutline}`},"div.CodeMirror span.CodeMirror-nonmatchingbracket":{color:p.nonMatchingBracketColor},".CodeMirror-matchingtag":{background:p.matchingTagBackground},"div.CodeMirror-activeline-background":{background:p.activeLineBackground},".CodeMirror-scroll":{overflow:"scroll !important",marginBottom:"-30px",marginRight:"-30px",paddingBottom:"30px",height:"100%",outline:"none",position:"relative"},".CodeMirror-sizer":{position:"relative",borderRight:"30px solid transparent"},".CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{position:"absolute",zIndex:`calc(${p.zIndex} + 7)`,display:"none"},".CodeMirror-vscrollbar":{right:"0",top:"0",overflowX:"hidden",overflowY:"scroll"},".CodeMirror-hscrollbar":{bottom:"0",left:"0",overflowY:"hidden",overflowX:"scroll"},".CodeMirror-scrollbar-filler":{right:"0",bottom:"0"},".CodeMirror-gutter-filler":{left:"0",bottom:"0"},".CodeMirror-gutters":{borderTopLeftRadius:p.borderRadius,borderBottomLeftRadius:p.borderRadius,borderRight:`0.0625rem solid ${p.gutterBorder}`,overflow:"hidden",background:p.gutterBackground,whiteSpace:"nowrap",position:"absolute",left:"0",top:"0",minHeight:"100%",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-linenumber":{padding:"0 0.1875rem 0 0.3125rem",minWidth:"1.25rem",textAlign:"right",color:p.lineNumberColor,whiteSpace:"nowrap"},".CodeMirror-guttermarker":{color:p.gutterMarkerColor},".CodeMirror-guttermarker-subtle":{color:p.gutterMarkerSubtleColor},".CodeMirror-gutter":{whiteSpace:"normal",height:"100%",display:"inline-block",verticalAlign:"top",marginBottom:"-30px"},".CodeMirror-gutter-wrapper":{position:"absolute",zIndex:`calc(${p.zIndex} + 5)`,background:"none !important",border:"none !important"},".CodeMirror-gutter-background":{position:"absolute",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-elt":{position:"absolute",cursor:"default",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-wrapper ::selection":{backgroundColor:"transparent"},".CodeMirror-wrap pre":{wordWrap:"break-word",whiteSpace:"pre-wrap",wordBreak:"normal"},".CodeMirror-linebackground":{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 1)`},".CodeMirror-linewidget":{position:"relative",zIndex:`calc(${p.zIndex} + 3)`,padding:"0.1px"},".CodeMirror-rtl pre":{direction:"rtl"},".CodeMirror-code":{outline:"none"},".CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber":{boxSizing:"content-box"},".CodeMirror-measure":{position:"absolute",width:"100%",height:"0",overflow:"hidden",visibility:"hidden"},".CodeMirror-measure pre":{position:"static"},".CodeMirror-selected, .CodeMirror-focused .CodeMirror-selected, .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection":{background:p.selectedBackground},".cm-searching":{background:p.searchingBackground},".cm-force-border":{paddingRight:"0.1px"},"@media print":{".CodeMirror .CodeMirror-cursors":{visibility:"hidden"}},".cm-tab-wrap-hack::after":{content:'""'},".CodeMirror-selectedtext":{background:"none"},".CodeMirror-focused":{boxShadow:p.focusBoxShadow,borderColor:p.focusBorderColor},".cm-keyword":{color:p.keywordColor,fontWeight:"bold"},".cm-atom":{color:p.atomColor},".cm-number":{color:p.numberColor},".cm-def":{color:p.defColor},"span.cm-variable-2, span.cm-tag":{color:p.tagColor},"span.cm-variable-3, span.cm-def, span.cm-type":{color:p.typeColor},".cm-variable":{color:p.variableColor},".cm-property":{color:p.propertyColor},".cm-qualifier":{color:p.qualifierColor},".cm-operator":{color:p.operatorColor},".cm-comment":{color:p.commentColor,fontWeight:"normal"},".cm-string":{color:p.stringColor,fontStyle:"italic"},".cm-string-2":{color:p.secondaryStringColor},".cm-meta":{color:p.metaColor},".cm-builtin":{color:p.builtInColor},".cm-tag":{color:p.tagColor},".cm-attribute":{color:p.attributeColor},".cm-header":{color:p.headerColor},".cm-hr":{color:p.hrColor},".cm-link":{color:p.linkColor,fontStyle:"italic",textDecoration:"none"},".cm-error":{}}}},Mx=p=>{const e=p.colors,o=p.borders,t=p.spacing,i=p.typography,a=p.stacking;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLight,border:`${o==null?void 0:o.widthSmall} solid ${e==null?void 0:e.borderLight}`,borderRadius:o==null?void 0:o.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,focusBoxShadow:`inset 0 0 0 1px ${e==null?void 0:e.borderLightest}`,horizontalPadding:t==null?void 0:t.xSmall,verticalPadding:t==null?void 0:t.xxSmall,color:e==null?void 0:e.textDarkest,lineNumberColor:e==null?void 0:e.textDark,gutterBorder:e==null?void 0:e.borderLight,gutterBackground:ae(e==null?void 0:e.backgroundLight,5),gutterMarkerColor:e==null?void 0:e.textBrand,gutterMarkerSubtleColor:e==null?void 0:e.textDark,cursorColor:e==null?void 0:e.textDarkest,secondaryCursorColor:e==null?void 0:e.textDark,rulerColor:e==null?void 0:e.borderDark,matchingBracketOutline:e==null?void 0:e.textDark,nonMatchingBracketColor:e==null?void 0:e.textDanger,matchingTagBackground:"rgba(255, 150, 0, 0.3)",activeLineBackground:ae(e==null?void 0:e.backgroundLight,5),selectedBackground:ae(e==null?void 0:e.backgroundLight,15),fatCursorBackground:e==null?void 0:e.backgroundSuccess,fatCursorMarkBackground:"rgba(20, 255, 20, 0.5)",searchingBackground:"rgba(255, 255, 0, 0.4)",zIndex:a==null?void 0:a.above,quoteColor:e==null?void 0:e.textSuccess,headerColor:e==null?void 0:e.textWarning,negativeColor:e==null?void 0:e.textDanger,positiveColor:e==null?void 0:e.textSuccess,keywordColor:e==null?void 0:e.textBrand,atomColor:e==null?void 0:e.textWarning,numberColor:e==null?void 0:e.textWarning,defColor:e==null?void 0:e.textDarkest,variableColor:e==null?void 0:e.textBrand,secondaryVariableColor:e==null?void 0:e.textWarning,typeColor:e==null?void 0:e.textBrand,commentColor:e==null?void 0:e.textDark,stringColor:e==null?void 0:e.textBrand,secondaryStringColor:e==null?void 0:e.textDanger,metaColor:e==null?void 0:e.textDarkest,qualifierColor:e==null?void 0:e.textSuccess,builtInColor:e==null?void 0:e.textWarning,bracketColor:e==null?void 0:e.borderDark,tagColor:e==null?void 0:e.textSuccess,attributeColor:e==null?void 0:e.textBrand,hrColor:e==null?void 0:e.borderDark,linkColor:e==null?void 0:e.textBrand,errorColor:e==null?void 0:e.textDanger,propertyColor:e==null?void 0:e.textAlert,nodeColor:e==null?void 0:e.textWarning,operatorColor:e==null?void 0:e.textDarkest}}},bx={label:s.string.isRequired,language:s.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:s.bool,onChange:s.func,options:s.object,attachment:s.oneOf(["bottom","top"]),value:s.string},zx=["label","language","readOnly","onChange","options","attachment","value"],dx=["value","label","attachment","readOnly","onChange","styles"];var vv,Wv,gv,yv,l1,Z1;const Ox=l.lazy(()=>typeof navigator>"u"||typeof global<"u"&&global.PREVENT_CODEMIRROR_RENDER===!0?Xb(()=>import("./index.node-CMA9-fmz.js"),__vite__mapDeps([0,1,2])):Xb(()=>import("./index-BX9l5wvn.js"),__vite__mapDeps([3,1,2])));let qX=(vv=z0(),Wv=L(cx,Mx),gv=N(),yv=my("[TBD]",null,"This component is deprecated and will be removed in a later version. Use instead, which is the wrapper for the newer version of the CodeMirror code editor."),vv(l1=Wv(l1=gv(l1=yv(l1=(Z1=class extends l.Component{constructor(e){super(e),this._id=void 0,this.codeMirror=void 0,this.ref=void 0,this.editor=void 0,this._id=e.deterministicId(),this.ref=l.createRef(),this.editor=l.createRef(),this.codeMirror=l.createRef()}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}focus(){this.codeMirror&&this.codeMirror.focus()}get mode(){const e=this.props.language;return e==="json"||e==="js"?"jsx":e==="sh"?"shell":e==="html"?"htmlmixed":e==="yml"?"yaml":e}get options(){return{...this.props.options,readOnly:this.props.readOnly,mode:this.mode,extraKeys:this.props.readOnly?{Tab:!1,"Shift-Tab":!1}:{}}}render(){const e=this.props,o=e.value,t=e.label;e.attachment,e.readOnly;const i=e.onChange,a=e.styles,c=Y(e,dx);return b("div",{css:a==null?void 0:a.codeEditor,ref:this.ref},b(l.Suspense,null,b(ON,{styles:a==null?void 0:a.globalStyles}),b("label",{htmlFor:this._id},b(m0,null,t),b(Ox,Object.assign({},p0(c),{id:this._id,options:this.options,value:o,onBeforeChange:(M,z,d)=>{i==null||i(d)},ref:this.codeMirror,editorDidMount:M=>{this.editor.current=M},editorWillUnmount:()=>{this.editor.current.display.wrapper.remove(),this.codeMirror.current&&(this.codeMirror.current.hydrated=!1)}})))))}},Z1.displayName="CodeEditor",Z1.componentId="CodeEditor",Z1.propTypes=bx,Z1.allowedProps=zx,Z1.defaultProps={language:"jsx",readOnly:!1,options:{styleActiveLine:!0}},Z1))||l1)||l1)||l1)||l1);const hx=(p,e)=>{const o=e.a*.4,t=1-o,i=1-t*(1-t);return`rgba( + 100% {}`,cx=(p,e)=>{const o=e.attachment,t={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}};return{codeEditor:{label:"codeEditor"},globalStyles:{".CodeMirror":{direction:"ltr",position:"relative",overflow:"hidden",background:p.background,height:"auto",fontFamily:p.fontFamily,fontSize:p.fontSize,borderRadius:p.borderRadius,border:p.border,color:p.color,lineHeight:1.4375,minHeight:"1.4375rem",marginBottom:"1rem",...o&&t[o]},".CodeMirror-lines":{padding:`${p.verticalPadding} 0`,cursor:"text",minHeight:"0.0625rem"},".CodeMirror pre":{padding:`0 ${p.horizontalPadding}`,borderRadius:"0",borderWidth:"0",background:"transparent",fontFamily:"inherit",fontSize:"inherit",margin:"0",whiteSpace:"pre",wordWrap:"normal",lineHeight:"inherit",color:"inherit",zIndex:`calc(${p.zIndex} + 3)`,position:"relative",overflow:"visible",WebkitTapHighlightColor:"transparent",fontVariantLigatures:"contextual"},".CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{background:p.background},".CodeMirror-cursor":{borderLeft:`0.0625rem solid ${p.cursorColor}`,borderRight:"none",width:"0",position:"absolute",pointerEvents:"none"},".CodeMirror-cursors":{visibility:"hidden",position:"relative",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-dragcursors":{visibility:"visible"},".CodeMirror-focused .CodeMirror-cursors":{visibility:"visible"},".CodeMirror-crosshair":{cursor:"crosshair"},".cm-fat-cursor .CodeMirror-cursor":{width:"auto",border:"0 !important",background:p.fatCursorBackground},".cm-fat-cursor .CodeMirror-cursors":{zIndex:`calc(${p.zIndex} + 2)`},".CodeMirror .CodeMirror-secondarycursor":{borderLeft:`0.0625rem solid ${p.secondaryCursorColor}`},".cm-fat-cursor-mark":{background:p.fatCursorMarkBackground,animation:`${Rv} 1.06s steps(1) infinite`},".cm-animate-fat-cursor":{width:"auto",border:"0",animation:`${Rv} 1.06s steps(1) infinite`,backgroundColor:p.fatCursorBackground},".cm-tab":{display:"inline-block",textDecoration:"inherit"},".CodeMirror-rulers":{position:"absolute",left:"0",right:"0",top:"-50px",bottom:"-20px",overflow:"hidden"},".CodeMirror-ruler":{borderLeft:`0.0625rem solid ${p.rulerColor}`,top:"0",bottom:"0",position:"absolute"},"div.CodeMirror span.CodeMirror-matchingbracket":{outline:`0.0625rem solid ${p.matchingBracketOutline}`},"div.CodeMirror span.CodeMirror-nonmatchingbracket":{color:p.nonMatchingBracketColor},".CodeMirror-matchingtag":{background:p.matchingTagBackground},"div.CodeMirror-activeline-background":{background:p.activeLineBackground},".CodeMirror-scroll":{overflow:"scroll !important",marginBottom:"-30px",marginRight:"-30px",paddingBottom:"30px",height:"100%",outline:"none",position:"relative"},".CodeMirror-sizer":{position:"relative",borderRight:"30px solid transparent"},".CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{position:"absolute",zIndex:`calc(${p.zIndex} + 7)`,display:"none"},".CodeMirror-vscrollbar":{right:"0",top:"0",overflowX:"hidden",overflowY:"scroll"},".CodeMirror-hscrollbar":{bottom:"0",left:"0",overflowY:"hidden",overflowX:"scroll"},".CodeMirror-scrollbar-filler":{right:"0",bottom:"0"},".CodeMirror-gutter-filler":{left:"0",bottom:"0"},".CodeMirror-gutters":{borderTopLeftRadius:p.borderRadius,borderBottomLeftRadius:p.borderRadius,borderRight:`0.0625rem solid ${p.gutterBorder}`,overflow:"hidden",background:p.gutterBackground,whiteSpace:"nowrap",position:"absolute",left:"0",top:"0",minHeight:"100%",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-linenumber":{padding:"0 0.1875rem 0 0.3125rem",minWidth:"1.25rem",textAlign:"right",color:p.lineNumberColor,whiteSpace:"nowrap"},".CodeMirror-guttermarker":{color:p.gutterMarkerColor},".CodeMirror-guttermarker-subtle":{color:p.gutterMarkerSubtleColor},".CodeMirror-gutter":{whiteSpace:"normal",height:"100%",display:"inline-block",verticalAlign:"top",marginBottom:"-30px"},".CodeMirror-gutter-wrapper":{position:"absolute",zIndex:`calc(${p.zIndex} + 5)`,background:"none !important",border:"none !important"},".CodeMirror-gutter-background":{position:"absolute",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-elt":{position:"absolute",cursor:"default",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-wrapper ::selection":{backgroundColor:"transparent"},".CodeMirror-wrap pre":{wordWrap:"break-word",whiteSpace:"pre-wrap",wordBreak:"normal"},".CodeMirror-linebackground":{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 1)`},".CodeMirror-linewidget":{position:"relative",zIndex:`calc(${p.zIndex} + 3)`,padding:"0.1px"},".CodeMirror-rtl pre":{direction:"rtl"},".CodeMirror-code":{outline:"none"},".CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber":{boxSizing:"content-box"},".CodeMirror-measure":{position:"absolute",width:"100%",height:"0",overflow:"hidden",visibility:"hidden"},".CodeMirror-measure pre":{position:"static"},".CodeMirror-selected, .CodeMirror-focused .CodeMirror-selected, .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection":{background:p.selectedBackground},".cm-searching":{background:p.searchingBackground},".cm-force-border":{paddingRight:"0.1px"},"@media print":{".CodeMirror .CodeMirror-cursors":{visibility:"hidden"}},".cm-tab-wrap-hack::after":{content:'""'},".CodeMirror-selectedtext":{background:"none"},".CodeMirror-focused":{boxShadow:p.focusBoxShadow,borderColor:p.focusBorderColor},".cm-keyword":{color:p.keywordColor,fontWeight:"bold"},".cm-atom":{color:p.atomColor},".cm-number":{color:p.numberColor},".cm-def":{color:p.defColor},"span.cm-variable-2, span.cm-tag":{color:p.tagColor},"span.cm-variable-3, span.cm-def, span.cm-type":{color:p.typeColor},".cm-variable":{color:p.variableColor},".cm-property":{color:p.propertyColor},".cm-qualifier":{color:p.qualifierColor},".cm-operator":{color:p.operatorColor},".cm-comment":{color:p.commentColor,fontWeight:"normal"},".cm-string":{color:p.stringColor,fontStyle:"italic"},".cm-string-2":{color:p.secondaryStringColor},".cm-meta":{color:p.metaColor},".cm-builtin":{color:p.builtInColor},".cm-tag":{color:p.tagColor},".cm-attribute":{color:p.attributeColor},".cm-header":{color:p.headerColor},".cm-hr":{color:p.hrColor},".cm-link":{color:p.linkColor,fontStyle:"italic",textDecoration:"none"},".cm-error":{}}}},Mx=p=>{const e=p.colors,o=p.borders,t=p.spacing,i=p.typography,a=p.stacking;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLight,border:`${o==null?void 0:o.widthSmall} solid ${e==null?void 0:e.borderLight}`,borderRadius:o==null?void 0:o.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,focusBoxShadow:`inset 0 0 0 1px ${e==null?void 0:e.borderLightest}`,horizontalPadding:t==null?void 0:t.xSmall,verticalPadding:t==null?void 0:t.xxSmall,color:e==null?void 0:e.textDarkest,lineNumberColor:e==null?void 0:e.textDark,gutterBorder:e==null?void 0:e.borderLight,gutterBackground:ae(e==null?void 0:e.backgroundLight,5),gutterMarkerColor:e==null?void 0:e.textBrand,gutterMarkerSubtleColor:e==null?void 0:e.textDark,cursorColor:e==null?void 0:e.textDarkest,secondaryCursorColor:e==null?void 0:e.textDark,rulerColor:e==null?void 0:e.borderDark,matchingBracketOutline:e==null?void 0:e.textDark,nonMatchingBracketColor:e==null?void 0:e.textDanger,matchingTagBackground:"rgba(255, 150, 0, 0.3)",activeLineBackground:ae(e==null?void 0:e.backgroundLight,5),selectedBackground:ae(e==null?void 0:e.backgroundLight,15),fatCursorBackground:e==null?void 0:e.backgroundSuccess,fatCursorMarkBackground:"rgba(20, 255, 20, 0.5)",searchingBackground:"rgba(255, 255, 0, 0.4)",zIndex:a==null?void 0:a.above,quoteColor:e==null?void 0:e.textSuccess,headerColor:e==null?void 0:e.textWarning,negativeColor:e==null?void 0:e.textDanger,positiveColor:e==null?void 0:e.textSuccess,keywordColor:e==null?void 0:e.textBrand,atomColor:e==null?void 0:e.textWarning,numberColor:e==null?void 0:e.textWarning,defColor:e==null?void 0:e.textDarkest,variableColor:e==null?void 0:e.textBrand,secondaryVariableColor:e==null?void 0:e.textWarning,typeColor:e==null?void 0:e.textBrand,commentColor:e==null?void 0:e.textDark,stringColor:e==null?void 0:e.textBrand,secondaryStringColor:e==null?void 0:e.textDanger,metaColor:e==null?void 0:e.textDarkest,qualifierColor:e==null?void 0:e.textSuccess,builtInColor:e==null?void 0:e.textWarning,bracketColor:e==null?void 0:e.borderDark,tagColor:e==null?void 0:e.textSuccess,attributeColor:e==null?void 0:e.textBrand,hrColor:e==null?void 0:e.borderDark,linkColor:e==null?void 0:e.textBrand,errorColor:e==null?void 0:e.textDanger,propertyColor:e==null?void 0:e.textAlert,nodeColor:e==null?void 0:e.textWarning,operatorColor:e==null?void 0:e.textDarkest}}},bx={label:s.string.isRequired,language:s.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:s.bool,onChange:s.func,options:s.object,attachment:s.oneOf(["bottom","top"]),value:s.string},zx=["label","language","readOnly","onChange","options","attachment","value"],dx=["value","label","attachment","readOnly","onChange","styles"];var vv,Wv,gv,yv,l1,Z1;const Ox=l.lazy(()=>typeof navigator>"u"||typeof global<"u"&&global.PREVENT_CODEMIRROR_RENDER===!0?Xb(()=>import("./index.node-C_A2BdXO.js"),__vite__mapDeps([0,1,2])):Xb(()=>import("./index-BER2qAwk.js"),__vite__mapDeps([3,1,2])));let qX=(vv=z0(),Wv=L(cx,Mx),gv=N(),yv=my("[TBD]",null,"This component is deprecated and will be removed in a later version. Use instead, which is the wrapper for the newer version of the CodeMirror code editor."),vv(l1=Wv(l1=gv(l1=yv(l1=(Z1=class extends l.Component{constructor(e){super(e),this._id=void 0,this.codeMirror=void 0,this.ref=void 0,this.editor=void 0,this._id=e.deterministicId(),this.ref=l.createRef(),this.editor=l.createRef(),this.codeMirror=l.createRef()}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}focus(){this.codeMirror&&this.codeMirror.focus()}get mode(){const e=this.props.language;return e==="json"||e==="js"?"jsx":e==="sh"?"shell":e==="html"?"htmlmixed":e==="yml"?"yaml":e}get options(){return{...this.props.options,readOnly:this.props.readOnly,mode:this.mode,extraKeys:this.props.readOnly?{Tab:!1,"Shift-Tab":!1}:{}}}render(){const e=this.props,o=e.value,t=e.label;e.attachment,e.readOnly;const i=e.onChange,a=e.styles,c=Y(e,dx);return b("div",{css:a==null?void 0:a.codeEditor,ref:this.ref},b(l.Suspense,null,b(ON,{styles:a==null?void 0:a.globalStyles}),b("label",{htmlFor:this._id},b(m0,null,t),b(Ox,Object.assign({},p0(c),{id:this._id,options:this.options,value:o,onBeforeChange:(M,z,d)=>{i==null||i(d)},ref:this.codeMirror,editorDidMount:M=>{this.editor.current=M},editorWillUnmount:()=>{this.editor.current.display.wrapper.remove(),this.codeMirror.current&&(this.codeMirror.current.hydrated=!1)}})))))}},Z1.displayName="CodeEditor",Z1.componentId="CodeEditor",Z1.propTypes=bx,Z1.allowedProps=zx,Z1.defaultProps={language:"jsx",readOnly:!1,options:{styleActiveLine:!0}},Z1))||l1)||l1)||l1)||l1);const hx=(p,e)=>{const o=e.a*.4,t=1-o,i=1-t*(1-t);return`rgba( ${e.r*o/i+p.r*t*(1-o)/i}, ${e.g*o/i+p.g*t*(1-o)/i}, ${e.b*o/i+p.b*t*(1-o)/i}, diff --git a/assets/index-Chr3yVKt.js b/assets/index-nQtORJ0H.js similarity index 99% rename from assets/index-Chr3yVKt.js rename to assets/index-nQtORJ0H.js index 5daeaea..1c93cf2 100644 --- a/assets/index-Chr3yVKt.js +++ b/assets/index-nQtORJ0H.js @@ -1,4 +1,4 @@ -import{P as l,T as re,w as F,t as R,r as h,h as se,p as ae,R as x,S as C,s as O,o as P,i as u,n as Q,X as de}from"./index-DVuP2ZA1.js";import{b as ue,F as M}from"./index-BgSjnQS9.js";import{w as ce,k as ge,B as pe,i as E,p as he,l as Y,m as fe,s as ve,A as be,a3 as me}from"./RenderTopNavBar-DdduE_mK.js";const ye={children:l.node,type:l.oneOf(["button","submit","reset"]),size:l.oneOf(["small","medium","large"]),elementRef:l.func,as:l.elementType,interaction:l.oneOf(["enabled","disabled","readonly"]),color:l.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:l.oneOf(["info","inverse"]),display:l.oneOf(["inline-block","block"]),textAlign:l.oneOf(["start","center"]),withBackground:l.bool,margin:re.spacing,cursor:l.string,href:l.string,renderIcon:l.oneOfType([l.node,l.func]),onClick:l.func},Se=["as","children","color","cursor","display","elementRef","focusColor","href","interaction","margin","renderIcon","size","textAlign","type","withBackground","onClick"],ke=["children","type","size","as","color","focusColor","display","textAlign","withBackground","margin","cursor","href","renderIcon"];var H,W,$,v;let xe=(H=F(null,ce),W=R(),H($=W($=(v=class extends h.Component{constructor(...e){super(...e),this._buttonComponent=null,this.ref=null,this.handleElementRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)},this.handleButtonRef=t=>{this._buttonComponent=t}}get focused(){return this._buttonComponent&&this._buttonComponent.focused}focus(){this._buttonComponent&&this._buttonComponent.focus()}render(){const e=this.props,t=e.children,o=e.type,n=e.size,a=e.as,r=e.color,s=e.focusColor,d=e.display,c=e.textAlign,g=e.withBackground,p=e.margin,f=e.cursor,z=e.href,oe=e.renderIcon,D=se(e,ke),te=ge({props:D}),le=this.props.themeOverride,ne={...ae(D),type:o,size:n,elementRef:this.handleElementRef,ref:this.handleButtonRef,as:a,color:r,interaction:te,focusColor:s,display:d,textAlign:c,withBackground:g,margin:p,cursor:f,href:z,renderIcon:oe,themeOverride:le};return x.createElement(pe,ne,t)}},v.displayName="Button",v.componentId="Button",v.propTypes=ye,v.allowedProps=Se,v.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",display:"inline-block",textAlign:"center",withBackground:!0,margin:"0",cursor:"pointer"},v))||$)||$);var L;class I extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconCopy",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),L||(L=x.createElement("path",{d:"M0 1919.887h1467.88V452.008H0v1467.88ZM1354.965 564.922v1242.051H112.914V564.922h1242.051ZM1920 0v1467.992h-338.741v-113.027h225.827V112.914H565.035V338.74H452.008V0H1920ZM338.741 1016.93h790.397V904.016H338.74v112.914Zm0 451.062h790.397v-113.027H338.74v113.027Zm0-225.588h564.57v-112.913H338.74v112.913Z",fillRule:"evenodd"})))}}I.glyphName="copy";I.variant="Line";I.displayName="IconCopyLine";I.propTypes={...C.propTypes};I.allowedProps=[...C.allowedProps];var A;class _ extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconX",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),A||(A=x.createElement("path",{d:"M797.32 985.882 344.772 1438.43l188.561 188.562 452.549-452.549 452.548 452.549 188.562-188.562-452.549-452.548 452.549-452.549-188.562-188.561L985.882 797.32 533.333 344.772 344.772 533.333z"})))}}_.glyphName="x";_.variant="Solid";_.displayName="IconXSolid";_.propTypes={...C.propTypes};_.allowedProps=[...C.allowedProps];const Ce={expanded:E(l.bool,"onToggle","defaultExpanded"),defaultExpanded:l.bool,onToggle:l.func,children:l.func,render:l.func},ze=["expanded","defaultExpanded","onToggle","children","render"];var V,N,S;const Ie=({expanded:i})=>({expanded:!i});let j=(V=O(),V(N=(S=class extends h.Component{constructor(e){super(e),this._contentId=void 0,this.handleToggle=t=>{this.isControlled()||this.setState(Ie),this.props.onToggle(t,!this.expanded)},this.state={expanded:this.isControlled(e)?e.expanded:e.defaultExpanded},this._contentId=e.deterministicId()}get expanded(){return this.isControlled()?this.props.expanded:this.state.expanded}isControlled(e=this.props){return typeof e.expanded=="boolean"}static getDerivedStateFromProps(e,t){return typeof e.expanded=="boolean"&&e.expanded!==t.expanded?{expanded:e.expanded}:null}render(){const e=this.props,t=e.children,o=e.render,n=o===void 0?t:o;return typeof n=="function"?n({expanded:this.expanded,getToggleProps:(a={})=>({"aria-controls":this._contentId,"aria-expanded":this.expanded,onClick:he(this.handleToggle,a.onClick),...a}),getDetailsProps:()=>({id:this._contentId})}):null}},S.displayName="Expandable",S.propTypes=Ce,S.allowedProps=ze,S.defaultProps={defaultExpanded:!1,onToggle:function(){},children:null},S))||N);const _e=(i,e)=>{const t=e.disabled,o=e.variant,n=e.context,a=e.size,r=e.inline,s=z=>`[class$=-radioInput__input]:${z} + [class$=-radioInput__control] &`,d={success:{backgroundColor:i.toggleBackgroundSuccess},danger:{backgroundColor:i.toggleBackgroundDanger},warning:{backgroundColor:i.toggleBackgroundWarning},off:{backgroundColor:i.toggleBackgroundOff}},c={simple:{base:{boxSizing:"border-box",display:"block",position:"relative",marginInlineEnd:i.simpleFacadeMarginEnd,marginInlineStart:"0",flexShrink:0,minWidth:"1rem",transition:"all 0.2s ease-out",borderRadius:"100%",border:`${i.borderWidth} solid ${i.borderColor}`,background:i.background,"&::before":{content:'""',position:"absolute",top:"-0.375rem",left:"-0.375rem",width:"calc(100% + 0.75rem)",height:"calc(100% + 0.75rem)",boxSizing:"border-box",borderRadius:"100%",border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none"},[s("hover")]:{borderColor:i.hoverBorderColor},[s("focus")]:{background:i.background,"&::before":{transform:"scale(1)",opacity:1}}},small:{width:i.simpleFacadeSmallSize,height:i.simpleFacadeSmallSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetSmall} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},medium:{width:i.simpleFacadeMediumSize,height:i.simpleFacadeMediumSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetMedium} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},large:{width:i.simpleFacadeLargeSize,height:i.simpleFacadeLargeSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetLarge} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}}},toggle:{base:{boxSizing:"border-box",visibility:"hidden",display:"block",position:"absolute",zIndex:1,top:"0",left:"0",width:"100%",height:"100%",boxShadow:i.toggleShadow,borderRadius:i.toggleBorderRadius,...d[n],"&::before":{content:'""',position:"absolute",top:"-0.25rem",left:"-0.25rem",width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",boxSizing:"border-box",borderRadius:`calc(${i.toggleBorderRadius} + 0.0625rem)`,border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0},[s("checked")]:{visibility:"visible"},[s("focus")]:{"&::before":{opacity:1,transform:"scale(1)"}}},small:{},medium:{},large:{}}},g={simple:{base:{display:"flex",alignItems:"flex-start"},small:{},medium:{},large:{}},toggle:{base:{display:"block",userSelect:"none",boxSizing:"border-box",position:"relative"},small:{padding:"0 0.5rem",height:i.toggleSmallHeight},medium:{padding:"0 0.875rem",height:i.toggleMediumHeight},large:{padding:"0 1rem",height:i.toggleLargeHeight}}},p={simple:{base:{},small:{fontSize:i.simpleFontSizeSmall},medium:{fontSize:i.simpleFontSizeMedium},large:{fontSize:i.simpleFontSizeLarge}},toggle:{base:{position:"relative",zIndex:1,textTransform:"uppercase",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",lineHeight:1,display:"flex",alignItems:"center",minWidth:"0.0625rem",[s("checked")]:{color:i.toggleHandleText},[s("focus")]:{textDecoration:"underline"}},small:{fontSize:i.toggleSmallFontSize,height:i.toggleSmallHeight,svg:{fontSize:`calc(${i.toggleSmallFontSize} + 0.375rem)`}},medium:{fontSize:i.toggleMediumFontSize,height:i.toggleMediumHeight,svg:{fontSize:`calc(${i.toggleMediumFontSize} + 0.375rem)`}},large:{fontSize:i.toggleLargeFontSize,height:i.toggleLargeHeight,svg:{fontSize:`calc(${i.toggleLargeFontSize} + 0.375rem)`}}}},f={padding:"0",margin:"0",fontSize:"inherit",lineHeight:"inherit",width:"auto",position:"absolute",top:"0",left:"0",opacity:1e-4};return{radioInput:{label:"radioInput",position:"relative",width:"100%",...t&&{opacity:.5},...r&&{display:"inline-block",verticalAlign:"middle",width:"auto"},"&:hover":{cursor:"default",...t&&{cursor:"not-allowed"}}},input:{label:"radioInput__input",...f,'&:is(input)[type="radio"]':f,'&:-webkit-any(input)[type="radio"]':f},control:{label:"radioInput__control",all:"initial",display:"block",direction:"inherit",textAlign:"start",...g[o].base,...g[o][a]},facade:{label:"radioInput__facade",...c[o].base,...c[o][a]},label:{label:"radioInput__label",flex:"1 1 auto",color:i.labelColor,fontFamily:i.labelFontFamily,fontWeight:i.labelFontWeight,lineHeight:i.labelLineHeight,...p[o].base,...p[o][a],cursor:"default"}}},$e=i=>{const e=i.spacing,t=i.borders,o=i.colors,n=i.forms,a=i.shadows,r=i.typography,s=i.key,d={canvas:{focusBorderColor:i["ic-brand-primary"],hoverBorderColor:i["ic-brand-font-color-dark"],labelColor:i["ic-brand-font-color-dark"]},"canvas-high-contrast":{toggleBackgroundOff:o==null?void 0:o.backgroundDarkest}};return{...{labelColor:o==null?void 0:o.textDarkest,labelFontFamily:r==null?void 0:r.fontFamily,labelFontWeight:r==null?void 0:r.fontWeightNormal,labelLineHeight:r==null?void 0:r.lineHeightCondensed,background:o==null?void 0:o.backgroundLightest,borderWidth:t==null?void 0:t.widthSmall,borderColor:o==null?void 0:o.borderMedium,hoverBorderColor:o==null?void 0:o.borderDarkest,controlSize:"0.1875rem",focusBorderColor:o==null?void 0:o.borderBrand,focusBorderWidth:t==null?void 0:t.widthMedium,focusBorderStyle:t==null?void 0:t.style,simpleFacadeSmallSize:"1rem",simpleFacadeMediumSize:"1.25rem",simpleFacadeLargeSize:"1.75rem",simpleCheckedInsetSmall:"0.1875rem",simpleCheckedInsetMedium:"0.25rem",simpleCheckedInsetLarge:"0.375rem",simpleFontSizeSmall:r==null?void 0:r.fontSizeSmall,simpleFontSizeMedium:r==null?void 0:r.fontSizeMedium,simpleFontSizeLarge:r==null?void 0:r.fontSizeLarge,simpleFacadeMarginEnd:e==null?void 0:e.xSmall,toggleBorderRadius:t==null?void 0:t.radiusSmall,toggleBorderWidth:t==null?void 0:t.widthLarge,toggleBackgroundSuccess:o==null?void 0:o.backgroundSuccess,toggleBackgroundOff:o==null?void 0:o.backgroundDark,toggleBackgroundDanger:o==null?void 0:o.backgroundDanger,toggleBackgroundWarning:o==null?void 0:o.backgroundWarning,toggleHandleText:o==null?void 0:o.textLightest,toggleSmallHeight:n==null?void 0:n.inputHeightSmall,toggleMediumHeight:n==null?void 0:n.inputHeightMedium,toggleLargeHeight:n==null?void 0:n.inputHeightLarge,toggleShadow:a==null?void 0:a.depth1,toggleSmallFontSize:r==null?void 0:r.fontSizeXSmall,toggleMediumFontSize:r==null?void 0:r.fontSizeSmall,toggleLargeFontSize:r==null?void 0:r.fontSizeMedium},...d[s]}},we={label:l.node.isRequired,value:l.oneOfType([l.string,l.number]),id:l.string,name:l.string,checked:l.bool,disabled:l.bool,readOnly:l.bool,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),context:l.oneOf(["success","warning","danger","off"]),inline:l.bool,onClick:l.func,onChange:l.func},Be=["label","value","id","name","checked","disabled","readOnly","variant","size","context","inline","onClick","onChange"];var G,Z,X,k,b;let Re=(G=O(),Z=F(_e,$e),X=R(),G(k=Z(k=X(k=(b=class T extends h.Component{constructor(e){super(e),this.ref=null,this._defaultId=void 0,this._input=null,this.handleClick=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.onClick=="function"&&this.props.onClick(t)},this.handleChange=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.checked>"u"&&this.setState({checked:!this.state.checked}),typeof this.props.onChange=="function"&&this.props.onChange(t)},typeof e.checked>"u"&&(this.state={checked:!1}),this._defaultId=e.deterministicId()}componentDidMount(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}componentDidUpdate(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}focus(){var e;(e=this._input)===null||e===void 0||e.focus()}get id(){return this.props.id||this._defaultId}get focused(){return Y(this._input)}get checked(){return typeof this.props.checked>"u"?this.state.checked:this.props.checked}render(){const e=this.props,t=e.disabled,o=e.readOnly,n=e.label,a=e.value,r=e.name,s=e.styles,d=P(this.props,T.allowedProps);return u("div",{css:s==null?void 0:s.radioInput,ref:c=>{this.ref=c}},u("input",Object.assign({},d,{id:this.id,ref:c=>{this._input=c},value:a,name:r,checked:this.checked,type:"radio",css:s==null?void 0:s.input,disabled:t||o,"aria-disabled":t||o?"true":void 0,onChange:this.handleChange,onClick:this.handleClick})),u("label",{css:s==null?void 0:s.control,htmlFor:this.id},u("span",{css:s==null?void 0:s.facade,"aria-hidden":"true"}),u("span",{css:s==null?void 0:s.label},n)))}},b.displayName="RadioInput",b.componentId="RadioInput",b.allowedProps=Be,b.propTypes=we,b.defaultProps={variant:"simple",size:"medium",disabled:!1,inline:!1,context:"success",readOnly:!1},b))||k)||k)||k);const Fe={name:l.string.isRequired,description:l.node.isRequired,defaultValue:l.oneOfType([l.string,l.number]),value:E(l.oneOfType([l.string,l.number])),onChange:l.func,disabled:l.bool,readOnly:l.bool,messages:l.arrayOf(ue.message),children:l.node,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),layout:l.oneOf(["stacked","columns","inline"])},Oe=["name","description","defaultValue","value","onChange","disabled","readOnly","messages","children","variant","size","layout"];var q,U,w,m;let je=(q=O(),U=R(),q(w=U(w=(m=class ee extends h.Component{constructor(e){super(e),this.ref=null,this._messagesId=void 0,this.handleRef=t=>{this.ref=t},this.handleChange=t=>{const o=t.target.value;if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.value>"u"&&this.setState({value:o}),typeof this.props.onChange=="function"&&this.props.onChange(t,o)},typeof e.value>"u"&&(this.state={value:e.defaultValue}),this._messagesId=e.deterministicId("RadioInputGroup-messages")}get hasMessages(){return!!this.props.messages&&this.props.messages.length>0}get value(){return typeof this.props.value>"u"?this.state.value:this.props.value}renderChildren(){const e=this.props,t=e.children,o=e.name,n=e.variant,a=e.size,r=e.disabled,s=e.readOnly;return h.Children.map(t,(d,c)=>{if(fe(d,[Re])){const g=this.value===d.props.value,p=!this.value&&c===0;return ve(d,{name:o,disabled:r||d.props.disabled,variant:n,size:a,checked:g,onChange:this.handleChange,readOnly:s||d.props.readOnly,width:d.props.width||"auto","aria-describedby":this.hasMessages?this._messagesId:void 0,tabIndex:g||p?0:-1,label:d.props.label})}else return d})}render(){const e=this.props,t=e.variant,o=e.layout,n=e.description;return x.createElement(M,Object.assign({},P(this.props,ee.allowedProps),Q(this.props,M.allowedProps),{description:n,layout:o==="columns"&&t==="toggle"?"stacked":o,vAlign:t==="toggle"?"middle":"top",rowSpacing:"small",colSpacing:t==="toggle"?"none":"small",startAt:t==="toggle"?"small":void 0,messagesId:this._messagesId,elementRef:this.handleRef}),this.renderChildren())}},m.displayName="RadioInputGroup",m.componentId="RadioInputGroup",m.allowedProps=Oe,m.propTypes=Fe,m.defaultProps={disabled:!1,variant:"simple",size:"medium",layout:"stacked",readOnly:!1},m))||w)||w);const Pe=de` +import{P as l,T as re,w as F,t as R,r as h,h as se,p as ae,R as x,S as C,s as O,o as P,i as u,n as Q,X as de}from"./index-D8uc6p-q.js";import{b as ue,F as M}from"./index-B2tgx2JB.js";import{w as ce,k as ge,B as pe,i as E,p as he,l as Y,m as fe,s as ve,A as be,a3 as me}from"./RenderTopNavBar-DwZOqeqN.js";const ye={children:l.node,type:l.oneOf(["button","submit","reset"]),size:l.oneOf(["small","medium","large"]),elementRef:l.func,as:l.elementType,interaction:l.oneOf(["enabled","disabled","readonly"]),color:l.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:l.oneOf(["info","inverse"]),display:l.oneOf(["inline-block","block"]),textAlign:l.oneOf(["start","center"]),withBackground:l.bool,margin:re.spacing,cursor:l.string,href:l.string,renderIcon:l.oneOfType([l.node,l.func]),onClick:l.func},Se=["as","children","color","cursor","display","elementRef","focusColor","href","interaction","margin","renderIcon","size","textAlign","type","withBackground","onClick"],ke=["children","type","size","as","color","focusColor","display","textAlign","withBackground","margin","cursor","href","renderIcon"];var H,W,$,v;let xe=(H=F(null,ce),W=R(),H($=W($=(v=class extends h.Component{constructor(...e){super(...e),this._buttonComponent=null,this.ref=null,this.handleElementRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)},this.handleButtonRef=t=>{this._buttonComponent=t}}get focused(){return this._buttonComponent&&this._buttonComponent.focused}focus(){this._buttonComponent&&this._buttonComponent.focus()}render(){const e=this.props,t=e.children,o=e.type,n=e.size,a=e.as,r=e.color,s=e.focusColor,d=e.display,c=e.textAlign,g=e.withBackground,p=e.margin,f=e.cursor,z=e.href,oe=e.renderIcon,D=se(e,ke),te=ge({props:D}),le=this.props.themeOverride,ne={...ae(D),type:o,size:n,elementRef:this.handleElementRef,ref:this.handleButtonRef,as:a,color:r,interaction:te,focusColor:s,display:d,textAlign:c,withBackground:g,margin:p,cursor:f,href:z,renderIcon:oe,themeOverride:le};return x.createElement(pe,ne,t)}},v.displayName="Button",v.componentId="Button",v.propTypes=ye,v.allowedProps=Se,v.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",display:"inline-block",textAlign:"center",withBackground:!0,margin:"0",cursor:"pointer"},v))||$)||$);var L;class I extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconCopy",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),L||(L=x.createElement("path",{d:"M0 1919.887h1467.88V452.008H0v1467.88ZM1354.965 564.922v1242.051H112.914V564.922h1242.051ZM1920 0v1467.992h-338.741v-113.027h225.827V112.914H565.035V338.74H452.008V0H1920ZM338.741 1016.93h790.397V904.016H338.74v112.914Zm0 451.062h790.397v-113.027H338.74v113.027Zm0-225.588h564.57v-112.913H338.74v112.913Z",fillRule:"evenodd"})))}}I.glyphName="copy";I.variant="Line";I.displayName="IconCopyLine";I.propTypes={...C.propTypes};I.allowedProps=[...C.allowedProps];var A;class _ extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconX",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),A||(A=x.createElement("path",{d:"M797.32 985.882 344.772 1438.43l188.561 188.562 452.549-452.549 452.548 452.549 188.562-188.562-452.549-452.548 452.549-452.549-188.562-188.561L985.882 797.32 533.333 344.772 344.772 533.333z"})))}}_.glyphName="x";_.variant="Solid";_.displayName="IconXSolid";_.propTypes={...C.propTypes};_.allowedProps=[...C.allowedProps];const Ce={expanded:E(l.bool,"onToggle","defaultExpanded"),defaultExpanded:l.bool,onToggle:l.func,children:l.func,render:l.func},ze=["expanded","defaultExpanded","onToggle","children","render"];var V,N,S;const Ie=({expanded:i})=>({expanded:!i});let j=(V=O(),V(N=(S=class extends h.Component{constructor(e){super(e),this._contentId=void 0,this.handleToggle=t=>{this.isControlled()||this.setState(Ie),this.props.onToggle(t,!this.expanded)},this.state={expanded:this.isControlled(e)?e.expanded:e.defaultExpanded},this._contentId=e.deterministicId()}get expanded(){return this.isControlled()?this.props.expanded:this.state.expanded}isControlled(e=this.props){return typeof e.expanded=="boolean"}static getDerivedStateFromProps(e,t){return typeof e.expanded=="boolean"&&e.expanded!==t.expanded?{expanded:e.expanded}:null}render(){const e=this.props,t=e.children,o=e.render,n=o===void 0?t:o;return typeof n=="function"?n({expanded:this.expanded,getToggleProps:(a={})=>({"aria-controls":this._contentId,"aria-expanded":this.expanded,onClick:he(this.handleToggle,a.onClick),...a}),getDetailsProps:()=>({id:this._contentId})}):null}},S.displayName="Expandable",S.propTypes=Ce,S.allowedProps=ze,S.defaultProps={defaultExpanded:!1,onToggle:function(){},children:null},S))||N);const _e=(i,e)=>{const t=e.disabled,o=e.variant,n=e.context,a=e.size,r=e.inline,s=z=>`[class$=-radioInput__input]:${z} + [class$=-radioInput__control] &`,d={success:{backgroundColor:i.toggleBackgroundSuccess},danger:{backgroundColor:i.toggleBackgroundDanger},warning:{backgroundColor:i.toggleBackgroundWarning},off:{backgroundColor:i.toggleBackgroundOff}},c={simple:{base:{boxSizing:"border-box",display:"block",position:"relative",marginInlineEnd:i.simpleFacadeMarginEnd,marginInlineStart:"0",flexShrink:0,minWidth:"1rem",transition:"all 0.2s ease-out",borderRadius:"100%",border:`${i.borderWidth} solid ${i.borderColor}`,background:i.background,"&::before":{content:'""',position:"absolute",top:"-0.375rem",left:"-0.375rem",width:"calc(100% + 0.75rem)",height:"calc(100% + 0.75rem)",boxSizing:"border-box",borderRadius:"100%",border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none"},[s("hover")]:{borderColor:i.hoverBorderColor},[s("focus")]:{background:i.background,"&::before":{transform:"scale(1)",opacity:1}}},small:{width:i.simpleFacadeSmallSize,height:i.simpleFacadeSmallSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetSmall} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},medium:{width:i.simpleFacadeMediumSize,height:i.simpleFacadeMediumSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetMedium} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},large:{width:i.simpleFacadeLargeSize,height:i.simpleFacadeLargeSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetLarge} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}}},toggle:{base:{boxSizing:"border-box",visibility:"hidden",display:"block",position:"absolute",zIndex:1,top:"0",left:"0",width:"100%",height:"100%",boxShadow:i.toggleShadow,borderRadius:i.toggleBorderRadius,...d[n],"&::before":{content:'""',position:"absolute",top:"-0.25rem",left:"-0.25rem",width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",boxSizing:"border-box",borderRadius:`calc(${i.toggleBorderRadius} + 0.0625rem)`,border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0},[s("checked")]:{visibility:"visible"},[s("focus")]:{"&::before":{opacity:1,transform:"scale(1)"}}},small:{},medium:{},large:{}}},g={simple:{base:{display:"flex",alignItems:"flex-start"},small:{},medium:{},large:{}},toggle:{base:{display:"block",userSelect:"none",boxSizing:"border-box",position:"relative"},small:{padding:"0 0.5rem",height:i.toggleSmallHeight},medium:{padding:"0 0.875rem",height:i.toggleMediumHeight},large:{padding:"0 1rem",height:i.toggleLargeHeight}}},p={simple:{base:{},small:{fontSize:i.simpleFontSizeSmall},medium:{fontSize:i.simpleFontSizeMedium},large:{fontSize:i.simpleFontSizeLarge}},toggle:{base:{position:"relative",zIndex:1,textTransform:"uppercase",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",lineHeight:1,display:"flex",alignItems:"center",minWidth:"0.0625rem",[s("checked")]:{color:i.toggleHandleText},[s("focus")]:{textDecoration:"underline"}},small:{fontSize:i.toggleSmallFontSize,height:i.toggleSmallHeight,svg:{fontSize:`calc(${i.toggleSmallFontSize} + 0.375rem)`}},medium:{fontSize:i.toggleMediumFontSize,height:i.toggleMediumHeight,svg:{fontSize:`calc(${i.toggleMediumFontSize} + 0.375rem)`}},large:{fontSize:i.toggleLargeFontSize,height:i.toggleLargeHeight,svg:{fontSize:`calc(${i.toggleLargeFontSize} + 0.375rem)`}}}},f={padding:"0",margin:"0",fontSize:"inherit",lineHeight:"inherit",width:"auto",position:"absolute",top:"0",left:"0",opacity:1e-4};return{radioInput:{label:"radioInput",position:"relative",width:"100%",...t&&{opacity:.5},...r&&{display:"inline-block",verticalAlign:"middle",width:"auto"},"&:hover":{cursor:"default",...t&&{cursor:"not-allowed"}}},input:{label:"radioInput__input",...f,'&:is(input)[type="radio"]':f,'&:-webkit-any(input)[type="radio"]':f},control:{label:"radioInput__control",all:"initial",display:"block",direction:"inherit",textAlign:"start",...g[o].base,...g[o][a]},facade:{label:"radioInput__facade",...c[o].base,...c[o][a]},label:{label:"radioInput__label",flex:"1 1 auto",color:i.labelColor,fontFamily:i.labelFontFamily,fontWeight:i.labelFontWeight,lineHeight:i.labelLineHeight,...p[o].base,...p[o][a],cursor:"default"}}},$e=i=>{const e=i.spacing,t=i.borders,o=i.colors,n=i.forms,a=i.shadows,r=i.typography,s=i.key,d={canvas:{focusBorderColor:i["ic-brand-primary"],hoverBorderColor:i["ic-brand-font-color-dark"],labelColor:i["ic-brand-font-color-dark"]},"canvas-high-contrast":{toggleBackgroundOff:o==null?void 0:o.backgroundDarkest}};return{...{labelColor:o==null?void 0:o.textDarkest,labelFontFamily:r==null?void 0:r.fontFamily,labelFontWeight:r==null?void 0:r.fontWeightNormal,labelLineHeight:r==null?void 0:r.lineHeightCondensed,background:o==null?void 0:o.backgroundLightest,borderWidth:t==null?void 0:t.widthSmall,borderColor:o==null?void 0:o.borderMedium,hoverBorderColor:o==null?void 0:o.borderDarkest,controlSize:"0.1875rem",focusBorderColor:o==null?void 0:o.borderBrand,focusBorderWidth:t==null?void 0:t.widthMedium,focusBorderStyle:t==null?void 0:t.style,simpleFacadeSmallSize:"1rem",simpleFacadeMediumSize:"1.25rem",simpleFacadeLargeSize:"1.75rem",simpleCheckedInsetSmall:"0.1875rem",simpleCheckedInsetMedium:"0.25rem",simpleCheckedInsetLarge:"0.375rem",simpleFontSizeSmall:r==null?void 0:r.fontSizeSmall,simpleFontSizeMedium:r==null?void 0:r.fontSizeMedium,simpleFontSizeLarge:r==null?void 0:r.fontSizeLarge,simpleFacadeMarginEnd:e==null?void 0:e.xSmall,toggleBorderRadius:t==null?void 0:t.radiusSmall,toggleBorderWidth:t==null?void 0:t.widthLarge,toggleBackgroundSuccess:o==null?void 0:o.backgroundSuccess,toggleBackgroundOff:o==null?void 0:o.backgroundDark,toggleBackgroundDanger:o==null?void 0:o.backgroundDanger,toggleBackgroundWarning:o==null?void 0:o.backgroundWarning,toggleHandleText:o==null?void 0:o.textLightest,toggleSmallHeight:n==null?void 0:n.inputHeightSmall,toggleMediumHeight:n==null?void 0:n.inputHeightMedium,toggleLargeHeight:n==null?void 0:n.inputHeightLarge,toggleShadow:a==null?void 0:a.depth1,toggleSmallFontSize:r==null?void 0:r.fontSizeXSmall,toggleMediumFontSize:r==null?void 0:r.fontSizeSmall,toggleLargeFontSize:r==null?void 0:r.fontSizeMedium},...d[s]}},we={label:l.node.isRequired,value:l.oneOfType([l.string,l.number]),id:l.string,name:l.string,checked:l.bool,disabled:l.bool,readOnly:l.bool,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),context:l.oneOf(["success","warning","danger","off"]),inline:l.bool,onClick:l.func,onChange:l.func},Be=["label","value","id","name","checked","disabled","readOnly","variant","size","context","inline","onClick","onChange"];var G,Z,X,k,b;let Re=(G=O(),Z=F(_e,$e),X=R(),G(k=Z(k=X(k=(b=class T extends h.Component{constructor(e){super(e),this.ref=null,this._defaultId=void 0,this._input=null,this.handleClick=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.onClick=="function"&&this.props.onClick(t)},this.handleChange=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.checked>"u"&&this.setState({checked:!this.state.checked}),typeof this.props.onChange=="function"&&this.props.onChange(t)},typeof e.checked>"u"&&(this.state={checked:!1}),this._defaultId=e.deterministicId()}componentDidMount(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}componentDidUpdate(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}focus(){var e;(e=this._input)===null||e===void 0||e.focus()}get id(){return this.props.id||this._defaultId}get focused(){return Y(this._input)}get checked(){return typeof this.props.checked>"u"?this.state.checked:this.props.checked}render(){const e=this.props,t=e.disabled,o=e.readOnly,n=e.label,a=e.value,r=e.name,s=e.styles,d=P(this.props,T.allowedProps);return u("div",{css:s==null?void 0:s.radioInput,ref:c=>{this.ref=c}},u("input",Object.assign({},d,{id:this.id,ref:c=>{this._input=c},value:a,name:r,checked:this.checked,type:"radio",css:s==null?void 0:s.input,disabled:t||o,"aria-disabled":t||o?"true":void 0,onChange:this.handleChange,onClick:this.handleClick})),u("label",{css:s==null?void 0:s.control,htmlFor:this.id},u("span",{css:s==null?void 0:s.facade,"aria-hidden":"true"}),u("span",{css:s==null?void 0:s.label},n)))}},b.displayName="RadioInput",b.componentId="RadioInput",b.allowedProps=Be,b.propTypes=we,b.defaultProps={variant:"simple",size:"medium",disabled:!1,inline:!1,context:"success",readOnly:!1},b))||k)||k)||k);const Fe={name:l.string.isRequired,description:l.node.isRequired,defaultValue:l.oneOfType([l.string,l.number]),value:E(l.oneOfType([l.string,l.number])),onChange:l.func,disabled:l.bool,readOnly:l.bool,messages:l.arrayOf(ue.message),children:l.node,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),layout:l.oneOf(["stacked","columns","inline"])},Oe=["name","description","defaultValue","value","onChange","disabled","readOnly","messages","children","variant","size","layout"];var q,U,w,m;let je=(q=O(),U=R(),q(w=U(w=(m=class ee extends h.Component{constructor(e){super(e),this.ref=null,this._messagesId=void 0,this.handleRef=t=>{this.ref=t},this.handleChange=t=>{const o=t.target.value;if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.value>"u"&&this.setState({value:o}),typeof this.props.onChange=="function"&&this.props.onChange(t,o)},typeof e.value>"u"&&(this.state={value:e.defaultValue}),this._messagesId=e.deterministicId("RadioInputGroup-messages")}get hasMessages(){return!!this.props.messages&&this.props.messages.length>0}get value(){return typeof this.props.value>"u"?this.state.value:this.props.value}renderChildren(){const e=this.props,t=e.children,o=e.name,n=e.variant,a=e.size,r=e.disabled,s=e.readOnly;return h.Children.map(t,(d,c)=>{if(fe(d,[Re])){const g=this.value===d.props.value,p=!this.value&&c===0;return ve(d,{name:o,disabled:r||d.props.disabled,variant:n,size:a,checked:g,onChange:this.handleChange,readOnly:s||d.props.readOnly,width:d.props.width||"auto","aria-describedby":this.hasMessages?this._messagesId:void 0,tabIndex:g||p?0:-1,label:d.props.label})}else return d})}render(){const e=this.props,t=e.variant,o=e.layout,n=e.description;return x.createElement(M,Object.assign({},P(this.props,ee.allowedProps),Q(this.props,M.allowedProps),{description:n,layout:o==="columns"&&t==="toggle"?"stacked":o,vAlign:t==="toggle"?"middle":"top",rowSpacing:"small",colSpacing:t==="toggle"?"none":"small",startAt:t==="toggle"?"small":void 0,messagesId:this._messagesId,elementRef:this.handleRef}),this.renderChildren())}},m.displayName="RadioInputGroup",m.componentId="RadioInputGroup",m.allowedProps=Oe,m.propTypes=Fe,m.defaultProps={disabled:!1,variant:"simple",size:"medium",layout:"stacked",readOnly:!1},m))||w)||w);const Pe=de` to { opacity: 1; }`,Ee=(i,e,t)=>{const o=e.fluidWidth,n=e.iconPosition,a=e.size,r=e.variant,s=t.animate,d=n==="end"&&(r==="filled"||o),c=o?{display:"block",width:"100%"}:{},g={start:{marginInlineEnd:i.iconMargin,marginInlineStart:0},end:{marginInlineStart:i.iconMargin,marginInlineEnd:0}},p={small:{fontSize:i.fontSizeSmall},medium:{fontSize:i.fontSizeMedium},large:{fontSize:i.fontSizeLarge}},f={small:{fontSize:i.smallIconSize},medium:{fontSize:i.mediumIconSize},large:{fontSize:i.largeIconSize}},z=n==="start"&&!o?{small:{paddingInlineStart:`calc(${i.smallIconSize} + ${i.togglePadding})`,paddingInlineEnd:"0"},medium:{paddingInlineStart:`calc(${i.mediumIconSize} + ${i.togglePadding})`,paddingInlineEnd:"0"},large:{paddingInlineStart:`calc(${i.largeIconSize} + ${i.togglePadding})`,paddingInlineEnd:"0"}}:{small:{},medium:{},large:{}};return{toggleDetails:{label:"toggleDetails",fontFamily:i.fontFamily,fontWeight:i.fontWeight,lineHeight:i.lineHeight},summary:{label:"toggleDetails__summary",position:"relative",display:"flex",alignItems:"center",boxSizing:"border-box",textAlign:"start"},summaryText:{label:"toggleDetails__summaryText",minWidth:"0.0625rem",flexGrow:1,...d?{flex:1}:{}},toggle:{label:"toggleDetails__toggle",fontFamily:i.fontFamily,appearance:"none",cursor:"pointer",userSelect:"none",touchAction:"manipulation",position:"relative",overflow:"visible",boxSizing:"border-box",padding:"0",margin:"0",outline:"none",border:"none",background:"transparent",color:i.textColor,"&::-moz-focus-inner":{padding:"0",margin:"0"},"&::before":{content:'""',position:"absolute",top:"-0.375rem",left:"-0.375rem",right:"-0.375rem",bottom:"-0.375rem",border:`${i.toggleBorderWidth} ${i.toggleBorderStyle} ${i.toggleFocusBorderColor}`,borderRadius:`calc(${i.toggleBorderRadius} * 1.5)`,opacity:0,pointerEvents:"none"},"&:focus":{"&::before":{opacity:1}},"&:focus, &:hover, &:active":{textDecoration:"none",color:i.textColor},textDecoration:"none",...c,...p[a]},icon:{label:"toggleDetails__icon","& > svg":{display:"block"},...g[n],...f[a]},details:{label:"toggleDetails__details",boxSizing:"border-box",paddingTop:i.togglePadding,color:i.textColor,...p[a],...z[a]},content:s?{label:"toggleDetails__content",opacity:.01,animationName:Pe,animationFillMode:"forwards",animationDuration:".3s"}:{}}},De=i=>{const e=i.colors,t=i.spacing,o=i.borders,n=i.typography,a=i.key,r={canvas:{toggleFocusBorderColor:i["ic-brand-primary"],iconColor:i["ic-brand-font-color-dark"],textColor:i["ic-brand-font-color-dark"]}};return{...{fontFamily:n==null?void 0:n.fontFamily,fontWeight:n==null?void 0:n.fontWeightNormal,lineHeight:n==null?void 0:n.lineHeight,textColor:e==null?void 0:e.textDarkest,fontSizeSmall:n==null?void 0:n.fontSizeSmall,fontSizeMedium:n==null?void 0:n.fontSizeMedium,fontSizeLarge:n==null?void 0:n.fontSizeLarge,smallIconSize:"0.5rem",mediumIconSize:"0.75rem",largeIconSize:"1rem",iconMargin:t==null?void 0:t.xxSmall,iconColor:e==null?void 0:e.textDarkest,togglePadding:t==null?void 0:t.xxSmall,toggleBorderRadius:o==null?void 0:o.radiusMedium,toggleBorderWidth:o==null?void 0:o.widthMedium,toggleBorderStyle:o==null?void 0:o.style,toggleFocusBorderColor:e==null?void 0:e.borderBrand,filledBackgroundColor:e==null?void 0:e.backgroundLight,filledBorderWidth:o==null?void 0:o.widthSmall,filledBorderStyle:o==null?void 0:o.style,filledBorderColor:e==null?void 0:e.borderMedium,filledBorderRadius:o==null?void 0:o.radiusMedium,filledPadding:t==null?void 0:t.small},...r[a]}},Me={variant:l.oneOf(["default","filled"]),summary:l.node.isRequired,expanded:E(l.bool,"onToggle","defaultExpanded"),defaultExpanded:l.bool,onToggle:l.func,icon:l.func,iconExpanded:l.func,iconPosition:l.oneOf(["start","end"]),fluidWidth:l.bool,children:l.node,size:l.oneOf(["small","medium","large"])},He=["variant","summary","expanded","defaultExpanded","onToggle","icon","iconExpanded","iconPosition","fluidWidth","children","size"];var J,K,B,y;let Ge=(J=F(Ee,De),K=R(),J(B=K(B=(y=class ie extends h.Component{constructor(...e){super(...e),this.ref=null,this._button=null,this.getButtonRef=t=>this._button=t,this.handleToggle=(t,o)=>{var n,a;typeof this.props.onToggle=="function"&&this.props.onToggle(t,o),(n=(a=this.props).makeStyles)===null||n===void 0||n.call(a,{animate:!0})}}get focused(){return Y(this._button)}focus(){var e;(e=this._button)===null||e===void 0||e.focus()}componentDidMount(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t,{animate:!1})}componentDidUpdate(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t,{animate:!0})}renderSummary(e){var t,o;const n=this.props,a=n.summary,r=n.iconPosition;return u("span",{css:(t=this.props.styles)===null||t===void 0?void 0:t.summary},r==="start"&&this.renderIcon(e),u("span",{css:(o=this.props.styles)===null||o===void 0?void 0:o.summaryText},a),r==="end"&&this.renderIcon(e))}renderToggle(e,t){const o=this.props.variant,n={...P(this.props,ie.allowedProps),...e,children:this.renderSummary(t)},a=this.renderSummary(t);if(o==="filled")return u(xe,Object.assign({},n,{display:"block",textAlign:"start",elementRef:this.getButtonRef}),a);if(n.href){var r;return u("a",Object.assign({},n,{css:(r=this.props.styles)===null||r===void 0?void 0:r.toggle,ref:this.getButtonRef}),a)}else{var s;return u("button",Object.assign({},n,{type:"button",css:(s=this.props.styles)===null||s===void 0?void 0:s.toggle,ref:this.getButtonRef}),a)}}renderIcon(e){var t;const o=e?this.props.iconExpanded:this.props.icon;return this.props.children&&o?u("span",{css:(t=this.props.styles)===null||t===void 0?void 0:t.icon},u(o,null)):null}renderDetails(e,t){var o;const n=this.props.children,a=e?{display:"block"}:{display:"none"};return u("div",Object.assign({},t,{css:[(o=this.props.styles)===null||o===void 0?void 0:o.details,a]}),n&&e&&this.renderContent())}renderContent(){var e;return u("div",{css:(e=this.props.styles)===null||e===void 0?void 0:e.content},this.props.children)}render(){return u(j,Object.assign({},Q(this.props,j.allowedProps),{onToggle:this.handleToggle}),({expanded:e,getToggleProps:t,getDetailsProps:o})=>{var n;return u("div",{css:(n=this.props.styles)===null||n===void 0?void 0:n.toggleDetails,ref:a=>{this.ref=a}},this.renderToggle(t(),e),this.renderDetails(e,o()))})}},y.displayName="ToggleDetails",y.componentId="ToggleDetails",y.allowedProps=He,y.propTypes=Me,y.defaultProps={variant:"default",size:"medium",fluidWidth:!1,icon:be,iconExpanded:me,iconPosition:"start",defaultExpanded:!1,children:null},y))||B)||B);export{xe as B,j as E,I,je as R,Ge as T,Re as a,_ as b}; diff --git a/assets/index.node-CMA9-fmz.js b/assets/index.node-C_A2BdXO.js similarity index 80% rename from assets/index.node-CMA9-fmz.js rename to assets/index.node-C_A2BdXO.js index d7dcf3f..dc33afe 100644 --- a/assets/index.node-CMA9-fmz.js +++ b/assets/index.node-C_A2BdXO.js @@ -1 +1 @@ -import{r as n}from"./index-DVuP2ZA1.js";class o extends n.Component{constructor(e){super(e)}hydrate(){}initChange(){}resolveChange(){}mirrorChange(){}componentDidMount(){}componentDidUpdate(){}componentWillUnmount(){}shouldComponentUpdate(){return!1}render(){return null}}o.displayName="Controlled";export{o as default}; +import{r as n}from"./index-D8uc6p-q.js";class o extends n.Component{constructor(e){super(e)}hydrate(){}initChange(){}resolveChange(){}mirrorChange(){}componentDidMount(){}componentDidUpdate(){}componentWillUnmount(){}shouldComponentUpdate(){return!1}render(){return null}}o.displayName="Controlled";export{o as default}; diff --git a/assets/links-BGaBKQS1.js b/assets/links-C1U-V73k.js similarity index 92% rename from assets/links-BGaBKQS1.js rename to assets/links-C1U-V73k.js index b191c02..5c2ce04 100644 --- a/assets/links-BGaBKQS1.js +++ b/assets/links-C1U-V73k.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-B5hQzbeZ.js","assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DdduE_mK.js","assets/index-BCoP-QCi.js"])))=>i.map(i=>d[i]); -import{a as Q,r as o,d as g,e as C,L as k,j as e,V as f,_ as Z,g as G}from"./index-DVuP2ZA1.js";import{a as J,g as X,R as Y,H as A,T as b,d as ee,L as ae,e as re,b as le,f as v}from"./RenderTopNavBar-DdduE_mK.js";import{B as ne,T as se,R as y,a as d,I as oe,b as te}from"./index-Chr3yVKt.js";import{F as ie,T as ce,a as t}from"./index-BgSjnQS9.js";import{I as de,a as w}from"./index-CvvVU94y.js";const ue={header:{EN:"Redirect Links",ES_LA:"Enlaces de Redirección",PT_BR:"Links de Redirecionamento",DE:"Weiterleitungslinks"},description:{EN:"This page provides a collection of shortened URLs for use in RFP responses. Each row has a short URL and the original URL. Click on the copy icon and the short URL will be added to your clipboard.",ES_LA:"Esta página proporciona una colección de URL abreviadas para usar en las respuestas a RFP. Cada fila tiene una URL corta y la URL original. Haga clic en la copia y la URL corta se agregará a su portapapeles.",PT_BR:"Esta página fornece uma coleção de URLs abreviados para uso em respostas de RFP. Cada linha possui um URL curto e o URL original. Clique na cópia ícone e o URL curto serão adicionados à sua área de transferência.",DE:"Diese Seite bietet eine Sammlung verkürzter URLs zur Verwendung in RFP-Antworten. Jede Zeile enthält eine Kurz-URL und die Original-URL. Klicken Sie auf die Kopie-Symbol und die Kurz-URL wird Ihrer Zwischenablage hinzugefügt."},filters:{EN:"Filters",ES_LA:"Filtros",PT_BR:"Filtros",DE:"filter"},toggleShow:{EN:"Show filters",ES_LA:"Mostrar filtros",PT_BR:"Mostrar filtros",DE:"Filter anzeigen"},toggleHide:{EN:"Hide filters",ES_LA:"Ocultar filtros",PT_BR:"Ocultar filtros",DE:"Filter ausblenden"},search:{EN:"Search",ES_LA:"Buscar",PT_BR:"Procurar",DE:"Suche"},clearSearch:{EN:"Clear search",ES_LA:"Borrar búsqueda",PT_BR:"Limpar pesquisa",DE:"Suche löschen"},placeholder:{EN:"community",ES_LA:"comunidad",PT_BR:"comunidade",DE:"Gemeinschaft"},brands:{EN:"Brands",ES_LA:"Marcas",PT_BR:"Marcas",DE:"Marken"},products:{EN:"Products",ES_LA:"Productos",PT_BR:"Produtos",DE:"Produkte"},language:{EN:"Language",ES_LA:"Idioma",PT_BR:"Idioma",DE:"Sprache"},title:{EN:"Title",ES_LA:"Título",PT_BR:"Título",DE:"Titel"},link:{EN:"Link",ES_LA:"Enlace",PT_BR:"Link",DE:"Link"},copy:{EN:"Copy",ES_LA:"Copiar",PT_BR:"Copiar",DE:"Kopieren"},copy_url:{EN:"Copy URL to clipboard",ES_LA:"Copiar URL al portapapeles",PT_BR:"Copiar URL para a área de transferência",DE:"Kopieren Sie die URL in die Zwischenablage"},copy_error:{EN:"Error copying to clipboard",ES_LA:"Error al copiar al portapapeles",PT_BR:"Erro ao copiar para a área de transferência",DE:"Fehler beim Kopieren in die Zwischenablage"}};function pe(){const i=J(Q().language),n=X(ue,i),m=G.url.replace("https://",""),[p,U]=o.useState({expanded:!1,text:n.toggleShow}),B=()=>{const a=p.expanded?n.toggleShow:n.toggleHide;U({expanded:!p.expanded,text:a})},[u,_]=o.useState(""),P=(a,r)=>{_(r),h(x,r,j,L)},D=a=>{a.stopPropagation(),P(a,"")},N=()=>u.search.length?e.jsx(w,{type:"button",size:"small",withBackground:!1,withBorder:!1,screenReaderLabel:n.clearSearch,onClick:D,children:e.jsx(te,{})}):null,[x,F]=o.useState([i]),I=(a,r)=>{const l=[];r==="all"?(l.push(...v),R(a,"all")):l.push(...v.filter(c=>c.toUpperCase().includes(r.toUpperCase()))),F(l),h(l,u,j,L)},[L,$]=o.useState("all"),[E,z]=o.useState(g),R=(a,r)=>{r==="all"||g.includes(r)?$(r):console.error(`Invalid value for setActiveProduct: ${r}`),h(x,u,j,r)},[T,H]=o.useState("all"),[j,K]=o.useState(C),V=(a,r)=>{const l=[];r==="all"?l.push("AWS",...C):l.push(...["AWS",...C].filter(c=>c.toLowerCase().includes(r.toLowerCase()))),H(r),K(l),R(a,"all"),z(l),h(x,u,l,"all")},[W,M]=o.useState({list:k.map(a=>({...a,links:a.links.filter(r=>r.lang.toUpperCase()===i)}))}),h=(a,r,l,c)=>{const O=k.map(s=>({...s,links:s.links.filter(S=>`${`${s.brand} ${S.title}`}`.toLowerCase().includes(r.toLowerCase())).filter(S=>a.includes(S.lang.toUpperCase()))})).filter(s=>s.links.length>0).filter(s=>l.includes(s.brand)).filter(s=>c!=="all"?s.brand===E[0]||s.brand===c:!0);M({list:O})};async function q(a){try{await navigator.clipboard.writeText(a)}catch(r){let l=n.copy_error;r instanceof Error?l=r.message:typeof r=="string"&&(l=r),console.error(l)}}return e.jsxs(e.Fragment,{children:[e.jsx(Y,{language:i}),e.jsxs(f,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[e.jsxs(f,{as:"div",margin:"none none x-large",children:[e.jsx(A,{level:"h1",children:n.header}),e.jsx(b,{as:"p",children:n.description}),e.jsx(ne,{onClick:B,children:p.text}),e.jsx(se,{id:"toggleFilters",summary:n.filters,onToggle:B,expanded:p.expanded,children:e.jsx(f,{as:"div",margin:"large none none",children:e.jsx("form",{name:"searchFilters",autoComplete:"off",children:e.jsxs(ie,{label:"",description:"",layout:"stacked",children:[e.jsx(ce,{type:"search",renderLabel:n.search,placeholder:n.placeholder,onChange:P,renderBeforeInput:e.jsx(de,{inline:!1}),renderAfterInput:N,value:u}),e.jsxs(y,{name:"brand",description:n.brands,defaultValue:"all",layout:"columns",variant:"toggle",onChange:V,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),["AWS",...g].map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),T!=="all"&&E.length>1&&e.jsxs(y,{name:"product",description:n.products,defaultValue:"all",layout:"columns",variant:"toggle",onChange:R,children:[e.jsx(d,{value:"all",label:"All",context:"off",id:"allProducts",checked:L==="all"},"all"),E.filter(a=>a!==T).map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),e.jsxs(y,{name:"language",description:n.language,defaultValue:i,layout:"columns",variant:"toggle",onChange:I,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),ee.map(a=>e.jsx(d,{value:a.code,label:a.local,context:"off"},a.code))]})]})})})})]}),W.list.map(a=>{if(a.links.length){const r=a.brand;return e.jsxs(f,{as:"div",margin:"none none xx-large",children:[e.jsx(A,{level:g.includes(r)?"h2":"h3",id:r,children:r}),e.jsxs(t,{hover:!0,caption:r,children:[e.jsx(t.Head,{children:e.jsxs(t.Row,{children:[e.jsx(t.ColHeader,{id:"Title",width:"25%",children:n.title}),e.jsx(t.ColHeader,{id:"URLs",children:n.link})]})}),e.jsx(t.Body,{children:a.links.map(l=>e.jsxs(t.Row,{children:[e.jsx(t.Cell,{children:e.jsx(b,{children:l.title})}),e.jsxs(t.Cell,{children:[e.jsx(ae,{href:`https://${m}${l.from}`,children:`${m}${l.from}`}),"  ",e.jsx(re,{renderTip:n.copy,on:["hover","focus"],placement:"top",color:"primary-inverse",children:e.jsx(w,{withBackground:!1,withBorder:!1,screenReaderLabel:n.copy_url,onClick:()=>{q(`https://${m}${l.from}`)},children:e.jsx(oe,{})})}),e.jsx("br",{}),e.jsx(b,{size:"small",color:"secondary",children:l.to.split("?")[0]})]})]},l.title))})]})]},r)}return null})]}),e.jsx(le,{language:i})]})}pe.displayName="Route.Links";function he(){const i=o.lazy(()=>Z(()=>import("./error-B5hQzbeZ.js"),__vite__mapDeps([0,1,2,3,4])).then(n=>({default:n.Component})));return e.jsx(o.Suspense,{fallback:e.jsx("h1",{children:"Error."}),children:e.jsx(i,{})})}he.displayName="Error.Links";export{pe as Component,he as ErrorBoundary}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DE5Avba2.js","assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DwZOqeqN.js","assets/index-Baihd32c.js"])))=>i.map(i=>d[i]); +import{a as Q,r as o,d as g,e as C,L as k,j as e,V as f,_ as Z,g as G}from"./index-D8uc6p-q.js";import{a as J,g as X,R as Y,H as A,T as b,d as ee,L as ae,e as re,b as le,f as v}from"./RenderTopNavBar-DwZOqeqN.js";import{B as ne,T as se,R as y,a as d,I as oe,b as te}from"./index-nQtORJ0H.js";import{F as ie,T as ce,a as t}from"./index-B2tgx2JB.js";import{I as de,a as w}from"./index-C4If5P1l.js";const ue={header:{EN:"Redirect Links",ES_LA:"Enlaces de Redirección",PT_BR:"Links de Redirecionamento",DE:"Weiterleitungslinks"},description:{EN:"This page provides a collection of shortened URLs for use in RFP responses. Each row has a short URL and the original URL. Click on the copy icon and the short URL will be added to your clipboard.",ES_LA:"Esta página proporciona una colección de URL abreviadas para usar en las respuestas a RFP. Cada fila tiene una URL corta y la URL original. Haga clic en la copia y la URL corta se agregará a su portapapeles.",PT_BR:"Esta página fornece uma coleção de URLs abreviados para uso em respostas de RFP. Cada linha possui um URL curto e o URL original. Clique na cópia ícone e o URL curto serão adicionados à sua área de transferência.",DE:"Diese Seite bietet eine Sammlung verkürzter URLs zur Verwendung in RFP-Antworten. Jede Zeile enthält eine Kurz-URL und die Original-URL. Klicken Sie auf die Kopie-Symbol und die Kurz-URL wird Ihrer Zwischenablage hinzugefügt."},filters:{EN:"Filters",ES_LA:"Filtros",PT_BR:"Filtros",DE:"filter"},toggleShow:{EN:"Show filters",ES_LA:"Mostrar filtros",PT_BR:"Mostrar filtros",DE:"Filter anzeigen"},toggleHide:{EN:"Hide filters",ES_LA:"Ocultar filtros",PT_BR:"Ocultar filtros",DE:"Filter ausblenden"},search:{EN:"Search",ES_LA:"Buscar",PT_BR:"Procurar",DE:"Suche"},clearSearch:{EN:"Clear search",ES_LA:"Borrar búsqueda",PT_BR:"Limpar pesquisa",DE:"Suche löschen"},placeholder:{EN:"community",ES_LA:"comunidad",PT_BR:"comunidade",DE:"Gemeinschaft"},brands:{EN:"Brands",ES_LA:"Marcas",PT_BR:"Marcas",DE:"Marken"},products:{EN:"Products",ES_LA:"Productos",PT_BR:"Produtos",DE:"Produkte"},language:{EN:"Language",ES_LA:"Idioma",PT_BR:"Idioma",DE:"Sprache"},title:{EN:"Title",ES_LA:"Título",PT_BR:"Título",DE:"Titel"},link:{EN:"Link",ES_LA:"Enlace",PT_BR:"Link",DE:"Link"},copy:{EN:"Copy",ES_LA:"Copiar",PT_BR:"Copiar",DE:"Kopieren"},copy_url:{EN:"Copy URL to clipboard",ES_LA:"Copiar URL al portapapeles",PT_BR:"Copiar URL para a área de transferência",DE:"Kopieren Sie die URL in die Zwischenablage"},copy_error:{EN:"Error copying to clipboard",ES_LA:"Error al copiar al portapapeles",PT_BR:"Erro ao copiar para a área de transferência",DE:"Fehler beim Kopieren in die Zwischenablage"}};function pe(){const i=J(Q().language),n=X(ue,i),m=G.url.replace("https://",""),[p,U]=o.useState({expanded:!1,text:n.toggleShow}),B=()=>{const a=p.expanded?n.toggleShow:n.toggleHide;U({expanded:!p.expanded,text:a})},[u,_]=o.useState(""),P=(a,r)=>{_(r),h(x,r,j,L)},D=a=>{a.stopPropagation(),P(a,"")},N=()=>u.search.length?e.jsx(w,{type:"button",size:"small",withBackground:!1,withBorder:!1,screenReaderLabel:n.clearSearch,onClick:D,children:e.jsx(te,{})}):null,[x,F]=o.useState([i]),I=(a,r)=>{const l=[];r==="all"?(l.push(...v),R(a,"all")):l.push(...v.filter(c=>c.toUpperCase().includes(r.toUpperCase()))),F(l),h(l,u,j,L)},[L,$]=o.useState("all"),[E,z]=o.useState(g),R=(a,r)=>{r==="all"||g.includes(r)?$(r):console.error(`Invalid value for setActiveProduct: ${r}`),h(x,u,j,r)},[T,H]=o.useState("all"),[j,K]=o.useState(C),V=(a,r)=>{const l=[];r==="all"?l.push("AWS",...C):l.push(...["AWS",...C].filter(c=>c.toLowerCase().includes(r.toLowerCase()))),H(r),K(l),R(a,"all"),z(l),h(x,u,l,"all")},[W,M]=o.useState({list:k.map(a=>({...a,links:a.links.filter(r=>r.lang.toUpperCase()===i)}))}),h=(a,r,l,c)=>{const O=k.map(s=>({...s,links:s.links.filter(S=>`${`${s.brand} ${S.title}`}`.toLowerCase().includes(r.toLowerCase())).filter(S=>a.includes(S.lang.toUpperCase()))})).filter(s=>s.links.length>0).filter(s=>l.includes(s.brand)).filter(s=>c!=="all"?s.brand===E[0]||s.brand===c:!0);M({list:O})};async function q(a){try{await navigator.clipboard.writeText(a)}catch(r){let l=n.copy_error;r instanceof Error?l=r.message:typeof r=="string"&&(l=r),console.error(l)}}return e.jsxs(e.Fragment,{children:[e.jsx(Y,{language:i}),e.jsxs(f,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[e.jsxs(f,{as:"div",margin:"none none x-large",children:[e.jsx(A,{level:"h1",children:n.header}),e.jsx(b,{as:"p",children:n.description}),e.jsx(ne,{onClick:B,children:p.text}),e.jsx(se,{id:"toggleFilters",summary:n.filters,onToggle:B,expanded:p.expanded,children:e.jsx(f,{as:"div",margin:"large none none",children:e.jsx("form",{name:"searchFilters",autoComplete:"off",children:e.jsxs(ie,{label:"",description:"",layout:"stacked",children:[e.jsx(ce,{type:"search",renderLabel:n.search,placeholder:n.placeholder,onChange:P,renderBeforeInput:e.jsx(de,{inline:!1}),renderAfterInput:N,value:u}),e.jsxs(y,{name:"brand",description:n.brands,defaultValue:"all",layout:"columns",variant:"toggle",onChange:V,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),["AWS",...g].map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),T!=="all"&&E.length>1&&e.jsxs(y,{name:"product",description:n.products,defaultValue:"all",layout:"columns",variant:"toggle",onChange:R,children:[e.jsx(d,{value:"all",label:"All",context:"off",id:"allProducts",checked:L==="all"},"all"),E.filter(a=>a!==T).map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),e.jsxs(y,{name:"language",description:n.language,defaultValue:i,layout:"columns",variant:"toggle",onChange:I,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),ee.map(a=>e.jsx(d,{value:a.code,label:a.local,context:"off"},a.code))]})]})})})})]}),W.list.map(a=>{if(a.links.length){const r=a.brand;return e.jsxs(f,{as:"div",margin:"none none xx-large",children:[e.jsx(A,{level:g.includes(r)?"h2":"h3",id:r,children:r}),e.jsxs(t,{hover:!0,caption:r,children:[e.jsx(t.Head,{children:e.jsxs(t.Row,{children:[e.jsx(t.ColHeader,{id:"Title",width:"25%",children:n.title}),e.jsx(t.ColHeader,{id:"URLs",children:n.link})]})}),e.jsx(t.Body,{children:a.links.map(l=>e.jsxs(t.Row,{children:[e.jsx(t.Cell,{children:e.jsx(b,{children:l.title})}),e.jsxs(t.Cell,{children:[e.jsx(ae,{href:`https://${m}${l.from}`,children:`${m}${l.from}`}),"  ",e.jsx(re,{renderTip:n.copy,on:["hover","focus"],placement:"top",color:"primary-inverse",children:e.jsx(w,{withBackground:!1,withBorder:!1,screenReaderLabel:n.copy_url,onClick:()=>{q(`https://${m}${l.from}`)},children:e.jsx(oe,{})})}),e.jsx("br",{}),e.jsx(b,{size:"small",color:"secondary",children:l.to.split("?")[0]})]})]},l.title))})]})]},r)}return null})]}),e.jsx(le,{language:i})]})}pe.displayName="Route.Links";function he(){const i=o.lazy(()=>Z(()=>import("./error-DE5Avba2.js"),__vite__mapDeps([0,1,2,3,4])).then(n=>({default:n.Component})));return e.jsx(o.Suspense,{fallback:e.jsx("h1",{children:"Error."}),children:e.jsx(i,{})})}he.displayName="Error.Links";export{pe as Component,he as ErrorBoundary}; diff --git a/assets/markdownBrand-ByXaigJ-.js b/assets/markdownBrand-Da1pf47v.js similarity index 88% rename from assets/markdownBrand-ByXaigJ-.js rename to assets/markdownBrand-Da1pf47v.js index 6a2a410..11719c9 100644 --- a/assets/markdownBrand-ByXaigJ-.js +++ b/assets/markdownBrand-Da1pf47v.js @@ -1,9 +1,9 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-B5hQzbeZ.js","assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DdduE_mK.js","assets/index-BCoP-QCi.js"])))=>i.map(i=>d[i]); -import{g as C,r as g,j as m,u as F,a as H,b as q,_ as K,V as D}from"./index-DVuP2ZA1.js";import{g as N,c as v,a as J,R as Q,b as X}from"./RenderTopNavBar-DdduE_mK.js";import{r as I,a as O,b as U,M as G,c as M,d as V}from"./Mdtoui-D2iN30Jx.js";import"./index-BgSjnQS9.js";const W={fetch_fail:{EN:"Didn't fetch text correctly.",ES_LA:"No se obtuvo el texto correctamente.",PT_BR:"Não buscou o texto corretamente.",DE:"Text nicht korrekt abgerufen."},download:{EN:"Download",ES_LA:"Descargar",PT_BR:"Baixar",DE:"Herunterladen"},explore:{EN:"Explore",ES_LA:"Explorar",PT_BR:"Explorar",DE:"Erkunden"},error:{EN:"An error occurred fetching package contents.",ES_LA:"Ocurrió un error al obtener el contenido del paquete.",PT_BR:"Ocorreu um erro ao buscar o conteúdo do pacote.",DE:"Beim Abrufen des Paketinhalts ist ein Fehler aufgetreten."}};var T={VITE_APP_VERSION:"4.4.0+1720642096",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function Y(e,t,r){const c=`${C.api}/repos/${e}/${t}/git/trees/${r}?recursive=1`;try{const s=await(await fetch(c,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:T!=null&&T.GITHUB_TOKEN?`token ${T.GITHUB_TOKEN}`:""}})).json();return{...s,tree:s.tree.sort(Z)}}catch(n){n instanceof Error?console.error(`Error: ${n.message}`):console.error(`An unexpected error occurred: ${n}`)}}function Z(e,t){const r=o=>{const l=o.toLocaleUpperCase(),u=c.findIndex(a=>l.startsWith(a.toLocaleUpperCase()));return u!==-1?u:c.length},c=["Amazon Web Services","Instructure"],n=r(e.path),s=r(t.path);return n!==s?s-n:e.path.localeCompare(t.path)}function ee(e,t,r,c,n){var p;const o=N(W,n),l=e.tree.filter(i=>i.type==="tree"),u=e.tree.filter(i=>i.type==="blob").filter(i=>i.path!==".gitignore");let a=`
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DE5Avba2.js","assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DwZOqeqN.js","assets/index-Baihd32c.js"])))=>i.map(i=>d[i]); +import{g as C,r as g,j as m,u as F,a as H,b as q,_ as K,V as D}from"./index-D8uc6p-q.js";import{g as N,c as v,a as J,R as Q,b as X}from"./RenderTopNavBar-DwZOqeqN.js";import{r as I,a as O,b as U,M as G,c as M,d as V}from"./Mdtoui-D8ifNIrl.js";import"./index-B2tgx2JB.js";const W={fetch_fail:{EN:"Didn't fetch text correctly.",ES_LA:"No se obtuvo el texto correctamente.",PT_BR:"Não buscou o texto corretamente.",DE:"Text nicht korrekt abgerufen."},download:{EN:"Download",ES_LA:"Descargar",PT_BR:"Baixar",DE:"Herunterladen"},explore:{EN:"Explore",ES_LA:"Explorar",PT_BR:"Explorar",DE:"Erkunden"},error:{EN:"An error occurred fetching package contents.",ES_LA:"Ocurrió un error al obtener el contenido del paquete.",PT_BR:"Ocorreu um erro ao buscar o conteúdo do pacote.",DE:"Beim Abrufen des Paketinhalts ist ein Fehler aufgetreten."}};var T={VITE_APP_VERSION:"4.4.0+1720642421",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function Y(e,t,r){const c=`${C.api}/repos/${e}/${t}/git/trees/${r}?recursive=1`;try{const s=await(await fetch(c,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:T!=null&&T.GITHUB_TOKEN?`token ${T.GITHUB_TOKEN}`:""}})).json();return{...s,tree:s.tree.sort(Z)}}catch(n){n instanceof Error?console.error(`Error: ${n.message}`):console.error(`An unexpected error occurred: ${n}`)}}function Z(e,t){const r=o=>{const l=o.toLocaleUpperCase(),u=c.findIndex(a=>l.startsWith(a.toLocaleUpperCase()));return u!==-1?u:c.length},c=["Amazon Web Services","Instructure"],n=r(e.path),s=r(t.path);return n!==s?s-n:e.path.localeCompare(t.path)}function ee(e,t,r,c,n){var p;const o=N(W,n),l=e.tree.filter(i=>i.type==="tree"),u=e.tree.filter(i=>i.type==="blob").filter(i=>i.path!==".gitignore");let a=`
🕵️ ${o.explore}\r \r `;for(const[i,d]of l.entries()){a+=`| ${d.path} |\r | ---------------- |`;for(const f of u)d!=null&&d.path&&((p=f==null?void 0:f.path)!=null&&p.startsWith(d.path))&&(a+=`\r | [${f.path.replace(`${d.path}/`,"")}](${encodeURI(`${C.raw}/${t}/${r}/${c}/${f.path}`)}) |`);i~l.indexOf(e)).toString();if(o){const l=await Y(n,s,o);if(l)return ee(l,n,s,o,c)}return null}const re=e=>{const t=v.c(9),{brand:r,branch:c,l:n}=e,[s,o]=g.useState(null);let l,u;t[0]!==r||t[1]!==c||t[2]!==n?(l=()=>{te(r.toLowerCase(),c,n).then(d=>o(d)).catch(d=>console.error(d))},u=[r,c,n],t[0]=r,t[1]=c,t[2]=n,t[3]=l,t[4]=u):(l=t[3],u=t[4]),g.useEffect(l,u);let a;t[5]===Symbol.for("react.memo_cache_sentinel")?(a=[I,O],t[5]=a):a=t[5];let p;t[6]===Symbol.for("react.memo_cache_sentinel")?(p=[U],t[6]=p):p=t[6];let i;return t[7]!==s?(i=m.jsx(G,{remarkPlugins:a,rehypePlugins:p,allowedElements:M,components:V,children:s}),t[7]=s,t[8]=i):i=t[8],i};function oe(){const e=v.c(39),{readme:t,brand:r}=F(),c=H().language;let n,s,o;e[0]!==c?(o=J(c),s=N(W,o),n=o.toUpperCase(),e[0]=c,e[1]=n,e[2]=s,e[3]=o):(n=e[1],s=e[2],o=e[3]);const l=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,u=t,[a,p]=g.useState("Loading..."),[i,d]=g.useState(!1);let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f=[],e[4]=f):f=e[4];const[$,z]=g.useState(f);let R;e[5]!==r||e[6]!==u||e[7]!==s.fetch_fail?(R=()=>{document.title=`${r} Compliance Packages`,fetch(u).then(h=>h.ok?h.text():Promise.reject(s.fetch_fail)).then(h=>{p(h)}).catch(h=>console.error(h))},e[5]=r,e[6]=u,e[7]=s.fetch_fail,e[8]=R):R=e[8],g.useEffect(R);let k,w;e[9]!==a?(k=()=>{a&&(z(Array.from(document.querySelectorAll(".contents"))),d(!0))},w=[a],e[9]=a,e[10]=k,e[11]=w):(k=e[10],w=e[11]),g.useEffect(k,w);let E;e[12]!==i||e[13]!==$||e[14]!==r||e[15]!==o?(E=i&&($==null?void 0:$.map(h=>q.createPortal(m.jsx(re,{brand:r,branch:h,l:o}),h))),e[12]=i,e[13]=$,e[14]=r,e[15]=o,e[16]=E):E=e[16];let x;e[17]!==r||e[18]!==o?(x=m.jsx(Q,{brand:r,language:o}),e[17]=r,e[18]=o,e[19]=x):x=e[19];let _;e[20]!==l?(_=m.jsx("style",{children:l}),e[20]=l,e[21]=_):_=e[21];const L=`${r.toLowerCase()} markdown`;let j;e[22]===Symbol.for("react.memo_cache_sentinel")?(j=[I,O],e[22]=j):j=e[22];let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=[U],e[23]=A):A=e[23];let y;e[24]!==a?(y=m.jsx(G,{remarkPlugins:j,rehypePlugins:A,allowedElements:M,components:V,children:a}),e[24]=a,e[25]=y):y=e[25];let b;e[26]!==L||e[27]!==y?(b=m.jsx(D,{as:"div",className:L,children:y}),e[26]=L,e[27]=y,e[28]=b):b=e[28];let S;e[29]!==_||e[30]!==b?(S=m.jsxs(D,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[_,b]}),e[29]=_,e[30]=b,e[31]=S):S=e[31];let P;e[32]!==o?(P=m.jsx(X,{language:o}),e[32]=o,e[33]=P):P=e[33];let B;return e[34]!==E||e[35]!==x||e[36]!==S||e[37]!==P?(B=m.jsxs(m.Fragment,{children:[E,x,S,P]}),e[34]=E,e[35]=x,e[36]=S,e[37]=P,e[38]=B):B=e[38],B}oe.displayName="Route.MarkdownBrand";function ne(){const e=g.lazy(()=>K(()=>import("./error-B5hQzbeZ.js"),__vite__mapDeps([0,1,2,3,4])).then(t=>({default:t.Component})));return m.jsx(g.Suspense,{fallback:m.jsx("h1",{children:"Error."}),children:m.jsx(e,{})})}ne.displayName="Error.MarkdownBrand";export{oe as Component,ne as ErrorBoundary}; +`)}return a+="
",a}async function te(e,t,r){const c=r,n=C.owner,s=C.repo,o=[...t.classList].filter(l=>~l.indexOf(e)).toString();if(o){const l=await Y(n,s,o);if(l)return ee(l,n,s,o,c)}return null}const re=e=>{const t=v.c(9),{brand:r,branch:c,l:n}=e,[s,o]=g.useState(null);let l,u;t[0]!==r||t[1]!==c||t[2]!==n?(l=()=>{te(r.toLowerCase(),c,n).then(d=>o(d)).catch(d=>console.error(d))},u=[r,c,n],t[0]=r,t[1]=c,t[2]=n,t[3]=l,t[4]=u):(l=t[3],u=t[4]),g.useEffect(l,u);let a;t[5]===Symbol.for("react.memo_cache_sentinel")?(a=[I,O],t[5]=a):a=t[5];let p;t[6]===Symbol.for("react.memo_cache_sentinel")?(p=[U],t[6]=p):p=t[6];let i;return t[7]!==s?(i=m.jsx(G,{remarkPlugins:a,rehypePlugins:p,allowedElements:M,components:V,children:s}),t[7]=s,t[8]=i):i=t[8],i};function oe(){const e=v.c(39),{readme:t,brand:r}=F(),c=H().language;let n,s,o;e[0]!==c?(o=J(c),s=N(W,o),n=o.toUpperCase(),e[0]=c,e[1]=n,e[2]=s,e[3]=o):(n=e[1],s=e[2],o=e[3]);const l=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,u=t,[a,p]=g.useState("Loading..."),[i,d]=g.useState(!1);let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f=[],e[4]=f):f=e[4];const[$,z]=g.useState(f);let R;e[5]!==r||e[6]!==u||e[7]!==s.fetch_fail?(R=()=>{document.title=`${r} Compliance Packages`,fetch(u).then(h=>h.ok?h.text():Promise.reject(s.fetch_fail)).then(h=>{p(h)}).catch(h=>console.error(h))},e[5]=r,e[6]=u,e[7]=s.fetch_fail,e[8]=R):R=e[8],g.useEffect(R);let k,w;e[9]!==a?(k=()=>{a&&(z(Array.from(document.querySelectorAll(".contents"))),d(!0))},w=[a],e[9]=a,e[10]=k,e[11]=w):(k=e[10],w=e[11]),g.useEffect(k,w);let E;e[12]!==i||e[13]!==$||e[14]!==r||e[15]!==o?(E=i&&($==null?void 0:$.map(h=>q.createPortal(m.jsx(re,{brand:r,branch:h,l:o}),h))),e[12]=i,e[13]=$,e[14]=r,e[15]=o,e[16]=E):E=e[16];let x;e[17]!==r||e[18]!==o?(x=m.jsx(Q,{brand:r,language:o}),e[17]=r,e[18]=o,e[19]=x):x=e[19];let _;e[20]!==l?(_=m.jsx("style",{children:l}),e[20]=l,e[21]=_):_=e[21];const L=`${r.toLowerCase()} markdown`;let j;e[22]===Symbol.for("react.memo_cache_sentinel")?(j=[I,O],e[22]=j):j=e[22];let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=[U],e[23]=A):A=e[23];let y;e[24]!==a?(y=m.jsx(G,{remarkPlugins:j,rehypePlugins:A,allowedElements:M,components:V,children:a}),e[24]=a,e[25]=y):y=e[25];let b;e[26]!==L||e[27]!==y?(b=m.jsx(D,{as:"div",className:L,children:y}),e[26]=L,e[27]=y,e[28]=b):b=e[28];let S;e[29]!==_||e[30]!==b?(S=m.jsxs(D,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[_,b]}),e[29]=_,e[30]=b,e[31]=S):S=e[31];let P;e[32]!==o?(P=m.jsx(X,{language:o}),e[32]=o,e[33]=P):P=e[33];let B;return e[34]!==E||e[35]!==x||e[36]!==S||e[37]!==P?(B=m.jsxs(m.Fragment,{children:[E,x,S,P]}),e[34]=E,e[35]=x,e[36]=S,e[37]=P,e[38]=B):B=e[38],B}oe.displayName="Route.MarkdownBrand";function ne(){const e=g.lazy(()=>K(()=>import("./error-DE5Avba2.js"),__vite__mapDeps([0,1,2,3,4])).then(t=>({default:t.Component})));return m.jsx(g.Suspense,{fallback:m.jsx("h1",{children:"Error."}),children:m.jsx(e,{})})}ne.displayName="Error.MarkdownBrand";export{oe as Component,ne as ErrorBoundary}; diff --git a/assets/mdui-BYnqM3s9.js b/assets/mdui-BjQIA41o.js similarity index 92% rename from assets/mdui-BYnqM3s9.js rename to assets/mdui-BjQIA41o.js index 5349de8..9a06fc0 100644 --- a/assets/mdui-BYnqM3s9.js +++ b/assets/mdui-BjQIA41o.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-B5hQzbeZ.js","assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DdduE_mK.js","assets/index-BCoP-QCi.js"])))=>i.map(i=>d[i]); -import{a as T,r as m,j as n,V as C,_ as v}from"./index-DVuP2ZA1.js";import{c as S,a as A,g as R,R as N,b as M}from"./RenderTopNavBar-DdduE_mK.js";import{M as I,c as L,d as P,r as B,a as H,b as G}from"./Mdtoui-D2iN30Jx.js";import{G as w}from"./index-BgSjnQS9.js";import{S as D}from"./index-ALzVjZWx.js";import"./index-CvvVU94y.js";const U={loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},markdown_source:{EN:"Markdown Source",ES_LA:"Fuente de Markdown",PT_BR:"Fonte de Markdown",DE:"Markdown-Quelle"},try_editor:{EN:"Try editing the markdown below.",ES_LA:"Intenta editar el markdown abajo.",PT_BR:"Tente editar o markdown abaixo.",DE:"Versuche den Markdown unten zu bearbeiten."},close:{EN:"Close",ES_LA:"Cerrar",PT_BR:"Fechar",DE:"Schließen"}},x=`# Markdown to Instructure UI +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DE5Avba2.js","assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DwZOqeqN.js","assets/index-Baihd32c.js"])))=>i.map(i=>d[i]); +import{a as T,r as m,j as n,V as C,_ as v}from"./index-D8uc6p-q.js";import{c as S,a as A,g as R,R as N,b as M}from"./RenderTopNavBar-DwZOqeqN.js";import{M as I,c as L,d as P,r as B,a as H,b as G}from"./Mdtoui-D8ifNIrl.js";import{G as w}from"./index-B2tgx2JB.js";import{S as D}from"./index-CCcpAznT.js";import"./index-C4If5P1l.js";const U={loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},markdown_source:{EN:"Markdown Source",ES_LA:"Fuente de Markdown",PT_BR:"Fonte de Markdown",DE:"Markdown-Quelle"},try_editor:{EN:"Try editing the markdown below.",ES_LA:"Intenta editar el markdown abajo.",PT_BR:"Tente editar o markdown abaixo.",DE:"Versuche den Markdown unten zu bearbeiten."},close:{EN:"Close",ES_LA:"Cerrar",PT_BR:"Fechar",DE:"Schließen"}},x=`# Markdown to Instructure UI > [!NOTE] > Try editing the markdown on this page. @@ -118,4 +118,4 @@ Text style: *italic* **bold** ~struck~ **Bacon** ipsum dolor amet beef ribs porchetta shank prosciutto burgdoggen sirloin pork belly pancetta picanha drumstick shoulder meatloaf. Sausage ground round flank shank venison, turducken frankfurter sirloin landjaeger jerky bresaola swine picanha. Buffalo shank short ribs rump swine tail, meatloaf capicola venison pork loin cupim. Buffalo spare ribs ribeye sausage. Ground round porchetta cow, landjaeger pork belly jowl picanha salami. Pork belly pancetta spare ribs swine t-bone, meatloaf bresaola kielbasa pastrami burgdoggen turkey sausage ham hock. Ribeye shank tenderloin beef ribs tail venison drumstick tongue pastrami. -Shank spare ribs sausage landjaeger strip steak jerky, fatback salami tenderloin ball tip pastrami pork. Meatball tri-tip ham tongue, beef ribs chuck boudin short ribs pork burgdoggen spare ribs shankle bacon picanha. Burgdoggen pork meatball boudin venison tenderloin tail pork loin short loin chicken. Salami pork loin shankle bresaola, ground round pork pork belly beef ribs flank tongue biltong pastrami cow. Hamburger cupim sausage tri-tip. Ham rump shoulder, ground round sausage flank hamburger spare ribs picanha bacon chuck strip steak.`;function F(){const e=S.c(25),d=T().language;let c,t;e[0]!==d?(t=A(d),c=R(U,t),e[0]=d,e[1]=c,e[2]=t):(c=e[1],t=e[2]);const _=c;let u;e[3]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{document.title="Markdown to Instructure UI"},e[3]=u):u=e[3],m.useEffect(u);const[a,j]=m.useState(`${_.loading}`);let g;e[4]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{j(x)},e[4]=g):g=e[4];let h;e[5]===Symbol.for("react.memo_cache_sentinel")?(h=[x],e[5]=h):h=e[5],m.useEffect(g,h);let r;e[6]!==t?(r=n.jsx(N,{language:t}),e[6]=t,e[7]=r):r=e[7];let b;e[8]===Symbol.for("react.memo_cache_sentinel")?(b=[B,H],e[8]=b):b=e[8];let p;e[9]===Symbol.for("react.memo_cache_sentinel")?(p=[G],e[9]=p):p=e[9];let o;e[10]!==a?(o=n.jsx(w.Col,{children:n.jsx(I,{remarkPlugins:b,rehypePlugins:p,allowedElements:L,components:P,children:a})}),e[10]=a,e[11]=o):o=e[11];const y=`${_.markdown_source}`;let f;e[12]===Symbol.for("react.memo_cache_sentinel")?(f=E=>{j(E)},e[12]=f):f=e[12];let i;e[13]!==y||e[14]!==a?(i=n.jsx(w.Col,{children:n.jsx(D,{label:y,language:"markdown",readOnly:!1,editable:!0,lineNumbers:!0,foldGutter:!0,highlightActiveLineGutter:!0,highlightActiveLine:!0,lineWrapping:!0,value:a,onChange:f})}),e[13]=y,e[14]=a,e[15]=i):i=e[15];let s;e[16]!==o||e[17]!==i?(s=n.jsx(C,{id:"main",className:"mdui",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"100vw",margin:"0 auto",children:n.jsx(w,{startAt:"large",children:n.jsxs(w.Row,{children:[o,i]})})}),e[16]=o,e[17]=i,e[18]=s):s=e[18];let l;e[19]!==t?(l=n.jsx(M,{language:t}),e[19]=t,e[20]=l):l=e[20];let k;return e[21]!==r||e[22]!==s||e[23]!==l?(k=n.jsxs(n.Fragment,{children:[r,s,l]}),e[21]=r,e[22]=s,e[23]=l,e[24]=k):k=e[24],k}F.displayName="Route.MDUI";function O(){const e=m.lazy(()=>v(()=>import("./error-B5hQzbeZ.js"),__vite__mapDeps([0,1,2,3,4])).then(d=>({default:d.Component})));return n.jsx(m.Suspense,{fallback:n.jsx("h1",{children:"Error."}),children:n.jsx(e,{})})}O.displayName="Error.Releases";export{F as Component,O as ErrorBoundary}; +Shank spare ribs sausage landjaeger strip steak jerky, fatback salami tenderloin ball tip pastrami pork. Meatball tri-tip ham tongue, beef ribs chuck boudin short ribs pork burgdoggen spare ribs shankle bacon picanha. Burgdoggen pork meatball boudin venison tenderloin tail pork loin short loin chicken. Salami pork loin shankle bresaola, ground round pork pork belly beef ribs flank tongue biltong pastrami cow. Hamburger cupim sausage tri-tip. Ham rump shoulder, ground round sausage flank hamburger spare ribs picanha bacon chuck strip steak.`;function F(){const e=S.c(25),d=T().language;let c,t;e[0]!==d?(t=A(d),c=R(U,t),e[0]=d,e[1]=c,e[2]=t):(c=e[1],t=e[2]);const _=c;let u;e[3]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{document.title="Markdown to Instructure UI"},e[3]=u):u=e[3],m.useEffect(u);const[a,j]=m.useState(`${_.loading}`);let g;e[4]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{j(x)},e[4]=g):g=e[4];let h;e[5]===Symbol.for("react.memo_cache_sentinel")?(h=[x],e[5]=h):h=e[5],m.useEffect(g,h);let r;e[6]!==t?(r=n.jsx(N,{language:t}),e[6]=t,e[7]=r):r=e[7];let b;e[8]===Symbol.for("react.memo_cache_sentinel")?(b=[B,H],e[8]=b):b=e[8];let p;e[9]===Symbol.for("react.memo_cache_sentinel")?(p=[G],e[9]=p):p=e[9];let o;e[10]!==a?(o=n.jsx(w.Col,{children:n.jsx(I,{remarkPlugins:b,rehypePlugins:p,allowedElements:L,components:P,children:a})}),e[10]=a,e[11]=o):o=e[11];const y=`${_.markdown_source}`;let f;e[12]===Symbol.for("react.memo_cache_sentinel")?(f=E=>{j(E)},e[12]=f):f=e[12];let i;e[13]!==y||e[14]!==a?(i=n.jsx(w.Col,{children:n.jsx(D,{label:y,language:"markdown",readOnly:!1,editable:!0,lineNumbers:!0,foldGutter:!0,highlightActiveLineGutter:!0,highlightActiveLine:!0,lineWrapping:!0,value:a,onChange:f})}),e[13]=y,e[14]=a,e[15]=i):i=e[15];let s;e[16]!==o||e[17]!==i?(s=n.jsx(C,{id:"main",className:"mdui",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"100vw",margin:"0 auto",children:n.jsx(w,{startAt:"large",children:n.jsxs(w.Row,{children:[o,i]})})}),e[16]=o,e[17]=i,e[18]=s):s=e[18];let l;e[19]!==t?(l=n.jsx(M,{language:t}),e[19]=t,e[20]=l):l=e[20];let k;return e[21]!==r||e[22]!==s||e[23]!==l?(k=n.jsxs(n.Fragment,{children:[r,s,l]}),e[21]=r,e[22]=s,e[23]=l,e[24]=k):k=e[24],k}F.displayName="Route.MDUI";function O(){const e=m.lazy(()=>v(()=>import("./error-DE5Avba2.js"),__vite__mapDeps([0,1,2,3,4])).then(d=>({default:d.Component})));return n.jsx(m.Suspense,{fallback:n.jsx("h1",{children:"Error."}),children:n.jsx(e,{})})}O.displayName="Error.Releases";export{F as Component,O as ErrorBoundary}; diff --git a/assets/redirectTo-CxfIANF9.js b/assets/redirectTo-DOyBKLvA.js similarity index 86% rename from assets/redirectTo-CxfIANF9.js rename to assets/redirectTo-DOyBKLvA.js index 96e7bea..f124e1d 100644 --- a/assets/redirectTo-CxfIANF9.js +++ b/assets/redirectTo-DOyBKLvA.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-B5hQzbeZ.js","assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DdduE_mK.js","assets/index-BCoP-QCi.js"])))=>i.map(i=>d[i]); -import{u as D,a as B,r as k,_ as L,j as o,V as y}from"./index-DVuP2ZA1.js";import{c as N,a as P,g as S,T as j,L as T,R as A,b}from"./RenderTopNavBar-DdduE_mK.js";import{B as v}from"./index-BCoP-QCi.js";const $={downloading:{EN:"Downloading",ES_LA:"Descargando",PT_BR:"Baixando",DE:"Herunterladen"},redirecting:{EN:"Redirecting",ES_LA:"Redirigiendo",PT_BR:"Redirecionando",DE:"Weiterleitung"},youre_downloading_the:{EN:"You're downloading the",ES_LA:"¡Estás descargando el paquete de cumplimiento de",PT_BR:"Você está baixando o pacote de conformidade do",DE:"Sie laden das"},youre_downloading_a:{EN:"You're downloading a document from the",ES_LA:"Estás descargando un documento del paquete de cumplimiento de",PT_BR:"Você está baixando um documento do pacote de conformidade do",DE:"Sie laden ein Dokument aus dem"},compliance_package:{EN:"compliance package!",ES_LA:"!",PT_BR:"!",DE:"-Compliance-Paket herunter!"},didnt_work:{EN:"Didn't work?",ES_LA:"¿No funcionó?",PT_BR:"Não funcionou?",DE:"Hat nicht funktioniert?"},try_again:{EN:"Try again",ES_LA:"Inténtalo de nuevo",PT_BR:"Tente novamente",DE:"Versuchen Sie es erneut"},redirecting_to:{EN:"Redirecting you to",ES_LA:"Redirigiéndote a",PT_BR:"Redirecionando você para",DE:"Weiterleitung zu"}};function V(){const e=N.c(32),{path:E,brand:s,url:i}=D(),h=B().language;let l,a;e[0]!==h?(a=P(h),l=S($,a),e[0]=h,e[1]=l,e[2]=a):(l=e[1],a=e[2]);const n=l;let c;e[3]!==i?(c=i.split("?"),e[3]=i,e[4]=c):c=e[4];const x=c[0];let u;e[5]!==i?(u=i.slice(-4),e[5]=i,e[6]=u):u=e[6];const f=u,g=E.slice(-3)==="/dl";let _;e[7]!==i?(_=()=>{window.location.href=i},e[7]=i,e[8]=_):_=e[8],k.useEffect(_);let m;e[9]!==g||e[10]!==f||e[11]!==n.youre_downloading_the||e[12]!==n.compliance_package||e[13]!==n.youre_downloading_a||e[14]!==n.didnt_work||e[15]!==n.try_again||e[16]!==n.redirecting_to||e[17]!==s||e[18]!==i||e[19]!==x?(m=()=>g?o.jsxs(y,{as:"div",children:[o.jsx(j,{children:f===".zip"?`${n.youre_downloading_the} ${s} ${n.compliance_package}`:`${n.youre_downloading_a} ${s} ${n.compliance_package}`}),o.jsx("br",{}),o.jsxs(j,{size:"x-small",children:[n.didnt_work," ",o.jsx(T,{href:i,children:n.try_again})]})]}):o.jsx(y,{as:"div",children:o.jsxs(j,{children:[n.redirecting_to," ",o.jsx(T,{href:i,children:x})]})}),e[9]=g,e[10]=f,e[11]=n.youre_downloading_the,e[12]=n.compliance_package,e[13]=n.youre_downloading_a,e[14]=n.didnt_work,e[15]=n.try_again,e[16]=n.redirecting_to,e[17]=s,e[18]=i,e[19]=x,e[20]=m):m=e[20];const R=m;let t;e[21]!==a?(t=o.jsx(A,{language:a}),e[21]=a,e[22]=t):t=e[22];const w=g?n.downloading:n.redirecting;let r;e[23]!==w||e[24]!==R?(r=o.jsx(y,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:o.jsx(v,{size:"medium",heading:w,headingAs:"h1",message:R})}),e[23]=w,e[24]=R,e[25]=r):r=e[25];let d;e[26]!==a?(d=o.jsx(b,{language:a}),e[26]=a,e[27]=d):d=e[27];let p;return e[28]!==t||e[29]!==r||e[30]!==d?(p=o.jsxs(o.Fragment,{children:[t,r,d]}),e[28]=t,e[29]=r,e[30]=d,e[31]=p):p=e[31],p}V.displayName="Route.Redirect";function z(){const e=k.lazy(()=>L(()=>import("./error-B5hQzbeZ.js"),__vite__mapDeps([0,1,2,3,4])).then(E=>({default:E.Component})));return o.jsx(k.Suspense,{fallback:o.jsx("h1",{children:"Error."}),children:o.jsx(e,{})})}z.displayName="Error.Redirect";export{V as Component,z as ErrorBoundary}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DE5Avba2.js","assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DwZOqeqN.js","assets/index-Baihd32c.js"])))=>i.map(i=>d[i]); +import{u as D,a as B,r as k,_ as L,j as o,V as y}from"./index-D8uc6p-q.js";import{c as N,a as P,g as S,T as j,L as T,R as A,b}from"./RenderTopNavBar-DwZOqeqN.js";import{B as v}from"./index-Baihd32c.js";const $={downloading:{EN:"Downloading",ES_LA:"Descargando",PT_BR:"Baixando",DE:"Herunterladen"},redirecting:{EN:"Redirecting",ES_LA:"Redirigiendo",PT_BR:"Redirecionando",DE:"Weiterleitung"},youre_downloading_the:{EN:"You're downloading the",ES_LA:"¡Estás descargando el paquete de cumplimiento de",PT_BR:"Você está baixando o pacote de conformidade do",DE:"Sie laden das"},youre_downloading_a:{EN:"You're downloading a document from the",ES_LA:"Estás descargando un documento del paquete de cumplimiento de",PT_BR:"Você está baixando um documento do pacote de conformidade do",DE:"Sie laden ein Dokument aus dem"},compliance_package:{EN:"compliance package!",ES_LA:"!",PT_BR:"!",DE:"-Compliance-Paket herunter!"},didnt_work:{EN:"Didn't work?",ES_LA:"¿No funcionó?",PT_BR:"Não funcionou?",DE:"Hat nicht funktioniert?"},try_again:{EN:"Try again",ES_LA:"Inténtalo de nuevo",PT_BR:"Tente novamente",DE:"Versuchen Sie es erneut"},redirecting_to:{EN:"Redirecting you to",ES_LA:"Redirigiéndote a",PT_BR:"Redirecionando você para",DE:"Weiterleitung zu"}};function V(){const e=N.c(32),{path:E,brand:s,url:i}=D(),h=B().language;let l,a;e[0]!==h?(a=P(h),l=S($,a),e[0]=h,e[1]=l,e[2]=a):(l=e[1],a=e[2]);const n=l;let c;e[3]!==i?(c=i.split("?"),e[3]=i,e[4]=c):c=e[4];const x=c[0];let u;e[5]!==i?(u=i.slice(-4),e[5]=i,e[6]=u):u=e[6];const f=u,g=E.slice(-3)==="/dl";let _;e[7]!==i?(_=()=>{window.location.href=i},e[7]=i,e[8]=_):_=e[8],k.useEffect(_);let m;e[9]!==g||e[10]!==f||e[11]!==n.youre_downloading_the||e[12]!==n.compliance_package||e[13]!==n.youre_downloading_a||e[14]!==n.didnt_work||e[15]!==n.try_again||e[16]!==n.redirecting_to||e[17]!==s||e[18]!==i||e[19]!==x?(m=()=>g?o.jsxs(y,{as:"div",children:[o.jsx(j,{children:f===".zip"?`${n.youre_downloading_the} ${s} ${n.compliance_package}`:`${n.youre_downloading_a} ${s} ${n.compliance_package}`}),o.jsx("br",{}),o.jsxs(j,{size:"x-small",children:[n.didnt_work," ",o.jsx(T,{href:i,children:n.try_again})]})]}):o.jsx(y,{as:"div",children:o.jsxs(j,{children:[n.redirecting_to," ",o.jsx(T,{href:i,children:x})]})}),e[9]=g,e[10]=f,e[11]=n.youre_downloading_the,e[12]=n.compliance_package,e[13]=n.youre_downloading_a,e[14]=n.didnt_work,e[15]=n.try_again,e[16]=n.redirecting_to,e[17]=s,e[18]=i,e[19]=x,e[20]=m):m=e[20];const R=m;let t;e[21]!==a?(t=o.jsx(A,{language:a}),e[21]=a,e[22]=t):t=e[22];const w=g?n.downloading:n.redirecting;let r;e[23]!==w||e[24]!==R?(r=o.jsx(y,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:o.jsx(v,{size:"medium",heading:w,headingAs:"h1",message:R})}),e[23]=w,e[24]=R,e[25]=r):r=e[25];let d;e[26]!==a?(d=o.jsx(b,{language:a}),e[26]=a,e[27]=d):d=e[27];let p;return e[28]!==t||e[29]!==r||e[30]!==d?(p=o.jsxs(o.Fragment,{children:[t,r,d]}),e[28]=t,e[29]=r,e[30]=d,e[31]=p):p=e[31],p}V.displayName="Route.Redirect";function z(){const e=k.lazy(()=>L(()=>import("./error-DE5Avba2.js"),__vite__mapDeps([0,1,2,3,4])).then(E=>({default:E.Component})));return o.jsx(k.Suspense,{fallback:o.jsx("h1",{children:"Error."}),children:o.jsx(e,{})})}z.displayName="Error.Redirect";export{V as Component,z as ErrorBoundary}; diff --git a/assets/releases-CUBpZtK6.js b/assets/releases-DR5Q5md9.js similarity index 84% rename from assets/releases-CUBpZtK6.js rename to assets/releases-DR5Q5md9.js index d9eee3f..cc65f0b 100644 --- a/assets/releases-CUBpZtK6.js +++ b/assets/releases-DR5Q5md9.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-B5hQzbeZ.js","assets/index-DVuP2ZA1.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DdduE_mK.js","assets/index-BCoP-QCi.js"])))=>i.map(i=>d[i]); -import{g as f,a as P,r as x,j as t,_ as k,V as $}from"./index-DVuP2ZA1.js";import{c as L,a as A,g as I,H as N,R as V,L as v,b as D}from"./RenderTopNavBar-DdduE_mK.js";import{r as B,a as G,b as O,M as C,c as U,d as H}from"./Mdtoui-D2iN30Jx.js";import{I as M}from"./IconRssLine-R9zaM-kI.js";import"./index-BgSjnQS9.js";const W={releases:{EN:"Releases",ES_LA:"Versiones",PT_BR:"Lançamentos",DE:"Veröffentlichungen"},loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},subscribe:{EN:"Subscribe",ES_LA:"Suscríbete",PT_BR:"Inscreva-se",DE:"Abonnieren Sie"}};var R={VITE_APP_VERSION:"4.4.0+1720642096",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function z(e,r){const n=`${f.api}/repos/${e}/${r}/releases`;try{const a=await(await fetch(n,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:R!=null&&R.VITE_GITHUB_TOKEN?`token ${R.VITE_GITHUB_TOKEN}`:""}})).json();return a.length>3?`${a.slice(0,3).map(w).join(`\r +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DE5Avba2.js","assets/index-D8uc6p-q.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-DwZOqeqN.js","assets/index-Baihd32c.js"])))=>i.map(i=>d[i]); +import{g as f,a as P,r as x,j as t,_ as k,V as $}from"./index-D8uc6p-q.js";import{c as L,a as A,g as I,H as N,R as V,L as v,b as D}from"./RenderTopNavBar-DwZOqeqN.js";import{r as B,a as G,b as O,M as C,c as U,d as H}from"./Mdtoui-D8ifNIrl.js";import{I as M}from"./IconRssLine-BcUub32U.js";import"./index-B2tgx2JB.js";const W={releases:{EN:"Releases",ES_LA:"Versiones",PT_BR:"Lançamentos",DE:"Veröffentlichungen"},loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},subscribe:{EN:"Subscribe",ES_LA:"Suscríbete",PT_BR:"Inscreva-se",DE:"Abonnieren Sie"}};var R={VITE_APP_VERSION:"4.4.0+1720642421",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function z(e,r){const n=`${f.api}/repos/${e}/${r}/releases`;try{const a=await(await fetch(n,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:R!=null&&R.VITE_GITHUB_TOKEN?`token ${R.VITE_GITHUB_TOKEN}`:""}})).json();return a.length>3?`${a.slice(0,3).map(w).join(`\r \r `).slice(0,-3)}---\r \r @@ -13,4 +13,4 @@ import{g as f,a as P,r as x,j as t,_ as k,V as $}from"./index-DVuP2ZA1.js";impor ${e.body}\r ----`}async function F(){const e=f.owner,r=f.repo;return z(e,r)}function K(){const e=L.c(32),r=P().language;let n,s,a,l;e[0]!==r?(a=A(r),s=I(W,a),l=`https://github.com/${f.owner}/${f.repo}/releases.atom`,n=a.toUpperCase(),e[0]=r,e[1]=n,e[2]=s,e[3]=a,e[4]=l):(n=e[1],s=e[2],a=e[3],l=e[4]);const y=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,[j,T]=x.useState(`${s.loading}`);let p;e[5]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{F().then(S=>{T(S)}).catch(S=>console.error(S))},e[5]=p):p=e[5],x.useEffect(p);let o;e[6]!==a?(o=t.jsx(V,{language:a}),e[6]=a,e[7]=o):o=e[7];let i;e[8]!==s.subscribe?(i=t.jsx(M,{size:"small",color:"warning",title:s.subscribe}),e[8]=s.subscribe,e[9]=i):i=e[9];let c;e[10]!==l||e[11]!==i?(c=t.jsx(v,{href:l,children:i}),e[10]=l,e[11]=i,e[12]=c):c=e[12];let m;e[13]!==c||e[14]!==s.releases?(m=t.jsxs(N,{level:"h1",children:[c," ",s.releases]}),e[13]=c,e[14]=s.releases,e[15]=m):m=e[15];let d;e[16]!==y?(d=t.jsx("style",{children:y}),e[16]=y,e[17]=d):d=e[17];let E;e[18]===Symbol.for("react.memo_cache_sentinel")?(E=[B,G],e[18]=E):E=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=[O],e[19]=b):b=e[19];let u;e[20]!==j?(u=t.jsx($,{as:"div",className:"markdown",children:t.jsx(C,{remarkPlugins:E,rehypePlugins:b,allowedElements:U,components:H,children:j})}),e[20]=j,e[21]=u):u=e[21];let h;e[22]!==m||e[23]!==d||e[24]!==u?(h=t.jsxs($,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[m,d,u]}),e[22]=m,e[23]=d,e[24]=u,e[25]=h):h=e[25];let g;e[26]!==a?(g=t.jsx(D,{language:a}),e[26]=a,e[27]=g):g=e[27];let _;return e[28]!==o||e[29]!==h||e[30]!==g?(_=t.jsxs(t.Fragment,{children:[o,h,g]}),e[28]=o,e[29]=h,e[30]=g,e[31]=_):_=e[31],_}K.displayName="Route.Releases";function q(){const e=x.lazy(()=>k(()=>import("./error-B5hQzbeZ.js"),__vite__mapDeps([0,1,2,3,4])).then(r=>({default:r.Component})));return t.jsx(x.Suspense,{fallback:t.jsx("h1",{children:"Error."}),children:t.jsx(e,{})})}q.displayName="Error.Releases";export{K as Component,q as ErrorBoundary}; +---`}async function F(){const e=f.owner,r=f.repo;return z(e,r)}function K(){const e=L.c(32),r=P().language;let n,s,a,l;e[0]!==r?(a=A(r),s=I(W,a),l=`https://github.com/${f.owner}/${f.repo}/releases.atom`,n=a.toUpperCase(),e[0]=r,e[1]=n,e[2]=s,e[3]=a,e[4]=l):(n=e[1],s=e[2],a=e[3],l=e[4]);const y=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,[j,T]=x.useState(`${s.loading}`);let p;e[5]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{F().then(S=>{T(S)}).catch(S=>console.error(S))},e[5]=p):p=e[5],x.useEffect(p);let o;e[6]!==a?(o=t.jsx(V,{language:a}),e[6]=a,e[7]=o):o=e[7];let i;e[8]!==s.subscribe?(i=t.jsx(M,{size:"small",color:"warning",title:s.subscribe}),e[8]=s.subscribe,e[9]=i):i=e[9];let c;e[10]!==l||e[11]!==i?(c=t.jsx(v,{href:l,children:i}),e[10]=l,e[11]=i,e[12]=c):c=e[12];let m;e[13]!==c||e[14]!==s.releases?(m=t.jsxs(N,{level:"h1",children:[c," ",s.releases]}),e[13]=c,e[14]=s.releases,e[15]=m):m=e[15];let d;e[16]!==y?(d=t.jsx("style",{children:y}),e[16]=y,e[17]=d):d=e[17];let E;e[18]===Symbol.for("react.memo_cache_sentinel")?(E=[B,G],e[18]=E):E=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=[O],e[19]=b):b=e[19];let u;e[20]!==j?(u=t.jsx($,{as:"div",className:"markdown",children:t.jsx(C,{remarkPlugins:E,rehypePlugins:b,allowedElements:U,components:H,children:j})}),e[20]=j,e[21]=u):u=e[21];let h;e[22]!==m||e[23]!==d||e[24]!==u?(h=t.jsxs($,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[m,d,u]}),e[22]=m,e[23]=d,e[24]=u,e[25]=h):h=e[25];let g;e[26]!==a?(g=t.jsx(D,{language:a}),e[26]=a,e[27]=g):g=e[27];let _;return e[28]!==o||e[29]!==h||e[30]!==g?(_=t.jsxs(t.Fragment,{children:[o,h,g]}),e[28]=o,e[29]=h,e[30]=g,e[31]=_):_=e[31],_}K.displayName="Route.Releases";function q(){const e=x.lazy(()=>k(()=>import("./error-DE5Avba2.js"),__vite__mapDeps([0,1,2,3,4])).then(r=>({default:r.Component})));return t.jsx(x.Suspense,{fallback:t.jsx("h1",{children:"Error."}),children:t.jsx(e,{})})}q.displayName="Error.Releases";export{K as Component,q as ErrorBoundary}; diff --git a/index.html b/index.html index 147c696..c9cee3a 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - + @@ -16,7 +16,7 @@ Instructure Compliance Packages - +