/*! For license information please see component---pages-copy-changelog-tsx-f3b4e876ecce920ba67a.js.LICENSE.txt */ (self.webpackChunk_toloka_portal_gatsby_renderer=self.webpackChunk_toloka_portal_gatsby_renderer||[]).push([[2917],{64221:function(e){"use strict";var t=function(){};e.exports=t},42009:function(e,t,n){var o;!function(){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen};void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()},8294:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var o=Object.assign||function(e){for(var t=1;t0&&0===(y-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(i.returnFocus(n.props.preventScroll),i.teardownScopedFocus()):i.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(i.setupScopedFocus(n.node),i.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},a=o.base;return n.state.afterOpen&&(a=a+" "+o.afterOpen),n.state.beforeClose&&(a=a+" "+o.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,o){return n[e+"-"+o]=t[o],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName;r&&d.add(document.body,r),o&&d.add(document.getElementsByTagName("html")[0],o),n&&(y+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,a=e.defaultStyles,s=e.children,l=n?{}:a.content,i=r?{}:a.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},i,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:t,ref:this.setContentRef,style:o({},l,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,s);return this.props.overlayElement(c,d)}}]),t}(s.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(f.SafeHTMLCollection),l.default.instanceOf(f.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string},t.default=b,e.exports=t.default},82728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){l&&(l.removeAttribute?l.removeAttribute("aria-hidden"):null!=l.length?l.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(l).forEach((function(e){return e.removeAttribute("aria-hidden")})));l=null},t.log=function(){0},t.assertNodeList=i,t.setElement=function(e){var t=e;if("string"==typeof t&&s.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return l=t||l},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,a=c(e)[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(s){n=!0,o=s}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}},t.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,a=c(e)[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(s){n=!0,o=s}finally{try{!t&&a.return&&a.return()}finally{if(n)throw o}}},t.documentNotReadyOrSSRTesting=function(){l=null};var o,r=n(64221),a=(o=r)&&o.__esModule?o:{default:o},s=n(99295);var l=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||l;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,a.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},69706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[s,l],t=0;t0?(document.body.firstChild!==s&&document.body.insertBefore(s,document.body.firstChild),document.body.lastChild!==l&&document.body.appendChild(l)):(s.parentElement&&s.parentElement.removeChild(s),l.parentElement&&l.parentElement.removeChild(l))}))},23376:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)r(e,n[t]);var a=document.body;for(var s in o)r(a,o[s]);n={},o={}},t.log=function(){0};var n={},o={};function r(e,t){e.classList.remove(t)}t.add=function(e,t){return r=e.classList,a="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),r.add(e)}));var r,a},t.remove=function(e,t){return r=e.classList,a="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&r.remove(e)}));var r,a}},60163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s=[]},t.log=function(){0},t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){s.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==s.length&&(t=s.pop()).focus({preventScroll:e}))}catch(n){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){s.length>0&&s.pop()},t.setupScopedFocus=function(e){l=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){l=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var o,r=n(19012),a=(o=r)&&o.__esModule?o:{default:o};var s=[],l=null,i=!1;function c(){i=!0}function u(){if(i){if(i=!1,!l)return;setTimeout((function(){l.contains(document.activeElement)||((0,a.default)(l)[0]||l).focus()}),0)}}},1581:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){o=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},o=new n;t.default=o},99295:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var o,r=n(42009);var a=((o=r)&&o.__esModule?o:{default:o}).default,s=a.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=a.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=a.canUseDOM?window.NodeList:{},t.canUseDOM=a.canUseDOM;t.default=s},63235:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,a.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,r=t.shiftKey,l=n[0],i=n[n.length-1],c=s();if(e===c){if(!r)return;o=i}i!==c||r||(o=l);l===c&&r&&(o=i);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=r?-1:1);if(void 0===(o=n[d]))return t.preventDefault(),void(o=r?i:l).focus();t.preventDefault(),o.focus()};var o,r=n(19012),a=(o=r)&&o.__esModule?o:{default:o};function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?s(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},19012:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(a)};var n=/input|select|textarea|button|object/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(o){return console.warn("Failed to inspect element style"),!1}}function r(e,t){var r=e.nodeName.toLowerCase();return(n.test(r)&&!e.disabled||"a"===r&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&r(e,!n)}e.exports=t.default},53821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(8294),a=(o=r)&&o.__esModule?o:{default:o};t.default=a.default,e.exports=t.default},88709:function(e,t,n){"use strict";n.d(t,{f:function(){return p}});var o={container:"cH_C",wrap:"cH_Z",chat:"cH_gj",chatImg:"cH_gk",chatText:"cH_gl",scrollToTop:"cH_gm",active:"cH_c8"},r=n(79700),a=n.n(r),s=n(1023),l=n(67294),i=n(47250),c=n(68042),u=n(85893),d=function(e){var t=e.chat,n=e.scrollToTopIcon,r=(0,s.t)(o.active,500),d=(0,l.useCallback)((function(){window.scrollTo({left:0,top:0,behavior:"smooth"})}),[]);return(0,u.jsxs)("div",{className:o.container,children:[t?(0,u.jsxs)("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:a()(o.wrap,o.chat),children:[(0,u.jsx)(c.t.Default,{className:o.picture,path:t.icon,formats:[{type:"image/webp",fileName:"avatar.webp"},{type:"image/jpeg",fileName:"avatar.jpg"}],alt:"Chat icon",width:"46px",height:"42px",imageClassName:o.chatImg}),(0,u.jsx)("span",{className:o.chatText,children:t.text})]}):null,(0,u.jsxs)("button",{ref:r,className:a()(o.wrap,o.scrollToTop),onClick:d,children:[(0,u.jsx)(i.M,{children:"Scroll to top"}),n]})]})},f=function(){return(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[(0,u.jsx)("g",{clipPath:"url(#adsfdd)",children:(0,u.jsx)("path",{d:"M17.7071 10.7071c.3905-.3905.3905-1.0237 0-1.4142-.3905-.3905-1.0237-.3905-1.4142 0l1.4142 1.4142ZM12 15l-.7071.7071c.3905.3905 1.0237.3905 1.4142 0L12 15ZM7.7071 9.2929c-.3905-.3905-1.0237-.3905-1.4142 0-.3905.3905-.3905 1.0237 0 1.4142L7.707 9.2929Zm8.5858 0-5 5 1.4142 1.4142 5-5-1.4142-1.4142Zm-3.5858 5-5-5L6.293 10.707l5 5 1.4142-1.4142Z",fill:"#fff"})}),(0,u.jsx)("defs",{children:(0,u.jsx)("clipPath",{id:"adsfdd",children:(0,u.jsx)("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]})},p=function(){return(0,u.jsx)(d,{scrollToTopIcon:(0,u.jsx)(f,{})})}},62849:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var o=n(4942),r={wrap:"d3_Z",listWrap:"d3_jk",titleWrap:"d3_jl",bigBottomOffset:"d3_jm",title:"d3_q",noBorder:"d3_jn",menu:"d3_gT",moreWrap:"d3_jp"},a=n(79700),s=n.n(a),l=n(46237),i="fr_6",c="fr_cd",u="fr_Z",d=n(62769),f=n(67294),p=n(85893),h=function(e){var t=e.categories,n=e.currentCategory,o=e.onCategoryChange,r=e.shouldBePlural,a=e.withoutAllCategory,l=e.withSplitCapitalizedLetters;return(0,f.useEffect)((function(){window.scrollTo({left:0,top:0,behavior:"smooth"});var e=window.location.hash.split("%20").join(" ").toLowerCase();t.some((function(t){return e.endsWith(t.toLowerCase())}))?o(e.slice(1)):a&&o(t[0].toLowerCase())}),[]),t.length>1?(0,p.jsx)("div",{className:u,children:(0,p.jsxs)("div",{className:s()(c,"tab-slider"),children:[a?null:(0,p.jsx)("a",{className:s()(i,"all"===n?"active":void 0),onClick:function(){return o("all")},href:"#all",children:(0,p.jsx)("span",{children:"All"})}),t.map((function(e,t){var a=e.toLowerCase(),c=l?(0,d.s)(e):e;return(0,p.jsx)("a",{className:s()(i,n===a?"active":void 0),onClick:function(){return o(a)},href:"#"+n,children:(0,p.jsx)("span",{children:r?c+"s":c})},t)}))]})}):null},m=n(25109),v=n(84401),g=n(42982),y="fs_Z",b="fs_jX",x="fs_c8",j="fs_h",w=function(){return(0,p.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,p.jsx)("circle",{cx:"4.67",cy:"9.33",r:".67",fill:"#1E2126"}),(0,p.jsx)("circle",{cx:"4.67",cy:"12.67",r:".67",fill:"#1E2126"}),(0,p.jsx)("circle",{cx:"8",cy:"9.33",r:".67",fill:"#1E2126"}),(0,p.jsx)("circle",{cx:"8",cy:"12.67",r:".67",fill:"#1E2126"}),(0,p.jsx)("circle",{cx:"11.33",cy:"9.33",r:".67",fill:"#1E2126"}),(0,p.jsx)("circle",{cx:"11.33",cy:"12.67",r:".67",fill:"#1E2126"}),(0,p.jsx)("rect",{x:".67",y:"2.67",width:"14.67",height:"12.67",rx:".67",stroke:"#1E2126",strokeWidth:"1.33"}),(0,p.jsx)("path",{d:"M4.67 2.67v-2M15.33 6H.67M11.33 2.67v-2",stroke:"#1E2126",strokeWidth:"1.33",strokeMiterlimit:"79.84",strokeLinecap:"round",strokeLinejoin:"round"})]})},C=n(12262),O="fC_hx",N="fC_kk",_="fC_fH",k="fC_gc",M="fC_dK",D="fC_fj",E="fC_6",S="fC_c8",T="fC_kl",L="fC_km",A="fC_by",R=n(3468),P=n(4511),F=function(){return(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",children:(0,p.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.33 2.7A7.57 7.57 0 0 0 1.92 5.4l-.45-.78a.75.75 0 1 0-1.3.75L1.7 8.05c.21.36.67.49 1.03.28l2.68-1.55a.75.75 0 0 0-.75-1.3l-1.48.85a6.07 6.07 0 0 1 10.08-2.57 5.97 5.97 0 0 1 0 8.48 6.07 6.07 0 0 1-8.55 0 .75.75 0 1 0-1.05 1.07 7.57 7.57 0 0 0 10.66 0 7.47 7.47 0 0 0 0-10.62Z",fill:"#0055D9"})})},W=function(e){var t=e.setDate,n=e.buttonsData,o=e.activeButton,r=e.setActiveButton,a=e.setIsOpen,l=function(e){var t=(0,f.useRef)(null);return(0,f.useEffect)((function(){var n=function(n){t.current&&!t.current.contains(n.target)&&e()};return window.addEventListener("click",n),function(){return window.removeEventListener("click",n)}}),[]),t}((function(){return a(!1)}));return(0,p.jsxs)("div",{className:O,ref:l,children:[(0,p.jsxs)("div",{className:N,children:[(0,p.jsxs)("div",{className:_,children:[(0,p.jsx)("label",{className:k,htmlFor:"startDate",children:"From"}),(0,p.jsx)("input",{className:M,id:"startDate",type:"date",placeholder:"yyyy-mm-dd",pattern:"\\d{4}-\\d{2}-\\d{2}",onChange:function(e){e.target.validity.valid&&(t({start:new Date(e.target.value)}),r(null))}})]}),(0,p.jsx)(R.p.MinTablet,{children:(0,p.jsx)("span",{className:A,children:"—"})}),(0,p.jsxs)("div",{className:_,children:[(0,p.jsx)("label",{className:k,htmlFor:"endDate",children:"To"}),(0,p.jsx)("input",{className:M,id:"endDate",type:"date",placeholder:"yyyy-mm-dd",pattern:"\\d{4}-\\d{2}-\\d{2}",onChange:function(e){e.target.validity.valid&&(t({end:new Date(e.target.value)}),r(null))}})]})]}),(0,p.jsx)("div",{className:D,children:n.map((function(e,n){return(0,p.jsx)(v.z,{themeColor:"light",view:"pseudo",className:s()(E,o===n?S:void 0),onClick:function(){t(e.onClickData),r(n)},children:e.text},n)}))}),(0,p.jsx)("div",{className:T,children:(0,p.jsxs)(P.r,{className:L,onClick:function(){t(null),r(null)},children:[(0,p.jsx)(F,{}),"Reset filter"]})})]})},q=new Date,H=[{text:"This week",onClickData:{start:new Date,end:new Date((new Date).setDate(q.getDate()+7))}},{text:"This Month",onClickData:{start:new Date,end:new Date((new Date).setMonth(q.getMonth()+1))}},{text:"Next 3 months",onClickData:{start:new Date,end:new Date((new Date).setMonth(q.getMonth()+3))}},{text:"This Year",onClickData:{start:new Date,end:new Date((new Date).setFullYear(q.getFullYear()+1))}}],U=function(e){var t=e.setDate,n=e.filterDate,o=(0,f.useState)(!1),r=o[0],a=o[1],l=(0,f.useState)(null),i=l[0],c=l[1];return(0,p.jsxs)("div",{className:s()(y,r?x:void 0),children:[(0,p.jsxs)("button",{className:b,onClick:function(){return a((function(e){return!e}))},children:[(0,p.jsx)(w,{}),(0,p.jsx)("span",{className:j,children:null===i?(0,p.jsx)(p.Fragment,{children:n?(n.start&&!n.end?"From":"")+" "+(n.start?(0,C.p)(n.start.toString(),{year:"numeric",month:"short",day:"numeric"}):"")+" "+(n.start&&n.end?"—":"")+" "+(!n.start&&n.end?"To":"")+" "+(n.end?(0,C.p)(n.end.toString(),{year:"numeric",month:"short",day:"numeric"}):""):"Any Date"}):H[i].text})]}),r?(0,p.jsx)(W,{setDate:t,buttonsData:H,activeButton:i,setActiveButton:c,setIsOpen:a}):null]})};function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function I(e){for(var t=1;t=n&&t<=T.end:t>=n})):M}),[M,T]),R=(0,f.useCallback)((function(e){L((function(t){return e?I(I({},t),e):null}))}),[L]);return(0,p.jsx)(m.L,{sideScroll:"tablet",id:y,children:(0,p.jsxs)("div",{className:r.wrap,children:[t||d?(0,p.jsxs)("div",{className:s()(r.titleWrap,N.length<=1||d?r.noBorder:void 0,x?r.bigBottomOffset:""),children:[t?(0,p.jsx)(l.D,{className:r.title,level:3,children:t}):null,d]}):null,N.length>1||c?(0,p.jsxs)("div",{className:r.menu,children:[N.length>1?(0,p.jsx)("div",{className:r.categories,children:(0,p.jsx)(h,{categories:N,currentCategory:D.toLowerCase(),onCategoryChange:_,shouldBePlural:u,withoutAllCategory:b,withSplitCapitalizedLetters:w})}):null,c?(0,p.jsx)(U,{setDate:R,filterDate:T}):null,j]}):null,(0,p.jsxs)("div",{className:r.listWrap,children:[i(A.slice(0,k),M,D.toLowerCase()),k0?c.additional.map((function(n){return(0,o.jsx)("source",{media:"(max-width: "+n+"px)",srcSet:t+"x1/"+n+"-"+e.fileName+" 1x , "+t+"x2/"+n+"-"+e.fileName+" 2x",type:e.type},n)})):null,(0,o.jsx)("source",{srcSet:t+"x1/desktop-"+e.fileName+" 1x , "+t+"x2/desktop-"+e.fileName+" 2x",type:e.type})]},e.type)})),(0,o.jsx)("img",{className:d,src:t+"x1/desktop-"+u[u.length-1].fileName,alt:n,width:a,height:s,loading:"lazy",style:f})]})}}},12262:function(e,t,n){"use strict";function o(e,t,n){return new Intl.DateTimeFormat(n||"en-US",t).format(new Date(e))}n.d(t,{p:function(){return o}})},62769:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});var o=n(42982);function r(e){return(0,o.Z)(e).map((function(e,t,n){return e.toUpperCase()===e&&" "!==n[t-1]&&"_"!==n[t-1]&&"_"!==e?" "+e.toLowerCase():"_"===e?null:e})).join("")}},21666:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var o={text:"bJ_h",textarea:"bJ_9",input:"bJ_dK",wrap:"bJ_Z",columns:"bJ_dL"},r=n(84401),a=n(29005),s=n(54269),l=n(85893),i=function(e){var t=e.text,n=e.withoutTextArea,i=e.additionalHiddenFields;return(0,l.jsxs)("form",{action:"https://webto.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8",method:"POST",className:o.wrap,children:[(0,l.jsx)("input",{type:"hidden",name:"orgid",value:"00D7Q000001MbTr"}),(0,l.jsx)("input",{type:"hidden",name:"retURL",value:"https://toloka.ai/changelog"}),(0,l.jsx)("input",{type:"hidden",name:"recordType",value:"0127Q0000002lk1"}),(0,l.jsx)("input",{type:"hidden",name:"origin",value:"Website Toloka"}),i,t?(0,l.jsx)("p",{className:o.text,children:t}):null,n?null:(0,l.jsx)(s.g,{placeholder:"Tell us if your request is for a new feature or an improvement and explain how it affects your work",name:"description",className:o.textarea}),(0,l.jsxs)("div",{className:"light",children:[(0,l.jsxs)("div",{className:o.columns,children:[(0,l.jsx)(a.I,{id:"00N7Q00000EoW19",name:"00N7Q00000EoW19",placeholder:"First name*",required:!0,className:o.input}),(0,l.jsx)(a.I,{id:"00N7Q00000EoW1E",name:"00N7Q00000EoW1E",placeholder:"Last name*",required:!0,className:o.input}),(0,l.jsx)(a.I,{placeholder:"Username (if registered)",id:"00N7Q00000EoWLH",name:"00N7Q00000EoWLH",className:o.input}),(0,l.jsx)(a.I,{type:"email",placeholder:"Work email*",name:"email",required:!0,className:o.input})]}),(0,l.jsx)(a.I,{placeholder:"Company name*",id:"00N7Q00000EoWLM",name:"00N7Q00000EoWLM",required:!0,className:o.input})]}),(0,l.jsx)(r.z,{view:"action",type:"submit",className:o.button,children:"Submit"})]})}},31583:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var o={line:"v_by"},r=n(1568),a=n(85893),s=function(){return(0,a.jsx)(r.L,{className:o.wrap,children:(0,a.jsx)("div",{className:o.line})})}},51512:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var o="m_bb",r=n(85893),a=function(e){var t=e.offset,n=void 0===t?40:t;return(0,r.jsx)("div",{className:o,style:{height:n}})}},97306:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var o=n(85893),r=function(e){var t=e.width,n=void 0===t?24:t,r=e.height,a=void 0===r?24:r,s=e.color,l=void 0===s?"#1E2126":s;return(0,o.jsxs)("svg",{width:n,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsxs)("g",{clipPath:"url(#clip0_9912_138821)",children:[(0,o.jsx)("path",{d:"M7.70711 6.29289C7.31658 5.90237 6.68342 5.90237 6.29289 6.29289C5.90237 6.68342 5.90237 7.31658 6.29289 7.70711L7.70711 6.29289ZM12 12L12.7071 12.7071C13.0976 12.3166 13.0976 11.6834 12.7071 11.2929L12 12ZM6.29289 16.2929C5.90237 16.6834 5.90237 17.3166 6.29289 17.7071C6.68342 18.0976 7.31658 18.0976 7.70711 17.7071L6.29289 16.2929ZM6.29289 7.70711L11.2929 12.7071L12.7071 11.2929L7.70711 6.29289L6.29289 7.70711ZM11.2929 11.2929L6.29289 16.2929L7.70711 17.7071L12.7071 12.7071L11.2929 11.2929Z",fill:l}),(0,o.jsx)("path",{d:"M16.2929 17.7071C16.6834 18.0976 17.3166 18.0976 17.7071 17.7071C18.0976 17.3166 18.0976 16.6834 17.7071 16.2929L16.2929 17.7071ZM12 12L11.2929 11.2929C10.9024 11.6834 10.9024 12.3166 11.2929 12.7071L12 12ZM17.7071 7.70711C18.0976 7.31658 18.0976 6.68342 17.7071 6.29289C17.3166 5.90237 16.6834 5.90237 16.2929 6.29289L17.7071 7.70711ZM17.7071 16.2929L12.7071 11.2929L11.2929 12.7071L16.2929 17.7071L17.7071 16.2929ZM12.7071 12.7071L17.7071 7.70711L16.2929 6.29289L11.2929 11.2929L12.7071 12.7071Z",fill:l})]}),(0,o.jsx)("defs",{children:(0,o.jsx)("clipPath",{id:"clip0_9912_138821",children:(0,o.jsx)("rect",{width:n,height:a,fill:"white"})})})]})}},17182:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return F}});var o=n(74533),r=n(88586),a=n(37990),s=n(52893),l=n(93252),i=n(88709),c=n(46237),u=n(51512),d=n(67294),f="d2_x",p="d2_jh",h="d2_w",m="d2_jj",v="d2_Z",g=n(85893),y=function(e){var t=e.items;return(0,g.jsx)("ul",{className:v,children:t.map((function(e,t){return(0,g.jsxs)(d.Fragment,{children:[(0,g.jsx)("li",{className:f,children:(0,g.jsx)("div",{className:p,children:e.left})}),(0,g.jsx)("li",{className:h,children:(0,g.jsx)("div",{className:m,children:e.right})})]},t)}))})},b=n(62849),x="cf_6",j=function(e){var t=e.items,n=e.articlesAmount,o=e.title,r=e.info,a=e.additionalMenu;return(0,g.jsx)(b.Z,{title:o,info:r,bigTitleBottomOffset:!0,withoutAllCategory:!0,additionalMenu:a,showMore:{text:"View more",size:"l",view:"pseudo",className:x},articlesAmount:n,articles:t,render:function(e){return(0,g.jsx)(y,{items:e})}})},w=n(4511),C=n(21666),O=n(53821),N=n.n(O),_="cg_dw",k="cg_fy",M="cg_cz",D="cg_fz",E="cg_dc",S=n(97306),T=function(e){var t=e.isOpen,n=e.onClose,o=e.head,r=e.body;return(0,d.useEffect)((function(){t?document.body.classList.add("hidden"):document.body.classList.remove("hidden")}),[t]),(0,g.jsxs)(N(),{overlayClassName:_,className:k,isOpen:t,onRequestClose:n,closeTimeoutMS:300,ariaHideApp:!1,children:[(0,g.jsxs)("div",{className:M,children:[(0,g.jsx)(c.D,{level:5,children:o}),(0,g.jsx)("button",{onClick:n,className:E,children:(0,g.jsx)(S.S,{})})]}),(0,g.jsx)("div",{className:D,children:r})]})},L=n(84401),A=n(3468),R=n(92401),P=n(31583);function F(){var e=(0,d.useState)(!1),t=e[0],n=e[1];return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.q,{og:{img:"https://tlk-infra-front.azureedge.net/portal-static/images/changelog/share-img.jpg",title:"What’s new in Toloka",description:"Check out recent product updates"}}),(0,g.jsx)(o.n,{}),(0,g.jsxs)(r.i,{headerPadding:!0,children:[(0,g.jsx)(a.h,{defaultBackground:"dark"}),(0,g.jsx)(u.w,{offset:40}),(0,g.jsx)(j,{title:"What’s new in Toloka",info:(0,g.jsx)("p",{children:"Check out recent product updates"}),articlesAmount:4,additionalMenu:(0,g.jsx)(A.p.Desktop,{children:(0,g.jsx)(L.z,{themeColor:"light",view:"pseudo",onClick:function(){return n(!0)},children:"Request a feature"})}),items:[{category:"Changelog",left:"Oct 03, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Project efficiency indicators"}),(0,g.jsx)("p",{children:"Metrics calculated for each pool in the project and then displayed on the Efficiency tab of the pool page."}),(0,g.jsx)(w.r,{href:"/blog/performance-indicators/",iconPosition:"right",children:"Read post"})]})},{category:"Changelog",left:"Sep 06, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"New presets: Audio classification and Survey on third-party platform"}),(0,g.jsx)("p",{children:"Two more project presets that include a template for the task interface and a set of instructions for Tolokers."}),(0,g.jsx)(w.r,{href:"/blog/product-digest-september-2022/",iconPosition:"right",children:"Read post"})]})},{category:"Changelog",left:"Aug 26, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Sample datasets in popular presets"}),(0,g.jsx)("p",{children:"Unlabeled datasets with task examples that are ready to use for experiments with popular presets."}),(0,g.jsx)(w.r,{href:"/blog/product-digest-september-2022/",iconPosition:"right",children:"Read post"})]})},{category:"Changelog",left:"Aug 25, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Docs & Resources on the Toloka platform"}),(0,g.jsx)("p",{children:"Find links to all our helpful resources in the top menu."})]})},{category:"Changelog",left:"Aug 12, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Improved task loading"}),(0,g.jsx)("p",{children:"XLSX and JSON formats added for tasks uploading."})]})},{category:"Changelog",left:"Jul 21, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Task interface mobile preview"}),(0,g.jsx)("p",{children:"You can now check how your tasks will look on Tolokers' devices."})]})},{category:"Changelog",left:"Jul 19, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"New side-by-side presets and no-code task editor"}),(0,g.jsx)("p",{children:"More presets to choose from and a no-code editor for tweaking the task interface."}),(0,g.jsx)(w.r,{href:"/blog/new-presets/",iconPosition:"right",children:"Read post"})]})},{category:"Changelog",left:"Jun 8, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:'"Review Budget" feature'}),(0,g.jsx)("p",{children:"Estimate total cost of a task pool before launching to avoid surprises."}),(0,g.jsx)(w.r,{href:"/blog/review-budget/",iconPosition:"right",children:"Read post"})]})},{category:"Changelog",left:"May 26, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Automated control tasks for improving data labeling quality"}),(0,g.jsx)("p",{children:"Request custom control tasks for your project data in one click. Control tasks appear in the pool automatically."}),(0,g.jsx)(w.r,{href:"/blog/control-tasks/",iconPosition:"right",children:"Read post"})]})},{category:"Changelog",left:"Mar 25, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Budget calculator and price precision"}),(0,g.jsxs)("p",{children:["Two pool configuration updates make budgeting easier: ",(0,g.jsx)("br",{}),"price precision (smaller monetary units) and a cost calculator for estimating spending."]}),(0,g.jsx)(w.r,{href:"/blog/cost-calculator/",iconPosition:"right",children:"Read post"})]})},{category:"Changelog",left:"Feb 1, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"New discovery page for creating labeling projects"}),(0,g.jsx)("p",{children:"Improved navigation makes it easier to find the preset you need for a new project."}),(0,g.jsx)(w.r,{href:"/blog/discovery-page/",iconPosition:"right",children:"Read post"})]})},{category:"Roadmap",left:"Oct 31, 2022",right:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.D,{level:5,children:"Onboarding within Toloka platform"}),(0,g.jsx)("p",{children:"Quick onboarding that walks new users through their first project."}),(0,g.jsx)(u.w,{offset:30}),(0,g.jsx)(c.D,{level:5,children:"Step-by-step wizard for project launch"}),(0,g.jsx)("p",{children:"Wizard in the platform interface that guides you through launching a project."}),(0,g.jsx)(u.w,{offset:30}),(0,g.jsx)(c.D,{level:5,children:"Expert assistance on request"}),(0,g.jsx)("p",{children:"Our engineering team can set up your project or help with configuration when requested via support."}),(0,g.jsx)(u.w,{offset:30}),(0,g.jsx)(c.D,{level:5,children:"Tips on improving quality of data"}),(0,g.jsx)("p",{children:"Recommendations for boosting the quality of results are shown in context on the platform."}),(0,g.jsx)(u.w,{offset:30}),(0,g.jsx)(c.D,{level:5,children:"Self labeling before project launch"}),(0,g.jsx)("p",{children:"Option to try out tasks as a Toloker to double-check instructions and tasks before launching the project."}),(0,g.jsx)(u.w,{offset:30}),(0,g.jsx)(c.D,{level:5,children:"Suggested task price"}),(0,g.jsx)("p",{children:"Optimal price per task calculated for each project."})]})}]}),(0,g.jsxs)(A.p.MaxTablet,{children:[(0,g.jsx)(P.N,{}),(0,g.jsx)(R.F,{leftColumn:{title:{text:(0,g.jsxs)(g.Fragment,{children:["Do you want ",(0,g.jsx)("br",{})," to request a feature?"]})},links:[{view:"action",text:"Request a feature",onClick:function(){return n(!0)}}]}})]}),(0,g.jsx)(T,{isOpen:t,onClose:function(){return n(!1)},head:"Request a feature",body:(0,g.jsx)(C.X,{text:"What's your feature request, feedback, or idea?",additionalHiddenFields:(0,g.jsx)("input",{type:"hidden",name:"reason",value:"Feature Request"})})}),(0,g.jsx)(u.w,{offset:40}),(0,g.jsx)(l.$,{}),(0,g.jsx)(i.f,{})]})]})}}}]);