(window.saladictEntry=window.saladictEntry||[]).push([[129],{1353:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var r=a(0),n=a.n(r),s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;const l=e=>{const{tag:t="div",html:a,...l}=e,c=Object(r.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,d]=Object(r.useState)(null);return s(()=>{if(c&&m){for(;m.childNodes.length>0;)m.childNodes[0].remove();m.appendChild(c)}},[c,m]),n.a.createElement(t,{...l,ref:d})}},680:function(e,t,a){"use strict";a.r(t),a.d(t,"DictWebsterLearner",(function(){return c}));var r=a(0),n=a.n(r),s=a(123),l=a(1353);const c=({result:e})=>{switch(e.type){case"lex":return function(e){return n.a.createElement(n.a.Fragment,null,e.items.map(e=>n.a.createElement("section",{key:e.title,className:"dictWebsterLearner-Entry"},n.a.createElement("header",{className:"dictWebsterLearner-Header"},n.a.createElement(l.a,{tag:"span",className:"hw_d hw_0",html:e.title}),n.a.createElement(s.c,{src:e.pron})),e.infs&&n.a.createElement("div",{className:"dictWebsterLearner-Header"},n.a.createElement(l.a,{tag:"span",className:"hw_infs_d",html:e.infs}),n.a.createElement(s.c,{src:e.infsPron})),e.labels&&n.a.createElement(l.a,{className:"labels",html:e.labels}),e.senses&&n.a.createElement(l.a,{className:"sblocks",html:e.senses}),e.arts&&e.arts.length>0&&e.arts.map(e=>n.a.createElement("img",{key:e,src:e})),e.phrases&&n.a.createElement(l.a,{className:"dros",html:e.phrases}),e.derived&&n.a.createElement(l.a,{className:"uros",html:e.derived}))))}(e);case"related":return function(e){return n.a.createElement(n.a.Fragment,null,n.a.createElement("p",null,"Did you mean:"),n.a.createElement(l.a,{tag:"ul",className:"dictWebsterLearner-Related",html:e.list}))}(e);default:return null}};t.default=c}}]);