1(this.webpackChunknews=this.webpackChunknews||[]).push([[9731],{
vendor: 235 bytes, line 1
1"../../../tmp/node_modules/@media-platform/portal-menu/src/components/Suggest/Suggest.css":function(e){e.exports={root:"eed58245ac",item:"e4010a82f4",leftIcon:"b10fd5b7be",text:"ba3c10cae2",rightIcon:"f945d28a3a",iconGo:"ae9041f772"}},
vendor: 233 bytes, line 1
1"../../../tmp/node_modules/@media-platform/portal-menu/src/components/Suggest/SuggestItem/SuggestItem.css":function(e){e.exports={root:"a8ab680897",leftIcon:"cfad887614",text:"bbcc429c1b",rightIcon:"e9b1788e88",iconGo:"d9f01f4ce9"}},
vendor: 151 bytes, line 1
1"../../../tmp/node_modules/@media-platform/portal-menu/src/components/Suggest/SuggestList/SuggestList.css":function(e){e.exports={label:"d2d146fd11"}},
vendor: 3,533 bytes, line 1
1"../../../tmp/node_modules/@media-platform/portal-menu/src/components/Suggest/Suggest.tsx":function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return w}});var s=o("../../../tmp/node_modules/react/jsx-runtime.js"),n=o("../../../tmp/node_modules/classnames/index.js"),l=o.n(n),r=o("../../../tmp/node_modules/react/index.js"),i=o("../../../tmp/node_modules/@media-platform/portal-menu/src/hooks/useSearchHistory.tsx"),m=o("../../../tmp/node_modules/@media-platform/portal-menu/src/components/Suggest/Suggest.css"),c=o("../../../tmp/node_modules/@media-ui/core/src/components/Text/index.ts"),a=o("../../../tmp/node_modules/@vkontakte/icons-sprite/dist/index.js"),d=(0,a.mT)("Icon16SearchOutline","search_outline_16","0 0 16 16",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="search_outline_16"><path fill="currentColor" d="M6.5 1a5.5 5.5 0 0 1 4.384 8.823l3.895 3.9a.75.75 0 0 1-1.061 1.06l-3.895-3.9A5.5 5.5 0 1 1 6.5 1m0 1.5a4 4 0 1 0 0 8 4 4 0 0 0 0-8" /></symbol>',16,16,!1,void 0),u=(0,a.mT)("Icon16ClockOutline","clock_outline_16","0 0 16 16",'<symbol xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" id="clock_outline_16"><path d="M8.5 4.75a.75.75 0 0 0-1.5 0v4a.75.75 0 0 0 .47.696l2.505 1.005a.75.75 0 0 0 .559-1.393L8.5 8.243zM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1M2.5 8a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0" /></symbol>',16,16,!1,void 0),g=(0,a.mT)("Icon24ArrowUpRightOutline","arrow_up_right_outline_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" id="arrow_up_right_outline_24"><path fill-rule="evenodd" d="M8.15 5.902a.9.9 0 0 1 .9-.9h9.05a.9.9 0 0 1 .9.9l-.003 9a.9.9 0 1 1-1.8 0l.003-6.826L6.537 18.74a.9.9 0 1 1-1.273-1.273L15.928 6.802H9.049a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd" /></symbol>',24,24,!1,void 0),p=o("../../../tmp/node_modules/@vkontakte/icons/dist_es6/16/cancel_16.js"),h=o("../../../tmp/node_modules/@media-platform/portal-menu/src/components/Suggest/SuggestItem/SuggestItem.css"),f=e=>{let{className:t,type:o="history",children:n,onClick:r,iconOnRemove:i}=e,m=l()(h.root,t);return(0,s.jsxs)("div",{className:m,onClick:r,children:[(0,s.jsx)("div",{className:h.leftIcon,children:"suggest"===o?(0,s.jsx)(d,{}):(0,s.jsx)(u,{})}),(0,s.jsx)("div",{className:h.text,children:n}),(0,s.jsx)("div",{className:h.rightIcon,children:"suggest"===o?(0,s.jsx)(g,{className:h.iconGo,width:16,height:16}):(0,s.jsx)(p.X,{onClick:i})})]})},x=o("../../../tmp/node_modules/@media-platform/portal-menu/src/components/Suggest/SuggestList/SuggestList.css"),_=e=>{let t,{children:o,items:n,type:l,iconOnRemove:i}=e,m=e=>e.map((e,t)=>{let{name:o,text:n,url:r}=e,m=n||o;return(0,s.jsx)(f,{onClick:()=>{"u">typeof window&&window.location.assign(r)},iconOnRemove:void 0!==i&&"suggest"!==l?e=>i(e,m):void 0,type:l,children:m},t)});return(0,s.jsxs)(r.Fragment,{children:[(t=n,"suggest"===l?t.map((e,t)=>{let{title:o,items:n}=e;return n.length?(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(c.A,{className:x.label,type:"caption2Caps",children:o}),m(n)]},t):null}):m(t)),o]})},w=(0,r.forwardRef)(function(e,t){let{className:o,action:n,name:r,isBusy:c,searchFocus:a,suggestions:d=[]}=e,{searchHistory:u,searchHistoryRemove:g}=(0,i.k)(),p=l()(m.root,o);if(!a)return null;let h=u.length?u.map(e=>{let t=`${n}?${r}=${encodeURIComponent(e)}`;return{name:e,url:t}}):[],f=c||d.length,x=f?d:h;return x&&x.length?(0,s.jsx)("div",{className:p,ref:t,children:(0,s.jsx)(_,{items:x,iconOnRemove:g,type:f?"suggest":"history"})}):null})}
1}]); 2//# sourceMappingURL=9731.js.map?3cbb9b8459ee77288fba
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.