(window.saladictEntry=window.saladictEntry||[]).push([[116],{1353:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var a=n(0),c=n.n(a),r="undefined"!=typeof window?a.useLayoutEffect:a.useEffect;const s=t=>{const{tag:e="div",html:n,...s}=t,i=Object(a.useMemo)(()=>{try{const t=document.createDocumentFragment(),e=(new DOMParser).parseFromString(n,"text/html");return Array.from(e.body.childNodes).forEach(e=>{t.appendChild(e)}),t}catch(t){!1}return null},[n]),[o,l]=Object(a.useState)(null);return r(()=>{if(i&&o){for(;o.childNodes.length>0;)o.childNodes[0].remove();o.appendChild(i)}},[i,o]),c.a.createElement(e,{...s,ref:l})}},654:function(t,e,n){"use strict";n.r(e),n.d(e,"DictCambridge",(function(){return s}));var a=n(0),c=n.n(a),r=n(1353);const s=t=>c.a.createElement(c.a.Fragment,null,t.result.map(t=>c.a.createElement("section",{key:t.id,id:t.id,className:"dictCambridge-Entry",onClick:i},c.a.createElement(r.a,{html:t.html}))));function i(t){const e=t.nativeEvent.target;e&&e.classList&&(e.classList.contains("js-accord")&&e.classList.toggle("open"),e.classList.contains("daccord_h")&&e.parentElement.classList.toggle("open"))}e.default=s}}]);