(window.saladictEntry=window.saladictEntry||[]).push([[114],{1353:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(0),i=a.n(n),l="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;const r=e=>{const{tag:t="div",html:a,...r}=e,c=Object(n.useMemo)(()=>{try{const e=document.createDocumentFragment(),t=(new DOMParser).parseFromString(a,"text/html");return Array.from(t.body.childNodes).forEach(t=>{e.appendChild(t)}),e}catch(e){!1}return null},[a]),[m,s]=Object(n.useState)(null);return l(()=>{if(c&&m){for(;m.childNodes.length>0;)m.childNodes[0].remove();m.appendChild(c)}},[c,m]),i.a.createElement(t,{...r,ref:s})}},650:function(e,t,a){"use strict";a.r(t),a.d(t,"DictAh",(function(){return c}));var n=a(0),i=a.n(n),l=a(123),r=a(1353);const c=({result:e})=>i.a.createElement("div",null,e.map((e,t)=>i.a.createElement("div",{className:"dictAh-WordBox",key:t},i.a.createElement("div",{className:"dictAh-Title"},i.a.createElement("span",null,e.title),e.pron&&i.a.createElement(l.c,{src:e.pron})),e.meaning&&e.meaning.map((e,t)=>i.a.createElement(r.a,{key:t,className:"dictAh-Meaning",html:e})),e.idioms&&!!e.idioms.length&&i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"dictAh-idiomTitle"},e.idioms.length>1?"idioms":"idiom"),e.idioms.map((e,t)=>i.a.createElement("div",{key:`${e.title}--${t}`},i.a.createElement("div",null,i.a.createElement("span",{className:"dictAh-idiomWords"},e.title),e.tips?`(${e.tips})`:null),i.a.createElement("div",{className:"dictAh-idiomEg"},e.eg)))),e.origin&&i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"dictAh-Hr",role:"separator"}),i.a.createElement(r.a,{tag:"p",className:"dictAh-origin",html:e.origin})),e.usageNote&&i.a.createElement(r.a,{tag:"p",className:"dictAh-UsageNote",html:e.usageNote}))));t.default=c}}]);