PageSourceSearch

https://cdn.tbank.ru/s3aas/boxy/mm/desktop-filter/0.86.3/desktop-filter.client.js

js tbank.ru collected 2026-10-09 21:39:09 UTC 165,518 bytes, 2 lines download raw bytes

1"use strict";var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,u=1,r=arguments.length;u<r;u++)for(var o in t=arguments[u])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};!function(){if("u">typeof x29b7c6e98)try{t={},"u">typeof __cloudContext_5ca2e8e5_&&(t.currentScriptPublicPath=__cloudContext_5ca2e8e5_.currentScriptPublicPath,t.currentScriptUrl=__cloudContext_5ca2e8e5_.currentScriptUrl),u=d({mm:mm,scopeGlobals:t}),exports.unpackPromise=u(exports,require,module,__filename,__dirname)}catch(e){mm.error=e}else{var e,t,u,r,o,n,i,a,l,s=void 0,c=void 0;try{s=p(),c=h(),n={origin:"release-2026.10.07-Lawrencium",initialize:function(){},initialized:!1},i=d({mm:n,scopeGlobals:{currentScriptPublicPath:null==(r=document.currentScript)?void 0:r.dataset.publicPath,currentScriptUrl:null==(o=document.currentScript)?void 0:o.src}}),a=p(),l=function(e){var t;return null==(t=a.externals)?void 0:t[e]},n.initialize=function(){var e={exports:{}},t=i(e.exports,l,e);return t&&"then"in t?t.then(function(){n.initialized=!0,delete n.initialize}):(n.initialized=!0,delete n.initialize,t)},a.modules[h()]=n}catch(e){(null==s?void 0:s.modules)&&c&&(s.modules[c]=s.modules[c]||{},s.modules[c].error=e)}}function d(e){var t=e.mm,u=e.scopeGlobals;return function(e,r,o,n,i){var a;try{var l={308:function(e,t,u){u(844),t.Ql=function(e){return i(e)?function(e){return n(e)?.299*e.r+.587*e.g+.114*e.b:""}(l(a(e)))>186?"#333":"#fff":"#333"},t.fd=i,t.v2=function(e){return n(e)?"#"+s(e.r)+s(e.g)+s(e.b):"#ffffff"};let r={r:255,g:255,b:255};function o(e,t){return""!==e&&void 0!==e&&typeof e===t}function n(e){return o(e,"object")&&o(e.r,"number")&&o(e.g,"number")&&o(e.b,"number")}function i(e){return o(e,"string")&&(7===e.length||4===e.length)&&/^#/.test(e)}function a(e){void 0===e&&(e="");let t=e.toLowerCase().replace(/[^\da-f]/g,"");return o(t,"string")&&(3===t.length||6===t.length)?(3===t.length&&(t=t.replace(/(.)/g,"$1$1")),"#"+t):""}function l(e){return i(e)?{r:parseInt(e.substr(1,2),16),g:parseInt(e.substr(3,2),16),b:parseInt(e.substr(5,2),16)}:r}function s(e){if(e>255||e<0)return"ff";let t=Math.round(+e).toString(16);return 1===t.length?"0"+t:t}},105:function(e,t){var u=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?u(i(e)):{},((e,t,u,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,s=n(t),c=0,d=s.length;c<d;c++)l=s[c],a.call(e,l)||l===u||r(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(i=o(t,l))||i.enumerable});return e})(!t&&e&&e.__esModule?l:r(l,"default",{value:e,enumerable:!0}),e))},873:function(e,t,u){let r=u(105).__toESM(u(15));t.A=function(e){return function(t){let u={};for(let e in t)t.hasOwnProperty(e)&&(u[e]=t[e]);return u.svgCode=t.iconPath,r.createElement(e,u)}}},187:function(e,t){let u=["array","bool","func","number","object","string","symbol","any","element","elementType","node"],r=["arrayOf","instanceOf","objectOf","oneOf","oneOfType","shape","exact"],o={checkPropTypes:function(){},resetWarningCache:function(){}},n=function(){return null};n.isRequired=function(){return null};let i=function(){return n};for(let e=0;e<u.length;e++)o[u[e]]=n;for(let e=0;e<r.length;e++)o[r[e]]=i;o.PropTypes=o,o.array,o.bool,o.func,o.number,o.object,o.string,o.symbol,o.any,o.element,o.elementType,o.node,o.arrayOf,o.instanceOf,o.objectOf,o.oneOf,o.oneOfType,o.shape,o.exact,t.Ay=o},11:function(e,t){var u;t.BoxyDiKey=void 0,(u=t.BoxyDiKey||(t.BoxyDiKey={})).appName="appName",u.appId="appId",u.env="env",u.currentRegion="currentRegion",u.setUrlQuery="setUrlQuery",u.dco="dco",u.runtimeEnv="runtimeEnv",u.trackingService="trackingService",u.trackingOptions="trackingOptions",u.layout="layout",u.mgm="mgm",u.isUserAuthorized="isUserAuthorized",u.isAuthorized="isAuthorized",u.getSessionId="getSessionId",u.getWuid="getWuid",u.userAgent="userAgent",u.userAgentRaw="userAgentRaw",u.roles="roles",u.blocksTrackingFeatures="blocksTrackingFeatures",u.logout="logout",u.navigate="navigate",u.featureToggle="featureToggle",u.logger="logger",u.eventea="eventea",u.handleNavigationMetrics="handleNavigationMetrics",u.router="router"},226:function(e,t,u){t.p=void 0;let r=u(11);Object.defineProperty(t,"p",{enumerable:!0,get:function(){return r.BoxyDiKey}})},180:function(e){e.exports=function(e){return e&&e[0]}},260:function(e){e.exports=function(e,t){return function u(){for(var r=arguments.length,o=Array(r),n=0;n<r;n++)o[n]=arguments[n];return o.length>=e?t.apply(this,o):function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.apply(this,o.concat(t))}}}},419:function(e){e.exports=function(e){return"function"==typeof e}},605:function(e,t,u){e.exports=u(260)(2,function(e,t){void 0===e&&(e=[]),void 0===t&&(t={});for(var u=t,r=0;r<e.length;r++){if(null==u)return;u=u[e[r]]}return u})},962:function(e,t,u){e.exports=u(260)(3,function(e,t,u){return void 0===e&&(e=""),void 0===t&&(t=""),void 0===u&&(u=""),u.replace(e,t)})},744:function(e,t,u){e.exports=u(260)(2,function(e,t){return void 0===e&&(e=/()/),void 0===t&&(t=""),e.test(t)})},181:function(e){e.exports=function(e,t,u){for(var r=(2<<Math.log(t.length-1)/Math.LN2)-1,o=-~(1.6*r*u/t.length),n="";;)for(var i=e(o),a=o;a--;)if((n+=t[i[a]&r]||"").length===+u)return n}},848:function(e,t,u){var r=u(602),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return r.isMemo(e)?i:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,u,r){if("string"!=typeof u){if(f){var o=p(u);o&&o!==f&&e(t,o,r)}var i=c(u);d&&(i=i.concat(d(u)));for(var a=l(t),m=l(u),g=0;g<i.length;++g){var b=i[g];
1if(!n[b]&&!(r&&r[b])&&!(m&&m[b])&&!(a&&a[b])){var v=h(u,b);try{s(t,b,v)}catch(e){}}}}return t}},206:function(e,t){var u="function"==typeof Symbol&&Symbol.for,r=u?Symbol.for("react.element"):60103,o=u?Symbol.for("react.portal"):60106,n=u?Symbol.for("react.fragment"):60107,i=u?Symbol.for("react.strict_mode"):60108,a=u?Symbol.for("react.profiler"):60114,l=u?Symbol.for("react.provider"):60109,s=u?Symbol.for("react.context"):60110,c=u?Symbol.for("react.async_mode"):60111,d=u?Symbol.for("react.concurrent_mode"):60111,h=u?Symbol.for("react.forward_ref"):60112,p=u?Symbol.for("react.suspense"):60113,f=u?Symbol.for("react.suspense_list"):60120,m=u?Symbol.for("react.memo"):60115,g=u?Symbol.for("react.lazy"):60116,b=u?Symbol.for("react.block"):60121,v=u?Symbol.for("react.fundamental"):60117,A=u?Symbol.for("react.responder"):60118,E=u?Symbol.for("react.scope"):60119;function D(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case n:case a:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case h:case g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return D(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=n,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=a,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||D(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return D(e)===s},t.isContextProvider=function(e){return D(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return D(e)===h},t.isFragment=function(e){return D(e)===n},t.isLazy=function(e){return D(e)===g},t.isMemo=function(e){return D(e)===m},t.isPortal=function(e){return D(e)===o},t.isProfiler=function(e){return D(e)===a},t.isStrictMode=function(e){return D(e)===i},t.isSuspense=function(e){return D(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===d||e===a||e===i||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===s||e.$$typeof===h||e.$$typeof===v||e.$$typeof===A||e.$$typeof===E||e.$$typeof===b)},t.typeOf=D},602:function(e,t,u){e.exports=u(206)},971:function(e,t){function u(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return i[e];var u=String(e),n=r[u.toLowerCase()];if(n)return n;var n=o[u.toLowerCase()];return n||(1===u.length?u.charCodeAt(0):void 0)}u.isEventKey=function(e,t){if(e&&"object"==typeof e){var u=e.which||e.keyCode||e.charCode;if(null==u)return!1;if("string"==typeof t){var n=r[t.toLowerCase()];if(n)return n===u;var n=o[t.toLowerCase()];if(n)return n===u}else if("number"==typeof t)return t===u;return!1}};var r=(t=e.exports=u).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(n=97;n<123;n++)r[String.fromCharCode(n)]=n-32;for(var n=48;n<58;n++)r[n-48]=n;for(n=1;n<13;n++)r["f"+n]=n+111;for(n=0;n<10;n++)r["numpad "+n]=n+96;var i=t.names=t.title={};for(n in r)i[r[n]]=n;for(var a in o)r[a]=o[a]},18:function(e,t,u){e.exports=u(486)},911:function(e,t,u){var r,o,n,i=u(750),a="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function l(e){if(!e){r!==a&&(r=a,n=!1);return}if(e!==r){if(e.length!==a.length)throw Error("Custom alphabet for shortid must be "+a.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter(function(e,t,u){return t!==u.lastIndexOf(e)});if(t.length)throw Error("Custom alphabet for shortid must be "+a.length+" unique characters. These characters were not unique: "+t.join(", "));r=e,n=!1}}function s(){return n||(n=function(){r||l(a);for(var e,t=r.split(""),u=[],o=i.nextValue();t.length>0;)o=i.nextValue(),e=Math.floor(o*t.length),u.push(t.splice(e,1)[0]);return u.join("")}())}
1e.exports={get:function(){return r||a},characters:function(e){return l(e),r},seed:function(e){i.seed(e),o!==e&&(n=!1,o=e)},lookup:function(e){return s()[e]},shuffled:s}},662:function(e,t,u){var r,o,n=u(223);u(911),e.exports=function(e){var t="",u=Math.floor((Date.now()-0x16d05594f0e)*.001);return u===o?r++:(r=0,o=u),t+=n(7),t+=n(e),r>0&&(t+=n(r)),t+=n(u)}},223:function(e,t,u){var r=u(911),o=u(469),n=u(181);e.exports=function(e){for(var t,u=0,i="";!t;)i+=n(o,r.get(),1),t=e<Math.pow(16,u+1),u++;return i}},486:function(e,t,u){var r=u(911),o=u(662),n=u(587),i=u(453)||0;function a(){return o(i)}e.exports=a,e.exports.generate=a,e.exports.seed=function(t){return r.seed(t),e.exports},e.exports.worker=function(t){return i=t,e.exports},e.exports.characters=function(e){return void 0!==e&&r.characters(e),r.shuffled()},e.exports.isValid=n},587:function(e,t,u){var r=u(911);e.exports=function(e){return!!e&&"string"==typeof e&&!(e.length<6)&&!RegExp("[^"+r.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(e)}},469:function(e){var t=window.crypto||window.msCrypto;e.exports=t&&t.getRandomValues?function(e){return t.getRandomValues(new Uint8Array(e))}:function(e){for(var t=[],u=0;u<e;u++)t.push(Math.floor(256*Math.random()));return t}},750:function(e){var t=1;e.exports={nextValue:function(){return(t=(9301*t+49297)%233280)/233280},seed:function(e){t=e}}},453:function(e){e.exports=0},15:function(e){e.exports=r("react")},844:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var u=arguments[t];for(var r in u)({}).hasOwnProperty.call(u,r)&&(e[r]=u[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},773:function(e,t,u){var r=u(844);let o=u(511),n=u(1),i=u(214),a=u(732);e.exports=r({},o,n,i,a)},511:function(e){e.exports={"yellow-100":"#FFDD2D","yellow-200":"#FCC521","yellow-300":"#FAB619","black-100":"#909090","black-200":"#666666","black-300":"#333333","black-400":"#000000","gray-100":"#F5F5F6","gray-200":"#E7E8EA","gray-300":"#CBCFD3","gray-400":"#959BA4","gray-500":"#79818C","gray-600":"#616871","lightBlue-100":"#ECF1F7","lightBlue-200":"#
1E4EBF3","lightBlue-300":"#DDE4ED","blue-100":"#1771E6","blue-200":"#1464CC","blue-300":"#0953B3","green-100":"#39B54A","green-200":"#2CA53A","green-300":"#168821","red-100":"#E01F19","red-200":"#D3120E","red-300":"#C40B08",white:"#FFFFFF"}},1:function(e,t,u){let r=u(511);e.exports={primary:r["yellow-100"],"status-warning":r["yellow-100"],"primary-hover":r["yellow-200"],"status-warning-hover":r["yellow-200"],"primary-active":r["yellow-300"],"status-warning-active":r["yellow-300"],"whiteblock-hover":r["gray-100"],"card-secondary":r["gray-100"],border:r["gray-200"],"border-dark":r["gray-300"],"border-darker":r["gray-400"],status:r["gray-400"],"text-alternate":r["gray-400"],"status-hover":r["gray-500"],"textfield-placeholder":r["gray-500"],"border-focus":r["gray-600"],"textfield-placeholder-hover":r["gray-600"],"status-active":r["gray-600"],textfield:r["lightBlue-100"],secondary:r["lightBlue-100"],"textfield-hover":r["lightBlue-200"],"secondary-hover":r["lightBlue-200"],"secondary-active":r["lightBlue-300"],"blank-black":r["black-300"],"blank-white":r.white,"card-primary":r.white,"text-inverse":r.white,"outline-border":r["blue-100"],link:r["blue-100"],"outline-border-hover":r["blue-200"],"link-hover":r["blue-200"],"outline-border-active":r["blue-300"],"link-active":r["blue-300"],"status-success":r["green-100"],"status-success-hover":r["green-200"],"status-success-active":r["green-300"],"status-error":r["red-100"],"status-error-hover":r["red-200"],"status-error-active":r["red-300"],"true-black":r["black-400"]}},214:function(e){e.exports={mustard:"#ffd450",texas:"#ffb74c",tan:"#f8a34d",salmon:"#ff8863",bittersweet:"#ff7b76",sienna:"#ee805d",pinkie:"#ff78a7",charm:"#d45d8c",amethyst:"#bc71c9",helio:"#a381ff",lilac:"#8f75d1",malibu:"#7caeff",havelock:"#65a7e0",picton:"#4dc3f7",mint:"#4bd0e1",fountain:"#4eb6c2",puertorico:"#4fbdb2",bay:"#4da197",forest:"#73b077",york:"#81c785",feijoa:"#aed57f"}},732:function(e,t,u){let r=u(511);e.exports={"text-primary":"rgba(0, 0, 0, 0.8)","text-secondary":"rgba(0, 0, 0, 0.54)","text-placeholder-hover":"rgba(0, 0, 0, 0.54)","text-tertiary":"rgba(0, 0, 0, 0.4)","text-placeholder":"rgba(0, 0, 0, 0.4)","text-primary-inverse":"rgba(255, 255, 255, 1)","text-secondary-inverse":"rgba(255, 255, 255, 0.72)","text-link":r["blue-100"],"text-link-hover":r["blue-300"],"text-green":r["green-300"],"text-success":r["green-300"],"text-error":r["red-300"],"text-red":r["red-300"]}},502:function(e){e.exports={SPACING_ALIAS:{tiny:"spacing-tiny",xxxs:"spacing-xxxs",xxs:"spacing-xxs",xs:"spacing-xs",s:"spacing-s",m:"spacing-m",l:"spacing-l",xl:"spacing-xl",xxl:"spacing-xxl",xxxl:"spacing-xxxl",huge:"spacing-huge"},SHADOW_ALIAS:{default:"shadow-default",sidebar:"shadow-sidebar",modal:"shadow-modal",popover:"shadow-popover",dropdown:"shadow-dropdown",defaultHover:"shadow-default-hover",modalMobile:"shadow-modal-mobile",tooltip:"shadow-tooltip"},MEDIA_ALIAS:{phoneSmall:"PHONE_SMALL",phoneGiant:"PHONE_GIANT",phone:"PHONE",mediumTablets:"MEDIUM_TABLETS",tablets:"TABLETS",mobile:"MOBILE",desktop:"DESKTOP",desktopSmall:"DESKTOP_SMALL",desktopMedium:"DESKTOP_MEDIUM",desktopLargeBoard:"DESKTOP_LARGE_BOARD",desktopLarge:"DESKTOP_LARGE",desktopExtraLarge:"DESKTOP_EXTRA_LARGE",tabletS:"TABLET_S",tabletL:"TABLET_L",desktopS:"DESKTOP_S",desktopMd:"DESKTOP_MD",desktopM:"DESKTOP_M",desktopL:"DESKTOP_L"},LAYERS_ALIAS:{hidden:"layer-hidden",zero:"layer-zero",normal:"layer-normal",popover:"layer-popover",navigation:"layer-navigation",overlay:"layer-overlay",alert:"layer-alerts"},BORDER_ALIAS:{defaultS:"border-default-s",defaultL:"border-default-l",radiusS:"border-radius-s",radiusL:"border-radius-l"}}},198:function(e){e.exports={"border-default-s":"1px solid #B3B3B3","border-default-l":"2px solid #B3B3B3","border-radius-s":"4px","border-radius-l":"8px"}},255:function(e){e.exports={D_12:12,D_18:18,D_24:24,D_30:30,D_36:36,D_42:42,D_48:48,D_60:60,D_66:66,D_78:78,D_84:84,D_90:90,D_102:102,D_108:108,D_120:120,D_138:138,D_174:174,D_198:198}},533:function(e){e.exports={M_30:30,M_36:36,M_42:42,M_60:60,M_66:66,M_78:78,M_84:84,M_120:120,M_138:138}},562:function(e,t,u){let r=u(198),o=u(255),n=u(533),i=u(614),a=u(390),l=u(568),s=u(79),c=u(502);e.exports={border:r,iconDesktopSizes:o,iconMobileSizes:n,layers:i,media:a,shadow:l,spacing:s,SPACING_ALIAS:c.SPACING_ALIAS,SHADOW_ALIAS:c.SHADOW_ALIAS,MEDIA_ALIAS:c.MEDIA_ALIAS,LAYERS_ALIAS:c.LAYERS_ALIAS,BORDER_ALIAS:c.BORDER_ALIAS}},614:function(e){e.exports={"layer-hidden":-1,"layer-zero":0,"layer-normal":1,"layer-popover":100,"layer-navigation":200,"layer-overlay":300,"layer-alerts":400}},390:function(e){e.exports={PHONE_SMALL:370,PHONE_GIANT:541,PHONE:599,MEDIUM_TABLETS:600,TABLETS:600,MOBILE:1023,DESKTOP:1024,DESKTOP_SMALL:1024,DESKTOP_MEDIUM:1360,DESKTOP_LARGE_BOARD:1600,DESKTOP_LARGE:1600,DESKTOP_EXTRA_LARGE:1716,TABLET_S:600,TABLET_L:768,DESKTOP_S:1024,DESKTOP_MD:1280,DESKTOP_M:1360,DESKTOP_L:1600}},568:function(e){e.exports={"shadow-default":"0px 4px 24px rgba(0, 0, 0, .12)","shadow-default-hover":"0px 12px 36px rgba(0, 0, 0, .2)","shadow-sidebar":"4px 0px 24px rgba(0, 0, 0, .12)","shadow-modal":"0px 18px 30px rgba(51, 51, 51, .52)","shadow-modal-mobile":"0px -16px 28px rgba(51, 51, 51, .24)","shadow-popover":"0px 25px 15px rgba(0, 0, 0, 0.03), 0px 11px 11px rgba(0, 0, 0, 0.04), 0px 3px 6px rgba(0, 0, 0, 0.05)","shadow-dropdown":"0px 25px 15px rgba(0, 0, 0, 0.03), 0px 11px 11px rgba(0, 0, 0, 0.04), 0px 3px 6px rgba(0, 0, 0, 0.05)","shadow-tooltip":"0px 6px 15px rgba(0,0,0,.2)"}},79:function(e){e.exports={"spacing-tiny":"2px","spacing-xxxs":"4px","spacing-xxs":"8px","spacing-xs":"12px","spacing-s":"16px","spacing-m":"20px","spacing-l":"24px","spacing-xl":"32px","spacing-xxl":"48px","spacing-xxxl":"64px","spacing-huge":"128px"}},528:function(e){var t={}.hasOwnProperty;function u(){for(var e="",o=0;o<arguments.length;o++){var n=arguments[o];n&&(e=r(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return u.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var o="";for(var n in e)t.call(e,n)&&e[n]&&(o=r(o,n));return o}(n)))}return e}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(u.default=u,e.exports=u):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return u}):window.classNames=u}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var u=s[e]={exports:{}};return l[e](u,u.exports,c),u.exports}
1c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t,u){var r=function(t,u){for(var r in t)if(c.o(t,r)&&!c.o(e,r)){var o={enumerable:!0};o[u]=t[r],Object.defineProperty(e,r,o)}};r(t,"get"),r(u,"value")},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};for(var h in!function(){let e,t,u,o;c.r(d),c.d(d,{default:function(){return od}});var n,i,a,l=c(844),s=c.n(l),h=c(15),p=c.n(h);let f=p().createContext(null),m=(e=>{let{isItemChecked:t,updateValue:u,getDefaultFocusedItem:r}=e;return e=>{let{name:o,value:n,focused:i,disabled:a,itemsOrder:l,disabledItems:s,onChange:c,onFocus:d,onBlur:h,children:m}=e,[g,b]=p().useState(null),v=p().useCallback((e,t)=>{let r=u(n,t);r!==n&&c(e,{name:o,value:r,item:t.value})},[o,n,c]),A=p().useCallback((e,t)=>{b(t.value),i||d(e,{name:o,value:n,item:t.value})},[o,n,i,d]),E=p().useCallback((e,t)=>{b(null);let{relatedTarget:u}=e;i&&(!u||u.name!==o)&&h(e,{name:o,value:n,item:t.value})},[o,n,i,h]);p().useEffect(()=>{if(!i||a){null!==g&&b(null);return}if(g&&l.includes(g)&&!(s&&s.includes(g)))return;let e=r({value:n,itemsOrder:l,disabledItems:s});b(e)},[i,l,a,s]);let D={isItemChecked:e=>t(n,e),isItemFocused:e=>e===g,isItemDisabled:e=>a||!!(s&&s.includes(e)),getItemProps:e=>({name:o,checked:D.isItemChecked(e),focused:D.isItemFocused(e),disabled:D.isItemDisabled(e),onChange:v,onFocus:A,onBlur:E})};return p().createElement(f.Provider,{value:D},"function"==typeof m?m(D):m)}})({updateValue:(e,t)=>t.checked?t.value:e===t.value?null:e,isItemChecked:(e,t)=>e===t,getDefaultFocusedItem:e=>{let{itemsOrder:t,disabledItems:u=[]}=e;return t.find(e=>!u.includes(e))||null}});function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var u=arguments[t];for(var r in u)({}).hasOwnProperty.call(u,r)&&(e[r]=u[r])}return e}).apply(null,arguments)}function b(e,t){if(null==e)return{};var u={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;u[r]=e[r]}return u}var v=e=>(0,h.useMemo)(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e);let A=e=>{let{focused:t,onFocus:u,onBlur:r}=e,[o,n]=(0,h.useState)(!1);return{focused:void 0!==t?t:o,onFocus:(0,h.useCallback)((e,t)=>{n(!0),u&&u(e,t)},[u]),onBlur:(0,h.useCallback)((e,t)=>{n(!1),r&&r(e,t)},[r])}},E=["defaultValue"];var D=c(528),C=c.n(D),F=function(e){let{dataQaType:t,dataQaData:u}=e;return{"data-qa-type":t,"data-qa-data":"object"==typeof u?JSON.stringify(u):u}};let B=function(e){void 0===e&&(e=21);let t="",u=0|e;for(;u--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},y=e=>{let t=p().useId();return null!=e?e:t};var _=e=>{let t,u=(t=e)&&t.constructor&&t.constructor.name||"dsId",r=B(10);return u+"_"+r},w=c(848),k=c.n(w),x=c(971),S=c.n(x),T=function(e,t){if(!t)return e;let u=g({},e);return Object.keys(t).forEach(e=>{u[e]+=" "+t[e]}),u},O=c(187),P=c(562),M=c.n(P);function L(){return!!("ontouchstart"in window||window.DocumentTouch&&"u">typeof document&&document instanceof window.DocumentTouch)}let R=e=>(null==e?void 0:e.tagName)==="BODY"||(null==e?void 0:e.tagName)==="HTML",z=e=>{if(!e)return 1;let t=Number(window.getComputedStyle(e).getPropertyValue("zoom"));return!Number.isNaN(t)&&t?t:1},N=e=>{let t=e.parentElement,u=1;for(;t&&!R(t);)u*=z(t),t=t.parentElement;return u},I=(e,t)=>{let u=1;return"object"==typeof e&&e.current?e.current.forEach(e=>{e.contains(t)&&(u*=z(e))}):u=N(t),u},j=(0,h.createContext)({zoom:!1});var W=r("react-dom");let $="data-tui-portal-exit",H="data-tui-portal-wrapper",Y=(e,t)=>{e&&("function"==typeof e?e(t):e.current=t)},q=["tagName","toBody","to","exitRef","prerender","children"];var Z=e=>{let{tagName:t="div",toBody:u,to:r=u?"body":void 0,exitRef:o,prerender:n,children:i}=e,a=b(e,q),[l,s]=p().useState(null),c=p().useCallback(e=>{if(!e)return void Y(o,null);let t=((e,t)=>{if(!t){let t;return(t=e.closest("["+H+"]"))&&t.querySelector("["+$+"]")||document.body}if("string"==typeof t){var u;return u=t,"body"===u?document.body:document.querySelector("["+$+"='"+u+"']")||document.body}return t instanceof HTMLElement?t:document.body})(e,r);s(t),Y(o,t)},[r,o]);return p().createElement(p().Fragment,null,p().createElement(t,g({ref:c,hidden:!0},a),n&&!l?i:null),l&&(0,W.createPortal)(i,l))};let Q=(0,h.createContext)({}),U=function(e,t){void 0===t&&(t=1);
1let{top:u,right:r,bottom:o,left:n,width:i,height:a,x:l,y:s}=e.getBoundingClientRect();i/=t,a/=t,l/=t,s/=t,u/=t,r/=t,o/=t,n/=t;let c=getComputedStyle(e),d=c.getPropertyValue("transform");if(d&&e instanceof HTMLElement&&d.startsWith("matrix(")){let t=d.slice(7,-1).split(/, /),u=+t[0],r=+t[3],o=+t[4],n=+t[5],h=c.getPropertyValue("transform-origin"),p=l-o-(1-u)*parseFloat(h),f=s-n-(1-r)*parseFloat(h.slice(h.indexOf(" ")+1)),m=u?i/u:e.offsetWidth,g=r?a/r:e.offsetHeight;return{top:f,right:p+m,bottom:f+g,left:p,width:m,height:g,x:p,y:f}}return{top:u,right:r,bottom:o,left:n,width:i,height:a,x:l,y:s}};function X(e,t){let u=Math.max(e.top,t.top),r=Math.max(e.left,t.left),o=Math.min(e.right,t.right),n=Math.min(e.bottom,t.bottom);return{top:u,left:r,right:o,bottom:n,width:o-r,height:n-u}}let K={start:["start","end","center"],end:["end","center","start"],center:["center","start","end"],stretch:["stretch"],auto:["auto"]},V={top:["end","center","start"],bottom:["start","center","end"],left:["start","center","end"],right:["end","center","start"]},G={top:"bottom",left:"right",right:"left",bottom:"top"},J={top:["top","bottom","right","left"],left:["left","right","top","bottom"],right:["right","left","top","bottom"],bottom:["bottom","top","right","left"]},ee=(e,t,u,r,o,n)=>{var i,a;let l=0;n&&(l+=n.height/2);let s=g({},t),c=g({},e),d=(null!=(i=null==e?void 0:e.top)?i:r.height/2)+(null!=(a=null==e?void 0:e.marginTop)?a:0);return d<o?"left"===u?s.borderTopRightRadius=0:s.borderTopLeftRadius=0:d>r.height-o&&("left"===u?s.borderBottomRightRadius=0:s.borderBottomLeftRadius=0),d<l?(c.marginTop=0,c.top=Math.round(l)):d>r.height-l&&(c.marginTop=0,c.top=r.height-l),{tooltipStyle:s,cornerStyle:c}},et=(e,t,u,r,o,n)=>{var i,a;let l=0;n&&(l+=n.width/2);let s=g({},t),c=g({},e),d=(null!=(i=null==e?void 0:e.left)?i:r.width/2)+(null!=(a=null==e?void 0:e.marginLeft)?a:0);return d<o?"top"===u?s.borderBottomLeftRadius=0:s.borderTopLeftRadius=0:d>r.width-o&&("top"===u?s.borderBottomRightRadius=0:s.borderTopRightRadius=0),d<l?(c.marginLeft=0,c.left=Math.round(l)):d>r.width-l&&(c.marginLeft=0,c.left=r.width-l),{tooltipStyle:s,cornerStyle:c}},eu=["direction","childrenRect","popoverRect","windowMargin","containerScroll","additionalShift","customPadding","minArrowOffset","align","containerOffsets","arrowRect","arrowAdaptiveBorderRadiusValue"],er=function(e,t,u,r){void 0===r&&(r=0);let o=(e>=0?1:-1)*((u+r)/2-t);return e>=0?Math.min(o,e):Math.max(o,e)},eo=function(e,t,u,r){void 0===r&&(r=0);let o=(e>=0?1:-1)*((u+r)/2-t);return e>=0?Math.min(o,e):Math.max(o,e)};function en(e){switch(e.direction){case"left":case"right":return(e=>{let{direction:t,childrenRect:u,popoverRect:r,windowMargin:o,containerScroll:n,additionalShift:i,customPadding:a,minArrowOffset:l,align:s,containerOffsets:c,arrowRect:d,arrowAdaptiveBorderRadiusValue:h}=e,p={left:"right"===t?u.right+a+c.left:u.left-r.width-a+c.left,top:u.top+(u.height-r.height)/2+n+eo(i,l,r.height,u.height)+c.top},f={marginTop:-eo(i,l,r.height)},m=Math.min(o,u.top);return p.top<m&&(f.marginTop=(f.marginTop||0)+p.top-m,p.top=m),"stretch"===s&&(p.top=u.top+c.top,p.height=u.height),ee(f,p,t,r,h,d)})(e);case"top":case"bottom":return(e=>{let{direction:t,childrenRect:u,popoverRect:r,windowMargin:o,containerRect:n,additionalShift:i,customPadding:a,minArrowOffset:l,align:s,containerOffsets:c,arrowRect:d,arrowAdaptiveBorderRadiusValue:h}=e,p={top:"top"===t?u.top-r.height-a+c.top:u.bottom+a+c.top,left:0},f={},m=u.left+(u.width-r.width)/2+eo(i,l,r.width,u.width),g=Math.min(o,u.left);if(m<g)p.left=g,f.marginLeft=m-g;else{let e=n.width-(u.width+r.width)/2-u.left-eo(i,l,r.width,u.width);g=Math.min(o,n.width-u.right),e<g?(p.left=m+e-g,f.marginLeft=g-e):(p.left=m+c.left,f.marginLeft=0)}return f.marginLeft-=eo(i,l,r.width),"stretch"===s&&(p.left=u.left+c.left,p.width=u.width),et(f,p,t,r,h,d)})(e)}}let ei=function(e,t,u,r){void 0===r&&(r=0);let o=e>=0?1:-1,n=o*(r-t);return e>=0?Math.min(o*(u-t),e):Math.max(n,e)},ea=function(e,t,u,r){void 0===r&&(r=0);let o=e>=0?1:-1,n=o*(u-r/2-t),i=o*(r/2-t);return e>=0?Math.min(n,e):Math.max(i,e)},el=function(e,t,u,r){void 0===r&&(r=0);let o=e>=0?1:-1,n=o*(r-t);return e>=0?Math.min(n,e):Math.max(o*(u-t),e)},es=function(e,t,u,r){void 0===r&&(r=0);let o=e>=0?1:-1,n=o*(r/2-t),i=o*(u-r/2-t);return e>=0?Math.min(n,e):Math.max(i,e)},ec=["smartDirection"],ed={start:function(e){switch(e.direction){case"left":case"right":return(e=>{let{childrenRect:t,popoverRect:u,direction:r,additionalShift:o,customPadding:n,minArrowOffset:i,containerOffsets:a,arrowRect:l,arrowAdaptiveBorderRadiusValue:s}=e,{cornerStyle:c,tooltipStyle:d}
1={tooltipStyle:{top:t.top+el(o,i,u.height,t.height)+a.top,left:"right"===r?t.right+n+a.left:t.left-u.width-n+a.left},cornerStyle:{top:t.height/2-es(o,i,u.height,t.height)}};return ee(c,d,r,u,s,l)})(e);case"top":case"bottom":return(e=>{let{childrenRect:t,containerRect:u,popoverRect:r,direction:o,additionalShift:n,customPadding:i,windowMargin:a,minArrowOffset:l,containerOffsets:s,arrowRect:c,arrowAdaptiveBorderRadiusValue:d}=e,h={top:"bottom"===o?t.bottom+i+s.top:t.top-r.height-i+s.top,left:t.left+el(n,l,r.width,t.width)+s.left},p={left:t.width/2-es(n,l,r.width,t.width)},f=u.width-(t.left+r.width+el(n,l,r.width,t.width)),m=Math.min(a,u.width-t.right);return f<m&&(h.left=u.width-r.width-m,p.marginLeft=-f+m),et(p,h,o,r,d,c)})(e)}},center:en,end:function(e){switch(e.direction){case"left":case"right":return(e=>{let{childrenRect:t,popoverRect:u,direction:r,additionalShift:o,customPadding:n,minArrowOffset:i,containerOffsets:a,arrowRect:l,arrowAdaptiveBorderRadiusValue:s}=e,{cornerStyle:c,tooltipStyle:d}={tooltipStyle:{top:t.bottom-u.height+ei(o,i,u.height,t.height)+a.top,left:"right"===r?t.right+n+a.left:t.left-u.width-n+a.left}
1,cornerStyle:{top:u.height-t.height/2-ea(o,i,u.height,t.height)}};return ee(c,d,r,u,s,l)})(e);case"top":case"bottom":return(e=>{let{childrenRect:t,popoverRect:u,direction:r,additionalShift:o,customPadding:n,windowMargin:i,minArrowOffset:a,containerOffsets:l,arrowRect:s,arrowAdaptiveBorderRadiusValue:c}=e,d={top:"bottom"===r?t.bottom+n+l.top:t.top-u.height-n+l.top,left:t.right-u.width+ei(o,a,u.width,t.width)+l.left},h={left:u.width-t.width/2-ea(o,a,u.width,t.width)},p=t.right-u.width+ei(o,a,u.width,t.width),f=Math.min(i,t.left);return p<f&&(d.left=f,h.marginLeft=p-f),et(h,d,r,u,c,s)})(e)}},stretch:en,auto:function(e){switch(e.direction){case"left":case"right":return(e=>{let{direction:t,childrenRect:u,popoverRect:r,windowMargin:o,containerScroll:n,additionalShift:i,customPadding:a,minArrowOffset:l,align:s,containerOffsets:c,arrowRect:d,arrowAdaptiveBorderRadiusValue:h}=e,p=b(e,eu),f={left:"right"===t?u.right+a+c.left:u.left-r.width-a+c.left,top:u.top+(u.height-r.height)/2+n+er(i,l,r.height,u.height)+c.top},m={marginTop:-er(i,l,r.height)},g=Math.min(o,u.top);return f.top<g&&(m.marginTop=(m.marginTop||0)+f.top-g,f.top=g),"stretch"===s&&(f.top=u.top+c.top,f.height=u.height),f.top+r.height-p.viewportRect.bottom>0&&(f.top-=f.top+r.height-p.viewportRect.bottom),ee(m,f,t,r,h,d)})(e);case"top":case"bottom":return(e=>{let{direction:t,childrenRect:u,popoverRect:r,windowMargin:o,containerRect:n,additionalShift:i,customPadding:a,minArrowOffset:l,align:s,containerOffsets:c,arrowRect:d,arrowAdaptiveBorderRadiusValue:h}=e,p={top:"top"===t?u.top-r.height-a+c.top:u.bottom+a+c.top,left:0},f={},m=u.left+(u.width-r.width)/2+er(i,l,r.width,u.width),g=Math.min(o,u.left);if(m<g)p.left=g,f.marginLeft=m-g;else{let e=n.width-(u.width+r.width)/2-u.left-er(i,l,r.width,u.width);g=Math.min(o,n.width-u.right),e<g?(p.left=m+e-g,f.marginLeft=g-e):(p.left=m+c.left,f.marginLeft=0)}return f.marginLeft-=er(i,l,r.width),"stretch"===s&&(p.left=u.left+c.left,p.width=u.width),et(f,p,t,r,h,d)})(e)}}},eh=e=>{let{smartDirection:t}=e,u=b(e,ec);if(!t||function(e){let{viewportRect:t,direction:u,containerRect:r,childrenRect:o,popoverRect:n,customPadding:i}=e;switch(u){case"right":return t.right>r.left+o.right+i+n.width;case"left":return t.left<r.left+o.left-i-n.width;case"top":return t.top<r.top+o.top-i-n.height;case"bottom":return t.bottom>r.top+o.bottom+i+n.height}}(u))return ed[u.align](u)},ep={top:"bottom",bottom:"top",left:"right",right:"left"},ef=(e,t)=>t&&t.contains(e);var em={popover:"abrWPA4i2",popover_disabled:"bbrWPA4i2",popover_wide:"cbrWPA4i2",popover_wide_full_height:"dbrWPA4i2",container:"ebrWPA4i2",container_animated:"fbrWPA4i2",container_open:"gbrWPA4i2",container_variant_desktop:"hbrWPA4i2",container_direction_top:"ibrWPA4i2",slideTopOpen:"jbrWPA4i2",container_direction_right:"kbrWPA4i2",slideRightOpen:"lbrWPA4i2",container_direction_bottom:"mbrWPA4i2",slideBottomOpen:"nbrWPA4i2",container_direction_left:"obrWPA4i2",slideLeftOpen:"pbrWPA4i2",container_close:"qbrWPA4i2",slideTopClose:"rbrWPA4i2",slideRightClose:"sbrWPA4i2",slideBottomClose:"tbrWPA4i2",slideLeftClose:"ubrWPA4i2",container_variant_ios:"vbrWPA4i2",container_align_start:"wbrWPA4i2",container_variant_android:"xbrWPA4i2",container_align_center:"ybrWPA4i2",container_align_stretch:"zbrWPA4i2",container_align_auto:"AbrWPA4i2",container_align_end:"BbrWPA4i2",slideTopOpenMobile:"CbrWPA4i2",slideRightOpenMobile:"DbrWPA4i2",slideBottomOpenMobile:"EbrWPA4i2",slideLeftOpenMobile:"FbrWPA4i2",slideTopCloseMobile:"GbrWPA4i2",slideRightCloseMobile:"HbrWPA4i2",slideBottomCloseMobile:"IbrWPA4i2",slideLeftCloseMobile:"JbrWPA4i2",touchzone:"KbrWPA4i2",childrenBlock:"LbrWPA4i2",correctionBlockWrapper:"MbrWPA4i2",correctionBlock:"NbrWPA4i2"};let{layers:eg}=M(),eb=()=>{},ev="data-tui-html-zoom";class eA extends h.PureComponent{constructor(){super(...arguments),this.setCorrectionBlock=e=>{this.correctionBlock=e},this.setPopover=e=>{this.popover=e;let t=null==e?void 0:e.offsetWidth,u=null==e?void 0:e.offsetHeight;if(e)this.observer=new MutationObserver(()=>{(e.offsetWidth!==t||e.offsetHeight!==u)&&(t=e.offsetWidth,u=e.offsetHeight,this.setTooltipPosition())}),this.observer.observe(e,{attributes:!0,childList:!0,subtree:!0});else{var r;null==(r=this.observer)||r.disconnect()}},this.setPopoverContainer=e=>{this.popoverContainer=e},this.setTooltipPosition=()=>{let e=this.getTargetElement();if(!this.getIsActive()||!this.popover||!e||!this.correctionBlock)return;let{direction:t,align:u,additionalShift:r,onActiveToggle:o,windowMargin:n,customPadding:i,smartDirection:a,minArrowOffset:l,arrowRect:s,arrowAdaptiveBorderRadiusValue:c,zoomParams:d}=this.props,{intersectElems:h,zoom:p}
1=this.context,f=document.querySelector("["+ev+"]");if(document.head&&!f){let e=document.createElement("style");e.setAttribute(ev,!0),e.appendChild(document.createTextNode("html { zoom: 1 }")),document.head.prepend(e)}let m=z(document.documentElement),b=z(document.body),{zoomValue:v,applyZoomToContainer:A}=((e,t)=>{let{targetElement:u,destElement:r}=t,o=1;if(!u)return{zoomValue:o};if("object"==typeof e){let t=I(e,u),n=r?I(e,r):1;o=t/n}else e&&"boolean"==typeof e&&(o=N(u)/(r?N(r):1));return{zoomValue:Number(o.toFixed(3)),applyZoomToContainer:!!r&&!R(r)}})(d||p,{targetElement:e,destElement:this.popoverContainer});1!==v&&(A?this.popoverContainer.style.zoom=v:this.popover.style.zoom=v);let E=void 0!==e.currentCSSZoom,D=E?e.currentCSSZoom:1,C=U(e,D),F=function(e,t,u){var r;let o,n;void 0===u&&(u=1);let i=(r=u,void 0===r&&(r=1),o=window.innerWidth/r,n=window.innerHeight/r,{width:o,height:n,top:0,left:0,right:o,bottom:n}),a=function(e){let t=e.parentNode;for(;t instanceof Element;){let e=window.getComputedStyle(t);if("visible"!==e.getPropertyValue("overflow-x")||"visible"!==e.getPropertyValue("overflow-y"))return t;t=t.parentNode}return null}(e);if(!a)return i;let l=X(i,U(a,u));return null==t||t.forEach(e=>{l=X(l,U(e,u))}),l}(this.popoverContainer.parentNode,h,D),B=U(this.popoverContainer,D),y={top:0,left:0};if(window&&this.popoverContainer===document.body&&!E){let e=this.correctionBlock.getBoundingClientRect(),t=100===Math.round(e.left)&&100===Math.round(e.top),u=1,r=t?b*m:1;A||1===v||(B.width/=v,B.height/=v,r=t?b*m*v:r,u=t?v:u),B.top/=u,B.left/=u,B.right/=u,B.bottom/=u,y.left=B.left+window.scrollX/r,y.top=B.top+window.scrollY/r}C.top-=B.top,C.left-=B.left,C.right-=B.left,C.bottom-=B.top;let{scrollTop:_}=this.popoverContainer,w=U(this.popover,D),k={viewportRect:F,popoverRect:w,childrenRect:C,containerRect:B,containerOffsets:y,containerScroll:_>=0?_:document.documentElement.scrollTop,smartDirection:a,align:u,windowMargin:n,additionalShift:r,customPadding:i,minArrowOffset:l,direction:t,arrowRect:s,arrowAdaptiveBorderRadiusValue:c},[x,{tooltipStyle:S={},cornerStyle:T={}}]=function(e){var t,u,r,o;let n,i,a,l,s,c,d=(t=e.direction,Array.isArray(t)?t:J[t]),h=d.length,p=d[0],f=e.align;for(s=0;!n&&s<h;s++)for(i=d[s],u=p,r=f,l=(a=(o=i)===u||o===G[u]?K[r]:V[u]).length,c=0;!n&&c<l;c++)n=eh(g({},e,{direction:i,align:a[c]}));return n||(i=p,n=eh(g({},e,{direction:i,smartDirection:!1}))),[i,n]}(k),O=(e=>{let{containerRect:t,popoverRect:u,direction:r}=e,o={top:0,left:0,right:0,bottom:0},n=ep[r];return Object.keys(o).forEach(e=>{o[e]=e===n?0:(e=>{let{containerRect:t,popoverRect:u,direction:r}=e,{width:o,height:n}=t,{width:i,height:a,left:l,top:s}=u,c=0;return"right"===r&&(c=o-l-i),"bottom"===r&&(c=n-s-a),"top"===r&&(c=s),"left"===r&&(c=l),c=(c=c<0?0:c)>24?24:c,c=0===c?c:-Math.floor(c)})({containerRect:t,popoverRect:u,direction:e})}),o})({popoverRect:g({},w,S),containerRect:B,direction:t});this.setState({left:S.left,top:S.top,width:S.width,height:S.height,direction:x,touchzone:O,cornerTop:null==T?void 0:T.top,cornerLeft:null==T?void 0:T.left}),o(x,T,{tooltipStyle:S,popoverRect:w,zoom:{popover:v,body:b,html:m}})},this.offChildrenBlockRectChange=eb,this.handleClickOutside=e=>{let t;if(e.composedPath){let u=e.composedPath();t=-1===u.indexOf(this.getTargetElement())&&-1===u.indexOf(this.popover)}else t=!ef(e.target,this.getTargetElement())&&!ef(e.target,this.popover);if(this.props.hideOnClickOutside&&this.getIsActive()&&t){var u,r;this.close(),null==(u=(r=this.props).onClickOutside)||u.call(r,e)}},this.handleWindowResize=()=>{this.props.hideOnResize&&this.close()},this.handleWindowTouchMove=()=>{this.props.hideOnTouchMove&&this.close()}}componentDidMount(){this.getIsActive()&&this.addListeners()}componentDidUpdate(e,t){this.getActiveChanged(e,t)&&(this.getIsActive()?this.addListeners():this.removeListeners())}componentWillUnmount(){this.removeListeners()}addListeners(){var e,t;let u,r,o;window.addEventListener("resize",this.handleWindowResize),window.addEventListener("touchmove",this.handleWindowTouchMove),window.addEventListener("mousedown",this.handleClickOutside),this.offChildrenBlockRectChange(),this.offChildrenBlockRectChange=(e=()=>{if(!this.getTargetElement()||!this.popoverContainer||!this.popover)return null;let e=U(this.getTargetElement()),t=U(this.popoverContainer);
1return{top:e.top-t.top,left:e.left-t.left,width:e.width,height:e.height}},t=()=>{this.setTooltipPosition()},u=e(),r=()=>{var r,o;let n=e();r=u,o=n,(r?!o||Object.keys(r).some(e=>o[e]!==r[e]):!!o)&&(u=n,t())},(o=new MutationObserver(r)).observe(document.body,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),document.body.addEventListener("transitionend",r),document.body.addEventListener("animationend",r),window.addEventListener("resize",r),t(),()=>{o.disconnect(),document.body.removeEventListener("transitionend",r),document.body.removeEventListener("animationend",r),window.removeEventListener("resize",r)})}removeListeners(){window.removeEventListener("resize",this.handleWindowResize),window.removeEventListener("touchmove",this.handleWindowTouchMove),window.removeEventListener("mousedown",this.handleClickOutside),this.offChildrenBlockRectChange(),this.offChildrenBlockRectChange=eb}renderCorrectionBlock(){return p().createElement("div",{className:em.correctionBlockWrapper},p().createElement("div",{className:em.correctionBlock,ref:this.setCorrectionBlock}))}}eA.contextType=Q,eA.defaultProps={dataQaType:"uikit/popover",animated:!0,onActiveToggle:eb,direction:"bottom",smartDirection:!0,hideOnResize:!1,renderPopoverBlock:eb,windowMargin:18,increasedTouchZone:!0,additionalShift:0,customPadding:0,zIndex:eg["layer-popover"],closeOnPopoverClick:!0,getSetPositionFunc:eb,align:"center",minArrowOffset:0,hideOnTouchMove:!1,hideOnClickOutside:!0,arrowRect:null,arrowAdaptiveBorderRadiusValue:0};var eE=eA;let eD=["animated","popoverBlock","direction","increasedTouchZone","refCallback","opened","dataQaType","className","onClick","align","variant"];var eC=e=>{let{animated:t,popoverBlock:u,direction:r,increasedTouchZone:o,refCallback:n,opened:i,dataQaType:a,className:l,align:s,variant:c="desktop"}=e,d=b(e,eD),[f,m]=(0,h.useState)(!1),[v,A]=(0,h.useState)(!0),E=(0,h.useCallback)(e=>{e.target===e.currentTarget&&(i||m(!1))},[i]),D=(0,h.useCallback)(()=>A(!1),[]);return(0,h.useEffect)(()=>{let e=v||!t;i&&m(!0),!i&&e&&m(!1)},[i,t,v]),f?p().createElement("div",Object.assign({},d,F({dataQaType:a}),{ref:n,className:C()({[em.container]:!0,[em.container_animated]:t,[em["container_direction_"+r]]:r,[em["container_align_"+s]]:s,[em["container_variant_"+c]]:c,[em.container_open]:i&&r,[em.container_close]:!i&&r},l),onAnimationStart:D,onAnimationEnd:E,"data-component-type":"platform-ui"}),o&&p().createElement("div",Object.assign({className:em.touchzone,style:g({},o)},F({dataQaType:a+".touchzone"}))),u):null};let{layers:eF}=M();O.Ay.oneOfType([O.Ay.oneOf(["left","top","right","bottom"]),O.Ay.array]),O.Ay.oneOf(["start","center","end","stretch"]);let eB=e=>{let{active:t,isInactive:u}=e;return!!(!u&&t)};class ey extends eE{constructor(e){var t;super(e),t=this,this.getTargetElement=()=>this.childrenBlock,this.getIsActive=()=>this.state.active,this.getActiveChanged=(e,t)=>t.active!==this.getIsActive(),this.open=()=>{this.state.active||(this.setState({active:!0}),this.props.onShow(g({},this.state,{active:!0})))},this.close=function(e){let{isActive:u}=void 0===e?t.props:e;u||t.setState({active:!1}),t.props.onClose(g({},t.state,{active:!1}))},this.toggle=function(e){let{active:u}=void 0===e?t.state:e;return(u?t.close:t.open)()},this.setChildrenBlock=e=>{this.childrenBlock=e},this.handleClick=e=>{let{preventDefaultClick:t,stopPropagationClick:u,closeOnPopoverClick:r,onClick:o}=this.props;t&&e.preventDefault(),u&&e.stopPropagation(),this.getToggleOnClick()&&ef(e.target,this.childrenBlock)?this.toggle():r&&ef(e.target,this.popover)&&this.close(),o(e)},this.handleChildrenOver=e=>{var t,u;(!this.props.noBubbleHover||ef(e.target,this.childrenBlock))&&clearTimeout(this.closeTimeout),this.props.hoverDelay?this.openTimeout=setTimeout(this.open,this.props.hoverDelay):this.open(),null==(t=(u=this.props).onMouseEnter)||t.call(u,e)},this.handleChildrenOut=e=>{var t,u;clearTimeout(this.openTimeout),this.closeTimeout=setTimeout(this.close,this.props.fadeDelay),null==(t=(u=this.props).onMouseLeave)||t.call(u,e)},this.state={active:e.isActive||!1,toggleOnClick:this.getToggleOnClick()},e.getSetPositionFunc(this.setTooltipPosition),e.getSetTargetBlockFunc(this.setChildrenBlock)}static getDerivedStateFromProps(e,t){return t.active!==e.isActive&&void 0!==e.isActive?{active:e.isActive}:null}getToggleOnClick(){return this.props.toggleOnClick||L()}render(){let{ariaOwnsId:e,isInactive:t,children:u,dataQaType:r,popoverBlock:o,renderPopoverBlock:n,increasedTouchZone:i,zIndex:a,wide:l,wideFullHeight:s=l,role:c,ariaDescribedBy:d,animated:h,disableToggleOnInsideEvents:f,to:m,disabled:b,toBody:v,blockStyles:A={},portalTagName:E,UNSAFE_className:D,variant:B,align:y,tagName:_}=this.props,{direction:w,left:k,top:x,active:S,width:T="max-content",height:O,touchzone:P,cornerLeft:M,cornerTop:L}=this.state,R=this.getToggleOnClick();return p().createElement(_,Object.assign({},F({dataQaType:r}),{className:C()({[em.popover]:!0,[em.popover_wide]:l,[em.popover_wide_full_height]:s,[em.popover_disabled]:b}),role:c,"aria-describedby":d,"aria-owns":e},f?{}:{onClick:this.handleClick,onMouseEnter:R?void 0:this.handleChildrenOver,onMouseLeave:R?void 0:this.handleChildrenOut},{onMouseMove:this.props.onMouseMove,"data-component-type":"platform-ui"}),p().createElement(_,{ref:this.setChildrenBlock,className:em.childrenBlock,"data-qa-type":r+".children"},u),p().createElement(Z,{to:"body"},eB({active:S,isInactive:t})&&this.renderCorrectionBlock()),p().createElement(Z,{to:m,toBody:v,exitRef:this.setPopoverContainer,tagName:E},p().createElement(eC,{popoverBlock:o||n(this.close,{direction:w}),increasedTouchZone:("boolean"==typeof i?i:!R)&&P,refCallback:this.setPopover,direction:w,align:y,animated:h,variant:B,dataQaType:r+".popoverBlock",style:g({top:x,left:k,zIndex:"number"==typeof a||void 0===a?a:eF[a],width:T,height:O,visibility:void 0!==x&&void 0!==k?"visible":"hidden","--tui-popover-corner-left":M?M+"px":void 0,"--tui-popover-corner-top":L?L+"px":void 0},A),className:D,opened:eB({active:S,isInactive:t})})))}}ey.propTypes=g({}
1,eE.propTypes,{children:O.Ay.node,ariaOwnsId:O.Ay.string,isInactive:O.Ay.bool,wide:O.Ay.bool,role:O.Ay.string,ariaDescribedBy:O.Ay.string,disableToggleOnInsideEvents:O.Ay.bool,disabled:O.Ay.bool,noBubbleHover:O.Ay.bool,hoverDelay:O.Ay.number,toggleOnClick:O.Ay.bool,preventDefaultClick:O.Ay.bool,stopPropagationClick:O.Ay.bool,getSetTargetBlockFunc:O.Ay.func,onClick:O.Ay.func,onClose:O.Ay.func,onShow:O.Ay.func,fadeDelay:O.Ay.number,variant:O.Ay.string,tagName:O.Ay.string}),ey.defaultProps=g({},eE.defaultProps,{ariaOwnsId:null,isInactive:!1,wide:!1,role:null,ariaDescribedBy:null,disableToggleOnInsideEvents:!1,disabled:!1,noBubbleHover:!1,hoverDelay:0,toggleOnClick:!1,preventDefaultClick:!1,stopPropagationClick:!1,variant:"desktop",getSetTargetBlockFunc:eb,onClick:eb,onClose:eb,onShow:eb,fadeDelay:100,tagName:"span"});var e_=e=>{let t=(0,h.useContext)(j);return p().createElement(ey,Object.assign({},e,{zoomParams:t.zoom}))};function ew(e){return"object"==typeof e&&!!e.options}function ek(){return e||(e=function(){if("u">typeof navigator){let e=navigator.userAgent.toLowerCase();return e.match(/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/)?"tablet":e.match(/(mobi|ipod|phone|blackberry|opera mini|fennec|minimo|symbian|psp|nintendo ds|archos|skyfire|puffin|blazer|bolt|gobrowser|iris|maemo|semc|teashark|uzard)/)&&"mobile"||"desktop"}}()),e}var ex=e=>{let{dataQaType:t,dataQaData:u}=e;return{"data-qa-type":t,"data-qa-data":"object"==typeof u?JSON.stringify(u):u}},eS=function(e,t,u){var r,o,n,i,a,s,c,d;let h;void 0===u&&(u={className:"",style:{}});let{classNames:p,styles:f,styleSlots:m}=e,g="root"===t?"base":t;return null!=m&&m[g]?(a=g,s=null==m?void 0:m[g],c={className:null!=(r=u.className)?r:"",style:null!=(o=u.style)?o:{}},d=e,h=l({},c,{"data-style-layer":a}),"string"==typeof s?h.className=D(h.className,s):"object"==typeof s&&s&&!Array.isArray(s)&&(h.className=D(h.className,s.className),h.style=l({},h.style,s.style,null==s.vars?void 0:s.vars(d))),h):{className:D(null==(n=u)?void 0:n.className,null==p?void 0:p[t]),style:l({},null==(i=u)?void 0:i.style,null==f?void 0:f[t]),"data-style-layer":t}},eT=(e,t)=>e?Object.fromEntries(Object.entries(e).filter(e=>{let[u]=e;return u.match(t+"_")}).map(e=>{let[u,r]=e;return[u.split(t+"_")[1],r]})):{};let eO=["dataQaType","dataQaData","tagName","exitId"],eP=p().forwardRef((e,t)=>{let{dataQaType:u="uikit/portalExit",dataQaData:r,tagName:o="div",exitId:n=""}=e,i=b(e,eO);return p().createElement(o,g({},i,ex({dataQaType:u,dataQaData:r}),{ref:t,[$]:n}))});var eM="abY2m-Rpd";let eL=["dataQaType","dataQaData","tagName","exitId","exitRef","exitProps","children","className","style","classNames","styles","styleSlots"],eR=p().forwardRef((e,t)=>{let{dataQaType:u="uikit/portalWrapper",dataQaData:r,tagName:o="div",exitId:n="",exitRef:i,exitProps:a,children:l,className:s,style:c}=e,d=b(e,eL);return p().createElement(o,g({},d,ex({dataQaType:u,dataQaData:r}),eS(e,"root",{className:C()(s,eM),style:c}),{ref:t,[H]:n}),p().createElement(eP,Object.assign({dataQaType:u+".exit",exitId:n,ref:i},a,eS(e,"exit",{className:null==a?void 0:a.className,style:null==a?void 0:a.style}))),l)});var ez=e=>{let{children:t,offsetBottom:u,offsetTop:r,className:o,style:n}=e;return p().createElement("div",{className:o,style:g({height:"100%",paddingBottom:u,paddingTop:r,boxSizing:"border-box"},n)},t)},eN=c(180),eI=c.n(eN),ej=c(419),eW=c.n(ej);let e$=function(e,t,u){return(void 0===u&&(u=[]),(e===t||e.scrollHeight>e.clientHeight)&&u.push(e),e!==t&&e.parentElement)?e$(e.parentElement,t,u):u},eH=function(e,t,u){void 0===t&&(t=0),void 0===u&&(u=0);let{currentTarget:r,target:o}=e,n=window.TouchEvent&&e instanceof TouchEvent?e.touches:void 0,i=e instanceof WheelEvent?e.deltaY:0,a=e instanceof WheelEvent?e.deltaX:0;if(n){let{clientX:e,clientY:r}=n[0];i=t-r,a=u-e}let l=Math.abs(i)>Math.abs(a)?"vertical":"horizontal";if("vertical"===l){let t=e$(o||r,r),u=t.every(e=>0===e.scrollTop),n=t.every(e=>e.scrollTop>=e.scrollHeight-e.offsetHeight);(u&&i<=0||n&&i>=0)&&e.preventDefault()}};var eY={scroll:"abDxDm7mR",scroll_preventStackContext:"bbDxDm7mR",scrollCaret:"cbDxDm7mR",scrollBar_theme_default:"dbDxDm7mR",scrollBar_theme_light:"ebDxDm7mR",scrollBar_dragging:"fbDxDm7mR",scrollBar_direction_horizontal:"gbDxDm7mR",scrollBar_direction_vertical:"hbDxDm7mR",scrollBar:"ibDxDm7mR",scrollBar_visible:"jbDxDm7mR",content:"kbDxDm7mR",content_scrollbar_hidden:"lbDxDm7mR",content_scrollbar_native:"mbDxDm7mR",content_scrollbar_disabled:"nbDxDm7mR",content_overscroll_contain:"obDxDm7mR"};let eq=()=>{},eZ={vertical:"height",horizontal:"width"},eQ=(e=>{let t;class u extends h.Component{constructor(){super(),this.setRef=e=>{this.wrappedComponent=e},this.onDragMouseDown=()=>{document.addEventListener("mousemove",this.onDragMouseMoveBind),document.addEventListener("touchmove",this.onDragMouseMoveBind),document.addEventListener("mouseup",this.onDragMouseUpBind),document.addEventListener("touchend",this.onDragMouseUpBind)},this.onDragMouseMove=e=>{let{wrappedComponent:t}=this;if(t){t.allowDefaultAction||e.preventDefault();let u=eI()(e.touches)||e,r={x:u.pageX,y:u.pageY,clientX:u.clientX,clientY:u.clientY};if(!t.props.noDragThreshold&&4>Math.abs(r.x-t.dragStartPosition.x)&&4>Math.abs(r.y-t.dragStartPosition.y))return;eW()(t.props.onDragStart)&&t.props.onDragStart(t.startIndex),(t.dragPrevPosition.x!==r.x||t.dragPrevPosition.y!==r.y)&&(eW()(t.onDragProcess)&&t.onDragProcess(r,t.dragPrevPosition,t.dragStartPosition,e),t.dragPrevPosition=r)}},this.onDragMouseUp=e=>{let{wrappedComponent:t}=this;if(t){t.allowDefaultAction||(e.stopPropagation(),e.preventDefault());let u=eI()(e.changedTouches)||e;eW()(t.onDragEnd)&&t.onDragEnd({x:u.pageX,y:u.pageY,clientX:u.clientX,clientY:u.clientY}),t.dragStartPosition={},t.dragPrevPosition={}}document.removeEventListener("mousemove",this.onDragMouseMoveBind),document.removeEventListener("touchmove",this.onDragMouseMoveBind),document.removeEventListener("mouseup",this.onDragMouseUpBind),document.removeEventListener("touchend",this.onDragMouseUpBind)},this.handleDrag=e=>{let{wrappedComponent:t}=this;if(t){t.allowDefaultAction||(e.stopPropagation(),e.preventDefault());let u=eI()(e.touches)||e;t.dragStartPosition={x:u.pageX,y:u.pageY,clientX:u.clientX,clientY:u.clientY},t.dragPrevPosition=t.dragStartPosition,eW()(t.beforeDragStart)&&t.beforeDragStart(t.dragStartPosition),(t.props.beforeDragStart||(()=>new Promise(e=>e())))(t.startIndex).then(()=>{this.onDragMouseDown(e),eW()(t.onDragStart)&&t.onDragStart(t.dragStartPosition,e)})}},this.onDragMouseMoveBind=e=>this.onDragMouseMove(e),this.onDragMouseUpBind=e=>this.onDragMouseUp(e)}componentWillUnmount(){document.removeEventListener("mousemove",this.onDragMouseMoveBind),document.removeEventListener("touchmove",this.onDragMouseMoveBind),document.removeEventListener("mouseup",this.onDragMouseUpBind),document.removeEventListener("touchend",this.onDragMouseUpBind)}render(){return p().createElement(e,Object.assign({onDrag:this.handleDrag,ref:this.setRef},this.props))}}return t=e,u.displayName="Drag("+(t.displayName||t.name||"Component(!)")+")",k()(u,e)})(((a=class extends h.PureComponent{constructor(){var e;super(...arguments),e=this,this.onDragStart=function(){return e.props.handleDragStart(...arguments)},this.onDragProcess=function(){return e.props.handleDragProcess(...arguments)},this.onDragEnd=function(){return e.props.handleDragEnd(...arguments)},this.handleMouseDown=e=>{let{onMouseDown:t,onDrag:u,direction:r}=this.props;t(e,r),u(e)}}render(){let{visible:e,barRef:t,size:u,theme:r,dragging:o,direction:n,scrollbarMargin:i}=this.props,a=((e,t)=>{let u={}
1,r="horizontal"===e?"left":"top",o=t;if("number"==typeof o&&(o=o.toString()+"px"),o){let[e,...t]=o.split(" "),n=function(e,t,u,r){return void 0===t&&(t=e),void 0===u&&(u=e),void 0===r&&(r=t),{bottom:u,left:r,right:t,top:e}}(e,...t);u.bottom=n.bottom,u.right=n.right,u[r]=n[r],u.overflow="hidden"}return u})(n,i);return p().createElement("div",Object.assign({},ex(this.props),eS(this.props,"root",{className:C()({[eY.scrollBar]:!0,[eY.scrollBar_visible]:e,[eY.scrollBar_dragging]:o,[eY["scrollBar_direction_"+n]]:!0,[eY["scrollBar_theme_"+r]]:!0}),style:a})),p().createElement("div",Object.assign({},eS(this.props,"caret",{className:eY.scrollCaret,style:{[eZ[n]]:u}}),{ref:t,onMouseDown:this.handleMouseDown})))}}).defaultProps={visible:!1,dragging:!1,size:0,theme:"default",onDrag:eq,onMouseDown:eq,handleDragStart:eq,handleDragProcess:eq,handleDragEnd:eq,dataQaType:"uikit/scroll-bar"},i=a))||i;var eU=function(e){if("u"<typeof document)return 0;if(document.body&&(!document.readyState||"loading"!==document.readyState)){if(!0!==e&&"number"==typeof eU.__cache)return eU.__cache;var t=document.createElement("div"),u=t.style;u.display="block",u.position="absolute",u.width="100px",u.height="100px",u.left="-999px",u.top="-999px",u.overflow="scroll",document.body.insertBefore(t,null);var r=t.clientWidth;if(0!==r)return eU.__cache=100-r,document.body.removeChild(t),eU.__cache;document.body.removeChild(t)}};let eX=(0,h.forwardRef)((e,t)=>{let{dataQaType:u="uikit/scroll",onScroll:r,onWheel:o,id:n,children:i,native:a=!1,mounted:l=!1,disabled:s=!1,scrollContain:c,onTouchStart:d,onTouchMove:f,onTouchEnd:m,className:g,style:b,"data-scroll-container":v=!1}=e,A=function(){let[e,t]=(0,h.useState)(eU());return(0,h.useEffect)(()=>{if(void 0!==e)return;let u=null,r=()=>{u=requestAnimationFrame(()=>{t(eU())})};return"loading"===document.readyState?document.addEventListener("DOMContentLoaded",r):r(),()=>{document.removeEventListener("DOMContentLoaded",r),u&&cancelAnimationFrame(u)}},[]),e}(),E=(0,h.useMemo)(()=>C()({[eY.content]:!0,[eY.content_scrollbar_hidden]:!l||!a,[eY.content_scrollbar_disabled]:!l||s,[eY.content_scrollbar_native]:l&&a,[eY.content_scrollbar_native_legacy]:l&&a&&A,[eY.content_overscroll_contain]:c},g),[l,a,s,A,c,g]);return p().createElement("div",Object.assign({},ex({dataQaType:u+".content"}),{"data-scroll-container":v?"true":void 0,ref:t,className:E,style:b,id:n,onScroll:r,onWheel:o,onTouchStart:d,onTouchMove:f,onTouchEnd:m}),i)}),eK={passive:!1},eV=e=>{let{el:t,v:u,offset:r}=e,o="translate"+u+"("+r+"px)";t.style.transform=o,t.style.MozTransform=o,t.style.OTransform=o,t.style.MsTransform=o,t.style.WebkitTransform=o},eG=function(e){return void 0===e&&(e=0),e>17?e:17},eJ="always",e0="onlyActive",e1="hidden";class e2 extends h.PureComponent{constructor(e){super(e),this.content=void 0,this.container=void 0,this.verticalBar=void 0,this.horizontalBar=void 0,this.vTimeoutId=void 0,this.hTimeoutId=void 0,this.scrollingId=void 0,this.startOffset=void 0,this.isUnmounting=void 0,this.resizeObserver=void 0,this.mutationObserver=void 0,this.direction=void 0,this.mobile="desktop"!==ek(),this.barMinHeight=eG(this.props.barMinHeight),this.horizontalProportion=1,this.verticalProportion=1,this.currentY=0,this.currentX=0,this.horizontalOffset=0,this.verticalOffset=0,this.getScrollBarVisibility=e=>{let{scrollbarVisibility:t,fallback:u}=this.props;switch(this.mobile&&void 0===u?e0:t){case e0:return this.state.hovered||this.state.scrolling||("vertical"===e?this.state.isVScrolling||this.state.isVDragging:this.state.isHScrolling||this.state.isHDragging);case e1:return!1;default:return!0}},this.setRef=e=>t=>{this[e]=t},this.contentRef=e=>{var t,u;null==(t=(u=this.props).setContainer)||t.call(u,e),this.content=e},this.setCurrentCursorCoords=e=>{this.currentY=e.touches[0].clientY,this.currentX=e.touches[0].clientX},this.stopOuterScrollDecorator=e=>{eH(e,this.currentY,this.currentX)},this.setListeners=()=>{this.content&&(this.content.addEventListener("wheel",this.stopOuterScrollDecorator),this.content.addEventListener("touchstart",this.setCurrentCursorCoords),this.content.addEventListener("touchmove",this.stopOuterScrollDecorator,eK))},this.removeListeners=()=>{this.content&&(this.content.removeEventListener("wheel",this.stopOuterScrollDecorator),this.content.removeEventListener("touchstart",this.setCurrentCursorCoords),this.content.removeEventListener("touchmove",this.stopOuterScrollDecorator,eK))},this.updateFade=e=>{let{scrollTop:t,scrollHeight:u,clientHeight:r}=e,{verticalFade:o}=this.props;o&&this.container&&(this.container.setAttribute("data-vertical-fade-start",""+!!t),this.container.setAttribute("data-vertical-fade-end",""+(Math.round(t)<u-r-1)))},this.updateWithProportions=(e,t)=>{let{scrollTop:u,scrollLeft:r}=e||this.props,{scrollTop:o,scrollLeft:n}=t||{};requestAnimationFrame(()=>{this.content&&(u&&u!==o&&(this.content.scrollTop=u),r&&r!==n&&(this.content.scrollLeft=r),this.handleScroll())})},this.onDragStart=()=>{if(this.content)switch(this.direction){case"horizontal":this.startOffset=this.content.scrollLeft*this.horizontalProportion;break;case"vertical":this.startOffset=this.content.scrollTop*this.verticalProportion}},this.onDragProcess=(e,t,u)=>{if(this.content)switch(this.direction){case"horizontal":this.content.scrollLeft=((this.startOffset||0)+e.x-u.x)/this.horizontalProportion;break;case"vertical":this.content.scrollTop=((this.startOffset||0)+e.y-u.y)/this.verticalProportion}},this.onDragEnd=()=>{this.direction=void 0,this.setDraggingDirection()},this.handleScroll=e=>{let{verticalBarRef:t,horizontalBarRef:u,contentInnerOffsetTop:r=0,contentInnerOffsetBottom:o=0,onScroll:n,barMaxHeight:i}=this.props;if(!this.content||!this.container)return;let{scrollTop:a,scrollLeft:l,scrollWidth:s,scrollHeight:c,clientWidth:d,clientHeight:h}=this.content;this.horizontalProportion=s>0?d/s:1,this.verticalProportion=c>0?h/c:1;let p=s-d>1,f=c-h>1,m=t||this.verticalBar,g=u||this.horizontalBar,b=m&&m.parentElement?m.parentElement.clientHeight/h:1,v=g&&g.parentElement?g.parentElement.clientWidth/d:1;this.horizontalOffset=l*this.horizontalProportion*v;let A=(h+r+o)/h,E=(h/c*this.container.clientHeight-15*p)*b,D=a*this.verticalProportion*A*b,C=E;if(this.barMinHeight&&(C=Math.max(E,this.barMinHeight)),i&&(C=Math.min(C,i)),C!==E){let e=-C+E,t=a/(c-this.container.clientHeight);this.verticalOffset=D+e*t}else this.verticalOffset=D;this.horizontalOffset!==this.state.horizontalOffset&&g&&(this.setState({isHScrolling:!0,horizontalOffset:this.horizontalOffset},this.onStateUpdate),this.setScrollingTimeout("horizontal"),eV({el:g,v:"X",offset:this.horizontalOffset})),this.verticalOffset!==this.state.verticalOffset&&m&&(this.setState({isVScrolling:!0,verticalOffset:this.verticalOffset},this.onStateUpdate),this.setScrollingTimeout("vertical"),eV({el:m,v:"Y",offset:this.verticalOffset}));let F=(d/s*this.container.clientWidth-15*f)*v;this.setState({horizontalSize:Math.max(F,this.barMinHeight),verticalSize:C,horizontalShow:p,verticalShow:f},this.onStateUpdate),null==n||n(e,{scrollTop:a,scrollLeft:l,scrollWidth:s,scrollHeight:c,clientWidth:d,clientHeight:h}),this.updateFade({scrollTop:a,scrollHeight:c,clientHeight:h})},this.handleMouseOver=()=>{this.state.hovered||this.setState({hovered:!0})},this.handleMouseLeave=()=>{this.state.hovered&&this.setState({hovered:!1})},this.handleMouseDown=(e,t)=>{this.direction=t,this.setDraggingDirection()},this.handleWheel=()=>{this.state.scrolling||this.setState({scrolling:!0}),clearTimeout(this.scrollingId),this.scrollingId=window.setTimeout(()=>{this.setState({scrolling:!1})},300)},this.handleNativeContainerScroll=e=>{var t,u;let{scrollTop:r,scrollLeft:o,scrollWidth:n,scrollHeight:i,clientWidth:a,clientHeight:l}=e.currentTarget;null==(t=(u=this.props).onScroll)||t.call(u,e,{scrollTop:r,scrollLeft:o,scrollWidth:n,scrollHeight:i,clientWidth:a,clientHeight:l}),this.updateFade({scrollTop:r,scrollHeight:i,clientHeight:l})},this.renderScrollBar=(e,t)=>
1this.state[e+"Show"]&&p().createElement(eQ,Object.assign({scrollbarMargin:this.props.scrollbarMargin,direction:e,visible:this.getScrollBarVisibility(e),dragging:this.state["vertical"===e?"isVDragging":"isHDragging"],size:this.state[e+"Size"],theme:this.props.theme,barRef:this.setRef(e+"Bar"),onMouseDown:this.handleMouseDown,handleDragStart:this.onDragStart,handleDragProcess:this.onDragProcess,handleDragEnd:this.onDragEnd},t)),this.state={horizontalShow:!1,horizontalSize:0,hovered:!1,isVScrolling:!1,mounted:!1,verticalOffset:0,verticalShow:!1,verticalSize:0},null==e.getUpdateFunc||e.getUpdateFunc(this.updateWithProportions),null==e.getMouseDownFunc||e.getMouseDownFunc(this.handleMouseDown),null==e.getDragStartFunc||e.getDragStartFunc(this.onDragStart),null==e.getDragProcessFunc||e.getDragProcessFunc(this.onDragProcess),null==e.getDragEndFunc||e.getDragEndFunc(this.onDragEnd)}componentDidMount(){this.isUnmounting=!1,this.updateWithProportions(),this.setState({mounted:!0},()=>{var e;this.props.preventOuterScroll&&this.setListeners(),"u">typeof ResizeObserver&&this.container&&null!=(e=this.content)&&e.firstChild&&(this.resizeObserver=new ResizeObserver(()=>{this.updateWithProportions()}),this.resizeObserver.observe(this.container),this.resizeObserver.observe(this.content),this.resizeObserver.observe(this.content.firstChild),this.mutationObserver=new MutationObserver(()=>{if(!this.content)return;let{clientWidth:e,scrollWidth:t,clientHeight:u,scrollHeight:r}=this.content;(this.horizontalProportion!==e/t||this.verticalProportion!==u/r)&&this.updateWithProportions()}),this.mutationObserver.observe(this.content.firstChild,{childList:!0,subtree:!0,attributes:!0}))})}componentDidUpdate(e){this.barMinHeight!==this.props.barMinHeight&&(this.barMinHeight=eG(this.props.barMinHeight)),this.props.preventOuterScroll&&!e.preventOuterScroll?this.setListeners():!this.props.preventOuterScroll&&e.preventOuterScroll&&this.removeListeners()}componentWillUnmount(){this.isUnmounting=!0,this.props.preventOuterScroll&&this.removeListeners(),this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()}onStateUpdate(){var e,t;let{verticalSize:u,horizontalSize:r,verticalShow:o,horizontalShow:n,isVScrolling:i,isHScrolling:a,isVDragging:l,isHDragging:s}=this.state;null==(e=(t=this.props).onUpdate)||e.call(t,{verticalSize:u,horizontalSize:r,verticalShow:o,horizontalShow:n,isVScrolling:i,isHScrolling:a,isVDragging:l,isHDragging:s})}setScrollingTimeout(e){let t="vertical"===e,u=t?"vTimeoutId":"hTimeoutId";clearTimeout(this[u]),this[u]=window.setTimeout(()=>{this.isUnmounting||this.setState({[t?"isVScrolling":"isHScrolling"]:!1},this.onStateUpdate)},300)}setDraggingDirection(){this.setState({isHDragging:/horizontal/.test(this.direction||""),isVDragging:/vertical/.test(this.direction||"")},this.onStateUpdate)}render(){let{mounted:e}=this.state,{zoom:t}=this.context,{id:u,dataQaType:r,contentInnerOffsetTop:o,contentInnerOffsetBottom:n,children:i,disabled:a,preventStackContext:l,onTouchStart:s,onTouchMove:c,onTouchEnd:d,fallback:h,styleSlots:f,scrollContain:m,classNames:g,styles:b,UNSAFE_className:v,UNSAFE_style:A,verticalFade:E}=this.props,D=this.mobile&&!1===h,F=D?this.handleNativeContainerScroll:this.handleScroll,B=e&&!D&&!a;return p().createElement("div",Object.assign({},ex(this.props),eS(this.props,"root",{className:C()(v,{[eY.scroll]:!0,[eY.scroll_preventStackContext]:D||l}),style:A}),{ref:this.setRef("container"),onMouseOver:this.handleMouseOver,onMouseLeave:this.handleMouseLeave,"data-vertical-fade":!!E,"data-component-type":"platform-ui"}),p().createElement(ez,Object.assign({},eS(this.props,"offsetWrapper"),{offsetBottom:n,offsetTop:o}),p().createElement(eX,Object.assign({},eS(this.props,"scrollContent"),{id:u,dataQaType:r,"data-scroll-container":this.props["data-scroll-container"],ref:this.contentRef,onScroll:F,onTouchStart:s,onTouchMove:c,onTouchEnd:d,onWheel:this.handleWheel,native:D,mounted:e,disabled:a,scrollContain:m}),p().createElement(eR,{classNames:eT(g,"portalWrapper"),styles:eT(b,"portalWrapper"),styleSlots:null==f?void 0:f.portalWrapper},p().createElement(Q.Provider,{value:this.container?{intersectElems:[this.container],zoom:t}:{}},i)))),B&&p().createElement(p().Fragment,null,this.renderScrollBar("horizontal",{classNames:eT(g,"scrollBarHorizontal"),styles:eT(b,"scrollBarHorizontal"),styleSlots:null==f?void 0:f.scrollBarHorizontal}),this.renderScrollBar("vertical",{classNames:eT(g,"scrollBarVertical"),styles:eT(b,"scrollBarVertical"),styleSlots:null==f?void 0:f.scrollBarVertical})))}}e2.contextType=Q,e2.defaultProps={theme:"default",preventOuterScroll:!1,scrollbarVisibility:e0,preventStackContext:!1,dataQaType:"uikit/scroll",contentInnerOffsetBottom:0,contentInnerOffsetTop:0,barMinHeight:0};var e4=c(873);let e7={};var e6=function(e){return e.startsWith("#")||function(){let e=window.navigator.userAgent;if(e.match(/Trident\//))return!1;let t=e.match(/Edge\/(\d+)/);return!t||+t[1]>12}()?e:"#"+function(e){if(e7[e])return e7[e];let u=_();return e7[e]=u,!function(e,u){var r;let o,[n,i]=e.split("#");(r=n,o=new XMLHttpRequest,new Promise(e=>{o.onreadystatechange=()=>{if(4===o.readyState){let t=o.responseText,u=document.implementation.createHTMLDocument("");u.body.innerHTML=t;let r=u.body.firstChild;e(r)}},o.open("get",r),o.send()})).then(e=>{let r=e.getElementById(i).cloneNode(!0),o=(t||(t=document.createElement("svg"),document.body.appendChild(t)),t);r.id=u,o.appendChild(r)})}(e,u),u}(e)},e3=e=>p().createElement("use",Object.assign({},e,{href:e6(e.href)}));let e5=["icon"];var e8=e=>{let{icon:t}=e,u=b(e,e5);if("object"==typeof t){let e=t.url||"#"+t.id;return p().createElement("svg",u,p().createElement(e3,{href:e}))}return p().createElement(t,u)}
1,e9=c(773),te=c.n(e9);let tt={gray:{color:te()["textfield-placeholder"],background:te()["card-secondary"]},red:{color:te()["status-error"],background:"#fbe4e3"},green:{color:te()["status-success"],background:"#dff3e2"},blue:{color:te().link,background:te().secondary},blueFilled:{color:"#fff",background:te().link},yellow:{color:te()["text-primary"],background:te().primary},white:{color:te()["textfield-placeholder"],background:te()["blank-white"]},attention:{color:te()["primary-active"],background:"#fff1ab"}};var tu="ab0K5JGab",tr="bb0K5JGab",to="cb0K5JGab",tn="db0K5JGab",ti="eb0K5JGab";let ta=["dataQaType","dataQaData","iconSize","withContainer","containerSize","square","dataSvgId","svgCode","rotate","reverse","backgroundSize","verticalAlign","theme","cursor","children","idRegExp","svgWidth"],tl=["icon","iconPath"],ts=/paint/g,tc={32:10,36:12,40:12,44:15,48:15,64:20,96:30,128:40},td={horizontal:"scaleX(-1)",vertical:"scaleY(-1)"},th=(0,h.memo)(e=>{var t,u;let r,o,{dataQaType:n="uikit/icon",dataQaData:i,iconSize:a=64,withContainer:l,containerSize:s,square:c,dataSvgId:d,svgCode:f,rotate:m,reverse:v,backgroundSize:A,verticalAlign:E,theme:D,cursor:B,children:y,idRegExp:_=ts,svgWidth:w="100%"}=e,k=b(e,ta),{color:x,background:S}=tt[D]||("object"==typeof D?D:{}),T=(t=m||0,u=v,r=t?"rotate("+t+"deg)":"",(o=u?td[u]:void 0)&&(r+=" "+o),r.length?r:void 0),O=(0,h.useId)(),P=(0,h.useMemo)(()=>_&&null!=f&&f.toString().includes("paint")?null==f?void 0:f.toString().replace(_,O):f,[f,_,O]);return p().createElement("span",Object.assign({},k,F({dataQaType:n,dataQaData:i}),{className:tu,style:{width:s,height:s,color:x,cursor:B,verticalAlign:E},"data-component-type":"platform-ui","data-tui":"icon"}),l&&p().createElement("span",{className:tr,style:{background:S,borderRadius:c&&s&&16!==s&&24!==s&&tc[s]||void 0,width:A,height:A}}),p().createElement("span",Object.assign({},F({dataQaType:n+".content"}),{"data-svg-id":d,className:C()(to,{[tn]:"auto"===w}),style:g({WebkitTransform:T,transform:T,width:a,height:a},k.style),role:"presentation"},P?{dangerouslySetInnerHTML:{__html:P.toString()}}:{}),y))}),tp=(0,e4.A)(th);var tf=e=>{let{icon:t,iconPath:u}=e,r=b(e,tl);return t?"string"==typeof t?p().createElement(tp,Object.assign({},r,{iconPath:t})):p().createElement(th,r,p().createElement(e8,{icon:t,className:ti})):u?p().createElement(tp,Object.assign({iconPath:u},r)):p().createElement(th,r)};let tm={checked:{s:e=>{let{theme:t}=e;return p().createElement(tf,{theme:t,icon:'<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" focusable="false"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.616 5.27-7.072 6.626L2.677 8.02l.354-.372a1.5 1.5 0 0 1 2.11-.062L6.64 9.04l4.512-4.197a1.5 1.5 0 0 1 2.115.058l.35.368Z" fill="currentColor"/></svg>',iconSize:16})},l:e=>{let{theme:t}=e;return p().createElement(tf,{theme:t,icon:'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" focusable="false"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 8.327 9.885 17.5l-5.467-5.332.465-.424A1.594 1.594 0 0 1 7 11.741l2.885 2.983 7.033-6.822a1.593 1.593 0 0 1 2.119.002l.463.423Z" fill="currentColor"/></svg>',iconSize:24})}},indeterminate:{s:e=>{let{theme:t}=e;return p().createElement(tf,{theme:t,icon:'<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" focusable="false"><path d="M2 9h12V7H2v2Z" fill="currentColor"/></svg>',iconSize:16})},l:e=>{let{theme:t}=e;return p().createElement(tf,{theme:t,icon:'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" focusable="false"><path d="M21 13H3v-2h18v2Z" fill="currentColor"/></svg>',iconSize:24})}}};var tg=e=>
1{let{indeterminate:t=!1,checked:u=!1,size:r="l",styles:o,dataQaType:n,checkboxed:i=!1,checkboxTheme:a}=e,l=(0,h.useRef)("checked"),s="unchecked";u&&(l.current="checked",s="checked"),t&&(l.current="indeterminate",s="indeterminate");let c=tm[l.current][r];return p().createElement("div",{className:C()(o.checkmark,o["checkmark_size_"+r],{[o.checkmark_checked]:u||t,[o.checkmark_checkboxed]:i}),"data-qa-option-checked":s,"data-qa-option-checkboxed":i},p().createElement("div",{className:o.checkmarkIcon,"data-qa-type":n},p().createElement(c,{theme:a})))},tb={root:"abpwf0qLb",root_withAnimation:"bbpwf0qLb",root_opened:"cbpwf0qLb",slideBottomOpen:"dbpwf0qLb",root_closed:"ebpwf0qLb",slideBottomClose:"fbpwf0qLb",root_withShadow:"gbpwf0qLb",root_vertical:"hbpwf0qLb",root_horizontal:"ibpwf0qLb",root_noBorder:"jbpwf0qLb",root_isFluid:"kbpwf0qLb"};let tv=["className","opened","size","style","withAnimation","withMargin","orientation","withShadow","borderRadius","noBorder","isFluid"],tA=e=>{let{className:t,opened:u,size:r="l",style:o,withAnimation:n=!0,withMargin:i=!0,orientation:a="vertical",withShadow:l=!0,borderRadius:s,noBorder:c,isFluid:d}=e,h=b(e,tv);return p().createElement("div",Object.assign({"data-size":r},h,{className:C()(tb.root,{[tb.root_opened]:u,[tb.root_closed]:!u,[tb.root_withAnimation]:n,[tb.root_withShadow]:l,[tb["root_"+a]]:!!a&&i,[tb.root_noBorder]:c,[tb.root_isFluid]:d},t),style:g({},o,{borderRadius:s})}))},tE=["tagName","children","rootMargin"],tD=(0,h.forwardRef)((e,t)=>{let{tagName:u="div",children:r,rootMargin:o}=e,n=b(e,tE),[i,a]=p().useState(!1),l=p().useRef(null),s=p().useCallback(e=>{l.current=e,t&&("function"==typeof t?t(e):t.current=e)},[t]);return p().useEffect(()=>{if("u"<typeof IntersectionObserver)return void a(!0);let e=new IntersectionObserver(t=>{t[0].isIntersecting&&(a(!0),e.disconnect())},{threshold:0,rootMargin:o});return l.current&&e.observe(l.current),()=>{e.disconnect()}},[o]),p().createElement(u,g({},n,{"data-component-type":"platform-ui",ref:s}),i?r:null)});var tC={bubbleContent:"abePFmDri",corner:"bbePFmDri",bubbleWrapper:"cbePFmDri",bubble:"dbePFmDri",bubble_variant_desktop:"ebePFmDri",bubble_variant_ios:"fbePFmDri",bubble_variant_android:"gbePFmDri",bubble_theme_light:"hbePFmDri",bubble_theme_dark:"ibePFmDri",bubble_theme_blue:"jbePFmDri",bubble_theme_default:"kbePFmDri","bubble_theme_elevation-1":"lbePFmDri",bubble_direction_left:"mbePFmDri",bubble_direction_right:"nbePFmDri",bubble_direction_top:"obePFmDri",bubble_direction_bottom:"pbePFmDri",bubble_inline:"qbePFmDri"},tF=e=>{let{alignText:t,children:u,cornerStyle:r,direction:o,inline:n=!1,withCorner:i=!0,theme:a="light",id:l,overflow:s="hidden",variant:c="desktop",maxWidth:d=288,dataQaType:f,dataQaData:m,setCornerRect:b,setBorderRadius:v,borderRadiusStyle:A}=e,E=(0,h.useCallback)(e=>{null!==e&&b&&b(e.getBoundingClientRect())},[b]),D=(0,h.useCallback)(e=>{if(null!==e){var t;v&&v(parseFloat(null==(t=getComputedStyle(e))?void 0:t.getPropertyValue("border-radius"))||12)}},[v]),B="object"!=typeof a?a:"custom",y={},_={},w={};if("custom"===B){var k,x,S;y.color=null!=(k=null==a?void 0:a.color)?k:"var(--tui-text-primary)",_.background=null!=(x=null==a?void 0:a.background)?x:"var(--tui-background-elevation-1)",w.background=null!=(S=null==a?void 0:a.cornerColor)?S:"var(--tui-background-elevation-1)"}return p().createElement("div",Object.assign({},F({dataQaData:m,dataQaType:f+".wrapper"}),{className:tC.bubbleWrapper,id:l}
1),p().createElement("div",{className:C()(tC.bubble,{[tC.bubble_inline]:n,[tC["bubble_direction_"+o]]:o,[tC["bubble_theme_"+B]]:!0,[tC["bubble_variant_"+c]]:!0}),ref:D,style:g({overflow:s,maxWidth:d},y,_,A),"data-qa-type":f+".inner"},i&&p().createElement("div",{ref:E,className:tC.corner,style:g({},w,r),"data-qa-type":f+".corner"}),p().createElement("div",{"data-qa-type":f+".content",className:tC.bubbleContent,style:g({textAlign:t},_,A)},u)))};let tB=["inline","children","withCorner","theme","popoverContent","alignText","overflow","increasedTouchZone","direction","minArrowOffset","maxWidth","hideOnTouchMove","dataQaType","variant","customPadding","cornerStyle","pointerEvents","portalTagName","id","onActiveToggle","UNSAFE_className","hoverDelay"],ty=["tooltipStyle"];var t_=e=>{let{inline:t=!1,children:u,withCorner:r=!0,theme:o,popoverContent:n,alignText:i="left",overflow:a="visible",increasedTouchZone:l=!1,direction:s="bottom",minArrowOffset:c=0,maxWidth:d=288,hideOnTouchMove:f=!0,dataQaType:m="uikit/tooltip",variant:v="desktop",customPadding:A="desktop"!==v&&r?16:8,cornerStyle:E,pointerEvents:D,portalTagName:C="span",id:F,onActiveToggle:B,UNSAFE_className:_,hoverDelay:w=150}=e,k=b(e,tB),[x,S]=(0,h.useState)("bottom"),[T,O]=(0,h.useState)({}),[P,M]=(0,h.useState)(),[L,R]=(0,h.useState)(),[z,N]=(0,h.useState)(),I=y(F),j=n&&p().createElement(tF,{dataQaType:m+".bubble",inline:t,withCorner:r,direction:x,cornerStyle:E||T,theme:o,setCornerRect:M,setBorderRadius:R,borderRadiusStyle:z,alignText:i,variant:v,maxWidth:d,id:I,overflow:a},n);return p().createElement(e_,Object.assign({popoverBlock:j,onActiveToggle:(e,t,u)=>{let{tooltipStyle:r}=u,o=b(u,ty);(x!==e||!function(e,t){let u=Object.keys(e),r=Object.keys(t);if(u.length!==r.length)return!1;for(let r of u)if(e[r]!==t[r])return!1;return!0}(T,t))&&(S(e),O(t),N(()=>{let e={};for(let t of["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"])0===r[t]?e[t]=0:e[t]=L;return e})),null==B||B(e,t,g({tooltipStyle:r},o))},increasedTouchZone:l,customPadding:A,direction:s,minArrowOffset:c,hideOnTouchMove:f,hoverDelay:w},k,{role:"tooltip",dataQaType:m,arrowRect:P,arrowAdaptiveBorderRadiusValue:L,ariaDescribedBy:I,variant:v,blockStyles:{pointerEvents:D},portalTagName:C,UNSAFE_className:_}),u)},tw={root:"abveYZ8et",container:"bbveYZ8et",container_disabled:"cbveYZ8et",container_size_s:"dbveYZ8et",container_size_m:"ebveYZ8et",container_size_l:"fbveYZ8et",item:"gbveYZ8et",item_size_s:"hbveYZ8et",item_size_m:"ibveYZ8et",item_size_l:"jbveYZ8et",item_highlighted:"kbveYZ8et",item_disabled:"lbveYZ8et",item_withTooltip:"mbveYZ8et",item_withFloating:"nbveYZ8et",item_variant_link:"obveYZ8et",floating:"pbveYZ8et",content:"qbveYZ8et",content_highlight:"rbveYZ8et",label:"sbveYZ8et",description:"tbveYZ8et",title:"ubveYZ8et",sideContent:"vbveYZ8et",sideContent_right:"wbveYZ8et",sideContent_left:"xbveYZ8et",checkmark:"ybveYZ8et",checkmark_size_s:"zbveYZ8et",groupTitle:"AbveYZ8et",checkmark_checkboxed:"BbveYZ8et",checkmark_checked:"CbveYZ8et",item_checkmarkStyle_checkbox:"DbveYZ8et",groupTitle_checkboxed:"EbveYZ8et",groupTitle_size_s:"FbveYZ8et",checkmarkIcon:"GbveYZ8et",dropdownList:"HbveYZ8et",dropdownList_highlightActive:"IbveYZ8et",item_active:"JbveYZ8et",dropdownList_colored:"KbveYZ8et",group:"LbveYZ8et",groupTitle_size_l:"MbveYZ8et",groupTitle_size_m:"NbveYZ8et",groupTitle_empty:"ObveYZ8et",groupTitleText:"PbveYZ8et",groupTitle_withSelectAllButton:"QbveYZ8et",groupSelectAll:"RbveYZ8et",customContent:"SbveYZ8et",customContent_loader:"TbveYZ8et",customContent_noResults:"UbveYZ8et"};let tk=p().memo(e=>{let{size:t,checkmarkStyle:u="default",label:r,title:o,description:n,rightContent:i,leftContent:a,checkboxed:l,selected:s,highlighted:c,role:d="option",onMouseDown:h,onMouseOver:f,onMouseOut:m,disabled:g,setRef:b,highlightMatch:v,dropdownItemIndex:A,dataQaType:E="uikit/dropdown.item",lazy:D,__overrideStyles:F,__parentOverrideStyles:B,showSubContent:y,type:_="default",variant:w="default",attributes:k,dataAttributes:x,active:S,tagName:O,checkboxTheme:P,tooltipContent:M,tooltipzIndex:R,tooltipTo:z="body",noTooltipHover:N=!0,floatingContent:I,selectable:j=!0}=e,W=t=>"function"==typeof t?t(e):t,$=B||T(tw,null==F?void 0:F.Dropdown),H=W(i),Y=W(a),q=y||"l"===t,[Z,Q]=D?[tD,{rootMargin:"100px 0px"}]:["link"===_?"a":null!=O?O:"div",{}],U={};D&&(U.tagName="link"===_?"a":null!=O?O:"div");let X=!!I,K=p().createElement(p().Fragment,null,Y&&p().createElement("span",{className:C()({[$.sideContent]:!0,[$.sideContent_left]:!0}),"data-qa-type":E+".leftContent"},Y),p().createElement("span",{className:C()({[$.content]:!0,[$.content_highlight]:v})},q&&r&&p().createElement("span",{className:$.label,role:"heading","aria-level":4,"data-qa-type":E+".label"},r),o&&p().createElement("span",{className:$.title,role:"heading","aria-level":3,"data-qa-type":E+".title"},o),q&&n&&p().createElement("span",{className:$.description,"aria-level":5,"data-qa-type":E+".description"},n)),H&&p().createElement("span",{className:C()({[$.sideContent]:!0,[$.sideContent_right]:!0}),"data-qa-type":E+".rightContent"},H),l&&p().createElement(tg,{checked:s,checkboxTheme:P,styles:$,dataQaType:E+".checkmarkIcon",size:"l"===t?"l":"s",checkboxed:"checkbox"===u}),X&&p().createElement("span",{className:$.floating,"data-qa-type":E+".floatingContent"},I)),V=M&&!L();return p().createElement(Z,Object.assign({},Q,k,U,{"data-qa-type":E},x,{ref:b,className:C()({[$.item]:!0,[$["item_size_"+t]]:!0,[$["item_variant_"+w]]:!0,[$.item_active]:S,[$.item_selected]:s,[$.item_disabled]:g,[$.item_withTooltip]:V,[$.item_withFloating]:X,[$.item_highlighted]:j&&c,[$["item_checkmarkStyle_"+u]]:l}),role:d,"aria-current":c||void 0,"aria-selected":l?s:void 0,"aria-disabled":g||void 0,"data-dropdown-item-index":A,onMouseDown:V?void 0:h,onMouseOver:V?void 0:f,onMouseOut:V?void 0:m}),V?p().createElement(t_,{theme:"dark",popoverContent:M,direction:["bottom","top"],align:"start",additionalShift:12,noBubbleHover:N,pointerEvents:N?"none":void 0,zIndex:R,to:z},p().createElement("div",{className:C()($.container,{[$["container_size_"+t]]:!0,[$.container_disabled]:g}),onMouseDown:h,onMouseOver:f,onMouseOut:m},K)):K)});
1var tx={layout:"abo_qXe1T",layout_notTransparent:"bbo_qXe1T",layout_alignTop:"cbo_qXe1T",layout_open:"dbo_qXe1T",showOverlay:"ebo_qXe1T",layout_close:"fbo_qXe1T",hideOverlay:"gbo_qXe1T",alignSpace:"hbo_qXe1T",circle:"ibo_qXe1T",svgWrapper:"jbo_qXe1T",svg:"kbo_qXe1T",showSvg:"lbo_qXe1T",hideSvg:"mbo_qXe1T",svgWrapper_size_xs:"nbo_qXe1T",svgWrapper_size_s:"obo_qXe1T",svgWrapper_size_m:"pbo_qXe1T",svgWrapper_size_l:"qbo_qXe1T",svgWrapper_size_xl:"rbo_qXe1T",svgWrapper_size_xxl:"sbo_qXe1T",svgWrapper_centered:"tbo_qXe1T","animate-rotate":"ubo_qXe1T"};let tS={yellow:te()["yellow-100"],black:te()["black-300"],current:"currentColor"},tT={true:{animateStart:!0,animateEnd:!0},false:{animateStart:!1,animateEnd:!1},start:{animateStart:!0,animateEnd:!1},end:{animateStart:!1,animateEnd:!0}};var tO=e=>{let{alignTop:t=null,centered:u=!1,color:r="yellow",dataQaType:o="uikit/loader",fadeAnimation:n="true",hidden:i=!1,overlay:a,semiTransparentBg:l=!0,size:s="xl",UNSAFE_className:c,UNSAFE_style:d}=e,{animateEnd:f,animateStart:m}=tT[n],b=!i&&m||i&&f,[v,A]=(0,h.useState)(a?!b&&i:i),E=()=>p().createElement("div",Object.assign({},F({dataQaType:o+".svgWrapper"}),{className:C()({[tx.svgWrapper]:!0,[tx["svgWrapper_size_"+s]]:s,[tx.svgWrapper_centered]:u},c),style:g({"--tui-loader-color":tS[r]||r},d),"data-component-type":"platform-ui"}),p().createElement("svg",Object.assign({},F({dataQaType:o+".svg"}),{viewBox:"0 0 100 100",className:tx.svg}),p().createElement("circle",{fill:"none",className:tx.circle,stroke:"currentColor",cx:"50",cy:"50",r:"44"})));return((0,h.useEffect)(()=>{A(a?!b&&i:i)},[i,a,b]),v)?null:a?p().createElement("div",Object.assign({},F({dataQaType:o}),{className:C()({[tx.layout]:!0,[tx.layout_alignTop]:null!=t,[tx.layout_notTrans
1parent]:!l,[tx.layout_close]:f&&i,[tx.layout_open]:m&&!i}),onTransitionEnd:f||m?()=>{A(i)}:void 0}),!!t&&p().createElement("div",{className:tx.alignSpace,style:{maxHeight:t}}),E()):E()},tP=e=>{let{children:t,className:u}=e;return p().createElement("div",{className:u||C()(tw.customContent,tw.customContent_loader)},null!=t?t:p().createElement(tO,{size:"m"}))},tM=e=>{let{children:t,className:u}=e;return p().createElement("div",{className:u||C()(tw.customContent,tw.customContent_noResults)},t)};let tL=(e=>{if("u"<typeof WeakMap)return e;let t=new WeakMap;return u=>{if(t.has(u))return t.get(u);let r=e(u);return t.set(u,r),r}})(e=>e.reduce((e,t)=>t.options?e.concat(t.options):e.concat(t),[])),tR=(e,t)=>!!(e===t||e&&t&&e.value===t.value&&void 0!==e.value),tz=()=>{},{layers:tN}=M();class tI extends h.PureComponent{constructor(e){var t;super(e),this.blockHover=void 0,this.focusedOption=void 0,this.scrollContainer=void 0,this.listRef=void 0,this.contentBeforeList=void 0,this.contentAfterList=void 0,this.observer=void 0,this.deviceType=ek(),this.refFocusedItem=e=>{this.focusedOption=e},this.refScrollContainer=e=>{this.scrollContainer=e;let t=null==e?void 0:e.offsetWidth,u=null==e?void 0:e.offsetHeight;if(e)this.observer=new MutationObserver(()=>{(e.offsetWidth!==t||e.offsetHeight!==u)&&(t=e.offsetWidth,u=e.offsetHeight,this.blockHover=!0,this.updateHeight(),this.scrollToOption(this.focusedOption,!0))}),this.observer.observe(e,{childList:!0,subtree:!0});else{var r;null==(r=this.observer)||r.disconnect()}},this.handleMouseDown=e=>{let{nested:t}=this.props;t&&e.stopPropagation();let u=this.findTargetOption(e.target);"object"==typeof u&&null!=u&&u.disabled||u&&this.props.onOptionClick(e,{option:u}),e.preventDefault()},this.handleMouseOver=e=>{let{nested:t}=this.props;if(t&&e.stopPropagation(),this.blockHover)return;let u=this.findTargetOption(e.target);("object"!=typeof u||null==u||!u.disabled)&&u&&u!==this.props.highlightedOption&&this.props.onOptionMouseOver(e,{option:u})},this.handleMouseMove=()=>{this.blockHover=!1},this.handleAnimationEnd=e=>{e.target===e.currentTarget&&(this.props.opened||this.setState({mounted:!1}))},this.blockHover=!1,this.focusedOption=null,this.scrollContainer=null,this.listRef=(0,h.createRef)(),this.contentBeforeList=(0,h.createRef)(),this.contentAfterList=(0,h.createRef)(),this.observer=null,this.state={mounted:e.opened,listHeight:null,styles:T(tw,null==e||null==(t=e.__overrideStyles)?void 0:t.Dropdown)}}static getDerivedStateFromProps(e,t){var u;let r=T(tw,null==e||null==(u=e.__overrideStyles)?void 0:u.Dropdown);return e.opened?{styles:r,mounted:!0}:{styles:r}}componentDidMount(){this.updateHeight(),this.scrollToOption(this.focusedOption,!0),this.setState({compId:_(this)})}componentDidUpdate(e,t){let{options:u,highlightedOption:r,isScrollDisabled:o,opened:n}=this.props,i=!e.opened&&n;(e.options!==u||t.mounted!==this.state.mounted)&&this.updateHeight(),o||tR(e.highlightedOption,r)&&!i||(this.blockHover=!0,this.scrollToOption(this.focusedOption,i))}findTargetOption(e){let t=this.listRef.current;if(!t)return null;for(;e&&e!==t;){var u;let t=null==(u=e.dataset)?void 0:u.dropdownItemIndex;if(t){let e=t.split("_").map(Number),u=this.props.options[e.shift()];return e.reduce((e,t)=>e.options[t],u)}e=e.parentElement}return null}getHeight(){var e,t;let{maxHeight:u}=this.props,{listHeight:r}=this.state,o=((this==null||null==(e=this.contentBeforeList)||null==(e=e.current)?void 0:e.clientHeight)||0)+((this==null||null==(t=this.contentAfterList)||null==(t=t.current)?void 0:t.clientHeight)||0);return r&&u&&r+o<Number(u)?"auto":u}scrollToOption(e,t){if(void 0===t&&(t=!1),!e||!this.scrollContainer)return;let u=this.scrollContainer.getBoundingClientRect(),r=e.getBoundingClientRect(),o=r.top<u.top,n=r.bottom>u.bottom;if(n||o){let o=e.offsetTop,i=u.height-r.height;t?o-=i/2:n&&(o-=i),this.scrollContainer.scrollTop=o}}updateHeight(){let e=this.listRef&&this.listRef.current&&this.listRef.current.clientHeight;e&&e!==this.state.listHeight&&this.setState({listHeight:e})}renderOptions(e,t){let u=0,{length:r}=e,o=[],n=t;for(;u<r;){let[r,i]=this.renderOption(e[u],g({},n,{index:""+t.index+u}));o[u]=r,n=i,u++}return[o,n]}renderOption(e,t){let{highlightedOption:u,prevHighlightedOption:r,highlightMatch:o,data
1QaType:n,size:i,checkboxTheme:a}=this.props,{styles:l,compId:s}=this.state;if(ew(e)){let u=s+"-gr"+t.index,[r,o]=this.renderOptions(e.options,g({},t,{index:t.index+"_"})),{checkboxed:c,selected:d,indeterminate:h,title:f,size:m,selectAllButtonText:b}=e,v=m||i,A=!!b&&!c;return[p().createElement("div",{className:l.group,key:e.key||t.index,role:"group","aria-labelledby":u},e.title&&p().createElement("div",{id:u,className:C()({[l.groupTitle]:!0,[l.groupTitle_checkboxed]:c,[l.groupTitle_withSelectAllButton]:A,[l["groupTitle_size_"+v]]:!0,[l.groupTitle_empty]:!e.options.length}),"data-dropdown-item-index":c&&t.index,"data-qa-type":n+".group-title"},p().createElement("span",{className:l.groupTitleText},f),c&&p().createElement(tg,{indeterminate:h,checked:d,checkboxTheme:a,styles:l,dataQaType:n+".title.checkmarkIcon",size:"l"===v?"l":"s",checkboxed:c}),A&&p().createElement("span",{role:"button",className:l.groupSelectAll,"data-dropdown-item-index":t.index},b)),r),o]}let c=e===u,d=function(e){if("string"==typeof e||"number"==typeof e)return{key:e,title:e,value:e};let{title:t,value:u,key:r}=e;return t&&r?e:g({},e,{key:r||u,title:t||u})}(e);return[p().createElement(tk,Object.assign({key:"option-item-"+d.key,dataQaType:n+".item"},d,{lazy:"object"==typeof e&&!1===e.lazy?e.lazy:t.flatIndex>t.lazyIndex,setRef:c?this.refFocusedItem:void 0,highlighted:c,highlightMatch:o,checkboxTheme:a,dropdownItemIndex:t.index,__parentOverrideStyles:l,size:"object"==typeof e&&e.size?e.size:i,selectable:"object"==typeof e?e.selectable:void 0})),g({},t,{flatIndex:t.flatIndex+1,lazyIndex:c||!u&&e===r?t.flatIndex+10:t.lazyIndex})]}render(){let{children:e,cobrowsingSecure:t,colored:u,contentBeforeList:r,contentAfterList:o,dataQaType:n,highlightActive:i,highlightedOption:a,id:l,maxWidth:s,minWidth:c,opened:d,options:h,orientation:f,prevHighlightedOption:m,shadow:g,size:b,zIndex:v,borderRadius:A,onMouseLeave:E,onMouseDown:D}=this.props,{mounted:F,styles:B}=this.state;return F?("tablet"===this.deviceType||this.deviceType,p().createElement(tA,Object.assign({className:C()(B.dropdownList,{[B.dropdownList_highlightActive]:i,[B.dropdownList_colored]:u})},t?{"data-cobrowsing-stub":""}:{},{"data-qa-type":n+".list",id:l,onAnimationEnd:this.handleAnimationEnd,onMouseLeave:E,onMouseMove:this.handleMouseMove,onMouseDown:D,opened:d,orientation:f,role:"listbox",size:b,style:{height:this.getHeight(),zIndex:"number"==typeof v||void 0===v?v:tN[v],minWidth:c,maxWidth:s},borderRadius:A,withShadow:g}),e||p().createElement(p().Fragment,null,p().createElement("div",{ref:this.contentBeforeList},r),p().createElement(e2,{scrollbarVisibility:eJ,setContainer:this.refScrollContainer},p().createElement("div",{ref:this.listRef,onMouseDown:this.handleMouseDown,onMouseOver:this.handleMouseOver},this.renderOptions(h,{index:"",flatIndex:0,lazyIndex:a||m?1/0:10})[0])),p().createElement("div",{ref:this.contentAfterList},o)))):null}}tI.defaultProps={maxHeight:254,zIndex:tN["layer-popover"],shadow:!0,options:[],onOptionClick:tz,onOptionMouseOver:tz,onMouseLeave:tz,cobrowsingSecure:!1,nested:!1,dataQaType:"uikit/dropdown"};let tj=(e,t)=>{if(t&&t.length)for(let u=0,r=t.length;u<r;u++){let r=t[u];if(e(r))return r;if(ew(r)){let t=tj(e,r.options);if(t)return t}}};function tW(e){return e.highlightedOption||tj(e=>"object"==typeof e&&e.selected,e.options)}class t$ extends h.PureComponent{constructor(e){var t;super(e),this.handleOptionMouseOver=(e,t)=>{let{option:u}=t,{opened:r,onOptionHighlight:o}=this.props;r&&(this.setState({highlightedOption:u,disabledScroll:!0}),null==o||o(e,{option:u}))},this.handleKeyDown=e=>{let{highlightedOption:t}=this.state,{onClose:u,onKeyDown:r}=this.props;switch(S()(e)){case"esc":null==u||u();break;case"up":e.preventDefault(),this.handleArrow(e,-1);break;case"down":e.preventDefault(),this.handleArrow(e,1);break;case"enter":t&&(e.preventDefault(),this.selectOption(e,t))}null==r||r(e)},this.handleListMouseLeave=e=>{let{onOptionLeave:t,nested:u}=this.props,{highlightedOption:r}=this.state;u&&e.stopPropagation(),this.setState({highlightedOption:void 0,prevHighlightedOption:r}),null==t||t(e)},this.handleOptionClick=(e,t)=>{let{option:u}=t;return this.selectOption(e,u)},this.state={highlightedOption:tW(e),disabledScroll:!1,prevOptions:e.options,prevOpened:e.opened,prevHighlightedOptionProp:e.highlightedOption,prevHighlightedOption:tW(e),styles:T(tw,null==e||null==(t=e.__overrideStyles)?void 0:t.Dropdown)}}static getDerivedStateFromProps(e,t){var u;let r={styles:T(tw,null==e||null==(u=e.__overrideStyles)?void 0:u.Dropdown)};return tR(t.prevHighlightedOptionProp,e.highlightedOption)&&(!e.opened||t.prevOpened)?e.options!==t.prevOptions&&(r={prevOptions:e.options},tj(e=>e.selected&&tR(e,t.highlightedOption),e.options)||(r=g({},r,{highlightedOption:void 0}))):r=g({},r,{highlightedOption:tW(e),prevHighlightedOptionProp:e.highlightedOption,prevHighlightedOption:tW(e),prevOptions:e.options,prevOpened:e.opened}),t.prevOpened&&!e.opened&&(r=g({},r,{highlightedOption:void 0,disabledScroll:!1,prevOpened:e.opened})),r}handleArrow(e,t){let{opened:u,onOptionHighlight:r}=this.props,o=this.getNextOption(this.state.highlightedOption,t);u&&(this.setState({highlightedOption:o,disabledScroll:!1}),null==r||r(e,{option:o}))}getNextOption(e,t){void 0===t&&(t=1);let u=tL(this.props.options).filter(e=>!e.disabled),r=1===t,o=u.length-1,n=u.indexOf(e);return 0!==n||r?-1===n||n===o&&r?u[0]:u[n+t]:u[o]}selectOption(e,t){let{closeOnSelect:u,onOptionSelect:r,onClose:o}=this.props;if("object"==typeof t){null==t.onOptionSelect||t.onOptionSelect(e,{value:t.value,option:t}),!1!==t.selectable&&(null==r||r(e,{value:t.value,option:t})),u&&!1!==t.closeOnSelect&&(null==o||o());return}null==r||r(null,{value:t,option:t}),u&&(null==o||o())}renderCustomContent(){let{loading:e,noResults:t,loadingContent:u,noResultsContent:r}=this.props,{styles:o}=this.state,n={loader:C()(o.customContent,o.customContent_loader),noResults:C()(o.customContent,o.customContent_noResults)};return(e=>{let{loading:t,loadingContent:u,noResults:r,noResultsContent:o,customStyles:n={}}=e;return t?p().createElement(tP,{className:n.loader},u):r?p().createElement(tM,{className:n.noResults},o):null})({loading:e,loadingContent:u,noResults:t,noResultsContent:r,customStyles:n})}render(){let{UNSAFE_className:e,additionalShift:t,align:u,alwaysCallOnClose:r,blockStyles:o,checkboxTheme:n,
1children:i,closeOnPopoverClick:a,cobrowsingSecure:l,colored:s,contentBeforeList:c,contentAfterList:d,customPadding:h,dataQaType:f,direction:m,disabled:g,forwardedRef:b,hideOnClickOutside:v,hideOnResize:A,highlightActive:E,highlightMatch:D,id:C,listHeight:B,listMaxWidth:y,listMinWidth:_,listZIndex:w,loading:k,nested:x,noResults:S,onClick:T,onClickOutside:O,onClose:P,onShow:M,onDropdownContainerMouseDown:L,opened:R,options:z,preventDefaultClick:N,shadow:I,size:j,smartDirection:W,stopPropagationClick:$,to:H,toggleOnClick:Y,wide:q,wideFullHeight:Z,borderRadius:Q}=this.props,{highlightedOption:U,disabledScroll:X,styles:K,prevHighlightedOption:V}=this.state,G=this.renderCustomContent();return p().createElement(e_,Object.assign({tagName:"div",UNSAFE_className:e,additionalShift:t,align:u,blockStyles:o,closeOnPopoverClick:a,customPadding:h,direction:m,disabled:g,hideOnResize:A,increasedTouchZone:!1,isActive:R,isInactive:!R,onClick:T,onClickOutside:O,onShow:M,preventDefaultClick:N,renderPopoverBlock:(e,t)=>{let{direction:u}=t;return!!(G||null!=z&&z.length)&&p().createElement(tI,{__overrideStyles:this.props.__overrideStyles,checkboxTheme:n,cobrowsingSecure:l,colored:s,contentBeforeList:c,contentAfterList:d,dataQaType:f,highlightActive:E,highlightMatch:D,highlightedOption:U,id:C,isScrollDisabled:X,maxHeight:k||S?"auto":B,maxWidth:y,minWidth:_,nested:x,onMouseLeave:this.handleListMouseLeave,onOptionClick:this.handleOptionClick,onOptionMouseOver:this.handleOptionMouseOver,onMouseDown:L,opened:!0,options:z,orientation:"top"===u||"bottom"===u?"vertical":"horizontal",prevHighlightedOption:V,shadow:I,size:j,borderRadius:Q},G)},smartDirection:W,stopPropagationClick:$,to:H,toggleOnClick:Y,wide:q,wideFullHeight:Z,zIndex:w},v?{onClose:P,disableToggleOnInsideEvents:!0}:{onClose:r?P:void 0}),p().createElement("div",Object.assign({},F(this.props),{className:K.root,onKeyDownCapture:this.handleKeyDown,ref:b}),i))}}t$.defaultProps={dataQaType:"uikit/dropdown",listHeight:tI.defaultProps.maxHeight,onOptionSelect:tz,onOptionHighlight:tz,onOptionLeave:tz,onClose:tz,onKeyDown:tz,closeOnSelect:!0,shadow:!0,cobrowsingSecure:!1,smartDirection:!1,align:"stretch",alwaysCallOnClose:!1,noResultsContent:"No results",direction:["bottom","top"],wide:!0,size:"m",nested:!1},k()(t$,p().forwardRef((e,t)=>p().createElement(t$,Object.assign({forwardedRef:t},e))));class tH extends t${}tH.defaultProps=g({},t$.defaultProps,{noResultsContent:"Ничего не найдено"});var tY=k()(tH,p().forwardRef((e,t)=>p().createElement(tH,Object.assign({forwardedRef:t},e)))),tq="abv3hOFve",tZ="bbv3hOFve",tQ="cbv3hOFve";let tU={left:{direction:"bottom",align:"start"},right:{direction:"bottom",align:"end"},center:{direction:"bottom",align:"center"},"left-side":{direction:"left",align:"start"},"right-side":{direction:"right",align:"start"}},tX={l:"l",m:"m",s:"s",xs:"s",caption:"s"},tK=e=>{var t,u,r;let{align:o,blockStyles:n,buttonAriaLabel:i="Menu",children:a=null,closeOnPopoverClick:l=!0,colored:s=!1,contentBeforeList:c=null,dataQaType:d="uikit/contextMenu",direction:f,disabled:m,hideOnResize:b=!1,highlightActive:v,id:A,itemSize:E="m",items:D=[],listMinWidth:F,markable:B=!1,maxHeight:y,onClick:_,onClickOutside:w,onClose:k,onShow:x,onOptionSelect:S,position:T="right",preventDefaultClick:O=!1,showOnHover:P=!1,smartDirection:M=!1,squareChecked:L=!1,stopPropagationClick:R=!1,customPadding:z,to:N,wide:I=!1,wideFullHeight:j,zIndex:W,additionalShift:$,nested:H}=e,[Y,q]=(0,h.useState)(!1),Z=null!=(t=e.opened)?t:Y,Q=(0,h.useCallback)((e,t,u)=>r=>u(r,e,{opened:Z},t),[Z]),U=(0,h.useCallback)(()=>{q(!1),null==k||k(null,{opened:!1})},[k]),X=(0,h.useCallback)(()=>{q(!0),null==x||x(null,{opened:!0})},[x]);return p().createElement(tY,{additionalShift:$,nested:H,onOptionSelect:S,id:A,to:N,align:o||(null==(u=tU[T])?void 0:u.align),direction:f||(null==(r=tU[T])?void 0:r.direction),smartDirection:M,hideOnResize:b,customPadding:z,toggleOnClick:!P,closeOnSelect:!1,closeOnPopoverClick:l,wide:I,wideFullHeight:j,opened:Z,alwaysCallOnClose:!0,onClose:U,onShow:X,listZIndex:W,dataQaType:d,preventDefaultClick:O,stopPropagationClick:R,onClick:_,onClickOutside:w,disabled:m,blockStyles:n,listMinWidth:F,listHeight:y,size:tX[E],highlightActive:v,colored:s,contentBeforeList:c,options:D.map((e,t)=>{var u,r,o;let n=e.squareChecked||L?"checkbox":"default",i=null!=(u=e.checkboxed)?u:e.checked||e.squareChecked||L||B;return{key:null!=(r=e.key)?r:t,title:e.title,value:e.title,floatingContent:e.floatingContent,selected:e.checked,checkboxed:e.items?e.checkboxed:i,checkmarkStyle:!1===e.squareChecked?"default":n,disabled:e.disabled,leftContent:e.leftContent,rightContent:e.rightContent||e.additionalContent,tagName:e.tagName,active:e.active,attributes:g({},e.attributes,{id:e.id}),dataAttributes:e.dataAttributes,tooltipContent:e.tooltipContent,tooltipzIndex:e.tooltipzIndex,tooltipTo:e.tooltipTo,noTooltipHover:e.noTooltipHover,onMouseDown:e.onClick&&Q(t,e,e.onClick),selectable:e.selectable,lazy:!1,options:null==(o=e.items)?void 0:o.map((e,t)=>{var u,r;let o=e.squareChecked||L?"checkbox":"default",n=null!=(u=e.checkboxed)?u:e.checked||e.squareChecked||L||B;return{key:null!=(r=e.key)?r:t,title:e.title,value:e.title,floatingContent:e.floatingContent,selected:e.checked,checkboxed:n,checkmarkStyle:!1===e.squareChecked?"default":o,disabled:e.disabled,leftContent:e.leftContent,rightContent:e.rightContent||e.additionalContent,active:e.active,attributes:g({},e.attributes,{id:e.id}),dataAttributes:e.dataAttributes,tagName:e.tagName,tooltipContent:e.tooltipContent,tooltipzIndex:e.tooltipzIndex,tooltipTo:e.tooltipTo,noTooltipHover:e.noTooltipHover,onMouseDown:e.onClick&&Q(t,e,e.onClick),selectable:e.selectable,lazy:!1}})}})},p().createElement("span",{className:C()({[tq]:!0,[tZ]:I,[tQ]:m}),"aria-label":i},a))},tV=["buttonAriaLabel"];var tG=e=>{let{buttonAriaLabel:t="Меню"}=e,u=b(e,tV);
1return p().createElement(tK,Object.assign({},u,{buttonAriaLabel:t}))};let tJ=e=>{let{ref:t,focused:u,onFocus:r,onBlur:o}=e,n=(0,h.useRef)(null),i=v([n,t]),a=(0,h.useCallback)(e=>{u||r(e)},[u,r]),l=(0,h.useCallback)(e=>{u&&o(e)},[u,o]);return(0,h.useEffect)(()=>{let e=n.current;u&&e&&e!==document.activeElement&&e.focus(),!u&&e&&e===document.activeElement&&e.blur()},[u]),g({},e,{ref:i,onFocus:a,onBlur:l})},t0=e=>{let{focused:t,onFocus:u,onBlur:r,onClick:o,onMouseDown:n}=e,[i,a]=(0,h.useState)(!1),l=(0,h.useRef)(0),s=(0,h.useRef)(0),c=(0,h.useRef)(0),d=(0,h.useRef)(0),p=(0,h.useRef)(!1),f=(0,h.useCallback)(e=>{a(e=>(c.current=e?Date.now():0,!1)),r(e)},[r]),m=(0,h.useCallback)(e=>{s.current=Date.now();let t=600>Math.abs(s.current-d.current)&&p.current,r=600>Math.abs(s.current-l.current);a(t||r),u(e)},[u]),b=(0,h.useCallback)(e=>{"click"===e.type&&0!==e.clientX&&0!==e.clientY&&(l.current=Date.now(),600>Math.abs(s.current-l.current)&&a(!0)),o&&o(e)},[o]),v=(0,h.useCallback)(e=>{l.current=Date.now(),600>Math.abs(s.current-l.current)&&a(!0),n&&n(e)},[n]);return(0,h.useEffect)(()=>{let e=()=>{d.current=Date.now(),"hidden"===document.visibilityState&&(p.current=d.current-c.current<600)};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}},[]),g({},e,{focusVisible:t&&!i,onFocus:m,onBlur:f,onClick:b,onMouseDown:v})},t1=e=>(0,h.useCallback)(t=>{let{name:u,value:r,checked:o}=t.target;null==e||e(t,{name:u,value:r,checked:o})},[e]),t2=["focusVisibleUpdate","disabledUpdate"],t4=["dataQaType","dataQaData","focusVisible","checked","indeterminate","focused","onClean","disabled","role"],t7=(0,h.forwardRef)((e,t)=>{let u=t1(e.onBlur),r=t1(e.onFocus),o=t1(e.onChange),{focusVisibleUpdate:n,disabledUpdate:i}=e,a=b(e,t2),l=g({},a,{ref:t,onBlur:u,onFocus:r,onChange:o}),s=tJ(l),c=t0(s),{dataQaType:d,dataQaData:f,focusVisible:m,checked:v,indeterminate:A,disabled:E,role:D}=c,C=b(c,t4);return(0,h.useEffect)(()=>{null==n||n(m)},[m,n]),(0,h.useEffect)(()=>{null==i||i(!!E)},[E,i]),p().createElement("input",Object.assign({},F({dataQaType:d,dataQaData:f}),{role:D,"aria-checked":A?"mixed":v,checked:v,disabled:E},C,{"data-focus-visible":m||void 0,"data-focus-visible-off":!!n||void 0,"data-disabled-visible-off":!!i||void 0}))}),t6=["children","noindex","tagName"];var t3=e=>{let{children:t,noindex:u=!0,tagName:r="span"}=e,o=b(e,t6);return u?p().createElement(r,Object.assign({},o,{"data-component-type":"platform-ui"}),p().createElement("span",{key:"open",dangerouslySetInnerHTML:{__html:"\x3c!--noindex--\x3e"}}),t,p().createElement("span",{key:"close",dangerouslySetInnerHTML:{__html:"\x3c!--/noindex--\x3e"}})):p().createElement(p().Fragment,null,t)};let t5=e=>t=>{let u={},r=g({},t);return e.forEach(e=>{Object.prototype.hasOwnProperty.call(r,e)&&(u[e]=r[e],delete r[e])}),[u,r]},t8=e=>"string"==typeof e?e.split(/\s+/g):[e],t9=function(){for(var e=arguments.length,t=Array(e),u=0;u<e;u++)t[u]=arguments[u];return t.find(e=>void 0!==e)},ue=(e,t)=>u=>{let[r,o]=e(u),n=t(r);return g({},o,{style:g({},o.style||{},n)})},ut=t5(["margin","marginX","marginY","marginTop","marginLeft","marginRight","marginBottom"]),uu=e=>{let{margin:t,marginX:u,marginY:r,marginTop:o,marginLeft:n,marginRight:i,marginBottom:a}=e;return(0,h.useMemo)(()=>(e=>{let{margin:t,marginX:u,marginY:r,marginTop:o,marginLeft:n,marginRight:i,marginBottom:a}=e,l=t8(t),s=t9(o,r,l[0]),c=t9(n,u,l[3],l[1],l[0]),d=t9(i,u,l[1],l[0]),h=t9(a,r,l[2],l[0]);return{marginTop:s,marginLeft:c,marginRight:d,marginBottom:h}})({margin:t,marginX:u,marginY:r,marginTop:o,marginLeft:n,marginRight:i,marginBottom:a}),[t,u,r,o,n,i,a])},ur=ue(ut,uu),uo=t5(["flex","flexGrow","flexShrink","flexBasis","alignSelf","order"]),un=ue(uo,e=>e),ui=t5(["borderRadius","borderTopRadius","borderLeftRadius","borderRightRadius","borderBottomRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]),ua=ue(ui,e=>{let{borderRadius:t,borderTopRadius:u,borderLeftRadius:r,borderRightRadius:o,borderBottomRadius:n,borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:s}=e;return(0,h.useMemo)(()=>(e=>{let{borderRadius:t,borderTopRadius:u,borderLeftRadius:r,borderRightRadius:o,borderBottomRadius:n,borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:s}=e,c=t8(t),d=t9(i,r,u,c[0]),h=t9(a,o,u,c[1],c[0]),p=t9(l,r,n,c[3],c[1],c[0]),f=t9(s,o,n,c[3],c[1],c[0]);return{borderTopLeftRadius:d,borderTopRightRadius:h,borderBottomLeftRadius:p,borderBottomRightRadius:f}})({borderRadius:t,borderTopRadius:u,borderLeftRadius:r,borderRightRadius:o,borderBottomRadius:n,borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:s}),[t,u,r,o,n,i,a,l,s])});var ul={root:"abYXbSvUl",root_overlapLeft_hidden:"bbYXbSvUl",root_overlapLeft_auto:"cbYXbSvUl",root_overlapRight_hidden:"dbYXbSvUl",root_overlapRight_auto:"ebYXbSvUl",parentControl:"fbYXbSvUl",neighbourControl:"gbYXbSvUl",parentControl_checked:"hbYXbSvUl",root_size_xs:"ibYXbSvUl",root_overlapLeft_visible:"jbYXbSvUl",root_overlapRight_visible:"kbYXbSvUl",root_customActiveBorder:"lbYXbSvUl"};let us=e=>{let{background:t,borderColor:u,activeBorderColor:r,size:o,overlapLeft:n="none",overlapRight:i="none"}=e;return p().createElement("span",{style:{background:t,borderColor:u,"--active-border-color":r},className:C()({[ul.root]:!0,[ul["root_size_"+o]]:!0,[ul["root_overlapLeft_"+n]]:ul["root_overlapLeft_"+n],[ul["root_overlapRight_"+i]]:ul["root_overlapRight_"+i],[ul.root_customActiveBorder]:!!r})})};var uc={root:"abXjMgokm",root_size_l:"bbXjMgokm",root_size_m:"cbXjMgokm",root_size_s:"dbXjMgokm",root_size_xs:"ebXjMgokm"};let ud=["tagName","size"],uh=p().forwardRef((e,t)=>
1{let u=ur(e),r=un(u),o=ua(r),{tagName:n,size:i}=o,a=b(o,ud),l=C()(a.className,uc.root,uc["root_size_"+i]);return p().createElement(n,g({},a,{ref:t,className:l}))});var up="ab0abAJpl";let uf=["color","children"],um=e=>{let{color:t,children:u}=e,r=b(e,uf),o=uu(r);return p().createElement("span",{className:up,style:g({color:t},o)},u)};var ug="ab0cYqcWM";let ub=e=>{let{color:t,children:u}=e;return p().createElement("span",{className:ug,style:{color:t}},u)},uv=e=>{let t;return(t=e,"object"==typeof t)?e:{}},uA={l:8,m:6,s:4,xs:4},uE={l:12,m:8,s:6,xs:6},uD=e=>{let{wrap:t,stretch:u,separated:r,first:o,last:n,checked:i,focused:a,disabled:l,beforeChecked:s,beforeFocused:c,beforeDisabled:d,afterChecked:h,afterFocused:p,afterDisabled:f}=e,m={};return(!t&&u&&(m.flex=1),r)?(m.marginRight=t||!n?4:void 0,m.marginBottom=t?4:void 0):(o||(m.marginLeft=-1,m.borderLeftRadius=0,m.overlapLeft="auto",a?m.overlapLeft="visible":p?m.overlapLeft="hidden":i===h?l!==f&&(m.overlapLeft=l?"hidden":"visible"):m.overlapLeft=i?"visible":"auto"),n||(m.borderRightRadius=0,m.overlapRight="visible",a?m.overlapRight="visible":c?m.overlapRight="hidden":i===s?l!==d&&(m.overlapRight=l?"hidden":"visible"):m.overlapRight=i?"visible":"hidden")),m};var uC="abLye2JA2",uF="bbLye2JA2",uB="cbLye2JA2",uy="dbLye2JA2",u_="ebLye2JA2";let uw=()=>{},uk=(e,t)=>u=>{null==e||e(u,t)},ux=e=>{let{dataQaType:t="uikit/filterButton",dataQaData:u,id:r,name:o,value:n,checked:i,focused:a,disabled:l,tabIndex:s,onChange:c,onFocus:d,onBlur:h,size:f="m",theme:m="default",wide:g=!1,children:b,additionalContent:v,leftIcon:A,overlapLeft:E,overlapRight:D,inputAttrs:B,noindex:y=!1,role:_,href:w,target:k,title:x,rel:S,borderColor:T,activeBorderColor:O,onClick:P}=e,[M]=ut(e),[L]=uo(e),[R]=ui(e),z={name:o,value:n,checked:i},N=uk(h,z),I=uk(d,z),{focusVisible:j,onBlur:W,onFocus:$,onMouseDown:H}=t0({focused:a,onBlur:N,onFocus:I,onMouseDown:uw}),Y=w?{"data-focus-visible":j||void 0,id:r,href:w,target:k,title:x,rel:S,onClick:e=>{null==P||P(e,{id:r,name:o,value:n,disabled:l})},onBlur:W,onFocus:$,onMouseDown:H}:{},{color:q,background:Z}=uv(m),Q=uA[f],U=b?p().createElement(ub,{color:q},b):null,X=v?p().createElement(um,{color:q,marginLeft:U||A?Q:-Q,marginRight:-Q},v):null,K=A?p().createElement(um,{color:q,marginLeft:-Q,marginRight:U||v?Q:-Q},A):null,V=i?{"data-selected":!0}:{};return p().createElement(t3,{noindex:y},p().createElement(uh,Object.assign({tagName:w?"a":"label",size:f,role:_,className:C()({[uC]:!0,[uB]:l,[uF]:g,[ul.parentControl]:w,[ul.parentControl_checked]:w&&i})},M,L,R,F({dataQaType:t,dataQaData:u}),Y,V),w?null:p().createElement(t7,Object.assign({},B,{id:r,dataQaType:t+".input",type:"checkbox",className:C()(uy,ul.neighbourControl),name:o,value:n,checked:i,focused:a,disabled:l,tabIndex:s,onChange:c,onFocus:d,onBlur:h})),p().createElement(us,{background:Z,borderColor:T||q,activeBorderColor:O,overlapLeft:E,overlapRight:D,size:f}),K,U,X))},uS=(n=ux,e=>{let{getItemProps:t}=(()=>{let e=p().useContext(f);if(null===e)throw Error("Component must be inside CheckableGroupContext.Provider");return e})(),{value:u}=e;return p().createElement(n,g({},t(u),e))}),uT=e=>{var t,u;return t=e,u={iconSize:24},e=>p().createElement(th,Object.assign({},u,e,{svgCode:t,idRegExp:ts}))},uO=uT('<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" focusable="false"><path d="M6.586 8 3.293 4.707a1 1 0 0 1 1.414-1.414L8 6.586l3.293-3.293a1 1 0 1 1 1.414 1.414L9.414 8l3.293 3.293a1 1 0 0 1-1.414 1.414L8 9.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L6.586 8Z" fill="currentColor"/></svg>'),uP=uT('<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" focusable="false"><path d="M3.707 4.793a1 1 0 0 0-1.414 1.414l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 0 0-1.414-1.414L8 9.086 3.707 4.793Z" fill="currentColor"/></svg>');var uM="abHzLQXJZ",uL="bbHzLQXJZ",uR="cbHzLQXJZ";let uz=["theme","checked","focused","size","disabled","focusVisible","children","additionalContent","leftIcon","activeBorderColor","onClean","cleanable","opened","overlapLeft","overlapRight"],uN=(0,h.forwardRef)((e,t)=>{let[u,r]=ut(e),[o,n]=ui(r),i=g({},n,{ref:t}),a=t0(i),l=tJ(a),{theme:s,checked:c,size:d,disabled:h,focusVisible:f,children:m,additionalContent:v,leftIcon:A,activeBorderColor:E,onClean:D,cleanable:F=!0,opened:B,overlapLeft:y,overlapRight:_}=l,w=b(l,uz),{color:k,background:x}=uv(s),S=m?p().createElement(ub,{color:k},m):null,T=c&&!h&&F,O=uA[d],P=v?p().createElement(um,{color:k,marginLeft:S||A?O:-O,marginRight:0},v):null,M=p().createElement(um,{color:k,marginLeft:v?"l"===d?4:2:uE[d],marginRight:-O},T?p().createElement("span",{role:"button",onMouseDown:D,className:u_},p().createElement(uO,{iconSize:16})):p().createElement("span",{className:C()(uL,{[uR]:B})},p().createElement(uP,{iconSize:16}))),L=A?p().createElement(um,{color:k,marginLeft:-O,marginRight:O},A):null;return p().createElement(uh,Object.assign({tagName:"button",type:"button",className:C()({[uM]:!0,[ul.parentControl]:!0,[ul.parentControl_checked]:c}),"data-more-button":!0,"data-focus-visible":f||void 0,disabled:h,size:d},w,u,o),p().createElement(us,{background:x,borderColor:k,activeBorderColor:E,overlapLeft:y,overlapRight:_,size:d}),L,S,P,M)});var uI=e=>{var t,u,r,o,n,i,a;let l,{onFocus:s,onBlur:c,onChange:d,focused:f,name:m,value:g,option:b,index:v,options:A,tabIndex:E,size:D="m",theme:C,wrap:F,wide:B,separated:y,stretch:_,contextMenuAlign:w,focusTarget:k,setFocusTarget:x,isItemChecked:S,isItemDisabled:T,isItemFocused:O,getOptionId:P,closeOnSelect:M}
1=e,[L,R]=(0,h.useState)(!1),z=(0,h.useRef)(null),N=(0,h.useCallback)(()=>{R(e=>!e)},[]),I=(0,h.useCallback)(()=>{R(!1)},[]),j=(0,h.useCallback)(e=>{f&&(!e.relatedTarget||e.relatedTarget.name!==m)&&c(e,{name:m,value:g})},[c,f,m,g]),W=(0,h.useCallback)(e=>{x(b.value),f||s(e,{name:m,value:g})},[s,x,f,m,g,b.value]),{onClean:$,options:H,leftIcon:Y,additionalContent:q}=b,Z=(0,h.useCallback)(e=>{null==$||$(e);let t=Array.isArray(g)&&H?g.filter(e=>!H.map(e=>e.value).includes(e)):null;d(e,{name:m,value:t})},[$,d,m,H,g]),Q=0===v,U=v===A.length-1,X=!Q&&A[v-1],K=!U&&A[v+1],V=X&&(null!=(t=X.options)&&t.length?f&&k===X.value:O(X.value)),G=X&&(null!=(u=X.options)&&u.length?X.options.every(e=>T(e.value)):T(X.value)),J=X&&(null!=(r=X.options)&&r.length?X.options.some(e=>S(e.value)):S(X.value)),ee=K&&(null!=(o=K.options)&&o.length?f&&k===K.value:O(K.value)),et=K&&(null!=(n=K.options)&&n.length?K.options.every(e=>T(e.value)):T(K.value)),eu=K&&(null!=(i=K.options)&&i.length?K.options.some(e=>S(e.value)):S(K.value));if(null!=(a=b.options)&&a.length){let e=b.options.some(e=>S(e.value)),t=f&&k===b.value,u=b.options.every(e=>T(e.value));return l=uD({first:Q,last:U,wrap:F,separated:y,stretch:_,checked:e,focused:t,disabled:u,beforeChecked:eu,beforeFocused:ee,beforeDisabled:et,afterChecked:J,afterFocused:V,afterDisabled:G}),p().createElement(p().Fragment,null,p().createElement(tG,{items:b.options.map(e=>({title:e.content,tagName:"label",checked:S(e.value),attributes:{htmlFor:P(e)}})),opened:L,onClose:I,markable:!0,squareChecked:!M,smartDirection:!0,disabled:u,closeOnPopoverClick:M,align:w},p().createElement(uN,Object.assign({ref:z,size:D,theme:C,checked:e,focused:t,disabled:u,tabIndex:E,additionalContent:q,leftIcon:Y,opened:L,onFocus:W,onBlur:j,onClick:N,onClean:Z},l),b.content)),b.options.map(e=>p().createElement("div",{key:e.value,style:{display:"none"}},p().createElement(uS,Object.assign({size:D,theme:C,tabIndex:-1},e,{id:P(e)}),e.content))))}return l=uD({first:Q,last:U,wrap:F,separated:y,stretch:_,checked:S(b.value),focused:O(b.value),disabled:T(b.value),beforeChecked:eu,beforeFocused:ee,beforeDisabled:et,afterChecked:J,afterFocused:V,afterDisabled:G}),p().createElement(uS,Object.assign({key:b.value,size:D,theme:C,tabIndex:E,wide:B},l,b),b.content)},uj={root_aligned:"abQXBaCC9",inner:"bbQXBaCC9",root_align_right:"cbQXBaCC9",root_align_center:"dbQXBaCC9",root_wrap:"ebQXBaCC9",disabled:"fbQXBaCC9"};let uW=(u=m,o={dataQaType:"uikit/filter",closeOnSelect:!0},(0,h.forwardRef)((e,t)=>{let{dataQaType:r=o.dataQaType,dataQaData:n,name:i,value:a,focused:l,disabled:s,tabIndex:c,onChange:d,onFocus:f,onBlur:m,size:g="m",theme:b,role:v,align:A="left",separated:E=!0,wide:D=!1,options:B,contextMenuAlign:_}=e,[w,k]=(0,h.useState)("provider"),x=(0,h.useCallback)((e,t)=>{k("provider"),l||f(e,t)},[f,l]),S=(0,h.useCallback)((e,t)=>{var u;let r=e.relatedTarget;!l||r&&null!=r&&null!=(u=r.dataset)&&u.moreButton||m(e,t)},[m,l]),T=(0,h.useMemo)(()=>B.reduce((e,t)=>t.options?[...e,...t.options]:[...e,t],[]),[B]),O=(0,h.useCallback)(e=>{let t=e.target;"checkbox"===t.type&&(t.name===i||!i&&!t.name)&&T.some(e=>e.value===t.value)&&e.stopPropagation()},[i,T]),P=y(),M=e=>e.id||"filter-"+P+"-option-"+e.value,L=E&&!1!==e.wrap,R="stretch"===A,z=T.map(e=>e.value),N=T.filter(e=>e.disabled).map(e=>e.value);return p().createElement("div",Object.assign({ref:t,className:C()({[uj.root]:!0,[uj.root_wrap]:L,[uj.root_aligned]:!0,[uj["root_align_"+A]]:!!uj["root_align_"+A]}),onClick:O},F({dataQaType:r,dataQaData:n}),{"data-component-type":"platform-ui"}),p().createElement("div",{className:uj.inner,role:v},p().createElement(u,{name:i,value:a,disabled:s,itemsOrder:z,disabledItems:N,focused:l&&"provider"===w,onChange:d,onFocus:x,onBlur:S},e=>{let{isItemChecked:t,isItemDisabled:u,isItemFocused:r}=e;return B.map((e,n)=>p().createElement(uI,{key:e.value,option:e,index:n,theme:b,size:g,name:i,value:a,separated:E,focused:l,wrap:L,wide:D,stretch:R,contextMenuAlign:_,options:B,tabIndex:c,closeOnSelect:o.closeOnSelect,focusTarget:w,onBlur:m,onFocus:f,onChange:d,getOptionId:M,setFocusTarget:k,isItemFocused:r,isItemDisabled:u,isItemChecked:t}))})))})),u$=((e,t)=>{let{emptyValue:u}=t;return(0,h.forwardRef)((t,r)=>{let o=b(t,E),n=(0,h.useRef)(null),i=v([r,n]),a=g({},o,((e,t)=>{let{emptyValue:u,defaultValue:r=u,value:o,onChange:n,onClean:i}=e,[a,l]=(0,h.useState)(r);return{value:void 0!==o?o:a,onChange:(0,h.useCallback)((e,t)=>{l(t.value),null==n||n(e,t)},[n]),onClean:(e,u)=>{if((null==t?void 0:t.current)instanceof Element){var o,n,a,s;let e,u,i;o=t.current,n=r,e=null==(a=Object.getOwnPropertyDescriptor(o,"value"))?void 0:a.set,u=Object.getPrototypeOf(o
1),i=null==(s=Object.getOwnPropertyDescriptor(u,"value"))?void 0:s.set,e&&e!==i?null==i||i.call(o,n):null==e||e.call(o,n),t.current.dispatchEvent(new Event("input",{bubbles:!0}))}l(r),null==i||i(e,u)}}})(g({},t,{emptyValue:u}),n),A(t));return p().createElement(e,g({},a,{ref:i}))})})(uW,{emptyValue:null});var uH=c(744);c.n(uH)()(/^(?:[a-z]+:)?\/\//i);let uY=e=>{var t,u,r;let o,n,i,a,l;return t=e,void 0===u&&(u=window.location.href),r=new URL((e=>{if(e.length<2)return!1;for(let t=0;t<e.length;t++)switch(e[t]){case"?":return!0;case"/":break;default:return!1}return!0})(t)?t.replace(/^\/+/,"/"):t,u),o=Object.create(null),r.searchParams.forEach((e,t)=>{Object.prototype.hasOwnProperty.call(o,t)?Array.isArray(o[t])?o[t].push(e):o[t]=[o[t],e]:o[t]=e}),n=r.toString(),l={href:a=(i=r).pathname+i.search+i.hash,origin:r.origin,protocol:r.protocol,username:r.username,password:r.password,port:r.port,pathname:r.pathname,path:a,search:r.search,hash:r.hash,query:o},"localhost"!==r.host&&Object.assign(l,{href:r.href,host:r.host,hostname:r.hostname}),Object.defineProperty(l,"toString",{value:()=>n,enumerable:!1,configurable:!0,writable:!0}),l},uq="#EAECEE",uZ={black:"#333333",platinum:"#747B8F",premium:"#4972CF",allAirlines:"#27BEFF",insurance:"#D0F4F2",pro:"#AFF2
118",help:"#FFF8E4",eraInvest:"#F6F7F8",devrel:"#2C2733",private:uq,mobile:uq,travel:uq,junior:uq,allGames:uq},uQ={business:"#F1EEE8",devrel:"#17121E"};var uU=c(226);let uX=e=>(null==e?void 0:e.get(uU.p.appName))!==atob("cHdhdGlua29mZmdyb3Vw"),uK=new Set(["#f7f7f7","#f6f6f6","#f6f7f8","#f5f6f7","#f8f8f8","#f7f7fa","#f5f5f6","#fafafa","#f5f6f6","#fefefe","#f6f6f5","#f5f6f5","#f6f6f7","#f6f8fa"]);var uV=c(308);let uG=/linear-gradient/,uJ=/^rgb/,u0=/linear-gradient\(.+?,\s?(?:(#[\w\d]*)|rgb\((\d+),\s?(\d+),\s?(\d+)\))/,u1=/\((\d+),\s?(\d+),\s?(\d+)/,u2=(e,t,u)=>(0,uV.v2)({r:e,g:t,b:u}),u4={primary:{isAdaptive:!0},gray:{isAdaptive:!1,tuiAttribute:"light"},dark:{isAdaptive:!1,tuiAttribute:"dark"},white:{isAdaptive:!1,tuiAttribute:"light"},transparent:{isAdaptive:!1,tuiAttribute:void 0}},u7={primary:{isAdaptive:!0},secondary:{isAdaptive:!0},dark:{isAdaptive:!1,tuiAttribute:"dark"},white:{isAdaptive:!1,tuiAttribute:"light"},blue:{isAdaptive:!1,tuiAttribute:"light"},shadowPanel:{isAdaptive:!1,tuiAttribute:"light"}};function u6(e){if(!e||"transparent"===e)return;let t=(e=>{let t,u;if(""===e||(0,uV.fd)(e))return e;if(t=e,uJ.test(t)){let t=u1.exec(e);if(t)return u2(Number(t[1]),Number(t[2]),Number(t[3]))||""}if(u=e,uG.test(u)){let t=u0.exec(e);if(t)return void 0!==t[2]?u2(Number(t[2]),Number(t[3]),Number(t[4])):t[1]}return""})(e);return"#fff"===(0,uV.Ql)(t)?"dark":"light"}function u3(e,t){let{blockColor:u,panelColor:r}=e,o=null!=u?u:r,n=!!u,i=n?uQ:uZ;if(!o)return;if("custom"===o.style)return u6(o.color);if("product"===o.style){var a;let e=i[null!=(a=o.product)?a:""];return u6(e)}let l=(n?u4:u7)[o.style];return null!=l&&l.isAdaptive?null!=t?t:"light":null==l?void 0:l.tuiAttribute}var u5="abq9ehkBv",u8="bbq9ehkBv",u9="cbq9ehkBv",re="dbq9ehkBv",rt=c(15).createElement;function ru(e){var t,u;let r,{children:o,paddingOffV:n,background:i,forwardDomRef:a,dataTest:l,role:c,disableMinWidth:d,ariaLabel:p,ariaLabelledById:f,dataComponentType:m="blocks-atom",di:g,colorScheme:b,useNewBackgroundColor:v}=e,A=!(null!=g&&g.get(uU.p.appName));if(!(o&&h.Children.count(o)))return null;let E=v?(e=>{let{blockColor:t,overrides:u}=e,{style:r,product:o,color:n}=t,i="#ffffff";return s()({primary:i,custom:n||void 0,transparent:"transparent",dark:"#202020",gray:"#f6f7f8",product:o?uQ[o]:i},u)[r]})({blockColor:i}):(e=>{let{blockColor:t,overrides:u,di:r,ignoreWhiteBgToggle:o}=e,{style:n,product:i,color:a}=t,l="#f6f7f8",c=n;return!o&&uX(r)&&(l="#ffffff",c=(e=>{let t,u,{style:r,color:o}=e;return(t=r,u=o,"primary"===t||"custom"===t&&void 0!==u&&uK.has(u.toLowerCase()))?"primary":r})(t)),s()({primary:l,custom:a||void 0,white:"#ffffff",transparent:"transparent",dark:"#202020",gray:"#f6f7f8",product:i?uQ[i]:l},u)[c]})({blockColor:i,di:g}),D=(t={blockColor:i},u=b,r=(e=>{let[t,u]=(0,h.useState)(null==e?void 0:e.get());return(0,h.useEffect)(()=>e?(u(e.get()),e.watch(e=>{u(e)})):void u(void 0),[e]),t})(u),u3(t,r));return rt("div",{ref:e=>{e&&("function"==typeof a&&a(e),e.dataset.test="atom-container".concat(l?""+l:""))},style:{background:E},role:c,"aria-label":p,"aria-labelledby":f,"data-component-type":m,"data-white-bg":uX(g),"data-tui-theme":D},rt("div",{"data-atom-type":"desktop-container",className:C()(u5,{[u8]:n,[re]:A,[u9]:d})},o))}ru.displayName="AtomDesktopContainerNew";var rr=c(18),ro="abc1oYGZZ",rn=c(15).createElement;function ri(e){let{text:t,children:u,dispatch:r}=e;if(!(null!=t&&t.includes("currentRegion")))return rn(p().Fragment,null,u);let o=(e,t)=>{"currentRegion"===t.getAttribute("data-type")&&r&&(e.preventDefault(),r({type:"showRegionPopup"}))};return rn("div",{className:ro,onClick:e=>{let t=e.target;t.blur(),o(e,t)},onKeyDown:e=>{let{key:t,target:u}=e;("Enter"===t||" "===t)&&o(e,u)},"data-test":"region-wrapper","data-component-type":"blocks-atom"},u)}ri.displayName="AtomOpenRegionPopup";var ra="abuPj6Rq0",rl=c(15).createElement;let rs=e=>{let{children:t}=e;return rl("div",{className:ra},t)};rs.displayName="AtomRebrandingHighlighter";let rc={h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,b:!0,div:!0,strong:!0,span:!0},rd=["primary","white","dark","gray"],rh=["primary","secondary","dark","blue","white"],rp=["mobile","travel","allGames","junior","private","black","insurance","help","eraInvest"],rf=["business"],rm=function(e,t){var u,r;void 0===t&&(t=!1);let o=u3(e),n=t&&((null==(u=e.blockColor)?void 0:u.style)==="custom"||(null==(r=e.panelColor)?void 0:r.style)==="custom");return(e=>{var t,u,r,o;let{panelColor:n,blockColor:i}=e;return!!(rd.includes(null!=(t=null==i?void 0:i.style)?t:"")||rh.includes(null!=(u=null==n?void 0:n.style)?u:""))||((null==i?void 0:i.style)==="product"?rf.includes(null!=(r=i.product)?r:""):(null==n?void 0:n.style)==="product"&&rp.includes(null!=(o=n.product)?o:""))})(e)||n||!o?{appearance:"default"}:{appearance:"primary",underline:!t}};var rg=c(605),rb=c.n(rg),rv=c(962),rA=c.n(rv);let rE=(e,t,u)=>{let r=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return rA()(RegExp(r,"g"),t,u)},rD=e=>t=>{let{textingsByOffer:u}=t.currentProduct;if(!t.isRecommendation){var r;return rb()(e,null!=(r=null==u?void 0:u.noOffer)?r:{})}let o=function(e){if(!(null!=e&&e.textingsByOffer))return null;let{partnerId:t,textingsByOffer:u}=e;if(!t)return u.noOffer;let r=u.customTitles.find(e=>e.offers.includes(t));
1return r?{desktop:r.desktop,mobile:r.mobile}:u.defaultTitle}(t.currentProduct);return rb()(e,o)},rC={conditionsLinkTitle:e=>{let{currentProduct:t}=e;return t.conditionsLinkTitle},desktopBonusTitle:rD(["desktop","bonusTitle"]),desktopBonusSubtitle:rD(["desktop","bonusSubtitle"]),mobileBonusTitle:rD(["mobile","bonusTitle"]),mobileBonusSubtitle:rD(["mobile","bonusSubtitle"]),desktopBenefitTitle:rD(["desktop","benefitTitle"]),desktopBenefitSubtitle:rD(["desktop","benefitSubtitle"]),mobileBenefitTitle:rD(["mobile","benefitTitle"]),mobileBenefitSubtitle:rD(["mobile","benefitSubtitle"])},rF=[["Т-Блог","Блог\xa0Т‑Банка"],["Т-Блога","Блога\xa0Т‑Банка"],["Т-Блогу","Блогу\xa0Т‑Банка"],["Т-Блогом","Блогом\xa0Т‑Банка"],["Т-Блоге","Блоге\xa0Т‑Банка"],["Т-Эфир","Смарт‑эфир"],["Т-Эфира","Смарт‑эфира"],["Т-Эфиру","Смарт‑эфиру"],["Т-Эфиром","Смарт‑эфиром"],["Т-Эфире","Смарт‑эфире"],["Т-Биткоин","Смарт‑биткоин"],["Т-Биткоина","Смарт‑биткоина"],["Т-Биткоину","Смарт‑биткоину"],["Т-Биткоином","Смарт‑биткоином"],["Т-Биткоине","Смарт‑биткоине"],["Т-Гранты","Гранты\xa0от\xa0Т‑Банка"],["Т-Грантов","Грантов\xa0от\xa0Т‑Банка"],["Т-Грантам","Грантам\xa0от\xa0Т‑Банка"],["Т-Грантами","Грантами\xa0от\xa0Т‑Банка"],["Т-Грантах","Грантах\xa0от\xa0Т‑Банка"],["Т-Игры","Игры\xa0в\xa0Т‑Банке"],["Т-Игр","Игр\xa0в\xa0Т‑Банке"],["Т-Играм","Играм\xa0в\xa0Т‑Банке"],["Т-Играми","Играми\xa0в\xa0Т‑Банке"],["Т-Играх","Играх\xa0в\xa0Т‑Банке"],["T-Games","Games\xa0on\xa0T‑Bank"],["Т-Помощь","Помощь\xa0Т‑Банка"],["Т-Помощи","Помощи\xa0Т‑Банка"],["Т-Помощью","Помощью\xa0Т‑Банка"],["Т-Рассрочка","Рассрочка\xa0в\xa0Т‑Банке"],["Т-Рассрочки","Рассрочки\xa0в\xa0Т‑Банке"],["Т-Рассрочке","Рассрочке\xa0в\xa0Т‑Банке"],["Т-Рассрочку","Рассрочку\xa0в\xa0Т‑Банке"],["Т-Рассрочкой","Рассрочкой\xa0в\xa0Т‑Банке"],["Т-Возврат","Сервис возврата от Т‑Банка"],["Т-Возврата","Сервиса возврата от Т‑Банка"],["Т-Возврату","Сервису возврата от Т‑Банка"],["Т-Возвратом","Сервисом возврата от Т‑Банка"],["Т-Возврате","Сервисе возврата от Т‑Банка"],["Т-Промокоды","Сервис промокодов от Т‑Банка"],["Т-Промокодов","Сервиса промокодов от Т‑Банка"],["Т-Промокодам","Сервису промокодов от Т‑Банка"],["Т-Промокодами","Сервисом промокодов от Т‑Банка"],["Т-Промокодах","Сервисе промокодов от Т‑Банка"],["Т-Шопинг","Шопинг"],["Т-Шопинга","Шопинга"],["Т-Шопингу","Шопингу"],["Т-Шопингом","Шопингом"],["Т-Шопинге","Шопинге"],["Т-Шоп","Т‑Банк\xa0Шоп"],["T-Shop","T‑Bank\xa0Shop"],["T-Premium","T‑Bank\xa0Premium"],["T-Private","T‑Bank\xa0Private"],["Условия маркетинговой акции \xabСервисы Pro, Premium и Private","Условия маркетинговой акции \xabСервисы Pro, T‑Bank\xa0Premium и T‑Bank\xa0Private"],["лимиты с Pro и Premium","лимиты с T‑Bank\xa0Pro и T‑Bank\xa0Premium"],["Т-Авто","Т‑Банк\xa0Авто"],["Т-Афиша","Т‑Банк\xa0Афиша"],["Т-Афиши","Т‑Банк\xa0Афиши"],["Т-Афише","Т‑Банк\xa0Афише"],["Т-Афишу","Т‑Банк\xa0Афишу"],["Т-Афишей","Т‑Банк\xa0Афишей"],["Т-Бизнес","Т‑Банк\xa0Бизнес"],["Т-Бизнеса","Т‑Банк\xa0Бизнеса"],["Т-Бизнесу","Т‑Банк\xa0Бизнесу"],["Т-Бизнесом","Т‑Банк\xa0Бизнесом"],["Т-Бизнесе","Т‑Банк\xa0Бизнесе"],["Чеки от Т-Бизнеса","Чеки\xa0Т‑Банк\xa0Бизнеса"],["Чеки Т-Бизнеса","Чеки\xa0Т‑Банк\xa0Бизнеса"],["Чеков Т-Бизнеса","Чеков\xa0Т‑Банк\xa0Бизнеса"],["Чекам Т-Бизнеса","Чекам\xa0Т‑Банк\xa0Бизнеса"],["Чеками Т-Бизнеса","Чеками\xa0Т‑Банк\xa0Бизнеса"],["Чеках Т-Бизнеса","Чеках\xa0Т‑Банк\xa0Бизнеса"],["Т-Венчур","Т‑Банк\xa0Венчур"],["Т-Венчура","Т‑Банк\xa0Венчура"],["Т-Венчуру","Т‑Банк\xa0Венчуру"],["Т-Венчуром","Т‑Банк\xa0Венчуром"],["Т-Венчуре","Т‑Банк\xa0Венчуре"],["Т-Инвестиции","Т‑Банк\xa0Инвестиции"],["Т-Инвестиций","Т‑Банк\xa0Инвестиций"],["Т-Инвестициям","Т‑Банк\xa0Инвестициям"],["Т-Инвестициями","Т‑Банк\xa0Инвестициями"],["Т-Инвестициях","Т‑Банк\xa0Инвестициях"],["Т-Мобайл","Т‑Банк\xa0Мобайл"],["Т-Мобайла","Т‑Банк\xa0Мобайла"],["Т-Мобайлу","Т‑Банк\xa0Мобайлу"],["Т-Мобайлом","Т‑Банк\xa0Мобайлом"],["Т-Мобайле","Т‑Банк\xa0Мобайле"],["Т-Путешествия","Т‑Банк\xa0Путешествия"],["Т-Путешествий","Т‑Банк\xa0Путешествий"],["Т-Путешествиям","Т‑Банк\xa0Путешествиям"],["Т-Путешествиями","Т‑Банк\xa0Путешествиями"],["Т-Путешествиях","Т‑Банк\xa0Путешествиях"],["Т-Реклама","Т‑Банк\xa0Реклама"],["Т-Рекламы","Т‑Банк\xa0Рекламы"],["Т-Рекламе","Т‑Банк\xa0Рекламе"],["Т-Рекламу","Т‑Банк\xa0Рекламу"],["Т-Рекламой","Т‑Банк\xa0Рекламой"],["Т-Сделка","Т‑Банк\xa0Сделка"],["Т-Сделки","Т‑Банк\xa0Сделки"],["Т-Сделке","Т‑Банк\xa0Сделке"],["Т-Сделку","Т‑Банк\xa0Сделку"],["Т-Сделкой","Т‑Банк\xa0Сделкой"],["Т-Страхование","Т‑Банк\xa0Страхование"],["Т-Страхования","Т‑Банк\xa0Страхования"],["Т-Страхованию","Т‑Банк\xa0Страхованию"],["Т-Страхованием","Т‑Банк\xa0Страхованием"],["Т-Страховании","Т‑Банк\xa0Страховании"],["Т-Био","Биометрия\xa0в\xa0Т‑Банке"],["T-ID","T‑Bank\xa0ID"],["T-Pay","T‑Bank\xa0Pay"],["T-Data","T‑Bank\xa0Data"],["T-Analytics","T‑Bank\xa0Analytics"],["T-Help","Help center of\xa0T‑Bank"],["T-Auto","T‑Bank\xa0Auto"],["T-Deal","T‑Bank\xa0Deal"],["T-Travel","T‑Bank\xa0Travel"],["T-Mobile","T‑Bank\xa0Mobile"],["T-Investments","T‑Bank\xa0Investment"],["T-Business Receipts","Receipts by\xa0T‑Bank\xa0Business"]],rB={"${tbrands.ipo}":"IPO","${tbrands.myT}":"MyT","${tbrands.pay}":"T‑Pay","${tbrands.pro}":"Pro","${tbrands.tId}":"T‑ID","${tbrands.blog}":"Т‑Блог","${tbrands.help}":"Т‑Помощ","${tbrands.shop}":"T‑Shop","${tbrands.team}":"T‑Team","${tbrands.xCom}":"@tbank_ru","${tbrands.black}":"Black","${tbrands.drive}":"Drive","${tbrands.glory}":"Glory","${tbrands.gorod}":"Город","${tbrands.kassa}":"Т‑Касс","${tbrands.pulse}":"Пульс","${tbrands.space}":"T‑Space","${tbrands.tCafe}":"Т‑Кафе","${tbrands.bundle}":"T‑Bundle","${tbrands.invest}":"Т‑Инвестици","${tbrands.junior}":"Джуниор","${tbrands.lukoil}":"ЛУКОЙЛ — Т‑Банк","${tbrands.mobile}":"Т‑Мобайл","${tbrands.school}":"Т‑Класс","${tbrands.seller}":"Селлер","${tbrands.signal}":"Сигнал","${tbrands.travel}":"Путешестви","${tbrands.wallet}":"Wallet","${tbrands.experts}":"Эксперт","${tbrands.leasing}":"Лизинг","${tbrands.nameEng}":"T‑Bank","${tbrands.openApi}":"T‑API","${tbrands.premium}":"Premium","${tbrands.private}":"Private","${tbrands.tHeight}":"Т‑Рост","${tbrands.allGames}":"All Games","${tbrands.bankName}":"Т‑Банк","${tbrands.business}":"Т‑Бизнес","${tbrands.checkout}":"Корзин","${tbrands.acquiring}":"Эквайринг","${tbrands.assistant}":"Секретарь","${tbrands.concierge}":"Prime Concierge","${tbrands.ecommerce}":"eCommerce","${tbrands.education}":"Т‑Образовани","${tbrands.insurance}":"Т‑Страховани","${tbrands.accounting}":"Бухгалтери","${tbrands.bankDative}":"Т‑Банку","${tbrands.investDemo}
1":"Invest Demo","${tbrands.s7Airlines}":"S7 — T‑Bank","${tbrands.allAirlines}":"All Airlines","${tbrands.platinumEng}":"Platinum","${tbrands.platinumRus}":"Платинум","${tbrands.bankGenitive}":"Т‑Банка","${tbrands.shortNameEng}":"T‑Bank","${tbrands.shortNameRus}":"Т‑Банк","${tbrands.journalDative}":"Т—Ж","${tbrands.accountingFull}":"Онлайн-бухгалтерия","${tbrands.bankNominative}":"Т‑Банк","${tbrands.fuelNominative}":"Топливо","${tbrands.helpNominative}":"Т‑Помощь","${tbrands.privateBanking}":"T‑Bank Private banking","${tbrands.InvestRelations}":"Investor Relations","${tbrands.journalGenitive}":"Т—Ж","${tbrands.afishaNominative}":"Афиша","${tbrands.bankInstrumental}":"Т‑Банком","${tbrands.bankNameGenetive}":"Т‑Банка","${tbrands.careerNominative}":"Т‑Банк","${tbrands.bankPrepositional}":"Т‑Банке","${tbrands.groceryNominative}":"Продукты","${tbrands.journalNominative}":"Т—Ж","${tbrands.journalInstrumental}":"Т—Ж","${tbrands.accountingNominative}":"Бухгалтерия","${tbrands.journalPrepositional}":"Т—Ж"};function ry(e){return e.replace(/[\u2011\u2013\u2014\u2212]/g,"-").replace(/\u00A0/g," ")}let r_=new Set(rF.map(e=>{let[t]=e;return ry(t).toLowerCase()})),rw=new Set(["приложение","приложения","приложению","приложением","приложении","приложений","приложениям","приложениями","приложениях","связь","связи","связью","связей","связям","связями","связях","платформа","платформы","платформе","платформу","платформой","платформам","платформами","платформах","сервис","сервиса","сервису","сервисом","сервисе","сервисы","сервисов","сервисам","сервисами","сервисах","продвижения бизнеса"]),rk=Math.max(...Array.from(rw,e=>e.split(" ").length)),rx=new Set(["или","и","сервис","сервиса","сервису","сервисом","сервисе","сервисы","сервисов","сервисам","сервисами","сервисах","подключите","подключи","подключить","подключим"]),rS="(?:[\\s\xa0]|&nbsp;|__HTML_TAG_\\d+__|__URL_MASK_\\d+__)+",rT=RegExp("(^|[^\\p{L}\\p{N}])("+Array.from(rx).sort((e,t)=>t.length-e.length).join("|")+")("+rS+")(Premium|Private)(?![\\p{L}\\p{N}])","giu"),rO=RegExp(",("+rS+")(Premium|Private)(?![\\p{L}\\p{N}])","giu"),rP=new Set(["pro","premium","private"]),rM=/^(\s*)(Premium|Private)(\s*)$/i,rL=["Т-Бизнес Секрет"],rR=["о","об","обо","с","со","к","ко","в","во","на","и","для","от","по","под","над","между","через"],rz="-\\u2011\\u2013\\u2014\\u2212",rN=["Т-Шоп","T-Shop","Т-Био","Т-Блог","T-Analytics","Т-Эфир","Т-Биткоин","Т-Грант","Т-Игр","Т-Помощ","Т-Рассроч","Т-Возврат","Т-Промокод","Т-Шопинг","T-Games","T-Help"];function rI(e){return+!rN.some(t=>e.startsWith(t))}function rj(e){return[...e].sort((e,t)=>t[0].length-e[0].length).map(e=>{let[t,u]=e,r=function(e){let t="";for(let u=0;u<e.length;u++){let r=e[u];"-"===r?t+="["+rz+"]":/[.*+?^${}()|[\]\\]/.test(r)?t+="\\"+r:t+=r}return t}(t),o=rR.join("|");return{regex:RegExp("(?<space1>\\s*)(?<prep>"+o+")(?<space2>\\s+)(?<brandWithPrep>"+r+")|(?<space3>\\s*)(?<brandWithoutPrep>"+r+")","gi"),newValue:u}})}let rW=rj(rF.filter(e=>{let[t]=e;return 0===rI(t)})),r$=rj(rF.filter(e=>{let[t]=e;return 1===rI(t)})),rH=rj([...rF]),rY=/\$\{tbrands\.[A-Za-z]+\}|[TТ](?:[-\u2011\u2013\u2014\u2212]|&#(?:8209|x2011);)|[Чч]еки?[ \u00A0\u2011\u2013\u2014\u2212Т]|[Бб]иометрия.*[TТ]-|\b(Pro|Premium|Private)\b/i,rq=/\b(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)|\/[-a-zA-Z0-9@:%._\+~#=\/?&]*[a-zA-Z0-9\/?&]/gi,rZ=/(<[^>]+>)/g;function rQ(e){let t="";for(let u=0;u<e.length;u++){let r=e[u];"-"===r?t+="["+rz+"]":" "===r?t+="(?:\\s+|&nbsp;|<[^>]+>)+":/[.*+?^${}()|[\]\\]/.test(r)?t+="\\"+r:t+=r}return t}function rU(e,t,u){let r=new Map,o=0;return{maskedText:e.replace(t,e=>{let t="__"+u+"_"+ ++o+"__";return r.set(t,e),t}),maskMap:r}}function rX(e,t){let u=e;return t.forEach((e,t)=>{u=u.replace(t,e)}),u}function rK(e){let t=e.replace(/__HTML_TAG_\d+__/g,"").replace(/__URL_MASK_\d+__/g,"").replace(/&nbsp;/g," ").replace(/&#8209;|&#x2011;/gi,"-").replace(/[«»„“"']/g,"");return ry(t).toLowerCase().trim()}let rV=/[а-яА-Яa-zA-Z-]/,rG=/[а-яА-Яa-zA-Z]/,rJ=(e,t)=>
1{var u,r,o,n,i;let a,l;if(null==e||""===e||"string"!=typeof e)return"";let s=void 0===t||0===t.length||t.includes(0),c=void 0===t||0===t.length||t.includes(1),d=(u=s,r=c,u&&r?rH:u?rW:r?r$:[]);if(!rY.test(e))return e;if((a=e.trim()).startsWith("{")||a.startsWith("["))try{let u,r=JSON.parse(e),o=function e(t,u){if("string"==typeof t)return u(t);if(Array.isArray(t))return t.map(t=>e(t,u));if(null!==t&&"object"==typeof t){let r={};for(let o of Object.keys(t))r[o]=e(t[o],u);return r}return t}(r,e=>rJ(e,t)),n=(u=e.match(/\n( +)/))?u[1].length:0;return n>0?JSON.stringify(o,null,n):JSON.stringify(o)}catch(e){}let h=function(e){if(!e.includes("${tbrands."))return e;let t=e;for(let[e,u]of Object.entries(rB))t=t.split(e).join(u);return t}(e),{maskedText:p,maskMap:f}=(o=h,l=RegExp(rL.map(rQ).join("|"),"gi"),rU(o,l,"PROTECTED")),{maskedText:m,maskMap:g}=(n=p,rU(n,rZ,"HTML_TAG")),{maskedText:b,maskMap:v}=(i=m,rU(i,rq,"URL_MASK"));h=b;let{maskedText:A,quoteMap:E}=function(e){let t,u=new Map,r=0,o=/(«[^»]*?»)|(„[^“]*?“)|("[^"]*?")/g,n=[];for(;null!==(t=o.exec(e));)n.push(t[0]);let i=e;for(let e=n.length-1;e>=0;e--){let t=n[e],o=t.slice(1,-1),a=i.lastIndexOf(t);if(function(e){let t=(e.match(/«|„|"/g)||[]).length,u=(e.match(/»|“|"/g)||[]).length;return t!==u}(t)){let e=function(e){let t=["\xab","„",'"'];for(let u=e.length-1;u>0;u--)if(t.includes(e[u]))return e.slice(u);return null}(t);if(null!==e&&r_.has(rK(e))){let t="__QUOTE_MASK_"+ ++r+"__";if(u.set(t,e),-1!==a){let u=i.indexOf(e,a);-1!==u&&(i=i.slice(0,u)+t+i.slice(u+e.length))}}continue}if(!r_.has(rK(o)))continue;if(-1!==a){let e=function(e,t,u){let r=[],o=t-1;for(;r.length<u&&o>=0;){for(;o>=0&&/\s|[\u00A0«»,.!?;:]/.test(e[o]);)o--;let t="";for(;o>=0&&/[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CF
1D\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10107}-\u{10133}\u{10140}-\u{10178}\u{1018A}\u{1018B}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E1}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{103D1}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10858}-\u{10876}\u{10879}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A60}-\u{10A7E}\u{10A80}-\u{10A9F}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10AEB}-\u{10AEF}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10D40}-\u{10D65}\u{10D6F}-\u{10D85}\u{10E60}-\u{10E7E}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC4}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F54}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FCB}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11052}-\u{1106F}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{11136}-\u{1113F}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111D0}-\u{111DA}\u{111DC}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{112F0}-\u{112F9}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}\u{113D1}\u{113D3}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{11450}-\u{11459}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116B8}\u{116C0}-\u{116C9}\u{116D0}-\u{116E3}\u{11700}-\u{1171A}\u{11730}-\u{1173B}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118F2}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{11950}-\u{11959}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}
1\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11BC0}-\u{11BE0}\u{11BF0}-\u{11BF9}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C50}-\u{11C6C}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11F50}-\u{11F59}\u{11FB0}\u{11FC0}-\u{11FD4}\u{12000}-\u{12399}\u{12400}-\u{1246E}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{16130}-\u{16139}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A70}-\u{16ABE}\u{16AC0}-\u{16AC9}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16D70}-\u{16D79}\u{16E40}-\u{16E96}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18CFF}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1CCF0}-\u{1CCF9}\u{1D2C0}-\u{1D2D3}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D7FF}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1E4D0}-\u{1E4EB}\u{1E4F0}-\u{1E4F9}\u{1E5D0}-\u{1E5ED}\u{1E5F0}-\u{1E5FA}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1EC71}-\u{1ECAB}\u{1ECAD}-\u{1ECAF}\u{1ECB1}-\u{1ECB4}\u{1ED01}-\u{1ED2D}\u{1ED2F}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}
1\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10C}\u{1FBF0}-\u{1FBF9}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]/u.test(e[o]);)t=e[o]+t,o--;if(t)r.unshift(t.toLowerCase());else break}return r.join(" ")}(i,a,rk);if([...rw].some(t=>t===e||e.endsWith(" "+t)))continue}let l="__QUOTE_MASK_"+ ++r+"__";u.set(l,t),-1!==a&&(i=i.slice(0,a)+l+i.slice(a+t.length))}return{maskedText:i,quoteMap:u}}(h),D=(h=A).replace(/&#8209;|&#x2011;/gi,"-"),C=function(e,t){let u=e;for(let{regex:e,newValue:r}of t)u=u.replace(e,function(e){for(var t,u,o,n,i,a,l,s,c=arguments.length,d=Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];let p=d[d.length-3],f=d[d.length-2],m=d[d.length-1],g=void 0!==m.brandWithPrep,b=g?m.brandWithPrep:m.brandWithoutPrep;if(!b)return e;let v=g?null!=(o=m.space1)?o:"":null!=(n=m.space3)?n:"",A=p+v.length+(g?m.prep.length+(null!=(i=m.space2)?i:"").length:0);if(!function(e,t,u){let r=t>0?e[t-1]:"",o=t+u<e.length?e[t+u]:"";return!(r&&rV.test(r)||o&&rG.test(o))}(f,A,b.length))return e;let E=(t=b,u=r,0!==u.length&&t[0]&&/[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u01
178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C89\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7CB\uA7CC\uA7D0\uA7D6\uA7D8\uA7DA\uA7DC\uA7F5\uFF21-\uFF3A\u{10400}-\u{10427}\u{104B0}-\u{104D3}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10C80}-\u{10CB2}\u{10D50}-\u{10D65}\u{118A0}-\u{118BF}\u{16E40}-\u{16E5F}\u{1D400}-\u{1D419}\u{1D434}-\u{1D44D}\u{1D468}-\u{1D481}\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B5}\u{1D4D0}-\u{1D4E9}\u{1D504}\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D538}\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D56C}-\u{1D585}\u{1D5A0}-\u{1D5B9}\u{1D5D4}-\u{1D5ED}\u{1D608}-\u{1D621}\u{1D63C}-\u{1D655}\u{1D670}-\u{1D689}\u{1D6A8}-\u{1D6C0}\u{1D6E2}-\u{1D6FA}\u{1D71C}-\u{1D734}\u{1D756}-\u{1D76E}\u{1D790}-\u{1D7A8}\u{1D7CA}\u{1E900}-\u{1E921}]/u.test(t[0])&&/[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01D
1D\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1C8A\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7CD\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7DB\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A\u{10428}-\u{1044F}\u{104D8}-\u{104FB}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10CC0}-\u{10CF2}\u{10D70}-\u{10D85}\u{118C0}-\u{118DF}\u{16E60}-\u{16E7F}\u{1D41A}-\u{1D433}\u{1D44E}-\u{1D454}\u{1D456}-\u{1D467}\u{1D482}-\u{1D49B}\u{1D4B6}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D4CF}\u{1D4EA}-\u{1D503}\u{1D51E}-\u{1D537}\u{1D552}-\u{1D56B}\u{1D586}-\u{1D59F}\u{1D5BA}-\u{1D5D3}\u{1D5EE}-\u{1D607}\u{1D622}-\u{1D63B}\u{1D656}-\u{1D66F}\u{1D68A}-\u{1D6A5}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6E1}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D71B}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D755}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D78F}
1\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7C9}\u{1D7CB}\u{1DF00}-\u{1DF09}\u{1DF0B}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E922}-\u{1E943}]/u.test(u[0])?u[0].toUpperCase()+u.slice(1):u);return g?""+(null!=(l=m.space1)?l:"")+m.prep+(null!=(s=m.space2)?s:"")+E:""+(null!=(a=m.space3)?a:"")+E});return u}(D,d),F=c?function(e){let t=e.match(rM);if(t){let e="premium"===t[2].toLowerCase()?"Premium":"Private";return t[1]+"T‑Bank\xa0"+e+t[3]}let u=e.replace(rT,function(){for(var e=arguments.length,t=Array(e),u=0;u<e;u++)t[u]=arguments[u];let[,r,o,n,i]=t,a="premium"===i.toLowerCase()?"Premium":"Private";return""+r+o+n+"T‑Bank\xa0"+a});return u=u.replace(rO,(e,t,r,o)=>{if(!function(e){let t=e.length;for(;t>0;){let u=e.slice(0,t).replace(/\s+$/,"");if(u.length!==t){t=u.length;continue}let r=e.slice(0,t).match(/(__HTML_TAG_\d+__|__URL_MASK_\d+__)$/);if(r){t-=r[0].length;continue}break}let u=e.slice(0,t).match(/([A-Za-z]+)$/);return null!==u&&rP.has(u[1].toLowerCase())}(u.slice(0,o)))return e;let n="premium"===r.toLowerCase()?"Premium":"Private";return","+t+"T‑Bank\xa0"+n})}(C):C,B=rX(F,f);return B=rX(B,E),B=rX(B,v),B=rX(B,g)},r0=/%\{currentRegion}/g;var r1={box:"ab5wQon7u",size_50:"bb5wQon7u",size_44:"cb5wQon7u",size_36:"db5wQon7u",size_28:"eb5wQon7u",size_24:"fb5wQon7u",size_20:"gb5wQon7u",size_19:"hb5wQon7u",size_19Bold:"ib5wQon7u",size_17:"jb5wQon7u",size_17Bold:"kb5wQon7u",size_17ui:"lb5wQon7u",size_15:"mb5wQon7u",size_15Bold:"nb5wQon7u",size_15ui:"ob5wQon7u",size_13:"pb5wQon7u",size_13Bold:"qb5wQon7u",size_13ui:"rb5wQon7u",size_11:"sb5wQon7u",align_left:"tb5wQon7u",align_center:"ub5wQon7u",color_textPrimary:"vb5wQon7u",color_textSecondary:"wb5wQon7u",color_custom:"xb5wQon7u",grayLink:"yb5wQon7u"},r2="ab7D6yst2",r4=c(15).createElement;function r7(e){var t,u,r,o,n;let i,{id:a,text:{text:l,htmlTag:s},dataTest:c="",schemaPath:d,size:h,align:f,color:m="textPrimary",panelColor:g,blockColor:b,di:v,dispatch:A,eventea:E}=e,D=(u=l,r=v,u?(n=r,(i=null==n?void 0:n.get(uU.p.featureToggle))&&i["boxy/isRebranding2026Active"])?rJ(u,o):u:""),F=D===l?p().Fragment:rs,B=(t=s)&&rc[t]?t:"div",y=rm({panelColor:g,blockColor:b}),_="default"!==y.appearance;return r4(ri,{text:D,dispatch:A},r4(F,null,r4(B,{className:C()(r1.box,r2,{[r1["size_"+h]]:!!h,[r1["align_"+f]]:!!f,[r1.grayLink]:_,[r1["color_"+m]]:!!m}),ref:e=>{if(!e)return;let t="htmlTag";e.dataset.test=c?t+" "+c:t,d&&(e.dataset.schemaPath=""+d),a&&(e.id=a)},dangerouslySetInnerHTML:{__html:((e,t,u)=>{var r;let o;if(!t)return e;let n=null==t?void 0:t.get(uU.p.currentRegion),i=(r=n,((o=(null==r?void 0:r.namePrepositional)||(null==r?void 0:r.name))?'<a data-type="currentRegion" tabindex="0" role="button">'+o+"</a>":"")||"");return e.includes("currentRegion")&&""===i&&(null==u||u.sendOnce({project:"boxy",event:"current-region-missed",payload:{type:"dival.currentRegion: "+JSON.stringify(n)}})),e.replace(r0,i)})(((e,t)=>{var u,r,o;let n,i,a,l;if(!e.includes("%{"))return e;let s=null==t.get?void 0:t.get(uU.p.mgm),c=null==s||null==s.getCurrentProduct?void 0:s.getCurrentProduct(),d=null==s||null==s.getMasterData?void 0:s.getMasterData(),h=(u=d,{isRecommendation:!!(i=null==u?void 0:u.fullName),fullName:i||"",name:(null==i?void 0:i.split(" ")[0])||""});return n=c&&d?Object.keys(rC).reduce((e,t)=>{let u=(0,rC[t])({currentProduct:c,isRecommendation:h.isRecommendation});return rE("%{"+t+"}",u||"",e)},e):Object.keys(rC).reduce((e,t)=>rE("%{"+t+"}","",e),e),n=rE("%{recommenderName}",h.name,n),r=n=rE("%{recommenderFullName}",h.fullName,n),o=c,a=null==o?void 0:o.textingsByOffer,l=e=>{var t;return null!=(t=null==a?void 0:a[e])?t:""},r=rE("%{allBonusesDeclension}",l("allBonusesDeclension"),r),r=rE("%{mainBonusDeclension}",l("mainBonusDeclension"),r),r=rE("%{bundleBonusDeclension}",l("bundleBonusDeclension"),r),r=rE("%{allBonuses}",l("allBonuses"),r),r=rE("%{mainBonus}",l("mainBonus"),r),n=r=rE("%{bundleBonus}",l("bundleBonus"),r)})(D,v),v,E)},"data-component-type":"blocks-atom"})))}r7.displayName="AtomDesktopHtmlText";var r6=c(15).createElement;
1function r3(e){let{content:t,index:u,blockColor:r,di:o,dispatch:n,eventea:i}=e;return r6("div",{ref:e=>e&&(e.dataset.schemaPath="items."+u+"|lst")},r6("div",{ref:e=>{e&&(e.dataset.schemaPath="title",e.dataset.test="title")}},r6(r7,{text:{text:t,htmlTag:"span"},size:"15",blockColor:r,schemaPath:null,di:o,dispatch:n,eventea:i})))}r3.displayName="DesktopFilterItem";let r5="token";class r8{constructor(e,t){void 0===t&&(t={}),this.isToken=!0,this.isModernToken=!0,this.stringName=null!=e?e:r5,this.name=e?Symbol.for(e):Symbol(r5),this.options=t}toString(){return this.stringName}}function r9(e,t){return new r8(e,t)}function oe(e){return{token:e,optional:!0}}r9("MIF_LAYOUT");let ot=r9("MIF_MOBILE_PLATFORM"),ou=r9("MIF_COLOR_SCHEME"),or=r9("MIF_ROUTER");r9("MIF_STATIST_CLIENT"),r9("MIF_STATIST_CLIENT_TYPED"),r9("MIF_STATIST_ENRICH");let oo=r9("MIF_EVENTEA_CLIENT");r9("MIF_FULL_STATIST_CLIENT");let on=oe(({make:()=>oo,untyped:()=>oo}).make()),oi=oe(or);oe(ot);let oa=oe(ou);var ol="abm25uNK1",os=c(15).createElement;let oc=e=>{var t,u;let r,o,n,i,{forwardDomRef:a,background:l,items:c,di:d,dispatch:p,microEventea:f,colorScheme:m,router:g}=e,b=null!=f?f:null==d?void 0:d.get(uU.p.eventea);if((e=>{let{eventea:t,blockType:u}=e,r=(0,h.useMemo)(()=>performance.now(),[]);(0,h.useEffect)(()=>{null==t||t.sendOnce({project:"boxy",event:"block.renderingStatus",payload:{blockType:u,status:"full",duration:performance.now()-r}},"full")},[r,t,u])})({eventea:b,blockType:"desktopFilter"}),!c.length)return null;let v=(r=c,o=(e=>{let[t,u]=(0,h.useState)(e.map(rr.generate)),r=(0,h.useRef)(!0);return(0,h.useEffect)(()=>{r.current?r.current=!1:u(e.map(rr.generate))},[e.length]),t})(c),r.map((e,t)=>{let{slideLink:u,title:r}=e,{url:n="",targetBlank:i,nofollow:a,title:l,noindex:s}=u.onClick;return{content:null==r?void 0:r.text,value:o[t],href:n,index:t,target:i?"_blank":null,rel:a?"nofollow":null,title:l||null,noindex:s}})),A=(null==(t=d.get(uU.p.runtimeEnv))?void 0:t.location)||(null==g||null==g.getCurrentUrl?void 0:g.getCurrentUrl())||uY(""),E=(n=v,i=A,n.findIndex(e=>{let{href:t}=e;if(t.startsWith("/"))return uY(t).pathname===i.pathname;let u=t;return t&&!t.startsWith("http")&&(u="http://"+t),uY(u).pathname===i.pathname&&uY(u).host===i.host})),D=v.map(e=>{let t=s()({},e,{blockColor:l,di:d,dispatch:p,eventea:b});return s()({},e,{content:os(r3,t)})});return os(ru,{forwardDomRef:a,background:l,paddingOffV:!0,dataComponentType:"blocks",colorScheme:m,di:d},os("div",{className:ol},os(u$,{size:"m",name:"",value:null==(u=v[E])?void 0:u.value,align:"center",wrap:!1,separated:!1,theme:{background:"transparent"},options:D})))};oc.bota={props:{microEventea:on,router:oi,colorScheme:oa}},oc.displayName="DesktopFilter";var od=oc}(),d)e[h]=d[h];d.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})}catch(e){a=e}if(a)return t.error=a,Promise.resolve();function p(e){t.exports=e;var u,r=null==(u=window.__tempref59452.sharingResult)?void 0:u["[email protected]"];r&&(t.sharingResult=r),t.exports&&(t.exports.__namedExports=__assign({},o.exports),delete t.exports.__namedExports.default,t.exports.displayName="".concat(t.exports.displayName," {").concat("release-2026.10.07-Lawrencium","}"));var n={"clientSize":165518,"clientEntrySize":165518,"clientChunks":[]};n&&(t.manifest=n),t.uniqueName="[email protected]"}if(u.initialConsumePromise)return u.initialConsumePromise.then(function(){return o.exports.default()}).then(function(e){p(e.default)});p(o.exports.default)}}function h(){var t,u,r;return e||(e=(null==(t=document.currentScript)?void 0:t.dataset.mmid)||(null==(u=document.currentScript)?void 0:u.dataset.src)||(null==(r=document.currentScript)?void 0:r.src))}function p(){window.__tempref59452=window.__tempref59452||{modules:{}};var e=window.__tempref59452;return e.modules=e.modules||{},e}}();
2//# sourceMappingURL=desktop-filter.client.js.map

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.