import{r as I,at as ye,w as ue,v as de,k as F,b as Pe,y as q,z as pe,o as je,H as me,b8 as Me,j as s,B as ee,E as Ee,aQ as He,$ as he,ax as P,P as Ge,af as Z,T as M,b9 as Le,D as we,aa as ke,S as Ue,U as Ae,L as Ye,G as Te,aA as qe,a as Fe}from"./index-B7ckqKYM.js";import{Q as We,b as Qe,c as Ve,d as $e}from"./axios-dNqFLt7D.js";import{_ as _e}from"./index-BJn_mOQD.js";import{C as Xe}from"./ClickAwayListener-BLgu1HjA.js";import{T as ze}from"./Tooltip-CpqmnD3-.js";import{c as Je,T as Ze,b as en,a as nn}from"./TableRow-DfRF1nWZ.js";import{T as rn}from"./TableCell-D9m1uG-5.js";import{S as tn}from"./Seo-nPW1Ww0m.js";var ce={};(function(r){var n=I,o=function(){return o=Object.assign||function(i){for(var S,t=1,C=arguments.length;t<C;t++){S=arguments[t];for(var R in S)Object.prototype.hasOwnProperty.call(S,R)&&(i[R]=S[R])}return i},o.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var c=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof ye<"u"?ye:typeof self<"u"?self:{},a={},l={};Object.defineProperty(l,"__esModule",{value:!0}),l.BLOCKS=void 0;var p;(function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"})(p||(l.BLOCKS=p={}));var u={};Object.defineProperty(u,"__esModule",{value:!0}),u.INLINES=void 0;var d;(function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"})(d||(u.INLINES=d={}));var y={};Object.defineProperty(y,"__esModule",{value:!0}),y.MARKS=void 0;var b;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"})(b||(y.MARKS=b={}));var L={};(function(e){var i=c&&c.__spreadArray||function(x,N,G){if(G||arguments.length===2)for(var D=0,K=N.length,E;D<K;D++)(E||!(D in N))&&(E||(E=Array.prototype.slice.call(N,0,D)),E[D]=N[D]);return x.concat(E||Array.prototype.slice.call(N))},S;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var t=l,C=u,R=y;e.TOP_LEVEL_BLOCKS=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(S={},S[t.BLOCKS.OL_LIST]=[t.BLOCKS.LIST_ITEM],S[t.BLOCKS.UL_LIST]=[t.BLOCKS.LIST_ITEM],S[t.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,S[t.BLOCKS.QUOTE]=[t.BLOCKS.PARAGRAPH],S[t.BLOCKS.TABLE]=[t.BLOCKS.TABLE_ROW],S[t.BLOCKS.TABLE_ROW]=[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],S[t.BLOCKS.TABLE_CELL]=[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST],S[t.BLOCKS.TABLE_HEADER_CELL]=[t.BLOCKS.PARAGRAPH],S),e.HEADINGS=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=i([t.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,C.INLINES.HYPERLINK,C.INLINES.ENTRY_HYPERLINK,C.INLINES.ASSET_HYPERLINK,C.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[R.MARKS.BOLD,R.MARKS.CODE,R.MARKS.ITALIC,R.MARKS.UNDERLINE]})(L);var m={};Object.defineProperty(m,"__esModule",{value:!0});var O={};Object.defineProperty(O,"__esModule",{value:!0});var h={};Object.defineProperty(h,"__esModule",{value:!0}),h.EMPTY_DOCUMENT=void 0;var g=l;h.EMPTY_DOCUMENT={nodeType:g.BLOCKS.DOCUMENT,data:{},content:[{nodeType:g.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var _={};Object.defineProperty(_,"__esModule",{value:!0}),_.isInline=Q,_.isBlock=ne,_.isText=re;var A=l,$=u;function W(e,i){for(var S=0,t=Object.keys(e);S<t.length;S++){var C=t[S];if(i===e[C])return!0}return!1}function Q(e){return W($.INLINES,e.nodeType)}function ne(e){return W(A.BLOCKS,e.nodeType)}function re(e){return e.nodeType==="text"}function k(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var H={};Object.defineProperty(H,"__esModule",{value:!0}),H.getSchemaWithNodeType=te;function te(e){try{return k("./generated/".concat(e,".json"))}catch{throw new Error('Schema for nodeType "'.concat(e,'" was not found.'))}}(function(e){var i=c&&c.__createBinding||(Object.create?function(E,T,v,w){w===void 0&&(w=v);var U=Object.getOwnPropertyDescriptor(T,v);(!U||("get"in U?!T.__esModule:U.writable||U.configurable))&&(U={enumerable:!0,get:function(){return T[v]}}),Object.defineProperty(E,w,U)}:function(E,T,v,w){w===void 0&&(w=v),E[w]=T[v]}),S=c&&c.__setModuleDefault||(Object.create?function(E,T){Object.defineProperty(E,"default",{enumerable:!0,value:T})}:function(E,T){E.default=T}),t=c&&c.__exportStar||function(E,T){for(var v in E)v!=="default"&&!Object.prototype.hasOwnProperty.call(T,v)&&i(T,E,v)},C=c&&c.__importStar||function(E){if(E&&E.__esModule)return E;var T={};if(E!=null)for(var v in E)v!=="default"&&Object.prototype.hasOwnProperty.call(E,v)&&i(T,E,v);return S(T,E),T};Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaWithNodeType=e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var R=l;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return R.BLOCKS}});var x=u;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return x.INLINES}});var N=y;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return N.MARKS}}),t(L,e),t(m,e),t(O,e);var G=h;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return G.EMPTY_DOCUMENT}});var D=C(_);e.helpers=D;var K=H;Object.defineProperty(e,"getSchemaWithNodeType",{enumerable:!0,get:function(){return K.getSchemaWithNodeType}})})(a);function oe(e,i){return n.isValidElement(e)&&e.key===null?n.cloneElement(e,{key:i}):e}function X(e,i){return e.map(function(S,t){return oe(z(S,i),t)})}function z(e,i){var S=i.renderNode,t=i.renderMark,C=i.renderText,R=i.preserveWhitespace;if(a.helpers.isText(e)){var x=C?C(e.value):e.value;if(R&&!C){x=x.replace(/ {2,}/g,function(K){return"Â ".repeat(K.length)});var N=x.split(` `),G=[];N.forEach(function(K,E){G.push(K),E!==N.length-1&&G.push(n.createElement("br",null))}),x=G}return e.marks.reduce(function(K,E){return t[E.type]?t[E.type](K):K},x)}else{var D=X(e.content,i);return!e.nodeType||!S[e.nodeType]?n.createElement(n.Fragment,null,D):S[e.nodeType](e,D)}}var f,B,ae=(f={},f[a.BLOCKS.DOCUMENT]=function(e,i){return i},f[a.BLOCKS.PARAGRAPH]=function(e,i){return n.createElement("p",null,i)},f[a.BLOCKS.HEADING_1]=function(e,i){return n.createElement("h1",null,i)},f[a.BLOCKS.HEADING_2]=function(e,i){return n.createElement("h2",null,i)},f[a.BLOCKS.HEADING_3]=function(e,i){return n.createElement("h3",null,i)},f[a.BLOCKS.HEADING_4]=function(e,i){return n.createElement("h4",null,i)},f[a.BLOCKS.HEADING_5]=function(e,i){return n.createElement("h5",null,i)},f[a.BLOCKS.HEADING_6]=function(e,i){return n.createElement("h6",null,i)},f[a.BLOCKS.EMBEDDED_ENTRY]=function(e,i){return n.createElement("div",null,i)},f[a.BLOCKS.EMBEDDED_RESOURCE]=function(e,i){return n.createElement("div",null,i)},f[a.BLOCKS.UL_LIST]=function(e,i){return n.createElement("ul",null,i)},f[a.BLOCKS.OL_LIST]=function(e,i){return n.createElement("ol",null,i)},f[a.BLOCKS.LIST_ITEM]=function(e,i){return n.createElement("li",null,i)},f[a.BLOCKS.QUOTE]=function(e,i){return n.createElement("blockquote",null,i)},f[a.BLOCKS.HR]=function(){return n.createElement("hr",null)},f[a.BLOCKS.TABLE]=function(e,i){return n.createElement("table",null,n.createElement("tbody",null,i))},f[a.BLOCKS.TABLE_ROW]=function(e,i){return n.createElement("tr",null,i)},f[a.BLOCKS.TABLE_HEADER_CELL]=function(e,i){return n.createElement("th",null,i)},f[a.BLOCKS.TABLE_CELL]=function(e,i){return n.createElement("td",null,i)},f[a.INLINES.ASSET_HYPERLINK]=function(e){return se(a.INLINES.ASSET_HYPERLINK,e)},f[a.INLINES.ENTRY_HYPERLINK]=function(e){return se(a.INLINES.ENTRY_HYPERLINK,e)},f[a.INLINES.RESOURCE_HYPERLINK]=function(e){return Se(a.INLINES.RESOURCE_HYPERLINK,e)},f[a.INLINES.EMBEDDED_ENTRY]=function(e){return se(a.INLINES.EMBEDDED_ENTRY,e)},f[a.INLINES.EMBEDDED_RESOURCE]=function(e,i){return Se(a.INLINES.EMBEDDED_RESOURCE,e)},f[a.INLINES.HYPERLINK]=function(e,i){return n.createElement("a",{href:e.data.uri},i)},f),ie=(B={},B[a.MARKS.BOLD]=function(e){return n.createElement("b",null,e)},B[a.MARKS.ITALIC]=function(e){return n.createElement("i",null,e)},B[a.MARKS.UNDERLINE]=function(e){return n.createElement("u",null,e)},B[a.MARKS.CODE]=function(e){return n.createElement("code",null,e)},B[a.MARKS.SUPERSCRIPT]=function(e){return n.createElement("sup",null,e)},B[a.MARKS.SUBSCRIPT]=function(e){return n.createElement("sub",null,e)},B[a.MARKS.STRIKETHROUGH]=function(e){return n.createElement("s",null,e)},B);function se(e,i){return n.createElement("span",{key:i.data.target.sys.id},"type: ",i.nodeType," id: ",i.data.target.sys.id)}function Se(e,i){return n.createElement("span",{key:i.data.target.sys.urn},"type: ",i.nodeType," urn: ",i.data.target.sys.urn)}function xe(e,i){return i===void 0&&(i={}),e?z(e,{renderNode:o(o({},ae),i.renderNode),renderMark:o(o({},ie),i.renderMark),renderText:i.renderText,preserveWhitespace:i.preserveWhitespace}):null}r.documentToReactComponents=xe})(ce);const Ie=I.createContext({});function on(r){return de("MuiAccordion",r)}const J=ue("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),an=r=>{const{classes:n,square:o,expanded:c,disabled:a,disableGutters:l}=r;return Ee({root:["root",!o&&"rounded",c&&"expanded",a&&"disabled",!l&&"gutters"],heading:["heading"],region:["region"]},on,n)},sn=F(Pe,{name:"MuiAccordion",slot:"Root",overridesResolver:(r,n)=>{const{ownerState:o}=r;return[{[`& .${J.region}`]:n.region},n.root,!o.square&&n.rounded,!o.disableGutters&&n.gutters]}})(q(({theme:r})=>{const n={duration:r.transitions.duration.shortest};return{position:"relative",transition:r.transitions.create(["margin"],n),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(r.vars||r).palette.divider,transition:r.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${J.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${J.disabled}`]:{backgroundColor:(r.vars||r).palette.action.disabledBackground}}}),q(({theme:r})=>({variants:[{props:n=>!n.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(r.vars||r).shape.borderRadius,borderTopRightRadius:(r.vars||r).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(r.vars||r).shape.borderRadius,borderBottomRightRadius:(r.vars||r).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:n=>!n.disableGutters,style:{[`&.${J.expanded}`]:{margin:"16px 0"}}}]}))),cn=F("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(r,n)=>n.heading})({all:"unset"}),ln=I.forwardRef(function(n,o){const c=pe({props:n,name:"MuiAccordion"}),{children:a,className:l,defaultExpanded:p=!1,disabled:u=!1,disableGutters:d=!1,expanded:y,onChange:b,square:L=!1,slots:m={},slotProps:O={},TransitionComponent:h,TransitionProps:g,..._}=c,[A,$]=je({controlled:y,default:p,name:"Accordion",state:"expanded"}),W=I.useCallback(ie=>{$(!A),b&&b(ie,!A)},[A,b,$]),[Q,...ne]=I.Children.toArray(a),re=I.useMemo(()=>({expanded:A,disabled:u,disableGutters:d,toggle:W}),[A,u,d,W]),k={...c,square:L,disabled:u,disableGutters:d,expanded:A},H=an(k),te={transition:h,...m},oe={transition:g,...O},X={slots:te,slotProps:oe},[z,f]=me("heading",{elementType:cn,externalForwardedProps:X,className:H.heading,ownerState:k}),[B,ae]=me("transition",{elementType:Me,externalForwardedProps:X,ownerState:k});return s.jsxs(sn,{className:ee(H.root,l),ref:o,ownerState:k,square:L,..._,children:[s.jsx(z,{...f,children:s.jsx(Ie.Provider,{value:re,children:Q})}),s.jsx(B,{in:A,timeout:"auto",...ae,children:s.jsx("div",{"aria-labelledby":Q.props.id,id:Q.props["aria-controls"],role:"region",className:H.region,children:ne})})]})});function un(r){return de("MuiAccordionSummary",r)}const Y=ue("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),dn=r=>{const{classes:n,expanded:o,disabled:c,disableGutters:a}=r;return Ee({root:["root",o&&"expanded",c&&"disabled",!a&&"gutters"],focusVisible:["focusVisible"],content:["content",o&&"expanded",!a&&"contentGutters"],expandIconWrapper:["expandIconWrapper",o&&"expanded"]},un,n)},pn=F(He,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(r,n)=>n.root})(q(({theme:r})=>{const n={duration:r.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:r.spacing(0,2),transition:r.transitions.create(["min-height","background-color"],n),[`&.${Y.focusVisible}`]:{backgroundColor:(r.vars||r).palette.action.focus},[`&.${Y.disabled}`]:{opacity:(r.vars||r).palette.action.disabledOpacity},[`&:hover:not(.${Y.disabled})`]:{cursor:"pointer"},variants:[{props:o=>!o.disableGutters,style:{[`&.${Y.expanded}`]:{minHeight:64}}}]}})),En=F("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(r,n)=>n.content})(q(({theme:r})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:n=>!n.disableGutters,style:{transition:r.transitions.create(["margin"],{duration:r.transitions.duration.shortest}),[`&.${Y.expanded}`]:{margin:"20px 0"}}}]}))),fn=F("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(r,n)=>n.expandIconWrapper})(q(({theme:r})=>({display:"flex",color:(r.vars||r).palette.action.active,transform:"rotate(0deg)",transition:r.transitions.create("transform",{duration:r.transitions.duration.shortest}),[`&.${Y.expanded}`]:{transform:"rotate(180deg)"}}))),Sn=I.forwardRef(function(n,o){const c=pe({props:n,name:"MuiAccordionSummary"}),{children:a,className:l,expandIcon:p,focusVisibleClassName:u,onClick:d,...y}=c,{disabled:b=!1,disableGutters:L,expanded:m,toggle:O}=I.useContext(Ie),h=A=>{O&&O(A),d&&d(A)},g={...c,expanded:m,disabled:b,disableGutters:L},_=dn(g);return s.jsxs(pn,{focusRipple:!1,disableRipple:!0,disabled:b,component:"div","aria-expanded":m,className:ee(_.root,l),focusVisibleClassName:ee(_.focusVisible,u),onClick:h,ref:o,ownerState:g,...y,children:[s.jsx(En,{className:_.content,ownerState:g,children:a}),p&&s.jsx(fn,{className:_.expandIconWrapper,ownerState:g,children:p})]})});function yn(r){return de("MuiAccordionDetails",r)}ue("MuiAccordionDetails",["root"]);const mn=r=>{const{classes:n}=r;return Ee({root:["root"]},yn,n)},Ln=F("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(r,n)=>n.root})(q(({theme:r})=>({padding:r.spacing(1,2,2)}))),Tn=I.forwardRef(function(n,o){const c=pe({props:n,name:"MuiAccordionDetails"}),{className:a,...l}=c,p=c,u=mn(p);return s.jsx(Ln,{className:ee(u.root,a),ref:o,ownerState:p,...l})}),_n=he(s.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),Cn=he(s.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"InsertLink");function vn(r){if(Array.isArray(r))return r}function bn(r,n){var o=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var c,a,l,p,u=[],d=!0,y=!1;try{if(l=(o=o.call(r)).next,n===0){if(Object(o)!==o)return;d=!1}else for(;!(d=(c=l.call(o)).done)&&(u.push(c.value),u.length!==n);d=!0);}catch(b){y=!0,a=b}finally{try{if(!d&&o.return!=null&&(p=o.return(),Object(p)!==p))return}finally{if(y)throw a}}return u}}function le(r,n){(n==null||n>r.length)&&(n=r.length);for(var o=0,c=Array(n);o<n;o++)c[o]=r[o];return c}function Re(r,n){if(r){if(typeof r=="string")return le(r,n);var o={}.toString.call(r).slice(8,-1);return o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set"?Array.from(r):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?le(r,n):void 0}}function On(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fe(r,n){return vn(r)||bn(r,n)||Re(r,n)||On()}function V(r){"@babel/helpers - typeof";return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},V(r)}function hn(r,n){if(V(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var c=o.call(r,n||"default");if(V(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}function An(r){var n=hn(r,"string");return V(n)=="symbol"?n:n+""}function In(r,n,o){return(n=An(n))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r}function Ce(r,n,o,c,a,l,p){try{var u=r[l](p),d=u.value}catch(y){return void o(y)}u.done?n(d):Promise.resolve(d).then(c,a)}function Rn(r){return function(){var n=this,o=arguments;return new Promise(function(c,a){var l=r.apply(n,o);function p(d){Ce(l,c,a,p,u,"next",d)}function u(d){Ce(l,c,a,p,u,"throw",d)}p(void 0)})}}var gn=function(n){var o=n&&n!=="prod"?"https://".concat(n,".customerservice.api.ashcompanies.com"):"https://customerservice.api.ashcompanies.com",c=$e.create({baseURL:o,withCredentials:!0});return c},Bn=function(){var r=Rn(_e.mark(function n(o){var c,a,l,p;return _e.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return c=o.queryKey,a=fe(c,3),l=a[1],p=a[2],d.next=4,gn(l).get("FAQ?product=".concat(p));case 4:return d.abrupt("return",d.sent.data);case 5:case"end":return d.stop()}},n)}));return function(o){return r.apply(this,arguments)}}(),Dn={GET_STATIC_CONTENT:"GetStaticContent",GET_SPACEX_LAUNCHES:"GetSpaceXLaunches",GET_BUSINESS_INFO:"GetBusinessInfo",GET_MEMBER_CONTACT:"GetMemberContact",GET_MEMBER_TERMS:"GetMemberTerms",GET_FAQS:"GetFAQs",GET_EDITORIALPOLICY:"GetEditorialPolicy",GET_MEMBER_AGREEMENTS:"GetMemberAgreements"},Nn=function(n,o){var c=Ve([Dn.GET_FAQS,n,o],Bn),a=c.data;return{data:a}},Kn={defaultOptions:{queries:{suspense:!0}}},ge=function(n){var o=n.SuspenseFallBack,c=n.hasOwnProvider,a=n.children,l=Kn,p=new We(l),u=function(){return s.jsx(I.Suspense,{fallback:o,children:a})};return c?u():s.jsxs(Qe,{client:p,children:[u(),!1]})};ge.propTypes={SuspenseFallBack:P.element.isRequired,hasOwnProvider:P.bool,children:P.element.isRequired};var xn=function(n){navigator.clipboard.writeText(n)},Be=function(n){var o=n.linkToCopy,c=I.useState(!1),a=fe(c,2),l=a[0],p=a[1],u=function(){p(!1)},d=function(){p(!0),setTimeout(function(){return u()},1e3)};return s.jsx(Xe,{onClickAway:u,children:s.jsx(ze,{PopperProps:{disablePortal:!0},onClose:u,open:l,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,title:"Copied!",children:s.jsx(ke,{onClick:function(){xn(o),d()},sx:{textTransform:"none"},children:s.jsxs(Ue,{direction:"row",sx:{color:"text.disabled"},children:[s.jsx(Cn,{}),s.jsx(M,{ml:1,variant:"body1",children:"Copy link"})]})})})})};Be.propTypes={linkToCopy:P.string};var ve=function(){return s.jsx(Ae,{sx:{mt:2},height:40,width:"25%"})},j=function(){return s.jsx(Ae,{sx:{mt:2},variant:"rounded",width:"100%",height:70})},Pn=function(){return s.jsxs(s.Fragment,{children:[s.jsx(ve,{}),s.jsx(j,{}),s.jsx(j,{}),s.jsx(j,{}),s.jsx(j,{}),s.jsx(ve,{}),s.jsx(j,{}),s.jsx(j,{}),s.jsx(j,{}),s.jsx(j,{})]})};function jn(r){if(Array.isArray(r))return le(r)}function Mn(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Hn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gn(r){return jn(r)||Mn(r)||Re(r)||Hn()}var be={renderText:function(n){return n.split(` `).reduce(function(o,c,a){return[].concat(Gn(o),[a>0&&s.jsx("br",{},c),c])},[])},renderNode:{table:function(n,o){return s.jsx(Je,{children:s.jsx(Ze,{children:s.jsx(en,{children:o})})})},"table-row":function(n,o){return s.jsx(nn,{children:o})},"table-cell":function(n,o){return s.jsx(rn,{children:o})},"asset-hyperlink":function(n){return s.jsx(Ye,{href:n.data.target.file.url,target:"_blank",rel:"noopener",children:n.data.target.title})},"unordered-list":function(n,o){return s.jsx(M,{color:"text.secondary",component:"ul",children:o})}}};function Oe(r,n){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);n&&(c=c.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,c)}return o}function wn(r){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?Oe(Object(o),!0).forEach(function(c){In(r,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Oe(Object(o)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(o,c))})}return r}var kn=function(n,o){window.gtag?window.gtag("event",n,wn({},o)):console.debug("Analytics: window.gtag not found - if it were enabled the ".concat(n," event would be fired."))},De=function(n){var o=n.children;return s.jsx(Te,{container:!0,justifyContent:"center",children:s.jsx(Te,{item:!0,md:12,lg:10,sx:{px:{xs:5,md:10},py:8},children:o})})};De.propTypes={children:Ge.node.isRequired};var Ne=function(n){var o=n.apiEnvironment,c=n.product,a=Nn(o,c),l=a.data,p=I.useState(!1),u=fe(p,2),d=u[0],y=u[1],b=function(m){return function(O,h){y(h?m:!1)}};return I.useEffect(function(){var L=window.location.hash;if(L){y(L);var m=document.getElementById(L);m&&m.scrollIntoView({behavior:"smooth",block:"center"})}},[]),s.jsxs(s.Fragment,{children:[l.faq.faqCategories.map(function(L){return s.jsx(De,{children:s.jsxs(Z,{children:[s.jsx(M,{variant:"h5",sx:{fontWeight:"fontWeightSemiBold"},ml:2,mb:3,children:L.category}),L.questionAnswers.map(function(m){var O="#".concat(m.urlTag),h="".concat(m.questionId),g="".concat(window.location.origin).concat(window.location.pathname).concat(O),_=d===O;return s.jsx(Z,{mb:1,children:s.jsxs(ln,{expanded:_,onChange:b(O),onClick:function(){return kn("faq_".concat(h),{data_question_id:h})},id:O,sx:{boxShadow:"none","&.MuiAccordion-root.Mui-expanded":{boxShadow:"0px 3px 5px -1px ".concat(Le[300]),backgroundColor:Le[50]}},children:[s.jsx(Sn,{expandIcon:s.jsx(_n,{}),children:s.jsx(M,{variant:"body3",mr:2,children:m.question})}),s.jsxs(Tn,{children:[s.jsx(M,{variant:"body3",component:"div",color:"text.secondary",children:ce.documentToReactComponents(m.answer,be)}),s.jsx(Be,{linkToCopy:g})]})]})},m.question)}),s.jsx(we,{})]},L.category)})}),l.faq.disclaimer&&s.jsxs(Z,{mt:5,ml:2,children:[s.jsx(M,{variant:"h6",children:"Disclaimers"}),s.jsx(M,{variant:"body1",color:"text.secondary",component:"section",children:ce.documentToReactComponents(l.faq.disclaimer,be)})]})]})};Ne.propTypes={apiEnvironment:P.string.isRequired,product:P.string};var Ke=function(n){var o=n.apiEnvironment,c=n.product,a=n.hasOwnProvider;return s.jsxs(Z,{children:[s.jsx(M,{mb:8,textAlign:"center",variant:"h3",component:"h4",children:"Frequently Asked Questions"}),s.jsx(ge,{hasOwnProvider:a,SuspenseFallBack:s.jsx(Pn,{}),children:s.jsx(Ne,{apiEnvironment:o,product:c})})]})};Ke.propTypes={apiEnvironment:P.string.isRequired,product:P.string,hasOwnProvider:P.bool};const Xn=()=>{const r=qe();return s.jsxs(Fe,{children:[s.jsx(tn,{title:"FAQs"}),s.jsx(Ke,{apiEnvironment:r,product:"ACTIVEANDFITDIRECT"})]})};export{Xn as default};