1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[520],{520:function(n,t,r){r.r(t),r.d(t,{default:function(){return u}});var e=r(3964);function a(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=Array(t);r<t;r++)e[r]=n[r];return e}function l(){return l=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)({}).hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n},l.apply(null,arguments)}var o=[1,2,3,4,5],c=(0,e.A)((function(n,t,r,e){var c=n.h,u=n.hooks;!function(n){if(null==n)throw new TypeError("Cannot destructure "+n)}(r);var i=u.useEffect,s=u.useCallback,f=u.useState,v=c("svg",{class:"icon__star_full",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},c("path",{d:"M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"})),p=c("svg",{class:"icon__star_half",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},c("path",{d:"M5.354 5.119 7.538.792A.516.516 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.537.537 0 0 1 16 6.32a.548.548 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.52.52 0 0 1-.146.05c-.342.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.172-.403.58.58 0 0 1 .085-.302.513.513 0 0 1 .37-.245l4.898-.696zM8 12.027a.5.5 0 0 1 .232.056l3.686 1.894-.694-3.957a.565.565 0 0 1 .162-.505l2.907-2.77-4.052-.576a.525.525 0 0 1-.393-.288L8.001 2.223 8 2.226v9.8z"})),h=c("svg",{class:"icon__star_empty",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},c("path",{d:"M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288L8 2.223l1.847 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.565.565 0 0 0-.163.506l.694 3.957-3.686-1.894a.503.503 0 0 0-.461 0z"}));function w(n){var t=n.score,r=n.starIndex,e=n.onMouseLeave,a=n.onMouseEnter,o=n.onClick,u=r<=t,i=s((function(){a(r)}),[r,a]),f=e&&e?{onMouseEnter:i,onMouseLeave:e}:{},w=s((function(){o&&o(r)}),[r,o]),d=function(n,t){return n>=t?v:n>t-1?p:h}(t,r);return c("i",l({class:"input__post_rating_item".concat(u?"--active":""),onClick:w,"data-index":r},f),d)}return function(n){var t,r,e=n.score,u=n.enabled,s=(t=f(e||5),r=2,function(n){if(Array.isArray(n))return n}(t)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,a,l,o,c=[],u=!0,i=!1;try{if(l=(r=r.call(n)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(e=l.call(r)).done)&&(c.push(e.value),c.length!==t);u=!0);}catch(n){i=!0,a=n}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(i)throw a}}return c}}(t,r)||function(n,t){if(n){if("string"==typeof n)return a(n,t);var r={}.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(n,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=s[0],p=s[1];return i((function(){p(e)}),[e]),c("span",{class:"wrapper__post_rating".concat(u?"":"--disabled")},o.map((function(t){return c(w,l({},n,{score:v,key:t,starIndex:t}))})))}}));function u(n){var t=n.preact;return c(t)}}}]);
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.