1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7472],{57472:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>v});var n=t(85893),i=t(67294),a=t(94184),o=t.n(a),d=t(9130),r=t(3262),l=t(81412),c=t(18994),u=t(96431),_=t(68382),p=t.n(_);let x=(e,s)=>"maq_".concat(s,"_").concat(e),h=(e,s)=>{try{return"1"===sessionStorage.getItem(x(e,s))}catch{return!1}},m=(e,s)=>{try{sessionStorage.setItem(x(e,s),"1")}catch{}},k=e=>{var s;let{question:t,defaultExpanded:a,isLast:d,onToggle:r}=e,[l,u]=(0,i.useState)(a),_=(0,i.useCallback)(()=>{let e=!l;r(e),u(e)},[l,r]);return(0,n.jsxs)("div",{className:o()(p().questionItem,{[p().withBorder]:!d}),children:[(0,n.jsxs)("button",{className:p().questionHeader,onClick:_,type:"button","aria-expanded":l,children:[(0,n.jsx)("span",{className:p().questionText,children:null==t?void 0:t.name}),(0,n.jsx)("span",{className:p().icon,children:l?"â":"+"})]}),(0,n.jsx)(c.default,{isExpanded:l,arrowSize:"small",collapsedMinHeight:0,children:(0,n.jsxs)("div",{className:p().answer,children:[(0,n.jsx)("span",{className:p().answerPrefix,children:"A: "}
1),null==t?void 0:null===(s=t.acceptedAnswer)||void 0===s?void 0:s.text]})})]})},v=e=>{var s;let{faq:t,listId:a}=e,{isCrawler:o}=(0,l.MS)(),{ref:c,inView:_}=(0,d.YD)({triggerOnce:!0});(0,i.useEffect)(()=>{!_||o||h(a,"viewed")||(m(a,"viewed"),(0,r.ZP)("maq_viewed",{},{destinations:[r.B0]}))},[_,o,a]);let x=(0,i.useCallback)(e=>{e&&!h(a,"expand")&&(m(a,"expand"),(0,r.ZP)("maq_expand_clicked",{},{destinations:[r.B0]})),e||h(a,"collapse")||(m(a,"collapse"),(0,r.ZP)("maq_collapse_clicked",{},{destinations:[r.B0]}))},[a]);return(0,n.jsx)(u.default,{withSpacer:!0,children:(0,n.jsxs)("div",{className:p().container,ref:c,children:[(0,n.jsx)("div",{className:p().title,children:"Most Asked Questions"}),(0,n.jsx)("div",{className:p().questionsWrapper,children:null==t?void 0:null===(s=t.mainEntity)||void 0===s?void 0:s.map((e,s)=>(0,n.jsx)(k,{question:e,defaultExpanded:o,isLast:s===t.mainEntity.length-1,onToggle:x},"".concat(null==e?void 0:e.name,"-").concat(s)))})]})})}},68382:e=>{e.exports={container:"MostAskedQuestions_container__6XPZx",title:"MostAskedQuestions_title__k_8Ti",questionsWrapper:"MostAskedQuestions_questionsWrapper__durJC",questionItem:"MostAskedQuestions_questionItem__ghCc6",withBorder:"MostAskedQuestions_withBorder__3B0It",questionHeader:"MostAskedQuestions_questionHeader__BNvUb",questionText:"MostAskedQuestions_questionText__E3nto",icon:"MostAskedQuestions_icon__L5VL6",answer:"MostAskedQuestions_answer__877tD",answerPrefix:"MostAskedQuestions_answerPrefix__hnDOX"}}}]); 2//# sourceMappingURL=7472.85efbf6af05b0f4d.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.