@foxford/navigation-widget 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -2
- package/index.js +32 -32
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Ae=(e,t,o)=>H2(e,typeof t!="symbol"?t+"":t,o);var kn,le,T0,mo,Ku,R0,M0,ws,ri,Wr,z0,Tc,va,ya,H0,vi={},yi=[],B2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,An=Array.isArray;function Yt(e,t){for(var o in t)e[o]=t[o];return e}function Rc(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function P(e,t,o){var r,n,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?n=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?kn.call(arguments,2):o),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return Yr(e,s,r,n,null)}function Yr(e,t,o,r,n){var i={type:e,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:n==null?++T0:n,__i:-1,__u:0};return n==null&&le.vnode!=null&&le.vnode(i),i}function B0(){return{current:null}}function ue(e){return e.children}function It(e,t){this.props=e,this.context=t}function Uo(e,t){if(t==null)return e.__?Uo(e.__,e.__i+1):null;for(var o;t<e.__k.length;t++)if((o=e.__k[t])!=null&&o.__e!=null)return o.__e;return typeof e.type=="function"?Uo(e):null}function D2(e){if(e.__P&&e.__d){var t=e.__v,o=t.__e,r=[],n=[],i=Yt({},t);i.__v=t.__v+1,le.vnode&&le.vnode(i),Mc(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[o]:null,r,o==null?Uo(t):o,!!(32&t.__u),n),i.__v=t.__v,i.__.__k[i.__i]=i,N0(r,i,n),t.__e=t.__=null,i.__e!=o&&D0(i)}}function D0(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),D0(e)}function xa(e){(!e.__d&&(e.__d=!0)&&mo.push(e)&&!xi.__r++||Ku!=le.debounceRendering)&&((Ku=le.debounceRendering)||R0)(xi)}function xi(){try{for(var e,t=1;mo.length;)mo.length>t&&mo.sort(M0),e=mo.shift(),t=mo.length,D2(e)}finally{mo.length=xi.__r=0}}function L0(e,t,o,r,n,i,s,a,l,c,d){var h,f,b,v,g,p,m=r&&r.__k||yi,y=t.length;for(l=L2(o,t,m,l,y),h=0;h<y;h++)(b=o.__k[h])!=null&&(f=b.__i!=-1&&m[b.__i]||vi,b.__i=h,p=Mc(e,b,f,n,i,s,a,l,c,d),v=b.__e,b.ref&&f.ref!=b.ref&&(f.ref&&zc(f.ref,null,b),d.push(b.ref,b.__c||v,b)),g==null&&v!=null&&(g=v),4&b.__u?(l=_0(b,l,e),f.__e&&(f.__e=null)):typeof b.type=="function"&&p!==void 0?l=p:v&&(l=v.nextSibling),b.__u&=-7);return o.__e=g,l}function L2(e,t,o,r,n){var i,s,a,l,c,d=o.length,h=d,f=0;for(e.__k=new Array(n),i=0;i<n;i++)(s=t[i])!=null&&typeof s!="boolean"&&typeof s!="function"?(typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?s=e.__k[i]=Yr(null,s,null,null,null):An(s)?s=e.__k[i]=Yr(ue,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?s=e.__k[i]=Yr(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[i]=s,l=i+f,s.__=e,s.__b=e.__b+1,a=null,(c=s.__i=_2(s,o,l,h))!=-1&&(h--,(a=o[c])&&(a.__u|=2)),a==null||a.__v==null?(c==-1&&(n>d?f--:n<d&&f++),typeof s.type!="function"&&(s.__u|=4)):c!=l&&(c==l-1?f--:c==l+1?f++:(c>l?f--:f++,s.__u|=4))):e.__k[i]=null;if(h)for(i=0;i<d;i++)(a=o[i])!=null&&(2&a.__u)==0&&(a.__e==r&&(r=Uo(a)),X0(a,a));return r}function _0(e,t,o){var r,n;if(typeof e.type=="function"){for(r=e.__k,n=0;r&&n<r.length;n++)r[n]&&(r[n].__=e,t=_0(r[n],t,o));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=Uo(e)),t=o.insertBefore(e.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function io(e,t){return t=t||[],e==null||typeof e=="boolean"||(An(e)?e.some(function(o){io(o,t)}):t.push(e)),t}function _2(e,t,o,r){var n,i,s,a=e.key,l=e.type,c=t[o],d=c!=null&&(2&c.__u)==0;if(c===null&&a==null||d&&a==c.key&&l==c.type)return o;if(r>(d?1:0)){for(n=o-1,i=o+1;n>=0||i<t.length;)if((c=t[s=n>=0?n--:i++])!=null&&(2&c.__u)==0&&a==c.key&&l==c.type)return s}return-1}function $u(e,t,o){t[0]=="-"?e.setProperty(t,o==null?"":o):e[t]=o==null?"":typeof o!="number"||B2.test(t)?o:o+"px"}function Ln(e,t,o,r,n){var i,s;e:if(t=="style")if(typeof o=="string")e.style.cssText=o;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)o&&t in o||$u(e.style,t,"");if(o)for(t in o)r&&o[t]==r[t]||$u(e.style,t,o[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(z0,"$1")),s=t.toLowerCase(),t=s in e||t=="onFocusOut"||t=="onFocusIn"?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=o,o?r?o[Wr]=r[Wr]:(o[Wr]=Tc,e.addEventListener(t,i?ya:va,i)):e.removeEventListener(t,i?ya:va,i);else{if(n=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=o==null?"":o;break e}catch{}typeof o=="function"||(o==null||o===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&o==1?"":o))}}function ed(e){return function(t){if(this.l){var o=this.l[t.type+e];if(t[ri]==null)t[ri]=Tc++;else if(t[ri]<o[Wr])return;return o(le.event?le.event(t):t)}}}function Mc(e,t,o,r,n,i,s,a,l,c){var d,h,f,b,v,g,p,m,y,C,A,S,M,H,I,W,K=t.type;if(t.constructor!==void 0)return null;128&o.__u&&(l=!!(32&o.__u),i=[a=t.__e=o.__e]),(d=le.__b)&&d(t);e:if(typeof K=="function"){h=s.length;try{if(y=t.props,C=K.prototype&&K.prototype.render,A=(d=K.contextType)&&r[d.__c],S=d?A?A.props.value:d.__:r,o.__c?m=(f=t.__c=o.__c).__=f.__E:(C?t.__c=f=new K(y,S):(t.__c=f=new It(y,S),f.constructor=K,f.render=N2),A&&A.sub(f),f.state||(f.state={}),f.__n=r,b=f.__d=!0,f.__h=[],f._sb=[]),C&&f.__s==null&&(f.__s=f.state),C&&K.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=Yt({},f.__s)),Yt(f.__s,K.getDerivedStateFromProps(y,f.__s))),v=f.props,g=f.state,f.__v=t,b)C&&K.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),C&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(C&&K.getDerivedStateFromProps==null&&y!==v&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(y,S),t.__v==o.__v||!f.__e&&f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(y,f.__s,S)===!1){t.__v!=o.__v&&(f.props=y,f.state=f.__s,f.__d=!1),t.__e=o.__e,t.__k=o.__k,t.__k.some(function(V){V&&(V.__=t)}),yi.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&s.push(f),a=Uo(o);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(y,f.__s,S),C&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(v,g,p)})}if(f.context=S,f.props=y,f.__P=e,f.__e=!1,M=le.__r,H=0,C)f.state=f.__s,f.__d=!1,M&&M(t),d=f.render(f.props,f.state,f.context),yi.push.apply(f.__h,f._sb),f._sb=[];else do f.__d=!1,M&&M(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++H<25);f.state=f.__s,f.getChildContext!=null&&(r=Yt(Yt({},r),f.getChildContext())),C&&!b&&f.getSnapshotBeforeUpdate!=null&&(p=f.getSnapshotBeforeUpdate(v,g)),I=d!=null&&d.type===ue&&d.key==null?j0(d.props.children):d,a=L0(e,An(I)?I:[I],t,o,r,n,i,s,a,l,c),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),m&&(f.__E=f.__=null)}catch(V){if(s.length=h,t.__v=null,l||i!=null){if(V.then){for(t.__u|=l?160:128;a&&a.nodeType==8&&a.nextSibling;)a=a.nextSibling;i!=null&&(i[i.indexOf(a)]=null),t.__e=a}else if(i!=null)for(W=i.length;W--;)Rc(i[W])}else t.__e=o.__e;t.__k==null&&(t.__k=o.__k||[]),V.then||I0(t),le.__e(V,t,o)}}else i==null&&t.__v==o.__v?(t.__k=o.__k,t.__e=o.__e):a=t.__e=I2(o.__e,t,o,r,n,i,s,l,c);return(d=le.diffed)&&d(t),128&t.__u?void 0:a}function I0(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(I0))}function N0(e,t,o){for(var r=0;r<o.length;r++)zc(o[r],o[++r],o[++r]);le.__c&&le.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(i){i.call(n)})}catch(i){le.__e(i,n.__v)}})}function j0(e){return typeof e!="object"||e==null||e.__b>0?e:An(e)?e.map(j0):e.constructor!==void 0?null:Yt({},e)}function I2(e,t,o,r,n,i,s,a,l){var c,d,h,f,b,v,g,p=o.props||vi,m=t.props,y=t.type;if(y=="svg"?n="http://www.w3.org/2000/svg":y=="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),i!=null){for(c=0;c<i.length;c++)if((b=i[c])&&"setAttribute"in b==!!y&&(y?b.localName==y:b.nodeType==3)){e=b,i[c]=null;break}}if(e==null){if(y==null)return document.createTextNode(m);e=document.createElementNS(n,y,m.is&&m),a&&(le.__m&&le.__m(t,i),a=!1),i=null}if(y==null)p===m||a&&e.data==m||(e.data=m);else{if(i=y=="textarea"&&m.defaultValue!=null?null:i&&kn.call(e.childNodes),!a&&i!=null)for(p={},c=0;c<e.attributes.length;c++)p[(b=e.attributes[c]).name]=b.value;for(c in p)b=p[c],c=="dangerouslySetInnerHTML"?h=b:c=="children"||c in m||c=="value"&&"defaultValue"in m||c=="checked"&&"defaultChecked"in m||Ln(e,c,null,b,n);for(c in m)b=m[c],c=="children"?f=b:c=="dangerouslySetInnerHTML"?d=b:c=="value"?v=b:c=="checked"?g=b:a&&typeof b!="function"||p[c]===b||Ln(e,c,b,p[c],n);if(d)a||h&&(d.__html==h.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(h&&(e.innerHTML=""),L0(t.type=="template"?e.content:e,An(f)?f:[f],t,o,r,y=="foreignObject"?"http://www.w3.org/1999/xhtml":n,i,s,i?i[0]:o.__k&&Uo(o,0),a,l),i!=null)for(c=i.length;c--;)Rc(i[c]);a&&y!="textarea"||(c="value",y=="progress"&&v==null?e.removeAttribute("value"):v!=null&&(v!==e[c]||y=="progress"&&!v||y=="option"&&v!=p[c])&&Ln(e,c,v,p[c],n),c="checked",g!=null&&g!=e[c]&&Ln(e,c,g,p[c],n))}return e}function zc(e,t,o){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(n){le.__e(n,o)}}function X0(e,t,o){var r,n;if(le.unmount&&le.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||zc(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){le.__e(i,t)}r.base=r.__P=r.__n=null}if(r=e.__k)for(n=0;n<r.length;n++)r[n]&&X0(r[n],t,o||typeof e.type!="function");o||Rc(e.__e),e.__c=e.__=e.__e=void 0}function N2(e,t,o){return this.constructor(e,o)}function sn(e,t,o){var r,n,i,s;t==document&&(t=document.documentElement),le.__&&le.__(e,t),n=(r=typeof o=="function")?null:o&&o.__k||t.__k,i=[],s=[],Mc(t,e=(!r&&o||t).__k=P(ue,null,[e]),n||vi,vi,t.namespaceURI,!r&&o?[o]:n?null:t.firstChild?kn.call(t.childNodes):null,i,!r&&o?o:n?n.__e:t.firstChild,r,s),N0(i,e,s),e.props.children=null}function F0(e,t){sn(e,t,F0)}function j2(e,t,o){var r,n,i,s,a=Yt({},e.props);for(i in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?n=t[i]:a[i]=t[i]===void 0&&s!=null?s[i]:t[i];return arguments.length>2&&(a.children=arguments.length>3?kn.call(arguments,2):o),Yr(e.type,a,r||e.key,n||e.ref,null)}function Rr(e){function t(o){var r,n;return this.getChildContext||(r=new Set,(n={})[t.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&r.forEach(function(s){s.__e=!0,xa(s)})},this.sub=function(i){r.add(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){r&&r.delete(i),s&&s.call(i)}}),o.children}return t.__c="__cC"+H0++,t.__=e,t.Provider=t.__l=(t.Consumer=function(o,r){return o.children(r)}).contextType=t,t}kn=yi.slice,le={__e:function(e,t,o,r){for(var n,i,s;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&i.getDerivedStateFromError!=null&&(n.setState(i.getDerivedStateFromError(e)),s=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e,r||{}),s=n.__d),s)return n.__E=n}catch(a){e=a}throw e}},T0=0,It.prototype.setState=function(e,t){var o;o=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Yt({},this.state),typeof e=="function"&&(e=e(Yt({},o),this.props)),e&&Yt(o,e),e!=null&&this.__v&&(t&&this._sb.push(t),xa(this))},It.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),xa(this))},It.prototype.render=ue,mo=[],R0=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,M0=function(e,t){return e.__v.__b-t.__v.__b},xi.__r=0,ws=Math.random().toString(8),ri="__d"+ws,Wr="__a"+ws,z0=/(PointerCapture)$|Capture$/i,Tc=0,va=ed(!1),ya=ed(!0),H0=0;var so,Re,ks,td,xr=0,U0=[],Xe=le,od=Xe.__b,rd=Xe.__r,nd=Xe.diffed,id=Xe.__c,sd=Xe.unmount,ad=Xe.__;function Yo(e,t){Xe.__h&&Xe.__h(Re,e,xr||t),xr=0;var o=Re.__H||(Re.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({}),o.__[e]}function ye(e){return xr=1,Yi(V0,e)}function Yi(e,t,o){var r=Yo(so++,2);if(r.t=e,!r.__c&&(r.__=[o?o(t):V0(void 0,t),function(a){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,a);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=Re,!Re.__f)){var n=function(a,l,c){if(!r.__c.__H)return!0;var d=!1,h=r.__c.props!==a;if(r.__c.__H.__.some(function(b){if(b.__N){d=!0;var v=b.__[0];b.__=b.__N,b.__N=void 0,v!==b.__[0]&&(h=!0)}}),i){var f=i.call(this,a,l,c);return d?f||h:f}return!d||h};Re.__f=!0;var i=Re.shouldComponentUpdate,s=Re.componentWillUpdate;Re.componentWillUpdate=function(a,l,c){if(this.__e){var d=i;i=void 0,n(a,l,c),i=d}s&&s.call(this,a,l,c)},Re.shouldComponentUpdate=n}return r.__N||r.__}function Ie(e,t){var o=Yo(so++,3);!Xe.__s&&Dc(o.__H,t)&&(o.__=e,o.u=t,Re.__H.__h.push(o))}function lt(e,t){var o=Yo(so++,4);!Xe.__s&&Dc(o.__H,t)&&(o.__=e,o.u=t,Re.__h.push(o))}function Ke(e){return xr=5,Ut(function(){return{current:e}},[])}function Hc(e,t,o){xr=6,lt(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},o==null?o:o.concat(e))}function Ut(e,t){var o=Yo(so++,7);return Dc(o.__H,t)&&(o.__=e(),o.__H=t,o.__h=e),o.__}function xo(e,t){return xr=8,Ut(function(){return e},t)}function Ct(e){var t=Re.context[e.__c],o=Yo(so++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(Re)),t.props.value):e.__}function Qi(e,t){Xe.useDebugValue&&Xe.useDebugValue(t?t(e):e)}function X2(e){var t=Yo(so++,10),o=ye();return t.__=e,Re.componentDidCatch||(Re.componentDidCatch=function(r,n){t.__&&t.__(r,n),o[1](r)}),[o[0],function(){o[1](void 0)}]}function Bc(){var e=Yo(so++,11);if(!e.__){for(var t=Re.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var o=t.__m||(t.__m=[0,0]);e.__="P"+o[0]+"-"+o[1]++}return e.__}function F2(){for(var e;e=U0.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ni),t.__h.some(wa),t.__h=[]}catch(o){t.__h=[],Xe.__e(o,e.__v)}}}Xe.__b=function(e){Re=null,od&&od(e)},Xe.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ad&&ad(e,t)},Xe.__r=function(e){rd&&rd(e),so=0;var t=(Re=e.__c).__H;t&&(ks===Re?(t.__h=[],Re.__h=[],t.__.some(function(o){o.__N&&(o.__=o.__N),o.u=o.__N=void 0})):(t.__h.some(ni),t.__h.some(wa),t.__h=[],so=0)),ks=Re},Xe.diffed=function(e){nd&&nd(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(U0.push(t)!==1&&td===Xe.requestAnimationFrame||((td=Xe.requestAnimationFrame)||U2)(F2)),t.__H.__.some(function(o){o.u&&(o.__H=o.u,o.u=void 0)})),ks=Re=null},Xe.__c=function(e,t){t.some(function(o){try{o.__h.some(ni),o.__h=o.__h.filter(function(r){return!r.__||wa(r)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],Xe.__e(r,o.__v)}}),id&&id(e,t)},Xe.unmount=function(e){sd&&sd(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.some(function(r){try{ni(r)}catch(n){t=n}}),o.__H=void 0,t&&Xe.__e(t,o.__v))};var ld=typeof requestAnimationFrame=="function";function U2(e){var t,o=function(){clearTimeout(r),ld&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(o,35);ld&&(t=requestAnimationFrame(o))}function ni(e){var t=Re,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),Re=t}function wa(e){var t=Re;e.__c=e.__(),Re=t}function Dc(e,t){return!e||e.length!==t.length||t.some(function(o,r){return o!==e[r]})}function V0(e,t){return typeof t=="function"?t(e):t}function G0(e,t){for(var o in t)e[o]=t[o];return e}function ka(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Sn(e,t){var o=t(),r=ye({t:{__:o,u:t}}),n=r[0].t,i=r[1];return lt(function(){n.__=o,n.u=t,As(n)&&i({t:n})},[e,o,t]),Ie(function(){return As(n)&&i({t:n}),e(function(){As(n)&&i({t:n})})},[e]),o}function As(e){try{return!((t=e.__)===(o=e.u())&&(t!==0||1/t==1/o)||t!=t&&o!=o)}catch{return!0}var t,o}function Lc(e){e()}function _c(e){return e}function Ic(){return[!1,Lc]}var Nc=lt;function wr(e,t){this.props=e,this.context=t}function q0(e,t){function o(n){var i=this.props.ref;return i!=n.ref&&i&&(typeof i=="function"?i(null):i.current=null),t?!t(this.props,n)||i!=n.ref:ka(this.props,n)}function r(n){return this.shouldComponentUpdate=o,P(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.__f=r.prototype.isReactComponent=!0,r.type=e,r}(wr.prototype=new It).isPureReactComponent=!0,wr.prototype.shouldComponentUpdate=function(e,t){return ka(this.props,e)||ka(this.state,t)};var cd=le.__b;le.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),cd&&cd(e)};var V2=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function vt(e){function t(o){var r=G0({},o);return delete r.ref,e(r,o.ref||null)}return t.$$typeof=V2,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ud=function(e,t){return e==null?null:io(io(e).map(t))},J0={map:ud,forEach:ud,count:function(e){return e?io(e).length:0},only:function(e){var t=io(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:io},G2=le.__e;le.__e=function(e,t,o,r){if(e.then){for(var n,i=t;i=i.__;)if((n=i.__c)&&n.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k||[]),n.__c(e,t)}G2(e,t,o,r)};var dd=le.unmount;function W0(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=G0({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return W0(r,t,o)})),e}function Y0(e,t,o){return e&&o&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Y0(r,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=o)),e}function Qr(){this.__u=0,this.o=null,this.__b=null}function Q0(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function Z0(e){var t,o,r,n=null;function i(s){if(t||(t=e()).then(function(a){a&&(n=a.default||a),r=!0},function(a){o=a,r=!0}),o)throw o;if(!r)throw t;return n?P(n,s):null}return i.displayName="Lazy",i.__f=!0,i}function sr(){this.i=null,this.l=null}le.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),dd&&dd(e)},(Qr.prototype=new It).__c=function(e,t){var o=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(o);var n=Q0(r.__v),i=!1,s=function(){i||r.__z||(i=!0,o.__R=null,n?n(l):l())};o.__R=s;var a=o.__P;o.__P=null;var l=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Y0(c,c.__c.__P,c.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.o.pop();)d.__P=a,d.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},Qr.prototype.componentWillUnmount=function(){this.o=[]},Qr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=W0(this.__b,o,r.__O=r.__P)}this.__b=null}var n=t.__a&&P(ue,null,e.fallback);return n&&(n.__u&=-33),[P(ue,null,t.__a?null:e.children),n]};var fd=function(e,t,o){if(++o[1]===o[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(o=e.i;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.i=o=o[2]}};function q2(e){return this.getChildContext=function(){return e.context},e.children}function J2(e){var t=this,o=e.h;if(t.componentWillUnmount=function(){sn(null,t.v),t.v=null,t.h=null},t.h&&t.h!==o&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=o,t.v={nodeType:1,parentNode:o,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:o.namespaceURI,insertBefore:function(n,i){this.childNodes.push(n),t.h.insertBefore(n,i)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}}sn(P(q2,{context:t.context},e.__v),t.v)}function K0(e,t){var o=P(J2,{__v:e,h:t});return o.containerInfo=t,o}(sr.prototype=new It).__a=function(e){var t=this,o=Q0(t.__v),r=t.l.get(e);return r[0]++,function(n){var i=function(){t.props.revealOrder?(r.push(n),fd(t,e,r)):n()};o?o(i):i()}},sr.prototype.render=function(e){this.i=null,this.l=new Map;var t=io(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.l.set(t[o],this.i=[1,0,this.i]);return e.children},sr.prototype.componentDidUpdate=sr.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,o){fd(e,o,t)})};var $0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,W2=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Y2=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Q2=/[A-Z0-9]/g,Z2=typeof document<"u",K2=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function jc(e,t,o){return t.__k==null&&(t.textContent=""),sn(e,t),typeof o=="function"&&o(),e?e.__c:null}function eg(e,t,o){return F0(e,t),typeof o=="function"&&o(),e?e.__c:null}It.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(It.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var pd=le.event;le.event=function(e){return pd&&(e=pd(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var Xc,$2={configurable:!0,get:function(){return this.class}},hd=le.vnode;le.vnode=function(e){typeof e.type=="string"&&(function(t){var o=t.props,r=t.type,n={},i=r.indexOf("-")==-1;for(var s in o){var a=o[s];if(!(s==="value"&&"defaultValue"in o&&a==null||Z2&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in o&&o.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||K2(o.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":Y2.test(s)&&(s=l):l=s="oninput":i&&W2.test(s)?s=s.replace(Q2,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&n[s=l]&&(s="oninputCapture"),n[s]=a}}r=="select"&&(n.multiple&&Array.isArray(n.value)&&(n.value=io(o.children).forEach(function(c){c.props.selected=n.value.indexOf(c.props.value)!=-1})),n.defaultValue!=null&&(n.value=io(o.children).forEach(function(c){c.props.selected=n.multiple?n.defaultValue.indexOf(c.props.value)!=-1:n.defaultValue==c.props.value}))),o.class&&!o.className?(n.class=o.class,Object.defineProperty(n,"className",$2)):o.className&&(n.class=n.className=o.className),t.props=n})(e),e.$$typeof=$0,hd&&hd(e)};var gd=le.__r;le.__r=function(e){gd&&gd(e),Xc=e.__c};var md=le.diffed;le.diffed=function(e){md&&md(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value),Xc=null};var tg={ReactCurrentDispatcher:{current:{readContext:function(e){return Xc.__n[e.__c].props.value},useCallback:xo,useContext:Ct,useDebugValue:Qi,useDeferredValue:_c,useEffect:Ie,useId:Bc,useImperativeHandle:Hc,useInsertionEffect:Nc,useLayoutEffect:lt,useMemo:Ut,useReducer:Yi,useRef:Ke,useState:ye,useSyncExternalStore:Sn,useTransition:Ic}}},eb="18.3.1";function og(e){return P.bind(null,e)}function Co(e){return!!e&&e.$$typeof===$0}function rg(e){return Co(e)&&e.type===ue}function ng(e){return!!e&&typeof e.displayName=="string"&&e.displayName.indexOf("Memo(")==0}function Fc(e){return Co(e)?j2.apply(null,arguments):e}function Uc(e){return!!e.__k&&(sn(null,e),!0)}function ig(e){return e&&(e.base||e.nodeType===1&&e)||null}var sg=function(e,t){return e(t)},ag=function(e,t){var o,r=le.debounceRendering;le.debounceRendering=function(i){o=i};try{var n=e(t);return o&&o(),n}finally{le.debounceRendering=r}},lg=Co,Me={useState:ye,useId:Bc,useReducer:Yi,useEffect:Ie,useLayoutEffect:lt,useInsertionEffect:Nc,useTransition:Ic,useDeferredValue:_c,useSyncExternalStore:Sn,startTransition:Lc,useRef:Ke,useImperativeHandle:Hc,useMemo:Ut,useCallback:xo,useContext:Ct,useDebugValue:Qi,version:"18.3.1",Children:J0,render:jc,hydrate:eg,unmountComponentAtNode:Uc,createPortal:K0,createElement:P,createContext:Rr,createFactory:og,cloneElement:Fc,createRef:B0,Fragment:ue,isValidElement:Co,isElement:lg,isFragment:rg,isMemo:ng,findDOMNode:ig,Component:It,PureComponent:wr,memo:q0,forwardRef:vt,flushSync:ag,unstable_batchedUpdates:sg,StrictMode:ue,Suspense:Qr,SuspenseList:sr,lazy:Z0,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:tg};const tb=Object.freeze(Object.defineProperty({__proto__:null,Children:J0,Component:It,Fragment:ue,PureComponent:wr,StrictMode:ue,Suspense:Qr,SuspenseList:sr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:tg,cloneElement:Fc,createContext:Rr,createElement:P,createFactory:og,createPortal:K0,createRef:B0,default:Me,findDOMNode:ig,flushSync:ag,forwardRef:vt,hydrate:eg,isElement:lg,isFragment:rg,isMemo:ng,isValidElement:Co,lazy:Z0,memo:q0,render:jc,startTransition:Lc,unmountComponentAtNode:Uc,unstable_batchedUpdates:sg,useCallback:xo,useContext:Ct,useDebugValue:Qi,useDeferredValue:_c,useEffect:Ie,useErrorBoundary:X2,useId:Bc,useImperativeHandle:Hc,useInsertionEffect:Nc,useLayoutEffect:lt,useMemo:Ut,useReducer:Yi,useRef:Ke,useState:ye,useSyncExternalStore:Sn,useTransition:Ic,version:eb},Symbol.toStringTag,{value:"Module"}));function bd(e){return{render:function(t){jc(t,e)},unmount:function(){Uc(e)}}}const vd={1:"1 класс",2:"2 класс",3:"3 класс",4:"4 класс",5:"5 класс",6:"6 класс",7:"7 класс",8:"8 класс",9:"9 класс",10:"10 класс",11:"11 класс"},yd={address:{building:null,cityId:null,cityName:null,countryId:null,countryName:null,house:null,index:null,regionId:null,regionName:null,room:null,street:null},admissionFinishesOn:null,algoritmika:!1,avatarUrl:"",bonus:{giftAmount:0,realMoneyAmount:0},bonusAmount:0,bonusesPageVisited:!1,canChangeSchoolInfo:!1,cartItemsCount:0,cartTemplateId:null,createdAt:null,currentInterest:{businessUnitAbbrs:[],disciplineId:null,gradeId:null,levelId:null,productFormat:null,productId:null,reason:null},disciplineIds:[],email:"",emailConfirmed:!1,externshipDemoAccessActive:!1,externshipPaymentRequired:null,externshipPromoHeaderOn:!1,externshipUser:!1,fakeEmail:!1,fakeUser:!1,firstName:"",freeAccessFinishesAt:null,fullName:"",grade:{id:null,index:null,name:"",translit:""},gradeChecked:!1,hasAccessToAttestationSheets:!1,hasAccessToMultiDaysStreaks:!1,hasActivePurchases:!1,hasAttemptsSolveExamRehearsals:!1,hasBookmarks:!1,hasExamProgressAccess:!1,hasExternshipAttestationAccess:!1,hasPurchasedExternshipContracts:!1,hasYearlyRecapAccess:!1,id:null,isAgent:!1,isAttestationSchoolManager:null,isCoach:!1,isCustomer:null,isElementaryPupil:!1,isExternshipCoach:!1,isGraduated:!1,isLabsEnabled:!1,isMentor:!1,isMiniGroupTeacher:!1,isParent:!1,isXpStreakAvailable:!1,lastName:"",leaderboard:null,leaderboardAccessState:"unavailable",learningGoalsAccessState:"disabled",locale:null,messengerSubscriptions:null,methodist:!1,middleName:"",needToPromoteRenewalWithCoach:!1,nextYearCoursesBannerAvailable:!1,onboardingFinished:!1,onboardingFinishedAt:null,parentPhone:null,parentPhoneConfirmed:!1,passwordSet:null,phone:null,phoneConfirmed:!1,privacy:{publicProfile:!1},profileEnriched:!1,purchaseAnyExternshipContracts:!1,recapUuid:null,referralCode:null,shortName:"",skype:null,socialNets:[],socializationProfile:null,tags:null,targetActionsOnboardingAvailable:!1,timezone:null,type:null,webSocketNotificationsJwt:null},Do=class Do{constructor(t,o=!1){this.props=t,this.isDefault=o,this.getRole=()=>{if(this.isCoach)return"Репетитор";if(this.isAgent)return"Учитель";if(this.isParent)return"Родитель";switch(this.type){case"pupil":return this.getPupilRole();case"agent":return"Учитель";default:return"Ученик"}},this.getInitials=()=>{var r,n;return`${this.lastName}${this.firstName?` ${(r=this.firstName[0])==null?void 0:r.toUpperCase()}.`:""}${this.middleName!==""&&this.middleName!==null?` ${(n=this.middleName[0])==null?void 0:n.toUpperCase()}.`:""}`}}get id(){return this.props.id}get email(){return this.props.email}get firstName(){return this.props.firstName}get middleName(){return this.props.middleName}get lastName(){return this.props.lastName}get fullName(){return this.props.fullName}get shortName(){return this.props.shortName}get createdAt(){return this.props.createdAt}get timezone(){return this.props.timezone}get locale(){return this.props.locale}get grade(){return this.props.grade}get phone(){return this.props.phone}get avatarUrl(){return this.props.avatarUrl}get isParent(){return this.props.isParent}get isGraduated(){return this.props.isGraduated}get gradeChecked(){return this.props.gradeChecked}get type(){return this.props.type}get isCoach(){return this.props.isCoach}get isMiniGroupTeacher(){return this.props.isMiniGroupTeacher}get isExternshipCoach(){return this.props.isExternshipCoach}get isAgent(){return this.props.isAgent}get methodist(){return this.props.methodist}get address(){return this.props.address}get socialNets(){return this.props.socialNets}get skype(){return this.props.skype}get settings(){return this.props.settings}get bonus(){return this.props.bonus}get bonusAmount(){return this.props.bonusAmount}get hasActivePurchases(){return this.props.hasActivePurchases}get hasAttemptsSolveExamRehearsals(){return this.props.hasAttemptsSolveExamRehearsals}get hasBookmarks(){return this.props.hasBookmarks}get tags(){return this.props.tags}get cartTemplateId(){return this.props.cartTemplateId}get cartItemsCount(){return this.props.cartItemsCount}get onboardingFinished(){return this.props.onboardingFinished}get onboardingFinishedAt(){return this.props.onboardingFinishedAt}get emailConfirmed(){return this.props.emailConfirmed}get phoneConfirmed(){return this.props.phoneConfirmed}get fakeEmail(){return this.props.fakeEmail}get fakeUser(){return this.props.fakeUser}get profileEnriched(){return this.props.profileEnriched}get recapUuid(){return this.props.recapUuid}get disciplineIds(){return this.props.disciplineIds}get privacy(){return this.props.privacy}get parentPhone(){return this.props.parentPhone}get parentPhoneConfirmed(){return this.props.parentPhoneConfirmed}get isCustomer(){return this.props.isCustomer}get hasAccessToMultiDaysStreaks(){return this.props.hasAccessToMultiDaysStreaks}get isElementaryPupil(){return this.props.isElementaryPupil}get webSocketNotificationsJwt(){return this.props.webSocketNotificationsJwt}get hasAccessToAttestationSheets(){return this.props.hasAccessToAttestationSheets}get externshipUser(){return this.props.externshipUser}get hasPurchasedExternshipContracts(){return this.props.hasPurchasedExternshipContracts}get hasExternshipAttestationAccess(){return this.props.hasExternshipAttestationAccess}get socializationProfile(){return this.props.socializationProfile}get freeAccessFinishesAt(){return this.props.freeAccessFinishesAt}get hasUnseenRoomFeatures(){return this.props.hasUnseenRoomFeatures}get purchaseAnyExternshipContracts(){return this.props.purchaseAnyExternshipContracts}get hasExternshipRelation(){return this.props.hasExternshipRelation}get hasExternshipActiveContract(){return this.props.hasExternshipActiveContract}get canProlongateContract(){return this.props.canProlongateContract}get prolongation(){return this.props.prolongation}get currentInterest(){return this.props.currentInterest}get admissionFinishesOn(){return this.props.admissionFinishesOn}get algoritmika(){return this.props.algoritmika}get bonusesPageVisited(){return this.props.bonusesPageVisited}get canChangeSchoolInfo(){return this.props.canChangeSchoolInfo}get externshipDemoAccessActive(){return this.props.externshipDemoAccessActive}get externshipPaymentRequired(){return this.props.externshipPaymentRequired}get externshipPromoHeaderOn(){return this.props.externshipPromoHeaderOn}get hasExamProgressAccess(){return this.props.hasExamProgressAccess}get hasYearlyRecapAccess(){return this.props.hasYearlyRecapAccess}get isAttestationSchoolManager(){return this.props.isAttestationSchoolManager}get isLabsEnabled(){return this.props.isLabsEnabled}get isMentor(){return this.props.isMentor}get isXpStreakAvailable(){return this.props.isXpStreakAvailable}get leaderboard(){return this.props.leaderboard}get leaderboardAccessState(){return this.props.leaderboardAccessState}get learningGoalsAccessState(){return this.props.learningGoalsAccessState}get messengerSubscriptions(){return this.props.messengerSubscriptions}get needToPromoteRenewalWithCoach(){return this.props.needToPromoteRenewalWithCoach}get nextYearCoursesBannerAvailable(){return this.props.nextYearCoursesBannerAvailable}get passwordSet(){return this.props.passwordSet}get referralCode(){return this.props.referralCode}get targetActionsOnboardingAvailable(){return this.props.targetActionsOnboardingAvailable}isProlongationBetweenDates(){var n;const{endsAt:t,startsAt:o}=(n=this.props.prolongation)!=null?n:{};if(o==null||t===void 0||t===null)return!1;const r=Date.now();return r>=Date.parse(o)&&r<=Date.parse(t)}static deepClone(t,o=new WeakMap){if(t===null||typeof t!="object")return t;if(o.has(t))return o.get(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t.source,t.flags);if(Array.isArray(t)){const n=[];return o.set(t,n),t.forEach((i,s)=>{n[s]=this.deepClone(i,o)}),n}const r=Object.create(Object.getPrototypeOf(t));return o.set(t,r),Object.keys(t).forEach(n=>{r[n]=this.deepClone(t[n],o)}),r}static createDefault(){return new Do(this.deepClone(yd),!0)}static defaultDto(){return this.deepClone(yd)}static sanitizeString(t){return typeof t!="string"?(console.warn("[User] Invalid string type:",typeof t),String(t)):t.replace(/\x00/g,"").trim()}static fromApi(t){const o=this.sanitizeUserData(this.deepClone(t));return new Do(o)}static sanitizeUserData(t){return{...t,email:this.sanitizeString(t.email),firstName:this.sanitizeString(t.firstName),fullName:this.sanitizeString(t.fullName),lastName:this.sanitizeString(t.lastName),middleName:t.middleName?this.sanitizeString(t.middleName):t.middleName,shortName:this.sanitizeString(t.shortName)}}isDefaultUser(){return this.isDefault}isLoggedIn(){return!!(this.id&&this.id>0)}getPupilRole(){return this.grade.index===0?"Дошкольник":this.grade.index==null?"Выпускник":Do.getGradeString(this.grade.index)}toJson(){return JSON.stringify(this.props)}toDto(){return Do.deepClone(this.props)}};Do.getGradeString=t=>vd[t]||vd[1];let Tt=Do;function ob(e){return e.replace(/_([a-z0-9])/g,(t,o)=>o.toUpperCase())}function Aa(e){return Array.isArray(e)?e.map(Aa):e===null||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,o])=>[ob(t),Aa(o)]))}function rb(e){var r;const t=e!=null?e:{},o=n=>{var i;return(i=t[n])!=null?i:void 0};return{email:o("email"),max:o("max"),phone:o("phone"),salesPhone:(r=o("sales_phone"))!=null?r:o("salesPhone"),telegram:o("telegram"),vkontakte:o("vkontakte")}}const Cn=Tt.defaultDto();function Vc(e){return Aa(e)}const nb="main_menu_grades_list",ib=11;function sb(e){return Array.from({length:ib},(t,o)=>{const r=o+1;return{grade:r,title:`${r} класс`,url:e.replace(":grade_index",`${r}-klass`)}})}function ab(e){return{...e,id:String(e.id)}}function lb(e){var t,o,r;return{bottomSpace:e.bottomSpace,...(t=e.highlightMasks)!=null&&t.length?{highlightMasks:e.highlightMasks}:{},id:String(e.id),innerTitle:(o=e.innerTitle)!=null?o:e.title,innerTitleUrl:e.innerTitleUrl,lists:((r=e.subitems)!=null?r:[]).map(n=>{var i,s;return n.kind==="spacer"?{id:String(n.id),kind:"spacer",size:n.size}:{columnNumber:(i=n.columnNumber)!=null?i:1,id:String(n.id),items:((s=n.subitems)!=null?s:[]).map(a=>({bold:a.bold,description:a.description,...a.kind===nb?{grades:sb(a.url)}:{},icon:a.icon,id:String(a.id),title:a.title,underline:a.underline,url:a.url})),title:n.title,url:n.url}}),sourceId:e.id,title:e.title,url:e.url}}function cg(e){var r,n;const t=e!=null?e:{},o=t.user;return{appOptions:{contacts:rb(t.contacts),externalReviewsPageAvailable:(n=(r=t.external_reviews)==null?void 0:r.page_available)!=null?n:!1},user:o===void 0||o.id===null||o.id===void 0?Tt.createDefault():Tt.fromApi({...Cn,...Vc(o)})}}const xd="foxford-navigation-fonts",oo="https://static.ngcdn.ru/assets/fonts",cb=["circe_regular.woff2","circe_bold.woff2","TTFoxfordExtraBold.woff2"].map(e=>({as:"font",crossOrigin:"anonymous",href:`${oo}/${e}`,type:"font/woff2"})),ub=`
|
|
1
|
+
var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Ae=(e,t,o)=>H2(e,typeof t!="symbol"?t+"":t,o);var kn,le,T0,mo,Ku,R0,M0,ws,ri,Wr,z0,Tc,va,ya,H0,vi={},yi=[],B2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,An=Array.isArray;function Yt(e,t){for(var o in t)e[o]=t[o];return e}function Rc(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function P(e,t,o){var r,n,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?n=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?kn.call(arguments,2):o),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return Yr(e,s,r,n,null)}function Yr(e,t,o,r,n){var i={type:e,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:n==null?++T0:n,__i:-1,__u:0};return n==null&&le.vnode!=null&&le.vnode(i),i}function B0(){return{current:null}}function ue(e){return e.children}function It(e,t){this.props=e,this.context=t}function Uo(e,t){if(t==null)return e.__?Uo(e.__,e.__i+1):null;for(var o;t<e.__k.length;t++)if((o=e.__k[t])!=null&&o.__e!=null)return o.__e;return typeof e.type=="function"?Uo(e):null}function D2(e){if(e.__P&&e.__d){var t=e.__v,o=t.__e,r=[],n=[],i=Yt({},t);i.__v=t.__v+1,le.vnode&&le.vnode(i),Mc(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[o]:null,r,o==null?Uo(t):o,!!(32&t.__u),n),i.__v=t.__v,i.__.__k[i.__i]=i,N0(r,i,n),t.__e=t.__=null,i.__e!=o&&D0(i)}}function D0(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),D0(e)}function xa(e){(!e.__d&&(e.__d=!0)&&mo.push(e)&&!xi.__r++||Ku!=le.debounceRendering)&&((Ku=le.debounceRendering)||R0)(xi)}function xi(){try{for(var e,t=1;mo.length;)mo.length>t&&mo.sort(M0),e=mo.shift(),t=mo.length,D2(e)}finally{mo.length=xi.__r=0}}function L0(e,t,o,r,n,i,s,a,l,c,d){var g,f,b,v,p,h,m=r&&r.__k||yi,y=t.length;for(l=L2(o,t,m,l,y),g=0;g<y;g++)(b=o.__k[g])!=null&&(f=b.__i!=-1&&m[b.__i]||vi,b.__i=g,h=Mc(e,b,f,n,i,s,a,l,c,d),v=b.__e,b.ref&&f.ref!=b.ref&&(f.ref&&zc(f.ref,null,b),d.push(b.ref,b.__c||v,b)),p==null&&v!=null&&(p=v),4&b.__u?(l=_0(b,l,e),f.__e&&(f.__e=null)):typeof b.type=="function"&&h!==void 0?l=h:v&&(l=v.nextSibling),b.__u&=-7);return o.__e=p,l}function L2(e,t,o,r,n){var i,s,a,l,c,d=o.length,g=d,f=0;for(e.__k=new Array(n),i=0;i<n;i++)(s=t[i])!=null&&typeof s!="boolean"&&typeof s!="function"?(typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?s=e.__k[i]=Yr(null,s,null,null,null):An(s)?s=e.__k[i]=Yr(ue,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?s=e.__k[i]=Yr(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[i]=s,l=i+f,s.__=e,s.__b=e.__b+1,a=null,(c=s.__i=_2(s,o,l,g))!=-1&&(g--,(a=o[c])&&(a.__u|=2)),a==null||a.__v==null?(c==-1&&(n>d?f--:n<d&&f++),typeof s.type!="function"&&(s.__u|=4)):c!=l&&(c==l-1?f--:c==l+1?f++:(c>l?f--:f++,s.__u|=4))):e.__k[i]=null;if(g)for(i=0;i<d;i++)(a=o[i])!=null&&(2&a.__u)==0&&(a.__e==r&&(r=Uo(a)),X0(a,a));return r}function _0(e,t,o){var r,n;if(typeof e.type=="function"){for(r=e.__k,n=0;r&&n<r.length;n++)r[n]&&(r[n].__=e,t=_0(r[n],t,o));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=Uo(e)),t=o.insertBefore(e.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function io(e,t){return t=t||[],e==null||typeof e=="boolean"||(An(e)?e.some(function(o){io(o,t)}):t.push(e)),t}function _2(e,t,o,r){var n,i,s,a=e.key,l=e.type,c=t[o],d=c!=null&&(2&c.__u)==0;if(c===null&&a==null||d&&a==c.key&&l==c.type)return o;if(r>(d?1:0)){for(n=o-1,i=o+1;n>=0||i<t.length;)if((c=t[s=n>=0?n--:i++])!=null&&(2&c.__u)==0&&a==c.key&&l==c.type)return s}return-1}function $u(e,t,o){t[0]=="-"?e.setProperty(t,o==null?"":o):e[t]=o==null?"":typeof o!="number"||B2.test(t)?o:o+"px"}function Ln(e,t,o,r,n){var i,s;e:if(t=="style")if(typeof o=="string")e.style.cssText=o;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)o&&t in o||$u(e.style,t,"");if(o)for(t in o)r&&o[t]==r[t]||$u(e.style,t,o[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(z0,"$1")),s=t.toLowerCase(),t=s in e||t=="onFocusOut"||t=="onFocusIn"?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=o,o?r?o[Wr]=r[Wr]:(o[Wr]=Tc,e.addEventListener(t,i?ya:va,i)):e.removeEventListener(t,i?ya:va,i);else{if(n=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=o==null?"":o;break e}catch{}typeof o=="function"||(o==null||o===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&o==1?"":o))}}function ed(e){return function(t){if(this.l){var o=this.l[t.type+e];if(t[ri]==null)t[ri]=Tc++;else if(t[ri]<o[Wr])return;return o(le.event?le.event(t):t)}}}function Mc(e,t,o,r,n,i,s,a,l,c){var d,g,f,b,v,p,h,m,y,C,A,S,M,H,I,W,K=t.type;if(t.constructor!==void 0)return null;128&o.__u&&(l=!!(32&o.__u),i=[a=t.__e=o.__e]),(d=le.__b)&&d(t);e:if(typeof K=="function"){g=s.length;try{if(y=t.props,C=K.prototype&&K.prototype.render,A=(d=K.contextType)&&r[d.__c],S=d?A?A.props.value:d.__:r,o.__c?m=(f=t.__c=o.__c).__=f.__E:(C?t.__c=f=new K(y,S):(t.__c=f=new It(y,S),f.constructor=K,f.render=N2),A&&A.sub(f),f.state||(f.state={}),f.__n=r,b=f.__d=!0,f.__h=[],f._sb=[]),C&&f.__s==null&&(f.__s=f.state),C&&K.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=Yt({},f.__s)),Yt(f.__s,K.getDerivedStateFromProps(y,f.__s))),v=f.props,p=f.state,f.__v=t,b)C&&K.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),C&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(C&&K.getDerivedStateFromProps==null&&y!==v&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(y,S),t.__v==o.__v||!f.__e&&f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(y,f.__s,S)===!1){t.__v!=o.__v&&(f.props=y,f.state=f.__s,f.__d=!1),t.__e=o.__e,t.__k=o.__k,t.__k.some(function(V){V&&(V.__=t)}),yi.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&s.push(f),a=Uo(o);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(y,f.__s,S),C&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(v,p,h)})}if(f.context=S,f.props=y,f.__P=e,f.__e=!1,M=le.__r,H=0,C)f.state=f.__s,f.__d=!1,M&&M(t),d=f.render(f.props,f.state,f.context),yi.push.apply(f.__h,f._sb),f._sb=[];else do f.__d=!1,M&&M(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++H<25);f.state=f.__s,f.getChildContext!=null&&(r=Yt(Yt({},r),f.getChildContext())),C&&!b&&f.getSnapshotBeforeUpdate!=null&&(h=f.getSnapshotBeforeUpdate(v,p)),I=d!=null&&d.type===ue&&d.key==null?j0(d.props.children):d,a=L0(e,An(I)?I:[I],t,o,r,n,i,s,a,l,c),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),m&&(f.__E=f.__=null)}catch(V){if(s.length=g,t.__v=null,l||i!=null){if(V.then){for(t.__u|=l?160:128;a&&a.nodeType==8&&a.nextSibling;)a=a.nextSibling;i!=null&&(i[i.indexOf(a)]=null),t.__e=a}else if(i!=null)for(W=i.length;W--;)Rc(i[W])}else t.__e=o.__e;t.__k==null&&(t.__k=o.__k||[]),V.then||I0(t),le.__e(V,t,o)}}else i==null&&t.__v==o.__v?(t.__k=o.__k,t.__e=o.__e):a=t.__e=I2(o.__e,t,o,r,n,i,s,l,c);return(d=le.diffed)&&d(t),128&t.__u?void 0:a}function I0(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(I0))}function N0(e,t,o){for(var r=0;r<o.length;r++)zc(o[r],o[++r],o[++r]);le.__c&&le.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(i){i.call(n)})}catch(i){le.__e(i,n.__v)}})}function j0(e){return typeof e!="object"||e==null||e.__b>0?e:An(e)?e.map(j0):e.constructor!==void 0?null:Yt({},e)}function I2(e,t,o,r,n,i,s,a,l){var c,d,g,f,b,v,p,h=o.props||vi,m=t.props,y=t.type;if(y=="svg"?n="http://www.w3.org/2000/svg":y=="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),i!=null){for(c=0;c<i.length;c++)if((b=i[c])&&"setAttribute"in b==!!y&&(y?b.localName==y:b.nodeType==3)){e=b,i[c]=null;break}}if(e==null){if(y==null)return document.createTextNode(m);e=document.createElementNS(n,y,m.is&&m),a&&(le.__m&&le.__m(t,i),a=!1),i=null}if(y==null)h===m||a&&e.data==m||(e.data=m);else{if(i=y=="textarea"&&m.defaultValue!=null?null:i&&kn.call(e.childNodes),!a&&i!=null)for(h={},c=0;c<e.attributes.length;c++)h[(b=e.attributes[c]).name]=b.value;for(c in h)b=h[c],c=="dangerouslySetInnerHTML"?g=b:c=="children"||c in m||c=="value"&&"defaultValue"in m||c=="checked"&&"defaultChecked"in m||Ln(e,c,null,b,n);for(c in m)b=m[c],c=="children"?f=b:c=="dangerouslySetInnerHTML"?d=b:c=="value"?v=b:c=="checked"?p=b:a&&typeof b!="function"||h[c]===b||Ln(e,c,b,h[c],n);if(d)a||g&&(d.__html==g.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(g&&(e.innerHTML=""),L0(t.type=="template"?e.content:e,An(f)?f:[f],t,o,r,y=="foreignObject"?"http://www.w3.org/1999/xhtml":n,i,s,i?i[0]:o.__k&&Uo(o,0),a,l),i!=null)for(c=i.length;c--;)Rc(i[c]);a&&y!="textarea"||(c="value",y=="progress"&&v==null?e.removeAttribute("value"):v!=null&&(v!==e[c]||y=="progress"&&!v||y=="option"&&v!=h[c])&&Ln(e,c,v,h[c],n),c="checked",p!=null&&p!=e[c]&&Ln(e,c,p,h[c],n))}return e}function zc(e,t,o){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(n){le.__e(n,o)}}function X0(e,t,o){var r,n;if(le.unmount&&le.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||zc(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){le.__e(i,t)}r.base=r.__P=r.__n=null}if(r=e.__k)for(n=0;n<r.length;n++)r[n]&&X0(r[n],t,o||typeof e.type!="function");o||Rc(e.__e),e.__c=e.__=e.__e=void 0}function N2(e,t,o){return this.constructor(e,o)}function sn(e,t,o){var r,n,i,s;t==document&&(t=document.documentElement),le.__&&le.__(e,t),n=(r=typeof o=="function")?null:o&&o.__k||t.__k,i=[],s=[],Mc(t,e=(!r&&o||t).__k=P(ue,null,[e]),n||vi,vi,t.namespaceURI,!r&&o?[o]:n?null:t.firstChild?kn.call(t.childNodes):null,i,!r&&o?o:n?n.__e:t.firstChild,r,s),N0(i,e,s),e.props.children=null}function F0(e,t){sn(e,t,F0)}function j2(e,t,o){var r,n,i,s,a=Yt({},e.props);for(i in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?n=t[i]:a[i]=t[i]===void 0&&s!=null?s[i]:t[i];return arguments.length>2&&(a.children=arguments.length>3?kn.call(arguments,2):o),Yr(e.type,a,r||e.key,n||e.ref,null)}function Rr(e){function t(o){var r,n;return this.getChildContext||(r=new Set,(n={})[t.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&r.forEach(function(s){s.__e=!0,xa(s)})},this.sub=function(i){r.add(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){r&&r.delete(i),s&&s.call(i)}}),o.children}return t.__c="__cC"+H0++,t.__=e,t.Provider=t.__l=(t.Consumer=function(o,r){return o.children(r)}).contextType=t,t}kn=yi.slice,le={__e:function(e,t,o,r){for(var n,i,s;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&i.getDerivedStateFromError!=null&&(n.setState(i.getDerivedStateFromError(e)),s=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e,r||{}),s=n.__d),s)return n.__E=n}catch(a){e=a}throw e}},T0=0,It.prototype.setState=function(e,t){var o;o=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Yt({},this.state),typeof e=="function"&&(e=e(Yt({},o),this.props)),e&&Yt(o,e),e!=null&&this.__v&&(t&&this._sb.push(t),xa(this))},It.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),xa(this))},It.prototype.render=ue,mo=[],R0=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,M0=function(e,t){return e.__v.__b-t.__v.__b},xi.__r=0,ws=Math.random().toString(8),ri="__d"+ws,Wr="__a"+ws,z0=/(PointerCapture)$|Capture$/i,Tc=0,va=ed(!1),ya=ed(!0),H0=0;var so,Re,ks,td,xr=0,U0=[],Xe=le,od=Xe.__b,rd=Xe.__r,nd=Xe.diffed,id=Xe.__c,sd=Xe.unmount,ad=Xe.__;function Yo(e,t){Xe.__h&&Xe.__h(Re,e,xr||t),xr=0;var o=Re.__H||(Re.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({}),o.__[e]}function ye(e){return xr=1,Yi(V0,e)}function Yi(e,t,o){var r=Yo(so++,2);if(r.t=e,!r.__c&&(r.__=[o?o(t):V0(void 0,t),function(a){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,a);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=Re,!Re.__f)){var n=function(a,l,c){if(!r.__c.__H)return!0;var d=!1,g=r.__c.props!==a;if(r.__c.__H.__.some(function(b){if(b.__N){d=!0;var v=b.__[0];b.__=b.__N,b.__N=void 0,v!==b.__[0]&&(g=!0)}}),i){var f=i.call(this,a,l,c);return d?f||g:f}return!d||g};Re.__f=!0;var i=Re.shouldComponentUpdate,s=Re.componentWillUpdate;Re.componentWillUpdate=function(a,l,c){if(this.__e){var d=i;i=void 0,n(a,l,c),i=d}s&&s.call(this,a,l,c)},Re.shouldComponentUpdate=n}return r.__N||r.__}function Ie(e,t){var o=Yo(so++,3);!Xe.__s&&Dc(o.__H,t)&&(o.__=e,o.u=t,Re.__H.__h.push(o))}function lt(e,t){var o=Yo(so++,4);!Xe.__s&&Dc(o.__H,t)&&(o.__=e,o.u=t,Re.__h.push(o))}function Ke(e){return xr=5,Ut(function(){return{current:e}},[])}function Hc(e,t,o){xr=6,lt(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},o==null?o:o.concat(e))}function Ut(e,t){var o=Yo(so++,7);return Dc(o.__H,t)&&(o.__=e(),o.__H=t,o.__h=e),o.__}function xo(e,t){return xr=8,Ut(function(){return e},t)}function Ct(e){var t=Re.context[e.__c],o=Yo(so++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(Re)),t.props.value):e.__}function Qi(e,t){Xe.useDebugValue&&Xe.useDebugValue(t?t(e):e)}function X2(e){var t=Yo(so++,10),o=ye();return t.__=e,Re.componentDidCatch||(Re.componentDidCatch=function(r,n){t.__&&t.__(r,n),o[1](r)}),[o[0],function(){o[1](void 0)}]}function Bc(){var e=Yo(so++,11);if(!e.__){for(var t=Re.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var o=t.__m||(t.__m=[0,0]);e.__="P"+o[0]+"-"+o[1]++}return e.__}function F2(){for(var e;e=U0.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ni),t.__h.some(wa),t.__h=[]}catch(o){t.__h=[],Xe.__e(o,e.__v)}}}Xe.__b=function(e){Re=null,od&&od(e)},Xe.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ad&&ad(e,t)},Xe.__r=function(e){rd&&rd(e),so=0;var t=(Re=e.__c).__H;t&&(ks===Re?(t.__h=[],Re.__h=[],t.__.some(function(o){o.__N&&(o.__=o.__N),o.u=o.__N=void 0})):(t.__h.some(ni),t.__h.some(wa),t.__h=[],so=0)),ks=Re},Xe.diffed=function(e){nd&&nd(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(U0.push(t)!==1&&td===Xe.requestAnimationFrame||((td=Xe.requestAnimationFrame)||U2)(F2)),t.__H.__.some(function(o){o.u&&(o.__H=o.u,o.u=void 0)})),ks=Re=null},Xe.__c=function(e,t){t.some(function(o){try{o.__h.some(ni),o.__h=o.__h.filter(function(r){return!r.__||wa(r)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],Xe.__e(r,o.__v)}}),id&&id(e,t)},Xe.unmount=function(e){sd&&sd(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.some(function(r){try{ni(r)}catch(n){t=n}}),o.__H=void 0,t&&Xe.__e(t,o.__v))};var ld=typeof requestAnimationFrame=="function";function U2(e){var t,o=function(){clearTimeout(r),ld&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(o,35);ld&&(t=requestAnimationFrame(o))}function ni(e){var t=Re,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),Re=t}function wa(e){var t=Re;e.__c=e.__(),Re=t}function Dc(e,t){return!e||e.length!==t.length||t.some(function(o,r){return o!==e[r]})}function V0(e,t){return typeof t=="function"?t(e):t}function G0(e,t){for(var o in t)e[o]=t[o];return e}function ka(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Sn(e,t){var o=t(),r=ye({t:{__:o,u:t}}),n=r[0].t,i=r[1];return lt(function(){n.__=o,n.u=t,As(n)&&i({t:n})},[e,o,t]),Ie(function(){return As(n)&&i({t:n}),e(function(){As(n)&&i({t:n})})},[e]),o}function As(e){try{return!((t=e.__)===(o=e.u())&&(t!==0||1/t==1/o)||t!=t&&o!=o)}catch{return!0}var t,o}function Lc(e){e()}function _c(e){return e}function Ic(){return[!1,Lc]}var Nc=lt;function wr(e,t){this.props=e,this.context=t}function q0(e,t){function o(n){var i=this.props.ref;return i!=n.ref&&i&&(typeof i=="function"?i(null):i.current=null),t?!t(this.props,n)||i!=n.ref:ka(this.props,n)}function r(n){return this.shouldComponentUpdate=o,P(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.__f=r.prototype.isReactComponent=!0,r.type=e,r}(wr.prototype=new It).isPureReactComponent=!0,wr.prototype.shouldComponentUpdate=function(e,t){return ka(this.props,e)||ka(this.state,t)};var cd=le.__b;le.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),cd&&cd(e)};var V2=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function vt(e){function t(o){var r=G0({},o);return delete r.ref,e(r,o.ref||null)}return t.$$typeof=V2,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ud=function(e,t){return e==null?null:io(io(e).map(t))},J0={map:ud,forEach:ud,count:function(e){return e?io(e).length:0},only:function(e){var t=io(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:io},G2=le.__e;le.__e=function(e,t,o,r){if(e.then){for(var n,i=t;i=i.__;)if((n=i.__c)&&n.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k||[]),n.__c(e,t)}G2(e,t,o,r)};var dd=le.unmount;function W0(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=G0({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return W0(r,t,o)})),e}function Y0(e,t,o){return e&&o&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Y0(r,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=o)),e}function Qr(){this.__u=0,this.o=null,this.__b=null}function Q0(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function Z0(e){var t,o,r,n=null;function i(s){if(t||(t=e()).then(function(a){a&&(n=a.default||a),r=!0},function(a){o=a,r=!0}),o)throw o;if(!r)throw t;return n?P(n,s):null}return i.displayName="Lazy",i.__f=!0,i}function sr(){this.i=null,this.l=null}le.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),dd&&dd(e)},(Qr.prototype=new It).__c=function(e,t){var o=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(o);var n=Q0(r.__v),i=!1,s=function(){i||r.__z||(i=!0,o.__R=null,n?n(l):l())};o.__R=s;var a=o.__P;o.__P=null;var l=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Y0(c,c.__c.__P,c.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.o.pop();)d.__P=a,d.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},Qr.prototype.componentWillUnmount=function(){this.o=[]},Qr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=W0(this.__b,o,r.__O=r.__P)}this.__b=null}var n=t.__a&&P(ue,null,e.fallback);return n&&(n.__u&=-33),[P(ue,null,t.__a?null:e.children),n]};var fd=function(e,t,o){if(++o[1]===o[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(o=e.i;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.i=o=o[2]}};function q2(e){return this.getChildContext=function(){return e.context},e.children}function J2(e){var t=this,o=e.h;if(t.componentWillUnmount=function(){sn(null,t.v),t.v=null,t.h=null},t.h&&t.h!==o&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=o,t.v={nodeType:1,parentNode:o,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:o.namespaceURI,insertBefore:function(n,i){this.childNodes.push(n),t.h.insertBefore(n,i)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}}sn(P(q2,{context:t.context},e.__v),t.v)}function K0(e,t){var o=P(J2,{__v:e,h:t});return o.containerInfo=t,o}(sr.prototype=new It).__a=function(e){var t=this,o=Q0(t.__v),r=t.l.get(e);return r[0]++,function(n){var i=function(){t.props.revealOrder?(r.push(n),fd(t,e,r)):n()};o?o(i):i()}},sr.prototype.render=function(e){this.i=null,this.l=new Map;var t=io(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.l.set(t[o],this.i=[1,0,this.i]);return e.children},sr.prototype.componentDidUpdate=sr.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,o){fd(e,o,t)})};var $0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,W2=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Y2=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Q2=/[A-Z0-9]/g,Z2=typeof document<"u",K2=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function jc(e,t,o){return t.__k==null&&(t.textContent=""),sn(e,t),typeof o=="function"&&o(),e?e.__c:null}function eg(e,t,o){return F0(e,t),typeof o=="function"&&o(),e?e.__c:null}It.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(It.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var pd=le.event;le.event=function(e){return pd&&(e=pd(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var Xc,$2={configurable:!0,get:function(){return this.class}},hd=le.vnode;le.vnode=function(e){typeof e.type=="string"&&(function(t){var o=t.props,r=t.type,n={},i=r.indexOf("-")==-1;for(var s in o){var a=o[s];if(!(s==="value"&&"defaultValue"in o&&a==null||Z2&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in o&&o.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||K2(o.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":Y2.test(s)&&(s=l):l=s="oninput":i&&W2.test(s)?s=s.replace(Q2,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&n[s=l]&&(s="oninputCapture"),n[s]=a}}r=="select"&&(n.multiple&&Array.isArray(n.value)&&(n.value=io(o.children).forEach(function(c){c.props.selected=n.value.indexOf(c.props.value)!=-1})),n.defaultValue!=null&&(n.value=io(o.children).forEach(function(c){c.props.selected=n.multiple?n.defaultValue.indexOf(c.props.value)!=-1:n.defaultValue==c.props.value}))),o.class&&!o.className?(n.class=o.class,Object.defineProperty(n,"className",$2)):o.className&&(n.class=n.className=o.className),t.props=n})(e),e.$$typeof=$0,hd&&hd(e)};var gd=le.__r;le.__r=function(e){gd&&gd(e),Xc=e.__c};var md=le.diffed;le.diffed=function(e){md&&md(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value),Xc=null};var tg={ReactCurrentDispatcher:{current:{readContext:function(e){return Xc.__n[e.__c].props.value},useCallback:xo,useContext:Ct,useDebugValue:Qi,useDeferredValue:_c,useEffect:Ie,useId:Bc,useImperativeHandle:Hc,useInsertionEffect:Nc,useLayoutEffect:lt,useMemo:Ut,useReducer:Yi,useRef:Ke,useState:ye,useSyncExternalStore:Sn,useTransition:Ic}}},eb="18.3.1";function og(e){return P.bind(null,e)}function Co(e){return!!e&&e.$$typeof===$0}function rg(e){return Co(e)&&e.type===ue}function ng(e){return!!e&&typeof e.displayName=="string"&&e.displayName.indexOf("Memo(")==0}function Fc(e){return Co(e)?j2.apply(null,arguments):e}function Uc(e){return!!e.__k&&(sn(null,e),!0)}function ig(e){return e&&(e.base||e.nodeType===1&&e)||null}var sg=function(e,t){return e(t)},ag=function(e,t){var o,r=le.debounceRendering;le.debounceRendering=function(i){o=i};try{var n=e(t);return o&&o(),n}finally{le.debounceRendering=r}},lg=Co,Me={useState:ye,useId:Bc,useReducer:Yi,useEffect:Ie,useLayoutEffect:lt,useInsertionEffect:Nc,useTransition:Ic,useDeferredValue:_c,useSyncExternalStore:Sn,startTransition:Lc,useRef:Ke,useImperativeHandle:Hc,useMemo:Ut,useCallback:xo,useContext:Ct,useDebugValue:Qi,version:"18.3.1",Children:J0,render:jc,hydrate:eg,unmountComponentAtNode:Uc,createPortal:K0,createElement:P,createContext:Rr,createFactory:og,cloneElement:Fc,createRef:B0,Fragment:ue,isValidElement:Co,isElement:lg,isFragment:rg,isMemo:ng,findDOMNode:ig,Component:It,PureComponent:wr,memo:q0,forwardRef:vt,flushSync:ag,unstable_batchedUpdates:sg,StrictMode:ue,Suspense:Qr,SuspenseList:sr,lazy:Z0,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:tg};const tb=Object.freeze(Object.defineProperty({__proto__:null,Children:J0,Component:It,Fragment:ue,PureComponent:wr,StrictMode:ue,Suspense:Qr,SuspenseList:sr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:tg,cloneElement:Fc,createContext:Rr,createElement:P,createFactory:og,createPortal:K0,createRef:B0,default:Me,findDOMNode:ig,flushSync:ag,forwardRef:vt,hydrate:eg,isElement:lg,isFragment:rg,isMemo:ng,isValidElement:Co,lazy:Z0,memo:q0,render:jc,startTransition:Lc,unmountComponentAtNode:Uc,unstable_batchedUpdates:sg,useCallback:xo,useContext:Ct,useDebugValue:Qi,useDeferredValue:_c,useEffect:Ie,useErrorBoundary:X2,useId:Bc,useImperativeHandle:Hc,useInsertionEffect:Nc,useLayoutEffect:lt,useMemo:Ut,useReducer:Yi,useRef:Ke,useState:ye,useSyncExternalStore:Sn,useTransition:Ic,version:eb},Symbol.toStringTag,{value:"Module"}));function bd(e){return{render:function(t){jc(t,e)},unmount:function(){Uc(e)}}}const vd={1:"1 класс",2:"2 класс",3:"3 класс",4:"4 класс",5:"5 класс",6:"6 класс",7:"7 класс",8:"8 класс",9:"9 класс",10:"10 класс",11:"11 класс"},yd={address:{building:null,cityId:null,cityName:null,countryId:null,countryName:null,house:null,index:null,regionId:null,regionName:null,room:null,street:null},admissionFinishesOn:null,algoritmika:!1,avatarUrl:"",bonus:{giftAmount:0,realMoneyAmount:0},bonusAmount:0,bonusesPageVisited:!1,canChangeSchoolInfo:!1,cartItemsCount:0,cartTemplateId:null,createdAt:null,currentInterest:{businessUnitAbbrs:[],disciplineId:null,gradeId:null,levelId:null,productFormat:null,productId:null,reason:null},disciplineIds:[],email:"",emailConfirmed:!1,externshipDemoAccessActive:!1,externshipPaymentRequired:null,externshipPromoHeaderOn:!1,externshipUser:!1,fakeEmail:!1,fakeUser:!1,firstName:"",freeAccessFinishesAt:null,fullName:"",grade:{id:null,index:null,name:"",translit:""},gradeChecked:!1,hasAccessToAttestationSheets:!1,hasAccessToMultiDaysStreaks:!1,hasActivePurchases:!1,hasAttemptsSolveExamRehearsals:!1,hasBookmarks:!1,hasExamProgressAccess:!1,hasExternshipAttestationAccess:!1,hasPurchasedExternshipContracts:!1,hasYearlyRecapAccess:!1,id:null,isAgent:!1,isAttestationSchoolManager:null,isCoach:!1,isCustomer:null,isElementaryPupil:!1,isExternshipCoach:!1,isGraduated:!1,isLabsEnabled:!1,isMentor:!1,isMiniGroupTeacher:!1,isParent:!1,isXpStreakAvailable:!1,lastName:"",leaderboard:null,leaderboardAccessState:"unavailable",learningGoalsAccessState:"disabled",locale:null,messengerSubscriptions:null,methodist:!1,middleName:"",needToPromoteRenewalWithCoach:!1,nextYearCoursesBannerAvailable:!1,onboardingFinished:!1,onboardingFinishedAt:null,parentPhone:null,parentPhoneConfirmed:!1,passwordSet:null,phone:null,phoneConfirmed:!1,privacy:{publicProfile:!1},profileEnriched:!1,purchaseAnyExternshipContracts:!1,recapUuid:null,referralCode:null,shortName:"",skype:null,socialNets:[],socializationProfile:null,tags:null,targetActionsOnboardingAvailable:!1,timezone:null,type:null,webSocketNotificationsJwt:null},Do=class Do{constructor(t,o=!1){this.props=t,this.isDefault=o,this.getRole=()=>{if(this.isCoach)return"Репетитор";if(this.isAgent)return"Учитель";if(this.isParent)return"Родитель";switch(this.type){case"pupil":return this.getPupilRole();case"agent":return"Учитель";default:return"Ученик"}},this.getInitials=()=>{var r,n;return`${this.lastName}${this.firstName?` ${(r=this.firstName[0])==null?void 0:r.toUpperCase()}.`:""}${this.middleName!==""&&this.middleName!==null?` ${(n=this.middleName[0])==null?void 0:n.toUpperCase()}.`:""}`}}get id(){return this.props.id}get email(){return this.props.email}get firstName(){return this.props.firstName}get middleName(){return this.props.middleName}get lastName(){return this.props.lastName}get fullName(){return this.props.fullName}get shortName(){return this.props.shortName}get createdAt(){return this.props.createdAt}get timezone(){return this.props.timezone}get locale(){return this.props.locale}get grade(){return this.props.grade}get phone(){return this.props.phone}get avatarUrl(){return this.props.avatarUrl}get isParent(){return this.props.isParent}get isGraduated(){return this.props.isGraduated}get gradeChecked(){return this.props.gradeChecked}get type(){return this.props.type}get isCoach(){return this.props.isCoach}get isMiniGroupTeacher(){return this.props.isMiniGroupTeacher}get isExternshipCoach(){return this.props.isExternshipCoach}get isAgent(){return this.props.isAgent}get methodist(){return this.props.methodist}get address(){return this.props.address}get socialNets(){return this.props.socialNets}get skype(){return this.props.skype}get settings(){return this.props.settings}get bonus(){return this.props.bonus}get bonusAmount(){return this.props.bonusAmount}get hasActivePurchases(){return this.props.hasActivePurchases}get hasAttemptsSolveExamRehearsals(){return this.props.hasAttemptsSolveExamRehearsals}get hasBookmarks(){return this.props.hasBookmarks}get tags(){return this.props.tags}get cartTemplateId(){return this.props.cartTemplateId}get cartItemsCount(){return this.props.cartItemsCount}get onboardingFinished(){return this.props.onboardingFinished}get onboardingFinishedAt(){return this.props.onboardingFinishedAt}get emailConfirmed(){return this.props.emailConfirmed}get phoneConfirmed(){return this.props.phoneConfirmed}get fakeEmail(){return this.props.fakeEmail}get fakeUser(){return this.props.fakeUser}get profileEnriched(){return this.props.profileEnriched}get recapUuid(){return this.props.recapUuid}get disciplineIds(){return this.props.disciplineIds}get privacy(){return this.props.privacy}get parentPhone(){return this.props.parentPhone}get parentPhoneConfirmed(){return this.props.parentPhoneConfirmed}get isCustomer(){return this.props.isCustomer}get hasAccessToMultiDaysStreaks(){return this.props.hasAccessToMultiDaysStreaks}get isElementaryPupil(){return this.props.isElementaryPupil}get webSocketNotificationsJwt(){return this.props.webSocketNotificationsJwt}get hasAccessToAttestationSheets(){return this.props.hasAccessToAttestationSheets}get externshipUser(){return this.props.externshipUser}get hasPurchasedExternshipContracts(){return this.props.hasPurchasedExternshipContracts}get hasExternshipAttestationAccess(){return this.props.hasExternshipAttestationAccess}get socializationProfile(){return this.props.socializationProfile}get freeAccessFinishesAt(){return this.props.freeAccessFinishesAt}get hasUnseenRoomFeatures(){return this.props.hasUnseenRoomFeatures}get purchaseAnyExternshipContracts(){return this.props.purchaseAnyExternshipContracts}get hasExternshipRelation(){return this.props.hasExternshipRelation}get hasExternshipActiveContract(){return this.props.hasExternshipActiveContract}get canProlongateContract(){return this.props.canProlongateContract}get prolongation(){return this.props.prolongation}get currentInterest(){return this.props.currentInterest}get admissionFinishesOn(){return this.props.admissionFinishesOn}get algoritmika(){return this.props.algoritmika}get bonusesPageVisited(){return this.props.bonusesPageVisited}get canChangeSchoolInfo(){return this.props.canChangeSchoolInfo}get externshipDemoAccessActive(){return this.props.externshipDemoAccessActive}get externshipPaymentRequired(){return this.props.externshipPaymentRequired}get externshipPromoHeaderOn(){return this.props.externshipPromoHeaderOn}get hasExamProgressAccess(){return this.props.hasExamProgressAccess}get hasYearlyRecapAccess(){return this.props.hasYearlyRecapAccess}get isAttestationSchoolManager(){return this.props.isAttestationSchoolManager}get isLabsEnabled(){return this.props.isLabsEnabled}get isMentor(){return this.props.isMentor}get isXpStreakAvailable(){return this.props.isXpStreakAvailable}get leaderboard(){return this.props.leaderboard}get leaderboardAccessState(){return this.props.leaderboardAccessState}get learningGoalsAccessState(){return this.props.learningGoalsAccessState}get messengerSubscriptions(){return this.props.messengerSubscriptions}get needToPromoteRenewalWithCoach(){return this.props.needToPromoteRenewalWithCoach}get nextYearCoursesBannerAvailable(){return this.props.nextYearCoursesBannerAvailable}get passwordSet(){return this.props.passwordSet}get referralCode(){return this.props.referralCode}get targetActionsOnboardingAvailable(){return this.props.targetActionsOnboardingAvailable}isProlongationBetweenDates(){var n;const{endsAt:t,startsAt:o}=(n=this.props.prolongation)!=null?n:{};if(o==null||t===void 0||t===null)return!1;const r=Date.now();return r>=Date.parse(o)&&r<=Date.parse(t)}static deepClone(t,o=new WeakMap){if(t===null||typeof t!="object")return t;if(o.has(t))return o.get(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t.source,t.flags);if(Array.isArray(t)){const n=[];return o.set(t,n),t.forEach((i,s)=>{n[s]=this.deepClone(i,o)}),n}const r=Object.create(Object.getPrototypeOf(t));return o.set(t,r),Object.keys(t).forEach(n=>{r[n]=this.deepClone(t[n],o)}),r}static createDefault(){return new Do(this.deepClone(yd),!0)}static defaultDto(){return this.deepClone(yd)}static sanitizeString(t){return typeof t!="string"?(console.warn("[User] Invalid string type:",typeof t),String(t)):t.replace(/\x00/g,"").trim()}static fromApi(t){const o=this.sanitizeUserData(this.deepClone(t));return new Do(o)}static sanitizeUserData(t){return{...t,email:this.sanitizeString(t.email),firstName:this.sanitizeString(t.firstName),fullName:this.sanitizeString(t.fullName),lastName:this.sanitizeString(t.lastName),middleName:t.middleName?this.sanitizeString(t.middleName):t.middleName,shortName:this.sanitizeString(t.shortName)}}isDefaultUser(){return this.isDefault}isLoggedIn(){return!!(this.id&&this.id>0)}getPupilRole(){return this.grade.index===0?"Дошкольник":this.grade.index==null?"Выпускник":Do.getGradeString(this.grade.index)}toJson(){return JSON.stringify(this.props)}toDto(){return Do.deepClone(this.props)}};Do.getGradeString=t=>vd[t]||vd[1];let Tt=Do;function ob(e){return e.replace(/_([a-z0-9])/g,(t,o)=>o.toUpperCase())}function Aa(e){return Array.isArray(e)?e.map(Aa):e===null||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,o])=>[ob(t),Aa(o)]))}function rb(e){var r;const t=e!=null?e:{},o=n=>{var i;return(i=t[n])!=null?i:void 0};return{email:o("email"),max:o("max"),phone:o("phone"),salesPhone:(r=o("sales_phone"))!=null?r:o("salesPhone"),telegram:o("telegram"),vkontakte:o("vkontakte")}}const Cn=Tt.defaultDto();function Vc(e){return Aa(e)}const nb="main_menu_grades_list",ib=11;function sb(e){return Array.from({length:ib},(t,o)=>{const r=o+1;return{grade:r,title:`${r} класс`,url:e.replace(":grade_index",`${r}-klass`)}})}function ab(e){return{...e,id:String(e.id)}}function lb(e){var t,o,r;return{bottomSpace:e.bottomSpace,...(t=e.highlightMasks)!=null&&t.length?{highlightMasks:e.highlightMasks}:{},id:String(e.id),innerTitle:(o=e.innerTitle)!=null?o:e.title,innerTitleUrl:e.innerTitleUrl,lists:((r=e.subitems)!=null?r:[]).map(n=>{var i,s;return n.kind==="spacer"?{id:String(n.id),kind:"spacer",size:n.size}:{columnNumber:(i=n.columnNumber)!=null?i:1,id:String(n.id),items:((s=n.subitems)!=null?s:[]).map(a=>({bold:a.bold,description:a.description,...a.kind===nb?{grades:sb(a.url)}:{},icon:a.icon,id:String(a.id),title:a.title,underline:a.underline,url:a.url})),title:n.title,url:n.url}}),sourceId:e.id,title:e.title,url:e.url}}function cg(e){var r,n;const t=e!=null?e:{},o=t.user;return{appOptions:{contacts:rb(t.contacts),externalReviewsPageAvailable:(n=(r=t.external_reviews)==null?void 0:r.page_available)!=null?n:!1},user:o===void 0||o.id===null||o.id===void 0?Tt.createDefault():Tt.fromApi({...Cn,...Vc(o)})}}const xd="foxford-navigation-fonts",oo="https://static.ngcdn.ru/assets/fonts",cb=["circe_regular.woff2","circe_bold.woff2","TTFoxfordExtraBold.woff2"].map(e=>({as:"font",crossOrigin:"anonymous",href:`${oo}/${e}`,type:"font/woff2"})),ub=`
|
|
2
2
|
@font-face {
|
|
3
3
|
font-display: swap;
|
|
4
4
|
font-family: 'TT Foxford';
|
|
@@ -27,10 +27,10 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
27
27
|
font-weight: bold;
|
|
28
28
|
src: url('${oo}/circe_bold.woff2') format('woff2'), url('${oo}/circe_bold.woff') format('woff');
|
|
29
29
|
}
|
|
30
|
-
`;function db(){if(typeof document>"u"||document.getElementById(xd)!==null)return;for(const{as:t,crossOrigin:o,href:r,type:n}of cb){const i=document.createElement("link");i.crossOrigin=o,i.as=t,i.href=r,i.rel="preload",i.type=n,document.head.append(i)}const e=document.createElement("style");e.id=xd,e.textContent=ub,document.head.append(e)}async function fb(){typeof document>"u"||!("fonts"in document)||await document.fonts.ready}var pb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hb(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var o=function r(){var n=!1;try{n=this instanceof r}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),o}var Ss={exports:{}},Oe={};var wd;function gb(){if(wd)return Oe;wd=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function v(g){if(typeof g=="object"&&g!==null){var p=g.$$typeof;switch(p){case e:switch(g=g.type,g){case o:case n:case r:case l:case c:case f:return g;default:switch(g=g&&g.$$typeof,g){case s:case a:case h:case d:return g;case i:return g;default:return p}}case t:return p}}}return Oe.ContextConsumer=i,Oe.ContextProvider=s,Oe.Element=e,Oe.ForwardRef=a,Oe.Fragment=o,Oe.Lazy=h,Oe.Memo=d,Oe.Portal=t,Oe.Profiler=n,Oe.StrictMode=r,Oe.Suspense=l,Oe.SuspenseList=c,Oe.isContextConsumer=function(g){return v(g)===i},Oe.isContextProvider=function(g){return v(g)===s},Oe.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Oe.isForwardRef=function(g){return v(g)===a},Oe.isFragment=function(g){return v(g)===o},Oe.isLazy=function(g){return v(g)===h},Oe.isMemo=function(g){return v(g)===d},Oe.isPortal=function(g){return v(g)===t},Oe.isProfiler=function(g){return v(g)===n},Oe.isStrictMode=function(g){return v(g)===r},Oe.isSuspense=function(g){return v(g)===l},Oe.isSuspenseList=function(g){return v(g)===c},Oe.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===o||g===n||g===r||g===l||g===c||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===d||g.$$typeof===s||g.$$typeof===i||g.$$typeof===a||g.$$typeof===b||g.getModuleId!==void 0)},Oe.typeOf=v,Oe}var kd;function mb(){return kd||(kd=1,Ss.exports=gb()),Ss.exports}var ug=mb(),Cs,Ad;function bb(){return Ad||(Ad=1,Cs=function(t,o,r,n){var i=r?r.call(n,t,o):void 0;if(i!==void 0)return!!i;if(t===o)return!0;if(typeof t!="object"||!t||typeof o!="object"||!o)return!1;var s=Object.keys(t),a=Object.keys(o);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(o),c=0;c<s.length;c++){var d=s[c];if(!l(d))return!1;var h=t[d],f=o[d];if(i=r?r.call(n,h,f,d):void 0,i===!1||i===void 0&&h!==f)return!1}return!0}),Cs}var vb=bb();const yb=Mr(vb);function xb(e){function t(N,j,U,G,T){for(var oe=0,_=0,de=0,se=0,ge,Y,w=0,O=0,x,z=x=ge=0,B=0,L=0,ne=0,ae=0,Ce=U.length,De=Ce-1,st,J="",We="",ys="",xs="",po;B<Ce;){if(Y=U.charCodeAt(B),B===De&&_+se+de+oe!==0&&(_!==0&&(Y=_===47?10:47),se=de=oe=0,Ce++,De++),_+se+de+oe===0){if(B===De&&(0<L&&(J=J.replace(f,"")),0<J.trim().length)){switch(Y){case 32:case 9:case 59:case 13:case 10:break;default:J+=U.charAt(B)}Y=59}switch(Y){case 123:for(J=J.trim(),ge=J.charCodeAt(0),x=1,ae=++B;B<Ce;){switch(Y=U.charCodeAt(B)){case 123:x++;break;case 125:x--;break;case 47:switch(Y=U.charCodeAt(B+1)){case 42:case 47:e:{for(z=B+1;z<De;++z)switch(U.charCodeAt(z)){case 47:if(Y===42&&U.charCodeAt(z-1)===42&&B+2!==z){B=z+1;break e}break;case 10:if(Y===47){B=z+1;break e}}B=z}}break;case 91:Y++;case 40:Y++;case 34:case 39:for(;B++<De&&U.charCodeAt(B)!==Y;);}if(x===0)break;B++}switch(x=U.substring(ae,B),ge===0&&(ge=(J=J.replace(h,"").trim()).charCodeAt(0)),ge){case 64:switch(0<L&&(J=J.replace(f,"")),Y=J.charCodeAt(1),Y){case 100:case 109:case 115:case 45:L=j;break;default:L=Je}if(x=t(j,L,x,Y,T+1),ae=x.length,0<ke&&(L=o(Je,J,ne),po=a(3,x,L,j,He,te,ae,Y,T,G),J=L.join(""),po!==void 0&&(ae=(x=po.trim()).length)===0&&(Y=0,x="")),0<ae)switch(Y){case 115:J=J.replace(M,s);case 100:case 109:case 45:x=J+"{"+x+"}";break;case 107:J=J.replace(y,"$1 $2"),x=J+"{"+x+"}",x=we===1||we===2&&i("@"+x,3)?"@-webkit-"+x+"@"+x:"@"+x;break;default:x=J+x,G===112&&(x=(We+=x,""))}else x="";break;default:x=t(j,o(j,J,ne),x,G,T+1)}ys+=x,x=ne=L=z=ge=0,J="",Y=U.charCodeAt(++B);break;case 125:case 59:if(J=(0<L?J.replace(f,""):J).trim(),1<(ae=J.length))switch(z===0&&(ge=J.charCodeAt(0),ge===45||96<ge&&123>ge)&&(ae=(J=J.replace(" ",":")).length),0<ke&&(po=a(1,J,j,N,He,te,We.length,G,T,G))!==void 0&&(ae=(J=po.trim()).length)===0&&(J="\0\0"),ge=J.charCodeAt(0),Y=J.charCodeAt(1),ge){case 0:break;case 64:if(Y===105||Y===99){xs+=J+U.charAt(B);break}default:J.charCodeAt(ae-1)!==58&&(We+=n(J,ge,Y,J.charCodeAt(2)))}ne=L=z=ge=0,J="",Y=U.charCodeAt(++B)}}switch(Y){case 13:case 10:_===47?_=0:1+ge===0&&G!==107&&0<J.length&&(L=1,J+="\0"),0<ke*Z&&a(0,J,j,N,He,te,We.length,G,T,G),te=1,He++;break;case 59:case 125:if(_+se+de+oe===0){te++;break}default:switch(te++,st=U.charAt(B),Y){case 9:case 32:if(se+oe+_===0)switch(w){case 44:case 58:case 9:case 32:st="";break;default:Y!==32&&(st=" ")}break;case 0:st="\\0";break;case 12:st="\\f";break;case 11:st="\\v";break;case 38:se+_+oe===0&&(L=ne=1,st="\f"+st);break;case 108:if(se+_+oe+be===0&&0<z)switch(B-z){case 2:w===112&&U.charCodeAt(B-3)===58&&(be=w);case 8:O===111&&(be=O)}break;case 58:se+_+oe===0&&(z=B);break;case 44:_+de+se+oe===0&&(L=1,st+="\r");break;case 34:case 39:_===0&&(se=se===Y?0:se===0?Y:se);break;case 91:se+_+de===0&&oe++;break;case 93:se+_+de===0&&oe--;break;case 41:se+_+oe===0&&de--;break;case 40:se+_+oe===0&&(ge===0&&(2*w+3*O===533||(ge=1)),de++);break;case 64:_+de+se+oe+z+x===0&&(x=1);break;case 42:case 47:if(!(0<se+oe+de))switch(_){case 0:switch(2*Y+3*U.charCodeAt(B+1)){case 235:_=47;break;case 220:ae=B,_=42}break;case 42:Y===47&&w===42&&ae+2!==B&&(U.charCodeAt(ae+2)===33&&(We+=U.substring(ae,B+1)),st="",_=0)}}_===0&&(J+=st)}O=w,w=Y,B++}if(ae=We.length,0<ae){if(L=j,0<ke&&(po=a(2,We,L,N,He,te,ae,G,T,G),po!==void 0&&(We=po).length===0))return xs+We+ys;if(We=L.join(",")+"{"+We+"}",we*be!==0){switch(we!==2||i(We,2)||(be=0),be){case 111:We=We.replace(A,":-moz-$1")+We;break;case 112:We=We.replace(C,"::-webkit-input-$1")+We.replace(C,"::-moz-$1")+We.replace(C,":-ms-input-$1")+We}be=0}}return xs+We+ys}function o(N,j,U){var G=j.trim().split(p);j=G;var T=G.length,oe=N.length;switch(oe){case 0:case 1:var _=0;for(N=oe===0?"":N[0]+" ";_<T;++_)j[_]=r(N,j[_],U).trim();break;default:var de=_=0;for(j=[];_<T;++_)for(var se=0;se<oe;++se)j[de++]=r(N[se]+" ",G[_],U).trim()}return j}function r(N,j,U){var G=j.charCodeAt(0);switch(33>G&&(G=(j=j.trim()).charCodeAt(0)),G){case 38:return j.replace(m,"$1"+N.trim());case 58:return N.trim()+j.replace(m,"$1"+N.trim());default:if(0<1*U&&0<j.indexOf("\f"))return j.replace(m,(N.charCodeAt(0)===58?"":"$1")+N.trim())}return N+j}function n(N,j,U,G){var T=N+";",oe=2*j+3*U+4*G;if(oe===944){N=T.indexOf(":",9)+1;var _=T.substring(N,T.length-1).trim();return _=T.substring(0,N).trim()+_+";",we===1||we===2&&i(_,1)?"-webkit-"+_+_:_}if(we===0||we===2&&!i(T,1))return T;switch(oe){case 1015:return T.charCodeAt(10)===97?"-webkit-"+T+T:T;case 951:return T.charCodeAt(3)===116?"-webkit-"+T+T:T;case 963:return T.charCodeAt(5)===110?"-webkit-"+T+T:T;case 1009:if(T.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+T+T;case 978:return"-webkit-"+T+"-moz-"+T+T;case 1019:case 983:return"-webkit-"+T+"-moz-"+T+"-ms-"+T+T;case 883:if(T.charCodeAt(8)===45)return"-webkit-"+T+T;if(0<T.indexOf("image-set(",11))return T.replace(V,"$1-webkit-$2")+T;break;case 932:if(T.charCodeAt(4)===45)switch(T.charCodeAt(5)){case 103:return"-webkit-box-"+T.replace("-grow","")+"-webkit-"+T+"-ms-"+T.replace("grow","positive")+T;case 115:return"-webkit-"+T+"-ms-"+T.replace("shrink","negative")+T;case 98:return"-webkit-"+T+"-ms-"+T.replace("basis","preferred-size")+T}return"-webkit-"+T+"-ms-"+T+T;case 964:return"-webkit-"+T+"-ms-flex-"+T+T;case 1023:if(T.charCodeAt(8)!==99)break;return _=T.substring(T.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+_+"-webkit-"+T+"-ms-flex-pack"+_+T;case 1005:return v.test(T)?T.replace(b,":-webkit-")+T.replace(b,":-moz-")+T:T;case 1e3:switch(_=T.substring(13).trim(),j=_.indexOf("-")+1,_.charCodeAt(0)+_.charCodeAt(j)){case 226:_=T.replace(S,"tb");break;case 232:_=T.replace(S,"tb-rl");break;case 220:_=T.replace(S,"lr");break;default:return T}return"-webkit-"+T+"-ms-"+_+T;case 1017:if(T.indexOf("sticky",9)===-1)break;case 975:switch(j=(T=N).length-10,_=(T.charCodeAt(j)===33?T.substring(0,j):T).substring(N.indexOf(":",7)+1).trim(),oe=_.charCodeAt(0)+(_.charCodeAt(7)|0)){case 203:if(111>_.charCodeAt(8))break;case 115:T=T.replace(_,"-webkit-"+_)+";"+T;break;case 207:case 102:T=T.replace(_,"-webkit-"+(102<oe?"inline-":"")+"box")+";"+T.replace(_,"-webkit-"+_)+";"+T.replace(_,"-ms-"+_+"box")+";"+T}return T+";";case 938:if(T.charCodeAt(5)===45)switch(T.charCodeAt(6)){case 105:return _=T.replace("-items",""),"-webkit-"+T+"-webkit-box-"+_+"-ms-flex-"+_+T;case 115:return"-webkit-"+T+"-ms-flex-item-"+T.replace(I,"")+T;default:return"-webkit-"+T+"-ms-flex-line-pack"+T.replace("align-content","").replace(I,"")+T}break;case 973:case 989:if(T.charCodeAt(3)!==45||T.charCodeAt(4)===122)break;case 931:case 953:if(K.test(N)===!0)return(_=N.substring(N.indexOf(":")+1)).charCodeAt(0)===115?n(N.replace("stretch","fill-available"),j,U,G).replace(":fill-available",":stretch"):T.replace(_,"-webkit-"+_)+T.replace(_,"-moz-"+_.replace("fill-",""))+T;break;case 962:if(T="-webkit-"+T+(T.charCodeAt(5)===102?"-ms-"+T:"")+T,U+G===211&&T.charCodeAt(13)===105&&0<T.indexOf("transform",10))return T.substring(0,T.indexOf(";",27)+1).replace(g,"$1-webkit-$2")+T}return T}function i(N,j){var U=N.indexOf(j===1?":":"{"),G=N.substring(0,j!==3?U:10);return U=N.substring(U+1,N.length-1),ot(j!==2?G:G.replace(W,"$1"),U,j)}function s(N,j){var U=n(j,j.charCodeAt(0),j.charCodeAt(1),j.charCodeAt(2));return U!==j+";"?U.replace(H," or ($1)").substring(4):"("+j+")"}function a(N,j,U,G,T,oe,_,de,se,ge){for(var Y=0,w=j,O;Y<ke;++Y)switch(O=Se[Y].call(d,N,w,U,G,T,oe,_,de,se,ge)){case void 0:case!1:case!0:case null:break;default:w=O}if(w!==j)return w}function l(N){switch(N){case void 0:case null:ke=Se.length=0;break;default:if(typeof N=="function")Se[ke++]=N;else if(typeof N=="object")for(var j=0,U=N.length;j<U;++j)l(N[j]);else Z=!!N|0}return l}function c(N){return N=N.prefix,N!==void 0&&(ot=null,N?typeof N!="function"?we=1:(we=2,ot=N):we=0),c}function d(N,j){var U=N;if(33>U.charCodeAt(0)&&(U=U.trim()),fe=U,U=[fe],0<ke){var G=a(-1,j,U,U,He,te,0,0,0,0);G!==void 0&&typeof G=="string"&&(j=G)}var T=t(Je,U,j,0,0);return 0<ke&&(G=a(-2,T,U,U,He,te,T.length,0,0,0),G!==void 0&&(T=G)),fe="",be=0,te=He=1,T}var h=/^\0+/g,f=/[\0\r\f]/g,b=/: */g,v=/zoo|gra/,g=/([,: ])(transform)/g,p=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,C=/::(place)/g,A=/:(read-only)/g,S=/[svh]\w+-[tblr]{2}/,M=/\(\s*(.*)\s*\)/g,H=/([\s\S]*?);/g,I=/-self|flex-/g,W=/[^]*?(:[rp][el]a[\w-]+)[^]*/,K=/stretch|:\s*\w+\-(?:conte|avail)/,V=/([^-])(image-set\()/,te=1,He=1,be=0,we=1,Je=[],Se=[],ke=0,ot=null,Z=0,fe="";return d.use=l,d.set=c,e!==void 0&&c(e),d}var wb={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function kb(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var Ab=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sd=kb(function(e){return Ab.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Os={exports:{}},ve={};var Cd;function Sb(){if(Cd)return ve;Cd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function C(S){if(typeof S=="object"&&S!==null){var M=S.$$typeof;switch(M){case t:switch(S=S.type,S){case l:case c:case r:case i:case n:case h:return S;default:switch(S=S&&S.$$typeof,S){case a:case d:case v:case b:case s:return S;default:return M}}case o:return M}}}function A(S){return C(S)===c}return ve.AsyncMode=l,ve.ConcurrentMode=c,ve.ContextConsumer=a,ve.ContextProvider=s,ve.Element=t,ve.ForwardRef=d,ve.Fragment=r,ve.Lazy=v,ve.Memo=b,ve.Portal=o,ve.Profiler=i,ve.StrictMode=n,ve.Suspense=h,ve.isAsyncMode=function(S){return A(S)||C(S)===l},ve.isConcurrentMode=A,ve.isContextConsumer=function(S){return C(S)===a},ve.isContextProvider=function(S){return C(S)===s},ve.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},ve.isForwardRef=function(S){return C(S)===d},ve.isFragment=function(S){return C(S)===r},ve.isLazy=function(S){return C(S)===v},ve.isMemo=function(S){return C(S)===b},ve.isPortal=function(S){return C(S)===o},ve.isProfiler=function(S){return C(S)===i},ve.isStrictMode=function(S){return C(S)===n},ve.isSuspense=function(S){return C(S)===h},ve.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===c||S===i||S===n||S===h||S===f||typeof S=="object"&&S!==null&&(S.$$typeof===v||S.$$typeof===b||S.$$typeof===s||S.$$typeof===a||S.$$typeof===d||S.$$typeof===p||S.$$typeof===m||S.$$typeof===y||S.$$typeof===g)},ve.typeOf=C,ve}var Od;function Cb(){return Od||(Od=1,Os.exports=Sb()),Os.exports}var Es,Ed;function Ob(){if(Ed)return Es;Ed=1;var e=Cb(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=n;function s(v){return e.isMemo(v)?n:i[v.$$typeof]||t}var a=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;function b(v,g,p){if(typeof g!="string"){if(f){var m=h(g);m&&m!==f&&b(v,m,p)}var y=l(g);c&&(y=y.concat(c(g)));for(var C=s(v),A=s(g),S=0;S<y.length;++S){var M=y[S];if(!o[M]&&!(p&&p[M])&&!(A&&A[M])&&!(C&&C[M])){var H=d(g,M);try{a(v,M,H)}catch{}}}}return v}return Es=b,Es}var Eb=Ob();const dg=Mr(Eb);var Ht={};function Dt(){return(Dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}var Pd=function(e,t){for(var o=[e[0]],r=0,n=t.length;r<n;r+=1)o.push(t[r],e[r+1]);return o},Sa=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!ug.typeOf(e)},wi=Object.freeze([]),yo=Object.freeze({});function kr(e){return typeof e=="function"}function Ca(e){return e.displayName||e.name||"Component"}function Gc(e){return e&&typeof e.styledComponentId=="string"}var Ar=typeof process<"u"&&Ht!==void 0&&(Ht.REACT_APP_SC_ATTR||Ht.SC_ATTR)||"data-styled",qc=typeof window<"u"&&"HTMLElement"in window,Pb=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Ht!==void 0&&(Ht.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Ht.REACT_APP_SC_DISABLE_SPEEDY!==""?Ht.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Ht.REACT_APP_SC_DISABLE_SPEEDY:Ht.SC_DISABLE_SPEEDY!==void 0&&Ht.SC_DISABLE_SPEEDY!==""&&Ht.SC_DISABLE_SPEEDY!=="false"&&Ht.SC_DISABLE_SPEEDY)),Tb={};function Vo(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(o.length>0?" Args: "+o.join(", "):""))}var Rb=(function(){function e(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}var t=e.prototype;return t.indexOfGroup=function(o){for(var r=0,n=0;n<o;n++)r+=this.groupSizes[n];return r},t.insertRules=function(o,r){if(o>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,s=i;o>=s;)(s<<=1)<0&&Vo(16,""+o);this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var a=i;a<s;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(o+1),c=0,d=r.length;c<d;c++)this.tag.insertRule(l,r[c])&&(this.groupSizes[o]++,l++)},t.clearGroup=function(o){if(o<this.length){var r=this.groupSizes[o],n=this.indexOfGroup(o),i=n+r;this.groupSizes[o]=0;for(var s=n;s<i;s++)this.tag.deleteRule(n)}},t.getGroup=function(o){var r="";if(o>=this.length||this.groupSizes[o]===0)return r;for(var n=this.groupSizes[o],i=this.indexOfGroup(o),s=i+n,a=i;a<s;a++)r+=this.tag.getRule(a)+`/*!sc*/
|
|
30
|
+
`;function db(){if(typeof document>"u"||document.getElementById(xd)!==null)return;for(const{as:t,crossOrigin:o,href:r,type:n}of cb){const i=document.createElement("link");i.crossOrigin=o,i.as=t,i.href=r,i.rel="preload",i.type=n,document.head.append(i)}const e=document.createElement("style");e.id=xd,e.textContent=ub,document.head.append(e)}async function fb(){typeof document>"u"||!("fonts"in document)||await document.fonts.ready}var pb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hb(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var o=function r(){var n=!1;try{n=this instanceof r}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),o}var Ss={exports:{}},Oe={};var wd;function gb(){if(wd)return Oe;wd=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function v(p){if(typeof p=="object"&&p!==null){var h=p.$$typeof;switch(h){case e:switch(p=p.type,p){case o:case n:case r:case l:case c:case f:return p;default:switch(p=p&&p.$$typeof,p){case s:case a:case g:case d:return p;case i:return p;default:return h}}case t:return h}}}return Oe.ContextConsumer=i,Oe.ContextProvider=s,Oe.Element=e,Oe.ForwardRef=a,Oe.Fragment=o,Oe.Lazy=g,Oe.Memo=d,Oe.Portal=t,Oe.Profiler=n,Oe.StrictMode=r,Oe.Suspense=l,Oe.SuspenseList=c,Oe.isContextConsumer=function(p){return v(p)===i},Oe.isContextProvider=function(p){return v(p)===s},Oe.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},Oe.isForwardRef=function(p){return v(p)===a},Oe.isFragment=function(p){return v(p)===o},Oe.isLazy=function(p){return v(p)===g},Oe.isMemo=function(p){return v(p)===d},Oe.isPortal=function(p){return v(p)===t},Oe.isProfiler=function(p){return v(p)===n},Oe.isStrictMode=function(p){return v(p)===r},Oe.isSuspense=function(p){return v(p)===l},Oe.isSuspenseList=function(p){return v(p)===c},Oe.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===o||p===n||p===r||p===l||p===c||typeof p=="object"&&p!==null&&(p.$$typeof===g||p.$$typeof===d||p.$$typeof===s||p.$$typeof===i||p.$$typeof===a||p.$$typeof===b||p.getModuleId!==void 0)},Oe.typeOf=v,Oe}var kd;function mb(){return kd||(kd=1,Ss.exports=gb()),Ss.exports}var ug=mb(),Cs,Ad;function bb(){return Ad||(Ad=1,Cs=function(t,o,r,n){var i=r?r.call(n,t,o):void 0;if(i!==void 0)return!!i;if(t===o)return!0;if(typeof t!="object"||!t||typeof o!="object"||!o)return!1;var s=Object.keys(t),a=Object.keys(o);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(o),c=0;c<s.length;c++){var d=s[c];if(!l(d))return!1;var g=t[d],f=o[d];if(i=r?r.call(n,g,f,d):void 0,i===!1||i===void 0&&g!==f)return!1}return!0}),Cs}var vb=bb();const yb=Mr(vb);function xb(e){function t(N,j,U,G,T){for(var oe=0,_=0,de=0,se=0,ge,Y,w=0,O=0,x,z=x=ge=0,B=0,L=0,ne=0,ae=0,Ce=U.length,De=Ce-1,st,J="",We="",ys="",xs="",po;B<Ce;){if(Y=U.charCodeAt(B),B===De&&_+se+de+oe!==0&&(_!==0&&(Y=_===47?10:47),se=de=oe=0,Ce++,De++),_+se+de+oe===0){if(B===De&&(0<L&&(J=J.replace(f,"")),0<J.trim().length)){switch(Y){case 32:case 9:case 59:case 13:case 10:break;default:J+=U.charAt(B)}Y=59}switch(Y){case 123:for(J=J.trim(),ge=J.charCodeAt(0),x=1,ae=++B;B<Ce;){switch(Y=U.charCodeAt(B)){case 123:x++;break;case 125:x--;break;case 47:switch(Y=U.charCodeAt(B+1)){case 42:case 47:e:{for(z=B+1;z<De;++z)switch(U.charCodeAt(z)){case 47:if(Y===42&&U.charCodeAt(z-1)===42&&B+2!==z){B=z+1;break e}break;case 10:if(Y===47){B=z+1;break e}}B=z}}break;case 91:Y++;case 40:Y++;case 34:case 39:for(;B++<De&&U.charCodeAt(B)!==Y;);}if(x===0)break;B++}switch(x=U.substring(ae,B),ge===0&&(ge=(J=J.replace(g,"").trim()).charCodeAt(0)),ge){case 64:switch(0<L&&(J=J.replace(f,"")),Y=J.charCodeAt(1),Y){case 100:case 109:case 115:case 45:L=j;break;default:L=Je}if(x=t(j,L,x,Y,T+1),ae=x.length,0<ke&&(L=o(Je,J,ne),po=a(3,x,L,j,He,te,ae,Y,T,G),J=L.join(""),po!==void 0&&(ae=(x=po.trim()).length)===0&&(Y=0,x="")),0<ae)switch(Y){case 115:J=J.replace(M,s);case 100:case 109:case 45:x=J+"{"+x+"}";break;case 107:J=J.replace(y,"$1 $2"),x=J+"{"+x+"}",x=we===1||we===2&&i("@"+x,3)?"@-webkit-"+x+"@"+x:"@"+x;break;default:x=J+x,G===112&&(x=(We+=x,""))}else x="";break;default:x=t(j,o(j,J,ne),x,G,T+1)}ys+=x,x=ne=L=z=ge=0,J="",Y=U.charCodeAt(++B);break;case 125:case 59:if(J=(0<L?J.replace(f,""):J).trim(),1<(ae=J.length))switch(z===0&&(ge=J.charCodeAt(0),ge===45||96<ge&&123>ge)&&(ae=(J=J.replace(" ",":")).length),0<ke&&(po=a(1,J,j,N,He,te,We.length,G,T,G))!==void 0&&(ae=(J=po.trim()).length)===0&&(J="\0\0"),ge=J.charCodeAt(0),Y=J.charCodeAt(1),ge){case 0:break;case 64:if(Y===105||Y===99){xs+=J+U.charAt(B);break}default:J.charCodeAt(ae-1)!==58&&(We+=n(J,ge,Y,J.charCodeAt(2)))}ne=L=z=ge=0,J="",Y=U.charCodeAt(++B)}}switch(Y){case 13:case 10:_===47?_=0:1+ge===0&&G!==107&&0<J.length&&(L=1,J+="\0"),0<ke*Z&&a(0,J,j,N,He,te,We.length,G,T,G),te=1,He++;break;case 59:case 125:if(_+se+de+oe===0){te++;break}default:switch(te++,st=U.charAt(B),Y){case 9:case 32:if(se+oe+_===0)switch(w){case 44:case 58:case 9:case 32:st="";break;default:Y!==32&&(st=" ")}break;case 0:st="\\0";break;case 12:st="\\f";break;case 11:st="\\v";break;case 38:se+_+oe===0&&(L=ne=1,st="\f"+st);break;case 108:if(se+_+oe+be===0&&0<z)switch(B-z){case 2:w===112&&U.charCodeAt(B-3)===58&&(be=w);case 8:O===111&&(be=O)}break;case 58:se+_+oe===0&&(z=B);break;case 44:_+de+se+oe===0&&(L=1,st+="\r");break;case 34:case 39:_===0&&(se=se===Y?0:se===0?Y:se);break;case 91:se+_+de===0&&oe++;break;case 93:se+_+de===0&&oe--;break;case 41:se+_+oe===0&&de--;break;case 40:se+_+oe===0&&(ge===0&&(2*w+3*O===533||(ge=1)),de++);break;case 64:_+de+se+oe+z+x===0&&(x=1);break;case 42:case 47:if(!(0<se+oe+de))switch(_){case 0:switch(2*Y+3*U.charCodeAt(B+1)){case 235:_=47;break;case 220:ae=B,_=42}break;case 42:Y===47&&w===42&&ae+2!==B&&(U.charCodeAt(ae+2)===33&&(We+=U.substring(ae,B+1)),st="",_=0)}}_===0&&(J+=st)}O=w,w=Y,B++}if(ae=We.length,0<ae){if(L=j,0<ke&&(po=a(2,We,L,N,He,te,ae,G,T,G),po!==void 0&&(We=po).length===0))return xs+We+ys;if(We=L.join(",")+"{"+We+"}",we*be!==0){switch(we!==2||i(We,2)||(be=0),be){case 111:We=We.replace(A,":-moz-$1")+We;break;case 112:We=We.replace(C,"::-webkit-input-$1")+We.replace(C,"::-moz-$1")+We.replace(C,":-ms-input-$1")+We}be=0}}return xs+We+ys}function o(N,j,U){var G=j.trim().split(h);j=G;var T=G.length,oe=N.length;switch(oe){case 0:case 1:var _=0;for(N=oe===0?"":N[0]+" ";_<T;++_)j[_]=r(N,j[_],U).trim();break;default:var de=_=0;for(j=[];_<T;++_)for(var se=0;se<oe;++se)j[de++]=r(N[se]+" ",G[_],U).trim()}return j}function r(N,j,U){var G=j.charCodeAt(0);switch(33>G&&(G=(j=j.trim()).charCodeAt(0)),G){case 38:return j.replace(m,"$1"+N.trim());case 58:return N.trim()+j.replace(m,"$1"+N.trim());default:if(0<1*U&&0<j.indexOf("\f"))return j.replace(m,(N.charCodeAt(0)===58?"":"$1")+N.trim())}return N+j}function n(N,j,U,G){var T=N+";",oe=2*j+3*U+4*G;if(oe===944){N=T.indexOf(":",9)+1;var _=T.substring(N,T.length-1).trim();return _=T.substring(0,N).trim()+_+";",we===1||we===2&&i(_,1)?"-webkit-"+_+_:_}if(we===0||we===2&&!i(T,1))return T;switch(oe){case 1015:return T.charCodeAt(10)===97?"-webkit-"+T+T:T;case 951:return T.charCodeAt(3)===116?"-webkit-"+T+T:T;case 963:return T.charCodeAt(5)===110?"-webkit-"+T+T:T;case 1009:if(T.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+T+T;case 978:return"-webkit-"+T+"-moz-"+T+T;case 1019:case 983:return"-webkit-"+T+"-moz-"+T+"-ms-"+T+T;case 883:if(T.charCodeAt(8)===45)return"-webkit-"+T+T;if(0<T.indexOf("image-set(",11))return T.replace(V,"$1-webkit-$2")+T;break;case 932:if(T.charCodeAt(4)===45)switch(T.charCodeAt(5)){case 103:return"-webkit-box-"+T.replace("-grow","")+"-webkit-"+T+"-ms-"+T.replace("grow","positive")+T;case 115:return"-webkit-"+T+"-ms-"+T.replace("shrink","negative")+T;case 98:return"-webkit-"+T+"-ms-"+T.replace("basis","preferred-size")+T}return"-webkit-"+T+"-ms-"+T+T;case 964:return"-webkit-"+T+"-ms-flex-"+T+T;case 1023:if(T.charCodeAt(8)!==99)break;return _=T.substring(T.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+_+"-webkit-"+T+"-ms-flex-pack"+_+T;case 1005:return v.test(T)?T.replace(b,":-webkit-")+T.replace(b,":-moz-")+T:T;case 1e3:switch(_=T.substring(13).trim(),j=_.indexOf("-")+1,_.charCodeAt(0)+_.charCodeAt(j)){case 226:_=T.replace(S,"tb");break;case 232:_=T.replace(S,"tb-rl");break;case 220:_=T.replace(S,"lr");break;default:return T}return"-webkit-"+T+"-ms-"+_+T;case 1017:if(T.indexOf("sticky",9)===-1)break;case 975:switch(j=(T=N).length-10,_=(T.charCodeAt(j)===33?T.substring(0,j):T).substring(N.indexOf(":",7)+1).trim(),oe=_.charCodeAt(0)+(_.charCodeAt(7)|0)){case 203:if(111>_.charCodeAt(8))break;case 115:T=T.replace(_,"-webkit-"+_)+";"+T;break;case 207:case 102:T=T.replace(_,"-webkit-"+(102<oe?"inline-":"")+"box")+";"+T.replace(_,"-webkit-"+_)+";"+T.replace(_,"-ms-"+_+"box")+";"+T}return T+";";case 938:if(T.charCodeAt(5)===45)switch(T.charCodeAt(6)){case 105:return _=T.replace("-items",""),"-webkit-"+T+"-webkit-box-"+_+"-ms-flex-"+_+T;case 115:return"-webkit-"+T+"-ms-flex-item-"+T.replace(I,"")+T;default:return"-webkit-"+T+"-ms-flex-line-pack"+T.replace("align-content","").replace(I,"")+T}break;case 973:case 989:if(T.charCodeAt(3)!==45||T.charCodeAt(4)===122)break;case 931:case 953:if(K.test(N)===!0)return(_=N.substring(N.indexOf(":")+1)).charCodeAt(0)===115?n(N.replace("stretch","fill-available"),j,U,G).replace(":fill-available",":stretch"):T.replace(_,"-webkit-"+_)+T.replace(_,"-moz-"+_.replace("fill-",""))+T;break;case 962:if(T="-webkit-"+T+(T.charCodeAt(5)===102?"-ms-"+T:"")+T,U+G===211&&T.charCodeAt(13)===105&&0<T.indexOf("transform",10))return T.substring(0,T.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+T}return T}function i(N,j){var U=N.indexOf(j===1?":":"{"),G=N.substring(0,j!==3?U:10);return U=N.substring(U+1,N.length-1),ot(j!==2?G:G.replace(W,"$1"),U,j)}function s(N,j){var U=n(j,j.charCodeAt(0),j.charCodeAt(1),j.charCodeAt(2));return U!==j+";"?U.replace(H," or ($1)").substring(4):"("+j+")"}function a(N,j,U,G,T,oe,_,de,se,ge){for(var Y=0,w=j,O;Y<ke;++Y)switch(O=Se[Y].call(d,N,w,U,G,T,oe,_,de,se,ge)){case void 0:case!1:case!0:case null:break;default:w=O}if(w!==j)return w}function l(N){switch(N){case void 0:case null:ke=Se.length=0;break;default:if(typeof N=="function")Se[ke++]=N;else if(typeof N=="object")for(var j=0,U=N.length;j<U;++j)l(N[j]);else Z=!!N|0}return l}function c(N){return N=N.prefix,N!==void 0&&(ot=null,N?typeof N!="function"?we=1:(we=2,ot=N):we=0),c}function d(N,j){var U=N;if(33>U.charCodeAt(0)&&(U=U.trim()),fe=U,U=[fe],0<ke){var G=a(-1,j,U,U,He,te,0,0,0,0);G!==void 0&&typeof G=="string"&&(j=G)}var T=t(Je,U,j,0,0);return 0<ke&&(G=a(-2,T,U,U,He,te,T.length,0,0,0),G!==void 0&&(T=G)),fe="",be=0,te=He=1,T}var g=/^\0+/g,f=/[\0\r\f]/g,b=/: */g,v=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,C=/::(place)/g,A=/:(read-only)/g,S=/[svh]\w+-[tblr]{2}/,M=/\(\s*(.*)\s*\)/g,H=/([\s\S]*?);/g,I=/-self|flex-/g,W=/[^]*?(:[rp][el]a[\w-]+)[^]*/,K=/stretch|:\s*\w+\-(?:conte|avail)/,V=/([^-])(image-set\()/,te=1,He=1,be=0,we=1,Je=[],Se=[],ke=0,ot=null,Z=0,fe="";return d.use=l,d.set=c,e!==void 0&&c(e),d}var wb={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function kb(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var Ab=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sd=kb(function(e){return Ab.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Os={exports:{}},ve={};var Cd;function Sb(){if(Cd)return ve;Cd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function C(S){if(typeof S=="object"&&S!==null){var M=S.$$typeof;switch(M){case t:switch(S=S.type,S){case l:case c:case r:case i:case n:case g:return S;default:switch(S=S&&S.$$typeof,S){case a:case d:case v:case b:case s:return S;default:return M}}case o:return M}}}function A(S){return C(S)===c}return ve.AsyncMode=l,ve.ConcurrentMode=c,ve.ContextConsumer=a,ve.ContextProvider=s,ve.Element=t,ve.ForwardRef=d,ve.Fragment=r,ve.Lazy=v,ve.Memo=b,ve.Portal=o,ve.Profiler=i,ve.StrictMode=n,ve.Suspense=g,ve.isAsyncMode=function(S){return A(S)||C(S)===l},ve.isConcurrentMode=A,ve.isContextConsumer=function(S){return C(S)===a},ve.isContextProvider=function(S){return C(S)===s},ve.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},ve.isForwardRef=function(S){return C(S)===d},ve.isFragment=function(S){return C(S)===r},ve.isLazy=function(S){return C(S)===v},ve.isMemo=function(S){return C(S)===b},ve.isPortal=function(S){return C(S)===o},ve.isProfiler=function(S){return C(S)===i},ve.isStrictMode=function(S){return C(S)===n},ve.isSuspense=function(S){return C(S)===g},ve.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===c||S===i||S===n||S===g||S===f||typeof S=="object"&&S!==null&&(S.$$typeof===v||S.$$typeof===b||S.$$typeof===s||S.$$typeof===a||S.$$typeof===d||S.$$typeof===h||S.$$typeof===m||S.$$typeof===y||S.$$typeof===p)},ve.typeOf=C,ve}var Od;function Cb(){return Od||(Od=1,Os.exports=Sb()),Os.exports}var Es,Ed;function Ob(){if(Ed)return Es;Ed=1;var e=Cb(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=n;function s(v){return e.isMemo(v)?n:i[v.$$typeof]||t}var a=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,f=Object.prototype;function b(v,p,h){if(typeof p!="string"){if(f){var m=g(p);m&&m!==f&&b(v,m,h)}var y=l(p);c&&(y=y.concat(c(p)));for(var C=s(v),A=s(p),S=0;S<y.length;++S){var M=y[S];if(!o[M]&&!(h&&h[M])&&!(A&&A[M])&&!(C&&C[M])){var H=d(p,M);try{a(v,M,H)}catch{}}}}return v}return Es=b,Es}var Eb=Ob();const dg=Mr(Eb);var Ht={};function Dt(){return(Dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}var Pd=function(e,t){for(var o=[e[0]],r=0,n=t.length;r<n;r+=1)o.push(t[r],e[r+1]);return o},Sa=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!ug.typeOf(e)},wi=Object.freeze([]),yo=Object.freeze({});function kr(e){return typeof e=="function"}function Ca(e){return e.displayName||e.name||"Component"}function Gc(e){return e&&typeof e.styledComponentId=="string"}var Ar=typeof process<"u"&&Ht!==void 0&&(Ht.REACT_APP_SC_ATTR||Ht.SC_ATTR)||"data-styled",qc=typeof window<"u"&&"HTMLElement"in window,Pb=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Ht!==void 0&&(Ht.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Ht.REACT_APP_SC_DISABLE_SPEEDY!==""?Ht.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Ht.REACT_APP_SC_DISABLE_SPEEDY:Ht.SC_DISABLE_SPEEDY!==void 0&&Ht.SC_DISABLE_SPEEDY!==""&&Ht.SC_DISABLE_SPEEDY!=="false"&&Ht.SC_DISABLE_SPEEDY)),Tb={};function Vo(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(o.length>0?" Args: "+o.join(", "):""))}var Rb=(function(){function e(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}var t=e.prototype;return t.indexOfGroup=function(o){for(var r=0,n=0;n<o;n++)r+=this.groupSizes[n];return r},t.insertRules=function(o,r){if(o>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,s=i;o>=s;)(s<<=1)<0&&Vo(16,""+o);this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var a=i;a<s;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(o+1),c=0,d=r.length;c<d;c++)this.tag.insertRule(l,r[c])&&(this.groupSizes[o]++,l++)},t.clearGroup=function(o){if(o<this.length){var r=this.groupSizes[o],n=this.indexOfGroup(o),i=n+r;this.groupSizes[o]=0;for(var s=n;s<i;s++)this.tag.deleteRule(n)}},t.getGroup=function(o){var r="";if(o>=this.length||this.groupSizes[o]===0)return r;for(var n=this.groupSizes[o],i=this.indexOfGroup(o),s=i+n,a=i;a<s;a++)r+=this.tag.getRule(a)+`/*!sc*/
|
|
31
31
|
`;return r},e})(),ii=new Map,ki=new Map,Zr=1,_n=function(e){if(ii.has(e))return ii.get(e);for(;ki.has(Zr);)Zr++;var t=Zr++;return ii.set(e,t),ki.set(t,e),t},Mb=function(e){return ki.get(e)},zb=function(e,t){t>=Zr&&(Zr=t+1),ii.set(e,t),ki.set(t,e)},Hb="style["+Ar+'][data-styled-version="5.3.11"]',Bb=new RegExp("^"+Ar+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Db=function(e,t,o){for(var r,n=o.split(","),i=0,s=n.length;i<s;i++)(r=n[i])&&e.registerName(t,r)},Lb=function(e,t){for(var o=(t.textContent||"").split(`/*!sc*/
|
|
32
|
-
`),r=[],n=0,i=o.length;n<i;n++){var s=o[n].trim();if(s){var a=s.match(Bb);if(a){var l=0|parseInt(a[1],10),c=a[2];l!==0&&(zb(c,l),Db(e,c,a[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(s)}}},_b=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},fg=function(e){var t=document.head,o=e||t,r=document.createElement("style"),n=(function(a){for(var l=a.childNodes,c=l.length;c>=0;c--){var d=l[c];if(d&&d.nodeType===1&&d.hasAttribute(Ar))return d}})(o),i=n!==void 0?n.nextSibling:null;r.setAttribute(Ar,"active"),r.setAttribute("data-styled-version","5.3.11");var s=_b();return s&&r.setAttribute("nonce",s),o.insertBefore(r,i),r},Ib=(function(){function e(o){var r=this.element=fg(o);r.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var i=document.styleSheets,s=0,a=i.length;s<a;s++){var l=i[s];if(l.ownerNode===n)return l}Vo(17)})(r),this.length=0}var t=e.prototype;return t.insertRule=function(o,r){try{return this.sheet.insertRule(r,o),this.length++,!0}catch{return!1}},t.deleteRule=function(o){this.sheet.deleteRule(o),this.length--},t.getRule=function(o){var r=this.sheet.cssRules[o];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e})(),Nb=(function(){function e(o){var r=this.element=fg(o);this.nodes=r.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(o,r){if(o<=this.length&&o>=0){var n=document.createTextNode(r),i=this.nodes[o];return this.element.insertBefore(n,i||null),this.length++,!0}return!1},t.deleteRule=function(o){this.element.removeChild(this.nodes[o]),this.length--},t.getRule=function(o){return o<this.length?this.nodes[o].textContent:""},e})(),jb=(function(){function e(o){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(o,r){return o<=this.length&&(this.rules.splice(o,0,r),this.length++,!0)},t.deleteRule=function(o){this.rules.splice(o,1),this.length--},t.getRule=function(o){return o<this.length?this.rules[o]:""},e})(),Td=qc,Xb={isServer:!qc,useCSSOMInjection:!Pb},Ai=(function(){function e(o,r,n){o===void 0&&(o=yo),r===void 0&&(r={}),this.options=Dt({},Xb,{},o),this.gs=r,this.names=new Map(n),this.server=!!o.isServer,!this.server&&qc&&Td&&(Td=!1,(function(i){for(var s=document.querySelectorAll(Hb),a=0,l=s.length;a<l;a++){var c=s[a];c&&c.getAttribute(Ar)!=="active"&&(Lb(i,c),c.parentNode&&c.parentNode.removeChild(c))}})(this))}e.registerId=function(o){return _n(o)};var t=e.prototype;return t.reconstructWithOptions=function(o,r){return r===void 0&&(r=!0),new e(Dt({},this.options,{},o),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(o){return this.gs[o]=(this.gs[o]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(r=this.options).isServer,i=r.useCSSOMInjection,s=r.target,o=n?new jb(s):i?new Ib(s):new Nb(s),new Rb(o)));var o,r,n,i,s},t.hasNameForId=function(o,r){return this.names.has(o)&&this.names.get(o).has(r)},t.registerName=function(o,r){if(_n(o),this.names.has(o))this.names.get(o).add(r);else{var n=new Set;n.add(r),this.names.set(o,n)}},t.insertRules=function(o,r,n){this.registerName(o,r),this.getTag().insertRules(_n(o),n)},t.clearNames=function(o){this.names.has(o)&&this.names.get(o).clear()},t.clearRules=function(o){this.getTag().clearGroup(_n(o)),this.clearNames(o)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return(function(o){for(var r=o.getTag(),n=r.length,i="",s=0;s<n;s++){var a=Mb(s);if(a!==void 0){var l=o.names.get(a),c=r.getGroup(s);if(l&&c&&l.size){var d=Ar+".g"+s+'[id="'+a+'"]',
|
|
33
|
-
`}}}return i})(this)},e})(),Fb=/(a)(d)/gi,Rd=function(e){return String.fromCharCode(e+(e>25?39:97))};function Oa(e){var t,o="";for(t=Math.abs(e);t>52;t=t/52|0)o=Rd(t%52)+o;return(Rd(t%52)+o).replace(Fb,"$1-$2")}var ar=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},pg=function(e){return ar(5381,e)};function hg(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(kr(o)&&!Gc(o))return!1}return!0}var Ub=pg("5.3.11"),Vb=(function(){function e(t,o,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&hg(t),this.componentId=o,this.baseHash=ar(Ub,o),this.baseStyle=r,Ai.registerId(o)}return e.prototype.generateAndInjectStyles=function(t,o,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,o,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&o.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var s=Go(this.rules,t,o,r).join(""),a=Oa(ar(this.baseHash,s)>>>0);if(!o.hasNameForId(n,a)){var l=r(s,"."+a,void 0,n);o.insertRules(n,a,l)}i.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,d=ar(this.baseHash,r.hash),h="",f=0;f<c;f++){var b=this.rules[f];if(typeof b=="string")h+=b;else if(b){var v=Go(b,t,o,r),g=Array.isArray(v)?v.join(""):v;d=ar(d,g+f),h+=g}}if(h){var p=Oa(d>>>0);if(!o.hasNameForId(n,p)){var m=r(h,"."+p,void 0,n);o.insertRules(n,p,m)}i.push(p)}}return i.join(" ")},e})(),Gb=/^\s*\/\/.*$/gm,qb=[":","[",".","#"];function gg(e){var t,o,r,n,i=e===void 0?yo:e,s=i.options,a=s===void 0?yo:s,l=i.plugins,c=l===void 0?wi:l,d=new xb(a),h=[],f=(function(g){function p(m){if(m)try{g(m+"}")}catch{}}return function(m,y,C,A,S,M,H,I,W,K){switch(m){case 1:if(W===0&&y.charCodeAt(0)===64)return g(y+";"),"";break;case 2:if(I===0)return y+"/*|*/";break;case 3:switch(I){case 102:case 112:return g(C[0]+y),"";default:return y+(K===0?"/*|*/":"")}case-2:y.split("/*|*/}").forEach(p)}}})((function(g){h.push(g)})),b=function(g,p,m){return p===0&&qb.indexOf(m[o.length])!==-1||m.match(n)?g:"."+t};function v(g,p,m,y){y===void 0&&(y="&");var C=g.replace(Gb,""),A=p&&m?m+" "+p+" { "+C+" }":C;return t=y,o=p,r=new RegExp("\\"+o+"\\b","g"),n=new RegExp("(\\"+o+"\\b){2,}"),d(m||!p?"":p,A)}return d.use([].concat(c,[function(g,p,m){g===2&&m.length&&m[0].lastIndexOf(o)>0&&(m[0]=m[0].replace(r,b))},f,function(g){if(g===-2){var p=h;return h=[],p}}])),v.hash=c.length?c.reduce((function(g,p){return p.name||Vo(15),ar(g,p.name)}),5381).toString():"",v}var Jc=Me.createContext();Jc.Consumer;var Wc=Me.createContext(),Jb=(Wc.Consumer,new Ai),Ea=gg();function Yc(){return Ct(Jc)||Jb}function mg(){return Ct(Wc)||Ea}function Wb(e){var t=ye(e.stylisPlugins),o=t[0],r=t[1],n=Yc(),i=Ut((function(){var a=n;return e.sheet?a=e.sheet:e.target&&(a=a.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(a=a.reconstructWithOptions({useCSSOMInjection:!1})),a}),[e.disableCSSOMInjection,e.sheet,e.target]),s=Ut((function(){return gg({options:{prefix:!e.disableVendorPrefixes},plugins:o})}),[e.disableVendorPrefixes,o]);return Ie((function(){yb(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),Me.createElement(Jc.Provider,{value:i},Me.createElement(Wc.Provider,{value:s},e.children))}var bg=(function(){function e(t,o){var r=this;this.inject=function(n,i){i===void 0&&(i=Ea);var s=r.name+i.hash;n.hasNameForId(r.id,s)||n.insertRules(r.id,s,i(r.rules,s,"@keyframes"))},this.toString=function(){return Vo(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=o}return e.prototype.getName=function(t){return t===void 0&&(t=Ea),this.name+t.hash},e})(),Yb=/([A-Z])/,Qb=/([A-Z])/g,Zb=/^ms-/,Kb=function(e){return"-"+e.toLowerCase()};function Md(e){return Yb.test(e)?e.replace(Qb,Kb).replace(Zb,"-ms-"):e}var zd=function(e){return e==null||e===!1||e===""};function Go(e,t,o,r){if(Array.isArray(e)){for(var n,i=[],s=0,a=e.length;s<a;s+=1)(n=Go(e[s],t,o,r))!==""&&(Array.isArray(n)?i.push.apply(i,n):i.push(n));return i}if(zd(e))return"";if(Gc(e))return"."+e.styledComponentId;if(kr(e)){if(typeof(c=e)!="function"||c.prototype&&c.prototype.isReactComponent||!t)return e;var l=e(t);return Go(l,t,o,r)}var c;return e instanceof bg?o?(e.inject(o,r),e.getName(r)):e:Sa(e)?(function d(h,f){var b,v,g=[];for(var p in h)h.hasOwnProperty(p)&&!zd(h[p])&&(Array.isArray(h[p])&&h[p].isCss||kr(h[p])?g.push(Md(p)+":",h[p],";"):Sa(h[p])?g.push.apply(g,d(h[p],p)):g.push(Md(p)+": "+(b=p,(v=h[p])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||b in wb||b.startsWith("--")?String(v).trim():v+"px")+";"));return f?[f+" {"].concat(g,["}"]):g})(e):e.toString()}var Hd=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function R(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];return kr(e)||Sa(e)?Hd(Go(Pd(wi,[e].concat(o)))):o.length===0&&e.length===1&&typeof e[0]=="string"?e:Hd(Go(Pd(e,o)))}var Qc=function(e,t,o){return o===void 0&&(o=yo),e.theme!==o.theme&&e.theme||t||o.theme},$b=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ev=/(^-|-$)/g;function Ps(e){return e.replace($b,"-").replace(ev,"")}var Zc=function(e){return Oa(pg(e)>>>0)};function In(e){return typeof e=="string"&&!0}var Pa=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},tv=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function ov(e,t,o){var r=e[o];Pa(t)&&Pa(r)?vg(r,t):e[o]=t}function vg(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];for(var n=0,i=o;n<i.length;n++){var s=i[n];if(Pa(s))for(var a in s)tv(a)&&ov(e,s[a],a)}return e}var qo=Me.createContext();qo.Consumer;function yg(e){var t=Ct(qo),o=Ut((function(){return(function(r,n){if(!r)return Vo(14);if(kr(r)){var i=r(n);return i}return Array.isArray(r)||typeof r!="object"?Vo(8):n?Dt({},n,{},r):r})(e.theme,t)}),[e.theme,t]);return e.children?Me.createElement(qo.Provider,{value:o},e.children):null}var Ts={};function xg(e,t,o){var r=Gc(e),n=!In(e),i=t.attrs,s=i===void 0?wi:i,a=t.componentId,l=a===void 0?(function(y,C){var A=typeof y!="string"?"sc":Ps(y);Ts[A]=(Ts[A]||0)+1;var S=A+"-"+Zc("5.3.11"+A+Ts[A]);return C?C+"-"+S:S})(t.displayName,t.parentComponentId):a,c=t.displayName,d=c===void 0?(function(y){return In(y)?"styled."+y:"Styled("+Ca(y)+")"})(e):c,h=t.displayName&&t.componentId?Ps(t.displayName)+"-"+t.componentId:t.componentId||l,f=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,b=t.shouldForwardProp;r&&e.shouldForwardProp&&(b=t.shouldForwardProp?function(y,C,A){return e.shouldForwardProp(y,C,A)&&t.shouldForwardProp(y,C,A)}:e.shouldForwardProp);var v,g=new Vb(o,h,r?e.componentStyle:void 0),p=g.isStatic&&s.length===0,m=function(y,C){return(function(A,S,M,H){var I=A.attrs,W=A.componentStyle,K=A.defaultProps,V=A.foldedComponentIds,te=A.shouldForwardProp,He=A.styledComponentId,be=A.target,we=(function(G,T,oe){G===void 0&&(G=yo);var _=Dt({},T,{theme:G}),de={};return oe.forEach((function(se){var ge,Y,w,O=se;for(ge in kr(O)&&(O=O(_)),O)_[ge]=de[ge]=ge==="className"?(Y=de[ge],w=O[ge],Y&&w?Y+" "+w:Y||w):O[ge]})),[_,de]})(Qc(S,Ct(qo),K)||yo,S,I),Je=we[0],Se=we[1],ke=(function(G,T,oe,_){var de=Yc(),se=mg(),ge=T?G.generateAndInjectStyles(yo,de,se):G.generateAndInjectStyles(oe,de,se);return ge})(W,H,Je),ot=M,Z=Se.$as||S.$as||Se.as||S.as||be,fe=In(Z),N=Se!==S?Dt({},S,{},Se):S,j={};for(var U in N)U[0]!=="$"&&U!=="as"&&(U==="forwardedAs"?j.as=N[U]:(te?te(U,Sd,Z):!fe||Sd(U))&&(j[U]=N[U]));return S.style&&Se.style!==S.style&&(j.style=Dt({},S.style,{},Se.style)),j.className=Array.prototype.concat(V,He,ke!==He?ke:null,S.className,Se.className).filter(Boolean).join(" "),j.ref=ot,P(Z,j)})(v,y,C,p)};return m.displayName=d,(v=Me.forwardRef(m)).attrs=f,v.componentStyle=g,v.displayName=d,v.shouldForwardProp=b,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):wi,v.styledComponentId=h,v.target=r?e.target:e,v.withComponent=function(y){var C=t.componentId,A=(function(M,H){if(M==null)return{};var I,W,K={},V=Object.keys(M);for(W=0;W<V.length;W++)I=V[W],H.indexOf(I)>=0||(K[I]=M[I]);return K})(t,["componentId"]),S=C&&C+"-"+(In(y)?y:Ps(Ca(y)));return xg(y,Dt({},A,{attrs:f,componentId:S}),o)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(y){this._foldedDefaultProps=r?vg({},e.defaultProps,y):y}}),Object.defineProperty(v,"toString",{value:function(){return"."+v.styledComponentId}}),n&&dg(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var k=function(e){return(function t(o,r,n){if(n===void 0&&(n=yo),!ug.isValidElementType(r))return Vo(1,String(r));var i=function(){return o(r,n,R.apply(void 0,arguments))};return i.withConfig=function(s){return t(o,r,Dt({},n,{},s))},i.attrs=function(s){return t(o,r,Dt({},n,{attrs:Array.prototype.concat(n.attrs,s).filter(Boolean)}))},i})(xg,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){k[e]=k(e)}));var rv=(function(){function e(o,r){this.rules=o,this.componentId=r,this.isStatic=hg(o),Ai.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(o,r,n,i){var s=i(Go(this.rules,r,n,i).join(""),""),a=this.componentId+o;n.insertRules(a,a,s)},t.removeStyles=function(o,r){r.clearRules(this.componentId+o)},t.renderStyles=function(o,r,n,i){o>2&&Ai.registerId(this.componentId+o),this.removeStyles(o,n),this.createStyles(o,r,n,i)},e})();function Zi(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];var n=R.apply(void 0,[e].concat(o)),i="sc-global-"+Zc(JSON.stringify(n)),s=new rv(n,i);function a(c){var d=Yc(),h=mg(),f=Ct(qo),b=Ke(d.allocateGSInstance(i)).current;return d.server&&l(b,c,d,f,h),lt((function(){if(!d.server)return l(b,c,d,f,h),function(){return s.removeStyles(b,d)}}),[b,c,d,f,h]),null}function l(c,d,h,f,b){if(s.isStatic)s.renderStyles(c,Tb,h,b);else{var v=Dt({},d,{theme:Qc(d,f,a.defaultProps)});s.renderStyles(c,v,h,b)}}return Me.memo(a)}function Qo(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];var n=R.apply(void 0,[e].concat(o)).join(""),i=Zc(n);return new bg(i,n)}var nv=function(e){var t=Me.forwardRef((function(o,r){var n=Ct(qo),i=e.defaultProps,s=Qc(o,n,i);return Me.createElement(e,Dt({},o,{theme:s,ref:r}))}));return dg(t,e),t.displayName="WithTheme("+Ca(e)+")",t},Oo=function(){return Ct(qo)},Rs={exports:{}},Bd;function iv(){return Bd||(Bd=1,(function(e){(function(t){var o=/^\s+/,r=/\s+$/,n=0,i=t.round,s=t.min,a=t.max,l=t.random;function c(w,O){if(w=w||"",O=O||{},w instanceof c)return w;if(!(this instanceof c))return new c(w,O);var x=d(w);this._originalInput=w,this._r=x.r,this._g=x.g,this._b=x.b,this._a=x.a,this._roundA=i(100*this._a)/100,this._format=O.format||x.format,this._gradientType=O.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=x.ok,this._tc_id=n++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var w=this.toRgb();return(w.r*299+w.g*587+w.b*114)/1e3},getLuminance:function(){var w=this.toRgb(),O,x,z,B,L,ne;return O=w.r/255,x=w.g/255,z=w.b/255,O<=.03928?B=O/12.92:B=t.pow((O+.055)/1.055,2.4),x<=.03928?L=x/12.92:L=t.pow((x+.055)/1.055,2.4),z<=.03928?ne=z/12.92:ne=t.pow((z+.055)/1.055,2.4),.2126*B+.7152*L+.0722*ne},setAlpha:function(w){return this._a=ot(w),this._roundA=i(100*this._a)/100,this},toHsv:function(){var w=v(this._r,this._g,this._b);return{h:w.h*360,s:w.s,v:w.v,a:this._a}},toHsvString:function(){var w=v(this._r,this._g,this._b),O=i(w.h*360),x=i(w.s*100),z=i(w.v*100);return this._a==1?"hsv("+O+", "+x+"%, "+z+"%)":"hsva("+O+", "+x+"%, "+z+"%, "+this._roundA+")"},toHsl:function(){var w=f(this._r,this._g,this._b);return{h:w.h*360,s:w.s,l:w.l,a:this._a}},toHslString:function(){var w=f(this._r,this._g,this._b),O=i(w.h*360),x=i(w.s*100),z=i(w.l*100);return this._a==1?"hsl("+O+", "+x+"%, "+z+"%)":"hsla("+O+", "+x+"%, "+z+"%, "+this._roundA+")"},toHex:function(w){return p(this._r,this._g,this._b,w)},toHexString:function(w){return"#"+this.toHex(w)},toHex8:function(w){return m(this._r,this._g,this._b,this._a,w)},toHex8String:function(w){return"#"+this.toHex8(w)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(Z(this._r,255)*100)+"%",g:i(Z(this._g,255)*100)+"%",b:i(Z(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+i(Z(this._r,255)*100)+"%, "+i(Z(this._g,255)*100)+"%, "+i(Z(this._b,255)*100)+"%)":"rgba("+i(Z(this._r,255)*100)+"%, "+i(Z(this._g,255)*100)+"%, "+i(Z(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Se[p(this._r,this._g,this._b,!0)]||!1},toFilter:function(w){var O="#"+y(this._r,this._g,this._b,this._a),x=O,z=this._gradientType?"GradientType = 1, ":"";if(w){var B=c(w);x="#"+y(B._r,B._g,B._b,B._a)}return"progid:DXImageTransform.Microsoft.gradient("+z+"startColorstr="+O+",endColorstr="+x+")"},toString:function(w){var O=!!w;w=w||this._format;var x=!1,z=this._a<1&&this._a>=0,B=!O&&z&&(w==="hex"||w==="hex6"||w==="hex3"||w==="hex4"||w==="hex8"||w==="name");return B?w==="name"&&this._a===0?this.toName():this.toRgbString():(w==="rgb"&&(x=this.toRgbString()),w==="prgb"&&(x=this.toPercentageRgbString()),(w==="hex"||w==="hex6")&&(x=this.toHexString()),w==="hex3"&&(x=this.toHexString(!0)),w==="hex4"&&(x=this.toHex8String(!0)),w==="hex8"&&(x=this.toHex8String()),w==="name"&&(x=this.toName()),w==="hsl"&&(x=this.toHslString()),w==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(w,O){var x=w.apply(null,[this].concat([].slice.call(O)));return this._r=x._r,this._g=x._g,this._b=x._b,this.setAlpha(x._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(H,arguments)},darken:function(){return this._applyModification(I,arguments)},desaturate:function(){return this._applyModification(C,arguments)},saturate:function(){return this._applyModification(A,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(W,arguments)},_applyCombination:function(w,O){return w.apply(null,[this].concat([].slice.call(O)))},analogous:function(){return this._applyCombination(be,arguments)},complement:function(){return this._applyCombination(K,arguments)},monochromatic:function(){return this._applyCombination(we,arguments)},splitcomplement:function(){return this._applyCombination(He,arguments)},triad:function(){return this._applyCombination(V,arguments)},tetrad:function(){return this._applyCombination(te,arguments)}},c.fromRatio=function(w,O){if(typeof w=="object"){var x={};for(var z in w)w.hasOwnProperty(z)&&(z==="a"?x[z]=w[z]:x[z]=T(w[z]));w=x}return c(w,O)};function d(w){var O={r:0,g:0,b:0},x=1,z=null,B=null,L=null,ne=!1,ae=!1;return typeof w=="string"&&(w=ge(w)),typeof w=="object"&&(se(w.r)&&se(w.g)&&se(w.b)?(O=h(w.r,w.g,w.b),ne=!0,ae=String(w.r).substr(-1)==="%"?"prgb":"rgb"):se(w.h)&&se(w.s)&&se(w.v)?(z=T(w.s),B=T(w.v),O=g(w.h,z,B),ne=!0,ae="hsv"):se(w.h)&&se(w.s)&&se(w.l)&&(z=T(w.s),L=T(w.l),O=b(w.h,z,L),ne=!0,ae="hsl"),w.hasOwnProperty("a")&&(x=w.a)),x=ot(x),{ok:ne,format:w.format||ae,r:s(255,a(O.r,0)),g:s(255,a(O.g,0)),b:s(255,a(O.b,0)),a:x}}function h(w,O,x){return{r:Z(w,255)*255,g:Z(O,255)*255,b:Z(x,255)*255}}function f(w,O,x){w=Z(w,255),O=Z(O,255),x=Z(x,255);var z=a(w,O,x),B=s(w,O,x),L,ne,ae=(z+B)/2;if(z==B)L=ne=0;else{var Ce=z-B;switch(ne=ae>.5?Ce/(2-z-B):Ce/(z+B),z){case w:L=(O-x)/Ce+(O<x?6:0);break;case O:L=(x-w)/Ce+2;break;case x:L=(w-O)/Ce+4;break}L/=6}return{h:L,s:ne,l:ae}}function b(w,O,x){var z,B,L;w=Z(w,360),O=Z(O,100),x=Z(x,100);function ne(De,st,J){return J<0&&(J+=1),J>1&&(J-=1),J<1/6?De+(st-De)*6*J:J<1/2?st:J<2/3?De+(st-De)*(2/3-J)*6:De}if(O===0)z=B=L=x;else{var ae=x<.5?x*(1+O):x+O-x*O,Ce=2*x-ae;z=ne(Ce,ae,w+1/3),B=ne(Ce,ae,w),L=ne(Ce,ae,w-1/3)}return{r:z*255,g:B*255,b:L*255}}function v(w,O,x){w=Z(w,255),O=Z(O,255),x=Z(x,255);var z=a(w,O,x),B=s(w,O,x),L,ne,ae=z,Ce=z-B;if(ne=z===0?0:Ce/z,z==B)L=0;else{switch(z){case w:L=(O-x)/Ce+(O<x?6:0);break;case O:L=(x-w)/Ce+2;break;case x:L=(w-O)/Ce+4;break}L/=6}return{h:L,s:ne,v:ae}}function g(w,O,x){w=Z(w,360)*6,O=Z(O,100),x=Z(x,100);var z=t.floor(w),B=w-z,L=x*(1-O),ne=x*(1-B*O),ae=x*(1-(1-B)*O),Ce=z%6,De=[x,ne,L,L,ae,x][Ce],st=[ae,x,x,ne,L,L][Ce],J=[L,L,ae,x,x,ne][Ce];return{r:De*255,g:st*255,b:J*255}}function p(w,O,x,z){var B=[G(i(w).toString(16)),G(i(O).toString(16)),G(i(x).toString(16))];return z&&B[0].charAt(0)==B[0].charAt(1)&&B[1].charAt(0)==B[1].charAt(1)&&B[2].charAt(0)==B[2].charAt(1)?B[0].charAt(0)+B[1].charAt(0)+B[2].charAt(0):B.join("")}function m(w,O,x,z,B){var L=[G(i(w).toString(16)),G(i(O).toString(16)),G(i(x).toString(16)),G(oe(z))];return B&&L[0].charAt(0)==L[0].charAt(1)&&L[1].charAt(0)==L[1].charAt(1)&&L[2].charAt(0)==L[2].charAt(1)&&L[3].charAt(0)==L[3].charAt(1)?L[0].charAt(0)+L[1].charAt(0)+L[2].charAt(0)+L[3].charAt(0):L.join("")}function y(w,O,x,z){var B=[G(oe(z)),G(i(w).toString(16)),G(i(O).toString(16)),G(i(x).toString(16))];return B.join("")}c.equals=function(w,O){return!w||!O?!1:c(w).toRgbString()==c(O).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})};function C(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.s-=O/100,x.s=fe(x.s),c(x)}function A(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.s+=O/100,x.s=fe(x.s),c(x)}function S(w){return c(w).desaturate(100)}function M(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.l+=O/100,x.l=fe(x.l),c(x)}function H(w,O){O=O===0?0:O||10;var x=c(w).toRgb();return x.r=a(0,s(255,x.r-i(255*-(O/100)))),x.g=a(0,s(255,x.g-i(255*-(O/100)))),x.b=a(0,s(255,x.b-i(255*-(O/100)))),c(x)}function I(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.l-=O/100,x.l=fe(x.l),c(x)}function W(w,O){var x=c(w).toHsl(),z=(x.h+O)%360;return x.h=z<0?360+z:z,c(x)}function K(w){var O=c(w).toHsl();return O.h=(O.h+180)%360,c(O)}function V(w){var O=c(w).toHsl(),x=O.h;return[c(w),c({h:(x+120)%360,s:O.s,l:O.l}),c({h:(x+240)%360,s:O.s,l:O.l})]}function te(w){var O=c(w).toHsl(),x=O.h;return[c(w),c({h:(x+90)%360,s:O.s,l:O.l}),c({h:(x+180)%360,s:O.s,l:O.l}),c({h:(x+270)%360,s:O.s,l:O.l})]}function He(w){var O=c(w).toHsl(),x=O.h;return[c(w),c({h:(x+72)%360,s:O.s,l:O.l}),c({h:(x+216)%360,s:O.s,l:O.l})]}function be(w,O,x){O=O||6,x=x||30;var z=c(w).toHsl(),B=360/x,L=[c(w)];for(z.h=(z.h-(B*O>>1)+720)%360;--O;)z.h=(z.h+B)%360,L.push(c(z));return L}function we(w,O){O=O||6;for(var x=c(w).toHsv(),z=x.h,B=x.s,L=x.v,ne=[],ae=1/O;O--;)ne.push(c({h:z,s:B,v:L})),L=(L+ae)%1;return ne}c.mix=function(w,O,x){x=x===0?0:x||50;var z=c(w).toRgb(),B=c(O).toRgb(),L=x/100,ne={r:(B.r-z.r)*L+z.r,g:(B.g-z.g)*L+z.g,b:(B.b-z.b)*L+z.b,a:(B.a-z.a)*L+z.a};return c(ne)},c.readability=function(w,O){var x=c(w),z=c(O);return(t.max(x.getLuminance(),z.getLuminance())+.05)/(t.min(x.getLuminance(),z.getLuminance())+.05)},c.isReadable=function(w,O,x){var z=c.readability(w,O),B,L;switch(L=!1,B=Y(x),B.level+B.size){case"AAsmall":case"AAAlarge":L=z>=4.5;break;case"AAlarge":L=z>=3;break;case"AAAsmall":L=z>=7;break}return L},c.mostReadable=function(w,O,x){var z=null,B=0,L,ne,ae,Ce;x=x||{},ne=x.includeFallbackColors,ae=x.level,Ce=x.size;for(var De=0;De<O.length;De++)L=c.readability(w,O[De]),L>B&&(B=L,z=c(O[De]));return c.isReadable(w,z,{level:ae,size:Ce})||!ne?z:(x.includeFallbackColors=!1,c.mostReadable(w,["#fff","#000"],x))};var Je=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Se=c.hexNames=ke(Je);function ke(w){var O={};for(var x in w)w.hasOwnProperty(x)&&(O[w[x]]=x);return O}function ot(w){return w=parseFloat(w),(isNaN(w)||w<0||w>1)&&(w=1),w}function Z(w,O){j(w)&&(w="100%");var x=U(w);return w=s(O,a(0,parseFloat(w))),x&&(w=parseInt(w*O,10)/100),t.abs(w-O)<1e-6?1:w%O/parseFloat(O)}function fe(w){return s(1,a(0,w))}function N(w){return parseInt(w,16)}function j(w){return typeof w=="string"&&w.indexOf(".")!=-1&&parseFloat(w)===1}function U(w){return typeof w=="string"&&w.indexOf("%")!=-1}function G(w){return w.length==1?"0"+w:""+w}function T(w){return w<=1&&(w=w*100+"%"),w}function oe(w){return t.round(parseFloat(w)*255).toString(16)}function _(w){return N(w)/255}var de=(function(){var w="[-\\+]?\\d+%?",O="[-\\+]?\\d*\\.\\d+%?",x="(?:"+O+")|(?:"+w+")",z="[\\s|\\(]+("+x+")[,|\\s]+("+x+")[,|\\s]+("+x+")\\s*\\)?",B="[\\s|\\(]+("+x+")[,|\\s]+("+x+")[,|\\s]+("+x+")[,|\\s]+("+x+")\\s*\\)?";return{CSS_UNIT:new RegExp(x),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function se(w){return!!de.CSS_UNIT.exec(w)}function ge(w){w=w.replace(o,"").replace(r,"").toLowerCase();var O=!1;if(Je[w])w=Je[w],O=!0;else if(w=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var x;return(x=de.rgb.exec(w))?{r:x[1],g:x[2],b:x[3]}:(x=de.rgba.exec(w))?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=de.hsl.exec(w))?{h:x[1],s:x[2],l:x[3]}:(x=de.hsla.exec(w))?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=de.hsv.exec(w))?{h:x[1],s:x[2],v:x[3]}:(x=de.hsva.exec(w))?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=de.hex8.exec(w))?{r:N(x[1]),g:N(x[2]),b:N(x[3]),a:_(x[4]),format:O?"name":"hex8"}:(x=de.hex6.exec(w))?{r:N(x[1]),g:N(x[2]),b:N(x[3]),format:O?"name":"hex"}:(x=de.hex4.exec(w))?{r:N(x[1]+""+x[1]),g:N(x[2]+""+x[2]),b:N(x[3]+""+x[3]),a:_(x[4]+""+x[4]),format:O?"name":"hex8"}:(x=de.hex3.exec(w))?{r:N(x[1]+""+x[1]),g:N(x[2]+""+x[2]),b:N(x[3]+""+x[3]),format:O?"name":"hex"}:!1}function Y(w){var O,x;return w=w||{level:"AA",size:"small"},O=(w.level||"AA").toUpperCase(),x=(w.size||"small").toLowerCase(),O!=="AA"&&O!=="AAA"&&(O="AA"),x!=="small"&&x!=="large"&&(x="small"),{level:O,size:x}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(Rs)),Rs.exports}var sv=iv();const ee=Mr(sv),wg=e=>ee(e).brighten(8).toString("hex8"),av=e=>ee(e).brighten(16).toString("hex8"),kg=e=>ee(e).darken(10).toString("hex8"),lv=e=>ee(e).darken(20).toString("hex8"),cv=(e,t)=>{const o=ee(e),r=o.getFormat(),n=["hex","hex6","hex3","hex4","hex8"].includes(r);return o.isValid()&&n?typeof t=="number"&&(Number.isNaN(t)||t<0||t>1)?(console.error(`Invalid alpha value: ${t}`),o.toRgbString()):(typeof t=="number"&&o.setAlpha(t),o.toRgbString()):(console.error(`Invalid HEX color value: ${e}`),o.toRgbString())};var uv=0;function u(e,t,o,r,n,i){t||(t={});var s,a,l=t;if("ref"in l)for(a in l={},t)a=="ref"?s=t[a]:l[a]=t[a];var c={type:e,props:l,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--uv,__i:-1,__u:0,__source:n,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)l[a]===void 0&&(l[a]=s[a]);return le.vnode&&le.vnode(c),c}const Ag=Rr(null),dv=e=>{const{value:t,children:o}=e;return u(Ag.Provider,{value:t,children:o})},Si={xxl:1920,xl:1440,l:1280,m:1024,s:768,xs:374,xxs:320},gT={ArrowDown:{key:["ArrowDown","Down"],validate(e){return this.key.includes(e)}},ArrowLeft:{key:["ArrowLeft","Left"],validate(e){return this.key.includes(e)}},ArrowRight:{key:["ArrowRight","Right"],validate(e){return this.key.includes(e)}},ArrowUp:{key:["ArrowUp","Up"],validate(e){return this.key.includes(e)}},Esc:{key:["Escape","Esc"]}};class fv{constructor(){Ae(this,"observers",[]);Ae(this,"notify",t=>{this.observers.forEach(o=>o(t))});Ae(this,"unsubscribe",t=>{this.observers=this.observers.filter(o=>o!==t)})}subscribe(t){return this.observers.push(t),()=>{this.unsubscribe(t)}}}class ct extends fv{constructor(o,r){super();Ae(this,"subscribe",o=>{const r=super.subscribe.bind(this)(o);return this.mediaQueryList&&o({matches:this.mediaQueryList.matches}),r});this.id=o,typeof window<"u"&&(this.mediaQueryList=window.matchMedia(r),this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",n=>{this.notify({matches:n.matches})}):this.mediaQueryList.addListener(n=>{this.notify({matches:n.matches})}))}}const nt=class nt{constructor(t){this.breakpoint={minXXL:new ct("minXXL",nt.query.up(t.xxl)),minXL:new ct("minXL",nt.query.up(t.xl)),minL:new ct("minL",nt.query.up(t.l)),minM:new ct("minM",nt.query.up(t.m)),minS:new ct("minS",nt.query.up(t.s)),minXS:new ct("minXS",nt.query.up(t.xs)),minXXS:new ct("minXXS",nt.query.up(t.xxs)),maxXXL:new ct("maxXXL",nt.query.below(t.xxl)),maxXL:new ct("maxXL",nt.query.below(t.xl)),maxL:new ct("maxL",nt.query.below(t.l)),maxM:new ct("maxM",nt.query.below(t.m)),maxS:new ct("maxS",nt.query.below(t.s)),maxXS:new ct("maxXS",nt.query.below(t.xs)),maxXXS:new ct("maxXXS",nt.query.below(t.xxs))},this.orientation={landscape:new ct("landscape","(orientation: landscape)"),portrait:new ct("portrait","(orientation: portrait)")}}get matchers(){return Object.values({...this.breakpoint,...this.orientation})}static create(t){return new nt(t?{...Si,...t}:Si)}};Ae(nt,"query",{up:(...t)=>`(min-width: ${t[0]}px)`,below:(...t)=>`(max-width: ${t[0]-.02}px)`});let Ta=nt;const Qt=(()=>{const e=(o,r)=>`(max-width: ${o[r]-.02}px)`,t=(o,r)=>`(min-width: ${o[r]}px)`;return{MAX:e,MIN:t,RANGE:(o,r,n)=>`${t(o,r)} and ${e(o,n)}`}})(),Zt=(e,...t)=>o=>(...r)=>n=>{var s,a;const i={...Si,...(a=(s=n.theme)==null?void 0:s.breakpoints)!=null?a:{}};return o!==void 0&&typeof o.condition=="function"&&o.condition(n)===!1?"":R(["@media screen and "," ","{","}"],e(i,...t),o!==void 0&&typeof o.and=="string"?`and ${o.and}`:"",R(...r))},Kc=Zt(Qt.RANGE,"s","m"),an=Zt(Qt.RANGE,"m","l"),$c=Zt(Qt.MAX,"xxs"),Ki=Zt(Qt.MAX,"xs"),me=Zt(Qt.MAX,"s"),ie=Zt(Qt.MIN,"s"),$e=Zt(Qt.MAX,"m"),q=Zt(Qt.MIN,"m"),et=Zt(Qt.MAX,"l"),qe=Zt(Qt.MIN,"l"),pv=e=>(Array.isArray(e)?e:[e]).reduce((t,o)=>(o instanceof HTMLElement?o.isConnected&&t.push(o):o&&o.current instanceof HTMLElement&&o.current.isConnected&&t.push(o.current),t),[]),hv=()=>{const e=Ke(!1),t=xo(()=>e.current,[]);return Ie(()=>(e.current=!0,()=>{e.current=!1}),[]),t},Ra=Object.assign((e={})=>{const{minXXS:t,minXS:o,minS:r,minM:n,minL:i,minXL:s,minXXL:a,maxXXS:l,maxXS:c,maxS:d,maxM:h,maxL:f,maxXL:b,maxXXL:v,landscape:g,portrait:p}=e,m=Ct(Ag),[y,C]=ye(Object.create(null)),A=hv();return lt(()=>{const S={minXXS:!!t,minXS:!!o,minS:!!r,minM:!!n,minL:!!i,minXL:!!s,minXXL:!!a,maxXXS:!!l,maxXS:!!c,maxS:!!d,maxM:!!h,maxL:!!f,maxXL:!!b,maxXXL:!!v,landscape:!!g,portrait:!!p},M=[];return m&&m.matchers.filter(H=>S[H.id]).forEach(H=>{const I=H.subscribe(W=>{C(K=>({...K,[H.id]:W.matches}))});M.push(I)}),()=>{M.forEach(H=>{H()}),A()&&C(Object.create(null))}},[m,t,o,r,n,i,s,a,l,c,d,h,f,b,v,g,p,A]),y},{getConfig:(e={})=>({minXXS:e.min==="XXS",minXS:e.min==="XS",minS:e.min==="S",minM:e.min==="M",minL:e.min==="L",minXL:e.min==="XL",minXXL:e.min==="XXL",maxXXS:e.max==="XXS",maxXS:e.max==="XS",maxS:e.max==="S",maxM:e.max==="M",maxL:e.max==="L",maxXL:e.max==="XL",maxXXL:e.max==="XXL",landscape:e.orientation==="landscape",portrait:e.orientation==="portrait"})}),Sg=()=>Ra({minXXS:!0,minXS:!0,minS:!0,minM:!0,minL:!0,minXL:!0,minXXL:!0,maxXXS:!0,maxXS:!0,maxS:!0,maxM:!0,maxL:!0,maxXL:!0,maxXXL:!0,landscape:!0,portrait:!0}),Ma=Object.freeze({xxxl:44,xxl:40,xl:36,l:28,m:24,s:20,xs:16,xxs:8,xxxs:4}),gv=Object.freeze({xxxl:24,xxl:22,xl:20,l:18,m:16,s:14,xs:12,xxs:10,xxxs:8}),Dd=["xl","l","m","s","xs","xxs"];function Cg(e){return typeof e=="string"&&e==="font-size"?gv:Ma}function mv(e,t,o,r,n){var a;const i=n!=null?n:Cg(t),s=typeof e=="string"&&(a=i[e])!=null?a:e;return R(["",""],typeof t=="function"?o()`
|
|
32
|
+
`),r=[],n=0,i=o.length;n<i;n++){var s=o[n].trim();if(s){var a=s.match(Bb);if(a){var l=0|parseInt(a[1],10),c=a[2];l!==0&&(zb(c,l),Db(e,c,a[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(s)}}},_b=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},fg=function(e){var t=document.head,o=e||t,r=document.createElement("style"),n=(function(a){for(var l=a.childNodes,c=l.length;c>=0;c--){var d=l[c];if(d&&d.nodeType===1&&d.hasAttribute(Ar))return d}})(o),i=n!==void 0?n.nextSibling:null;r.setAttribute(Ar,"active"),r.setAttribute("data-styled-version","5.3.11");var s=_b();return s&&r.setAttribute("nonce",s),o.insertBefore(r,i),r},Ib=(function(){function e(o){var r=this.element=fg(o);r.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var i=document.styleSheets,s=0,a=i.length;s<a;s++){var l=i[s];if(l.ownerNode===n)return l}Vo(17)})(r),this.length=0}var t=e.prototype;return t.insertRule=function(o,r){try{return this.sheet.insertRule(r,o),this.length++,!0}catch{return!1}},t.deleteRule=function(o){this.sheet.deleteRule(o),this.length--},t.getRule=function(o){var r=this.sheet.cssRules[o];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e})(),Nb=(function(){function e(o){var r=this.element=fg(o);this.nodes=r.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(o,r){if(o<=this.length&&o>=0){var n=document.createTextNode(r),i=this.nodes[o];return this.element.insertBefore(n,i||null),this.length++,!0}return!1},t.deleteRule=function(o){this.element.removeChild(this.nodes[o]),this.length--},t.getRule=function(o){return o<this.length?this.nodes[o].textContent:""},e})(),jb=(function(){function e(o){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(o,r){return o<=this.length&&(this.rules.splice(o,0,r),this.length++,!0)},t.deleteRule=function(o){this.rules.splice(o,1),this.length--},t.getRule=function(o){return o<this.length?this.rules[o]:""},e})(),Td=qc,Xb={isServer:!qc,useCSSOMInjection:!Pb},Ai=(function(){function e(o,r,n){o===void 0&&(o=yo),r===void 0&&(r={}),this.options=Dt({},Xb,{},o),this.gs=r,this.names=new Map(n),this.server=!!o.isServer,!this.server&&qc&&Td&&(Td=!1,(function(i){for(var s=document.querySelectorAll(Hb),a=0,l=s.length;a<l;a++){var c=s[a];c&&c.getAttribute(Ar)!=="active"&&(Lb(i,c),c.parentNode&&c.parentNode.removeChild(c))}})(this))}e.registerId=function(o){return _n(o)};var t=e.prototype;return t.reconstructWithOptions=function(o,r){return r===void 0&&(r=!0),new e(Dt({},this.options,{},o),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(o){return this.gs[o]=(this.gs[o]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(r=this.options).isServer,i=r.useCSSOMInjection,s=r.target,o=n?new jb(s):i?new Ib(s):new Nb(s),new Rb(o)));var o,r,n,i,s},t.hasNameForId=function(o,r){return this.names.has(o)&&this.names.get(o).has(r)},t.registerName=function(o,r){if(_n(o),this.names.has(o))this.names.get(o).add(r);else{var n=new Set;n.add(r),this.names.set(o,n)}},t.insertRules=function(o,r,n){this.registerName(o,r),this.getTag().insertRules(_n(o),n)},t.clearNames=function(o){this.names.has(o)&&this.names.get(o).clear()},t.clearRules=function(o){this.getTag().clearGroup(_n(o)),this.clearNames(o)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return(function(o){for(var r=o.getTag(),n=r.length,i="",s=0;s<n;s++){var a=Mb(s);if(a!==void 0){var l=o.names.get(a),c=r.getGroup(s);if(l&&c&&l.size){var d=Ar+".g"+s+'[id="'+a+'"]',g="";l!==void 0&&l.forEach((function(f){f.length>0&&(g+=f+",")})),i+=""+c+d+'{content:"'+g+`"}/*!sc*/
|
|
33
|
+
`}}}return i})(this)},e})(),Fb=/(a)(d)/gi,Rd=function(e){return String.fromCharCode(e+(e>25?39:97))};function Oa(e){var t,o="";for(t=Math.abs(e);t>52;t=t/52|0)o=Rd(t%52)+o;return(Rd(t%52)+o).replace(Fb,"$1-$2")}var ar=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},pg=function(e){return ar(5381,e)};function hg(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(kr(o)&&!Gc(o))return!1}return!0}var Ub=pg("5.3.11"),Vb=(function(){function e(t,o,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&hg(t),this.componentId=o,this.baseHash=ar(Ub,o),this.baseStyle=r,Ai.registerId(o)}return e.prototype.generateAndInjectStyles=function(t,o,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,o,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&o.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var s=Go(this.rules,t,o,r).join(""),a=Oa(ar(this.baseHash,s)>>>0);if(!o.hasNameForId(n,a)){var l=r(s,"."+a,void 0,n);o.insertRules(n,a,l)}i.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,d=ar(this.baseHash,r.hash),g="",f=0;f<c;f++){var b=this.rules[f];if(typeof b=="string")g+=b;else if(b){var v=Go(b,t,o,r),p=Array.isArray(v)?v.join(""):v;d=ar(d,p+f),g+=p}}if(g){var h=Oa(d>>>0);if(!o.hasNameForId(n,h)){var m=r(g,"."+h,void 0,n);o.insertRules(n,h,m)}i.push(h)}}return i.join(" ")},e})(),Gb=/^\s*\/\/.*$/gm,qb=[":","[",".","#"];function gg(e){var t,o,r,n,i=e===void 0?yo:e,s=i.options,a=s===void 0?yo:s,l=i.plugins,c=l===void 0?wi:l,d=new xb(a),g=[],f=(function(p){function h(m){if(m)try{p(m+"}")}catch{}}return function(m,y,C,A,S,M,H,I,W,K){switch(m){case 1:if(W===0&&y.charCodeAt(0)===64)return p(y+";"),"";break;case 2:if(I===0)return y+"/*|*/";break;case 3:switch(I){case 102:case 112:return p(C[0]+y),"";default:return y+(K===0?"/*|*/":"")}case-2:y.split("/*|*/}").forEach(h)}}})((function(p){g.push(p)})),b=function(p,h,m){return h===0&&qb.indexOf(m[o.length])!==-1||m.match(n)?p:"."+t};function v(p,h,m,y){y===void 0&&(y="&");var C=p.replace(Gb,""),A=h&&m?m+" "+h+" { "+C+" }":C;return t=y,o=h,r=new RegExp("\\"+o+"\\b","g"),n=new RegExp("(\\"+o+"\\b){2,}"),d(m||!h?"":h,A)}return d.use([].concat(c,[function(p,h,m){p===2&&m.length&&m[0].lastIndexOf(o)>0&&(m[0]=m[0].replace(r,b))},f,function(p){if(p===-2){var h=g;return g=[],h}}])),v.hash=c.length?c.reduce((function(p,h){return h.name||Vo(15),ar(p,h.name)}),5381).toString():"",v}var Jc=Me.createContext();Jc.Consumer;var Wc=Me.createContext(),Jb=(Wc.Consumer,new Ai),Ea=gg();function Yc(){return Ct(Jc)||Jb}function mg(){return Ct(Wc)||Ea}function Wb(e){var t=ye(e.stylisPlugins),o=t[0],r=t[1],n=Yc(),i=Ut((function(){var a=n;return e.sheet?a=e.sheet:e.target&&(a=a.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(a=a.reconstructWithOptions({useCSSOMInjection:!1})),a}),[e.disableCSSOMInjection,e.sheet,e.target]),s=Ut((function(){return gg({options:{prefix:!e.disableVendorPrefixes},plugins:o})}),[e.disableVendorPrefixes,o]);return Ie((function(){yb(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),Me.createElement(Jc.Provider,{value:i},Me.createElement(Wc.Provider,{value:s},e.children))}var bg=(function(){function e(t,o){var r=this;this.inject=function(n,i){i===void 0&&(i=Ea);var s=r.name+i.hash;n.hasNameForId(r.id,s)||n.insertRules(r.id,s,i(r.rules,s,"@keyframes"))},this.toString=function(){return Vo(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=o}return e.prototype.getName=function(t){return t===void 0&&(t=Ea),this.name+t.hash},e})(),Yb=/([A-Z])/,Qb=/([A-Z])/g,Zb=/^ms-/,Kb=function(e){return"-"+e.toLowerCase()};function Md(e){return Yb.test(e)?e.replace(Qb,Kb).replace(Zb,"-ms-"):e}var zd=function(e){return e==null||e===!1||e===""};function Go(e,t,o,r){if(Array.isArray(e)){for(var n,i=[],s=0,a=e.length;s<a;s+=1)(n=Go(e[s],t,o,r))!==""&&(Array.isArray(n)?i.push.apply(i,n):i.push(n));return i}if(zd(e))return"";if(Gc(e))return"."+e.styledComponentId;if(kr(e)){if(typeof(c=e)!="function"||c.prototype&&c.prototype.isReactComponent||!t)return e;var l=e(t);return Go(l,t,o,r)}var c;return e instanceof bg?o?(e.inject(o,r),e.getName(r)):e:Sa(e)?(function d(g,f){var b,v,p=[];for(var h in g)g.hasOwnProperty(h)&&!zd(g[h])&&(Array.isArray(g[h])&&g[h].isCss||kr(g[h])?p.push(Md(h)+":",g[h],";"):Sa(g[h])?p.push.apply(p,d(g[h],h)):p.push(Md(h)+": "+(b=h,(v=g[h])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||b in wb||b.startsWith("--")?String(v).trim():v+"px")+";"));return f?[f+" {"].concat(p,["}"]):p})(e):e.toString()}var Hd=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function R(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];return kr(e)||Sa(e)?Hd(Go(Pd(wi,[e].concat(o)))):o.length===0&&e.length===1&&typeof e[0]=="string"?e:Hd(Go(Pd(e,o)))}var Qc=function(e,t,o){return o===void 0&&(o=yo),e.theme!==o.theme&&e.theme||t||o.theme},$b=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ev=/(^-|-$)/g;function Ps(e){return e.replace($b,"-").replace(ev,"")}var Zc=function(e){return Oa(pg(e)>>>0)};function In(e){return typeof e=="string"&&!0}var Pa=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},tv=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function ov(e,t,o){var r=e[o];Pa(t)&&Pa(r)?vg(r,t):e[o]=t}function vg(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];for(var n=0,i=o;n<i.length;n++){var s=i[n];if(Pa(s))for(var a in s)tv(a)&&ov(e,s[a],a)}return e}var qo=Me.createContext();qo.Consumer;function yg(e){var t=Ct(qo),o=Ut((function(){return(function(r,n){if(!r)return Vo(14);if(kr(r)){var i=r(n);return i}return Array.isArray(r)||typeof r!="object"?Vo(8):n?Dt({},n,{},r):r})(e.theme,t)}),[e.theme,t]);return e.children?Me.createElement(qo.Provider,{value:o},e.children):null}var Ts={};function xg(e,t,o){var r=Gc(e),n=!In(e),i=t.attrs,s=i===void 0?wi:i,a=t.componentId,l=a===void 0?(function(y,C){var A=typeof y!="string"?"sc":Ps(y);Ts[A]=(Ts[A]||0)+1;var S=A+"-"+Zc("5.3.11"+A+Ts[A]);return C?C+"-"+S:S})(t.displayName,t.parentComponentId):a,c=t.displayName,d=c===void 0?(function(y){return In(y)?"styled."+y:"Styled("+Ca(y)+")"})(e):c,g=t.displayName&&t.componentId?Ps(t.displayName)+"-"+t.componentId:t.componentId||l,f=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,b=t.shouldForwardProp;r&&e.shouldForwardProp&&(b=t.shouldForwardProp?function(y,C,A){return e.shouldForwardProp(y,C,A)&&t.shouldForwardProp(y,C,A)}:e.shouldForwardProp);var v,p=new Vb(o,g,r?e.componentStyle:void 0),h=p.isStatic&&s.length===0,m=function(y,C){return(function(A,S,M,H){var I=A.attrs,W=A.componentStyle,K=A.defaultProps,V=A.foldedComponentIds,te=A.shouldForwardProp,He=A.styledComponentId,be=A.target,we=(function(G,T,oe){G===void 0&&(G=yo);var _=Dt({},T,{theme:G}),de={};return oe.forEach((function(se){var ge,Y,w,O=se;for(ge in kr(O)&&(O=O(_)),O)_[ge]=de[ge]=ge==="className"?(Y=de[ge],w=O[ge],Y&&w?Y+" "+w:Y||w):O[ge]})),[_,de]})(Qc(S,Ct(qo),K)||yo,S,I),Je=we[0],Se=we[1],ke=(function(G,T,oe,_){var de=Yc(),se=mg(),ge=T?G.generateAndInjectStyles(yo,de,se):G.generateAndInjectStyles(oe,de,se);return ge})(W,H,Je),ot=M,Z=Se.$as||S.$as||Se.as||S.as||be,fe=In(Z),N=Se!==S?Dt({},S,{},Se):S,j={};for(var U in N)U[0]!=="$"&&U!=="as"&&(U==="forwardedAs"?j.as=N[U]:(te?te(U,Sd,Z):!fe||Sd(U))&&(j[U]=N[U]));return S.style&&Se.style!==S.style&&(j.style=Dt({},S.style,{},Se.style)),j.className=Array.prototype.concat(V,He,ke!==He?ke:null,S.className,Se.className).filter(Boolean).join(" "),j.ref=ot,P(Z,j)})(v,y,C,h)};return m.displayName=d,(v=Me.forwardRef(m)).attrs=f,v.componentStyle=p,v.displayName=d,v.shouldForwardProp=b,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):wi,v.styledComponentId=g,v.target=r?e.target:e,v.withComponent=function(y){var C=t.componentId,A=(function(M,H){if(M==null)return{};var I,W,K={},V=Object.keys(M);for(W=0;W<V.length;W++)I=V[W],H.indexOf(I)>=0||(K[I]=M[I]);return K})(t,["componentId"]),S=C&&C+"-"+(In(y)?y:Ps(Ca(y)));return xg(y,Dt({},A,{attrs:f,componentId:S}),o)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(y){this._foldedDefaultProps=r?vg({},e.defaultProps,y):y}}),Object.defineProperty(v,"toString",{value:function(){return"."+v.styledComponentId}}),n&&dg(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var k=function(e){return(function t(o,r,n){if(n===void 0&&(n=yo),!ug.isValidElementType(r))return Vo(1,String(r));var i=function(){return o(r,n,R.apply(void 0,arguments))};return i.withConfig=function(s){return t(o,r,Dt({},n,{},s))},i.attrs=function(s){return t(o,r,Dt({},n,{attrs:Array.prototype.concat(n.attrs,s).filter(Boolean)}))},i})(xg,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){k[e]=k(e)}));var rv=(function(){function e(o,r){this.rules=o,this.componentId=r,this.isStatic=hg(o),Ai.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(o,r,n,i){var s=i(Go(this.rules,r,n,i).join(""),""),a=this.componentId+o;n.insertRules(a,a,s)},t.removeStyles=function(o,r){r.clearRules(this.componentId+o)},t.renderStyles=function(o,r,n,i){o>2&&Ai.registerId(this.componentId+o),this.removeStyles(o,n),this.createStyles(o,r,n,i)},e})();function Zi(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];var n=R.apply(void 0,[e].concat(o)),i="sc-global-"+Zc(JSON.stringify(n)),s=new rv(n,i);function a(c){var d=Yc(),g=mg(),f=Ct(qo),b=Ke(d.allocateGSInstance(i)).current;return d.server&&l(b,c,d,f,g),lt((function(){if(!d.server)return l(b,c,d,f,g),function(){return s.removeStyles(b,d)}}),[b,c,d,f,g]),null}function l(c,d,g,f,b){if(s.isStatic)s.renderStyles(c,Tb,g,b);else{var v=Dt({},d,{theme:Qc(d,f,a.defaultProps)});s.renderStyles(c,v,g,b)}}return Me.memo(a)}function Qo(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];var n=R.apply(void 0,[e].concat(o)).join(""),i=Zc(n);return new bg(i,n)}var nv=function(e){var t=Me.forwardRef((function(o,r){var n=Ct(qo),i=e.defaultProps,s=Qc(o,n,i);return Me.createElement(e,Dt({},o,{theme:s,ref:r}))}));return dg(t,e),t.displayName="WithTheme("+Ca(e)+")",t},Oo=function(){return Ct(qo)},Rs={exports:{}},Bd;function iv(){return Bd||(Bd=1,(function(e){(function(t){var o=/^\s+/,r=/\s+$/,n=0,i=t.round,s=t.min,a=t.max,l=t.random;function c(w,O){if(w=w||"",O=O||{},w instanceof c)return w;if(!(this instanceof c))return new c(w,O);var x=d(w);this._originalInput=w,this._r=x.r,this._g=x.g,this._b=x.b,this._a=x.a,this._roundA=i(100*this._a)/100,this._format=O.format||x.format,this._gradientType=O.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=x.ok,this._tc_id=n++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var w=this.toRgb();return(w.r*299+w.g*587+w.b*114)/1e3},getLuminance:function(){var w=this.toRgb(),O,x,z,B,L,ne;return O=w.r/255,x=w.g/255,z=w.b/255,O<=.03928?B=O/12.92:B=t.pow((O+.055)/1.055,2.4),x<=.03928?L=x/12.92:L=t.pow((x+.055)/1.055,2.4),z<=.03928?ne=z/12.92:ne=t.pow((z+.055)/1.055,2.4),.2126*B+.7152*L+.0722*ne},setAlpha:function(w){return this._a=ot(w),this._roundA=i(100*this._a)/100,this},toHsv:function(){var w=v(this._r,this._g,this._b);return{h:w.h*360,s:w.s,v:w.v,a:this._a}},toHsvString:function(){var w=v(this._r,this._g,this._b),O=i(w.h*360),x=i(w.s*100),z=i(w.v*100);return this._a==1?"hsv("+O+", "+x+"%, "+z+"%)":"hsva("+O+", "+x+"%, "+z+"%, "+this._roundA+")"},toHsl:function(){var w=f(this._r,this._g,this._b);return{h:w.h*360,s:w.s,l:w.l,a:this._a}},toHslString:function(){var w=f(this._r,this._g,this._b),O=i(w.h*360),x=i(w.s*100),z=i(w.l*100);return this._a==1?"hsl("+O+", "+x+"%, "+z+"%)":"hsla("+O+", "+x+"%, "+z+"%, "+this._roundA+")"},toHex:function(w){return h(this._r,this._g,this._b,w)},toHexString:function(w){return"#"+this.toHex(w)},toHex8:function(w){return m(this._r,this._g,this._b,this._a,w)},toHex8String:function(w){return"#"+this.toHex8(w)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(Z(this._r,255)*100)+"%",g:i(Z(this._g,255)*100)+"%",b:i(Z(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+i(Z(this._r,255)*100)+"%, "+i(Z(this._g,255)*100)+"%, "+i(Z(this._b,255)*100)+"%)":"rgba("+i(Z(this._r,255)*100)+"%, "+i(Z(this._g,255)*100)+"%, "+i(Z(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Se[h(this._r,this._g,this._b,!0)]||!1},toFilter:function(w){var O="#"+y(this._r,this._g,this._b,this._a),x=O,z=this._gradientType?"GradientType = 1, ":"";if(w){var B=c(w);x="#"+y(B._r,B._g,B._b,B._a)}return"progid:DXImageTransform.Microsoft.gradient("+z+"startColorstr="+O+",endColorstr="+x+")"},toString:function(w){var O=!!w;w=w||this._format;var x=!1,z=this._a<1&&this._a>=0,B=!O&&z&&(w==="hex"||w==="hex6"||w==="hex3"||w==="hex4"||w==="hex8"||w==="name");return B?w==="name"&&this._a===0?this.toName():this.toRgbString():(w==="rgb"&&(x=this.toRgbString()),w==="prgb"&&(x=this.toPercentageRgbString()),(w==="hex"||w==="hex6")&&(x=this.toHexString()),w==="hex3"&&(x=this.toHexString(!0)),w==="hex4"&&(x=this.toHex8String(!0)),w==="hex8"&&(x=this.toHex8String()),w==="name"&&(x=this.toName()),w==="hsl"&&(x=this.toHslString()),w==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(w,O){var x=w.apply(null,[this].concat([].slice.call(O)));return this._r=x._r,this._g=x._g,this._b=x._b,this.setAlpha(x._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(H,arguments)},darken:function(){return this._applyModification(I,arguments)},desaturate:function(){return this._applyModification(C,arguments)},saturate:function(){return this._applyModification(A,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(W,arguments)},_applyCombination:function(w,O){return w.apply(null,[this].concat([].slice.call(O)))},analogous:function(){return this._applyCombination(be,arguments)},complement:function(){return this._applyCombination(K,arguments)},monochromatic:function(){return this._applyCombination(we,arguments)},splitcomplement:function(){return this._applyCombination(He,arguments)},triad:function(){return this._applyCombination(V,arguments)},tetrad:function(){return this._applyCombination(te,arguments)}},c.fromRatio=function(w,O){if(typeof w=="object"){var x={};for(var z in w)w.hasOwnProperty(z)&&(z==="a"?x[z]=w[z]:x[z]=T(w[z]));w=x}return c(w,O)};function d(w){var O={r:0,g:0,b:0},x=1,z=null,B=null,L=null,ne=!1,ae=!1;return typeof w=="string"&&(w=ge(w)),typeof w=="object"&&(se(w.r)&&se(w.g)&&se(w.b)?(O=g(w.r,w.g,w.b),ne=!0,ae=String(w.r).substr(-1)==="%"?"prgb":"rgb"):se(w.h)&&se(w.s)&&se(w.v)?(z=T(w.s),B=T(w.v),O=p(w.h,z,B),ne=!0,ae="hsv"):se(w.h)&&se(w.s)&&se(w.l)&&(z=T(w.s),L=T(w.l),O=b(w.h,z,L),ne=!0,ae="hsl"),w.hasOwnProperty("a")&&(x=w.a)),x=ot(x),{ok:ne,format:w.format||ae,r:s(255,a(O.r,0)),g:s(255,a(O.g,0)),b:s(255,a(O.b,0)),a:x}}function g(w,O,x){return{r:Z(w,255)*255,g:Z(O,255)*255,b:Z(x,255)*255}}function f(w,O,x){w=Z(w,255),O=Z(O,255),x=Z(x,255);var z=a(w,O,x),B=s(w,O,x),L,ne,ae=(z+B)/2;if(z==B)L=ne=0;else{var Ce=z-B;switch(ne=ae>.5?Ce/(2-z-B):Ce/(z+B),z){case w:L=(O-x)/Ce+(O<x?6:0);break;case O:L=(x-w)/Ce+2;break;case x:L=(w-O)/Ce+4;break}L/=6}return{h:L,s:ne,l:ae}}function b(w,O,x){var z,B,L;w=Z(w,360),O=Z(O,100),x=Z(x,100);function ne(De,st,J){return J<0&&(J+=1),J>1&&(J-=1),J<1/6?De+(st-De)*6*J:J<1/2?st:J<2/3?De+(st-De)*(2/3-J)*6:De}if(O===0)z=B=L=x;else{var ae=x<.5?x*(1+O):x+O-x*O,Ce=2*x-ae;z=ne(Ce,ae,w+1/3),B=ne(Ce,ae,w),L=ne(Ce,ae,w-1/3)}return{r:z*255,g:B*255,b:L*255}}function v(w,O,x){w=Z(w,255),O=Z(O,255),x=Z(x,255);var z=a(w,O,x),B=s(w,O,x),L,ne,ae=z,Ce=z-B;if(ne=z===0?0:Ce/z,z==B)L=0;else{switch(z){case w:L=(O-x)/Ce+(O<x?6:0);break;case O:L=(x-w)/Ce+2;break;case x:L=(w-O)/Ce+4;break}L/=6}return{h:L,s:ne,v:ae}}function p(w,O,x){w=Z(w,360)*6,O=Z(O,100),x=Z(x,100);var z=t.floor(w),B=w-z,L=x*(1-O),ne=x*(1-B*O),ae=x*(1-(1-B)*O),Ce=z%6,De=[x,ne,L,L,ae,x][Ce],st=[ae,x,x,ne,L,L][Ce],J=[L,L,ae,x,x,ne][Ce];return{r:De*255,g:st*255,b:J*255}}function h(w,O,x,z){var B=[G(i(w).toString(16)),G(i(O).toString(16)),G(i(x).toString(16))];return z&&B[0].charAt(0)==B[0].charAt(1)&&B[1].charAt(0)==B[1].charAt(1)&&B[2].charAt(0)==B[2].charAt(1)?B[0].charAt(0)+B[1].charAt(0)+B[2].charAt(0):B.join("")}function m(w,O,x,z,B){var L=[G(i(w).toString(16)),G(i(O).toString(16)),G(i(x).toString(16)),G(oe(z))];return B&&L[0].charAt(0)==L[0].charAt(1)&&L[1].charAt(0)==L[1].charAt(1)&&L[2].charAt(0)==L[2].charAt(1)&&L[3].charAt(0)==L[3].charAt(1)?L[0].charAt(0)+L[1].charAt(0)+L[2].charAt(0)+L[3].charAt(0):L.join("")}function y(w,O,x,z){var B=[G(oe(z)),G(i(w).toString(16)),G(i(O).toString(16)),G(i(x).toString(16))];return B.join("")}c.equals=function(w,O){return!w||!O?!1:c(w).toRgbString()==c(O).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})};function C(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.s-=O/100,x.s=fe(x.s),c(x)}function A(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.s+=O/100,x.s=fe(x.s),c(x)}function S(w){return c(w).desaturate(100)}function M(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.l+=O/100,x.l=fe(x.l),c(x)}function H(w,O){O=O===0?0:O||10;var x=c(w).toRgb();return x.r=a(0,s(255,x.r-i(255*-(O/100)))),x.g=a(0,s(255,x.g-i(255*-(O/100)))),x.b=a(0,s(255,x.b-i(255*-(O/100)))),c(x)}function I(w,O){O=O===0?0:O||10;var x=c(w).toHsl();return x.l-=O/100,x.l=fe(x.l),c(x)}function W(w,O){var x=c(w).toHsl(),z=(x.h+O)%360;return x.h=z<0?360+z:z,c(x)}function K(w){var O=c(w).toHsl();return O.h=(O.h+180)%360,c(O)}function V(w){var O=c(w).toHsl(),x=O.h;return[c(w),c({h:(x+120)%360,s:O.s,l:O.l}),c({h:(x+240)%360,s:O.s,l:O.l})]}function te(w){var O=c(w).toHsl(),x=O.h;return[c(w),c({h:(x+90)%360,s:O.s,l:O.l}),c({h:(x+180)%360,s:O.s,l:O.l}),c({h:(x+270)%360,s:O.s,l:O.l})]}function He(w){var O=c(w).toHsl(),x=O.h;return[c(w),c({h:(x+72)%360,s:O.s,l:O.l}),c({h:(x+216)%360,s:O.s,l:O.l})]}function be(w,O,x){O=O||6,x=x||30;var z=c(w).toHsl(),B=360/x,L=[c(w)];for(z.h=(z.h-(B*O>>1)+720)%360;--O;)z.h=(z.h+B)%360,L.push(c(z));return L}function we(w,O){O=O||6;for(var x=c(w).toHsv(),z=x.h,B=x.s,L=x.v,ne=[],ae=1/O;O--;)ne.push(c({h:z,s:B,v:L})),L=(L+ae)%1;return ne}c.mix=function(w,O,x){x=x===0?0:x||50;var z=c(w).toRgb(),B=c(O).toRgb(),L=x/100,ne={r:(B.r-z.r)*L+z.r,g:(B.g-z.g)*L+z.g,b:(B.b-z.b)*L+z.b,a:(B.a-z.a)*L+z.a};return c(ne)},c.readability=function(w,O){var x=c(w),z=c(O);return(t.max(x.getLuminance(),z.getLuminance())+.05)/(t.min(x.getLuminance(),z.getLuminance())+.05)},c.isReadable=function(w,O,x){var z=c.readability(w,O),B,L;switch(L=!1,B=Y(x),B.level+B.size){case"AAsmall":case"AAAlarge":L=z>=4.5;break;case"AAlarge":L=z>=3;break;case"AAAsmall":L=z>=7;break}return L},c.mostReadable=function(w,O,x){var z=null,B=0,L,ne,ae,Ce;x=x||{},ne=x.includeFallbackColors,ae=x.level,Ce=x.size;for(var De=0;De<O.length;De++)L=c.readability(w,O[De]),L>B&&(B=L,z=c(O[De]));return c.isReadable(w,z,{level:ae,size:Ce})||!ne?z:(x.includeFallbackColors=!1,c.mostReadable(w,["#fff","#000"],x))};var Je=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Se=c.hexNames=ke(Je);function ke(w){var O={};for(var x in w)w.hasOwnProperty(x)&&(O[w[x]]=x);return O}function ot(w){return w=parseFloat(w),(isNaN(w)||w<0||w>1)&&(w=1),w}function Z(w,O){j(w)&&(w="100%");var x=U(w);return w=s(O,a(0,parseFloat(w))),x&&(w=parseInt(w*O,10)/100),t.abs(w-O)<1e-6?1:w%O/parseFloat(O)}function fe(w){return s(1,a(0,w))}function N(w){return parseInt(w,16)}function j(w){return typeof w=="string"&&w.indexOf(".")!=-1&&parseFloat(w)===1}function U(w){return typeof w=="string"&&w.indexOf("%")!=-1}function G(w){return w.length==1?"0"+w:""+w}function T(w){return w<=1&&(w=w*100+"%"),w}function oe(w){return t.round(parseFloat(w)*255).toString(16)}function _(w){return N(w)/255}var de=(function(){var w="[-\\+]?\\d+%?",O="[-\\+]?\\d*\\.\\d+%?",x="(?:"+O+")|(?:"+w+")",z="[\\s|\\(]+("+x+")[,|\\s]+("+x+")[,|\\s]+("+x+")\\s*\\)?",B="[\\s|\\(]+("+x+")[,|\\s]+("+x+")[,|\\s]+("+x+")[,|\\s]+("+x+")\\s*\\)?";return{CSS_UNIT:new RegExp(x),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function se(w){return!!de.CSS_UNIT.exec(w)}function ge(w){w=w.replace(o,"").replace(r,"").toLowerCase();var O=!1;if(Je[w])w=Je[w],O=!0;else if(w=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var x;return(x=de.rgb.exec(w))?{r:x[1],g:x[2],b:x[3]}:(x=de.rgba.exec(w))?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=de.hsl.exec(w))?{h:x[1],s:x[2],l:x[3]}:(x=de.hsla.exec(w))?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=de.hsv.exec(w))?{h:x[1],s:x[2],v:x[3]}:(x=de.hsva.exec(w))?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=de.hex8.exec(w))?{r:N(x[1]),g:N(x[2]),b:N(x[3]),a:_(x[4]),format:O?"name":"hex8"}:(x=de.hex6.exec(w))?{r:N(x[1]),g:N(x[2]),b:N(x[3]),format:O?"name":"hex"}:(x=de.hex4.exec(w))?{r:N(x[1]+""+x[1]),g:N(x[2]+""+x[2]),b:N(x[3]+""+x[3]),a:_(x[4]+""+x[4]),format:O?"name":"hex8"}:(x=de.hex3.exec(w))?{r:N(x[1]+""+x[1]),g:N(x[2]+""+x[2]),b:N(x[3]+""+x[3]),format:O?"name":"hex"}:!1}function Y(w){var O,x;return w=w||{level:"AA",size:"small"},O=(w.level||"AA").toUpperCase(),x=(w.size||"small").toLowerCase(),O!=="AA"&&O!=="AAA"&&(O="AA"),x!=="small"&&x!=="large"&&(x="small"),{level:O,size:x}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(Rs)),Rs.exports}var sv=iv();const ee=Mr(sv),wg=e=>ee(e).brighten(8).toString("hex8"),av=e=>ee(e).brighten(16).toString("hex8"),kg=e=>ee(e).darken(10).toString("hex8"),lv=e=>ee(e).darken(20).toString("hex8"),cv=(e,t)=>{const o=ee(e),r=o.getFormat(),n=["hex","hex6","hex3","hex4","hex8"].includes(r);return o.isValid()&&n?typeof t=="number"&&(Number.isNaN(t)||t<0||t>1)?(console.error(`Invalid alpha value: ${t}`),o.toRgbString()):(typeof t=="number"&&o.setAlpha(t),o.toRgbString()):(console.error(`Invalid HEX color value: ${e}`),o.toRgbString())};var uv=0;function u(e,t,o,r,n,i){t||(t={});var s,a,l=t;if("ref"in l)for(a in l={},t)a=="ref"?s=t[a]:l[a]=t[a];var c={type:e,props:l,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--uv,__i:-1,__u:0,__source:n,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)l[a]===void 0&&(l[a]=s[a]);return le.vnode&&le.vnode(c),c}const Ag=Rr(null),dv=e=>{const{value:t,children:o}=e;return u(Ag.Provider,{value:t,children:o})},Si={xxl:1920,xl:1440,l:1280,m:1024,s:768,xs:374,xxs:320},gT={ArrowDown:{key:["ArrowDown","Down"],validate(e){return this.key.includes(e)}},ArrowLeft:{key:["ArrowLeft","Left"],validate(e){return this.key.includes(e)}},ArrowRight:{key:["ArrowRight","Right"],validate(e){return this.key.includes(e)}},ArrowUp:{key:["ArrowUp","Up"],validate(e){return this.key.includes(e)}},Esc:{key:["Escape","Esc"]}};class fv{constructor(){Ae(this,"observers",[]);Ae(this,"notify",t=>{this.observers.forEach(o=>o(t))});Ae(this,"unsubscribe",t=>{this.observers=this.observers.filter(o=>o!==t)})}subscribe(t){return this.observers.push(t),()=>{this.unsubscribe(t)}}}class ct extends fv{constructor(o,r){super();Ae(this,"subscribe",o=>{const r=super.subscribe.bind(this)(o);return this.mediaQueryList&&o({matches:this.mediaQueryList.matches}),r});this.id=o,typeof window<"u"&&(this.mediaQueryList=window.matchMedia(r),this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",n=>{this.notify({matches:n.matches})}):this.mediaQueryList.addListener(n=>{this.notify({matches:n.matches})}))}}const nt=class nt{constructor(t){this.breakpoint={minXXL:new ct("minXXL",nt.query.up(t.xxl)),minXL:new ct("minXL",nt.query.up(t.xl)),minL:new ct("minL",nt.query.up(t.l)),minM:new ct("minM",nt.query.up(t.m)),minS:new ct("minS",nt.query.up(t.s)),minXS:new ct("minXS",nt.query.up(t.xs)),minXXS:new ct("minXXS",nt.query.up(t.xxs)),maxXXL:new ct("maxXXL",nt.query.below(t.xxl)),maxXL:new ct("maxXL",nt.query.below(t.xl)),maxL:new ct("maxL",nt.query.below(t.l)),maxM:new ct("maxM",nt.query.below(t.m)),maxS:new ct("maxS",nt.query.below(t.s)),maxXS:new ct("maxXS",nt.query.below(t.xs)),maxXXS:new ct("maxXXS",nt.query.below(t.xxs))},this.orientation={landscape:new ct("landscape","(orientation: landscape)"),portrait:new ct("portrait","(orientation: portrait)")}}get matchers(){return Object.values({...this.breakpoint,...this.orientation})}static create(t){return new nt(t?{...Si,...t}:Si)}};Ae(nt,"query",{up:(...t)=>`(min-width: ${t[0]}px)`,below:(...t)=>`(max-width: ${t[0]-.02}px)`});let Ta=nt;const Qt=(()=>{const e=(o,r)=>`(max-width: ${o[r]-.02}px)`,t=(o,r)=>`(min-width: ${o[r]}px)`;return{MAX:e,MIN:t,RANGE:(o,r,n)=>`${t(o,r)} and ${e(o,n)}`}})(),Zt=(e,...t)=>o=>(...r)=>n=>{var s,a;const i={...Si,...(a=(s=n.theme)==null?void 0:s.breakpoints)!=null?a:{}};return o!==void 0&&typeof o.condition=="function"&&o.condition(n)===!1?"":R(["@media screen and "," ","{","}"],e(i,...t),o!==void 0&&typeof o.and=="string"?`and ${o.and}`:"",R(...r))},Kc=Zt(Qt.RANGE,"s","m"),an=Zt(Qt.RANGE,"m","l"),$c=Zt(Qt.MAX,"xxs"),Ki=Zt(Qt.MAX,"xs"),me=Zt(Qt.MAX,"s"),ie=Zt(Qt.MIN,"s"),$e=Zt(Qt.MAX,"m"),q=Zt(Qt.MIN,"m"),et=Zt(Qt.MAX,"l"),qe=Zt(Qt.MIN,"l"),pv=e=>(Array.isArray(e)?e:[e]).reduce((t,o)=>(o instanceof HTMLElement?o.isConnected&&t.push(o):o&&o.current instanceof HTMLElement&&o.current.isConnected&&t.push(o.current),t),[]),hv=()=>{const e=Ke(!1),t=xo(()=>e.current,[]);return Ie(()=>(e.current=!0,()=>{e.current=!1}),[]),t},Ra=Object.assign((e={})=>{const{minXXS:t,minXS:o,minS:r,minM:n,minL:i,minXL:s,minXXL:a,maxXXS:l,maxXS:c,maxS:d,maxM:g,maxL:f,maxXL:b,maxXXL:v,landscape:p,portrait:h}=e,m=Ct(Ag),[y,C]=ye(Object.create(null)),A=hv();return lt(()=>{const S={minXXS:!!t,minXS:!!o,minS:!!r,minM:!!n,minL:!!i,minXL:!!s,minXXL:!!a,maxXXS:!!l,maxXS:!!c,maxS:!!d,maxM:!!g,maxL:!!f,maxXL:!!b,maxXXL:!!v,landscape:!!p,portrait:!!h},M=[];return m&&m.matchers.filter(H=>S[H.id]).forEach(H=>{const I=H.subscribe(W=>{C(K=>({...K,[H.id]:W.matches}))});M.push(I)}),()=>{M.forEach(H=>{H()}),A()&&C(Object.create(null))}},[m,t,o,r,n,i,s,a,l,c,d,g,f,b,v,p,h,A]),y},{getConfig:(e={})=>({minXXS:e.min==="XXS",minXS:e.min==="XS",minS:e.min==="S",minM:e.min==="M",minL:e.min==="L",minXL:e.min==="XL",minXXL:e.min==="XXL",maxXXS:e.max==="XXS",maxXS:e.max==="XS",maxS:e.max==="S",maxM:e.max==="M",maxL:e.max==="L",maxXL:e.max==="XL",maxXXL:e.max==="XXL",landscape:e.orientation==="landscape",portrait:e.orientation==="portrait"})}),Sg=()=>Ra({minXXS:!0,minXS:!0,minS:!0,minM:!0,minL:!0,minXL:!0,minXXL:!0,maxXXS:!0,maxXS:!0,maxS:!0,maxM:!0,maxL:!0,maxXL:!0,maxXXL:!0,landscape:!0,portrait:!0}),Ma=Object.freeze({xxxl:44,xxl:40,xl:36,l:28,m:24,s:20,xs:16,xxs:8,xxxs:4}),gv=Object.freeze({xxxl:24,xxl:22,xl:20,l:18,m:16,s:14,xs:12,xxs:10,xxxs:8}),Dd=["xl","l","m","s","xs","xxs"];function Cg(e){return typeof e=="string"&&e==="font-size"?gv:Ma}function mv(e,t,o,r,n){var a;const i=n!=null?n:Cg(t),s=typeof e=="string"&&(a=i[e])!=null?a:e;return R(["",""],typeof t=="function"?o()`
|
|
34
34
|
${t(s,r)}
|
|
35
35
|
`:o()`
|
|
36
36
|
${t}: ${String(s)}${typeof s=="string"?"":r!=null?r:""};
|
|
@@ -40,7 +40,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
40
40
|
${i}: ${typeof l=="number"?`${l}${o!=null?o:""}`:l};
|
|
41
41
|
`,Ms.mobile()`
|
|
42
42
|
${i}: ${typeof c=="number"?`${c}${o!=null?o:""}`:c};
|
|
43
|
-
`)}if(Array.isArray(n)&&n.length===6&&typeof i=="string"){const[a,l,c,d,
|
|
43
|
+
`)}if(Array.isArray(n)&&n.length===6&&typeof i=="string"){const[a,l,c,d,g,f]=n;return R([""," "," "," "," "," ",""],er.XL()`
|
|
44
44
|
${i}: ${typeof a=="number"?`${a}${o!=null?o:""}`:a};
|
|
45
45
|
`,er.L()`
|
|
46
46
|
${i}: ${typeof l=="number"?`${l}${o!=null?o:""}`:l};
|
|
@@ -49,10 +49,10 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
49
49
|
`,er.S()`
|
|
50
50
|
${i}: ${typeof d=="number"?`${d}${o!=null?o:""}`:d};
|
|
51
51
|
`,er.XS()`
|
|
52
|
-
${i}: ${typeof
|
|
52
|
+
${i}: ${typeof g=="number"?`${g}${o!=null?o:""}`:g};
|
|
53
53
|
`,er.XXS()`
|
|
54
54
|
${i}: ${typeof f=="number"?`${f}${o!=null?o:""}`:f};
|
|
55
|
-
`)}return typeof n=="number"?R(["",":","",";"],i,n,o!=null?o:null):typeof n=="string"?R(["",":",";"],i,n):null},$i=(e,t)=>typeof e=="string"&&(e.includes("#")||e.includes("rgb"))?e:t.theme.colors[e]?t.theme.colors[e]:e,ln=(e,t="color")=>()=>o=>{var n,i;const r=$i(e||((n=o==null?void 0:o.theme)==null?void 0:n.textColor)||((i=o==null?void 0:o.theme)==null?void 0:i.fallbackColor),o);return typeof t=="function"?t(r):R(["",":",";"],t,r)},zr={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};zr.defaultMerge;function bv(e,t){const o={key:t.key,parents:t.parents,values:t.values,result:t.result},r=e==null?void 0:e.hierarchy;return{...o,hierarchy:r===void 0?[o]:[...r,o]}}function vv(e,t){return e.includes(void 0)?e.filter(o=>o!==void 0):e}function Hr(e,t,o){return o===zr.defaultMerge||e.useImplicitDefaultMerging&&o===void 0&&e.mergeFunctions[t]!==e.defaultMergeFunctions[t]}function yv(e,t){return{...t,...Object.fromEntries(Object.entries(e).filter(([o])=>Object.hasOwn(t,o)).map(([o,r])=>r===!1?[o,t.mergeOthers]:typeof r=="function"?[o,r]:[o,t[o]]))}}function xv(e,t,o){return e.flat()}function wv(e,t,o){const r=new Set;for(const n of e)for(const i of n)r.add(i);return r}function kv(e,t,o){return e.at(-1)}var gt;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(gt||(gt={}));function si(e){return typeof e!="object"||e===null?gt.NOT:Array.isArray(e)?gt.ARRAY:Sv(e)?gt.RECORD:e instanceof Set?gt.SET:e instanceof Map?gt.MAP:gt.OTHER}function Av(e){const t=new Set;for(const o of e){const r=Object.keys(o);for(const i of r)t.add(i);const n=Object.getOwnPropertySymbols(o);if(n.length>0)for(const i of n)Object.prototype.propertyIsEnumerable.call(o,i)&&t.add(i)}return t}function za(e){const t=Object.getOwnPropertySymbols(e).filter(o=>Object.prototype.propertyIsEnumerable.call(e,o));return[...Object.keys(e),...t]}function Ha(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}function Sv(e){const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const o=Object.prototype.toString.call(e);if(o!=="[object Object]"&&o!=="[object Module]")return!1;const{constructor:r}=e;if(r===void 0)return!0;const n=r.prototype;if(n===null||typeof n!="object")return!1;const i=Object.prototype.toString.call(n);return!(i!=="[object Object]"&&i!=="[object Module]"||!Object.hasOwn(n,"isPrototypeOf"))}function nr(e,t,o){if(t===void 0||t.length===0)return 0;let r=1;for(let n=t.length-1;n>=0;n--){const{parents:i}=t[n];if(i[o]===e||i.includes(e))return r;r+=1}return 0}function eu(e){return e==null?void 0:e.hierarchy}function Cv(e,t,o){if(e.length===2){const r={},n=(a,l)=>{const c=t.metaDataUpdater(o,{key:a,parents:e,values:l,result:r}),d=es(l,t,c);d!==zr.skip&&(a==="__proto__"?Object.defineProperty(r,a,{value:d,configurable:!0,enumerable:!0,writable:!0}):r[a]=d)},i=e[0],s=e[1];for(const a of za(i))n(a,Ha(s,a)?[i[a],s[a]]:[i[a]]);for(const a of za(s))Ha(i,a)||n(a,[s[a]]);return r}return Ov(e,t,o)}function Ov(e,t,o){const r={};for(const n of Av(e)){const i=[];for(const l of e)Ha(l,n)&&i.push(l[n]);const s=t.metaDataUpdater(o,{key:n,parents:e,values:i,result:r}),a=es(i,t,s);a!==zr.skip&&(n==="__proto__"?Object.defineProperty(r,n,{value:a,configurable:!0,enumerable:!0,writable:!0}):r[n]=a)}return r}function Ev(e,t,o){const r=new Map,n=new Map;for(const i of e)for(const[s,a]of i){const l=n.get(s);l===void 0?n.set(s,[a]):l.push(a)}for(const[i,s]of n){const a=t.metaDataUpdater(o,{key:i,parents:e,values:s,result:r}),l=es(s,t,a);l!==zr.skip&&r.set(i,l)}return r}function Pg(e,t,o){var s;if(typeof e!="object"||e===null)return e;const r=eu(o),n=nr(e,r,0);if(r!==void 0&&n>0)return(s=r[r.length-n])==null?void 0:s.result;if(si(e)===gt.RECORD){const a=e;let l=!1;const c={};for(const d of za(a)){const
|
|
55
|
+
`)}return typeof n=="number"?R(["",":","",";"],i,n,o!=null?o:null):typeof n=="string"?R(["",":",";"],i,n):null},$i=(e,t)=>typeof e=="string"&&(e.includes("#")||e.includes("rgb"))?e:t.theme.colors[e]?t.theme.colors[e]:e,ln=(e,t="color")=>()=>o=>{var n,i;const r=$i(e||((n=o==null?void 0:o.theme)==null?void 0:n.textColor)||((i=o==null?void 0:o.theme)==null?void 0:i.fallbackColor),o);return typeof t=="function"?t(r):R(["",":",";"],t,r)},zr={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};zr.defaultMerge;function bv(e,t){const o={key:t.key,parents:t.parents,values:t.values,result:t.result},r=e==null?void 0:e.hierarchy;return{...o,hierarchy:r===void 0?[o]:[...r,o]}}function vv(e,t){return e.includes(void 0)?e.filter(o=>o!==void 0):e}function Hr(e,t,o){return o===zr.defaultMerge||e.useImplicitDefaultMerging&&o===void 0&&e.mergeFunctions[t]!==e.defaultMergeFunctions[t]}function yv(e,t){return{...t,...Object.fromEntries(Object.entries(e).filter(([o])=>Object.hasOwn(t,o)).map(([o,r])=>r===!1?[o,t.mergeOthers]:typeof r=="function"?[o,r]:[o,t[o]]))}}function xv(e,t,o){return e.flat()}function wv(e,t,o){const r=new Set;for(const n of e)for(const i of n)r.add(i);return r}function kv(e,t,o){return e.at(-1)}var gt;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(gt||(gt={}));function si(e){return typeof e!="object"||e===null?gt.NOT:Array.isArray(e)?gt.ARRAY:Sv(e)?gt.RECORD:e instanceof Set?gt.SET:e instanceof Map?gt.MAP:gt.OTHER}function Av(e){const t=new Set;for(const o of e){const r=Object.keys(o);for(const i of r)t.add(i);const n=Object.getOwnPropertySymbols(o);if(n.length>0)for(const i of n)Object.prototype.propertyIsEnumerable.call(o,i)&&t.add(i)}return t}function za(e){const t=Object.getOwnPropertySymbols(e).filter(o=>Object.prototype.propertyIsEnumerable.call(e,o));return[...Object.keys(e),...t]}function Ha(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}function Sv(e){const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const o=Object.prototype.toString.call(e);if(o!=="[object Object]"&&o!=="[object Module]")return!1;const{constructor:r}=e;if(r===void 0)return!0;const n=r.prototype;if(n===null||typeof n!="object")return!1;const i=Object.prototype.toString.call(n);return!(i!=="[object Object]"&&i!=="[object Module]"||!Object.hasOwn(n,"isPrototypeOf"))}function nr(e,t,o){if(t===void 0||t.length===0)return 0;let r=1;for(let n=t.length-1;n>=0;n--){const{parents:i}=t[n];if(i[o]===e||i.includes(e))return r;r+=1}return 0}function eu(e){return e==null?void 0:e.hierarchy}function Cv(e,t,o){if(e.length===2){const r={},n=(a,l)=>{const c=t.metaDataUpdater(o,{key:a,parents:e,values:l,result:r}),d=es(l,t,c);d!==zr.skip&&(a==="__proto__"?Object.defineProperty(r,a,{value:d,configurable:!0,enumerable:!0,writable:!0}):r[a]=d)},i=e[0],s=e[1];for(const a of za(i))n(a,Ha(s,a)?[i[a],s[a]]:[i[a]]);for(const a of za(s))Ha(i,a)||n(a,[s[a]]);return r}return Ov(e,t,o)}function Ov(e,t,o){const r={};for(const n of Av(e)){const i=[];for(const l of e)Ha(l,n)&&i.push(l[n]);const s=t.metaDataUpdater(o,{key:n,parents:e,values:i,result:r}),a=es(i,t,s);a!==zr.skip&&(n==="__proto__"?Object.defineProperty(r,n,{value:a,configurable:!0,enumerable:!0,writable:!0}):r[n]=a)}return r}function Ev(e,t,o){const r=new Map,n=new Map;for(const i of e)for(const[s,a]of i){const l=n.get(s);l===void 0?n.set(s,[a]):l.push(a)}for(const[i,s]of n){const a=t.metaDataUpdater(o,{key:i,parents:e,values:s,result:r}),l=es(s,t,a);l!==zr.skip&&r.set(i,l)}return r}function Pg(e,t,o){var s;if(typeof e!="object"||e===null)return e;const r=eu(o),n=nr(e,r,0);if(r!==void 0&&n>0)return(s=r[r.length-n])==null?void 0:s.result;if(si(e)===gt.RECORD){const a=e;let l=!1;const c={};for(const d of za(a)){const g=a[d],f=t.metaDataUpdater(o,{key:d,parents:[a],values:[g],result:c}),b=Pg(g,t,f);b!==g&&(l=!0),d==="__proto__"?Object.defineProperty(c,d,{value:b,configurable:!0,enumerable:!0,writable:!0}):c[d]=b}return l?c:e}return e}function Pv(e,t,o,r){var s,a;const n=t[0],i=eu(r);for(let l=1;l<e.length;l++)if(t[l]!==n){const c=t.at(-1);return c===0?Pg(e.at(-1),o,r):(s=i==null?void 0:i[i.length-c])==null?void 0:s.result}return(a=i==null?void 0:i[i.length-n])==null?void 0:a.result}const Tv={mergeRecords:Cv,mergeArrays:xv,mergeSets:wv,mergeMaps:Ev,mergeCircularReferences:Pv,mergeOthers:kv},Rv=Tg();function bT(...e){return Rv(...e)}function Tg(e={},t){const o=Mv(e,r);function r(...n){return es(n,o,void 0)}return r}function Mv(e,t){var n;const o=Tv,r=bv;return{defaultMergeFunctions:o,mergeFunctions:yv(e,o),metaDataUpdater:typeof e.metaDataUpdater=="function"?e.metaDataUpdater:r,deepmerge:t,useImplicitDefaultMerging:(n=e.enableImplicitDefaultMerging)!=null?n:!1,filterValues:e.filterValues===!1?void 0:typeof e.filterValues=="function"?e.filterValues:vv,maxDepth:typeof e.maxDepth=="number"&&!Number.isNaN(e.maxDepth)&&e.maxDepth>=0?e.maxDepth:1e3,actions:zr}}function es(e,t,o){var a,l,c,d,g,f,b;const r=(l=(a=t.filterValues)==null?void 0:a.call(t,e,o))!=null?l:e;if(r.length===0)return;const n=eu(o),i=(d=n==null?void 0:n.length)!=null?d:typeof o=="number"?o:(c=o==null?void 0:o.depth)!=null?c:0;if(t.maxDepth!==void 0&&i>=t.maxDepth)return Lr(r,t,o);if(r.length===1){if(n!==void 0){const v=nr(r[0],n,0);if(v>0)return(b=(g=n[n.length-v])==null?void 0:g.result)!=null?b:(f=n[n.length-v])==null?void 0:f.parents[0]}return Lr(r,t,o)}const s=si(r[0]);if(s!==gt.NOT&&s!==gt.OTHER)if(r.length===2){if(si(r[1])!==s)return Lr(r,t,o);const v=nr(r[0],n,0),p=nr(r[1],n,1);if(v!==0||p!==0)return _d(r,[v,p],t,o)}else{const v=new Array(r.length);v[0]=nr(r[0],n,0);for(let p=1;p<r.length;p++){if(si(r[p])!==s)return Lr(r,t,o);v[p]=nr(r[p],n,p)}if(v.some(p=>p!==0))return _d(r,v,t,o)}switch(s){case gt.RECORD:return zv(r,t,o);case gt.ARRAY:return Hv(r,t,o);case gt.SET:return Bv(r,t,o);case gt.MAP:return Dv(r,t,o);default:return Lr(r,t,o)}}function zv(e,t,o){const r=t.mergeFunctions.mergeRecords(e,t,o);return Hr(t,"mergeRecords",r)?t.defaultMergeFunctions.mergeRecords(e,t,o):r}function Hv(e,t,o){const r=t.mergeFunctions.mergeArrays(e,t,o);return Hr(t,"mergeArrays",r)?t.defaultMergeFunctions.mergeArrays(e):r}function Bv(e,t,o){const r=t.mergeFunctions.mergeSets(e,t,o);return Hr(t,"mergeSets",r)?t.defaultMergeFunctions.mergeSets(e):r}function Dv(e,t,o){const r=t.mergeFunctions.mergeMaps(e,t,o);return Hr(t,"mergeMaps",r)?t.defaultMergeFunctions.mergeMaps(e,t,o):r}function _d(e,t,o,r){const n=o.mergeFunctions.mergeCircularReferences(e,t,o,r);return Hr(o,"mergeCircularReferences",n)?o.defaultMergeFunctions.mergeCircularReferences(e,t,o,r):n}function Lr(e,t,o){const r=t.mergeFunctions.mergeOthers(e,t,o);return Hr(t,"mergeOthers",r)?t.defaultMergeFunctions.mergeOthers(e):r}const cn=Tg({mergeArrays:!1});function Rg(e,t){var n,i,s;const o=Oo(),r=cn((i=((n=o.components)!=null?n:{})[t])!=null?i:{},e);return{...r,preset:(s=r.preset)!=null?s:o.preset}}function Mg(e,t){var r;const o=typeof t=="function"?t(e):t;return cn(o,(r=e.sizes)!=null?r:{})}function ts(e){var r;const t=Oo(),o=(r=e.palette)!=null?r:{};return Object.keys(o).reduce((n,i)=>{var l;const s=o[i];if(!s)return n;const a=(l=t.colors[s])!=null?l:s;return a&&(n[i]=a),n},{})}function On(e,t){const o=vt((r,n)=>{const i=Rg(r,t.displayName),s=Mg(i,t.sizes),a=ts(i);return e.displayName=t.displayName,u(e,{...i,sizes:s,palette:a,ref:n})});return o.displayName=`WithMergedProps${t.displayName}`,o}const zg=(...e)=>e.reduce((t,o)=>(typeof o=="string"&&(t=t?t+" "+o:o),t),""),Lv=/^(preset|sizeUnits|sizes|size|dynamicSizeDeclaration|color|backgroundColor|borderColor|fontColor|palette|contrast)$/,_v=/^(primary|secondary|tertiary|quaternary)$/,Iv=/^size(XXS|XS|S|M|L|XL)$/,Nv=/^(margin|marginTop|marginRight|marginBottom|marginLeft)$/,jv=/^(margin|marginTop|marginRight|marginBottom|marginLeft)(XXS|XS|S|M|L|XL)$/,Xv=/^(fluid)(XXS|XS|S|M|L|XL)$/,Fv=/^(width)(XXS|XS|S|M|L|XL)$/,Uv=/^(padding|paddingTop|paddingRight|paddingBottom|paddingLeft)(XXS|XS|S|M|L|XL)$/,Vv=/^(fontSize)(XXS|XS|S|M|L|XL)$/,Gv=/^(height)(XXS|XS|S|M|L|XL)$/,Kt=(...e)=>{const t=Object.create(null);return o=>(t[o]===void 0&&(t[o]=e.every(r=>r(o))&&[Lv,_v,Iv,Nv,jv].every(r=>!r.test(o))),t[o])},qv=e=>typeof e=="string"&&["initial","inherit","unset","revert","revert-layer"].includes(e);function Hg(e,t){const o=new RegExp(`^(${e.join("|")})$`),r=new RegExp(`^(${e.join("|")})(XXS|XS|S|M|L|XL)$`),n=/(XXS|XS|S|M|L|XL)$/,i=[q,$e,me],s=[qe,et,$e,me,Ki,$c];return a=>{const l=Object.keys(a).reduce((g,f)=>(o.test(f)?g[0].push(f):r.test(f)&&g[1].push(f),g),[[],[]]),c=l[0].reduce((g,f)=>{const b=a[f];if(Array.isArray(b)){if(b.length>0){const v=[],p=b.length>i.length?s:i;for(let h=0;h<b.length&&p[h];h++){const m=t(f,b[h],a);Object.keys(m).length>0&&v.push(p[h]()`${m}`)}g.push(...v)}}else{const v=t(f,b,a);Object.keys(v).length>0&&g.push(v)}return g},[]),d=l[1].sort(Og).reduce((g,f)=>{const b=t(f.replace(n,""),a[f],a);return Object.keys(b).length>0&&g.push(Eg(f)()`${b}`),g},[]);return R([""," ",""],c,d)}}const fo=Hg(["size"],(e,t,o)=>{var r,n,i;return t==null?{}:typeof t=="number"||qv(t)?typeof o.dynamicSizeDeclaration=="function"?o.dynamicSizeDeclaration(t,(r=o.sizeUnits)!=null?r:"px"):{fontSize:typeof t=="string"?t:`${t}${(n=o.sizeUnits)!=null?n:"px"}`}:typeof t=="string"?(i=o.sizes[t])!=null?i:{}:{}}),$t=Hg(["margin","marginTop","marginRight","marginBottom","marginLeft"],(e,t)=>t==null?{}:typeof t=="string"&&Ma[t]?{[e]:`${Ma[t]}px`}:{[e]:typeof t=="string"?t:`${t}px`}),Zo=Object.assign(e=>`
|
|
56
56
|
&:focus-visible {
|
|
57
57
|
box-shadow: 0 0 0 2px ${e.theme.colors["border-focus-inner"]}, 0 0 0 4px ${e.theme.colors["border-focus"]};
|
|
58
58
|
outline: 2px solid transparent;
|
|
@@ -110,7 +110,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
110
110
|
text-decoration-line: underline;
|
|
111
111
|
text-decoration-style: ${typeof e.underline=="string"?e.underline:"solid"};
|
|
112
112
|
text-underline-offset: 0.3em;
|
|
113
|
-
`),w3=k.span.withConfig({displayName:"Text__LineHeight",componentId:"ui__sc-s2fogy-2"})(["box-sizing:border-box;position:absolute;visibility:hidden;"]),k3=k.button.withConfig({shouldForwardProp:e=>!["contrast","palette"].includes(e)}).withConfig({displayName:"Text__ExpandButton",componentId:"ui__sc-s2fogy-3"})(["box-sizing:border-box;appearance:none;padding:0;border:0;font-size:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;margin-top:0.2em;text-decoration-line:underline;text-decoration-style:dashed;text-underline-offset:0.3em;cursor:pointer;&:disabled{cursor:not-allowed;}"," ",""],e=>e.contrast?Xd.contrast:Xd.primary,Zo),A3=e=>{const{lines:t=1,defaultExpanded:o=!1,expandable:r=!1,expandButtonProps:n={},children:i,expanded:s,underline:a,onExpandedChange:l}=e,{captionExpanded:c="Свернуть",captionCollapsed:d="Развернуть",...
|
|
113
|
+
`),w3=k.span.withConfig({displayName:"Text__LineHeight",componentId:"ui__sc-s2fogy-2"})(["box-sizing:border-box;position:absolute;visibility:hidden;"]),k3=k.button.withConfig({shouldForwardProp:e=>!["contrast","palette"].includes(e)}).withConfig({displayName:"Text__ExpandButton",componentId:"ui__sc-s2fogy-3"})(["box-sizing:border-box;appearance:none;padding:0;border:0;font-size:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;margin-top:0.2em;text-decoration-line:underline;text-decoration-style:dashed;text-underline-offset:0.3em;cursor:pointer;&:disabled{cursor:not-allowed;}"," ",""],e=>e.contrast?Xd.contrast:Xd.primary,Zo),A3=e=>{const{lines:t=1,defaultExpanded:o=!1,expandable:r=!1,expandButtonProps:n={},children:i,expanded:s,underline:a,onExpandedChange:l}=e,{captionExpanded:c="Свернуть",captionCollapsed:d="Развернуть",...g}=n,f=Ke(null),b=Ke(null),v=ts(g),[p,h]=ye(null),[m,y]=ye(s!=null?s:o),C=xo(A=>{if(b.current)if(m){const S=Math.round(A.clientHeight/b.current.clientHeight);h(S>t)}else{const S=Math.round(A.scrollHeight/b.current.clientHeight),M=Math.round(A.clientHeight/b.current.clientHeight);h(S>M)}},[t,m]);return g3({enabled:r,target:f,onResize:C}),lt(()=>{s!==void 0&&(y(s),l&&l(s))},[s,l]),u(ue,{children:[u(x3,{ref:f,lines:t,expanded:m,underline:a,children:[r?u(w3,{ref:b,children:" "}):null,i]}),r&&p===!0?u(k3,{...g,type:"button",palette:v,onClick:A=>{if(g.onClick&&g.onClick(A),s===void 0){const S=!m;y(S),l&&l(S)}},children:m?c:d}):null]})},S3={display:{lineHeight:1,weight:800,fontStyle:"normal"},heading:{lineHeight:1.1,weight:800,fontStyle:"normal"},subheading:{lineHeight:1.1,weight:700,fontStyle:"normal"},"subheading-compact":{lineHeight:1.3,weight:800,fontStyle:"normal"},body:{lineHeight:1.3,weight:400,fontStyle:"normal"},caption:{lineHeight:1.2,weight:400,fontStyle:"normal"}},C3={display:{xxxl:{fontSize:84},xxl:{fontSize:76},xl:{fontSize:68},l:{fontSize:60},m:{fontSize:52},s:{fontSize:44},xs:{fontSize:36},xxs:{fontSize:28},xxxs:{fontSize:20}},heading:{xxxl:{fontSize:64},xxl:{fontSize:56},xl:{fontSize:48},l:{fontSize:40},m:{fontSize:36},s:{fontSize:32},xs:{fontSize:28},xxs:{fontSize:24},xxxs:{fontSize:20}},subheading:{xxxl:{fontSize:52},xxl:{fontSize:46},xl:{fontSize:40},l:{fontSize:34},m:{fontSize:28},s:{fontSize:24},xs:{fontSize:20},xxs:{fontSize:16},xxxs:{fontSize:12}},"subheading-compact":{xxxl:{fontSize:36},xxl:{fontSize:32},xl:{fontSize:28},l:{fontSize:24},m:{fontSize:20},s:{fontSize:18},xs:{fontSize:16},xxs:{fontSize:14},xxxs:{fontSize:12}},body:{xxxl:{fontSize:32},xxl:{fontSize:28},xl:{fontSize:24},l:{fontSize:20},m:{fontSize:18},s:{fontSize:16},xs:{fontSize:14},xxs:{fontSize:12},xxxs:{fontSize:10}},caption:{xxxl:{fontSize:32},xxl:{fontSize:28},xl:{fontSize:24},l:{fontSize:20},m:{fontSize:18},s:{fontSize:16},xs:{fontSize:14},xxs:{fontSize:12},xxxs:{fontSize:10}}},Fd={xxxl:{fontSize:24},xxl:{fontSize:22},xl:{fontSize:20},l:{fontSize:18},m:{fontSize:16},s:{fontSize:14},xs:{fontSize:12},xxs:{fontSize:10},xxxs:{fontSize:8}},O3=k.div.withConfig({shouldForwardProp:e=>["children","className","style","onClick"].includes(e)||e.includes("data-")}).withConfig({displayName:"Spacer__Root",componentId:"ui__sc-1r4rhyb-0"})([""," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],e=>e.display?rs(e.display):null,e=>e.padding?pe(e.padding,"padding"):null,e=>e.paddingTop?pe(e.paddingTop,"padding-top"):null,e=>e.paddingRight?pe(e.paddingRight,"padding-right"):null,e=>e.paddingBottom?pe(e.paddingBottom,"padding-bottom"):null,e=>e.paddingLeft?pe(e.paddingLeft,"padding-left"):null,e=>e.margin?pe(e.margin,"margin"):null,e=>e.marginTop?pe(e.marginTop,"margin-top"):null,e=>e.marginRight?pe(e.marginRight,"margin-right"):null,e=>e.marginBottom?pe(e.marginBottom,"margin-bottom"):null,e=>e.marginLeft?pe(e.marginLeft,"margin-left"):null,({paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n})=>he({sizes:{paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n},cssProperty:"padding"}),({paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n})=>he({sizes:{paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n},cssProperty:"padding-top"}),({paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n})=>he({sizes:{paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n},cssProperty:"padding-right"}),({paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n})=>he({sizes:{paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n},cssProperty:"padding-bottom"}),({paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n})=>he({sizes:{paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n},cssProperty:"padding-left"}),({marginXS:e,marginS:t,marginM:o,marginL:r,marginXL:n})=>he({sizes:{marginXS:e,marginS:t,marginM:o,marginL:r,marginXL:n},cssProperty:"margin"}),({marginTopXS:e,marginTopS:t,marginTopM:o,marginTopL:r,marginTopXL:n})=>he({sizes:{marginTopXS:e,marginTopS:t,marginTopM:o,marginTopL:r,marginTopXL:n},cssProperty:"margin-top"}),({marginRightXS:e,marginRightS:t,marginRightM:o,marginRightL:r,marginRightXL:n})=>he({sizes:{marginRightXS:e,marginRightS:t,marginRightM:o,marginRightL:r,marginRightXL:n},cssProperty:"margin-right"}),({marginBottomXS:e,marginBottomS:t,marginBottomM:o,marginBottomL:r,marginBottomXL:n})=>he({sizes:{marginBottomXS:e,marginBottomS:t,marginBottomM:o,marginBottomL:r,marginBottomXL:n},cssProperty:"margin-bottom"}),({marginLeftXS:e,marginLeftS:t,marginLeftM:o,marginLeftL:r,marginLeftXL:n})=>he({sizes:{marginLeftXS:e,marginLeftS:t,marginLeftM:o,marginLeftL:r,marginLeftXL:n},cssProperty:"margin-left"}),e=>e.top?pe(e.top,"padding-top"):null,e=>e.right?pe(e.right,"padding-right"):null,e=>e.bottom?pe(e.bottom,"padding-bottom"):null,e=>e.left?pe(e.left,"padding-left"):null,({topXS:e,topS:t,topM:o,topL:r,topXL:n})=>he({sizes:{topXS:e,topS:t,topM:o,topL:r,topXL:n},cssProperty:"padding-top"}),({rightXS:e,rightS:t,rightM:o,rightL:r,rightXL:n})=>he({sizes:{rightXS:e,rightS:t,rightM:o,rightL:r,rightXL:n},cssProperty:"padding-right"}),({bottomXS:e,bottomS:t,bottomM:o,bottomL:r,bottomXL:n})=>he({sizes:{bottomXS:e,bottomS:t,bottomM:o,bottomL:r,bottomXL:n},cssProperty:"padding-bottom"}),({leftXS:e,leftS:t,leftM:o,leftL:r,leftXL:n})=>he({sizes:{leftXS:e,leftS:t,leftM:o,leftL:r,leftXL:n},cssProperty:"padding-left"}));function Lt(e){return u(O3,{...e})}Lt.displayName="Spacer";const E3=k.ul.withConfig({displayName:"TextEllipse__Ul",componentId:"ui__sc-1rwak86-0"})(["padding:0;margin:0;list-style-position:inside;"]),P3=k.li.withConfig({displayName:"TextEllipse__Li",componentId:"ui__sc-1rwak86-1"})(["& + &{margin-top:4px;}"]),ns=e=>vt(e);function is(e,t){const o=Rg(e,t.componentName),r=Mg(o,t.sizes),n=ts(o);return{...o,sizes:r,palette:n}}const ro=e=>e==null,T3={xxxl:{fontSize:24},xxl:{fontSize:22},xl:{fontSize:20},l:{fontSize:18},m:{fontSize:16},s:{fontSize:14},xs:{fontSize:12},xxs:{fontSize:10},xxxs:{fontSize:8}},R3=Kt(e=>!["display","underline","onColored","verticalAlign","pseudo","wrapper"].includes(e)),zs=e=>`
|
|
114
114
|
color: ${e.color};
|
|
115
115
|
${wo(`
|
|
116
116
|
color: ${e.colorHover};
|
|
@@ -173,7 +173,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
173
173
|
mask-repeat: no-repeat;
|
|
174
174
|
mask-size: contain;
|
|
175
175
|
background-color: currentcolor;
|
|
176
|
-
`:"",fo,$t),jg=Object.keys(Da.icons).reduce((e,t)=>{const o=Da.icons[t];return e[t]={icon:o.path,multicolor:o.multicolor},o.iso&&(e[o.iso]={icon:o.path,multicolor:o.multicolor}),e},{});var Ud,Vd;function La(){return La=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},La.apply(null,arguments)}const L3=e=>P("svg",La({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Ud||(Ud=P("path",{d:"M4 4h2v2H4zm3 0h5v2H7zM4 7h2v2H4zm3 0h5v2H7z"})),Vd||(Vd=P("path",{fillRule:"evenodd",d:"M16 0v13h-5l3 3h-2.828L9 13.828V16H7v-2.172L4.828 16H2l3-3H0V0zm-2 11V2H2v9z",clipRule:"evenodd"})));var Gd;function _a(){return _a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},_a.apply(null,arguments)}const _3=e=>P("svg",_a({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 16"},e),Gd||(Gd=P("path",{d:"M3.275 2.11h-2.4v13.015h18.25V2.11h-2.4V.875H11.2c-.454 0-.871.163-1.2.433A1.9 1.9 0 0 0 8.8.875H3.275zm13.45 1.485h.95v10.044H2.325V3.595h.95v9.059H8.8c.258 0 .475.218.475.493v.125h1.45v-.125c0-.275.217-.493.475-.493h5.525zm-6-.743c0-.275.217-.493.475-.493h4.075v8.809H11.2q-.247 0-.475.061zm-6-.493H8.8c.258 0 .475.218.475.493v8.377a1.9 1.9 0 0 0-.475-.061H4.725z"})));var qd;function Ia(){return Ia=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ia.apply(null,arguments)}const I3=e=>P("svg",Ia({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),qd||(qd=P("path",{d:"M0 4V2h16v2zm0 5V7h16v2zm0 3v2h16v-2z"})));var Jd,Wd;function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Na.apply(null,arguments)}const N3=e=>P("svg",Na({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 21 20"},e),Jd||(Jd=P("path",{d:"M.8 19.8h19.4c.4 0 .7-.3.7-.7V2.4a.7.7 0 0 0-.8-.8h-3.7V1A.7.7 0 1 0 15 1v.5H6V1a.7.7 0 1 0-1.4 0v.5H.8a.7.7 0 0 0-.7.8V19c0 .5.4.8.8.8zM1.5 3h3v.5a.7.7 0 1 0 1.5 0V3h9v.5a.7.7 0 1 0 1.5 0V3h3v2h-18zm0 3.5h18v12h-18z"})),Wd||(Wd=P("path",{d:"M15.8 10H5.2a.7.7 0 0 0-.7.7c0 .4.3.8.7.8h10.6c.4 0 .7-.4.7-.8a.7.7 0 0 0-.7-.8zm-5.3 3.6H5.2a.7.7 0 0 0-.7.7c0 .5.3.8.7.8h5.3c.4 0 .7-.2.7-.7a.7.7 0 0 0-.7-.7z"})));var Yd;function ja(){return ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ja.apply(null,arguments)}const j3=e=>P("svg",ja({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Yd||(Yd=P("path",{d:"M13 2V0h-2v2H5V0H3v2H0v14h16V2zm1 12H2V6h12z"})));var Qd;function Xa(){return Xa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Xa.apply(null,arguments)}const X3=e=>P("svg",Xa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Qd||(Qd=P("path",{d:"M15 6V0H1v6H0v3h1v5h1v2h3v-2h6v2h3v-2h1V9h1V6zm-2 6H3v-1h10zm0-3H3V2h10zM5 3h6v2H5z"})));var Zd,Kd;function Fa(){return Fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Fa.apply(null,arguments)}const F3=e=>P("svg",Fa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Zd||(Zd=P("path",{d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6"})),Kd||(Kd=P("path",{d:"M9.8 4.8 8 6.6 6.2 4.8 4.8 6.2 6.6 8 4.8 9.8l1.4 1.4L8 9.4l1.8 1.8 1.4-1.4L9.4 8l1.8-1.8z"})));var $d;function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ua.apply(null,arguments)}const U3=e=>P("svg",Ua({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),$d||($d=P("path",{fillRule:"evenodd",d:"M0 2h1.236l3 11H13v-2H5.764l-.273-1h8.29l2-8H6v2h7.219l-1 4H4.945L2.763 0H-.001v2zm12 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2m-6-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"})));var ef;function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Va.apply(null,arguments)}const V3=e=>P("svg",Va({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),ef||(ef=P("path",{d:"M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0m4.293 6.293L9 11.586 6.707 9.293l-1.414 1.414L9 14.414l6.707-6.707z"})));var tf;function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ga.apply(null,arguments)}const G3=e=>P("svg",Ga({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 14"},e),tf||(tf=P("path",{d:"m4.13 5.67-.98.98L6.3 9.8l7-7-.98-.98L6.3 7.84zM12.6 7c0 3.08-2.52 5.6-5.6 5.6S1.4 10.08 1.4 7 3.92 1.4 7 1.4c.56 0 1.05.07 1.54.21L9.66.49C8.82.21 7.91 0 7 0 3.15 0 0 3.15 0 7s3.15 7 7 7 7-3.15 7-7z"})));var of;function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},qa.apply(null,arguments)}const q3=e=>P("svg",qa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 21 13"},e),of||(of=P("path",{d:"m10.109 10.604-7.74-8.297a1.42 1.42 0 0 1 0-1.911 1.2 1.2 0 0 1 1.783 0L11 7.738 17.848.396a1.2 1.2 0 0 1 1.783 0 1.42 1.42 0 0 1 0 1.911l-7.74 8.297a1.21 1.21 0 0 1-.89.396c-.323 0-.646-.132-.892-.396"})));var rf;function Ja(){return Ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ja.apply(null,arguments)}const J3=e=>P("svg",Ja({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 8 14"},e),rf||(rf=P("path",{d:"M8 12.13 6.607 13.5 0 7 6.607.5 8 1.87 2.786 7z"})));var nf;function Wa(){return Wa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Wa.apply(null,arguments)}const W3=e=>P("svg",Wa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 8 14"},e),nf||(nf=P("path",{d:"M0 1.87 1.393.5 8 7l-6.607 6.5L0 12.13 5.214 7z"})));var sf;function Ya(){return Ya=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ya.apply(null,arguments)}const Y3=e=>P("svg",Ya({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 21 13"},e),sf||(sf=P("path",{d:"m10.109 1.396-7.74 8.297a1.42 1.42 0 0 0 0 1.911c.493.528 1.29.528 1.783 0L11 4.262l6.848 7.342c.492.528 1.29.528 1.783 0a1.42 1.42 0 0 0 0-1.911l-7.74-8.297a1.21 1.21 0 0 0-.89-.396c-.323 0-.646.132-.892.396"})));var af;function Qa(){return Qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Qa.apply(null,arguments)}const Q3=e=>P("svg",Qa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),af||(af=P("path",{d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6m-.6-6.2H5.2v2h4.2v-5h-2z"})));var lf;function Za(){return Za=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Za.apply(null,arguments)}const Z3=e=>P("svg",Za({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),lf||(lf=P("path",{d:"M10 20c5.5 0 10-4.5 10-10S15.5 0 10 0 0 4.5 0 10s4.5 10 10 10m0-15h2v8H6v-2h4z"})));var cf;function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ka.apply(null,arguments)}const K3=e=>P("svg",Ka({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),cf||(cf=P("path",{d:"M3 10a4 4 0 1 1 8 0 4 4 0 0 1-8 0m4-6a6 6 0 1 0 0 12A6 6 0 0 0 7 4m5.333 11.963A8 8 0 0 0 14 13.873a4.002 4.002 0 0 0 0-7.747 8 8 0 0 0-1.668-2.09 6 6 0 1 1 0 11.927Z",clipRule:"evenodd"})));var uf,df;function $a(){return $a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},$a.apply(null,arguments)}const $3=e=>P("svg",$a({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),uf||(uf=P("path",{d:"M5 2v2H3V0h13v13h-4v-2h2V2z"})),df||(df=P("path",{fillRule:"evenodd",d:"M13 3H0v13h13zM2 14V5h9v9z",clipRule:"evenodd"})));var ff;function el(){return el=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},el.apply(null,arguments)}const ey=e=>P("svg",el({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),ff||(ff=P("path",{d:"M16 0H0v16h16zM2 14V2h12v12zm4.4-8.3L10.3 8l-3.9 2.3z"})));var pf;function tl(){return tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},tl.apply(null,arguments)}const ty=e=>P("svg",tl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 18 18"},e),pf||(pf=P("path",{d:"M17.333.668a1.845 1.845 0 0 0-2.61 0L9 6.39 3.277.668a1.845 1.845 0 1 0-2.61 2.61L6.39 9.001.667 14.725a1.845 1.845 0 1 0 2.61 2.61L9 11.612l5.723 5.723c.36.36.832.54 1.305.54a1.845 1.845 0 0 0 1.305-3.151L11.61 9.003l5.723-5.724a1.845 1.845 0 0 0 0-2.61z"})));var hf;function ol(){return ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ol.apply(null,arguments)}const oy=e=>P("svg",ol({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 25 25"},e),hf||(hf=P("path",{d:"M3.66 3.664A12.42 12.42 0 0 1 12.5 0a12.42 12.42 0 0 1 8.841 3.664c4.556 4.554 4.886 11.83.828 16.761.56 1.146 1.22 1.91 1.969 2.277.455.225.712.717.639 1.22a1.16 1.16 0 0 1-.974.979 6 6 0 0 1-.886.068c-1.534 0-3.147-.53-4.493-1.456A12.5 12.5 0 0 1 12.501 25a12.42 12.42 0 0 1-8.84-3.659A12.41 12.41 0 0 1 0 12.505c0-3.334 1.299-6.48 3.66-8.84zm1.001 16.672a11.02 11.02 0 0 0 7.84 3.245c1.98 0 3.922-.528 5.614-1.523.11-.063.236-.1.356-.1.152 0 .31.053.435.147 1.602 1.24 3.215 1.424 3.922 1.44-.843-.628-1.55-1.602-2.142-2.958a.71.71 0 0 1 .12-.753c3.876-4.377 3.672-11.045-.465-15.18a11.02 11.02 0 0 0-7.84-3.246 11.02 11.02 0 0 0-7.84 3.245c-4.326 4.33-4.326 11.365 0 15.683m2.92-12.211h10.463c.392 0 .706.278.706.625s-.314.625-.706.625H7.58c-.392 0-.706-.278-.706-.625s.32-.625.706-.625zm0 3.875h10.463c.392 0 .706.278.706.625s-.314.625-.706.625H7.58c-.392 0-.706-.278-.706-.625S7.194 12 7.58 12zm0 4h10.463c.392 0 .706.278.706.625s-.314.625-.706.625H7.58c-.392 0-.706-.278-.706-.625S7.194 16 7.58 16z"})));var gf;function rl(){return rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},rl.apply(null,arguments)}const ry=e=>P("svg",rl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 11"},e),gf||(gf=P("path",{d:"M3.5.5h7.1l2.8 4.1L7 10.9.7 4.6zm1 2L3.3 4.4 7 8.1l3.7-3.7-1.2-1.9z"})));var mf;function nl(){return nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},nl.apply(null,arguments)}const ny=e=>P("svg",nl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 19 16"},e),mf||(mf=P("path",{d:"m0 6 3.8-6h11.4L19 6 9.5 16z"})));var bf;function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},il.apply(null,arguments)}const iy=e=>P("svg",il({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),bf||(bf=P("path",{d:"M.08 14.505 14.505.08l1.414 1.414L1.494 15.919zM3.2 6.4C5 6.4 6.4 5 6.4 3.2S5 0 3.2 0 0 1.4 0 3.2s1.4 3.2 3.2 3.2m0-4.4c.7 0 1.2.5 1.2 1.2s-.5 1.2-1.2 1.2S2 3.9 2 3.2 2.5 2 3.2 2m9.6 7.6c-1.8 0-3.2 1.4-3.2 3.2S11 16 12.8 16s3.2-1.4 3.2-3.2-1.4-3.2-3.2-3.2m0 4.4c-.7 0-1.2-.5-1.2-1.2s.5-1.2 1.2-1.2 1.2.5 1.2 1.2-.5 1.2-1.2 1.2"})));var vf,yf;function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},sl.apply(null,arguments)}const sy=e=>P("svg",sl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 17 17"},e),vf||(vf=P("path",{d:"M16 4.5 12.465.965 5.369 8.06l.025 3.51 3.51.026zM7.375 8.884l5.09-5.09.707.706-5.09 5.09-.702-.004z"})),yf||(yf=P("path",{d:"M13 15v-5h2v7H0V2h7v2H2v11z"})));var xf;function al(){return al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},al.apply(null,arguments)}const ay=e=>P("svg",al({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 11 7"},e),xf||(xf=P("path",{d:"m4.288 5.703.117.139c.393.393.973.441 1.302.112l.009-.009.123-.105.104-.122 4.015-4.015A1.002 1.002 0 0 0 8.534.297L5.122 3.709 1.703.29A.994.994 0 0 0 .294.295a.996.996 0 0 0-.005 1.409z"})));var wf;function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ll.apply(null,arguments)}const ly=e=>P("svg",ll({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),wf||(wf=P("path",{fillRule:"evenodd",d:"m11.5 0 4.243 4.243L4.243 16H0v-4.243zm0 3L2 12.586V14h1.414l9.5-9.586zM9 14v2h7v-2z",clipRule:"evenodd"})));var kf;function cl(){return cl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},cl.apply(null,arguments)}const cy=e=>P("svg",cl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),kf||(kf=P("path",{d:"M0 1v14h16V1zm14 2v1.2l-6 4-6-4V3zM2 13V6.6l6 4 6-4V13z"})));var Af,Sf;function ul(){return ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ul.apply(null,arguments)}const uy=e=>P("svg",ul({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Af||(Af=P("path",{fill:"none",d:"M0 0h16v16H0z"})),Sf||(Sf=P("path",{d:"M9 0v2h3.6L5.3 9.3l1.4 1.4L14 3.4V7h2V0zm5 14H2V2h4V0H0v16h16v-6h-2z"})));var Cf;function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},dl.apply(null,arguments)}const dy=e=>P("svg",dl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Cf||(Cf=P("path",{d:"M13 4V0H0v6h2v3H0v7h16V4zM2 2h9v2H2zm3 4v3H4V6zm6 8H2v-3h9zm3 0h-1v-3h1zm0-5H7V6h7z"})));var Of,Ef;function fl(){return fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},fl.apply(null,arguments)}const fy=e=>P("svg",fl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 26 16"},e),Of||(Of=P("path",{fill:"none",d:"M0 0h26v16H0z"})),Ef||(Ef=P("path",{d:"M20.8 4.6C18.6 2.4 16.1 0 13 0S7.4 2.4 5.2 4.6C3.3 6.4 1.7 8 0 8c1.7 0 3.3 1.6 5.2 3.4C7.4 13.6 9.9 16 13 16s5.6-2.4 7.8-4.6C22.7 9.6 24.3 8 26 8c-1.7 0-3.3-1.6-5.2-3.4M13 13.3c-2.9 0-5.2-2.4-5.2-5.3s2.3-5.3 5.2-5.3 5.2 2.4 5.2 5.3-2.3 5.3-5.2 5.3M14.3 8c-.7 0-1.3-.6-1.3-1.3 0-.5.3-1 .8-1.2-.2-.1-.5-.1-.8-.1-1.4 0-2.6 1.2-2.6 2.7s1.2 2.7 2.6 2.7 2.6-1.2 2.6-2.7c0-.3 0-.5-.1-.8-.2.4-.7.7-1.2.7"})));var Pf;function pl(){return pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},pl.apply(null,arguments)}const py=e=>P("svg",pl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 17 20"},e),Pf||(Pf=P("path",{d:"M16.734 5.931q-.264-.624-.636-.988L11.96.884Q11.59.521 10.953.26 10.316 0 9.786 0H1.298a1.24 1.24 0 0 0-.901.364 1.2 1.2 0 0 0-.372.885V18.73q0 .52.372.885.371.364.901.364h14.429q.53 0 .901-.364.372-.364.371-.885V7.076q0-.52-.265-1.145M10.21 1.77q.384.13.544.286l4.15 4.071q.16.156.292.534H10.21zm5.092 16.545H1.722V1.664h6.79v5.412q0 .52.372.884.371.365.901.365h5.517v9.989z"})));var Tf;function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},hl.apply(null,arguments)}const hy=e=>P("svg",hl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Tf||(Tf=P("path",{d:"M8.3 0H0v16h16V0zM8 2.5 10.5 5H8zM2 14V2h4v5h5v7zm12 0h-1V4.7L10.3 2H14z"})));var Rf;function gl(){return gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},gl.apply(null,arguments)}const gy=e=>P("svg",gl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 19"},e),Rf||(Rf=P("path",{fillRule:"evenodd",d:"M7 19c3.866 0 7-3.224 7-7.2C14 5.008 7.556 6 9.5 0 7.028.152 4 1 3 4.5c-.491 1.718.107 3.044.27 3.764s-.211 1.343-.761 1.233c-.548-.109-.762-.831-.548-2.247C.001 8.481.001 10.768.001 11.8c0 3.976 3.134 7.2 7 7.2z",clipRule:"evenodd"})));var Mf;function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ml.apply(null,arguments)}const my=e=>P("svg",ml({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Mf||(Mf=P("path",{d:"M16 9V7c0-3.9-3.1-7-7-7H7C3.1 0 0 3.1 0 7v9h5V9H2V7c0-2.8 2.2-5 5-5h2c2.8 0 5 2.2 5 5v2h-3v7h5zM3 11v3H2v-3zm11 3h-1v-3h1z"})));var zf,Hf;function bl(){return bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},bl.apply(null,arguments)}const by=e=>P("svg",bl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),zf||(zf=P("path",{fill:"none",d:"M0 0h16v16H0z"})),Hf||(Hf=P("path",{d:"M7 16v-5h2v5h6V5L8 0 1 5v11zm-2-2H3V6.03l5-3.572 5 3.571V14h-2V9H5z"})));var Bf;function vl(){return vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},vl.apply(null,arguments)}const vy=e=>P("svg",vl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),Bf||(Bf=P("path",{d:"M10.986 6.995V4.976H9.014v2.02h1.972zm0 8.029v-6.01H9.014v6.01zM10 0q2.74 0 5.072 1.37a9.5 9.5 0 0 1 3.558 3.558A9.84 9.84 0 0 1 20 10a9.84 9.84 0 0 1-1.37 5.072 9.5 9.5 0 0 1-3.558 3.558A9.84 9.84 0 0 1 10 20a9.84 9.84 0 0 1-5.072-1.37 9.66 9.66 0 0 1-3.558-3.582A9.8 9.8 0 0 1 0 10a9.8 9.8 0 0 1 1.37-5.048A9.84 9.84 0 0 1 4.952 1.37 9.8 9.8 0 0 1 10 0"})));var Df;function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},yl.apply(null,arguments)}const yy=e=>P("svg",yl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Df||(Df=P("path",{d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6M7 7h2v5H7zm0-3h2v2H7z"})));var Lf;function xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},xl.apply(null,arguments)}const xy=e=>P("svg",xl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 22 16"},e),Lf||(Lf=P("path",{d:"M21.8 8.4a1.8 1.8 0 0 0-.8-.8 2.4 2.4 0 0 0-1-.3h-2.3V5.5c0-.7-.3-1.3-.8-1.8a2.5 2.5 0 0 0-2-.8H9v-.4c0-.7-.2-1.3-.7-1.8A2.5 2.5 0 0 0 6.4 0H2.6C2 0 1.3.3.8.8S0 1.8 0 2.6v10.8c0 .7.3 1.3.8 1.8a2.5 2.5 0 0 0 1.8.8H15c.6 0 1 0 1.7-.4.6-.3 1-.6 1.3-1l3.4-4c.4-.6.6-1 .6-1.5a1.8 1.8 0 0 0-.2-.6zM1.5 2.6c0-.3 0-.6.3-.8.2-.2.5-.3.8-.3h3.7c.3 0 .5 0 .7.3.3.2.4.5.4.8v.7c0 .3 0 .5.3.8.2.3.5.4.8.4H15c.4 0 .7 0 1 .3l.2.8v1.8H7.4c-.6 0-1 0-1.6.4s-1 .6-1.4 1l-3 3.5V2.6zm18.8 7-3.4 4-1 .7-1 .2H2.7c-.4 0-.6 0-.6-.4l.2-.3 3.4-4c.2-.4.4-.6.8-.7.3-.2.7-.3 1-.3H20c.3 0 .5.2.5.4 0 .3 0 .4-.2.6z"})));var _f;function wl(){return wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},wl.apply(null,arguments)}const wy=e=>P("svg",wl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 12"},e),_f||(_f=P("path",{fillRule:"evenodd",d:"M2 0H0v2h2zm0 5H0v2h2zm-2 5h2v2H0zM16 0H4v2h12zM4 5h12v2H4zm12 5H4v2h12z",clipRule:"evenodd"})));var If;function kl(){return kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},kl.apply(null,arguments)}const ky=e=>P("svg",kl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 17 16"},e),If||(If=P("path",{fillRule:"evenodd",d:"m7.885 9-2.383 2.293 1.47 1.414L11.865 8 6.972 3.293l-1.47 1.414L7.885 7H0v2zm6.668 5H9.355v2h7.276V0H9.356v2h5.198z",clipRule:"evenodd"})));var Nf;function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Al.apply(null,arguments)}const Ay=e=>P("svg",Al({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Nf||(Nf=P("path",{fillRule:"evenodd",d:"m8.414 7 2.293-2.293-1.414-1.414L4.586 8l4.707 4.707 1.414-1.414L8.414 9H16V7zM2 2h5V0H0v16h7v-2H2z",clipRule:"evenodd"})));var jf;function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Sl.apply(null,arguments)}const Sy=e=>P("svg",Sl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),jf||(jf=P("path",{d:"M8.5 2C5.5 2 3 4.5 3 7.5c0 .8.2 1.5.4 2.2l.2.3-.8 3.1 2.9-.9.3.2c.7.4 1.6.6 2.5.6 3 0 5.5-2.5 5.5-5.5S11.5 2 8.5 2M1 7.5C1 3.4 4.4 0 8.5 0S16 3.4 16 7.5 12.6 15 8.5 15c-1.1 0-2.1-.2-3.1-.7L0 16l1.5-5.9C1.2 9.3 1 8.4 1 7.5"})));var Xf;function Cl(){return Cl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Cl.apply(null,arguments)}const Cy=e=>P("svg",Cl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Xf||(Xf=P("path",{fillRule:"evenodd",d:"M7 0H0v15h15V8h-2v5H2V2h5zm0 10.914 8.707-8.707L14.293.793 7 8.086 4.707 5.793 3.293 7.207z",clipRule:"evenodd"})));var Ff,Uf;function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ol.apply(null,arguments)}const Oy=e=>P("svg",Ol({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),Ff||(Ff=P("path",{d:"M0 0v20h20V0zm18 18H2V2h16z"})),Uf||(Uf=P("path",{d:"M15 5H5v2h10zM15 9H5v2h10zM15 13H5v2h10z"})));var Vf;function El(){return El=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},El.apply(null,arguments)}const Ey=e=>P("svg",El({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 19 19"},e),Vf||(Vf=P("path",{d:"M17.863 5.258 13.75 1.136l.283-.283a2.9 2.9 0 0 1 4.113.005 2.91 2.91 0 0 1 0 4.117zm-5.388-2.847 4.118 4.117L5.04 18.079 0 19l.92-5.038z"})));var Gf;function Pl(){return Pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Pl.apply(null,arguments)}const Py=e=>P("svg",Pl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Gf||(Gf=P("path",{d:"M12 9h-.6c.4-.6.6-1.3.6-2V4c0-2.2-1.8-4-4-4S4 1.8 4 4v3c0 .7.2 1.4.6 2H4c-2.2 0-4 1.8-4 4v3h16v-3c0-2.2-1.8-4-4-4M6 7V4c0-1.1.9-2 2-2s2 .9 2 2v3c0 1.1-.9 2-2 2s-2-.9-2-2m8 7H2v-1c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2z"})));var qf;function Tl(){return Tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Tl.apply(null,arguments)}const Ty=e=>P("svg",Tl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),qf||(qf=P("path",{fillRule:"evenodd",d:"M10 2a8 8 0 0 1 8 8h2c0-5.523-4.477-10-10-10zm0 4a4 4 0 0 1 4 4h2a6 6 0 0 0-6-6zm2 7.75c.5-.625 1.25-.625 1.875 0 .25.25.486.5.722.75.472.5.944 1 1.528 1.5.625.625.625 1.375 0 2l-1.25 1.25c-.625.625-1.375.75-2.125.75a9.7 9.7 0 0 1-3.375-1C7 17.875 5 16.375 3.375 14.375 2.25 12.875 1.125 11.25.5 9.5.125 8.625 0 7.75 0 6.75q0-.75.75-1.5c.375-.375.875-.875 1.375-1.25.5-.625 1.25-.625 1.875 0 .375.25.75.625 1.125 1l.269.285c.25.273.484.529.856.715.625.625.625 1.375 0 2l-.481.51c-.291.319-.566.619-.894.865-.125.125-.125.25-.125.375.375.625.75 1.25 1.25 1.875 1 1.25 2 2.25 3.375 3.125.191.191.455.309.68.41l.195.09c.125 0 .25 0 .375-.125z",clipRule:"evenodd"})));var Jf;function Rl(){return Rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Rl.apply(null,arguments)}const Ry=e=>P("svg",Rl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 32 32"},e),Jf||(Jf=P("path",{d:"M25.28 19.815c-.655-.682-1.445-1.047-2.282-1.047-.83 0-1.627.358-2.309 1.04l-2.133 2.127-.52-.27a9 9 0 0 1-.669-.358c-1.998-1.27-3.814-2.923-5.556-5.064-.844-1.066-1.41-1.964-1.822-2.876.553-.506 1.066-1.032 1.566-1.539l.567-.574c1.418-1.417 1.418-3.254 0-4.671L10.279 4.74c-.21-.21-.425-.426-.628-.642a31 31 0 0 0-1.27-1.255c-.654-.649-1.437-.993-2.26-.993-.824 0-1.621.344-2.296.993l-.014.013-2.295 2.316A4.94 4.94 0 0 0 .051 8.31c-.162 1.971.419 3.808.864 5.01 1.094 2.95 2.728 5.684 5.165 8.614 2.957 3.53 6.514 6.319 10.579 8.283 1.552.736 3.625 1.607 5.94 1.755l.426.014c1.56 0 2.87-.56 3.895-1.674l.027-.034c.351-.425.756-.81 1.182-1.222.29-.277.587-.567.877-.87.669-.696 1.02-1.506 1.02-2.337 0-.837-.358-1.64-1.04-2.315l-3.706-3.72zm1.595 6.857c-.227.245-.46.465-.71.71-.377.36-.76.738-1.121 1.163-.588.628-1.28.924-2.187.924l-.267-.006c-1.727-.11-3.378-.572-4.581-1.148-1.565-.757-6.166-3.373-9.24-6.667-3.39-3.633-5.311-8.135-5.772-9.379a8.2 8.2 0 0 1-.51-3.704 2.67 2.67 0 0 1 .802-1.727l1.983-1.983c.285-.268.587-.413.884-.413.366 0 .663.22.849.407.372.349.71.692 1.064 1.058l.552.564L10.21 8.06c.616.616.616 1.186 0 1.802l-.5.5c-.489.5-1.206 1.178-1.712 1.631-.53.53-.436 1.018-.331 1.35.242.596 1.767 3.576 3.98 5.982 1.856 2.017 4.38 3.504 5.231 4.042.239.152.483.274.715.39.21.105.407.203.576.308l.07.04c.198.1.384.146.576.146.482 0 .785-.302.883-.401l2.241-2.2c.198-.198.512-.437.878-.437.361 0 .658.227.838.425l3.215 3.215c.6.593.6 1.204.006 1.82zM17.286 7.609a8.56 8.56 0 0 1 4.659 2.417 8.6 8.6 0 0 1 2.417 4.658.905.905 0 0 0 .897.756l.156-.013c.5-.081.83-.554.75-1.054a10.4 10.4 0 0 0-2.924-5.637 10.4 10.4 0 0 0-5.637-2.923.916.916 0 0 0-1.053.743.9.9 0 0 0 .735 1.053M31.95 14.11a17.13 17.13 0 0 0-4.814-9.283A17.13 17.13 0 0 0 17.854.014a.91.91 0 0 0-1.047.743c-.08.5.25.965.75 1.053 3.146.533 6.015 2.025 8.297 4.3a15.3 15.3 0 0 1 4.3 8.297c.074.446.46.756.898.756a.894.894 0 0 0 .898-1.053"})));var Wf;function Ml(){return Ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ml.apply(null,arguments)}const My=e=>P("svg",Ml({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 30 30"},e),Wf||(Wf=P("path",{d:"M28.197 7.501C24.024.328 14.783-2.129 7.557 2.012s-9.703 13.314-5.53 20.486c4.172 7.174 13.413 9.632 20.639 5.49 7.227-4.142 9.704-13.314 5.53-20.487zM21.155 25.39c-5.78 3.313-13.173 1.347-16.511-4.392C1.306 15.26 3.287 7.922 9.068 4.61 14.848 1.296 22.242 3.262 25.58 9c3.337 5.74 1.356 13.077-4.425 16.39m-.604-11L12.64 9.81c-.72-.418-1.302-.084-1.298.744l.04 9.091c.004.828.593 1.165 1.316.75l7.851-4.499c.722-.414.724-1.088.003-1.506z"})));var Yf;function zl(){return zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},zl.apply(null,arguments)}const zy=e=>P("svg",zl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 12"},e),Yf||(Yf=P("path",{d:"M7 6 5.463 4.683 2 1.714 0 0v12l2-1.714 3.463-2.969zM3.927 6 2 4.348v3.304zM14 0h2v12h-2zm-2 0h-2v12h2z"})));var Qf,Zf;function Hl(){return Hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Hl.apply(null,arguments)}const Hy=e=>P("svg",Hl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 18 19"},e),Qf||(Qf=P("rect",{width:18,height:3,y:8,rx:1.5})),Zf||(Zf=P("rect",{width:18,height:3,y:8,rx:1.5,transform:"rotate(90 9 9.5)"})));var Kf;function Bl(){return Bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Bl.apply(null,arguments)}const By=e=>P("svg",Bl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 14"},e),Kf||(Kf=P("path",{d:"M7.875 6.125H14v1.75H7.875V14h-1.75V7.875H0v-1.75h6.125V0h1.75z"})));function Dl(){return Dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Dl.apply(null,arguments)}const Dy=e=>P("svg",Dl({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fill:"currentcolor",viewBox:"0 0 16 18"},e),P("path",{d:"M6.1 4.4c-.4-.9-1-1.7-1.4-2.1-.3-.2-.7-.3-1-.3-.2 0-.4.1-.5.2-.2.2-.2.4-.2.7s.2.6.5.9c.5.3 1.4.8 2.3 1.1.2 0 .4.1.5.1 0-.2-.1-.4-.2-.6M6 .9c.7.6 1.5 1.7 2 2.8.5-1.1 1.3-2.2 2-2.8 1.4-1.2 3.4-1.1 4.4.1 1 1.1.8 2.9-.3 4.1H16v6h-1v7H1v-7H0V5h1.9C.8 3.8.7 2.1 1.6.9 2.7-.3 4.7-.3 6 .9m3.9 3.5c.4-.9 1-1.7 1.4-2.1.3-.2.7-.3 1-.3s.5.1.6.2c.1.2.1.4.1.7s-.2.6-.5.9c-.4.4-1.3.8-2.3 1.1-.2 0-.4.1-.5.1 0-.2.1-.4.2-.6M14 7H2v2h12zM3 11h10v5H3z",style:{fillRule:"evenodd",clipRule:"evenodd"}}));var $f;function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ll.apply(null,arguments)}const Ly=e=>P("svg",Ll({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),$f||($f=P("path",{d:"M8.4 0H16v7.6l-.3.3-.2.2c1 2.4.4 5.1-1.3 6.4-1.3 1-2.7 1.2-3.9 1-.6-.1-1.1-.3-1.6-.7l-.4.4-.7.8-.7-.7L.7 9.1 0 8.4l.7-.7L8.1.3zm2.4 4.2c1.3.4 2.4 1 3.2 1.8V2H9.2L2.8 8.4l4.8 4.8L13 7.8c-.5-.6-1.2-1.1-2.2-1.5v.9h-1V3.1h1zm2.2 8.7c.7-.5 1.2-1.8.9-3.2l-3.7 3.7c.1.1.3.1.5.2.7.1 1.5 0 2.3-.7"})));var ep;function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},_l.apply(null,arguments)}const _y=e=>P("svg",_l({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),ep||(ep=P("path",{d:"M13 4V0H3v4H0v9h3v3h10v-3h3V4zM5 2h6v2H5zm6 12H5v-3h6zm3-3h-1V9H3v2H2V6h12zM3.8 8.6a.8.8 0 1 0 0-1.6.8.8 0 0 0 0 1.6"})));var tp;function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Il.apply(null,arguments)}const Iy=e=>P("svg",Il({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),tp||(tp=P("path",{d:"M14 3.2h-2V0H4v3.2H0V16h16V3.2zM6 2h4v.8H6zm8 12H2v-4h5v1.2h2V10h5zm0-6H2V5.2h12z"})));var op,rp;function Nl(){return Nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Nl.apply(null,arguments)}const Ny=e=>P("svg",Nl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),op||(op=P("path",{fill:"none",d:"M0 0h20v20H0z"})),rp||(rp=P("path",{d:"M17.1 2.9C15.2 1.1 12.7 0 10 0 4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10c0-2.7-1.1-5.2-2.9-7.1M11 15H9v-2h2zm.5-4.5c-.3.2-.6.6-.5.9v.1H9v-.1c0-1.1.6-2.2 1.7-2.7.5-.2.8-.8.8-1.3 0-.8-.7-1.4-1.5-1.4s-1.5.6-1.5 1.4h-2C6.5 5.5 8.1 4 10 4s3.5 1.5 3.5 3.4c0 1.3-.8 2.5-2 3.1"})));var np;function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},jl.apply(null,arguments)}const jy=e=>P("svg",jl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),np||(np=P("path",{d:"M10 5c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5m0-5C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0m0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8"})));var ip;function Xl(){return Xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Xl.apply(null,arguments)}const Xy=e=>P("svg",Xl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),ip||(ip=P("path",{d:"M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0m0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8"})));var sp;function Fl(){return Fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Fl.apply(null,arguments)}const Fy=e=>P("svg",Fl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 19 20"},e),sp||(sp=P("path",{d:"M1.638 8.346c.653 0 1.243-.386 1.495-.978a6.9 6.9 0 0 1 6.351-4.164c1.575 0 3.019.53 4.176 1.412l-.907.138a.7.7 0 0 0-.593.594.694.694 0 0 0 .411.729l4.99 2.208a.72.72 0 0 0 .673-.05.7.7 0 0 0 .325-.582l.026-5.408a.7.7 0 0 0-.501-.669.71.71 0 0 0-.796.28L16.6 2.873A10.2 10.2 0 0 0 9.484 0C5.284 0 1.672 2.523.132 6.109a1.59 1.59 0 0 0 .143 1.516c.303.45.815.72 1.363.72zm17.055 3.998a1.64 1.64 0 0 0-1.364-.721 1.62 1.62 0 0 0-1.494.977 6.9 6.9 0 0 1-6.351 4.165 6.87 6.87 0 0 1-4.176-1.412l.907-.138a.7.7 0 0 0 .593-.595.694.694 0 0 0-.411-.728l-4.99-2.208a.72.72 0 0 0-.673.05.7.7 0 0 0-.325.582l-.026 5.407a.7.7 0 0 0 .501.67c.3.09.623-.025.796-.28l.688-1.017a10.2 10.2 0 0 0 7.116 2.872c4.2 0 7.812-2.523 9.352-6.109a1.59 1.59 0 0 0-.143-1.515"})));var ap;function Ul(){return Ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ul.apply(null,arguments)}const Uy=e=>P("svg",Ul({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 29 30"},e),ap||(ap=P("path",{d:"m28.6 27.3-7-7.4a12.2 12.2 0 0 0 2.7-8c0-6.6-5.3-12-12-12C6 0 .6 5.4.6 12c0 6.8 5.4 12.2 12 12.2 2.4 0 4.7-.7 6.7-2.2l7 7.5a1.5 1.5 0 0 0 2.3 0 1.6 1.6 0 0 0 0-2.2m-16.2-24c5 0 8.8 4 8.8 8.8 0 5-4 9-8.8 9s-8.8-4-8.8-9c0-4.8 4-8.8 8.8-8.8"})));var lp;function Vl(){return Vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Vl.apply(null,arguments)}const Vy=e=>P("svg",Vl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),lp||(lp=P("path",{d:"m14.4 7.8 1.4-1.7-1.9-3.8-2.4.6-.8-.5-.5-2.4H5.6L5 2.4l-.8.5-2.3-.6L.1 6.1l1.3 1.7V9L.1 11 2 14l2.3-.7.7.4.6 2.3h4.6l.6-2.3.7-.4 2.3.7 2-3-1.4-2c.1 0 .1-1.2 0-1.2m-.8 3.3-.4.6-1.7-.5-2.3 1.2-.5 1.6H7.2l-.4-1.7-2.3-1.2-1.7.5-.3-.6 1-1.4V7.2l-1-1.3.5-1.2 1.6.4 2.2-1.5.4-1.6h1.4L9 3.6l2.2 1.5 1.7-.4.6 1.2-1 1.3v2.5zM7.9 5c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.2-3-3-3m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.3 1-1 1"})));var cp;function Gl(){return Gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Gl.apply(null,arguments)}const Gy=e=>P("svg",Gl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),cp||(cp=P("path",{d:"M8 6.53 14.53 0 16 1.47 9.47 8 16 14.53 14.53 16 8 9.47 1.47 16 0 14.53 6.53 8 0 1.47 1.47 0z"})));var up;function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ql.apply(null,arguments)}const qy=e=>P("svg",ql({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 12"},e),up||(up=P("path",{fillRule:"evenodd",d:"M0 2.5V.75h14V2.5zm0 4.375v-1.75h10.5v1.75zM0 9.5v1.75h7V9.5z",clipRule:"evenodd"})));var dp;function Jl(){return Jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Jl.apply(null,arguments)}const Jy=e=>P("svg",Jl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),dp||(dp=P("path",{d:"M14.7 5.5H11L8.9.8C8.6.1 7.5.1 7.2.8L5 5.5H1.3c-.8 0-1.3 1-.7 1.6l2.8 2.7-.7 4.8c-.1.8.8 1.4 1.5.9L8 12.7l3.8 2.9c.7.5 1.6-.1 1.5-.9l-.7-4.8 2.8-2.7c.6-.7.2-1.7-.7-1.7m-4.3 3.6.5 3.3L8 10.2l-2.9 2.2.5-3.3-1.7-1.6h2.4L8 3.8l1.7 3.7h2.4z"})));var fp;function Wl(){return Wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Wl.apply(null,arguments)}const Wy=e=>P("svg",Wl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 25 17"},e),fp||(fp=P("path",{d:"m24.051 6.289.254-.114-.254-.114L12.536.886l-.051-.023-.051.023L.949 6.061l-.253.114.253.114 5.363 2.416v3.516c0 1.168.729 2.202 2.01 2.923 1.129.635 2.608.981 4.164.981s3.035-.346 4.164-.981c1.281-.72 2.01-1.755 2.01-2.923V8.712l2.659-1.195 1.344-.604zm-11.617 5.175.051.023.051-.023 4.529-2.035v2.792c0 .228-.107.475-.325.723s-.54.489-.949.701c-.82.423-1.976.718-3.305.718s-2.485-.296-3.305-.718c-.41-.211-.732-.453-.95-.701s-.325-.496-.325-.723V9.424zm.052-1.879-7.568-3.41 7.568-3.41 7.587 3.41z"})));var pp;function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Yl.apply(null,arguments)}const Yy=e=>P("svg",Yl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),pp||(pp=P("path",{d:"M8 14c3.3 0 6-2.7 6-6 0-.9-.2-1.8-.6-2.6l-1.2.9c.2.5.3 1.1.3 1.7 0 2.5-2 4.5-4.5 4.5s-4.5-2-4.5-4.5 2-4.5 4.5-4.5c1.1 0 2.2.4 3 1.1l1.2-.9C11.1 2.7 9.7 2 8 2 4.7 2 2 4.7 2 8s2.7 6 6 6m1.3-8.1c-.4-.3-.8-.4-1.3-.4-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5c0-.2 0-.4-.1-.5L8.6 8.8c-.5.3-1.1.2-1.4-.2-.3-.5-.2-1.1.2-1.4zM15 4.2c.6 1.1 1 2.4 1 3.8 0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8c2.3 0 4.4 1 5.9 2.6l.5-.4c.4-.3 1.1-.2 1.4.2s.2 1.1-.2 1.4z"})));var hp,gp;function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ql.apply(null,arguments)}const Qy=e=>P("svg",Ql({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 18 20"},e),hp||(hp=P("path",{d:"M17.2 2H13V.8c0-.4-.3-.7-.7-.7H5.8c-.5 0-.8.3-.8.7v4c0 .3.3.6.8.6h4.8c.4 0 .7-.3.7-.7S11 4 10.6 4h-4V1.4h5V3c0 .3.2.6.7.6h4v15H1.7v-15h1.2c.4 0 .8-.3.8-.7 0-.5-.4-1-.8-1h-2C.4 2 0 2.6 0 3v16.3c0 .4.4.7.8.7h16.4c.4 0 .8-.3.8-.8V3c0-.5-.4-1-.8-1"})),gp||(gp=P("path",{d:"M12.6 9a.8.8 0 0 0-1 0l-3.7 3.3L6.4 11a.8.8 0 0 0-1 0 .7.7 0 0 0 0 1l1.8 1.8c.2.2.4.2.6.2 0 0 .3 0 .4-.2l4.2-4a.7.7 0 0 0 0-1z"})));var mp;function Zl(){return Zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zl.apply(null,arguments)}const Zy=e=>P("svg",Zl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),mp||(mp=P("path",{d:"M13 0H0v16h16V0zM7 2h1v1l-.5-.2L7 3zm4 12H2V2h3v4l2.5-1L10 6V2h1zm3 0h-1V2h1z"})));var bp;function Kl(){return Kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Kl.apply(null,arguments)}const Ky=e=>P("svg",Kl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 26 26"},e),bp||(bp=P("path",{d:"M10.7 12.8 1 22.4c-.5.6-.5 1.6 0 2.2.8.6 1.7.6 2.3 0L13 15l9.5 9.6c.6.6 1.6.6 2.2 0s.6-1.6 0-2.2L15 12.8l9.6-9.5c.6-.6.6-1.6 0-2.2-.6-.5-1.6-.5-2.2 0L13 10.7 3.3 1C2.8.6 1.8.6 1.2 1c-.6.7-.6 1.7 0 2.3z"})));var vp;function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},$l.apply(null,arguments)}const $y=e=>P("svg",$l({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),vp||(vp=P("path",{d:"M14 0H0v3c0 1.9 1.3 3.4 3 3.9V7c0 2.4 1.7 4.4 4 4.9V14H3v2h10v-2H9v-2.1c2.3-.5 4-2.5 4-4.9v-.1c1.7-.4 3-2 3-3.9V0zM3 4.7c-.6-.3-1-1-1-1.7V2h1zm8 .3v2c0 1.7-1.3 3-3 3S5 8.7 5 7V2h6zm3-2c0 .7-.4 1.4-1 1.7V2h1z"})));var yp;function ec(){return ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ec.apply(null,arguments)}const ex=e=>P("svg",ec({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 12 12"},e),yp||(yp=P("path",{fillRule:"evenodd",d:"M0 2V0h8v2zm0 3v2h12V5zm0 5v2h10v-2z",clipRule:"evenodd"})));var xp;function tc(){return tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},tc.apply(null,arguments)}const tx=e=>P("svg",tc({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 12"},e),xp||(xp=P("path",{d:"M2 2h7v8H2zM0 0h11v12H0V0m11 6 1.6-1.28L14 3.6 16 2v8l-2-1.6-1.4-1.12z"})));var wp,kp;function oc(){return oc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},oc.apply(null,arguments)}const ox=e=>P("svg",oc({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),wp||(wp=P("path",{d:"M11 4V0H3C1.3 0 0 1.3 0 3v13h16V4zM3 2h6v2H3c-.6 0-1-.4-1-1s.4-1 1-1m11 12H2V5.8c.1 0 .2 0 .3.1h.2c.1.1.3.1.5.1h11z"})),kp||(kp=P("circle",{cx:11,cy:10,r:1}))),Xg={blackBoard:{icon:u(L3,{}),multicolor:!1},book:{icon:u(_3,{}),multicolor:!1},burger:{icon:u(I3,{}),multicolor:!1},calendar:{icon:u(N3,{}),multicolor:!1},calendar_simple:{icon:u(j3,{}),multicolor:!1},camps:{icon:u(X3,{}),multicolor:!1},cancel:{icon:u(F3,{}),multicolor:!1},cart:{icon:u(U3,{}),multicolor:!1},check:{icon:u(V3,{}),multicolor:!1},checkCircle:{icon:u(G3,{}),multicolor:!1},chevronDown:{icon:u(q3,{}),multicolor:!1},chevronLeft:{icon:u(J3,{}),multicolor:!1},chevronRight:{icon:u(W3,{}),multicolor:!1},chevronUp:{icon:u(Y3,{}),multicolor:!1},clock:{icon:u(Q3,{}),multicolor:!1},clockFilled:{icon:u(Z3,{}),multicolor:!1},coins:{icon:u(K3,{}),multicolor:!1},copy:{icon:u($3,{}),multicolor:!1},courses:{icon:u(ey,{}),multicolor:!1},cross:{icon:u(ty,{}),multicolor:!1},dialog:{icon:u(oy,{}),multicolor:!1},diamond:{icon:u(ry,{}),multicolor:!1},diamondFilled:{icon:u(ny,{}),multicolor:!1},discount:{icon:u(iy,{}),multicolor:!1},document:{icon:u(sy,{}),multicolor:!1},dropDownArrow:{icon:u(ay,{}),multicolor:!1},edit:{icon:u(ly,{}),multicolor:!1},email:{icon:u(cy,{}),multicolor:!1},externalLink:{icon:u(uy,{}),multicolor:!1},externat:{icon:u(dy,{}),multicolor:!1},eye:{icon:u(fy,{}),multicolor:!1},file:{icon:u(py,{}),multicolor:!1},fileBordered:{icon:u(hy,{}),multicolor:!1},fire:{icon:u(gy,{}),multicolor:!1},headphones:{icon:u(my,{}),multicolor:!1},home:{icon:u(by,{}),multicolor:!1},info:{icon:u(vy,{}),multicolor:!1},infoInverse:{icon:u(yy,{}),multicolor:!1},lessons:{icon:u(xy,{}),multicolor:!1},list:{icon:u(wy,{}),multicolor:!1},login:{icon:u(ky,{}),multicolor:!1},logout:{icon:u(Ay,{}),multicolor:!1},message:{icon:u(Sy,{}),multicolor:!1},objective:{icon:u(Cy,{}),multicolor:!1},page:{icon:u(Oy,{}),multicolor:!1},pencil:{icon:u(Ey,{}),multicolor:!1},person:{icon:u(Py,{}),multicolor:!1},phone:{icon:u(Ty,{}),multicolor:!1},phoneNoFill:{icon:u(Ry,{}),multicolor:!1},play:{icon:u(My,{}),multicolor:!1},playPause:{icon:u(zy,{}),multicolor:!1},plus:{icon:u(Hy,{}),multicolor:!1},plusThin:{icon:u(By,{}),multicolor:!1},present:{icon:u(Dy,{}),multicolor:!1},priceTag:{icon:u(Ly,{}),multicolor:!1},print:{icon:u(_y,{}),multicolor:!1},prof:{icon:u(Iy,{}),multicolor:!1},questionFilled:{icon:u(Ny,{}),multicolor:!1},radioChecked:{icon:u(jy,{}),multicolor:!1},radioNotChecked:{icon:u(Xy,{}),multicolor:!1},reload:{icon:u(Fy,{}),multicolor:!1},search:{icon:u(Uy,{}),multicolor:!1},settings:{icon:u(Vy,{}),multicolor:!1},sharpCross:{icon:u(Gy,{}),multicolor:!1},sort:{icon:u(qy,{}),multicolor:!1},star:{icon:u(Jy,{}),multicolor:!1},student:{icon:u(Wy,{}),multicolor:!1},target:{icon:u(Yy,{}),multicolor:!1},tasks:{icon:u(Qy,{}),multicolor:!1},textbook:{icon:u(Zy,{}),multicolor:!1},tinyCross:{icon:u(Ky,{}),multicolor:!1},trophy:{icon:u($y,{}),multicolor:!1},unsort:{icon:u(ex,{}),multicolor:!1},video:{icon:u(tx,{}),multicolor:!1},wallet:{icon:u(ox,{}),multicolor:!1}},rx={...Xg,...jg},nx={...jg,...Xg},_e=On(vt((e,t)=>{var d;const{size:o="inherit",name:r,icon:n,...i}=e,s=Oo(),a=Sr("Icon",i.className);if(n)return u(Bs,{...i,size:o,className:a,ref:t,children:n});const l=i.preset==="brand"?rx:nx,c=r&&l[r]?l[r]:{};if(Co(c.icon))return u(Bs,{...i,size:o,className:a,ref:t,children:c.icon});if(typeof c.icon=="string"){const h=(d=s.iconsAssetHost)!=null?d:Da.__meta__.iconsAssetHost,f=h?`${h}${h.endsWith("/")?"":"/"}${c.icon}`:c.icon;return u(Bs,{...i,url:f,multicolor:c.multicolor,size:o,className:a,ref:t})}return null}),{displayName:"Icon",sizes:B3}),ix=ns((e,t)=>{var S;const o=Oo(),r=is(e,{componentName:"Anchor",sizes:T3}),{component:n,size:i="inherit",autoRel:s=!0,textProps:a={},iconProps:l={},leftIconProps:c={},rightIconProps:d={},icon:h,children:f,content:b,...v}=r,g=Sr("Anchor",v.className),p=(S=o.utils)==null?void 0:S.relBuilder,[m,y]=Array.isArray(h)?h:[h],C={as:"span",size:"inherit",color:"inherit",underline:v.underline,marginLeft:m?"0.20em":void 0,marginRight:y?"0.20em":void 0},A={as:"span",color:"inherit"};return u(M3,{...v,ref:t,as:(()=>{let M="a";return v.to&&(M=o.link),v.pseudo&&(M="div"),v.disabled&&(M="span"),v.as&&(M=v.as),n&&(M=n),M})(),className:g,size:i,rel:(()=>{var H;if(!ro(v.rel))return v.rel;const M=(H=v.href)!=null?H:v.to;if(s&&p&&typeof M=="string"){const I=v.target;if(typeof I=="string"||I===void 0)return p(M,I)}})(),"data-disabled":v.disabled,children:typeof f=="function"?f({baseTextProps:C,textProps:a,iconBaseProps:A,iconProps:l,icon:h}):v.preset==="brand"?u(ue,{children:[m?u(_e,{name:typeof m=="string"?m:void 0,icon:typeof m!="string"?m:void 0,...A,...l,...c}):null,u(xe,{...C,...a,children:f||b}),y?u(_e,{name:typeof y=="string"?y:void 0,icon:typeof y!="string"?y:void 0,...A,...l,...d}):null]}):f||b})});class Fg extends It{constructor(o){super(o);Ae(this,"getContent",o=>{const{content:r,chars:n=0}=this.props;if(!r)return"";let{isEllipsed:i}=this.state,s=typeof r=="string"?"":[];if(this.state.isUnFolded)s=r;else if(typeof s=="string")i=n!==0&&r.length>n,s=i&&n!==0?`${r.slice(0,n)}...`:r;else{let a=n;for(let l=0;l<r.length;l++){if(!(a-r[l].length>0)){i=!0,s[l]=`${r[l].slice(0,a)}...`;break}a-=r[l].length,s[l]=r[l]}}return this.state.isEllipsed!==i&&setTimeout(()=>this.setState({isEllipsed:i})),typeof s=="string"?u(xe,{...o,children:this.getQuted(s)}):u(E3,{children:s.map((a,l)=>u(P3,{children:u(xe,{...o,display:"inline",children:a})},l))})});Ae(this,"getQuted",o=>this.props.quoted?`«${o}»`:o);Ae(this,"toggle",()=>{this.setState({isUnFolded:!this.state.isUnFolded})});this.state={isUnFolded:!1,isEllipsed:!1}}componentDidUpdate({content:o}){o!==this.props.content&&this.state.isUnFolded&&this.toggle()}render(){const{className:o="",style:r,moreText:n="Читать полностью",lessText:i="Свернуть",showToggler:s=!0,...a}=this.props,{isUnFolded:l,isEllipsed:c}=this.state;return u("div",{className:o,style:r,children:[this.getContent(a),s&&c?u(Lt,{marginTop:16,marginBottom:1,children:u(ix,{pseudo:!0,onClick:this.toggle,children:l?i:n})}):null]})}}Ae(Fg,"displayName","Text.Ellipse");function Ds(e){return!!e||typeof e=="boolean"||typeof e=="number"||typeof e=="string"}function sx(e,t){return Ut(()=>{const o=e!=null?e:{},r=t!=null?t:{};return[...new Set([...Object.keys(o),...Object.keys(r)])].reduce((n,i)=>{let s;return Ds(o[i])&&(s=o[i]),Ds(r[i])&&(s=r[i]),Ds(s)?{...n,[i]:s}:n},{})},[e,t])}const ax={h1:{size:44,sizeM:32,lineHeight:"s",weight:"bold"},h2:{size:32,sizeM:28,lineHeight:"s",weight:"bold"},h3:{size:28,lineHeight:"s",weight:"bold"},h4:{size:24,lineHeight:"s",weight:"bold"}},Ug=e=>{var i;const t=Oo(),{h:o="h1",fontFamily:r,...n}=sx((i=t.components)==null?void 0:i["Text.Heading"],e);return u(xe,{as:o,fontFamily:r,...ax[o],...n})};Ug.displayName="Text.Heading";const xe=Object.assign(On(vt((e,t)=>{const o=e.appearance?{...S3[e.appearance],...e}:e,{size:r="m",weight:n="normal",lineHeight:i="m",fontStyle:s="normal",className:a,content:l,children:c,ellipsis:d,expandButtonProps:h,onExpandedChange:f,...b}=o,v=typeof d=="object"&&d!==null?d:{},g=Sr("Text",a);return u(y3,{...b,size:r,weight:n,lineHeight:i,fontStyle:s,className:g,ellipsis:d,ref:t,children:d?u(A3,{...v,underline:b.underline,expandButtonProps:h,onExpandedChange:f,children:c!=null?c:l}):c!=null?c:l})}),{displayName:"Text",sizes:e=>{var t;return typeof e.appearance=="string"&&(t=C3[e.appearance])!=null?t:Fd}}),{Heading:Ug,Ellipse:Fg}),Ap=(e,t)=>Co(e)?e:typeof e=="function"?e(t):typeof e=="string"||typeof e=="number"?u(xe,{...t,children:e}):null,jt=({render:e,fallback:t,props:o={}})=>{var r;return u(ue,{children:(r=Ap(e,o))!=null?r:Ap(t,o)})},xt={xxl:{"--icon-button-height":"40px",width:40,height:"var(--icon-button-height)",fontSize:24},xl:{"--icon-button-height":"32px",width:32,height:"var(--icon-button-height)",fontSize:24},l:{"--icon-button-height":"28px",width:28,height:"var(--icon-button-height)",fontSize:20},m:{"--icon-button-height":"24px",width:24,height:"var(--icon-button-height)",fontSize:16},s:{"--icon-button-height":"20px",width:20,height:"var(--icon-button-height)",fontSize:16},xs:{"--icon-button-height":"18px",width:18,height:"var(--icon-button-height)",fontSize:14},xxs:{"--icon-button-height":"16px",width:16,height:"var(--icon-button-height)",fontSize:12}},lx={xxl:{...xt.xxl,borderRadius:"50%"},xl:{...xt.xl,borderRadius:"50%"},l:{...xt.l,borderRadius:"50%"},m:{...xt.m,borderRadius:"50%"},s:{...xt.s,borderRadius:"50%"},xs:{...xt.xs,borderRadius:"50%"},xxs:{...xt.xxs,borderRadius:"50%"}},cx={xxl:{...xt.xxl,borderRadius:"calc(var(--icon-button-height) * 0.2)"},xl:{...xt.xl,borderRadius:"calc(var(--icon-button-height) * 0.2)"},l:{...xt.l,borderRadius:"calc(var(--icon-button-height) * 0.2)"},m:{...xt.m,borderRadius:"calc(var(--icon-button-height) * 0.2)"},s:{...xt.s,borderRadius:"calc(var(--icon-button-height) * 0.2)"},xs:{...xt.xs,borderRadius:"calc(var(--icon-button-height) * 0.2)"},xxs:{...xt.xxs,borderRadius:"calc(var(--icon-button-height) * 0.2)"}},ux={xxxl:{height:64,paddingLeft:36,paddingRight:36,"--gap":"10px"},xxl:{height:60,paddingLeft:34,paddingRight:34,"--gap":"10px"},xl:{height:56,paddingLeft:32,paddingRight:32,"--gap":"8px"},l:{height:48,paddingLeft:28,paddingRight:28,"--gap":"8px"},m:{height:44,paddingLeft:28,paddingRight:28,"--gap":"6px"},s:{height:40,paddingLeft:24,paddingRight:24,"--gap":"6px"},xs:{height:32,paddingLeft:16,paddingRight:16,"--gap":"4px"},xxs:{height:28,paddingLeft:14,paddingRight:14,"--gap":"4px"},xxxs:{height:24,paddingLeft:12,paddingRight:12,"--gap":"2px"}},dx={xxxl:{height:64,width:64,"--gap":"10px"},xxl:{height:60,width:60,"--gap":"10px"},xl:{height:56,width:56,"--gap":"8px"},l:{height:48,width:48,"--gap":"8px"},m:{height:44,width:44,"--gap":"6px"},s:{height:40,width:40,"--gap":"6px"},xs:{height:32,width:32,"--gap":"4px"},xxs:{height:28,width:28,"--gap":"4px"},xxxs:{height:24,width:24,"--gap":"2px"}},fx={xxxl:{fontSize:28},xxl:{fontSize:28},xl:{fontSize:24},l:{fontSize:24},m:{fontSize:20},s:{fontSize:20},xs:{fontSize:20},xxs:{fontSize:18},xxxs:{fontSize:16}},px={xxxl:{fontSize:22},xxl:{fontSize:20},xl:{fontSize:18},l:{fontSize:18},m:{fontSize:16},s:{fontSize:16},xs:{fontSize:14},xxs:{fontSize:12},xxxs:{fontSize:10}};function hx(e,t){var n,i;const o=(n=e.utils)==null?void 0:n.relBuilder;let r;return t.href&&(r=t.rel,!r&&o&&t.autoRel&&(t.href||t.to)&&(r=o((i=t.href)!=null?i:t.to,t.target))),r}function gx(e,t){let o={};return e===void 0||t.disabled||(e==="a"?o={href:t.href||t.to,target:t.target}:typeof e!="string"&&(o={to:t.to||t.href})),o}const mx={xxxl:{height:78,paddingLeft:44,paddingRight:44,"--gap":"0.25em"},xxl:{height:72,paddingLeft:40,paddingRight:40,"--gap":"0.25em"},xl:{height:68,paddingLeft:40,paddingRight:40,"--gap":"0.25em"},l:{height:60,paddingLeft:36,paddingRight:36,"--gap":"0.25em"},m:{height:52,paddingLeft:32,paddingRight:32,"--gap":"0.25em"},s:{height:40,paddingLeft:28,paddingRight:28,"--gap":"0.25em"},xs:{height:40,paddingLeft:28,paddingRight:28,"--gap":"0.25em"},xxs:{height:32,paddingLeft:18,paddingRight:18,"--gap":"0.25em"},xxxs:{height:28,paddingLeft:12,paddingRight:12,"--gap":"0.25em"}},bx={xxxl:{lineHeight:1,padding:"0.28em",width:72,height:72,"--gap":"0.25em"},xxl:{lineHeight:1,padding:"0.28em",width:68,height:68,"--gap":"0.25em"},xl:{lineHeight:1,padding:"0.28em",width:60,height:60,"--gap":"0.25em"},l:{lineHeight:1,padding:"0.28em",width:52,height:52,"--gap":"0.25em"},m:{lineHeight:1,padding:"0.28em",width:48,height:48,"--gap":"0.25em"},s:{lineHeight:1,padding:"0.28em",width:40,height:40,"--gap":"0.25em"},xs:{lineHeight:1,padding:"0.28em",width:32,height:32,"--gap":"0.25em"},xxs:{lineHeight:1,padding:"0.28em",width:24,height:24,"--gap":"0.25em"},xxxs:{lineHeight:1,padding:"0.28em",width:18,height:18,"--gap":"0.25em"}},vx={xxxl:{fontSize:24},xxl:{fontSize:22},xl:{fontSize:20},l:{fontSize:18},m:{fontSize:16},s:{fontSize:14},xs:{fontSize:14},xxs:{fontSize:12},xxxs:{fontSize:10}},yx={xl:{paddingLeftM:36,paddingRightM:36,paddingLeftS:32,paddingRightS:32},l:{fontSizeM:"m",heightM:56,heightS:52,paddingLeftM:28,paddingRightM:28,paddingLeftS:24,paddingRightS:24},m:{paddingLeftM:24,paddingRightM:24,paddingLeftS:20,paddingRightS:20},s:{paddingLeftM:20,paddingRightM:20,paddingLeftS:16,paddingRightS:16},xs:{paddingLeftM:20,paddingRightM:20,paddingLeftS:16,paddingRightS:16}},xx=Kt(e=>!["fluid","width","display","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","fontSize","height","inline","round","success","loading","black","danger","onColored","clear","base","outline","autoRel","noSpacing","primary","secondary","inverted","rounded","basic"].includes(e),e=>!(Xv.test(e)||Fv.test(e)||Uv.test(e)||Vv.test(e)||Gv.test(e))),Sp={xl:320,l:280,m:245,s:180,xs:140},wx=Qo(["0%{background-position:0 0;}100%{background-position:50px 50px;}"]),kx=Qo(["100%{transform:rotate(360deg);}"]),Ax=R(["background-image:linear-gradient( -45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent );background-size:25px 25px;animation:"," 2s linear infinite;cursor:progress;"],wx),Cp=e=>e==="auto"?"auto":typeof e=="number"||typeof e=="boolean"?e:e&&Sp[e]?Sp[e]:"auto",Op=()=>R(["min-width:initial;width:100%;"]),ut=e=>`
|
|
176
|
+
`:"",fo,$t),jg=Object.keys(Da.icons).reduce((e,t)=>{const o=Da.icons[t];return e[t]={icon:o.path,multicolor:o.multicolor},o.iso&&(e[o.iso]={icon:o.path,multicolor:o.multicolor}),e},{});var Ud,Vd;function La(){return La=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},La.apply(null,arguments)}const L3=e=>P("svg",La({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Ud||(Ud=P("path",{d:"M4 4h2v2H4zm3 0h5v2H7zM4 7h2v2H4zm3 0h5v2H7z"})),Vd||(Vd=P("path",{fillRule:"evenodd",d:"M16 0v13h-5l3 3h-2.828L9 13.828V16H7v-2.172L4.828 16H2l3-3H0V0zm-2 11V2H2v9z",clipRule:"evenodd"})));var Gd;function _a(){return _a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},_a.apply(null,arguments)}const _3=e=>P("svg",_a({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 16"},e),Gd||(Gd=P("path",{d:"M3.275 2.11h-2.4v13.015h18.25V2.11h-2.4V.875H11.2c-.454 0-.871.163-1.2.433A1.9 1.9 0 0 0 8.8.875H3.275zm13.45 1.485h.95v10.044H2.325V3.595h.95v9.059H8.8c.258 0 .475.218.475.493v.125h1.45v-.125c0-.275.217-.493.475-.493h5.525zm-6-.743c0-.275.217-.493.475-.493h4.075v8.809H11.2q-.247 0-.475.061zm-6-.493H8.8c.258 0 .475.218.475.493v8.377a1.9 1.9 0 0 0-.475-.061H4.725z"})));var qd;function Ia(){return Ia=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ia.apply(null,arguments)}const I3=e=>P("svg",Ia({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),qd||(qd=P("path",{d:"M0 4V2h16v2zm0 5V7h16v2zm0 3v2h16v-2z"})));var Jd,Wd;function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Na.apply(null,arguments)}const N3=e=>P("svg",Na({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 21 20"},e),Jd||(Jd=P("path",{d:"M.8 19.8h19.4c.4 0 .7-.3.7-.7V2.4a.7.7 0 0 0-.8-.8h-3.7V1A.7.7 0 1 0 15 1v.5H6V1a.7.7 0 1 0-1.4 0v.5H.8a.7.7 0 0 0-.7.8V19c0 .5.4.8.8.8zM1.5 3h3v.5a.7.7 0 1 0 1.5 0V3h9v.5a.7.7 0 1 0 1.5 0V3h3v2h-18zm0 3.5h18v12h-18z"})),Wd||(Wd=P("path",{d:"M15.8 10H5.2a.7.7 0 0 0-.7.7c0 .4.3.8.7.8h10.6c.4 0 .7-.4.7-.8a.7.7 0 0 0-.7-.8zm-5.3 3.6H5.2a.7.7 0 0 0-.7.7c0 .5.3.8.7.8h5.3c.4 0 .7-.2.7-.7a.7.7 0 0 0-.7-.7z"})));var Yd;function ja(){return ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ja.apply(null,arguments)}const j3=e=>P("svg",ja({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Yd||(Yd=P("path",{d:"M13 2V0h-2v2H5V0H3v2H0v14h16V2zm1 12H2V6h12z"})));var Qd;function Xa(){return Xa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Xa.apply(null,arguments)}const X3=e=>P("svg",Xa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Qd||(Qd=P("path",{d:"M15 6V0H1v6H0v3h1v5h1v2h3v-2h6v2h3v-2h1V9h1V6zm-2 6H3v-1h10zm0-3H3V2h10zM5 3h6v2H5z"})));var Zd,Kd;function Fa(){return Fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Fa.apply(null,arguments)}const F3=e=>P("svg",Fa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Zd||(Zd=P("path",{d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6"})),Kd||(Kd=P("path",{d:"M9.8 4.8 8 6.6 6.2 4.8 4.8 6.2 6.6 8 4.8 9.8l1.4 1.4L8 9.4l1.8 1.8 1.4-1.4L9.4 8l1.8-1.8z"})));var $d;function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ua.apply(null,arguments)}const U3=e=>P("svg",Ua({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),$d||($d=P("path",{fillRule:"evenodd",d:"M0 2h1.236l3 11H13v-2H5.764l-.273-1h8.29l2-8H6v2h7.219l-1 4H4.945L2.763 0H-.001v2zm12 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2m-6-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"})));var ef;function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Va.apply(null,arguments)}const V3=e=>P("svg",Va({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),ef||(ef=P("path",{d:"M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0m4.293 6.293L9 11.586 6.707 9.293l-1.414 1.414L9 14.414l6.707-6.707z"})));var tf;function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ga.apply(null,arguments)}const G3=e=>P("svg",Ga({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 14"},e),tf||(tf=P("path",{d:"m4.13 5.67-.98.98L6.3 9.8l7-7-.98-.98L6.3 7.84zM12.6 7c0 3.08-2.52 5.6-5.6 5.6S1.4 10.08 1.4 7 3.92 1.4 7 1.4c.56 0 1.05.07 1.54.21L9.66.49C8.82.21 7.91 0 7 0 3.15 0 0 3.15 0 7s3.15 7 7 7 7-3.15 7-7z"})));var of;function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},qa.apply(null,arguments)}const q3=e=>P("svg",qa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 21 13"},e),of||(of=P("path",{d:"m10.109 10.604-7.74-8.297a1.42 1.42 0 0 1 0-1.911 1.2 1.2 0 0 1 1.783 0L11 7.738 17.848.396a1.2 1.2 0 0 1 1.783 0 1.42 1.42 0 0 1 0 1.911l-7.74 8.297a1.21 1.21 0 0 1-.89.396c-.323 0-.646-.132-.892-.396"})));var rf;function Ja(){return Ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ja.apply(null,arguments)}const J3=e=>P("svg",Ja({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 8 14"},e),rf||(rf=P("path",{d:"M8 12.13 6.607 13.5 0 7 6.607.5 8 1.87 2.786 7z"})));var nf;function Wa(){return Wa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Wa.apply(null,arguments)}const W3=e=>P("svg",Wa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 8 14"},e),nf||(nf=P("path",{d:"M0 1.87 1.393.5 8 7l-6.607 6.5L0 12.13 5.214 7z"})));var sf;function Ya(){return Ya=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ya.apply(null,arguments)}const Y3=e=>P("svg",Ya({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 21 13"},e),sf||(sf=P("path",{d:"m10.109 1.396-7.74 8.297a1.42 1.42 0 0 0 0 1.911c.493.528 1.29.528 1.783 0L11 4.262l6.848 7.342c.492.528 1.29.528 1.783 0a1.42 1.42 0 0 0 0-1.911l-7.74-8.297a1.21 1.21 0 0 0-.89-.396c-.323 0-.646.132-.892.396"})));var af;function Qa(){return Qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Qa.apply(null,arguments)}const Q3=e=>P("svg",Qa({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),af||(af=P("path",{d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6m-.6-6.2H5.2v2h4.2v-5h-2z"})));var lf;function Za(){return Za=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Za.apply(null,arguments)}const Z3=e=>P("svg",Za({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),lf||(lf=P("path",{d:"M10 20c5.5 0 10-4.5 10-10S15.5 0 10 0 0 4.5 0 10s4.5 10 10 10m0-15h2v8H6v-2h4z"})));var cf;function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ka.apply(null,arguments)}const K3=e=>P("svg",Ka({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),cf||(cf=P("path",{d:"M3 10a4 4 0 1 1 8 0 4 4 0 0 1-8 0m4-6a6 6 0 1 0 0 12A6 6 0 0 0 7 4m5.333 11.963A8 8 0 0 0 14 13.873a4.002 4.002 0 0 0 0-7.747 8 8 0 0 0-1.668-2.09 6 6 0 1 1 0 11.927Z",clipRule:"evenodd"})));var uf,df;function $a(){return $a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},$a.apply(null,arguments)}const $3=e=>P("svg",$a({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),uf||(uf=P("path",{d:"M5 2v2H3V0h13v13h-4v-2h2V2z"})),df||(df=P("path",{fillRule:"evenodd",d:"M13 3H0v13h13zM2 14V5h9v9z",clipRule:"evenodd"})));var ff;function el(){return el=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},el.apply(null,arguments)}const ey=e=>P("svg",el({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),ff||(ff=P("path",{d:"M16 0H0v16h16zM2 14V2h12v12zm4.4-8.3L10.3 8l-3.9 2.3z"})));var pf;function tl(){return tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},tl.apply(null,arguments)}const ty=e=>P("svg",tl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 18 18"},e),pf||(pf=P("path",{d:"M17.333.668a1.845 1.845 0 0 0-2.61 0L9 6.39 3.277.668a1.845 1.845 0 1 0-2.61 2.61L6.39 9.001.667 14.725a1.845 1.845 0 1 0 2.61 2.61L9 11.612l5.723 5.723c.36.36.832.54 1.305.54a1.845 1.845 0 0 0 1.305-3.151L11.61 9.003l5.723-5.724a1.845 1.845 0 0 0 0-2.61z"})));var hf;function ol(){return ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ol.apply(null,arguments)}const oy=e=>P("svg",ol({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 25 25"},e),hf||(hf=P("path",{d:"M3.66 3.664A12.42 12.42 0 0 1 12.5 0a12.42 12.42 0 0 1 8.841 3.664c4.556 4.554 4.886 11.83.828 16.761.56 1.146 1.22 1.91 1.969 2.277.455.225.712.717.639 1.22a1.16 1.16 0 0 1-.974.979 6 6 0 0 1-.886.068c-1.534 0-3.147-.53-4.493-1.456A12.5 12.5 0 0 1 12.501 25a12.42 12.42 0 0 1-8.84-3.659A12.41 12.41 0 0 1 0 12.505c0-3.334 1.299-6.48 3.66-8.84zm1.001 16.672a11.02 11.02 0 0 0 7.84 3.245c1.98 0 3.922-.528 5.614-1.523.11-.063.236-.1.356-.1.152 0 .31.053.435.147 1.602 1.24 3.215 1.424 3.922 1.44-.843-.628-1.55-1.602-2.142-2.958a.71.71 0 0 1 .12-.753c3.876-4.377 3.672-11.045-.465-15.18a11.02 11.02 0 0 0-7.84-3.246 11.02 11.02 0 0 0-7.84 3.245c-4.326 4.33-4.326 11.365 0 15.683m2.92-12.211h10.463c.392 0 .706.278.706.625s-.314.625-.706.625H7.58c-.392 0-.706-.278-.706-.625s.32-.625.706-.625zm0 3.875h10.463c.392 0 .706.278.706.625s-.314.625-.706.625H7.58c-.392 0-.706-.278-.706-.625S7.194 12 7.58 12zm0 4h10.463c.392 0 .706.278.706.625s-.314.625-.706.625H7.58c-.392 0-.706-.278-.706-.625S7.194 16 7.58 16z"})));var gf;function rl(){return rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},rl.apply(null,arguments)}const ry=e=>P("svg",rl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 11"},e),gf||(gf=P("path",{d:"M3.5.5h7.1l2.8 4.1L7 10.9.7 4.6zm1 2L3.3 4.4 7 8.1l3.7-3.7-1.2-1.9z"})));var mf;function nl(){return nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},nl.apply(null,arguments)}const ny=e=>P("svg",nl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 19 16"},e),mf||(mf=P("path",{d:"m0 6 3.8-6h11.4L19 6 9.5 16z"})));var bf;function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},il.apply(null,arguments)}const iy=e=>P("svg",il({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),bf||(bf=P("path",{d:"M.08 14.505 14.505.08l1.414 1.414L1.494 15.919zM3.2 6.4C5 6.4 6.4 5 6.4 3.2S5 0 3.2 0 0 1.4 0 3.2s1.4 3.2 3.2 3.2m0-4.4c.7 0 1.2.5 1.2 1.2s-.5 1.2-1.2 1.2S2 3.9 2 3.2 2.5 2 3.2 2m9.6 7.6c-1.8 0-3.2 1.4-3.2 3.2S11 16 12.8 16s3.2-1.4 3.2-3.2-1.4-3.2-3.2-3.2m0 4.4c-.7 0-1.2-.5-1.2-1.2s.5-1.2 1.2-1.2 1.2.5 1.2 1.2-.5 1.2-1.2 1.2"})));var vf,yf;function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},sl.apply(null,arguments)}const sy=e=>P("svg",sl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 17 17"},e),vf||(vf=P("path",{d:"M16 4.5 12.465.965 5.369 8.06l.025 3.51 3.51.026zM7.375 8.884l5.09-5.09.707.706-5.09 5.09-.702-.004z"})),yf||(yf=P("path",{d:"M13 15v-5h2v7H0V2h7v2H2v11z"})));var xf;function al(){return al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},al.apply(null,arguments)}const ay=e=>P("svg",al({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 11 7"},e),xf||(xf=P("path",{d:"m4.288 5.703.117.139c.393.393.973.441 1.302.112l.009-.009.123-.105.104-.122 4.015-4.015A1.002 1.002 0 0 0 8.534.297L5.122 3.709 1.703.29A.994.994 0 0 0 .294.295a.996.996 0 0 0-.005 1.409z"})));var wf;function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ll.apply(null,arguments)}const ly=e=>P("svg",ll({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),wf||(wf=P("path",{fillRule:"evenodd",d:"m11.5 0 4.243 4.243L4.243 16H0v-4.243zm0 3L2 12.586V14h1.414l9.5-9.586zM9 14v2h7v-2z",clipRule:"evenodd"})));var kf;function cl(){return cl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},cl.apply(null,arguments)}const cy=e=>P("svg",cl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),kf||(kf=P("path",{d:"M0 1v14h16V1zm14 2v1.2l-6 4-6-4V3zM2 13V6.6l6 4 6-4V13z"})));var Af,Sf;function ul(){return ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ul.apply(null,arguments)}const uy=e=>P("svg",ul({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Af||(Af=P("path",{fill:"none",d:"M0 0h16v16H0z"})),Sf||(Sf=P("path",{d:"M9 0v2h3.6L5.3 9.3l1.4 1.4L14 3.4V7h2V0zm5 14H2V2h4V0H0v16h16v-6h-2z"})));var Cf;function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},dl.apply(null,arguments)}const dy=e=>P("svg",dl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Cf||(Cf=P("path",{d:"M13 4V0H0v6h2v3H0v7h16V4zM2 2h9v2H2zm3 4v3H4V6zm6 8H2v-3h9zm3 0h-1v-3h1zm0-5H7V6h7z"})));var Of,Ef;function fl(){return fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},fl.apply(null,arguments)}const fy=e=>P("svg",fl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 26 16"},e),Of||(Of=P("path",{fill:"none",d:"M0 0h26v16H0z"})),Ef||(Ef=P("path",{d:"M20.8 4.6C18.6 2.4 16.1 0 13 0S7.4 2.4 5.2 4.6C3.3 6.4 1.7 8 0 8c1.7 0 3.3 1.6 5.2 3.4C7.4 13.6 9.9 16 13 16s5.6-2.4 7.8-4.6C22.7 9.6 24.3 8 26 8c-1.7 0-3.3-1.6-5.2-3.4M13 13.3c-2.9 0-5.2-2.4-5.2-5.3s2.3-5.3 5.2-5.3 5.2 2.4 5.2 5.3-2.3 5.3-5.2 5.3M14.3 8c-.7 0-1.3-.6-1.3-1.3 0-.5.3-1 .8-1.2-.2-.1-.5-.1-.8-.1-1.4 0-2.6 1.2-2.6 2.7s1.2 2.7 2.6 2.7 2.6-1.2 2.6-2.7c0-.3 0-.5-.1-.8-.2.4-.7.7-1.2.7"})));var Pf;function pl(){return pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},pl.apply(null,arguments)}const py=e=>P("svg",pl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 17 20"},e),Pf||(Pf=P("path",{d:"M16.734 5.931q-.264-.624-.636-.988L11.96.884Q11.59.521 10.953.26 10.316 0 9.786 0H1.298a1.24 1.24 0 0 0-.901.364 1.2 1.2 0 0 0-.372.885V18.73q0 .52.372.885.371.364.901.364h14.429q.53 0 .901-.364.372-.364.371-.885V7.076q0-.52-.265-1.145M10.21 1.77q.384.13.544.286l4.15 4.071q.16.156.292.534H10.21zm5.092 16.545H1.722V1.664h6.79v5.412q0 .52.372.884.371.365.901.365h5.517v9.989z"})));var Tf;function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},hl.apply(null,arguments)}const hy=e=>P("svg",hl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Tf||(Tf=P("path",{d:"M8.3 0H0v16h16V0zM8 2.5 10.5 5H8zM2 14V2h4v5h5v7zm12 0h-1V4.7L10.3 2H14z"})));var Rf;function gl(){return gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},gl.apply(null,arguments)}const gy=e=>P("svg",gl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 19"},e),Rf||(Rf=P("path",{fillRule:"evenodd",d:"M7 19c3.866 0 7-3.224 7-7.2C14 5.008 7.556 6 9.5 0 7.028.152 4 1 3 4.5c-.491 1.718.107 3.044.27 3.764s-.211 1.343-.761 1.233c-.548-.109-.762-.831-.548-2.247C.001 8.481.001 10.768.001 11.8c0 3.976 3.134 7.2 7 7.2z",clipRule:"evenodd"})));var Mf;function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ml.apply(null,arguments)}const my=e=>P("svg",ml({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Mf||(Mf=P("path",{d:"M16 9V7c0-3.9-3.1-7-7-7H7C3.1 0 0 3.1 0 7v9h5V9H2V7c0-2.8 2.2-5 5-5h2c2.8 0 5 2.2 5 5v2h-3v7h5zM3 11v3H2v-3zm11 3h-1v-3h1z"})));var zf,Hf;function bl(){return bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},bl.apply(null,arguments)}const by=e=>P("svg",bl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),zf||(zf=P("path",{fill:"none",d:"M0 0h16v16H0z"})),Hf||(Hf=P("path",{d:"M7 16v-5h2v5h6V5L8 0 1 5v11zm-2-2H3V6.03l5-3.572 5 3.571V14h-2V9H5z"})));var Bf;function vl(){return vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},vl.apply(null,arguments)}const vy=e=>P("svg",vl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),Bf||(Bf=P("path",{d:"M10.986 6.995V4.976H9.014v2.02h1.972zm0 8.029v-6.01H9.014v6.01zM10 0q2.74 0 5.072 1.37a9.5 9.5 0 0 1 3.558 3.558A9.84 9.84 0 0 1 20 10a9.84 9.84 0 0 1-1.37 5.072 9.5 9.5 0 0 1-3.558 3.558A9.84 9.84 0 0 1 10 20a9.84 9.84 0 0 1-5.072-1.37 9.66 9.66 0 0 1-3.558-3.582A9.8 9.8 0 0 1 0 10a9.8 9.8 0 0 1 1.37-5.048A9.84 9.84 0 0 1 4.952 1.37 9.8 9.8 0 0 1 10 0"})));var Df;function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},yl.apply(null,arguments)}const yy=e=>P("svg",yl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Df||(Df=P("path",{d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6M7 7h2v5H7zm0-3h2v2H7z"})));var Lf;function xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},xl.apply(null,arguments)}const xy=e=>P("svg",xl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 22 16"},e),Lf||(Lf=P("path",{d:"M21.8 8.4a1.8 1.8 0 0 0-.8-.8 2.4 2.4 0 0 0-1-.3h-2.3V5.5c0-.7-.3-1.3-.8-1.8a2.5 2.5 0 0 0-2-.8H9v-.4c0-.7-.2-1.3-.7-1.8A2.5 2.5 0 0 0 6.4 0H2.6C2 0 1.3.3.8.8S0 1.8 0 2.6v10.8c0 .7.3 1.3.8 1.8a2.5 2.5 0 0 0 1.8.8H15c.6 0 1 0 1.7-.4.6-.3 1-.6 1.3-1l3.4-4c.4-.6.6-1 .6-1.5a1.8 1.8 0 0 0-.2-.6zM1.5 2.6c0-.3 0-.6.3-.8.2-.2.5-.3.8-.3h3.7c.3 0 .5 0 .7.3.3.2.4.5.4.8v.7c0 .3 0 .5.3.8.2.3.5.4.8.4H15c.4 0 .7 0 1 .3l.2.8v1.8H7.4c-.6 0-1 0-1.6.4s-1 .6-1.4 1l-3 3.5V2.6zm18.8 7-3.4 4-1 .7-1 .2H2.7c-.4 0-.6 0-.6-.4l.2-.3 3.4-4c.2-.4.4-.6.8-.7.3-.2.7-.3 1-.3H20c.3 0 .5.2.5.4 0 .3 0 .4-.2.6z"})));var _f;function wl(){return wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},wl.apply(null,arguments)}const wy=e=>P("svg",wl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 12"},e),_f||(_f=P("path",{fillRule:"evenodd",d:"M2 0H0v2h2zm0 5H0v2h2zm-2 5h2v2H0zM16 0H4v2h12zM4 5h12v2H4zm12 5H4v2h12z",clipRule:"evenodd"})));var If;function kl(){return kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},kl.apply(null,arguments)}const ky=e=>P("svg",kl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 17 16"},e),If||(If=P("path",{fillRule:"evenodd",d:"m7.885 9-2.383 2.293 1.47 1.414L11.865 8 6.972 3.293l-1.47 1.414L7.885 7H0v2zm6.668 5H9.355v2h7.276V0H9.356v2h5.198z",clipRule:"evenodd"})));var Nf;function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Al.apply(null,arguments)}const Ay=e=>P("svg",Al({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Nf||(Nf=P("path",{fillRule:"evenodd",d:"m8.414 7 2.293-2.293-1.414-1.414L4.586 8l4.707 4.707 1.414-1.414L8.414 9H16V7zM2 2h5V0H0v16h7v-2H2z",clipRule:"evenodd"})));var jf;function Sl(){return Sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Sl.apply(null,arguments)}const Sy=e=>P("svg",Sl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),jf||(jf=P("path",{d:"M8.5 2C5.5 2 3 4.5 3 7.5c0 .8.2 1.5.4 2.2l.2.3-.8 3.1 2.9-.9.3.2c.7.4 1.6.6 2.5.6 3 0 5.5-2.5 5.5-5.5S11.5 2 8.5 2M1 7.5C1 3.4 4.4 0 8.5 0S16 3.4 16 7.5 12.6 15 8.5 15c-1.1 0-2.1-.2-3.1-.7L0 16l1.5-5.9C1.2 9.3 1 8.4 1 7.5"})));var Xf;function Cl(){return Cl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Cl.apply(null,arguments)}const Cy=e=>P("svg",Cl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Xf||(Xf=P("path",{fillRule:"evenodd",d:"M7 0H0v15h15V8h-2v5H2V2h5zm0 10.914 8.707-8.707L14.293.793 7 8.086 4.707 5.793 3.293 7.207z",clipRule:"evenodd"})));var Ff,Uf;function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ol.apply(null,arguments)}const Oy=e=>P("svg",Ol({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),Ff||(Ff=P("path",{d:"M0 0v20h20V0zm18 18H2V2h16z"})),Uf||(Uf=P("path",{d:"M15 5H5v2h10zM15 9H5v2h10zM15 13H5v2h10z"})));var Vf;function El(){return El=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},El.apply(null,arguments)}const Ey=e=>P("svg",El({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 19 19"},e),Vf||(Vf=P("path",{d:"M17.863 5.258 13.75 1.136l.283-.283a2.9 2.9 0 0 1 4.113.005 2.91 2.91 0 0 1 0 4.117zm-5.388-2.847 4.118 4.117L5.04 18.079 0 19l.92-5.038z"})));var Gf;function Pl(){return Pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Pl.apply(null,arguments)}const Py=e=>P("svg",Pl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),Gf||(Gf=P("path",{d:"M12 9h-.6c.4-.6.6-1.3.6-2V4c0-2.2-1.8-4-4-4S4 1.8 4 4v3c0 .7.2 1.4.6 2H4c-2.2 0-4 1.8-4 4v3h16v-3c0-2.2-1.8-4-4-4M6 7V4c0-1.1.9-2 2-2s2 .9 2 2v3c0 1.1-.9 2-2 2s-2-.9-2-2m8 7H2v-1c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2z"})));var qf;function Tl(){return Tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Tl.apply(null,arguments)}const Ty=e=>P("svg",Tl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),qf||(qf=P("path",{fillRule:"evenodd",d:"M10 2a8 8 0 0 1 8 8h2c0-5.523-4.477-10-10-10zm0 4a4 4 0 0 1 4 4h2a6 6 0 0 0-6-6zm2 7.75c.5-.625 1.25-.625 1.875 0 .25.25.486.5.722.75.472.5.944 1 1.528 1.5.625.625.625 1.375 0 2l-1.25 1.25c-.625.625-1.375.75-2.125.75a9.7 9.7 0 0 1-3.375-1C7 17.875 5 16.375 3.375 14.375 2.25 12.875 1.125 11.25.5 9.5.125 8.625 0 7.75 0 6.75q0-.75.75-1.5c.375-.375.875-.875 1.375-1.25.5-.625 1.25-.625 1.875 0 .375.25.75.625 1.125 1l.269.285c.25.273.484.529.856.715.625.625.625 1.375 0 2l-.481.51c-.291.319-.566.619-.894.865-.125.125-.125.25-.125.375.375.625.75 1.25 1.25 1.875 1 1.25 2 2.25 3.375 3.125.191.191.455.309.68.41l.195.09c.125 0 .25 0 .375-.125z",clipRule:"evenodd"})));var Jf;function Rl(){return Rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Rl.apply(null,arguments)}const Ry=e=>P("svg",Rl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 32 32"},e),Jf||(Jf=P("path",{d:"M25.28 19.815c-.655-.682-1.445-1.047-2.282-1.047-.83 0-1.627.358-2.309 1.04l-2.133 2.127-.52-.27a9 9 0 0 1-.669-.358c-1.998-1.27-3.814-2.923-5.556-5.064-.844-1.066-1.41-1.964-1.822-2.876.553-.506 1.066-1.032 1.566-1.539l.567-.574c1.418-1.417 1.418-3.254 0-4.671L10.279 4.74c-.21-.21-.425-.426-.628-.642a31 31 0 0 0-1.27-1.255c-.654-.649-1.437-.993-2.26-.993-.824 0-1.621.344-2.296.993l-.014.013-2.295 2.316A4.94 4.94 0 0 0 .051 8.31c-.162 1.971.419 3.808.864 5.01 1.094 2.95 2.728 5.684 5.165 8.614 2.957 3.53 6.514 6.319 10.579 8.283 1.552.736 3.625 1.607 5.94 1.755l.426.014c1.56 0 2.87-.56 3.895-1.674l.027-.034c.351-.425.756-.81 1.182-1.222.29-.277.587-.567.877-.87.669-.696 1.02-1.506 1.02-2.337 0-.837-.358-1.64-1.04-2.315l-3.706-3.72zm1.595 6.857c-.227.245-.46.465-.71.71-.377.36-.76.738-1.121 1.163-.588.628-1.28.924-2.187.924l-.267-.006c-1.727-.11-3.378-.572-4.581-1.148-1.565-.757-6.166-3.373-9.24-6.667-3.39-3.633-5.311-8.135-5.772-9.379a8.2 8.2 0 0 1-.51-3.704 2.67 2.67 0 0 1 .802-1.727l1.983-1.983c.285-.268.587-.413.884-.413.366 0 .663.22.849.407.372.349.71.692 1.064 1.058l.552.564L10.21 8.06c.616.616.616 1.186 0 1.802l-.5.5c-.489.5-1.206 1.178-1.712 1.631-.53.53-.436 1.018-.331 1.35.242.596 1.767 3.576 3.98 5.982 1.856 2.017 4.38 3.504 5.231 4.042.239.152.483.274.715.39.21.105.407.203.576.308l.07.04c.198.1.384.146.576.146.482 0 .785-.302.883-.401l2.241-2.2c.198-.198.512-.437.878-.437.361 0 .658.227.838.425l3.215 3.215c.6.593.6 1.204.006 1.82zM17.286 7.609a8.56 8.56 0 0 1 4.659 2.417 8.6 8.6 0 0 1 2.417 4.658.905.905 0 0 0 .897.756l.156-.013c.5-.081.83-.554.75-1.054a10.4 10.4 0 0 0-2.924-5.637 10.4 10.4 0 0 0-5.637-2.923.916.916 0 0 0-1.053.743.9.9 0 0 0 .735 1.053M31.95 14.11a17.13 17.13 0 0 0-4.814-9.283A17.13 17.13 0 0 0 17.854.014a.91.91 0 0 0-1.047.743c-.08.5.25.965.75 1.053 3.146.533 6.015 2.025 8.297 4.3a15.3 15.3 0 0 1 4.3 8.297c.074.446.46.756.898.756a.894.894 0 0 0 .898-1.053"})));var Wf;function Ml(){return Ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ml.apply(null,arguments)}const My=e=>P("svg",Ml({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 30 30"},e),Wf||(Wf=P("path",{d:"M28.197 7.501C24.024.328 14.783-2.129 7.557 2.012s-9.703 13.314-5.53 20.486c4.172 7.174 13.413 9.632 20.639 5.49 7.227-4.142 9.704-13.314 5.53-20.487zM21.155 25.39c-5.78 3.313-13.173 1.347-16.511-4.392C1.306 15.26 3.287 7.922 9.068 4.61 14.848 1.296 22.242 3.262 25.58 9c3.337 5.74 1.356 13.077-4.425 16.39m-.604-11L12.64 9.81c-.72-.418-1.302-.084-1.298.744l.04 9.091c.004.828.593 1.165 1.316.75l7.851-4.499c.722-.414.724-1.088.003-1.506z"})));var Yf;function zl(){return zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},zl.apply(null,arguments)}const zy=e=>P("svg",zl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 12"},e),Yf||(Yf=P("path",{d:"M7 6 5.463 4.683 2 1.714 0 0v12l2-1.714 3.463-2.969zM3.927 6 2 4.348v3.304zM14 0h2v12h-2zm-2 0h-2v12h2z"})));var Qf,Zf;function Hl(){return Hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Hl.apply(null,arguments)}const Hy=e=>P("svg",Hl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 18 19"},e),Qf||(Qf=P("rect",{width:18,height:3,y:8,rx:1.5})),Zf||(Zf=P("rect",{width:18,height:3,y:8,rx:1.5,transform:"rotate(90 9 9.5)"})));var Kf;function Bl(){return Bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Bl.apply(null,arguments)}const By=e=>P("svg",Bl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 14"},e),Kf||(Kf=P("path",{d:"M7.875 6.125H14v1.75H7.875V14h-1.75V7.875H0v-1.75h6.125V0h1.75z"})));function Dl(){return Dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Dl.apply(null,arguments)}const Dy=e=>P("svg",Dl({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fill:"currentcolor",viewBox:"0 0 16 18"},e),P("path",{d:"M6.1 4.4c-.4-.9-1-1.7-1.4-2.1-.3-.2-.7-.3-1-.3-.2 0-.4.1-.5.2-.2.2-.2.4-.2.7s.2.6.5.9c.5.3 1.4.8 2.3 1.1.2 0 .4.1.5.1 0-.2-.1-.4-.2-.6M6 .9c.7.6 1.5 1.7 2 2.8.5-1.1 1.3-2.2 2-2.8 1.4-1.2 3.4-1.1 4.4.1 1 1.1.8 2.9-.3 4.1H16v6h-1v7H1v-7H0V5h1.9C.8 3.8.7 2.1 1.6.9 2.7-.3 4.7-.3 6 .9m3.9 3.5c.4-.9 1-1.7 1.4-2.1.3-.2.7-.3 1-.3s.5.1.6.2c.1.2.1.4.1.7s-.2.6-.5.9c-.4.4-1.3.8-2.3 1.1-.2 0-.4.1-.5.1 0-.2.1-.4.2-.6M14 7H2v2h12zM3 11h10v5H3z",style:{fillRule:"evenodd",clipRule:"evenodd"}}));var $f;function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ll.apply(null,arguments)}const Ly=e=>P("svg",Ll({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),$f||($f=P("path",{d:"M8.4 0H16v7.6l-.3.3-.2.2c1 2.4.4 5.1-1.3 6.4-1.3 1-2.7 1.2-3.9 1-.6-.1-1.1-.3-1.6-.7l-.4.4-.7.8-.7-.7L.7 9.1 0 8.4l.7-.7L8.1.3zm2.4 4.2c1.3.4 2.4 1 3.2 1.8V2H9.2L2.8 8.4l4.8 4.8L13 7.8c-.5-.6-1.2-1.1-2.2-1.5v.9h-1V3.1h1zm2.2 8.7c.7-.5 1.2-1.8.9-3.2l-3.7 3.7c.1.1.3.1.5.2.7.1 1.5 0 2.3-.7"})));var ep;function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},_l.apply(null,arguments)}const _y=e=>P("svg",_l({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),ep||(ep=P("path",{d:"M13 4V0H3v4H0v9h3v3h10v-3h3V4zM5 2h6v2H5zm6 12H5v-3h6zm3-3h-1V9H3v2H2V6h12zM3.8 8.6a.8.8 0 1 0 0-1.6.8.8 0 0 0 0 1.6"})));var tp;function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Il.apply(null,arguments)}const Iy=e=>P("svg",Il({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),tp||(tp=P("path",{d:"M14 3.2h-2V0H4v3.2H0V16h16V3.2zM6 2h4v.8H6zm8 12H2v-4h5v1.2h2V10h5zm0-6H2V5.2h12z"})));var op,rp;function Nl(){return Nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Nl.apply(null,arguments)}const Ny=e=>P("svg",Nl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),op||(op=P("path",{fill:"none",d:"M0 0h20v20H0z"})),rp||(rp=P("path",{d:"M17.1 2.9C15.2 1.1 12.7 0 10 0 4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10c0-2.7-1.1-5.2-2.9-7.1M11 15H9v-2h2zm.5-4.5c-.3.2-.6.6-.5.9v.1H9v-.1c0-1.1.6-2.2 1.7-2.7.5-.2.8-.8.8-1.3 0-.8-.7-1.4-1.5-1.4s-1.5.6-1.5 1.4h-2C6.5 5.5 8.1 4 10 4s3.5 1.5 3.5 3.4c0 1.3-.8 2.5-2 3.1"})));var np;function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},jl.apply(null,arguments)}const jy=e=>P("svg",jl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),np||(np=P("path",{d:"M10 5c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5m0-5C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0m0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8"})));var ip;function Xl(){return Xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Xl.apply(null,arguments)}const Xy=e=>P("svg",Xl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 20 20"},e),ip||(ip=P("path",{d:"M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0m0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8"})));var sp;function Fl(){return Fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Fl.apply(null,arguments)}const Fy=e=>P("svg",Fl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 19 20"},e),sp||(sp=P("path",{d:"M1.638 8.346c.653 0 1.243-.386 1.495-.978a6.9 6.9 0 0 1 6.351-4.164c1.575 0 3.019.53 4.176 1.412l-.907.138a.7.7 0 0 0-.593.594.694.694 0 0 0 .411.729l4.99 2.208a.72.72 0 0 0 .673-.05.7.7 0 0 0 .325-.582l.026-5.408a.7.7 0 0 0-.501-.669.71.71 0 0 0-.796.28L16.6 2.873A10.2 10.2 0 0 0 9.484 0C5.284 0 1.672 2.523.132 6.109a1.59 1.59 0 0 0 .143 1.516c.303.45.815.72 1.363.72zm17.055 3.998a1.64 1.64 0 0 0-1.364-.721 1.62 1.62 0 0 0-1.494.977 6.9 6.9 0 0 1-6.351 4.165 6.87 6.87 0 0 1-4.176-1.412l.907-.138a.7.7 0 0 0 .593-.595.694.694 0 0 0-.411-.728l-4.99-2.208a.72.72 0 0 0-.673.05.7.7 0 0 0-.325.582l-.026 5.407a.7.7 0 0 0 .501.67c.3.09.623-.025.796-.28l.688-1.017a10.2 10.2 0 0 0 7.116 2.872c4.2 0 7.812-2.523 9.352-6.109a1.59 1.59 0 0 0-.143-1.515"})));var ap;function Ul(){return Ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ul.apply(null,arguments)}const Uy=e=>P("svg",Ul({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 29 30"},e),ap||(ap=P("path",{d:"m28.6 27.3-7-7.4a12.2 12.2 0 0 0 2.7-8c0-6.6-5.3-12-12-12C6 0 .6 5.4.6 12c0 6.8 5.4 12.2 12 12.2 2.4 0 4.7-.7 6.7-2.2l7 7.5a1.5 1.5 0 0 0 2.3 0 1.6 1.6 0 0 0 0-2.2m-16.2-24c5 0 8.8 4 8.8 8.8 0 5-4 9-8.8 9s-8.8-4-8.8-9c0-4.8 4-8.8 8.8-8.8"})));var lp;function Vl(){return Vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Vl.apply(null,arguments)}const Vy=e=>P("svg",Vl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),lp||(lp=P("path",{d:"m14.4 7.8 1.4-1.7-1.9-3.8-2.4.6-.8-.5-.5-2.4H5.6L5 2.4l-.8.5-2.3-.6L.1 6.1l1.3 1.7V9L.1 11 2 14l2.3-.7.7.4.6 2.3h4.6l.6-2.3.7-.4 2.3.7 2-3-1.4-2c.1 0 .1-1.2 0-1.2m-.8 3.3-.4.6-1.7-.5-2.3 1.2-.5 1.6H7.2l-.4-1.7-2.3-1.2-1.7.5-.3-.6 1-1.4V7.2l-1-1.3.5-1.2 1.6.4 2.2-1.5.4-1.6h1.4L9 3.6l2.2 1.5 1.7-.4.6 1.2-1 1.3v2.5zM7.9 5c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.2-3-3-3m0 4c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.3 1-1 1"})));var cp;function Gl(){return Gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Gl.apply(null,arguments)}const Gy=e=>P("svg",Gl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),cp||(cp=P("path",{d:"M8 6.53 14.53 0 16 1.47 9.47 8 16 14.53 14.53 16 8 9.47 1.47 16 0 14.53 6.53 8 0 1.47 1.47 0z"})));var up;function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ql.apply(null,arguments)}const qy=e=>P("svg",ql({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 14 12"},e),up||(up=P("path",{fillRule:"evenodd",d:"M0 2.5V.75h14V2.5zm0 4.375v-1.75h10.5v1.75zM0 9.5v1.75h7V9.5z",clipRule:"evenodd"})));var dp;function Jl(){return Jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Jl.apply(null,arguments)}const Jy=e=>P("svg",Jl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),dp||(dp=P("path",{d:"M14.7 5.5H11L8.9.8C8.6.1 7.5.1 7.2.8L5 5.5H1.3c-.8 0-1.3 1-.7 1.6l2.8 2.7-.7 4.8c-.1.8.8 1.4 1.5.9L8 12.7l3.8 2.9c.7.5 1.6-.1 1.5-.9l-.7-4.8 2.8-2.7c.6-.7.2-1.7-.7-1.7m-4.3 3.6.5 3.3L8 10.2l-2.9 2.2.5-3.3-1.7-1.6h2.4L8 3.8l1.7 3.7h2.4z"})));var fp;function Wl(){return Wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Wl.apply(null,arguments)}const Wy=e=>P("svg",Wl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 25 17"},e),fp||(fp=P("path",{d:"m24.051 6.289.254-.114-.254-.114L12.536.886l-.051-.023-.051.023L.949 6.061l-.253.114.253.114 5.363 2.416v3.516c0 1.168.729 2.202 2.01 2.923 1.129.635 2.608.981 4.164.981s3.035-.346 4.164-.981c1.281-.72 2.01-1.755 2.01-2.923V8.712l2.659-1.195 1.344-.604zm-11.617 5.175.051.023.051-.023 4.529-2.035v2.792c0 .228-.107.475-.325.723s-.54.489-.949.701c-.82.423-1.976.718-3.305.718s-2.485-.296-3.305-.718c-.41-.211-.732-.453-.95-.701s-.325-.496-.325-.723V9.424zm.052-1.879-7.568-3.41 7.568-3.41 7.587 3.41z"})));var pp;function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Yl.apply(null,arguments)}const Yy=e=>P("svg",Yl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),pp||(pp=P("path",{d:"M8 14c3.3 0 6-2.7 6-6 0-.9-.2-1.8-.6-2.6l-1.2.9c.2.5.3 1.1.3 1.7 0 2.5-2 4.5-4.5 4.5s-4.5-2-4.5-4.5 2-4.5 4.5-4.5c1.1 0 2.2.4 3 1.1l1.2-.9C11.1 2.7 9.7 2 8 2 4.7 2 2 4.7 2 8s2.7 6 6 6m1.3-8.1c-.4-.3-.8-.4-1.3-.4-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5c0-.2 0-.4-.1-.5L8.6 8.8c-.5.3-1.1.2-1.4-.2-.3-.5-.2-1.1.2-1.4zM15 4.2c.6 1.1 1 2.4 1 3.8 0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8c2.3 0 4.4 1 5.9 2.6l.5-.4c.4-.3 1.1-.2 1.4.2s.2 1.1-.2 1.4z"})));var hp,gp;function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ql.apply(null,arguments)}const Qy=e=>P("svg",Ql({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 18 20"},e),hp||(hp=P("path",{d:"M17.2 2H13V.8c0-.4-.3-.7-.7-.7H5.8c-.5 0-.8.3-.8.7v4c0 .3.3.6.8.6h4.8c.4 0 .7-.3.7-.7S11 4 10.6 4h-4V1.4h5V3c0 .3.2.6.7.6h4v15H1.7v-15h1.2c.4 0 .8-.3.8-.7 0-.5-.4-1-.8-1h-2C.4 2 0 2.6 0 3v16.3c0 .4.4.7.8.7h16.4c.4 0 .8-.3.8-.8V3c0-.5-.4-1-.8-1"})),gp||(gp=P("path",{d:"M12.6 9a.8.8 0 0 0-1 0l-3.7 3.3L6.4 11a.8.8 0 0 0-1 0 .7.7 0 0 0 0 1l1.8 1.8c.2.2.4.2.6.2 0 0 .3 0 .4-.2l4.2-4a.7.7 0 0 0 0-1z"})));var mp;function Zl(){return Zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zl.apply(null,arguments)}const Zy=e=>P("svg",Zl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),mp||(mp=P("path",{d:"M13 0H0v16h16V0zM7 2h1v1l-.5-.2L7 3zm4 12H2V2h3v4l2.5-1L10 6V2h1zm3 0h-1V2h1z"})));var bp;function Kl(){return Kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Kl.apply(null,arguments)}const Ky=e=>P("svg",Kl({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 26 26"},e),bp||(bp=P("path",{d:"M10.7 12.8 1 22.4c-.5.6-.5 1.6 0 2.2.8.6 1.7.6 2.3 0L13 15l9.5 9.6c.6.6 1.6.6 2.2 0s.6-1.6 0-2.2L15 12.8l9.6-9.5c.6-.6.6-1.6 0-2.2-.6-.5-1.6-.5-2.2 0L13 10.7 3.3 1C2.8.6 1.8.6 1.2 1c-.6.7-.6 1.7 0 2.3z"})));var vp;function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},$l.apply(null,arguments)}const $y=e=>P("svg",$l({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),vp||(vp=P("path",{d:"M14 0H0v3c0 1.9 1.3 3.4 3 3.9V7c0 2.4 1.7 4.4 4 4.9V14H3v2h10v-2H9v-2.1c2.3-.5 4-2.5 4-4.9v-.1c1.7-.4 3-2 3-3.9V0zM3 4.7c-.6-.3-1-1-1-1.7V2h1zm8 .3v2c0 1.7-1.3 3-3 3S5 8.7 5 7V2h6zm3-2c0 .7-.4 1.4-1 1.7V2h1z"})));var yp;function ec(){return ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ec.apply(null,arguments)}const ex=e=>P("svg",ec({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 12 12"},e),yp||(yp=P("path",{fillRule:"evenodd",d:"M0 2V0h8v2zm0 3v2h12V5zm0 5v2h10v-2z",clipRule:"evenodd"})));var xp;function tc(){return tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},tc.apply(null,arguments)}const tx=e=>P("svg",tc({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 12"},e),xp||(xp=P("path",{d:"M2 2h7v8H2zM0 0h11v12H0V0m11 6 1.6-1.28L14 3.6 16 2v8l-2-1.6-1.4-1.12z"})));var wp,kp;function oc(){return oc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},oc.apply(null,arguments)}const ox=e=>P("svg",oc({xmlns:"http://www.w3.org/2000/svg",fill:"currentcolor",viewBox:"0 0 16 16"},e),wp||(wp=P("path",{d:"M11 4V0H3C1.3 0 0 1.3 0 3v13h16V4zM3 2h6v2H3c-.6 0-1-.4-1-1s.4-1 1-1m11 12H2V5.8c.1 0 .2 0 .3.1h.2c.1.1.3.1.5.1h11z"})),kp||(kp=P("circle",{cx:11,cy:10,r:1}))),Xg={blackBoard:{icon:u(L3,{}),multicolor:!1},book:{icon:u(_3,{}),multicolor:!1},burger:{icon:u(I3,{}),multicolor:!1},calendar:{icon:u(N3,{}),multicolor:!1},calendar_simple:{icon:u(j3,{}),multicolor:!1},camps:{icon:u(X3,{}),multicolor:!1},cancel:{icon:u(F3,{}),multicolor:!1},cart:{icon:u(U3,{}),multicolor:!1},check:{icon:u(V3,{}),multicolor:!1},checkCircle:{icon:u(G3,{}),multicolor:!1},chevronDown:{icon:u(q3,{}),multicolor:!1},chevronLeft:{icon:u(J3,{}),multicolor:!1},chevronRight:{icon:u(W3,{}),multicolor:!1},chevronUp:{icon:u(Y3,{}),multicolor:!1},clock:{icon:u(Q3,{}),multicolor:!1},clockFilled:{icon:u(Z3,{}),multicolor:!1},coins:{icon:u(K3,{}),multicolor:!1},copy:{icon:u($3,{}),multicolor:!1},courses:{icon:u(ey,{}),multicolor:!1},cross:{icon:u(ty,{}),multicolor:!1},dialog:{icon:u(oy,{}),multicolor:!1},diamond:{icon:u(ry,{}),multicolor:!1},diamondFilled:{icon:u(ny,{}),multicolor:!1},discount:{icon:u(iy,{}),multicolor:!1},document:{icon:u(sy,{}),multicolor:!1},dropDownArrow:{icon:u(ay,{}),multicolor:!1},edit:{icon:u(ly,{}),multicolor:!1},email:{icon:u(cy,{}),multicolor:!1},externalLink:{icon:u(uy,{}),multicolor:!1},externat:{icon:u(dy,{}),multicolor:!1},eye:{icon:u(fy,{}),multicolor:!1},file:{icon:u(py,{}),multicolor:!1},fileBordered:{icon:u(hy,{}),multicolor:!1},fire:{icon:u(gy,{}),multicolor:!1},headphones:{icon:u(my,{}),multicolor:!1},home:{icon:u(by,{}),multicolor:!1},info:{icon:u(vy,{}),multicolor:!1},infoInverse:{icon:u(yy,{}),multicolor:!1},lessons:{icon:u(xy,{}),multicolor:!1},list:{icon:u(wy,{}),multicolor:!1},login:{icon:u(ky,{}),multicolor:!1},logout:{icon:u(Ay,{}),multicolor:!1},message:{icon:u(Sy,{}),multicolor:!1},objective:{icon:u(Cy,{}),multicolor:!1},page:{icon:u(Oy,{}),multicolor:!1},pencil:{icon:u(Ey,{}),multicolor:!1},person:{icon:u(Py,{}),multicolor:!1},phone:{icon:u(Ty,{}),multicolor:!1},phoneNoFill:{icon:u(Ry,{}),multicolor:!1},play:{icon:u(My,{}),multicolor:!1},playPause:{icon:u(zy,{}),multicolor:!1},plus:{icon:u(Hy,{}),multicolor:!1},plusThin:{icon:u(By,{}),multicolor:!1},present:{icon:u(Dy,{}),multicolor:!1},priceTag:{icon:u(Ly,{}),multicolor:!1},print:{icon:u(_y,{}),multicolor:!1},prof:{icon:u(Iy,{}),multicolor:!1},questionFilled:{icon:u(Ny,{}),multicolor:!1},radioChecked:{icon:u(jy,{}),multicolor:!1},radioNotChecked:{icon:u(Xy,{}),multicolor:!1},reload:{icon:u(Fy,{}),multicolor:!1},search:{icon:u(Uy,{}),multicolor:!1},settings:{icon:u(Vy,{}),multicolor:!1},sharpCross:{icon:u(Gy,{}),multicolor:!1},sort:{icon:u(qy,{}),multicolor:!1},star:{icon:u(Jy,{}),multicolor:!1},student:{icon:u(Wy,{}),multicolor:!1},target:{icon:u(Yy,{}),multicolor:!1},tasks:{icon:u(Qy,{}),multicolor:!1},textbook:{icon:u(Zy,{}),multicolor:!1},tinyCross:{icon:u(Ky,{}),multicolor:!1},trophy:{icon:u($y,{}),multicolor:!1},unsort:{icon:u(ex,{}),multicolor:!1},video:{icon:u(tx,{}),multicolor:!1},wallet:{icon:u(ox,{}),multicolor:!1}},rx={...Xg,...jg},nx={...jg,...Xg},_e=On(vt((e,t)=>{var d;const{size:o="inherit",name:r,icon:n,...i}=e,s=Oo(),a=Sr("Icon",i.className);if(n)return u(Bs,{...i,size:o,className:a,ref:t,children:n});const l=i.preset==="brand"?rx:nx,c=r&&l[r]?l[r]:{};if(Co(c.icon))return u(Bs,{...i,size:o,className:a,ref:t,children:c.icon});if(typeof c.icon=="string"){const g=(d=s.iconsAssetHost)!=null?d:Da.__meta__.iconsAssetHost,f=g?`${g}${g.endsWith("/")?"":"/"}${c.icon}`:c.icon;return u(Bs,{...i,url:f,multicolor:c.multicolor,size:o,className:a,ref:t})}return null}),{displayName:"Icon",sizes:B3}),ix=ns((e,t)=>{var S;const o=Oo(),r=is(e,{componentName:"Anchor",sizes:T3}),{component:n,size:i="inherit",autoRel:s=!0,textProps:a={},iconProps:l={},leftIconProps:c={},rightIconProps:d={},icon:g,children:f,content:b,...v}=r,p=Sr("Anchor",v.className),h=(S=o.utils)==null?void 0:S.relBuilder,[m,y]=Array.isArray(g)?g:[g],C={as:"span",size:"inherit",color:"inherit",underline:v.underline,marginLeft:m?"0.20em":void 0,marginRight:y?"0.20em":void 0},A={as:"span",color:"inherit"};return u(M3,{...v,ref:t,as:(()=>{let M="a";return v.to&&(M=o.link),v.pseudo&&(M="div"),v.disabled&&(M="span"),v.as&&(M=v.as),n&&(M=n),M})(),className:p,size:i,rel:(()=>{var H;if(!ro(v.rel))return v.rel;const M=(H=v.href)!=null?H:v.to;if(s&&h&&typeof M=="string"){const I=v.target;if(typeof I=="string"||I===void 0)return h(M,I)}})(),"data-disabled":v.disabled,children:typeof f=="function"?f({baseTextProps:C,textProps:a,iconBaseProps:A,iconProps:l,icon:g}):v.preset==="brand"?u(ue,{children:[m?u(_e,{name:typeof m=="string"?m:void 0,icon:typeof m!="string"?m:void 0,...A,...l,...c}):null,u(xe,{...C,...a,children:f||b}),y?u(_e,{name:typeof y=="string"?y:void 0,icon:typeof y!="string"?y:void 0,...A,...l,...d}):null]}):f||b})});class Fg extends It{constructor(o){super(o);Ae(this,"getContent",o=>{const{content:r,chars:n=0}=this.props;if(!r)return"";let{isEllipsed:i}=this.state,s=typeof r=="string"?"":[];if(this.state.isUnFolded)s=r;else if(typeof s=="string")i=n!==0&&r.length>n,s=i&&n!==0?`${r.slice(0,n)}...`:r;else{let a=n;for(let l=0;l<r.length;l++){if(!(a-r[l].length>0)){i=!0,s[l]=`${r[l].slice(0,a)}...`;break}a-=r[l].length,s[l]=r[l]}}return this.state.isEllipsed!==i&&setTimeout(()=>this.setState({isEllipsed:i})),typeof s=="string"?u(xe,{...o,children:this.getQuted(s)}):u(E3,{children:s.map((a,l)=>u(P3,{children:u(xe,{...o,display:"inline",children:a})},l))})});Ae(this,"getQuted",o=>this.props.quoted?`«${o}»`:o);Ae(this,"toggle",()=>{this.setState({isUnFolded:!this.state.isUnFolded})});this.state={isUnFolded:!1,isEllipsed:!1}}componentDidUpdate({content:o}){o!==this.props.content&&this.state.isUnFolded&&this.toggle()}render(){const{className:o="",style:r,moreText:n="Читать полностью",lessText:i="Свернуть",showToggler:s=!0,...a}=this.props,{isUnFolded:l,isEllipsed:c}=this.state;return u("div",{className:o,style:r,children:[this.getContent(a),s&&c?u(Lt,{marginTop:16,marginBottom:1,children:u(ix,{pseudo:!0,onClick:this.toggle,children:l?i:n})}):null]})}}Ae(Fg,"displayName","Text.Ellipse");function Ds(e){return!!e||typeof e=="boolean"||typeof e=="number"||typeof e=="string"}function sx(e,t){return Ut(()=>{const o=e!=null?e:{},r=t!=null?t:{};return[...new Set([...Object.keys(o),...Object.keys(r)])].reduce((n,i)=>{let s;return Ds(o[i])&&(s=o[i]),Ds(r[i])&&(s=r[i]),Ds(s)?{...n,[i]:s}:n},{})},[e,t])}const ax={h1:{size:44,sizeM:32,lineHeight:"s",weight:"bold"},h2:{size:32,sizeM:28,lineHeight:"s",weight:"bold"},h3:{size:28,lineHeight:"s",weight:"bold"},h4:{size:24,lineHeight:"s",weight:"bold"}},Ug=e=>{var i;const t=Oo(),{h:o="h1",fontFamily:r,...n}=sx((i=t.components)==null?void 0:i["Text.Heading"],e);return u(xe,{as:o,fontFamily:r,...ax[o],...n})};Ug.displayName="Text.Heading";const xe=Object.assign(On(vt((e,t)=>{const o=e.appearance?{...S3[e.appearance],...e}:e,{size:r="m",weight:n="normal",lineHeight:i="m",fontStyle:s="normal",className:a,content:l,children:c,ellipsis:d,expandButtonProps:g,onExpandedChange:f,...b}=o,v=typeof d=="object"&&d!==null?d:{},p=Sr("Text",a);return u(y3,{...b,size:r,weight:n,lineHeight:i,fontStyle:s,className:p,ellipsis:d,ref:t,children:d?u(A3,{...v,underline:b.underline,expandButtonProps:g,onExpandedChange:f,children:c!=null?c:l}):c!=null?c:l})}),{displayName:"Text",sizes:e=>{var t;return typeof e.appearance=="string"&&(t=C3[e.appearance])!=null?t:Fd}}),{Heading:Ug,Ellipse:Fg}),Ap=(e,t)=>Co(e)?e:typeof e=="function"?e(t):typeof e=="string"||typeof e=="number"?u(xe,{...t,children:e}):null,jt=({render:e,fallback:t,props:o={}})=>{var r;return u(ue,{children:(r=Ap(e,o))!=null?r:Ap(t,o)})},xt={xxl:{"--icon-button-height":"40px",width:40,height:"var(--icon-button-height)",fontSize:24},xl:{"--icon-button-height":"32px",width:32,height:"var(--icon-button-height)",fontSize:24},l:{"--icon-button-height":"28px",width:28,height:"var(--icon-button-height)",fontSize:20},m:{"--icon-button-height":"24px",width:24,height:"var(--icon-button-height)",fontSize:16},s:{"--icon-button-height":"20px",width:20,height:"var(--icon-button-height)",fontSize:16},xs:{"--icon-button-height":"18px",width:18,height:"var(--icon-button-height)",fontSize:14},xxs:{"--icon-button-height":"16px",width:16,height:"var(--icon-button-height)",fontSize:12}},lx={xxl:{...xt.xxl,borderRadius:"50%"},xl:{...xt.xl,borderRadius:"50%"},l:{...xt.l,borderRadius:"50%"},m:{...xt.m,borderRadius:"50%"},s:{...xt.s,borderRadius:"50%"},xs:{...xt.xs,borderRadius:"50%"},xxs:{...xt.xxs,borderRadius:"50%"}},cx={xxl:{...xt.xxl,borderRadius:"calc(var(--icon-button-height) * 0.2)"},xl:{...xt.xl,borderRadius:"calc(var(--icon-button-height) * 0.2)"},l:{...xt.l,borderRadius:"calc(var(--icon-button-height) * 0.2)"},m:{...xt.m,borderRadius:"calc(var(--icon-button-height) * 0.2)"},s:{...xt.s,borderRadius:"calc(var(--icon-button-height) * 0.2)"},xs:{...xt.xs,borderRadius:"calc(var(--icon-button-height) * 0.2)"},xxs:{...xt.xxs,borderRadius:"calc(var(--icon-button-height) * 0.2)"}},ux={xxxl:{height:64,paddingLeft:36,paddingRight:36,"--gap":"10px"},xxl:{height:60,paddingLeft:34,paddingRight:34,"--gap":"10px"},xl:{height:56,paddingLeft:32,paddingRight:32,"--gap":"8px"},l:{height:48,paddingLeft:28,paddingRight:28,"--gap":"8px"},m:{height:44,paddingLeft:28,paddingRight:28,"--gap":"6px"},s:{height:40,paddingLeft:24,paddingRight:24,"--gap":"6px"},xs:{height:32,paddingLeft:16,paddingRight:16,"--gap":"4px"},xxs:{height:28,paddingLeft:14,paddingRight:14,"--gap":"4px"},xxxs:{height:24,paddingLeft:12,paddingRight:12,"--gap":"2px"}},dx={xxxl:{height:64,width:64,"--gap":"10px"},xxl:{height:60,width:60,"--gap":"10px"},xl:{height:56,width:56,"--gap":"8px"},l:{height:48,width:48,"--gap":"8px"},m:{height:44,width:44,"--gap":"6px"},s:{height:40,width:40,"--gap":"6px"},xs:{height:32,width:32,"--gap":"4px"},xxs:{height:28,width:28,"--gap":"4px"},xxxs:{height:24,width:24,"--gap":"2px"}},fx={xxxl:{fontSize:28},xxl:{fontSize:28},xl:{fontSize:24},l:{fontSize:24},m:{fontSize:20},s:{fontSize:20},xs:{fontSize:20},xxs:{fontSize:18},xxxs:{fontSize:16}},px={xxxl:{fontSize:22},xxl:{fontSize:20},xl:{fontSize:18},l:{fontSize:18},m:{fontSize:16},s:{fontSize:16},xs:{fontSize:14},xxs:{fontSize:12},xxxs:{fontSize:10}};function hx(e,t){var n,i;const o=(n=e.utils)==null?void 0:n.relBuilder;let r;return t.href&&(r=t.rel,!r&&o&&t.autoRel&&(t.href||t.to)&&(r=o((i=t.href)!=null?i:t.to,t.target))),r}function gx(e,t){let o={};return e===void 0||t.disabled||(e==="a"?o={href:t.href||t.to,target:t.target}:typeof e!="string"&&(o={to:t.to||t.href})),o}const mx={xxxl:{height:78,paddingLeft:44,paddingRight:44,"--gap":"0.25em"},xxl:{height:72,paddingLeft:40,paddingRight:40,"--gap":"0.25em"},xl:{height:68,paddingLeft:40,paddingRight:40,"--gap":"0.25em"},l:{height:60,paddingLeft:36,paddingRight:36,"--gap":"0.25em"},m:{height:52,paddingLeft:32,paddingRight:32,"--gap":"0.25em"},s:{height:40,paddingLeft:28,paddingRight:28,"--gap":"0.25em"},xs:{height:40,paddingLeft:28,paddingRight:28,"--gap":"0.25em"},xxs:{height:32,paddingLeft:18,paddingRight:18,"--gap":"0.25em"},xxxs:{height:28,paddingLeft:12,paddingRight:12,"--gap":"0.25em"}},bx={xxxl:{lineHeight:1,padding:"0.28em",width:72,height:72,"--gap":"0.25em"},xxl:{lineHeight:1,padding:"0.28em",width:68,height:68,"--gap":"0.25em"},xl:{lineHeight:1,padding:"0.28em",width:60,height:60,"--gap":"0.25em"},l:{lineHeight:1,padding:"0.28em",width:52,height:52,"--gap":"0.25em"},m:{lineHeight:1,padding:"0.28em",width:48,height:48,"--gap":"0.25em"},s:{lineHeight:1,padding:"0.28em",width:40,height:40,"--gap":"0.25em"},xs:{lineHeight:1,padding:"0.28em",width:32,height:32,"--gap":"0.25em"},xxs:{lineHeight:1,padding:"0.28em",width:24,height:24,"--gap":"0.25em"},xxxs:{lineHeight:1,padding:"0.28em",width:18,height:18,"--gap":"0.25em"}},vx={xxxl:{fontSize:24},xxl:{fontSize:22},xl:{fontSize:20},l:{fontSize:18},m:{fontSize:16},s:{fontSize:14},xs:{fontSize:14},xxs:{fontSize:12},xxxs:{fontSize:10}},yx={xl:{paddingLeftM:36,paddingRightM:36,paddingLeftS:32,paddingRightS:32},l:{fontSizeM:"m",heightM:56,heightS:52,paddingLeftM:28,paddingRightM:28,paddingLeftS:24,paddingRightS:24},m:{paddingLeftM:24,paddingRightM:24,paddingLeftS:20,paddingRightS:20},s:{paddingLeftM:20,paddingRightM:20,paddingLeftS:16,paddingRightS:16},xs:{paddingLeftM:20,paddingRightM:20,paddingLeftS:16,paddingRightS:16}},xx=Kt(e=>!["fluid","width","display","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","fontSize","height","inline","round","success","loading","black","danger","onColored","clear","base","outline","autoRel","noSpacing","primary","secondary","inverted","rounded","basic"].includes(e),e=>!(Xv.test(e)||Fv.test(e)||Uv.test(e)||Vv.test(e)||Gv.test(e))),Sp={xl:320,l:280,m:245,s:180,xs:140},wx=Qo(["0%{background-position:0 0;}100%{background-position:50px 50px;}"]),kx=Qo(["100%{transform:rotate(360deg);}"]),Ax=R(["background-image:linear-gradient( -45deg,rgba(255,255,255,0.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.2) 50%,rgba(255,255,255,0.2) 75%,transparent 75%,transparent );background-size:25px 25px;animation:"," 2s linear infinite;cursor:progress;"],wx),Cp=e=>e==="auto"?"auto":typeof e=="number"||typeof e=="boolean"?e:e&&Sp[e]?Sp[e]:"auto",Op=()=>R(["min-width:initial;width:100%;"]),ut=e=>`
|
|
177
177
|
color: ${e.color};
|
|
178
178
|
background-color: ${e.backgroundColor};
|
|
179
179
|
border-color: ${e.borderColor};
|
|
@@ -258,7 +258,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
258
258
|
overflow: hidden;
|
|
259
259
|
transition-property: background-color, color;
|
|
260
260
|
transition-duration: 200ms;`}
|
|
261
|
-
`},e=>{if(e.preset==="default")return Sx;let t=jn.default;return e.black&&(t=jn.black),e.danger&&(t=jn.danger),(e.contrast||e.onColored)&&(t=jn.contrast),e.clear?t.clear:e.base?t.base:e.outline?t.outline:t.filled},Zo,fo,$t,e=>e.padding?pe(e.padding,"padding"):null,e=>e.paddingTop?pe(e.paddingTop,"padding-top"):null,e=>e.paddingRight?pe(e.paddingRight,"padding-right"):null,e=>e.paddingBottom?pe(e.paddingBottom,"padding-bottom"):null,e=>e.paddingLeft?pe(e.paddingLeft,"padding-left"):null,e=>e.fontSize?pe(e.fontSize,"font-size"):null,e=>e.height?pe(e.height,"height"):null,e=>{const t=e.fluid&&e.width!=="auto"?"max-width":"width";return e.width?pe(Cp(e.width),t):null},({paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n})=>he({sizes:{paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n},cssProperty:"padding"}),({paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n})=>he({sizes:{paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n},cssProperty:"padding-top"}),({paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n})=>he({sizes:{paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n},cssProperty:"padding-right"}),({paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n})=>he({sizes:{paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n},cssProperty:"padding-bottom"}),({paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n})=>he({sizes:{paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n},cssProperty:"padding-left"}),({fontSizeXS:e,fontSizeS:t,fontSizeM:o,fontSizeL:r,fontSizeXL:n})=>he({sizes:{fontSizeXS:e,fontSizeS:t,fontSizeM:o,fontSizeL:r,fontSizeXL:n},cssProperty:"font-size"}),({heightXS:e,heightS:t,heightM:o,heightL:r,heightXL:n})=>he({sizes:{heightXS:e,heightS:t,heightM:o,heightL:r,heightXL:n},cssProperty:"height"}),({widthXS:e,widthS:t,widthM:o,widthL:r,widthXL:n,fluid:i,width:s})=>he({sizes:{widthXS:e,widthS:t,widthM:o,widthL:r,widthXL:n},cssProperty:i&&s!=="auto"?"max-width":"width",customSizeHandler:Cp}),e=>e.fluid?pe(e.fluid,Op):null,({fluidXS:e,fluidS:t,fluidM:o,fluidL:r,fluidXL:n})=>he({sizes:{fluidXS:e,fluidS:t,fluidM:o,fluidL:r,fluidXL:n},cssProperty:Op})),Vg=k.span.withConfig({displayName:"Button__Content",componentId:"ui__sc-16o31r2-1"})(["display:flex;align-items:center;justify-content:center;&[aria-hidden='true'],&[aria-hidden='true'] *{visibility:hidden !important;}& > *:not(:last-child){margin-right:var(--gap,0.25em);}"]),Ox=k(Vg).withConfig({displayName:"Button__ContentWithStatus",componentId:"ui__sc-16o31r2-2"})(["box-sizing:border-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]),Ex=k.span.withConfig({displayName:"Button__IconAnimation",componentId:"ui__sc-16o31r2-3"})(["box-sizing:border-box;display:flex;align-items:center;justify-content:center;transform-origin:center;animation:"," 1600ms infinite linear;@media (prefers-reduced-motion:reduce){animation-name:none;}"],kx),Px=vt((e,t)=>u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",width:"1em",height:"1em",ref:t,...e,children:u("path",{fillRule:"evenodd",d:"M21.064 5.443a1.5 1.5 0 0 1-.007 2.121l-11.077 11a1.5 1.5 0 0 1-2.114 0l-4.923-4.889a1.5 1.5 0 0 1 2.114-2.128l3.866 3.839 10.02-9.95a1.5 1.5 0 0 1 2.121.007",clipRule:"evenodd"})})),Tx=vt((e,t)=>u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",width:"1em",height:"1em",ref:t,...e,children:u("path",{fillRule:"evenodd",d:"M12 1.5A1.5 1.5 0 0 1 13.5 3v3a1.5 1.5 0 0 1-3 0V3A1.5 1.5 0 0 1 12 1.5m7.426 3.074a1.5 1.5 0 0 1 0 2.121l-2.121 2.122a1.5 1.5 0 1 1-2.121-2.122l2.12-2.12a1.5 1.5 0 0 1 2.122 0m-14.85.002a1.5 1.5 0 0 1 2.121 0L8.82 6.7A1.5 1.5 0 0 1 6.7 8.82L4.575 6.697a1.5 1.5 0 0 1 0-2.12M1.5 12A1.5 1.5 0 0 1 3 10.5h3a1.5 1.5 0 0 1 0 3H3A1.5 1.5 0 0 1 1.5 12m15 0a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 0 3h-3a1.5 1.5 0 0 1-1.5-1.5m-7.682 3.182a1.5 1.5 0 0 1 0 2.12l-2.123 2.124a1.5 1.5 0 1 1-2.12-2.121l2.122-2.123a1.5 1.5 0 0 1 2.121 0m6.364 0a1.5 1.5 0 0 1 2.12 0l2.122 2.12a1.5 1.5 0 1 1-2.121 2.122l-2.122-2.121a1.5 1.5 0 0 1 0-2.122M12 16.5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-3 0v-3a1.5 1.5 0 0 1 1.5-1.5",clipRule:"evenodd"})})),Vt=On(vt((e,t)=>{var G;let{size:o="m",inline:r=!0,rounded:n=!0,color:i="accent",fontColor:s="white",showContentOnStatus:a,textProps:l={},iconProps:c={},leftIconProps:d={},rightIconProps:h={},textSizes:f={},iconSizes:b={},as:v,sizeXXS:g,sizeXS:p,sizeS:m,sizeM:y,sizeL:C,sizeXL:A,className:S,children:M,content:H,fontWeight:I,icon:W,innerRef:K,...V}=e;const te=Oo();V.preset!=="default"||typeof o!="string"||V.round||(V={...(G=yx[o])!=null?G:{},...V}),V.href&&(v="a"),V.to&&(v=te.link),V.disabled&&(v="button"),V.primary&&(i="primary"),V.secondary&&(i="atlantis");const He=Sr("Button",S),be=Sr("Button"),we=hx(te,V),Je=gx(v,V);let[Se,ke]=Array.isArray(W)?W:[W];const ot={size:o,sizeXXS:g,sizeXS:p,sizeS:m,sizeM:y,sizeL:C,sizeXL:A},Z={...ot,as:"span",color:"inherit",weight:I!=null?I:V.preset==="brand"?800:600,lineHeight:V.preset==="brand"?1.2:1,sizes:cn(V.preset==="brand"?px:vx,f)},fe={...ot,color:"inherit",preset:V.preset,sizes:cn(fx,b)},N=V.preset==="brand"&&V.success,j=V.preset==="brand"&&V.loading,U=typeof M!="function"&&(M||H)?u(xe,{className:`${be}__content`,...Z,...l,children:M||H}):null;return u(Cx,{...V,...Je,...ot,inline:r,color:i,fontColor:s,rounded:n,rel:we,as:v,className:He,ref:t!=null?t:K,children:typeof M=="function"?M({textProps:Z,iconProps:fe}):u(ue,{children:[N||j?u(Ox,{children:[N?u(_e,{...fe,...c,icon:u(Px,{})}):u(Ex,{children:u(_e,{...fe,...c,icon:u(Tx,{})})}),a?U:null]}):null,u(Vg,{"aria-hidden":N||j,children:[Se?u(_e,{className:"icon",name:typeof Se=="string"?Se:void 0,icon:typeof Se!="string"?Se:void 0,...fe,...c,...d}):null,U,ke?u(_e,{className:"icon",name:typeof ke=="string"?ke:void 0,icon:typeof ke!="string"?ke:void 0,...fe,...c,...h}):null]})]})})}),{displayName:"Button",sizes:e=>{let t=e.preset==="brand"?ux:mx;return e.round&&(t=e.preset==="brand"?dx:bx),t}});(e=>(e.ALL="ALL",e.AFN="AFN",e.ARS="ARS",e.AWG="AWG",e.AUD="AUD",e.AZN="AZN",e.BSD="BSD",e.BBD="BBD",e.BYR="BYR",e.BZD="BZD",e.BMD="BMD",e.BOB="BOB",e.BAM="BAM",e.BWP="BWP",e.BGN="BGN",e.BRL="BRL",e.BND="BND",e.KHR="KHR",e.CAD="CAD",e.KYD="KYD",e.CLP="CLP",e.CNY="CNY",e.COP="COP",e.CRC="CRC",e.HRK="HRK",e.CUP="CUP",e.CZK="CZK",e.DKK="DKK",e.DOP="DOP",e.XCD="XCD",e.EGP="EGP",e.SVC="SVC",e.EEK="EEK",e.EUR="EUR",e.FKP="FKP",e.FJD="FJD",e.FRF="FRF",e.GHC="GHC",e.GIP="GIP",e.GTQ="GTQ",e.GGP="GGP",e.GYD="GYD",e.HNL="HNL",e.HKD="HKD",e.HUF="HUF",e.ISK="ISK",e.INR="INR",e.IDR="IDR",e.IRR="IRR",e.IMP="IMP",e.ILS="ILS",e.JMD="JMD",e.JPY="JPY",e.JEP="JEP",e.KZT="KZT",e.KGS="KGS",e.LAK="LAK",e.LVL="LVL",e.LBP="LBP",e.LRD="LRD",e.LTL="LTL",e.MKD="MKD",e.MYR="MYR",e.MUR="MUR",e.MXN="MXN",e.MNT="MNT",e.MZN="MZN",e.NAD="NAD",e.NPR="NPR",e.ANG="ANG",e.NZD="NZD",e.NIO="NIO",e.NGN="NGN",e.KPW="KPW",e.NOK="NOK",e.OMR="OMR",e.PKR="PKR",e.PAB="PAB",e.PYG="PYG",e.PEN="PEN",e.PHP="PHP",e.PLN="PLN",e.QAR="QAR",e.RON="RON",e.RUR="RUR",e.RUB="RUB",e.SHP="SHP",e.SAR="SAR",e.RSD="RSD",e.SCR="SCR",e.SGD="SGD",e.SBD="SBD",e.SOS="SOS",e.ZAR="ZAR",e.KRW="KRW",e.LKR="LKR",e.SEK="SEK",e.CHF="CHF",e.SRD="SRD",e.SYP="SYP",e.TWD="TWD",e.THB="THB",e.TTD="TTD",e.TRY="TRY",e.TRL="TRL",e.TVD="TVD",e.UAH="UAH",e.GBP="GBP",e.USD="USD",e.UYU="UYU",e.UZS="UZS",e.VEF="VEF",e.VND="VND",e.YER="YER",e.ZWD="ZWD",e))({});const Rx=Object.freeze({ALL:"Lek",AFN:"؋",ARS:"$",AWG:"ƒ",AUD:"$",AZN:"₼",BSD:"$",BBD:"$",BYR:"Br",BZD:"BZ$",BMD:"$",BOB:"$b",BAM:"KM",BWP:"P",BGN:"лв",BRL:"R$",BND:"$",KHR:"៛",CAD:"C$",KYD:"$",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",HRK:"kn",CUP:"₱",CZK:"Kč",DKK:"kr",DOP:"RD$",XCD:"$",EGP:"£",SVC:"$",EEK:"kr",EUR:"€",FKP:"£",FJD:"$",FRF:"₣",GHC:"¢",GIP:"£",GTQ:"Q",GGP:"£",GYD:"$",HNL:"L",HKD:"$",HUF:"Ft",ISK:"kr",INR:"₨",IDR:"Rp",IRR:"﷼",IMP:"£",ILS:"₪",JMD:"J$",JPY:"¥",JEP:"£",KZT:"₸",KGS:"KGS",LAK:"₭",LVL:"Ls",LBP:"£",LRD:"$",LTL:"Lt",MKD:"ден",MYR:"RM",MUR:"₨",MXN:"$",MNT:"₮",MZN:"MT",NAD:"$",NPR:"₨",ANG:"ƒ",NZD:"$",NIO:"C$",NGN:"₦",KPW:"₩",NOK:"kr",OMR:"﷼",PKR:"₨",PAB:"B/.",PYG:"Gs",PEN:"S/.",PHP:"₱",PLN:"zł",QAR:"﷼",RON:"lei",RUR:"₽",RUB:"₽",SHP:"£",SAR:"﷼",RSD:"Дин.",SCR:"₨",SGD:"$",SBD:"$",SOS:"S",ZAR:"R",KRW:"₩",LKR:"₨",SEK:"kr",CHF:"CHF",SRD:"$",SYP:"£",TWD:"NT$",THB:"฿",TTD:"TT$",TRY:"₤",TRL:"₤",TVD:"$",UAH:"₴",GBP:"£",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",YER:"﷼",ZWD:"Z$"}),Mx=R(["text-decoration:line-through;"]),zx=k.span.withConfig({shouldForwardProp:e=>["children","className","style"].includes(e)}).withConfig({displayName:"Amount__Root",componentId:"ui__sc-gtdwkg-0"})(["color:inherit;white-space:nowrap;",""],e=>e.crossedOut?Mx:null),Hx=/^0+$/;function Ep(e){return Rx[e]||e}class ai extends wr{constructor(){super(...arguments);Ae(this,"renderCurrencySymbol",o=>u("span",{style:{position:"relative"},children:[this.props.currency==="RUR"?u("span",{style:{position:"absolute",width:0,opacity:0,visibility:"hidden"},children:"руб."}):null,u("span",{children:` ${o}`})]}))}renderMinorPart(o){const{showZeroMinorPart:r,separator:n}=this.props;let i=!1;return o&&(i=!0,!r&&Hx.test(o)&&(i=!1)),i?u("span",{className:"minor-container",children:[u("span",{className:"separator",children:n}),u("span",{className:"minor",children:o})]}):null}render(){const{value:o,digitsAfterPoint:r,currency:n,isHeader:i,className:s,style:a,crossedOut:l,onlyCurrency:c,...d}=this.props,{majorPart:h,minorPart:f,isNegative:b,currencySymbol:v}=((m,y,C=0)=>{const A=C<0,S=Math.abs(C).toFixed(m).split("."),M=S[0],H=S[1],I=(()=>{const W=K=>{const{length:V}=K;if(V<=3)return[K];const te=V-3;return[K.slice(te,V)].concat(W(K.slice(0,te)))};return W})()(M).reverse().join(" ");return{majorPart:I,minorPart:H,value:I+(H?`,${H}`:""),isNegative:A,currencySymbol:y?Ep(y):""}})(r,n,o),g=zg("amount",s),p=u(zx,{className:g,style:a,crossedOut:l,children:[c?null:u(ue,{children:[u("span",{className:"major",children:[b?"−":null,h]}),this.renderMinorPart(f)]}),n?this.renderCurrencySymbol(v):null]});return u(i?xe.Heading:xe,{...d,as:"span",children:p})}}Ae(ai,"displayName","Amount"),Ae(ai,"defaultProps",{isHeader:!1,showZeroMinorPart:!1,crossedOut:!1,digitsAfterPoint:2,separator:",",onlyCurrency:!1}),Ae(ai,"getCurrencySymbol",Ep);const Bx=["button","a","label"],tu=({as:e,disabled:t,loading:o,cursor:r})=>{let n="default";return typeof e=="string"&&Bx.includes(e)&&(n="pointer"),t&&(n="not-allowed"),o&&(n="wait"),`cursor: ${r!=null?r:n};`},Dx=e=>e.split(" ").map(t=>t.trim()).filter(t=>t.length!==0).slice(0,2).reduce((t,o)=>{if(typeof o=="string"){const r=o.codePointAt(0);typeof r=="number"&&(t+=String.fromCodePoint(r))}return t},"")||"#",Lx=Kt(e=>!["src","shadow","square","loading"].includes(e)),Pp=e=>`
|
|
261
|
+
`},e=>{if(e.preset==="default")return Sx;let t=jn.default;return e.black&&(t=jn.black),e.danger&&(t=jn.danger),(e.contrast||e.onColored)&&(t=jn.contrast),e.clear?t.clear:e.base?t.base:e.outline?t.outline:t.filled},Zo,fo,$t,e=>e.padding?pe(e.padding,"padding"):null,e=>e.paddingTop?pe(e.paddingTop,"padding-top"):null,e=>e.paddingRight?pe(e.paddingRight,"padding-right"):null,e=>e.paddingBottom?pe(e.paddingBottom,"padding-bottom"):null,e=>e.paddingLeft?pe(e.paddingLeft,"padding-left"):null,e=>e.fontSize?pe(e.fontSize,"font-size"):null,e=>e.height?pe(e.height,"height"):null,e=>{const t=e.fluid&&e.width!=="auto"?"max-width":"width";return e.width?pe(Cp(e.width),t):null},({paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n})=>he({sizes:{paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n},cssProperty:"padding"}),({paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n})=>he({sizes:{paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n},cssProperty:"padding-top"}),({paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n})=>he({sizes:{paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n},cssProperty:"padding-right"}),({paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n})=>he({sizes:{paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n},cssProperty:"padding-bottom"}),({paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n})=>he({sizes:{paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n},cssProperty:"padding-left"}),({fontSizeXS:e,fontSizeS:t,fontSizeM:o,fontSizeL:r,fontSizeXL:n})=>he({sizes:{fontSizeXS:e,fontSizeS:t,fontSizeM:o,fontSizeL:r,fontSizeXL:n},cssProperty:"font-size"}),({heightXS:e,heightS:t,heightM:o,heightL:r,heightXL:n})=>he({sizes:{heightXS:e,heightS:t,heightM:o,heightL:r,heightXL:n},cssProperty:"height"}),({widthXS:e,widthS:t,widthM:o,widthL:r,widthXL:n,fluid:i,width:s})=>he({sizes:{widthXS:e,widthS:t,widthM:o,widthL:r,widthXL:n},cssProperty:i&&s!=="auto"?"max-width":"width",customSizeHandler:Cp}),e=>e.fluid?pe(e.fluid,Op):null,({fluidXS:e,fluidS:t,fluidM:o,fluidL:r,fluidXL:n})=>he({sizes:{fluidXS:e,fluidS:t,fluidM:o,fluidL:r,fluidXL:n},cssProperty:Op})),Vg=k.span.withConfig({displayName:"Button__Content",componentId:"ui__sc-16o31r2-1"})(["display:flex;align-items:center;justify-content:center;&[aria-hidden='true'],&[aria-hidden='true'] *{visibility:hidden !important;}& > *:not(:last-child){margin-right:var(--gap,0.25em);}"]),Ox=k(Vg).withConfig({displayName:"Button__ContentWithStatus",componentId:"ui__sc-16o31r2-2"})(["box-sizing:border-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]),Ex=k.span.withConfig({displayName:"Button__IconAnimation",componentId:"ui__sc-16o31r2-3"})(["box-sizing:border-box;display:flex;align-items:center;justify-content:center;transform-origin:center;animation:"," 1600ms infinite linear;@media (prefers-reduced-motion:reduce){animation-name:none;}"],kx),Px=vt((e,t)=>u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",width:"1em",height:"1em",ref:t,...e,children:u("path",{fillRule:"evenodd",d:"M21.064 5.443a1.5 1.5 0 0 1-.007 2.121l-11.077 11a1.5 1.5 0 0 1-2.114 0l-4.923-4.889a1.5 1.5 0 0 1 2.114-2.128l3.866 3.839 10.02-9.95a1.5 1.5 0 0 1 2.121.007",clipRule:"evenodd"})})),Tx=vt((e,t)=>u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentcolor",width:"1em",height:"1em",ref:t,...e,children:u("path",{fillRule:"evenodd",d:"M12 1.5A1.5 1.5 0 0 1 13.5 3v3a1.5 1.5 0 0 1-3 0V3A1.5 1.5 0 0 1 12 1.5m7.426 3.074a1.5 1.5 0 0 1 0 2.121l-2.121 2.122a1.5 1.5 0 1 1-2.121-2.122l2.12-2.12a1.5 1.5 0 0 1 2.122 0m-14.85.002a1.5 1.5 0 0 1 2.121 0L8.82 6.7A1.5 1.5 0 0 1 6.7 8.82L4.575 6.697a1.5 1.5 0 0 1 0-2.12M1.5 12A1.5 1.5 0 0 1 3 10.5h3a1.5 1.5 0 0 1 0 3H3A1.5 1.5 0 0 1 1.5 12m15 0a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 0 3h-3a1.5 1.5 0 0 1-1.5-1.5m-7.682 3.182a1.5 1.5 0 0 1 0 2.12l-2.123 2.124a1.5 1.5 0 1 1-2.12-2.121l2.122-2.123a1.5 1.5 0 0 1 2.121 0m6.364 0a1.5 1.5 0 0 1 2.12 0l2.122 2.12a1.5 1.5 0 1 1-2.121 2.122l-2.122-2.121a1.5 1.5 0 0 1 0-2.122M12 16.5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-3 0v-3a1.5 1.5 0 0 1 1.5-1.5",clipRule:"evenodd"})})),Vt=On(vt((e,t)=>{var G;let{size:o="m",inline:r=!0,rounded:n=!0,color:i="accent",fontColor:s="white",showContentOnStatus:a,textProps:l={},iconProps:c={},leftIconProps:d={},rightIconProps:g={},textSizes:f={},iconSizes:b={},as:v,sizeXXS:p,sizeXS:h,sizeS:m,sizeM:y,sizeL:C,sizeXL:A,className:S,children:M,content:H,fontWeight:I,icon:W,innerRef:K,...V}=e;const te=Oo();V.preset!=="default"||typeof o!="string"||V.round||(V={...(G=yx[o])!=null?G:{},...V}),V.href&&(v="a"),V.to&&(v=te.link),V.disabled&&(v="button"),V.primary&&(i="primary"),V.secondary&&(i="atlantis");const He=Sr("Button",S),be=Sr("Button"),we=hx(te,V),Je=gx(v,V);let[Se,ke]=Array.isArray(W)?W:[W];const ot={size:o,sizeXXS:p,sizeXS:h,sizeS:m,sizeM:y,sizeL:C,sizeXL:A},Z={...ot,as:"span",color:"inherit",weight:I!=null?I:V.preset==="brand"?800:600,lineHeight:V.preset==="brand"?1.2:1,sizes:cn(V.preset==="brand"?px:vx,f)},fe={...ot,color:"inherit",preset:V.preset,sizes:cn(fx,b)},N=V.preset==="brand"&&V.success,j=V.preset==="brand"&&V.loading,U=typeof M!="function"&&(M||H)?u(xe,{className:`${be}__content`,...Z,...l,children:M||H}):null;return u(Cx,{...V,...Je,...ot,inline:r,color:i,fontColor:s,rounded:n,rel:we,as:v,className:He,ref:t!=null?t:K,children:typeof M=="function"?M({textProps:Z,iconProps:fe}):u(ue,{children:[N||j?u(Ox,{children:[N?u(_e,{...fe,...c,icon:u(Px,{})}):u(Ex,{children:u(_e,{...fe,...c,icon:u(Tx,{})})}),a?U:null]}):null,u(Vg,{"aria-hidden":N||j,children:[Se?u(_e,{className:"icon",name:typeof Se=="string"?Se:void 0,icon:typeof Se!="string"?Se:void 0,...fe,...c,...d}):null,U,ke?u(_e,{className:"icon",name:typeof ke=="string"?ke:void 0,icon:typeof ke!="string"?ke:void 0,...fe,...c,...g}):null]})]})})}),{displayName:"Button",sizes:e=>{let t=e.preset==="brand"?ux:mx;return e.round&&(t=e.preset==="brand"?dx:bx),t}});(e=>(e.ALL="ALL",e.AFN="AFN",e.ARS="ARS",e.AWG="AWG",e.AUD="AUD",e.AZN="AZN",e.BSD="BSD",e.BBD="BBD",e.BYR="BYR",e.BZD="BZD",e.BMD="BMD",e.BOB="BOB",e.BAM="BAM",e.BWP="BWP",e.BGN="BGN",e.BRL="BRL",e.BND="BND",e.KHR="KHR",e.CAD="CAD",e.KYD="KYD",e.CLP="CLP",e.CNY="CNY",e.COP="COP",e.CRC="CRC",e.HRK="HRK",e.CUP="CUP",e.CZK="CZK",e.DKK="DKK",e.DOP="DOP",e.XCD="XCD",e.EGP="EGP",e.SVC="SVC",e.EEK="EEK",e.EUR="EUR",e.FKP="FKP",e.FJD="FJD",e.FRF="FRF",e.GHC="GHC",e.GIP="GIP",e.GTQ="GTQ",e.GGP="GGP",e.GYD="GYD",e.HNL="HNL",e.HKD="HKD",e.HUF="HUF",e.ISK="ISK",e.INR="INR",e.IDR="IDR",e.IRR="IRR",e.IMP="IMP",e.ILS="ILS",e.JMD="JMD",e.JPY="JPY",e.JEP="JEP",e.KZT="KZT",e.KGS="KGS",e.LAK="LAK",e.LVL="LVL",e.LBP="LBP",e.LRD="LRD",e.LTL="LTL",e.MKD="MKD",e.MYR="MYR",e.MUR="MUR",e.MXN="MXN",e.MNT="MNT",e.MZN="MZN",e.NAD="NAD",e.NPR="NPR",e.ANG="ANG",e.NZD="NZD",e.NIO="NIO",e.NGN="NGN",e.KPW="KPW",e.NOK="NOK",e.OMR="OMR",e.PKR="PKR",e.PAB="PAB",e.PYG="PYG",e.PEN="PEN",e.PHP="PHP",e.PLN="PLN",e.QAR="QAR",e.RON="RON",e.RUR="RUR",e.RUB="RUB",e.SHP="SHP",e.SAR="SAR",e.RSD="RSD",e.SCR="SCR",e.SGD="SGD",e.SBD="SBD",e.SOS="SOS",e.ZAR="ZAR",e.KRW="KRW",e.LKR="LKR",e.SEK="SEK",e.CHF="CHF",e.SRD="SRD",e.SYP="SYP",e.TWD="TWD",e.THB="THB",e.TTD="TTD",e.TRY="TRY",e.TRL="TRL",e.TVD="TVD",e.UAH="UAH",e.GBP="GBP",e.USD="USD",e.UYU="UYU",e.UZS="UZS",e.VEF="VEF",e.VND="VND",e.YER="YER",e.ZWD="ZWD",e))({});const Rx=Object.freeze({ALL:"Lek",AFN:"؋",ARS:"$",AWG:"ƒ",AUD:"$",AZN:"₼",BSD:"$",BBD:"$",BYR:"Br",BZD:"BZ$",BMD:"$",BOB:"$b",BAM:"KM",BWP:"P",BGN:"лв",BRL:"R$",BND:"$",KHR:"៛",CAD:"C$",KYD:"$",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",HRK:"kn",CUP:"₱",CZK:"Kč",DKK:"kr",DOP:"RD$",XCD:"$",EGP:"£",SVC:"$",EEK:"kr",EUR:"€",FKP:"£",FJD:"$",FRF:"₣",GHC:"¢",GIP:"£",GTQ:"Q",GGP:"£",GYD:"$",HNL:"L",HKD:"$",HUF:"Ft",ISK:"kr",INR:"₨",IDR:"Rp",IRR:"﷼",IMP:"£",ILS:"₪",JMD:"J$",JPY:"¥",JEP:"£",KZT:"₸",KGS:"KGS",LAK:"₭",LVL:"Ls",LBP:"£",LRD:"$",LTL:"Lt",MKD:"ден",MYR:"RM",MUR:"₨",MXN:"$",MNT:"₮",MZN:"MT",NAD:"$",NPR:"₨",ANG:"ƒ",NZD:"$",NIO:"C$",NGN:"₦",KPW:"₩",NOK:"kr",OMR:"﷼",PKR:"₨",PAB:"B/.",PYG:"Gs",PEN:"S/.",PHP:"₱",PLN:"zł",QAR:"﷼",RON:"lei",RUR:"₽",RUB:"₽",SHP:"£",SAR:"﷼",RSD:"Дин.",SCR:"₨",SGD:"$",SBD:"$",SOS:"S",ZAR:"R",KRW:"₩",LKR:"₨",SEK:"kr",CHF:"CHF",SRD:"$",SYP:"£",TWD:"NT$",THB:"฿",TTD:"TT$",TRY:"₤",TRL:"₤",TVD:"$",UAH:"₴",GBP:"£",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",YER:"﷼",ZWD:"Z$"}),Mx=R(["text-decoration:line-through;"]),zx=k.span.withConfig({shouldForwardProp:e=>["children","className","style"].includes(e)}).withConfig({displayName:"Amount__Root",componentId:"ui__sc-gtdwkg-0"})(["color:inherit;white-space:nowrap;",""],e=>e.crossedOut?Mx:null),Hx=/^0+$/;function Ep(e){return Rx[e]||e}class ai extends wr{constructor(){super(...arguments);Ae(this,"renderCurrencySymbol",o=>u("span",{style:{position:"relative"},children:[this.props.currency==="RUR"?u("span",{style:{position:"absolute",width:0,opacity:0,visibility:"hidden"},children:"руб."}):null,u("span",{children:` ${o}`})]}))}renderMinorPart(o){const{showZeroMinorPart:r,separator:n}=this.props;let i=!1;return o&&(i=!0,!r&&Hx.test(o)&&(i=!1)),i?u("span",{className:"minor-container",children:[u("span",{className:"separator",children:n}),u("span",{className:"minor",children:o})]}):null}render(){const{value:o,digitsAfterPoint:r,currency:n,isHeader:i,className:s,style:a,crossedOut:l,onlyCurrency:c,...d}=this.props,{majorPart:g,minorPart:f,isNegative:b,currencySymbol:v}=((m,y,C=0)=>{const A=C<0,S=Math.abs(C).toFixed(m).split("."),M=S[0],H=S[1],I=(()=>{const W=K=>{const{length:V}=K;if(V<=3)return[K];const te=V-3;return[K.slice(te,V)].concat(W(K.slice(0,te)))};return W})()(M).reverse().join(" ");return{majorPart:I,minorPart:H,value:I+(H?`,${H}`:""),isNegative:A,currencySymbol:y?Ep(y):""}})(r,n,o),p=zg("amount",s),h=u(zx,{className:p,style:a,crossedOut:l,children:[c?null:u(ue,{children:[u("span",{className:"major",children:[b?"−":null,g]}),this.renderMinorPart(f)]}),n?this.renderCurrencySymbol(v):null]});return u(i?xe.Heading:xe,{...d,as:"span",children:h})}}Ae(ai,"displayName","Amount"),Ae(ai,"defaultProps",{isHeader:!1,showZeroMinorPart:!1,crossedOut:!1,digitsAfterPoint:2,separator:",",onlyCurrency:!1}),Ae(ai,"getCurrencySymbol",Ep);const Bx=["button","a","label"],tu=({as:e,disabled:t,loading:o,cursor:r})=>{let n="default";return typeof e=="string"&&Bx.includes(e)&&(n="pointer"),t&&(n="not-allowed"),o&&(n="wait"),`cursor: ${r!=null?r:n};`},Dx=e=>e.split(" ").map(t=>t.trim()).filter(t=>t.length!==0).slice(0,2).reduce((t,o)=>{if(typeof o=="string"){const r=o.codePointAt(0);typeof r=="number"&&(t+=String.fromCodePoint(r))}return t},"")||"#",Lx=Kt(e=>!["src","shadow","square","loading"].includes(e)),Pp=e=>`
|
|
262
262
|
color: ${e.color};
|
|
263
263
|
background-color: ${e.backgroundColor};
|
|
264
264
|
filter: drop-shadow(0 6px 10px ${e.shadowColor});
|
|
@@ -291,7 +291,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
291
291
|
width: max-content;
|
|
292
292
|
flex-shrink: 0;
|
|
293
293
|
border-radius: ${e.round?"50%":typeof e.borderRadius=="number"?`${e.borderRadius}px`:e.borderRadius};
|
|
294
|
-
`,e=>e.quaternary?Fn.quaternary:e.tertiary?Fn.tertiary:e.secondary?Fn.secondary:Fn.primary,Zo,tu,fo,$t,e=>e.color&&ln(e.color,"background-color"),e=>e.display&&rs(e.display),e=>!e.resetDefaultMargin&&"&:not(:last-child) { margin-right: 8px; }"),Ee={xxxl:{"--badge-size":"36px",height:"var(--badge-size)",paddingRight:10,paddingLeft:10,fontSize:22},xxl:{"--badge-size":"36px",height:"var(--badge-size)",paddingRight:10,paddingLeft:10,fontSize:20},xl:{"--badge-size":"32px",height:"var(--badge-size)",paddingRight:10,paddingLeft:10,fontSize:18},l:{"--badge-size":"28px",height:"var(--badge-size)",paddingRight:8,paddingLeft:8,fontSize:16},m:{"--badge-size":"26px",height:"var(--badge-size)",paddingRight:8,paddingLeft:8,fontSize:14},s:{"--badge-size":"22px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:12},xs:{"--badge-size":"22px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:10},xxs:{"--badge-size":"20px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:10},xxxs:{"--badge-size":"18px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:10}},Vx={xxxl:{...Ee.xxxl,borderRadius:0},xxl:{...Ee.xxl,borderRadius:0},xl:{...Ee.xl,borderRadius:0},l:{...Ee.l,borderRadius:0},m:{...Ee.m,borderRadius:0},s:{...Ee.s,borderRadius:0},xs:{...Ee.xs,borderRadius:0},xxs:{...Ee.xxs,borderRadius:0},xxxs:{...Ee.xxxs,borderRadius:0}},Gx={xxxl:{...Ee.xxxl,borderRadius:10},xxl:{...Ee.xxl,borderRadius:10},xl:{...Ee.xl,borderRadius:8},l:{...Ee.l,borderRadius:8},m:{...Ee.m,borderRadius:8},s:{...Ee.s,borderRadius:6},xs:{...Ee.xs,borderRadius:4},xxs:{...Ee.xxs,borderRadius:4},xxxs:{...Ee.xxxs,borderRadius:4}},qx={xxxl:{...Ee.xxxl,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xxl:{...Ee.xxl,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xl:{...Ee.xl,width:"var(--badge-size)",padding:0,borderRadius:"50%"},l:{...Ee.l,width:"var(--badge-size)",padding:0,borderRadius:"50%"},m:{...Ee.m,width:"var(--badge-size)",padding:0,borderRadius:"50%"},s:{...Ee.s,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xs:{...Ee.xs,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xxs:{...Ee.xxs,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xxxs:{...Ee.xxxs,width:"var(--badge-size)",padding:0,borderRadius:"50%"}},Jx={xxxl:{fontSize:28},xxl:{fontSize:28},xl:{fontSize:24},l:{fontSize:20},m:{fontSize:16},s:{fontSize:12},xs:{fontSize:10},xxs:{fontSize:10},xxxs:{fontSize:10}},Wx={xxxl:{fontSize:"inherit",marginTop:0},xxl:{fontSize:"inherit",marginTop:0},xl:{fontSize:"inherit",marginTop:1},l:{fontSize:"inherit",marginTop:2},m:{fontSize:"inherit",marginTop:2},s:{fontSize:"inherit",marginTop:2},xs:{fontSize:"inherit",marginTop:0},xxs:{fontSize:"inherit",marginTop:0},xxxs:{fontSize:"inherit",marginTop:0}},Yx=ns((e,t)=>{const o=is(e,{componentName:"Badge",sizes:te=>te.shape==="rounded"?Gx:te.round||te.shape==="circular"?qx:te.borderRadius!==void 0?Ee:Vx}),{size:r="s",borderRadius:n=3,textProps:i={},iconProps:s={},shape:a="square",component:l="div",leftIconProps:c={},rightIconProps:d={},children:
|
|
294
|
+
`,e=>e.quaternary?Fn.quaternary:e.tertiary?Fn.tertiary:e.secondary?Fn.secondary:Fn.primary,Zo,tu,fo,$t,e=>e.color&&ln(e.color,"background-color"),e=>e.display&&rs(e.display),e=>!e.resetDefaultMargin&&"&:not(:last-child) { margin-right: 8px; }"),Ee={xxxl:{"--badge-size":"36px",height:"var(--badge-size)",paddingRight:10,paddingLeft:10,fontSize:22},xxl:{"--badge-size":"36px",height:"var(--badge-size)",paddingRight:10,paddingLeft:10,fontSize:20},xl:{"--badge-size":"32px",height:"var(--badge-size)",paddingRight:10,paddingLeft:10,fontSize:18},l:{"--badge-size":"28px",height:"var(--badge-size)",paddingRight:8,paddingLeft:8,fontSize:16},m:{"--badge-size":"26px",height:"var(--badge-size)",paddingRight:8,paddingLeft:8,fontSize:14},s:{"--badge-size":"22px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:12},xs:{"--badge-size":"22px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:10},xxs:{"--badge-size":"20px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:10},xxxs:{"--badge-size":"18px",height:"var(--badge-size)",paddingRight:6,paddingLeft:6,fontSize:10}},Vx={xxxl:{...Ee.xxxl,borderRadius:0},xxl:{...Ee.xxl,borderRadius:0},xl:{...Ee.xl,borderRadius:0},l:{...Ee.l,borderRadius:0},m:{...Ee.m,borderRadius:0},s:{...Ee.s,borderRadius:0},xs:{...Ee.xs,borderRadius:0},xxs:{...Ee.xxs,borderRadius:0},xxxs:{...Ee.xxxs,borderRadius:0}},Gx={xxxl:{...Ee.xxxl,borderRadius:10},xxl:{...Ee.xxl,borderRadius:10},xl:{...Ee.xl,borderRadius:8},l:{...Ee.l,borderRadius:8},m:{...Ee.m,borderRadius:8},s:{...Ee.s,borderRadius:6},xs:{...Ee.xs,borderRadius:4},xxs:{...Ee.xxs,borderRadius:4},xxxs:{...Ee.xxxs,borderRadius:4}},qx={xxxl:{...Ee.xxxl,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xxl:{...Ee.xxl,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xl:{...Ee.xl,width:"var(--badge-size)",padding:0,borderRadius:"50%"},l:{...Ee.l,width:"var(--badge-size)",padding:0,borderRadius:"50%"},m:{...Ee.m,width:"var(--badge-size)",padding:0,borderRadius:"50%"},s:{...Ee.s,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xs:{...Ee.xs,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xxs:{...Ee.xxs,width:"var(--badge-size)",padding:0,borderRadius:"50%"},xxxs:{...Ee.xxxs,width:"var(--badge-size)",padding:0,borderRadius:"50%"}},Jx={xxxl:{fontSize:28},xxl:{fontSize:28},xl:{fontSize:24},l:{fontSize:20},m:{fontSize:16},s:{fontSize:12},xs:{fontSize:10},xxs:{fontSize:10},xxxs:{fontSize:10}},Wx={xxxl:{fontSize:"inherit",marginTop:0},xxl:{fontSize:"inherit",marginTop:0},xl:{fontSize:"inherit",marginTop:1},l:{fontSize:"inherit",marginTop:2},m:{fontSize:"inherit",marginTop:2},s:{fontSize:"inherit",marginTop:2},xs:{fontSize:"inherit",marginTop:0},xxs:{fontSize:"inherit",marginTop:0},xxxs:{fontSize:"inherit",marginTop:0}},Yx=ns((e,t)=>{const o=is(e,{componentName:"Badge",sizes:te=>te.shape==="rounded"?Gx:te.round||te.shape==="circular"?qx:te.borderRadius!==void 0?Ee:Vx}),{size:r="s",borderRadius:n=3,textProps:i={},iconProps:s={},shape:a="square",component:l="div",leftIconProps:c={},rightIconProps:d={},children:g,addonLeft:f,addonRight:b,content:v,icon:p,sizeXXS:h,sizeXS:m,sizeS:y,sizeM:C,sizeL:A,sizeXL:S,...M}=o,H={size:r,sizeXXS:h,sizeXS:m,sizeS:y,sizeM:C,sizeL:A,sizeXL:S},[I,W]=Array.isArray(p)?p:[p],K={...H,as:"span",appearance:"caption",color:"inherit",whiteSpace:"nowrap",sizes:Wx,...i},V={...H,color:"inherit",sizes:Jx,...s};return u(Ux,{...M,...H,as:l,size:r,borderRadius:n,shape:a,ref:t,children:typeof g=="function"?g({textProps:K,iconProps:V}):u(ue,{children:[u(jt,{props:{iconProps:V},render:f!=null?f:I?te=>u(_e,{...te.iconProps,...V,...c,name:typeof I=="string"?I:void 0,icon:typeof I!="string"?I:void 0}):void 0}),g||v?u(xe,{...K,children:g||v}):null,u(jt,{props:{iconProps:V},render:b!=null?b:W?te=>u(_e,{...te.iconProps,...V,...d,name:typeof W=="string"?W:void 0,icon:typeof W!="string"?W:void 0}):void 0})]})})}),Qx={xxxl:{width:10,minWidth:"auto",height:10,borderRadius:"50%"},xxl:{width:10,minWidth:"auto",height:10,borderRadius:"50%"},xl:{width:10,minWidth:"auto",height:10,borderRadius:"50%"},l:{width:10,minWidth:"auto",height:10,borderRadius:"50%"},m:{width:6,minWidth:"auto",height:6,borderRadius:"50%"},s:{width:4,minWidth:"auto",height:4,borderRadius:"50%"},xs:{width:4,minWidth:"auto",height:4,borderRadius:"50%"},xxs:{width:4,minWidth:"auto",height:4,borderRadius:"50%"},xxxs:{width:4,minWidth:"auto",height:4,borderRadius:"50%"}},Zx={xxxl:{"--indicator-size":"22px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},xxl:{"--indicator-size":"22px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},xl:{"--indicator-size":"22px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},l:{"--indicator-size":"22px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},m:{"--indicator-size":"18px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},s:{"--indicator-size":"16px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},xs:{"--indicator-size":"16px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},xxs:{"--indicator-size":"16px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"},xxxs:{"--indicator-size":"16px",width:"min-content",minWidth:"var(--indicator-size)",minHeight:"var(--indicator-size)",borderRadius:"calc(var(--indicator-size) * 0.2)"}},Kx={xxxl:{fontSize:14,paddingLeft:6,paddingRight:6},xxl:{fontSize:14,paddingLeft:6,paddingRight:6},xl:{fontSize:14,paddingLeft:6,paddingRight:6},l:{fontSize:14,paddingLeft:6,paddingRight:6},m:{fontSize:12,paddingLeft:6,paddingRight:6},s:{fontSize:11,paddingLeft:4,paddingRight:4},xs:{fontSize:11,paddingLeft:4,paddingRight:4},xxs:{fontSize:11,paddingLeft:4,paddingRight:4},xxxs:{fontSize:11,paddingLeft:4,paddingRight:4}},$x=Kt(e=>!["square","black","grey","onColored","contrast","pulse","pulseIterationCount","frame"].includes(e)),e5=Qo(["0%{opacity:1;transform:scale(1);}75%{opacity:0;}100%{transform:scale(4);}"]),ru=k.span.withConfig({displayName:"Indicator__Foreground",componentId:"ui__sc-1dc67xh-0"})(["box-sizing:border-box;width:100%;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;border-radius:inherit;background-color:inherit;"]),ho=e=>`
|
|
295
295
|
color: ${e.color};
|
|
296
296
|
background-color: ${e.backgroundColor};
|
|
297
297
|
|
|
@@ -302,7 +302,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
302
302
|
& > ${ru} {
|
|
303
303
|
box-shadow: none;
|
|
304
304
|
}
|
|
305
|
-
`,e=>e.pulse&&R(["&::before,&::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;background-color:inherit;border-radius:inherit;animation-name:",";animation-duration:3200ms;animation-iteration-count:",";}&::after{animation-delay:800ms;}"],e5,typeof e.pulseIterationCount=="number"?e.pulseIterationCount:"infinite"),tu,fo,$t),Ko=ns((e,t)=>{const o=is(e,{componentName:"Indicator",sizes:C=>(A=>!ro(A.children)||!ro(A.text)||!ro(A.content))(C)?Zx:Qx}),{size:r="m",textProps:n={},component:i="span",children:s,content:a,text:l,sizeXXS:c,sizeXS:d,sizeS:
|
|
305
|
+
`,e=>e.pulse&&R(["&::before,&::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;background-color:inherit;border-radius:inherit;animation-name:",";animation-duration:3200ms;animation-iteration-count:",";}&::after{animation-delay:800ms;}"],e5,typeof e.pulseIterationCount=="number"?e.pulseIterationCount:"infinite"),tu,fo,$t),Ko=ns((e,t)=>{const o=is(e,{componentName:"Indicator",sizes:C=>(A=>!ro(A.children)||!ro(A.text)||!ro(A.content))(C)?Zx:Qx}),{size:r="m",textProps:n={},component:i="span",children:s,content:a,text:l,sizeXXS:c,sizeXS:d,sizeS:g,sizeM:f,sizeL:b,sizeXL:v,...p}=o,h={size:r,sizeXXS:c,sizeXS:d,sizeS:g,sizeM:f,sizeL:b,sizeXL:v},m={...h,as:"span",appearance:"body",color:"inherit",whiteSpace:"nowrap",weight:700,lineHeight:1,marginTop:1,sizes:Kx,...n},y=!ro(e.children)||!ro(e.text);return u(t5,{...p,...h,as:i,size:r,square:y,ref:t,children:u(ru,{children:u(jt,{render:a,props:m,fallback:y?u(xe,{...m,children:s!=null?s:l}):null})})})}),o5=Kt(e=>!["square","filled"].includes(e)),tr=e=>`
|
|
306
306
|
color: ${e.color};
|
|
307
307
|
background-color: ${e.backgroundColor};
|
|
308
308
|
${wo(`
|
|
@@ -354,7 +354,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
354
354
|
& > *:not(:first-child) {
|
|
355
355
|
margin-left: var(--list-item-gap);
|
|
356
356
|
}
|
|
357
|
-
`,e=>{const t=e.contrast?Hp.contrast:Hp.default;let o=t.primary;return e.secondary&&(o=t.secondary),e.success&&(o=t.success),e.danger&&(o=t.danger),e.disabled?o.disabled:e.active?o.active:o.default},Zo,tu,fo,$t),c5=k.span.withConfig({displayName:"ListItem__Content",componentId:"ui__sc-1a62xqm-1"})(["box-sizing:border-box;flex-grow:1;"]),ss=ns((e,t)=>{var W;const{component:o="button",size:r="s",borderRadius:n=0,withChevron:i,children:s,content:a,text:l,caption:c,addonLeft:d,addonRight:h,loadingLayout:f,loading:b,sizeXXS:v,sizeXS:g,sizeS:p,sizeM:m,sizeL:y,sizeXL:C,...A}=is(e,{componentName:"ListItem",sizes:n5}),S={size:r,sizeXXS:v,sizeXS:g,sizeS:p,sizeM:m,sizeL:y,sizeXL:C},M={...S,sizes:i5,appearance:"body",color:"inherit",ellipsis:!0,textAlign:"start"},H={...S,sizes:s5,appearance:"body",color:"inherit",ellipsis:!0,textAlign:"start"},I={width:"65%",borderRadius:4,onColored:A.contrast&&!A.active};return u(l5,{...A,...S,as:o,type:(W=A.type)!=null?W:o==="button"?"button":void 0,borderRadius:n,loading:b,ref:t,children:u(jt,{render:s,props:{textProps:M,captionProps:H,skeletonProps:I},fallback:b?u(jt,{render:f,props:{textProps:M,captionProps:H,skeletonProps:I},fallback:u(Bg,{...I,children:u(xe,{...M})})}):u(ue,{children:[u(jt,{render:d}),ro(a)&&ro(l)&&ro(c)?null:u(c5,{children:u(jt,{render:a,props:{textProps:M,captionProps:H},fallback:u(ue,{children:[u(jt,{render:l,props:M}),u(jt,{render:c,props:H})]})})}),u(jt,{render:h}),i?u(_e,{icon:u(Jv,{}),rotate:"90deg",size:24,color:"inherit"}):null]})})})});let u5=(e=>(e[e.l=380]="l",e[e.m=300]="m",e[e.s=220]="s",e[e.xs=140]="xs",e))({});const d5=e=>{const{children:t}=e;return t(Sg())},f5=(e,t)=>!(!(e.orientation||e.min||e.max)||e.orientation&&!t[e.orientation]||e.min&&!t[`min${e.min}`]||e.max&&!t[`max${e.max}`]),Bt=Object.assign(e=>{const{children:t,...o}=e,r=Ra(Ra.getConfig(o)),n=f5(o,r);return typeof t=="function"?t(n):n?t:null},{Matchers:d5});var Ls={},rt={},_r={exports:{}},Ho={exports:{}},p5=Ho.exports,Bp;function h5(){return Bp||(Bp=1,(function(){var e,t,o,r,n,i;typeof performance<"u"&&performance!==null&&performance.now?Ho.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Ho.exports=function(){return(e()-n)/1e6},t=process.hrtime,e=function(){var s;return s=t(),s[0]*1e9+s[1]},r=e(),i=process.uptime()*1e9,n=r-i):Date.now?(Ho.exports=function(){return Date.now()-o},o=Date.now()):(Ho.exports=function(){return new Date().getTime()-o},o=new Date().getTime())}).call(p5)),Ho.exports}var Dp;function g5(){if(Dp)return _r.exports;Dp=1;for(var e=h5(),t=typeof window>"u"?pb:window,o=["moz","webkit"],r="AnimationFrame",n=t["request"+r],i=t["cancel"+r]||t["cancelRequest"+r],s=0;!n&&s<o.length;s++)n=t[o[s]+"Request"+r],i=t[o[s]+"Cancel"+r]||t[o[s]+"CancelRequest"+r];if(!n||!i){var a=0,l=0,c=[],d=1e3/60;n=function(h){if(c.length===0){var f=e(),b=Math.max(0,d-(f-a));a=b+f,setTimeout(function(){var v=c.slice(0);c.length=0;for(var g=0;g<v.length;g++)if(!v[g].cancelled)try{v[g].callback(a)}catch(p){setTimeout(function(){throw p},0)}},Math.round(b))}return c.push({handle:++l,callback:h,cancelled:!1}),l},i=function(h){for(var f=0;f<c.length;f++)c[f].handle===h&&(c[f].cancelled=!0)}}return _r.exports=function(h){return n.call(t,h)},_r.exports.cancel=function(){i.apply(t,arguments)},_r.exports.polyfill=function(h){h||(h=t),h.requestAnimationFrame=n,h.cancelAnimationFrame=i},_r.exports}var Ir={exports:{}},_s,Lp;function m5(){if(Lp)return _s;Lp=1;var e=null,t=["Webkit","Moz","O","ms"];return _s=function(r){e||(e=document.createElement("div"));var n=e.style;if(r in n)return r;for(var i=r.charAt(0).toUpperCase()+r.slice(1),s=t.length;s>=0;s--){var a=t[s]+i;if(a in n)return a}return!1},_s}var Is,_p;function b5(){if(_p)return Is;_p=1,Is=r;var e=/\s/,t=/(_|-|\.|:)/,o=/([a-z][A-Z]|[A-Z][a-z])/;function r(l){return e.test(l)?l.toLowerCase():t.test(l)?(i(l)||l).toLowerCase():o.test(l)?a(l).toLowerCase():l.toLowerCase()}var n=/[\W_]+(.|$)/g;function i(l){return l.replace(n,function(c,d){return d?" "+d:""})}var s=/(.)([A-Z]+)/g;function a(l){return l.replace(s,function(c,d,h){return d+" "+h.toLowerCase().split("").join(" ")})}return Is}var Ns,Ip;function v5(){if(Ip)return Ns;Ip=1;var e=b5();Ns=t;function t(o){return e(o).replace(/[\W_]+(.|$)/g,function(r,n){return n?" "+n:""}).trim()}return Ns}var js,Np;function y5(){if(Np)return js;Np=1;var e=v5();js=t;function t(o){return e(o).replace(/\s(\w)/g,function(r,n){return n.toUpperCase()})}return js}var Xs,jp;function x5(){if(jp)return Xs;jp=1;var e={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};return Xs=function(t,o){return typeof o=="number"&&!e[t]?o+"px":o},Xs}var Xp;function qg(){if(Xp)return Ir.exports;Xp=1;var e=m5(),t=y5(),o={float:"cssFloat"},r=x5();function n(l,c,d){var h=o[c];if(typeof h>"u"&&(h=s(c)),h){if(d===void 0)return l.style[h];l.style[h]=r(h,d)}}function i(l,c){for(var d in c)c.hasOwnProperty(d)&&n(l,d,c[d])}function s(l){var c=t(l),d=e(c);return o[c]=o[l]=o[d]=d,d}function a(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:i(arguments[0],arguments[1]):n(arguments[0],arguments[1],arguments[2])}return Ir.exports=a,Ir.exports.set=a,Ir.exports.get=function(l,c){return Array.isArray(c)?c.reduce(function(d,h){return d[h]=n(l,h||""),d},{}):n(l,c||"")},Ir.exports}var Nr={},Un={},Fp;function w5(){if(Fp)return Un;Fp=1,Object.defineProperty(Un,"__esModule",{value:!0});function e(t){if(!t)return 0;var o=t.clientHeight,r=getComputedStyle(t),n=r.paddingTop,i=r.paddingBottom;return o-parseFloat(n)-parseFloat(i)}return Un.default=e,Un}var Vn={},Up;function k5(){if(Up)return Vn;Up=1,Object.defineProperty(Vn,"__esModule",{value:!0});function e(t){if(!t)return 0;var o=t.clientWidth,r=getComputedStyle(t),n=r.paddingLeft,i=r.paddingRight;return o-parseFloat(n)-parseFloat(i)}return Vn.default=e,Vn}var or={},Vp;function A5(){if(Vp)return or;Vp=1;var e=or&&or.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(or,"__esModule",{value:!0});var t=e(qg()),o=void 0,r=s();function n(){var a=s();return r!==a&&(o=i()),typeof o=="number"?o:(typeof document<"u"?o=i():o=0,o||0)}or.default=n;function i(){var a=document.createElement("div");(0,t.default)(a,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(a);var l=a.offsetWidth-a.clientWidth;return document.body.removeChild(a),l}function s(){return typeof window>"u"?1:window.screen.availWidth/document.documentElement.clientWidth}return or}var Gn={},Gp;function S5(){if(Gp)return Gn;Gp=1,Object.defineProperty(Gn,"__esModule",{value:!0});function e(t){return typeof t=="string"}return Gn.default=e,Gn}var go={},qp;function C5(){if(qp)return go;qp=1;var e=go&&go.__assign||function(){return e=Object.assign||function(i){for(var s,a=1,l=arguments.length;a<l;a++){s=arguments[a];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(i[c]=s[c])}return i},e.apply(this,arguments)},t=go&&go.__rest||function(i,s){var a={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&s.indexOf(l)<0&&(a[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(i);c<l.length;c++)s.indexOf(l[c])<0&&Object.prototype.propertyIsEnumerable.call(i,l[c])&&(a[l[c]]=i[l[c]]);return a};Object.defineProperty(go,"__esModule",{value:!0});var o={root:"rc-scrollbars-container",view:"rc-scrollbars-view",trackVertical:"rc-scrollbars-track rc-scrollbars-track-v",trackHorizontal:"rc-scrollbars-track rc-scrollbars-track-h",thumbVertical:"rc-scrollbars-thumb rc-scrollbars-thumb-v",thumbHorizontal:"rc-scrollbars-thumb rc-scrollbars-thumb-h"};function r(i,s){return s?Object.keys(i).reduce(function(a,l){return a[l]="".concat(i[l]," ").concat(s[l]||""),a},{}):i}function n(i){var s=i.className,a=i.classes,l=o.root,c=t(o,["root"]);return e({root:[l,s,a==null?void 0:a.root].filter(Boolean).join(" ")},r(c,i.classes))}return go.default=n,go}var qn={},Jp;function O5(){if(Jp)return qn;Jp=1,Object.defineProperty(qn,"__esModule",{value:!0});function e(){return!1}return qn.default=e,qn}var Wp;function E5(){return Wp||(Wp=1,(function(e){var t=Nr&&Nr.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFalse=e.getFinalClasses=e.isString=e.getScrollbarWidth=e.getInnerWidth=e.getInnerHeight=void 0;var o=w5();Object.defineProperty(e,"getInnerHeight",{enumerable:!0,get:function(){return t(o).default}});var r=k5();Object.defineProperty(e,"getInnerWidth",{enumerable:!0,get:function(){return t(r).default}});var n=A5();Object.defineProperty(e,"getScrollbarWidth",{enumerable:!0,get:function(){return t(n).default}});var i=S5();Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return t(i).default}});var s=C5();Object.defineProperty(e,"getFinalClasses",{enumerable:!0,get:function(){return t(s).default}});var a=O5();Object.defineProperty(e,"returnFalse",{enumerable:!0,get:function(){return t(a).default}})})(Nr)),Nr}var To={},Yp;function P5(){if(Yp)return To;Yp=1;var e=To&&To.__assign||function(){return e=Object.assign||function(o){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(o[s]=r[s])}return o},e.apply(this,arguments)};Object.defineProperty(To,"__esModule",{value:!0}),To.createStyles=void 0;function t(o){var r=e({position:"absolute",right:2,bottom:2,zIndex:100},!o&&{borderRadius:3});return{containerStyleDefault:{position:"relative",overflow:"hidden",width:"100%",height:"100%"},containerStyleAutoHeight:{height:"auto"},viewStyleDefault:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},viewStyleAutoHeight:{position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},viewStyleUniversalInitial:{overflow:"hidden",marginRight:0,marginBottom:0},trackHorizontalStyleDefault:e(e({},r),{left:2,height:6}),trackVerticalStyleDefault:e(e({},r),{top:2,width:6}),thumbStyleDefault:e({position:"relative",display:"block",height:"100%",cursor:"pointer",borderRadius:"inherit"},!o&&{backgroundColor:"rgba(0,0,0,.2)"}),disableSelectStyle:{userSelect:"none"},disableSelectStyleReset:{userSelect:"auto"}}}return To.createStyles=t,To}var Qp;function T5(){if(Qp)return rt;Qp=1;var e=rt&&rt.__extends||(function(){var v=function(g,p){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,y){m.__proto__=y}||function(m,y){for(var C in y)Object.prototype.hasOwnProperty.call(y,C)&&(m[C]=y[C])},v(g,p)};return function(g,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");v(g,p);function m(){this.constructor=g}g.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}})(),t=rt&&rt.__assign||function(){return t=Object.assign||function(v){for(var g,p=1,m=arguments.length;p<m;p++){g=arguments[p];for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&(v[y]=g[y])}return v},t.apply(this,arguments)},o=rt&&rt.__createBinding||(Object.create?(function(v,g,p,m){m===void 0&&(m=p);var y=Object.getOwnPropertyDescriptor(g,p);(!y||("get"in y?!g.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return g[p]}}),Object.defineProperty(v,m,y)}):(function(v,g,p,m){m===void 0&&(m=p),v[m]=g[p]})),r=rt&&rt.__setModuleDefault||(Object.create?(function(v,g){Object.defineProperty(v,"default",{enumerable:!0,value:g})}):function(v,g){v.default=g}),n=rt&&rt.__importStar||function(v){if(v&&v.__esModule)return v;var g={};if(v!=null)for(var p in v)p!=="default"&&Object.prototype.hasOwnProperty.call(v,p)&&o(g,v,p);return r(g,v),g},i=rt&&rt.__rest||function(v,g){var p={};for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&g.indexOf(m)<0&&(p[m]=v[m]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,m=Object.getOwnPropertySymbols(v);y<m.length;y++)g.indexOf(m[y])<0&&Object.prototype.propertyIsEnumerable.call(v,m[y])&&(p[m[y]]=v[m[y]]);return p},s=rt&&rt.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(rt,"__esModule",{value:!0}),rt.Scrollbars=void 0;var a=n(zp),l=zp,c=n(g5()),d=s(qg()),h=E5(),f=P5(),b=(function(v){e(g,v);function g(p){var m=v.call(this,p)||this;return m.container=null,m.dragging=!1,m.scrolling=!1,m.trackMouseOver=!1,m.styles=(0,f.createStyles)(m.props.disableDefaultStyles),m.getScrollLeft=m.getScrollLeft.bind(m),m.getScrollTop=m.getScrollTop.bind(m),m.getScrollWidth=m.getScrollWidth.bind(m),m.getScrollHeight=m.getScrollHeight.bind(m),m.getClientWidth=m.getClientWidth.bind(m),m.getClientHeight=m.getClientHeight.bind(m),m.getValues=m.getValues.bind(m),m.getThumbHorizontalWidth=m.getThumbHorizontalWidth.bind(m),m.getThumbVerticalHeight=m.getThumbVerticalHeight.bind(m),m.getScrollLeftForOffset=m.getScrollLeftForOffset.bind(m),m.getScrollTopForOffset=m.getScrollTopForOffset.bind(m),m.scrollLeft=m.scrollLeft.bind(m),m.scrollTop=m.scrollTop.bind(m),m.scrollToLeft=m.scrollToLeft.bind(m),m.scrollToTop=m.scrollToTop.bind(m),m.scrollToRight=m.scrollToRight.bind(m),m.scrollToBottom=m.scrollToBottom.bind(m),m.handleTrackMouseEnter=m.handleTrackMouseEnter.bind(m),m.handleTrackMouseLeave=m.handleTrackMouseLeave.bind(m),m.handleHorizontalTrackMouseDown=m.handleHorizontalTrackMouseDown.bind(m),m.handleVerticalTrackMouseDown=m.handleVerticalTrackMouseDown.bind(m),m.handleHorizontalThumbMouseDown=m.handleHorizontalThumbMouseDown.bind(m),m.handleVerticalThumbMouseDown=m.handleVerticalThumbMouseDown.bind(m),m.handleWindowResize=m.handleWindowResize.bind(m),m.handleScroll=m.handleScroll.bind(m),m.handleDrag=m.handleDrag.bind(m),m.handleDragEnd=m.handleDragEnd.bind(m),m.state={didMountUniversal:!1,scrollbarWidth:(0,h.getScrollbarWidth)()},m}return g.prototype.componentDidMount=function(){this.addListeners(),this.update(),this.componentDidMountUniversal()},g.prototype.componentDidMountUniversal=function(){var p=this.props.universal;p&&this.setState({didMountUniversal:!0})},g.prototype.componentDidUpdate=function(){this.update()},g.prototype.componentWillUnmount=function(){this.removeListeners(),this.requestFrame&&(0,c.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)},g.prototype.getScrollLeft=function(){return this.view?this.view.scrollLeft:0},g.prototype.getScrollTop=function(){return this.view?this.view.scrollTop:0},g.prototype.getScrollWidth=function(){return this.view?this.view.scrollWidth:0},g.prototype.getScrollHeight=function(){return this.view?this.view.scrollHeight:0},g.prototype.getClientWidth=function(){return this.view?this.view.clientWidth:0},g.prototype.getClientHeight=function(){return this.view?this.view.clientHeight:0},g.prototype.getValues=function(){var p=this.view||{},m=p.scrollLeft,y=m===void 0?0:m,C=p.scrollTop,A=C===void 0?0:C,S=p.scrollWidth,M=S===void 0?0:S,H=p.scrollHeight,I=H===void 0?0:H,W=p.clientWidth,K=W===void 0?0:W,V=p.clientHeight,te=V===void 0?0:V;return{left:y/(M-K)||0,top:A/(I-te)||0,scrollLeft:y,scrollTop:A,scrollWidth:M,scrollHeight:I,clientWidth:K,clientHeight:te}},g.prototype.getThumbHorizontalWidth=function(){if(!this.view||!this.trackHorizontal)return 0;var p=this.props,m=p.thumbSize,y=p.thumbMinSize,C=this.view,A=C.scrollWidth,S=C.clientWidth,M=(0,h.getInnerWidth)(this.trackHorizontal),H=Math.ceil(S/A*M);return M===H?0:m||Math.max(H,y)},g.prototype.getThumbVerticalHeight=function(){if(!this.view||!this.trackVertical)return 0;var p=this.props,m=p.thumbSize,y=p.thumbMinSize,C=this.view,A=C.scrollHeight,S=C.clientHeight,M=(0,h.getInnerHeight)(this.trackVertical),H=Math.ceil(S/A*M);return M===H?0:m||Math.max(H,y)},g.prototype.getScrollLeftForOffset=function(p){if(!this.view||!this.trackHorizontal)return 0;var m=this.view,y=m.scrollWidth,C=m.clientWidth,A=(0,h.getInnerWidth)(this.trackHorizontal),S=this.getThumbHorizontalWidth();return p/(A-S)*(y-C)},g.prototype.getScrollTopForOffset=function(p){if(!this.view||!this.trackVertical)return 0;var m=this.view,y=m.scrollHeight,C=m.clientHeight,A=(0,h.getInnerHeight)(this.trackVertical),S=this.getThumbVerticalHeight();return p/(A-S)*(y-C)},g.prototype.scrollLeft=function(p){p===void 0&&(p=0),this.view&&(this.view.scrollLeft=p)},g.prototype.scrollTop=function(p){p===void 0&&(p=0),this.view&&(this.view.scrollTop=p)},g.prototype.scrollToLeft=function(){this.view&&(this.view.scrollLeft=0)},g.prototype.scrollToTop=function(){this.view&&(this.view.scrollTop=0)},g.prototype.scrollToRight=function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)},g.prototype.scrollToBottom=function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)},g.prototype.scrollToY=function(p){this.view&&(this.view.scrollTop=p)},g.prototype.addListeners=function(){if(!(typeof document>"u"||!this.view||!this.trackHorizontal||!this.trackVertical||!this.thumbVertical||!this.thumbHorizontal)){var p=this,m=p.view,y=p.trackHorizontal,C=p.trackVertical,A=p.thumbHorizontal,S=p.thumbVertical;m.addEventListener("scroll",this.handleScroll),this.state.scrollbarWidth&&(y.addEventListener("mouseenter",this.handleTrackMouseEnter),y.addEventListener("mouseleave",this.handleTrackMouseLeave),y.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),C.addEventListener("mouseenter",this.handleTrackMouseEnter),C.addEventListener("mouseleave",this.handleTrackMouseLeave),C.addEventListener("mousedown",this.handleVerticalTrackMouseDown),A.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),S.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}},g.prototype.removeListeners=function(){if(!(typeof document>"u"||!this.view||!this.trackHorizontal||!this.trackVertical||!this.thumbVertical||!this.thumbHorizontal)){var p=this,m=p.view,y=p.trackHorizontal,C=p.trackVertical,A=p.thumbHorizontal,S=p.thumbVertical;m.removeEventListener("scroll",this.handleScroll),this.state.scrollbarWidth&&(y.removeEventListener("mouseenter",this.handleTrackMouseEnter),y.removeEventListener("mouseleave",this.handleTrackMouseLeave),y.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),C.removeEventListener("mouseenter",this.handleTrackMouseEnter),C.removeEventListener("mouseleave",this.handleTrackMouseLeave),C.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),A.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),S.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}},g.prototype.handleScroll=function(p){var m=this,y=this.props,C=y.onScroll,A=y.onScrollFrame;C&&C(p),this.update(function(S){var M=S.scrollLeft,H=S.scrollTop;m.viewScrollLeft=M,m.viewScrollTop=H,A&&A(S)}),this.detectScrolling()},g.prototype.handleScrollStart=function(){var p=this.props.onScrollStart;p&&p(),this.handleScrollStartAutoHide()},g.prototype.handleScrollStartAutoHide=function(){var p=this.props.autoHide;p&&this.showTracks()},g.prototype.handleScrollStop=function(){var p=this.props.onScrollStop;p&&p(),this.handleScrollStopAutoHide()},g.prototype.handleScrollStopAutoHide=function(){var p=this.props.autoHide;p&&this.hideTracks()},g.prototype.handleWindowResize=function(){this.update()},g.prototype.handleHorizontalTrackMouseDown=function(p){if(this.view){p.preventDefault();var m=p.target,y=p.clientX,C=m.getBoundingClientRect().left,A=this.getThumbHorizontalWidth(),S=Math.abs(C-y)-A/2;this.view.scrollLeft=this.getScrollLeftForOffset(S)}},g.prototype.handleVerticalTrackMouseDown=function(p){if(this.view){p.preventDefault();var m=p.target,y=p.clientY,C=m.getBoundingClientRect().top,A=this.getThumbVerticalHeight(),S=Math.abs(C-y)-A/2;this.view.scrollTop=this.getScrollTopForOffset(S)}},g.prototype.handleHorizontalThumbMouseDown=function(p){p.preventDefault(),this.handleDragStart(p);var m=p.target,y=p.clientX,C=m.offsetWidth,A=m.getBoundingClientRect().left;this.prevPageX=C-(y-A)},g.prototype.handleVerticalThumbMouseDown=function(p){p.preventDefault(),this.handleDragStart(p);var m=p.target,y=p.clientY,C=m.offsetHeight,A=m.getBoundingClientRect().top;this.prevPageY=C-(y-A)},g.prototype.setupDragging=function(){(0,d.default)(document.body,this.styles.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=h.returnFalse},g.prototype.teardownDragging=function(){(0,d.default)(document.body,this.styles.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=null},g.prototype.handleDragStart=function(p){this.dragging=!0,p.stopImmediatePropagation(),this.setupDragging()},g.prototype.handleDrag=function(p){if(this.prevPageX&&this.trackHorizontal&&this.view){var m=p.clientX,y=this.trackHorizontal.getBoundingClientRect().left,C=this.getThumbHorizontalWidth(),A=C-this.prevPageX,S=-y+m-A;this.view.scrollLeft=this.getScrollLeftForOffset(S)}if(this.prevPageY&&this.trackVertical&&this.view){var M=p.clientY,H=this.trackVertical.getBoundingClientRect().top,I=this.getThumbVerticalHeight(),A=I-this.prevPageY,S=-H+M-A;this.view.scrollTop=this.getScrollTopForOffset(S)}return!1},g.prototype.handleDragEnd=function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()},g.prototype.handleDragEndAutoHide=function(){var p=this.props.autoHide;p&&this.hideTracks()},g.prototype.handleTrackMouseEnter=function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()},g.prototype.handleTrackMouseEnterAutoHide=function(){var p=this.props.autoHide;p&&this.showTracks()},g.prototype.handleTrackMouseLeave=function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()},g.prototype.handleTrackMouseLeaveAutoHide=function(){var p=this.props.autoHide;p&&this.hideTracks()},g.prototype.showTracks=function(){clearTimeout(this.hideTracksTimeout),(0,d.default)(this.trackHorizontal,{opacity:1}),(0,d.default)(this.trackVertical,{opacity:1})},g.prototype.hideTracks=function(){var p=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var m=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,d.default)(p.trackHorizontal,{opacity:0}),(0,d.default)(p.trackVertical,{opacity:0})},m)}},g.prototype.detectScrolling=function(){var p=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){p.lastViewScrollLeft===p.viewScrollLeft&&p.lastViewScrollTop===p.viewScrollTop&&(clearInterval(p.detectScrollingInterval),p.scrolling=!1,p.handleScrollStop()),p.lastViewScrollLeft=p.viewScrollLeft,p.lastViewScrollTop=p.viewScrollTop},100))},g.prototype.raf=function(p){var m=this;this.requestFrame&&c.default.cancel(this.requestFrame),this.requestFrame=(0,c.default)(function(){m.requestFrame=void 0,p()})},g.prototype.update=function(p){var m=this;this.raf(function(){return m._update(p)})},g.prototype._update=function(p){var m=this.props,y=m.onUpdate,C=m.hideTracksWhenNotNeeded,A=this.getValues(),S=(0,h.getScrollbarWidth)();if(this.state.scrollbarWidth!==S&&this.setState({scrollbarWidth:S}),this.state.scrollbarWidth){var M=A.scrollLeft,H=A.clientWidth,I=A.scrollWidth,W=(0,h.getInnerWidth)(this.trackHorizontal),K=this.getThumbHorizontalWidth(),V=M/(I-H)*(W-K),te={width:K,transform:"translateX(".concat(V,"px)")},He=A.scrollTop,be=A.clientHeight,we=A.scrollHeight,Je=(0,h.getInnerHeight)(this.trackVertical),Se=this.getThumbVerticalHeight(),ke=He/(we-be)*(Je-Se),ot={height:Se,transform:"translateY(".concat(ke,"px)")};if(C){var Z={visibility:I>H?"visible":"hidden"},fe={visibility:we>be?"visible":"hidden"};(0,d.default)(this.trackHorizontal,Z),(0,d.default)(this.trackVertical,fe)}(0,d.default)(this.thumbHorizontal,te),(0,d.default)(this.thumbVertical,ot)}y&&y(A),typeof p=="function"&&p(A)},g.prototype.render=function(){var p=this,m=this.state,y=m.scrollbarWidth,C=m.didMountUniversal,A=this.props,S=A.autoHeight,M=A.autoHeightMax,H=A.autoHeightMin,I=A.autoHide,W=A.autoHideDuration;A.autoHideTimeout;var K=A.children;A.classes,A.hideTracksWhenNotNeeded,A.onScroll,A.onScrollFrame,A.onScrollStart,A.onScrollStop,A.onUpdate;var V=A.renderThumbHorizontal,te=A.renderThumbVertical,He=A.renderTrackHorizontal,be=A.renderTrackVertical,we=A.renderView,Je=A.style,Se=A.tagName;A.thumbMinSize,A.thumbSize;var ke=A.universal;A.disableDefaultStyles;var ot=i(A,["autoHeight","autoHeightMax","autoHeightMin","autoHide","autoHideDuration","autoHideTimeout","children","classes","hideTracksWhenNotNeeded","onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderThumbHorizontal","renderThumbVertical","renderTrackHorizontal","renderTrackVertical","renderView","style","tagName","thumbMinSize","thumbSize","universal","disableDefaultStyles"]),Z=this.styles,fe=Z.containerStyleAutoHeight,N=Z.containerStyleDefault,j=Z.thumbStyleDefault,U=Z.trackHorizontalStyleDefault,G=Z.trackVerticalStyleDefault,T=Z.viewStyleAutoHeight,oe=Z.viewStyleDefault,_=Z.viewStyleUniversalInitial,de=t(t(t({},N),S&&t(t({},fe),{minHeight:H,maxHeight:M})),Je),se=t(t(t(t(t({},oe),{marginRight:y?-y:0,marginBottom:y?-y:0}),S&&t(t({},T),{minHeight:typeof H=="string"?"calc(".concat(H," + ").concat(y,"px)"):H+y,maxHeight:typeof M=="string"?"calc(".concat(M," + ").concat(y,"px)"):M+y})),S&&ke&&!C&&{minHeight:H,maxHeight:M}),ke&&!C&&_),ge={transition:"opacity ".concat(W,"ms"),opacity:0},Y=t(t(t({},U),I&&ge),(!y||ke&&!C)&&{display:"none"}),w=t(t(t({},G),I&&ge),(!y||ke&&!C)&&{display:"none"}),O=(0,h.getFinalClasses)(this.props);return(0,l.createElement)(Se,t(t({},ot),{className:O.root,style:de,ref:function(x){p.container=x}}),[(0,l.cloneElement)(we({style:se,className:O.view}),{key:"view",ref:function(x){p.view=x}},K),(0,l.cloneElement)(He({style:Y,className:O.trackHorizontal}),{key:"trackHorizontal",ref:function(x){p.trackHorizontal=x}},(0,l.cloneElement)(V({style:j,className:O.thumbHorizontal}),{ref:function(x){p.thumbHorizontal=x}})),(0,l.cloneElement)(be({style:w,className:O.trackVertical}),{key:"trackVertical",ref:function(x){p.trackVertical=x}},(0,l.cloneElement)(te({style:j,className:O.thumbVertical}),{ref:function(x){p.thumbVertical=x}}))])},g.defaultProps={autoHeight:!1,autoHeightMax:200,autoHeightMin:0,autoHide:!1,autoHideDuration:200,autoHideTimeout:1e3,disableDefaultStyles:!1,hideTracksWhenNotNeeded:!1,renderThumbHorizontal:function(p){return a.createElement("div",t({},p))},renderThumbVertical:function(p){return a.createElement("div",t({},p))},renderTrackHorizontal:function(p){return a.createElement("div",t({},p))},renderTrackVertical:function(p){return a.createElement("div",t({},p))},renderView:function(p){return a.createElement("div",t({},p))},tagName:"div",thumbMinSize:30,universal:!1},g})(l.Component);return rt.Scrollbars=b,rt}var Zp;function R5(){return Zp||(Zp=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=T5();Object.defineProperty(e,"Scrollbars",{enumerable:!0,get:function(){return t.Scrollbars}}),e.default=t.Scrollbars})(Ls)),Ls}var M5=R5(),oi;const nu=nv((oi=class extends wr{constructor(){super(...arguments);Ae(this,"scrollable",null);Ae(this,"ts",0);Ae(this,"state",{scrollTop:0,scrollHeight:0,clientHeight:0});Ae(this,"handleTouchStart",o=>{this.ts=o.touches[0].clientY});Ae(this,"handleTouchMove",o=>{if(!this.props.isolate||!this.scrollable)return!0;const r=this.scrollable.parentNode;if(!r)return;const n=o.changedTouches[0].clientY,i=this.ts>n?-1:1,s=i===1&&r.scrollTop===0,a=i===-1&&Math.floor(r.scrollTop)===r.scrollHeight-r.clientHeight;return(s||a)&&(o.preventDefault(),this.ts=n),!0});Ae(this,"handleScroll",o=>{if(!this.props.isolate||!this.scrollable)return!0;const r=this.scrollable.parentNode;if(!r)return;const n=(o.deltaY||o.detail)<0?1:-1;return(n===1&&r.scrollTop===0||n===-1&&r.scrollTop===r.scrollHeight-r.clientHeight)&&o.preventDefault(),!0});Ae(this,"handleUpdate",o=>{const{scrollTop:r,scrollHeight:n,clientHeight:i}=o;this.setState({scrollTop:r,scrollHeight:n,clientHeight:i})});Ae(this,"hexToRgb",o=>{const r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(o);return r?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null});Ae(this,"renderTrack",({style:o,...r},n)=>{const{trackColor:i,trackOpacity:s,trackBorderRadius:a,trackWidth:l}=this.props,c=i?this.hexToRgb(i):null,d={background:c?`rgba(${c.r}, ${c.g}, ${c.b}, ${s})`:"rgba(255,255,255,0)",borderRadius:`${a}px`,zIndex:14,...n==="vertical"?{right:4,top:2,bottom:2,width:`${l}px`}:{bottom:4,left:2,right:2,height:`${l}px`}};return u("div",{style:{...o,...d},...r})});Ae(this,"renderThumb",({style:o,...r})=>{const{thumbColor:n,thumbOpacity:i,thumbBorderRadius:s,thumbWidth:a}=this.props;return u("div",{style:{...o,opacity:i,backgroundColor:this.props.theme.colors[n],borderRadius:`${s}px`,width:`${a}px`},...r})})}componentDidMount(){this.scrollable&&this.scrollable.parentNode&&(this.scrollable.parentNode.addEventListener("touchstart",this.handleTouchStart,!1),this.scrollable.parentNode.addEventListener("touchmove",this.handleTouchMove,!1),this.scrollable.parentNode.addEventListener("wheel",this.handleScroll,!1),this.scrollable.parentNode.addEventListener("scroll",this.handleScroll,!1))}componentWillUnmount(){this.scrollable&&this.scrollable.parentNode&&(this.scrollable.parentNode.removeEventListener("touchstart",this.handleTouchStart),this.scrollable.parentNode.removeEventListener("touchmove",this.handleTouchMove),this.scrollable.parentNode.removeEventListener("wheel",this.handleScroll),this.scrollable.parentNode.removeEventListener("scroll",this.handleScroll))}calculateShadowOffset(){const{scrollTop:o,scrollHeight:r,clientHeight:n}=this.state,{shadowHeight:i=50}=this.props,s=r-n||0;return Math.floor(i*(o*100/(s<=0?1:s))/100-i)}render(){const{children:o,withShadow:r,shadowHeight:n,shadowColor:i,shadowOpacity:s,className:a,thumbColor:l,thumbOpacity:c,thumbBorderRadius:d,thumbWidth:h,trackColor:f,trackOpacity:b,trackBorderRadius:v,trackWidth:g,isolate:p,style:m,disabled:y,...C}=this.props;if(y)return u("div",{children:o});const{scrollHeight:A,clientHeight:S}=this.state,M=this.calculateShadowOffset();return u("div",{style:{...m,position:"relative"},className:a,children:[r&&A>S&&M!==-n?u("div",{style:{position:"absolute",display:"block",height:`${n}px`,left:0,right:0,top:`-${n}px`,opacity:s,backgroundImage:`linear-gradient(to bottom, ${this.props.theme.colors[i]} 20%, rgba(255, 255, 255, 0) 100%)`,transform:`translateY(${n+M}px)`,zIndex:10}}):null,r&&A>S&&M<0?u("div",{style:{position:"absolute",display:"block",height:`${n}px`,left:0,right:0,bottom:0,opacity:s,backgroundImage:`linear-gradient(to top, ${this.props.theme.colors[i]} 20%, rgba(255, 255, 255, 0) 100%)`,transform:`translateY(${n+M}px)`,zIndex:10}}):null,u(M5.Scrollbars,{renderTrackVertical:H=>this.renderTrack({...H},"vertical"),renderTrackHorizontal:H=>this.renderTrack({...H},"horizontal"),renderThumbHorizontal:this.renderThumb,renderThumbVertical:this.renderThumb,onUpdate:this.handleUpdate,hideTracksWhenNotNeeded:!0,...C,children:u("div",{ref:H=>{this.scrollable=H},children:o})})]})}},Ae(oi,"displayName","Scrollable"),Ae(oi,"defaultProps",{autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,withShadow:!1,shadowHeight:50,shadowOpacity:.15,shadowColor:"mineShaft",thumbColor:"mineShaft",thumbOpacity:.15,thumbBorderRadius:1,thumbWidth:4,trackColor:"#333333",trackOpacity:.15,trackBorderRadius:1,trackWidth:4,disabled:!1,isolate:!0}),oi));nu.displayName="Scrollable";const z5={1:"0.05em",2:"0.1em",3:"0.15em",4:"0.25em",5:"0.3em"},H5=k(xe).withConfig({displayName:"Separator__Text",componentId:"ui__sc-b5xwi9-0"})(["position:absolute;z-index:1;display:inline-block;left:50%;top:50%;transform:translate(-50%,-50%);padding:0 12px;background-color:",";"],e=>e.theme.colors.white),B5=k.div.withConfig({displayName:"Separator__TextRoot",componentId:"ui__sc-b5xwi9-1"})(["display:block;width:auto;position:relative;z-index:0;text-align:center;"]),D5=k.div.withConfig({shouldForwardProp:e=>["children","className","style"].includes(e)}).withConfig({displayName:"Separator__Root",componentId:"ui__sc-b5xwi9-2"})(["display:block;width:auto;background-color:currentcolor;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],e=>R(["height:",";"],z5[e.weight||1]),e=>e.color?ln(e.color,"color"):null,e=>e.padding?pe(e.padding,"padding"):null,e=>e.paddingTop?pe(e.paddingTop,"padding-top"):null,e=>e.paddingRight?pe(e.paddingRight,"padding-right"):null,e=>e.paddingBottom?pe(e.paddingBottom,"padding-bottom"):null,e=>e.paddingLeft?pe(e.paddingLeft,"padding-left"):null,e=>e.margin?pe(e.margin,"margin"):null,e=>e.marginTop?pe(e.marginTop,"margin-top"):null,e=>e.marginRight?pe(e.marginRight,"margin-right"):null,e=>e.marginBottom?pe(e.marginBottom,"margin-bottom"):null,e=>e.marginLeft?pe(e.marginLeft,"margin-left"):null,({paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n})=>he({sizes:{paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n},cssProperty:"padding"}),({paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n})=>he({sizes:{paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n},cssProperty:"padding-top"}),({paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n})=>he({sizes:{paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n},cssProperty:"padding-right"}),({paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n})=>he({sizes:{paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n},cssProperty:"padding-bottom"}),({paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n})=>he({sizes:{paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n},cssProperty:"padding-left"}),({marginXS:e,marginS:t,marginM:o,marginL:r,marginXL:n})=>he({sizes:{marginXS:e,marginS:t,marginM:o,marginL:r,marginXL:n},cssProperty:"margin"}),({marginTopXS:e,marginTopS:t,marginTopM:o,marginTopL:r,marginTopXL:n})=>he({sizes:{marginTopXS:e,marginTopS:t,marginTopM:o,marginTopL:r,marginTopXL:n},cssProperty:"margin-top"}),({marginRightXS:e,marginRightS:t,marginRightM:o,marginRightL:r,marginRightXL:n})=>he({sizes:{marginRightXS:e,marginRightS:t,marginRightM:o,marginRightL:r,marginRightXL:n},cssProperty:"margin-right"}),({marginBottomXS:e,marginBottomS:t,marginBottomM:o,marginBottomL:r,marginBottomXL:n})=>he({sizes:{marginBottomXS:e,marginBottomS:t,marginBottomM:o,marginBottomL:r,marginBottomXL:n},cssProperty:"margin-bottom"}),({marginLeftXS:e,marginLeftS:t,marginLeftM:o,marginLeftL:r,marginLeftXL:n})=>he({sizes:{marginLeftXS:e,marginLeftS:t,marginLeftM:o,marginLeftL:r,marginLeftXL:n},cssProperty:"margin-left"}),e=>e.top?pe(e.top,"padding-top"):null,e=>e.right?pe(e.right,"padding-right"):null,e=>e.bottom?pe(e.bottom,"padding-bottom"):null,e=>e.left?pe(e.left,"padding-left"):null,({topXS:e,topS:t,topM:o,topL:r,topXL:n})=>he({sizes:{topXS:e,topS:t,topM:o,topL:r,topXL:n},cssProperty:"padding-top"}),({rightXS:e,rightS:t,rightM:o,rightL:r,rightXL:n})=>he({sizes:{rightXS:e,rightS:t,rightM:o,rightL:r,rightXL:n},cssProperty:"padding-right"}),({bottomXS:e,bottomS:t,bottomM:o,bottomL:r,bottomXL:n})=>he({sizes:{bottomXS:e,bottomS:t,bottomM:o,bottomL:r,bottomXL:n},cssProperty:"padding-bottom"}),({leftXS:e,leftS:t,leftM:o,leftL:r,leftXL:n})=>he({sizes:{leftXS:e,leftS:t,leftM:o,leftL:r,leftXL:n},cssProperty:"padding-left"}));function L5({children:e,className:t,color:o,...r}){return u(B5,{children:[u(hr,{className:t,color:o,...r}),u(H5,{color:o,children:e})]})}function hr(e){return u(D5,{...e})}hr.defaultProps={margin:"s",color:"grey",weight:1},hr.Text=L5,hr.displayName="Separator";const rc={l:60,m:40,s:20},_5=Qo(["to{transform:rotate(360deg);}"]),I5=R(["height:100vh;margin:0 auto;display:flex;align-items:center;justify-content:center;"]),N5=R(["display:inline-block;vertical-align:middle;margin:0;"]),Kp=(e,t="px")=>e===0?null:R(["width:","",";height:","",";&:before{width:","",";height:","",";margin-top:-","",";margin-left:-","",";}"],e,t,e,t,e,t,e,t,e/2,t,e/2,t),jr=e=>e&&typeof e!="boolean"?typeof e=="number"?e:rc[e]?rc[e]:0:0,j5=k.div.withConfig({shouldForwardProp:e=>["className","style"].includes(e)}).withConfig({displayName:"Spinner__Root",componentId:"ui__sc-1ejsorp-0"})(["display:block;position:relative;margin:30px auto;&:before{content:'';box-sizing:border-box;position:absolute;top:50%;left:50%;border-radius:50%;border:2px solid #eeeeee;border-top-color:#459ff3;animation:"," 0.6s linear infinite;}"," "," "," ",""],_5,e=>e.inline?N5:null,e=>e.size?pe(rc[e.size]||e.size,Kp):null,({sizeXS:e,sizeS:t,sizeM:o,sizeL:r,sizeXL:n})=>he({sizes:{sizeXS:jr(e),sizeS:jr(t),sizeM:jr(o),sizeL:jr(r),sizeXL:jr(n)},cssProperty:Kp}),e=>e.fullscreen?I5:null);function un({className:e,...t}){const o=Sr(un.displayName,e);return u(j5,{className:o,...t})}un.defaultProps={size:"m"},un.displayName="Spinner";const nc=Object.freeze({facebook:"#0561af",twitter:"#00bff3",youtube:"#ff0000",instagrammagenta:"#c32aa3",instagramblue:"#4c5fd7",instagrampurple:"#7232bd",instagramorange:"#f46f30",instagramyellow:"#ffdc7d",pinterest:"#cb2027",googleplus:"#df4a32",linkedin:"#007bb6",vimeoblue:"#45bbff",vimeogreen:"#aad450",vimeoorange:"#f7b42c",vimeopink:"#f27490",tumblr:"#2c4762",snapchat:"#fffc00",whatsappgreen:"#25d366",whatsappteal1:"#075e54",whatsappteal2:"#128c7e",foursquarepink:"#fc4575",foursquareblue:"#2d5be3",swarm:"#ffb000",skypeblue:"#00aff0",skypegreen:"#7fba00",android:"#a4c639",stumbleupon:"#eb4924",flickrpink:"#f40083",flickrblue:"#006add",yahoo:"#430297",soundcloud:"#ff5500",spotifygreen:"#1ed760",spotifydarkgreen:"#1db954",dribbble:"#ea4c89",reddit:"#ff5700",deviantart:"#4a5d4e",pocket:"#ee4056",quora:"#aa2200",quorablue:"#2b6dad",slideshareorange:"#f7941e",slideshareblue:"#1191d0",telegram:"#0088cc",fivehundredpx:"#0099e5",listlyorange:"#df6d46",listlyblue:"#52b1b3",vine:"#00b489",vk:"#4d75a2",ok:"#ee8208",mailru:"#158DE2"}),Q=Object.freeze({white:"#ffffff",black:"#000000",tundora:"#4a4a4a",paleSky:"#697389",bostonBlue:"#0060d0",atlantisBrightly:"#99cc33",cinnabar:"#e00000",sail:"#a9dbf8",bittersweet:"#ff6666",turquoise:"#33cccc",dodgerBlue:"#33ccff",mantis:"#66cc66",azure:"#336699",bahamaBlue:"#006699",shamrock:"#33cc99",olive:"#999900",copperRose:"#996666",cyan:"#3399ff",plum:"#993399",hokeyPokey:"#cc9933",monaLisa:"#ff9999",mariner:"#3366cc",heliotrope:"#cc33ff",dandelion:"#ffce03",fruitSalad:"#49a15d",fuchsiaBlue:"#8d58bc",persianGreen:"#009999",watermelon:"#ff4679",tropaz:"#2863a8",lima:"#5fd0da",mintTulip:"#bfecf0",carnationPink:"#ffa6ce",paleRose:"#ffdcec",deYork:"#82d180",peppermint:"#cdedcc",cornflowerBlue:"#62aee9",colonialWhite:"#fdedd2",cherokee:"#fbd291",supernova:"#ffce03",picasso:"#ffeb9a",bilobaFlower:"#9fafe9",linkWater:"#d8dff6",transparent:"transparent",mineShaft:"#333333",silver:"#b8b8b8",alto:"#d4d4d4",mercury:"#e9e9e9",wildSand:"#f6f6f6",whiteGray:"#eaeaea",alabaster:"#f8f8f8",whiteLilac:"#F6F7FB",atlantis:"#7fc92e",yellowOrange:"#ffb334",mystic:"#dcdfea",pomegranate:"#f94b28",oliveDrab:"#6ca82a",curious:"#007CEE",orangePeel:"#ff9900",nebula:"#d8e6e2",seaNymph:"#7ca79b",chromeWhite:"#daefc9",onahau:"#c6e6ff",citrineWhite:"#faf3dd",coralReef:"#c9c1a6",creemBrulee:"#ffe89e",frangipani:"#ffdcb5",yourPink:"#ffc2c2",periwinkleGray:"#d4d9ee",baliHai:"#8890b4",primary:"#ff732b",accent:"#1A96F6",catalinaBlue:"#023178",danube:"#759BD7",midnightDeep:"#00276E",anakiva:"#86caff",azureRadiance:"#007cee",blueMarguerite:"#6c6ace",blueViolet:"#5958b4",bossanova:"#4c2864",capeCod:"#3f4d4d",cerulean:"#00a6de",congressBlue:"#004484",congressBlueLight:"#00498f",creamBrulee:"#ffe89e",denim:"#117bdc",earlyDawn:"#FFFAEA",eminence:"#57296F",endeavour:"#0055a4",fern:"#6fb66e",ghost:"#c9C7d8",grape:"#4A1E61",gunsmoke:"#818f8f",highland:"#619b62",honeyFlower:"#4f196a",honeyFlower2:"#531C70",honeyFlower3:"#5F2280",jagger:"#3B0F52",jordyBlue:"#82beed",jumbo:"#88888c",mediumPurple:"#8f48e6",midnightBlue:"#032b66",moodyBlue:"#7a78d7",nandor:"#475757",nevada:"#657171",olivine:"#a4ca8a",parsley:"#12522D",pattensBlue:"#d4ebfe",pattensBlueLight:"#d8eeff",scarletGum:"#3e1354",scienceBlue:"#0068c9",scienceBlue03:"rgba(0, 104, 201, 0.3)",seance:"#68278a",smalt:"#00378a",smaltLight:"#003b95",tarawera:"#0a3859",toryBlue:"#1259a6",toryBlueDark:"#144da3",dodgerBlueDark:"#2787f5",chambray:"#3b589e",chambrayDark:"#324b86",pomegranateDark:"#FC3F1D",azureRadiance2:"#0077ff",curiousBlue:"#229ed9",jungleGreen:"#2db05a",violetDeep:"#8950E6",stormGray:"#6E707C",zeus:"#2C2620",athensGray:"#F5F6F9",marinerLight:"#297DCB",royalBlue:"#5674DF",melrose:"#9CAFFD",zircon:"#F2F5FF",veniceBlue:"#05528E",solitude:"#EBF7FF",selago:"#E6EBFC",coconutCream:"#EDF8DE",cinderella:"#FEE8DE",royalBlueDark:"#5157ed",persianBlue:"#3a11db",ultramarine:"#2705ae",cornflowerBlueDark:"#6d73ff",jungleGreenDark:"#2faa73",mountainMeadow:"#17be73",dodgerBlueDim:"#1a96f6",zirconDark:"#ebefff",pizazz:"#FF8A00",madison:"#0A2E64",ebony:"#120F21",mediumRedViolet:"#CC2E8D",fruitSaladLight:"#63AB4F",shark:"#25262C",azureRadianceLight:"#0f90f4",carnation:"#F46868",limaGreen:"#72BC21",mysin:"#FFAB1F",studio:"#563FBA",athsSpecial:"#EAE2CA",thunderbird:"#cf3d17",denimDark:"#0b71bf",puertoRico:"#36c0b0",lochmara:"#087ad3",aliceBlue:"#eff7ff",perano:"#b4baef",portage:"#8785e6",royalBlueDim:"#3C75E5",sailDim:"#baddf8",solitaire:"#fef6e9",capeHoney:"#fee2b3",fairPink:"#ffeee6",romantic:"#ffd5c2",polar:"#dff5f7",cruise:"#b9eaee",selagoLight:"#f3f4fd",moonRaker:"#c4cef4",pippin:"#ffe0e0",yourPinkDark:"#ffbbbb",peppermintLight:"#e6f6e5",fringyFlower:"#c8ebc7",heliotropeDark:"#9C6DFF",pictonBlue:"#48A1E6",mediumPurpleRed:"#8C7AE8",scooter:"#3BC9DC",chambrayDim:"#393C9E",dodgerBlueLight:"#1C78FF",selectiveYellow:"#ffb800",scienceBlueDark:"#005dcf",dodgerBlueDeep:"#29A2FF",kashmirBlue:"#4C7191",turbo:"#ffe603",denimDim:"#0C71BF",orangeRoughy:"#CF4D17",selagoDim:"#EFF7FD",congressBlueNight:"#01488A",azureRadianceMedium:"#0988eb",honeyFlowerDim:"#501A6B",jaguar:"#160420",kournikova:"#fde57e",drover:"#FCEBA4",flamingo:"#EF5436",mineShaftDim:"#252525",periwinkle:"#d3ddff",colonialWhiteDim:"#feefbb",pattensBlueDeep:"#d7edff",solitudeDim:"#e8f5ff",periwinkleDim:"#ccdaff",rioGrande:"#afdb00",kournikovaDim:"#ffde7a"}),ic=Object.freeze({profession:Q.mintTulip,professionDark:Q.lima,camps:Q.chromeWhite,campsDark:Q.atlantis,courses:Q.onahau,coursesDark:Q.cornflowerBlue,openLesson:Q.colonialWhite,openLessonDark:Q.cherokee,externat:Q.paleRose,externatDark:Q.carnationPink,olympiad:Q.yourPink,olympiadDark:Q.bittersweet,textbook:Q.picasso,textbookDark:Q.supernova,tutors:Q.linkWater,tutorsDark:Q.bilobaFlower,training:Q.peppermint,trainingDark:Q.deYork,mathematics:Q.orangePeel,physics:Q.curious,informatics:Q.turquoise,chemistry:Q.shamrock,biology:Q.mantis,english:Q.bittersweet,russian:Q.dodgerBlue,history:Q.bahamaBlue,society:Q.primary,geography:Q.copperRose,developing:Q.olive,literature:Q.cyan,intersubject:Q.plum,primarySchool:Q.hokeyPokey,recommended:Q.monaLisa,astronomy:Q.mariner,ecology:Q.atlantisBrightly,technology:Q.turquoise,languages:Q.bittersweet,art:Q.heliotrope,physicalCulture:Q.olive,logic:Q.dandelion,businessLogic:Q.fruitSalad,rap:Q.fuchsiaBlue,ikt:Q.persianGreen,kids:Q.watermelon,fgos:Q.tropaz,blue:Q.accent,red:Q.pomegranate,green:Q.atlantis,grey:Q.silver,darkgrey:Q.mineShaft,lightgrey:Q.alto,superlightgrey:Q.mercury}),X5=Zi(["#react-floater-portal{position:relative;}:root{"," "," ","}"],Object.keys(Q).map(e=>R(["--",":",";"],e,Q[e])),Object.keys(nc).map(e=>R(["--",":",";"],e,nc[e])),Object.keys(ic).map(e=>R(["--",":",";"],e,ic[e])));function F5(e,t){if(!e)return;const o=[];return((r,n="")=>/^((http|https):\/\/)/.test(n)&&!new URL(n).hostname.endsWith(r))(window.location.hostname,e)&&(t==="_blank"&&o.push("noopener"),o.push("nofollow")),o.length!==0?o.join(" "):void 0}const U5={"content-onmain-primary":"#25262c","content-onmain-secondary":"#25262cb3","content-onmain-tertiary":"#25262c8c","content-onmain-inverse":"#FFFFFF","content-oncolor-primary":"#ffffff","content-oncolor-secondary":"#ecedf3cc","content-oncolor-tertiary":"#ecedf399","content-oncolor-inverse":"#25262c","content-oncolor-constant":"#25262c","content-disabled":"#05193380","content-oncolor-disabled":"#f5f6f999","content-oncolor-hover":"#00000029","content-onmain-hover":"#ffffff29","content-discount":"#db3339","content-link":"#376af6","border-onmain-default-large":"#05193329","border-onmain-default-small":"#05193347","border-onmain-contrast":"#25262c","border-disabled":"#0519331f","border-focus":"#8aafff","border-oncolor-disabled":"#ffffff66","border-oncolor-default":"#ffffff","border-oncolor-default-large":"#ffffff99","bg-onmain-main":"#f5f6f9","bg-onmain-primary":"#ffffff","bg-onmain-secondary":"#f5f6f9","bg-onmain-tertiary":"#ecedf3","bg-onmain-divider":"#d5d7e1","bg-onmain-contrast":"#25262c","bg-onmain-inverse":"#25262c","bg-oncolor-primary":"#ffffff","bg-oncolor-secondary":"#ffffff3d","bg-oncolor-tertiary":"#ffffff1f","bg-oncolor-hover":"#00000014","bg-disabled-large":"#ecedf3","bg-disabled-small":"#d5d7e1","bg-disabled-active":"#a6a8b5","bg-oncolor-disabled":"#ffffff1f","bg-contrast-active":"#25262c","bg-oncontrast-hover":"#ffffff14","alert-bg-success-100":"#ddf4cd","alert-bg-success-200":"#bce4aa","alert-bg-success-500":"#63ab4f","alert-bg-warning-100":"#ffebcc","alert-bg-warning-200":"#ffd294","alert-bg-warning-500":"#f16f04","alert-bg-error-100":"#ffe9e5","alert-bg-error-200":"#ffcbc7","alert-bg-error-500":"#e4494e","alert-success":"#488b32","alert-warning":"#db6300","alert-error":"#db3339","product-bg-course":"#e1f5fe","product-bg-tutor":"#eaf9ae","product-bg-group":"#feffbd","product-bg-complect":"#ffebcc","skeleton-onmain-primary":"rgba(0, 0, 0, 0.06)","skeleton-onmain-secondary":"rgba(0, 0, 0, 0.1)","skeleton-gradient-from-color-onmain":"rgba(0, 0, 0, 0)","skeleton-gradient-to-color-onmain":"rgba(0, 0, 0, 0.07)","skeleton-oncolor-primary":"rgba(255, 255, 255, 0.15)","skeleton-oncolor-secondary":"rgba(255, 255, 255, 0.2)","skeleton-gradient-from-color-oncolor":"rgba(255, 255, 255, 0)","skeleton-gradient-to-color-oncolor":"rgba(255, 255, 255, 0.2)","bg-other-badge":"#25262c33","bg-other-black":"#000000","alert-bg-info-100":"#f1e5ff","alert-bg-info-200":"#e1d4f7","alert-bg-info-500":"#8a51e6","alert-info":"#8a51e6","product-content-school":"#8a51e6","product-content-group":"#8a51e6","product-content-outclass":"#f16f04","product-content-course":"#376af6","product-content-tutor":"#63ab4f","product-high-school":"#8a51e6","product-high-group":"#8a51e6","product-high-outclass":"#f16f04","product-high-course":"#376af6","product-high-tutor":"#63ab4f","product-low-school":"#f1e5ff","product-low-group":"#f1e5ff","product-low-outclass":"#ffebcc","product-low-course":"#e5ecff","product-low-tutor":"#ddf4cd","bg-other-overlay":"#25262C8C","product-low-school-50":"#f8f1ffff","product-low-group-50":"#f8f1ffff","product-low-outclass-50":"#fff5e6ff","product-low-course-50":"#f0f4ffff","product-low-tutor-50":"#effae2ff"},V5={"content-brand-primary":"#8a51e6","content-brand-secondary":"#db6300","border-brand-primary":"#8a51e6","border-brand-secondary":"#db6300","border-brand-primary-hover":"#8a51e680","border-brand-primary-active":"#8a51e6","bg-brand-primary-basic":"#8a51e6","bg-brand-primary-100":"#f1e5ff","bg-brand-primary-200":"#e1d4f7","bg-brand-primary-400":"#c09eff","bg-brand-primary-500":"#8a51e6","bg-brand-secondary-basic":"#ff9900","bg-brand-secondary-100":"#ffebcc","bg-brand-secondary-200":"#ffd294","bg-brand-secondary-400":"#ff9900","bg-brand-secondary-500":"#f16f04","bg-brand-tertiary-100":"#feffbd","bg-brand-tertiary-200":"#fffb80","bg-brand-quaternary-100":"#e1f5fe","bg-brand-quaternary-200":"#bddcea","bg-brand-quaternary-400":"#89b8cd","bg-brand-quaternary-500":"#61a3bd","bg-brand-primary-basic-active":"#8a51e6","bg-brand-primary-100-active":"#f1e5ff","bg-brand-primary-100-hover":"#f1e5ff80","bg-brand-primary-50":"#f8f1ffff","bg-brand-secondary-50":"#fff5e6ff"},Jg={"alert-bg-error-100":"#ffe1de","alert-bg-error-200":"#ffd0cb","alert-bg-error-400":"#ff9991","alert-bg-error-500":"#e53238","alert-bg-info-100":"#eee7ff","alert-bg-info-200":"#e0d3ff","alert-bg-info-400":"#b199ff","alert-bg-info-500":"#6035e2","alert-bg-success-100":"#d2f8c5","alert-bg-success-200":"#b1f39e","alert-bg-success-400":"#6ddd65","alert-bg-success-500":"#1b9716","alert-bg-warning-100":"#ffe994","alert-bg-warning-200":"#fcda78","alert-bg-warning-400":"#f2a92c","alert-bg-warning-500":"#c95e00","alert-error":"#e53238","alert-info":"#6f46f1","alert-success":"#1b9716","alert-warning":"#c95e00","bg-brand-additional-1-100":"#fdfaa9","bg-brand-additional-1-200":"#fffa7d","bg-brand-additional-1-400":"#ffd500","bg-brand-additional-1-50":"#fffed6","bg-brand-additional-1-500":"#ad8600","bg-brand-additional-2-100":"#ceeefe","bg-brand-additional-2-200":"#aee4ff","bg-brand-additional-2-400":"#2fc4ff","bg-brand-additional-2-50":"#e9f8ff","bg-brand-additional-2-500":"#0089bb","bg-brand-additional-3-100":"#d2f8c5","bg-brand-additional-3-200":"#b1f39e","bg-brand-additional-3-400":"#6ddd65","bg-brand-additional-3-50":"#e8ffe6","bg-brand-additional-3-500":"#1b9716","bg-brand-additional-4-100":"#ffd9fb","bg-brand-additional-4-200":"#ffbdf2","bg-brand-additional-4-400":"#e57ab9","bg-brand-additional-4-50":"#fff5ff","bg-brand-additional-4-500":"#a00949","bg-brand-primary-100":"#eee7ff","bg-brand-primary-100-active":"#eee7ff","bg-brand-primary-100-hover":"#eee7ff80","bg-brand-primary-200":"#e0d3ff","bg-brand-primary-400":"#b199ff","bg-brand-primary-50":"#f6f3ff","bg-brand-primary-500":"#6035e2","bg-brand-primary-basic":"#6035e2","bg-brand-primary-basic-active":"#6035e2","bg-brand-quaternary-100":"#ffe7c7","bg-brand-quaternary-200":"#ffddb0","bg-brand-quaternary-400":"#ff9900","bg-brand-quaternary-50":"#fff2de","bg-brand-quaternary-500":"#fb6300","bg-brand-quaternary-basic":"#ff9900","bg-brand-secondary-100":"#ffe7c7","bg-brand-secondary-200":"#ffddb0","bg-brand-secondary-400":"#ff9900","bg-brand-secondary-50":"#fff2de","bg-brand-secondary-500":"#fb6300","bg-brand-secondary-basic":"#ff9900","bg-brand-tertiary-100":"#ffe7c7","bg-brand-tertiary-200":"#ffddb0","bg-brand-tertiary-400":"#ff9900","bg-brand-tertiary-50":"#fff2de","bg-brand-tertiary-500":"#fb6300","bg-brand-tertiary-basic":"#ff9900","bg-contrast-active":"#262830","bg-disabled-active":"#afb1bd","bg-disabled-large":"#e7e9f3","bg-disabled-small":"#d9dbe5","bg-oncolor-disabled":"#ffffff1f","bg-oncolor-hover":"#0000001a","bg-oncolor-primary":"#ffffff","bg-oncolor-secondary":"#ffffff3d","bg-oncolor-tertiary":"#ffffff1f","bg-oncontrast-hover":"#ffffff14","bg-onmain-contrast":"#262830","bg-onmain-divider":"#d9dbe5","bg-onmain-inverse":"#262830","bg-onmain-main":"#f5f6f9","bg-onmain-primary":"#ffffff","bg-onmain-secondary":"#f5f6f9","bg-onmain-tertiary":"#e7e9f3","bg-other-badge":"#26283033","bg-other-black":"#000000","bg-other-overlay":"#2628308c","bg-other-shade-oncolor":"#ffffff1f","bg-other-shade-onmain":"#9496a329","bg-other-surface":"#ffffff","border-brand-primary":"#6f46f1","border-brand-primary-active":"#6f46f1","border-brand-primary-hover":"#6035e280","border-brand-secondary":"#de5800","border-disabled":"#0519331f","border-focus":"#8aafff","border-focus-inner":"#ffffff","border-oncolor-default":"#ffffff","border-oncolor-default-large":"#ffffff99","border-oncolor-disabled":"#ffffff66","border-oncolor-soft-large":"#ffffff14","border-oncolor-soft-small":"#ffffff29","border-onmain-contrast":"#12131a","border-onmain-default-large":"#05193329","border-onmain-default-small":"#05193347","border-onmain-soft-large":"#05193314","border-onmain-soft-small":"#05193329","content-absolute":"#000000","content-brand-primary":"#6f46f1","content-brand-secondary":"#de5800","content-disabled":"#05193380","content-discount":"#e53238","content-link":"#376af6","content-oncolor-constant":"#12131a","content-oncolor-disabled":"#f5f6f999","content-oncolor-hover":"#00000029","content-oncolor-inverse":"#262830","content-oncolor-primary":"#ffffff","content-oncolor-quaternary":"#ffffff","content-oncolor-secondary":"#e7e9f3","content-oncolor-tertiary":"#e7e9f399","content-onmain-hover":"#ffffff29","content-onmain-inverse":"#ffffff","content-onmain-primary":"#262830","content-onmain-secondary":"#262830b2","content-onmain-tertiary":"#2628308c","effect-shadow-large":"#00000024","effect-shadow-medium":"#0000001a","effect-shadow-press":"#00000029","effect-shadow-small":"#00000014","external-mail":"#0077ff","external-sber":"#148f2b","external-tbank":"#ffdd2d","external-telegram":"#27a7e7","external-twenty-thirty-five":"#ea1d24","external-vk":"#0077ff","external-yandex":"#f8604a","material-black-regular":"#00000099","material-black-thick":"#000000cc","material-black-thin":"#00000066","material-black-ultra-thin":"#00000033","material-transfer-regular":"#ffffff99","material-transfer-thick":"#ffffffcc","material-transfer-thin":"#ffffff66","material-transfer-ultra-thin":"#ffffff33","material-white-regular":"#ffffff99","material-white-thick":"#ffffffcc","material-white-thin":"#ffffff66","material-white-ultra-thin":"#ffffff33","product-base-college":"#ff9900","product-base-complect":"#b199ff","product-base-course":"#aee4ff","product-base-group":"#b199ff","product-base-outclass":"#ff9900","product-base-school":"#b199ff","product-base-subscription":"#e57ab9","product-base-tutor":"#6ddd65","product-bg-complect":"#6035e2","product-bg-course":"#aee4ff","product-bg-group":"#ff9900","product-bg-tutor":"#b1f39e","product-content-college":"#de5800","product-content-complect":"#6f46f1","product-content-course":"#0089bb","product-content-group":"#6f46f1","product-content-outclass":"#de5800","product-content-school":"#6f46f1","product-content-subscription":"#b0265f","product-content-tutor":"#1b9716","product-high-college":"#fb6300","product-high-complect":"#6035e2","product-high-course":"#0089bb","product-high-group":"#6035e2","product-high-outclass":"#fb6300","product-high-school":"#6035e2","product-high-subscription":"#a00949","product-high-tutor":"#1b9716","product-low-college":"#ffe7c7","product-low-college-50":"#fff2de","product-low-complect":"#eee7ff","product-low-complect-50":"#f6f3ff","product-low-course":"#ceeefe","product-low-course-50":"#e9f8ff","product-low-group":"#eee7ff","product-low-group-50":"#f6f3ff","product-low-outclass":"#ffe7c7","product-low-outclass-50":"#fff2de","product-low-school":"#eee7ff","product-low-school-50":"#f6f3ff","product-low-subscription":"#ffd9fb","product-low-subscription-50":"#fff5ff","product-low-tutor":"#d2f8c5","product-low-tutor-50":"#e8ffe6","skeleton-gradient-from-color-oncolor":"#ffffff00","skeleton-gradient-from-color-onmain":"#00000000","skeleton-gradient-to-color-oncolor":"#ffffff33","skeleton-gradient-to-color-onmain":"#00000014","skeleton-oncolor-primary":"#ffffff26","skeleton-oncolor-secondary":"#ffffff33","skeleton-onmain-primary":"#0000000f","skeleton-onmain-secondary":"#0000001a","state-dark":"#0000001a","state-dark-strong":"#00000033","state-light":"#ffffff14","state-light-strong":"#ffffff29",transparent:"transparent"},Ve={breakpoints:Si,colors:{...Jg,...Q,...nc,...ic,...U5,...V5},borderRadius:"5px",textColor:"mineShaft",fallbackColor:"mineShaft",zIndex:{modal:9e3,tooltip:80},classNamePrefix:"fox",defaultInputControlsWidth:u5.l,utils:{relBuilder:F5,hexToRgbA:cv,hover:{light:wg,lightStrong:av,dark:kg,darkStrong:lv}},mixins:{focus:Zo},mode:"light",preset:"default",name:"mother",components:{Arrow:{size:"l"},Button:{size:"m"},Checkbox:{size:"m"},Tooltip:{preset:"default"}}};({...Ve});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});const Wg={...Ve,colors:Jg,preset:"brand",name:"foxford"};({...Ve});({...Ve});({...Ve});({...Ve});({...Ve});function G5(e){const t=xo((o=Ve)=>{const r=e.theme;return typeof r=="function"?r(o):typeof r!="object"||Array.isArray(r)||r===null?o:cn(o,r)},[e.theme]);return u(yg,{theme:t,children:[u(X5,{}),e.children]})}const q5="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='32'%20width='32'%20height='32'%20rx='16'%20transform='rotate(-90%200%2032)'%20fill='%233B3A3D'/%3e%3cpath%20d='m10%2014%205.7879%205.7879c.1171.1171.3071.1171.4242%200L22%2014'%20stroke='%23fff'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Yg=k.div(["display:flex;align-items:center;justify-content:space-between;position:relative;width:100%;padding:18px 0 20px 0;font-size:16px;line-height:1.1;color:#909090;cursor:pointer;border-bottom:2px solid #454448;transition:color 0.4s ease;",""],ie()`
|
|
357
|
+
`,e=>{const t=e.contrast?Hp.contrast:Hp.default;let o=t.primary;return e.secondary&&(o=t.secondary),e.success&&(o=t.success),e.danger&&(o=t.danger),e.disabled?o.disabled:e.active?o.active:o.default},Zo,tu,fo,$t),c5=k.span.withConfig({displayName:"ListItem__Content",componentId:"ui__sc-1a62xqm-1"})(["box-sizing:border-box;flex-grow:1;"]),ss=ns((e,t)=>{var W;const{component:o="button",size:r="s",borderRadius:n=0,withChevron:i,children:s,content:a,text:l,caption:c,addonLeft:d,addonRight:g,loadingLayout:f,loading:b,sizeXXS:v,sizeXS:p,sizeS:h,sizeM:m,sizeL:y,sizeXL:C,...A}=is(e,{componentName:"ListItem",sizes:n5}),S={size:r,sizeXXS:v,sizeXS:p,sizeS:h,sizeM:m,sizeL:y,sizeXL:C},M={...S,sizes:i5,appearance:"body",color:"inherit",ellipsis:!0,textAlign:"start"},H={...S,sizes:s5,appearance:"body",color:"inherit",ellipsis:!0,textAlign:"start"},I={width:"65%",borderRadius:4,onColored:A.contrast&&!A.active};return u(l5,{...A,...S,as:o,type:(W=A.type)!=null?W:o==="button"?"button":void 0,borderRadius:n,loading:b,ref:t,children:u(jt,{render:s,props:{textProps:M,captionProps:H,skeletonProps:I},fallback:b?u(jt,{render:f,props:{textProps:M,captionProps:H,skeletonProps:I},fallback:u(Bg,{...I,children:u(xe,{...M})})}):u(ue,{children:[u(jt,{render:d}),ro(a)&&ro(l)&&ro(c)?null:u(c5,{children:u(jt,{render:a,props:{textProps:M,captionProps:H},fallback:u(ue,{children:[u(jt,{render:l,props:M}),u(jt,{render:c,props:H})]})})}),u(jt,{render:g}),i?u(_e,{icon:u(Jv,{}),rotate:"90deg",size:24,color:"inherit"}):null]})})})});let u5=(e=>(e[e.l=380]="l",e[e.m=300]="m",e[e.s=220]="s",e[e.xs=140]="xs",e))({});const d5=e=>{const{children:t}=e;return t(Sg())},f5=(e,t)=>!(!(e.orientation||e.min||e.max)||e.orientation&&!t[e.orientation]||e.min&&!t[`min${e.min}`]||e.max&&!t[`max${e.max}`]),Bt=Object.assign(e=>{const{children:t,...o}=e,r=Ra(Ra.getConfig(o)),n=f5(o,r);return typeof t=="function"?t(n):n?t:null},{Matchers:d5});var Ls={},rt={},_r={exports:{}},Ho={exports:{}},p5=Ho.exports,Bp;function h5(){return Bp||(Bp=1,(function(){var e,t,o,r,n,i;typeof performance<"u"&&performance!==null&&performance.now?Ho.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Ho.exports=function(){return(e()-n)/1e6},t=process.hrtime,e=function(){var s;return s=t(),s[0]*1e9+s[1]},r=e(),i=process.uptime()*1e9,n=r-i):Date.now?(Ho.exports=function(){return Date.now()-o},o=Date.now()):(Ho.exports=function(){return new Date().getTime()-o},o=new Date().getTime())}).call(p5)),Ho.exports}var Dp;function g5(){if(Dp)return _r.exports;Dp=1;for(var e=h5(),t=typeof window>"u"?pb:window,o=["moz","webkit"],r="AnimationFrame",n=t["request"+r],i=t["cancel"+r]||t["cancelRequest"+r],s=0;!n&&s<o.length;s++)n=t[o[s]+"Request"+r],i=t[o[s]+"Cancel"+r]||t[o[s]+"CancelRequest"+r];if(!n||!i){var a=0,l=0,c=[],d=1e3/60;n=function(g){if(c.length===0){var f=e(),b=Math.max(0,d-(f-a));a=b+f,setTimeout(function(){var v=c.slice(0);c.length=0;for(var p=0;p<v.length;p++)if(!v[p].cancelled)try{v[p].callback(a)}catch(h){setTimeout(function(){throw h},0)}},Math.round(b))}return c.push({handle:++l,callback:g,cancelled:!1}),l},i=function(g){for(var f=0;f<c.length;f++)c[f].handle===g&&(c[f].cancelled=!0)}}return _r.exports=function(g){return n.call(t,g)},_r.exports.cancel=function(){i.apply(t,arguments)},_r.exports.polyfill=function(g){g||(g=t),g.requestAnimationFrame=n,g.cancelAnimationFrame=i},_r.exports}var Ir={exports:{}},_s,Lp;function m5(){if(Lp)return _s;Lp=1;var e=null,t=["Webkit","Moz","O","ms"];return _s=function(r){e||(e=document.createElement("div"));var n=e.style;if(r in n)return r;for(var i=r.charAt(0).toUpperCase()+r.slice(1),s=t.length;s>=0;s--){var a=t[s]+i;if(a in n)return a}return!1},_s}var Is,_p;function b5(){if(_p)return Is;_p=1,Is=r;var e=/\s/,t=/(_|-|\.|:)/,o=/([a-z][A-Z]|[A-Z][a-z])/;function r(l){return e.test(l)?l.toLowerCase():t.test(l)?(i(l)||l).toLowerCase():o.test(l)?a(l).toLowerCase():l.toLowerCase()}var n=/[\W_]+(.|$)/g;function i(l){return l.replace(n,function(c,d){return d?" "+d:""})}var s=/(.)([A-Z]+)/g;function a(l){return l.replace(s,function(c,d,g){return d+" "+g.toLowerCase().split("").join(" ")})}return Is}var Ns,Ip;function v5(){if(Ip)return Ns;Ip=1;var e=b5();Ns=t;function t(o){return e(o).replace(/[\W_]+(.|$)/g,function(r,n){return n?" "+n:""}).trim()}return Ns}var js,Np;function y5(){if(Np)return js;Np=1;var e=v5();js=t;function t(o){return e(o).replace(/\s(\w)/g,function(r,n){return n.toUpperCase()})}return js}var Xs,jp;function x5(){if(jp)return Xs;jp=1;var e={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};return Xs=function(t,o){return typeof o=="number"&&!e[t]?o+"px":o},Xs}var Xp;function qg(){if(Xp)return Ir.exports;Xp=1;var e=m5(),t=y5(),o={float:"cssFloat"},r=x5();function n(l,c,d){var g=o[c];if(typeof g>"u"&&(g=s(c)),g){if(d===void 0)return l.style[g];l.style[g]=r(g,d)}}function i(l,c){for(var d in c)c.hasOwnProperty(d)&&n(l,d,c[d])}function s(l){var c=t(l),d=e(c);return o[c]=o[l]=o[d]=d,d}function a(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:i(arguments[0],arguments[1]):n(arguments[0],arguments[1],arguments[2])}return Ir.exports=a,Ir.exports.set=a,Ir.exports.get=function(l,c){return Array.isArray(c)?c.reduce(function(d,g){return d[g]=n(l,g||""),d},{}):n(l,c||"")},Ir.exports}var Nr={},Un={},Fp;function w5(){if(Fp)return Un;Fp=1,Object.defineProperty(Un,"__esModule",{value:!0});function e(t){if(!t)return 0;var o=t.clientHeight,r=getComputedStyle(t),n=r.paddingTop,i=r.paddingBottom;return o-parseFloat(n)-parseFloat(i)}return Un.default=e,Un}var Vn={},Up;function k5(){if(Up)return Vn;Up=1,Object.defineProperty(Vn,"__esModule",{value:!0});function e(t){if(!t)return 0;var o=t.clientWidth,r=getComputedStyle(t),n=r.paddingLeft,i=r.paddingRight;return o-parseFloat(n)-parseFloat(i)}return Vn.default=e,Vn}var or={},Vp;function A5(){if(Vp)return or;Vp=1;var e=or&&or.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(or,"__esModule",{value:!0});var t=e(qg()),o=void 0,r=s();function n(){var a=s();return r!==a&&(o=i()),typeof o=="number"?o:(typeof document<"u"?o=i():o=0,o||0)}or.default=n;function i(){var a=document.createElement("div");(0,t.default)(a,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(a);var l=a.offsetWidth-a.clientWidth;return document.body.removeChild(a),l}function s(){return typeof window>"u"?1:window.screen.availWidth/document.documentElement.clientWidth}return or}var Gn={},Gp;function S5(){if(Gp)return Gn;Gp=1,Object.defineProperty(Gn,"__esModule",{value:!0});function e(t){return typeof t=="string"}return Gn.default=e,Gn}var go={},qp;function C5(){if(qp)return go;qp=1;var e=go&&go.__assign||function(){return e=Object.assign||function(i){for(var s,a=1,l=arguments.length;a<l;a++){s=arguments[a];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(i[c]=s[c])}return i},e.apply(this,arguments)},t=go&&go.__rest||function(i,s){var a={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&s.indexOf(l)<0&&(a[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,l=Object.getOwnPropertySymbols(i);c<l.length;c++)s.indexOf(l[c])<0&&Object.prototype.propertyIsEnumerable.call(i,l[c])&&(a[l[c]]=i[l[c]]);return a};Object.defineProperty(go,"__esModule",{value:!0});var o={root:"rc-scrollbars-container",view:"rc-scrollbars-view",trackVertical:"rc-scrollbars-track rc-scrollbars-track-v",trackHorizontal:"rc-scrollbars-track rc-scrollbars-track-h",thumbVertical:"rc-scrollbars-thumb rc-scrollbars-thumb-v",thumbHorizontal:"rc-scrollbars-thumb rc-scrollbars-thumb-h"};function r(i,s){return s?Object.keys(i).reduce(function(a,l){return a[l]="".concat(i[l]," ").concat(s[l]||""),a},{}):i}function n(i){var s=i.className,a=i.classes,l=o.root,c=t(o,["root"]);return e({root:[l,s,a==null?void 0:a.root].filter(Boolean).join(" ")},r(c,i.classes))}return go.default=n,go}var qn={},Jp;function O5(){if(Jp)return qn;Jp=1,Object.defineProperty(qn,"__esModule",{value:!0});function e(){return!1}return qn.default=e,qn}var Wp;function E5(){return Wp||(Wp=1,(function(e){var t=Nr&&Nr.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFalse=e.getFinalClasses=e.isString=e.getScrollbarWidth=e.getInnerWidth=e.getInnerHeight=void 0;var o=w5();Object.defineProperty(e,"getInnerHeight",{enumerable:!0,get:function(){return t(o).default}});var r=k5();Object.defineProperty(e,"getInnerWidth",{enumerable:!0,get:function(){return t(r).default}});var n=A5();Object.defineProperty(e,"getScrollbarWidth",{enumerable:!0,get:function(){return t(n).default}});var i=S5();Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return t(i).default}});var s=C5();Object.defineProperty(e,"getFinalClasses",{enumerable:!0,get:function(){return t(s).default}});var a=O5();Object.defineProperty(e,"returnFalse",{enumerable:!0,get:function(){return t(a).default}})})(Nr)),Nr}var To={},Yp;function P5(){if(Yp)return To;Yp=1;var e=To&&To.__assign||function(){return e=Object.assign||function(o){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(o[s]=r[s])}return o},e.apply(this,arguments)};Object.defineProperty(To,"__esModule",{value:!0}),To.createStyles=void 0;function t(o){var r=e({position:"absolute",right:2,bottom:2,zIndex:100},!o&&{borderRadius:3});return{containerStyleDefault:{position:"relative",overflow:"hidden",width:"100%",height:"100%"},containerStyleAutoHeight:{height:"auto"},viewStyleDefault:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},viewStyleAutoHeight:{position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},viewStyleUniversalInitial:{overflow:"hidden",marginRight:0,marginBottom:0},trackHorizontalStyleDefault:e(e({},r),{left:2,height:6}),trackVerticalStyleDefault:e(e({},r),{top:2,width:6}),thumbStyleDefault:e({position:"relative",display:"block",height:"100%",cursor:"pointer",borderRadius:"inherit"},!o&&{backgroundColor:"rgba(0,0,0,.2)"}),disableSelectStyle:{userSelect:"none"},disableSelectStyleReset:{userSelect:"auto"}}}return To.createStyles=t,To}var Qp;function T5(){if(Qp)return rt;Qp=1;var e=rt&&rt.__extends||(function(){var v=function(p,h){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,y){m.__proto__=y}||function(m,y){for(var C in y)Object.prototype.hasOwnProperty.call(y,C)&&(m[C]=y[C])},v(p,h)};return function(p,h){if(typeof h!="function"&&h!==null)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");v(p,h);function m(){this.constructor=p}p.prototype=h===null?Object.create(h):(m.prototype=h.prototype,new m)}})(),t=rt&&rt.__assign||function(){return t=Object.assign||function(v){for(var p,h=1,m=arguments.length;h<m;h++){p=arguments[h];for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(v[y]=p[y])}return v},t.apply(this,arguments)},o=rt&&rt.__createBinding||(Object.create?(function(v,p,h,m){m===void 0&&(m=h);var y=Object.getOwnPropertyDescriptor(p,h);(!y||("get"in y?!p.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return p[h]}}),Object.defineProperty(v,m,y)}):(function(v,p,h,m){m===void 0&&(m=h),v[m]=p[h]})),r=rt&&rt.__setModuleDefault||(Object.create?(function(v,p){Object.defineProperty(v,"default",{enumerable:!0,value:p})}):function(v,p){v.default=p}),n=rt&&rt.__importStar||function(v){if(v&&v.__esModule)return v;var p={};if(v!=null)for(var h in v)h!=="default"&&Object.prototype.hasOwnProperty.call(v,h)&&o(p,v,h);return r(p,v),p},i=rt&&rt.__rest||function(v,p){var h={};for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&p.indexOf(m)<0&&(h[m]=v[m]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,m=Object.getOwnPropertySymbols(v);y<m.length;y++)p.indexOf(m[y])<0&&Object.prototype.propertyIsEnumerable.call(v,m[y])&&(h[m[y]]=v[m[y]]);return h},s=rt&&rt.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(rt,"__esModule",{value:!0}),rt.Scrollbars=void 0;var a=n(zp),l=zp,c=n(g5()),d=s(qg()),g=E5(),f=P5(),b=(function(v){e(p,v);function p(h){var m=v.call(this,h)||this;return m.container=null,m.dragging=!1,m.scrolling=!1,m.trackMouseOver=!1,m.styles=(0,f.createStyles)(m.props.disableDefaultStyles),m.getScrollLeft=m.getScrollLeft.bind(m),m.getScrollTop=m.getScrollTop.bind(m),m.getScrollWidth=m.getScrollWidth.bind(m),m.getScrollHeight=m.getScrollHeight.bind(m),m.getClientWidth=m.getClientWidth.bind(m),m.getClientHeight=m.getClientHeight.bind(m),m.getValues=m.getValues.bind(m),m.getThumbHorizontalWidth=m.getThumbHorizontalWidth.bind(m),m.getThumbVerticalHeight=m.getThumbVerticalHeight.bind(m),m.getScrollLeftForOffset=m.getScrollLeftForOffset.bind(m),m.getScrollTopForOffset=m.getScrollTopForOffset.bind(m),m.scrollLeft=m.scrollLeft.bind(m),m.scrollTop=m.scrollTop.bind(m),m.scrollToLeft=m.scrollToLeft.bind(m),m.scrollToTop=m.scrollToTop.bind(m),m.scrollToRight=m.scrollToRight.bind(m),m.scrollToBottom=m.scrollToBottom.bind(m),m.handleTrackMouseEnter=m.handleTrackMouseEnter.bind(m),m.handleTrackMouseLeave=m.handleTrackMouseLeave.bind(m),m.handleHorizontalTrackMouseDown=m.handleHorizontalTrackMouseDown.bind(m),m.handleVerticalTrackMouseDown=m.handleVerticalTrackMouseDown.bind(m),m.handleHorizontalThumbMouseDown=m.handleHorizontalThumbMouseDown.bind(m),m.handleVerticalThumbMouseDown=m.handleVerticalThumbMouseDown.bind(m),m.handleWindowResize=m.handleWindowResize.bind(m),m.handleScroll=m.handleScroll.bind(m),m.handleDrag=m.handleDrag.bind(m),m.handleDragEnd=m.handleDragEnd.bind(m),m.state={didMountUniversal:!1,scrollbarWidth:(0,g.getScrollbarWidth)()},m}return p.prototype.componentDidMount=function(){this.addListeners(),this.update(),this.componentDidMountUniversal()},p.prototype.componentDidMountUniversal=function(){var h=this.props.universal;h&&this.setState({didMountUniversal:!0})},p.prototype.componentDidUpdate=function(){this.update()},p.prototype.componentWillUnmount=function(){this.removeListeners(),this.requestFrame&&(0,c.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)},p.prototype.getScrollLeft=function(){return this.view?this.view.scrollLeft:0},p.prototype.getScrollTop=function(){return this.view?this.view.scrollTop:0},p.prototype.getScrollWidth=function(){return this.view?this.view.scrollWidth:0},p.prototype.getScrollHeight=function(){return this.view?this.view.scrollHeight:0},p.prototype.getClientWidth=function(){return this.view?this.view.clientWidth:0},p.prototype.getClientHeight=function(){return this.view?this.view.clientHeight:0},p.prototype.getValues=function(){var h=this.view||{},m=h.scrollLeft,y=m===void 0?0:m,C=h.scrollTop,A=C===void 0?0:C,S=h.scrollWidth,M=S===void 0?0:S,H=h.scrollHeight,I=H===void 0?0:H,W=h.clientWidth,K=W===void 0?0:W,V=h.clientHeight,te=V===void 0?0:V;return{left:y/(M-K)||0,top:A/(I-te)||0,scrollLeft:y,scrollTop:A,scrollWidth:M,scrollHeight:I,clientWidth:K,clientHeight:te}},p.prototype.getThumbHorizontalWidth=function(){if(!this.view||!this.trackHorizontal)return 0;var h=this.props,m=h.thumbSize,y=h.thumbMinSize,C=this.view,A=C.scrollWidth,S=C.clientWidth,M=(0,g.getInnerWidth)(this.trackHorizontal),H=Math.ceil(S/A*M);return M===H?0:m||Math.max(H,y)},p.prototype.getThumbVerticalHeight=function(){if(!this.view||!this.trackVertical)return 0;var h=this.props,m=h.thumbSize,y=h.thumbMinSize,C=this.view,A=C.scrollHeight,S=C.clientHeight,M=(0,g.getInnerHeight)(this.trackVertical),H=Math.ceil(S/A*M);return M===H?0:m||Math.max(H,y)},p.prototype.getScrollLeftForOffset=function(h){if(!this.view||!this.trackHorizontal)return 0;var m=this.view,y=m.scrollWidth,C=m.clientWidth,A=(0,g.getInnerWidth)(this.trackHorizontal),S=this.getThumbHorizontalWidth();return h/(A-S)*(y-C)},p.prototype.getScrollTopForOffset=function(h){if(!this.view||!this.trackVertical)return 0;var m=this.view,y=m.scrollHeight,C=m.clientHeight,A=(0,g.getInnerHeight)(this.trackVertical),S=this.getThumbVerticalHeight();return h/(A-S)*(y-C)},p.prototype.scrollLeft=function(h){h===void 0&&(h=0),this.view&&(this.view.scrollLeft=h)},p.prototype.scrollTop=function(h){h===void 0&&(h=0),this.view&&(this.view.scrollTop=h)},p.prototype.scrollToLeft=function(){this.view&&(this.view.scrollLeft=0)},p.prototype.scrollToTop=function(){this.view&&(this.view.scrollTop=0)},p.prototype.scrollToRight=function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)},p.prototype.scrollToBottom=function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)},p.prototype.scrollToY=function(h){this.view&&(this.view.scrollTop=h)},p.prototype.addListeners=function(){if(!(typeof document>"u"||!this.view||!this.trackHorizontal||!this.trackVertical||!this.thumbVertical||!this.thumbHorizontal)){var h=this,m=h.view,y=h.trackHorizontal,C=h.trackVertical,A=h.thumbHorizontal,S=h.thumbVertical;m.addEventListener("scroll",this.handleScroll),this.state.scrollbarWidth&&(y.addEventListener("mouseenter",this.handleTrackMouseEnter),y.addEventListener("mouseleave",this.handleTrackMouseLeave),y.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),C.addEventListener("mouseenter",this.handleTrackMouseEnter),C.addEventListener("mouseleave",this.handleTrackMouseLeave),C.addEventListener("mousedown",this.handleVerticalTrackMouseDown),A.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),S.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}},p.prototype.removeListeners=function(){if(!(typeof document>"u"||!this.view||!this.trackHorizontal||!this.trackVertical||!this.thumbVertical||!this.thumbHorizontal)){var h=this,m=h.view,y=h.trackHorizontal,C=h.trackVertical,A=h.thumbHorizontal,S=h.thumbVertical;m.removeEventListener("scroll",this.handleScroll),this.state.scrollbarWidth&&(y.removeEventListener("mouseenter",this.handleTrackMouseEnter),y.removeEventListener("mouseleave",this.handleTrackMouseLeave),y.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),C.removeEventListener("mouseenter",this.handleTrackMouseEnter),C.removeEventListener("mouseleave",this.handleTrackMouseLeave),C.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),A.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),S.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}},p.prototype.handleScroll=function(h){var m=this,y=this.props,C=y.onScroll,A=y.onScrollFrame;C&&C(h),this.update(function(S){var M=S.scrollLeft,H=S.scrollTop;m.viewScrollLeft=M,m.viewScrollTop=H,A&&A(S)}),this.detectScrolling()},p.prototype.handleScrollStart=function(){var h=this.props.onScrollStart;h&&h(),this.handleScrollStartAutoHide()},p.prototype.handleScrollStartAutoHide=function(){var h=this.props.autoHide;h&&this.showTracks()},p.prototype.handleScrollStop=function(){var h=this.props.onScrollStop;h&&h(),this.handleScrollStopAutoHide()},p.prototype.handleScrollStopAutoHide=function(){var h=this.props.autoHide;h&&this.hideTracks()},p.prototype.handleWindowResize=function(){this.update()},p.prototype.handleHorizontalTrackMouseDown=function(h){if(this.view){h.preventDefault();var m=h.target,y=h.clientX,C=m.getBoundingClientRect().left,A=this.getThumbHorizontalWidth(),S=Math.abs(C-y)-A/2;this.view.scrollLeft=this.getScrollLeftForOffset(S)}},p.prototype.handleVerticalTrackMouseDown=function(h){if(this.view){h.preventDefault();var m=h.target,y=h.clientY,C=m.getBoundingClientRect().top,A=this.getThumbVerticalHeight(),S=Math.abs(C-y)-A/2;this.view.scrollTop=this.getScrollTopForOffset(S)}},p.prototype.handleHorizontalThumbMouseDown=function(h){h.preventDefault(),this.handleDragStart(h);var m=h.target,y=h.clientX,C=m.offsetWidth,A=m.getBoundingClientRect().left;this.prevPageX=C-(y-A)},p.prototype.handleVerticalThumbMouseDown=function(h){h.preventDefault(),this.handleDragStart(h);var m=h.target,y=h.clientY,C=m.offsetHeight,A=m.getBoundingClientRect().top;this.prevPageY=C-(y-A)},p.prototype.setupDragging=function(){(0,d.default)(document.body,this.styles.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=g.returnFalse},p.prototype.teardownDragging=function(){(0,d.default)(document.body,this.styles.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=null},p.prototype.handleDragStart=function(h){this.dragging=!0,h.stopImmediatePropagation(),this.setupDragging()},p.prototype.handleDrag=function(h){if(this.prevPageX&&this.trackHorizontal&&this.view){var m=h.clientX,y=this.trackHorizontal.getBoundingClientRect().left,C=this.getThumbHorizontalWidth(),A=C-this.prevPageX,S=-y+m-A;this.view.scrollLeft=this.getScrollLeftForOffset(S)}if(this.prevPageY&&this.trackVertical&&this.view){var M=h.clientY,H=this.trackVertical.getBoundingClientRect().top,I=this.getThumbVerticalHeight(),A=I-this.prevPageY,S=-H+M-A;this.view.scrollTop=this.getScrollTopForOffset(S)}return!1},p.prototype.handleDragEnd=function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()},p.prototype.handleDragEndAutoHide=function(){var h=this.props.autoHide;h&&this.hideTracks()},p.prototype.handleTrackMouseEnter=function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()},p.prototype.handleTrackMouseEnterAutoHide=function(){var h=this.props.autoHide;h&&this.showTracks()},p.prototype.handleTrackMouseLeave=function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()},p.prototype.handleTrackMouseLeaveAutoHide=function(){var h=this.props.autoHide;h&&this.hideTracks()},p.prototype.showTracks=function(){clearTimeout(this.hideTracksTimeout),(0,d.default)(this.trackHorizontal,{opacity:1}),(0,d.default)(this.trackVertical,{opacity:1})},p.prototype.hideTracks=function(){var h=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var m=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,d.default)(h.trackHorizontal,{opacity:0}),(0,d.default)(h.trackVertical,{opacity:0})},m)}},p.prototype.detectScrolling=function(){var h=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){h.lastViewScrollLeft===h.viewScrollLeft&&h.lastViewScrollTop===h.viewScrollTop&&(clearInterval(h.detectScrollingInterval),h.scrolling=!1,h.handleScrollStop()),h.lastViewScrollLeft=h.viewScrollLeft,h.lastViewScrollTop=h.viewScrollTop},100))},p.prototype.raf=function(h){var m=this;this.requestFrame&&c.default.cancel(this.requestFrame),this.requestFrame=(0,c.default)(function(){m.requestFrame=void 0,h()})},p.prototype.update=function(h){var m=this;this.raf(function(){return m._update(h)})},p.prototype._update=function(h){var m=this.props,y=m.onUpdate,C=m.hideTracksWhenNotNeeded,A=this.getValues(),S=(0,g.getScrollbarWidth)();if(this.state.scrollbarWidth!==S&&this.setState({scrollbarWidth:S}),this.state.scrollbarWidth){var M=A.scrollLeft,H=A.clientWidth,I=A.scrollWidth,W=(0,g.getInnerWidth)(this.trackHorizontal),K=this.getThumbHorizontalWidth(),V=M/(I-H)*(W-K),te={width:K,transform:"translateX(".concat(V,"px)")},He=A.scrollTop,be=A.clientHeight,we=A.scrollHeight,Je=(0,g.getInnerHeight)(this.trackVertical),Se=this.getThumbVerticalHeight(),ke=He/(we-be)*(Je-Se),ot={height:Se,transform:"translateY(".concat(ke,"px)")};if(C){var Z={visibility:I>H?"visible":"hidden"},fe={visibility:we>be?"visible":"hidden"};(0,d.default)(this.trackHorizontal,Z),(0,d.default)(this.trackVertical,fe)}(0,d.default)(this.thumbHorizontal,te),(0,d.default)(this.thumbVertical,ot)}y&&y(A),typeof h=="function"&&h(A)},p.prototype.render=function(){var h=this,m=this.state,y=m.scrollbarWidth,C=m.didMountUniversal,A=this.props,S=A.autoHeight,M=A.autoHeightMax,H=A.autoHeightMin,I=A.autoHide,W=A.autoHideDuration;A.autoHideTimeout;var K=A.children;A.classes,A.hideTracksWhenNotNeeded,A.onScroll,A.onScrollFrame,A.onScrollStart,A.onScrollStop,A.onUpdate;var V=A.renderThumbHorizontal,te=A.renderThumbVertical,He=A.renderTrackHorizontal,be=A.renderTrackVertical,we=A.renderView,Je=A.style,Se=A.tagName;A.thumbMinSize,A.thumbSize;var ke=A.universal;A.disableDefaultStyles;var ot=i(A,["autoHeight","autoHeightMax","autoHeightMin","autoHide","autoHideDuration","autoHideTimeout","children","classes","hideTracksWhenNotNeeded","onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderThumbHorizontal","renderThumbVertical","renderTrackHorizontal","renderTrackVertical","renderView","style","tagName","thumbMinSize","thumbSize","universal","disableDefaultStyles"]),Z=this.styles,fe=Z.containerStyleAutoHeight,N=Z.containerStyleDefault,j=Z.thumbStyleDefault,U=Z.trackHorizontalStyleDefault,G=Z.trackVerticalStyleDefault,T=Z.viewStyleAutoHeight,oe=Z.viewStyleDefault,_=Z.viewStyleUniversalInitial,de=t(t(t({},N),S&&t(t({},fe),{minHeight:H,maxHeight:M})),Je),se=t(t(t(t(t({},oe),{marginRight:y?-y:0,marginBottom:y?-y:0}),S&&t(t({},T),{minHeight:typeof H=="string"?"calc(".concat(H," + ").concat(y,"px)"):H+y,maxHeight:typeof M=="string"?"calc(".concat(M," + ").concat(y,"px)"):M+y})),S&&ke&&!C&&{minHeight:H,maxHeight:M}),ke&&!C&&_),ge={transition:"opacity ".concat(W,"ms"),opacity:0},Y=t(t(t({},U),I&&ge),(!y||ke&&!C)&&{display:"none"}),w=t(t(t({},G),I&&ge),(!y||ke&&!C)&&{display:"none"}),O=(0,g.getFinalClasses)(this.props);return(0,l.createElement)(Se,t(t({},ot),{className:O.root,style:de,ref:function(x){h.container=x}}),[(0,l.cloneElement)(we({style:se,className:O.view}),{key:"view",ref:function(x){h.view=x}},K),(0,l.cloneElement)(He({style:Y,className:O.trackHorizontal}),{key:"trackHorizontal",ref:function(x){h.trackHorizontal=x}},(0,l.cloneElement)(V({style:j,className:O.thumbHorizontal}),{ref:function(x){h.thumbHorizontal=x}})),(0,l.cloneElement)(be({style:w,className:O.trackVertical}),{key:"trackVertical",ref:function(x){h.trackVertical=x}},(0,l.cloneElement)(te({style:j,className:O.thumbVertical}),{ref:function(x){h.thumbVertical=x}}))])},p.defaultProps={autoHeight:!1,autoHeightMax:200,autoHeightMin:0,autoHide:!1,autoHideDuration:200,autoHideTimeout:1e3,disableDefaultStyles:!1,hideTracksWhenNotNeeded:!1,renderThumbHorizontal:function(h){return a.createElement("div",t({},h))},renderThumbVertical:function(h){return a.createElement("div",t({},h))},renderTrackHorizontal:function(h){return a.createElement("div",t({},h))},renderTrackVertical:function(h){return a.createElement("div",t({},h))},renderView:function(h){return a.createElement("div",t({},h))},tagName:"div",thumbMinSize:30,universal:!1},p})(l.Component);return rt.Scrollbars=b,rt}var Zp;function R5(){return Zp||(Zp=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=T5();Object.defineProperty(e,"Scrollbars",{enumerable:!0,get:function(){return t.Scrollbars}}),e.default=t.Scrollbars})(Ls)),Ls}var M5=R5(),oi;const nu=nv((oi=class extends wr{constructor(){super(...arguments);Ae(this,"scrollable",null);Ae(this,"ts",0);Ae(this,"state",{scrollTop:0,scrollHeight:0,clientHeight:0});Ae(this,"handleTouchStart",o=>{this.ts=o.touches[0].clientY});Ae(this,"handleTouchMove",o=>{if(!this.props.isolate||!this.scrollable)return!0;const r=this.scrollable.parentNode;if(!r)return;const n=o.changedTouches[0].clientY,i=this.ts>n?-1:1,s=i===1&&r.scrollTop===0,a=i===-1&&Math.floor(r.scrollTop)===r.scrollHeight-r.clientHeight;return(s||a)&&(o.preventDefault(),this.ts=n),!0});Ae(this,"handleScroll",o=>{if(!this.props.isolate||!this.scrollable)return!0;const r=this.scrollable.parentNode;if(!r)return;const n=(o.deltaY||o.detail)<0?1:-1;return(n===1&&r.scrollTop===0||n===-1&&r.scrollTop===r.scrollHeight-r.clientHeight)&&o.preventDefault(),!0});Ae(this,"handleUpdate",o=>{const{scrollTop:r,scrollHeight:n,clientHeight:i}=o;this.setState({scrollTop:r,scrollHeight:n,clientHeight:i})});Ae(this,"hexToRgb",o=>{const r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(o);return r?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null});Ae(this,"renderTrack",({style:o,...r},n)=>{const{trackColor:i,trackOpacity:s,trackBorderRadius:a,trackWidth:l}=this.props,c=i?this.hexToRgb(i):null,d={background:c?`rgba(${c.r}, ${c.g}, ${c.b}, ${s})`:"rgba(255,255,255,0)",borderRadius:`${a}px`,zIndex:14,...n==="vertical"?{right:4,top:2,bottom:2,width:`${l}px`}:{bottom:4,left:2,right:2,height:`${l}px`}};return u("div",{style:{...o,...d},...r})});Ae(this,"renderThumb",({style:o,...r})=>{const{thumbColor:n,thumbOpacity:i,thumbBorderRadius:s,thumbWidth:a}=this.props;return u("div",{style:{...o,opacity:i,backgroundColor:this.props.theme.colors[n],borderRadius:`${s}px`,width:`${a}px`},...r})})}componentDidMount(){this.scrollable&&this.scrollable.parentNode&&(this.scrollable.parentNode.addEventListener("touchstart",this.handleTouchStart,!1),this.scrollable.parentNode.addEventListener("touchmove",this.handleTouchMove,!1),this.scrollable.parentNode.addEventListener("wheel",this.handleScroll,!1),this.scrollable.parentNode.addEventListener("scroll",this.handleScroll,!1))}componentWillUnmount(){this.scrollable&&this.scrollable.parentNode&&(this.scrollable.parentNode.removeEventListener("touchstart",this.handleTouchStart),this.scrollable.parentNode.removeEventListener("touchmove",this.handleTouchMove),this.scrollable.parentNode.removeEventListener("wheel",this.handleScroll),this.scrollable.parentNode.removeEventListener("scroll",this.handleScroll))}calculateShadowOffset(){const{scrollTop:o,scrollHeight:r,clientHeight:n}=this.state,{shadowHeight:i=50}=this.props,s=r-n||0;return Math.floor(i*(o*100/(s<=0?1:s))/100-i)}render(){const{children:o,withShadow:r,shadowHeight:n,shadowColor:i,shadowOpacity:s,className:a,thumbColor:l,thumbOpacity:c,thumbBorderRadius:d,thumbWidth:g,trackColor:f,trackOpacity:b,trackBorderRadius:v,trackWidth:p,isolate:h,style:m,disabled:y,...C}=this.props;if(y)return u("div",{children:o});const{scrollHeight:A,clientHeight:S}=this.state,M=this.calculateShadowOffset();return u("div",{style:{...m,position:"relative"},className:a,children:[r&&A>S&&M!==-n?u("div",{style:{position:"absolute",display:"block",height:`${n}px`,left:0,right:0,top:`-${n}px`,opacity:s,backgroundImage:`linear-gradient(to bottom, ${this.props.theme.colors[i]} 20%, rgba(255, 255, 255, 0) 100%)`,transform:`translateY(${n+M}px)`,zIndex:10}}):null,r&&A>S&&M<0?u("div",{style:{position:"absolute",display:"block",height:`${n}px`,left:0,right:0,bottom:0,opacity:s,backgroundImage:`linear-gradient(to top, ${this.props.theme.colors[i]} 20%, rgba(255, 255, 255, 0) 100%)`,transform:`translateY(${n+M}px)`,zIndex:10}}):null,u(M5.Scrollbars,{renderTrackVertical:H=>this.renderTrack({...H},"vertical"),renderTrackHorizontal:H=>this.renderTrack({...H},"horizontal"),renderThumbHorizontal:this.renderThumb,renderThumbVertical:this.renderThumb,onUpdate:this.handleUpdate,hideTracksWhenNotNeeded:!0,...C,children:u("div",{ref:H=>{this.scrollable=H},children:o})})]})}},Ae(oi,"displayName","Scrollable"),Ae(oi,"defaultProps",{autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,withShadow:!1,shadowHeight:50,shadowOpacity:.15,shadowColor:"mineShaft",thumbColor:"mineShaft",thumbOpacity:.15,thumbBorderRadius:1,thumbWidth:4,trackColor:"#333333",trackOpacity:.15,trackBorderRadius:1,trackWidth:4,disabled:!1,isolate:!0}),oi));nu.displayName="Scrollable";const z5={1:"0.05em",2:"0.1em",3:"0.15em",4:"0.25em",5:"0.3em"},H5=k(xe).withConfig({displayName:"Separator__Text",componentId:"ui__sc-b5xwi9-0"})(["position:absolute;z-index:1;display:inline-block;left:50%;top:50%;transform:translate(-50%,-50%);padding:0 12px;background-color:",";"],e=>e.theme.colors.white),B5=k.div.withConfig({displayName:"Separator__TextRoot",componentId:"ui__sc-b5xwi9-1"})(["display:block;width:auto;position:relative;z-index:0;text-align:center;"]),D5=k.div.withConfig({shouldForwardProp:e=>["children","className","style"].includes(e)}).withConfig({displayName:"Separator__Root",componentId:"ui__sc-b5xwi9-2"})(["display:block;width:auto;background-color:currentcolor;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],e=>R(["height:",";"],z5[e.weight||1]),e=>e.color?ln(e.color,"color"):null,e=>e.padding?pe(e.padding,"padding"):null,e=>e.paddingTop?pe(e.paddingTop,"padding-top"):null,e=>e.paddingRight?pe(e.paddingRight,"padding-right"):null,e=>e.paddingBottom?pe(e.paddingBottom,"padding-bottom"):null,e=>e.paddingLeft?pe(e.paddingLeft,"padding-left"):null,e=>e.margin?pe(e.margin,"margin"):null,e=>e.marginTop?pe(e.marginTop,"margin-top"):null,e=>e.marginRight?pe(e.marginRight,"margin-right"):null,e=>e.marginBottom?pe(e.marginBottom,"margin-bottom"):null,e=>e.marginLeft?pe(e.marginLeft,"margin-left"):null,({paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n})=>he({sizes:{paddingXS:e,paddingS:t,paddingM:o,paddingL:r,paddingXL:n},cssProperty:"padding"}),({paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n})=>he({sizes:{paddingTopXS:e,paddingTopS:t,paddingTopM:o,paddingTopL:r,paddingTopXL:n},cssProperty:"padding-top"}),({paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n})=>he({sizes:{paddingRightXS:e,paddingRightS:t,paddingRightM:o,paddingRightL:r,paddingRightXL:n},cssProperty:"padding-right"}),({paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n})=>he({sizes:{paddingBottomXS:e,paddingBottomS:t,paddingBottomM:o,paddingBottomL:r,paddingBottomXL:n},cssProperty:"padding-bottom"}),({paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n})=>he({sizes:{paddingLeftXS:e,paddingLeftS:t,paddingLeftM:o,paddingLeftL:r,paddingLeftXL:n},cssProperty:"padding-left"}),({marginXS:e,marginS:t,marginM:o,marginL:r,marginXL:n})=>he({sizes:{marginXS:e,marginS:t,marginM:o,marginL:r,marginXL:n},cssProperty:"margin"}),({marginTopXS:e,marginTopS:t,marginTopM:o,marginTopL:r,marginTopXL:n})=>he({sizes:{marginTopXS:e,marginTopS:t,marginTopM:o,marginTopL:r,marginTopXL:n},cssProperty:"margin-top"}),({marginRightXS:e,marginRightS:t,marginRightM:o,marginRightL:r,marginRightXL:n})=>he({sizes:{marginRightXS:e,marginRightS:t,marginRightM:o,marginRightL:r,marginRightXL:n},cssProperty:"margin-right"}),({marginBottomXS:e,marginBottomS:t,marginBottomM:o,marginBottomL:r,marginBottomXL:n})=>he({sizes:{marginBottomXS:e,marginBottomS:t,marginBottomM:o,marginBottomL:r,marginBottomXL:n},cssProperty:"margin-bottom"}),({marginLeftXS:e,marginLeftS:t,marginLeftM:o,marginLeftL:r,marginLeftXL:n})=>he({sizes:{marginLeftXS:e,marginLeftS:t,marginLeftM:o,marginLeftL:r,marginLeftXL:n},cssProperty:"margin-left"}),e=>e.top?pe(e.top,"padding-top"):null,e=>e.right?pe(e.right,"padding-right"):null,e=>e.bottom?pe(e.bottom,"padding-bottom"):null,e=>e.left?pe(e.left,"padding-left"):null,({topXS:e,topS:t,topM:o,topL:r,topXL:n})=>he({sizes:{topXS:e,topS:t,topM:o,topL:r,topXL:n},cssProperty:"padding-top"}),({rightXS:e,rightS:t,rightM:o,rightL:r,rightXL:n})=>he({sizes:{rightXS:e,rightS:t,rightM:o,rightL:r,rightXL:n},cssProperty:"padding-right"}),({bottomXS:e,bottomS:t,bottomM:o,bottomL:r,bottomXL:n})=>he({sizes:{bottomXS:e,bottomS:t,bottomM:o,bottomL:r,bottomXL:n},cssProperty:"padding-bottom"}),({leftXS:e,leftS:t,leftM:o,leftL:r,leftXL:n})=>he({sizes:{leftXS:e,leftS:t,leftM:o,leftL:r,leftXL:n},cssProperty:"padding-left"}));function L5({children:e,className:t,color:o,...r}){return u(B5,{children:[u(hr,{className:t,color:o,...r}),u(H5,{color:o,children:e})]})}function hr(e){return u(D5,{...e})}hr.defaultProps={margin:"s",color:"grey",weight:1},hr.Text=L5,hr.displayName="Separator";const rc={l:60,m:40,s:20},_5=Qo(["to{transform:rotate(360deg);}"]),I5=R(["height:100vh;margin:0 auto;display:flex;align-items:center;justify-content:center;"]),N5=R(["display:inline-block;vertical-align:middle;margin:0;"]),Kp=(e,t="px")=>e===0?null:R(["width:","",";height:","",";&:before{width:","",";height:","",";margin-top:-","",";margin-left:-","",";}"],e,t,e,t,e,t,e,t,e/2,t,e/2,t),jr=e=>e&&typeof e!="boolean"?typeof e=="number"?e:rc[e]?rc[e]:0:0,j5=k.div.withConfig({shouldForwardProp:e=>["className","style"].includes(e)}).withConfig({displayName:"Spinner__Root",componentId:"ui__sc-1ejsorp-0"})(["display:block;position:relative;margin:30px auto;&:before{content:'';box-sizing:border-box;position:absolute;top:50%;left:50%;border-radius:50%;border:2px solid #eeeeee;border-top-color:#459ff3;animation:"," 0.6s linear infinite;}"," "," "," ",""],_5,e=>e.inline?N5:null,e=>e.size?pe(rc[e.size]||e.size,Kp):null,({sizeXS:e,sizeS:t,sizeM:o,sizeL:r,sizeXL:n})=>he({sizes:{sizeXS:jr(e),sizeS:jr(t),sizeM:jr(o),sizeL:jr(r),sizeXL:jr(n)},cssProperty:Kp}),e=>e.fullscreen?I5:null);function un({className:e,...t}){const o=Sr(un.displayName,e);return u(j5,{className:o,...t})}un.defaultProps={size:"m"},un.displayName="Spinner";const nc=Object.freeze({facebook:"#0561af",twitter:"#00bff3",youtube:"#ff0000",instagrammagenta:"#c32aa3",instagramblue:"#4c5fd7",instagrampurple:"#7232bd",instagramorange:"#f46f30",instagramyellow:"#ffdc7d",pinterest:"#cb2027",googleplus:"#df4a32",linkedin:"#007bb6",vimeoblue:"#45bbff",vimeogreen:"#aad450",vimeoorange:"#f7b42c",vimeopink:"#f27490",tumblr:"#2c4762",snapchat:"#fffc00",whatsappgreen:"#25d366",whatsappteal1:"#075e54",whatsappteal2:"#128c7e",foursquarepink:"#fc4575",foursquareblue:"#2d5be3",swarm:"#ffb000",skypeblue:"#00aff0",skypegreen:"#7fba00",android:"#a4c639",stumbleupon:"#eb4924",flickrpink:"#f40083",flickrblue:"#006add",yahoo:"#430297",soundcloud:"#ff5500",spotifygreen:"#1ed760",spotifydarkgreen:"#1db954",dribbble:"#ea4c89",reddit:"#ff5700",deviantart:"#4a5d4e",pocket:"#ee4056",quora:"#aa2200",quorablue:"#2b6dad",slideshareorange:"#f7941e",slideshareblue:"#1191d0",telegram:"#0088cc",fivehundredpx:"#0099e5",listlyorange:"#df6d46",listlyblue:"#52b1b3",vine:"#00b489",vk:"#4d75a2",ok:"#ee8208",mailru:"#158DE2"}),Q=Object.freeze({white:"#ffffff",black:"#000000",tundora:"#4a4a4a",paleSky:"#697389",bostonBlue:"#0060d0",atlantisBrightly:"#99cc33",cinnabar:"#e00000",sail:"#a9dbf8",bittersweet:"#ff6666",turquoise:"#33cccc",dodgerBlue:"#33ccff",mantis:"#66cc66",azure:"#336699",bahamaBlue:"#006699",shamrock:"#33cc99",olive:"#999900",copperRose:"#996666",cyan:"#3399ff",plum:"#993399",hokeyPokey:"#cc9933",monaLisa:"#ff9999",mariner:"#3366cc",heliotrope:"#cc33ff",dandelion:"#ffce03",fruitSalad:"#49a15d",fuchsiaBlue:"#8d58bc",persianGreen:"#009999",watermelon:"#ff4679",tropaz:"#2863a8",lima:"#5fd0da",mintTulip:"#bfecf0",carnationPink:"#ffa6ce",paleRose:"#ffdcec",deYork:"#82d180",peppermint:"#cdedcc",cornflowerBlue:"#62aee9",colonialWhite:"#fdedd2",cherokee:"#fbd291",supernova:"#ffce03",picasso:"#ffeb9a",bilobaFlower:"#9fafe9",linkWater:"#d8dff6",transparent:"transparent",mineShaft:"#333333",silver:"#b8b8b8",alto:"#d4d4d4",mercury:"#e9e9e9",wildSand:"#f6f6f6",whiteGray:"#eaeaea",alabaster:"#f8f8f8",whiteLilac:"#F6F7FB",atlantis:"#7fc92e",yellowOrange:"#ffb334",mystic:"#dcdfea",pomegranate:"#f94b28",oliveDrab:"#6ca82a",curious:"#007CEE",orangePeel:"#ff9900",nebula:"#d8e6e2",seaNymph:"#7ca79b",chromeWhite:"#daefc9",onahau:"#c6e6ff",citrineWhite:"#faf3dd",coralReef:"#c9c1a6",creemBrulee:"#ffe89e",frangipani:"#ffdcb5",yourPink:"#ffc2c2",periwinkleGray:"#d4d9ee",baliHai:"#8890b4",primary:"#ff732b",accent:"#1A96F6",catalinaBlue:"#023178",danube:"#759BD7",midnightDeep:"#00276E",anakiva:"#86caff",azureRadiance:"#007cee",blueMarguerite:"#6c6ace",blueViolet:"#5958b4",bossanova:"#4c2864",capeCod:"#3f4d4d",cerulean:"#00a6de",congressBlue:"#004484",congressBlueLight:"#00498f",creamBrulee:"#ffe89e",denim:"#117bdc",earlyDawn:"#FFFAEA",eminence:"#57296F",endeavour:"#0055a4",fern:"#6fb66e",ghost:"#c9C7d8",grape:"#4A1E61",gunsmoke:"#818f8f",highland:"#619b62",honeyFlower:"#4f196a",honeyFlower2:"#531C70",honeyFlower3:"#5F2280",jagger:"#3B0F52",jordyBlue:"#82beed",jumbo:"#88888c",mediumPurple:"#8f48e6",midnightBlue:"#032b66",moodyBlue:"#7a78d7",nandor:"#475757",nevada:"#657171",olivine:"#a4ca8a",parsley:"#12522D",pattensBlue:"#d4ebfe",pattensBlueLight:"#d8eeff",scarletGum:"#3e1354",scienceBlue:"#0068c9",scienceBlue03:"rgba(0, 104, 201, 0.3)",seance:"#68278a",smalt:"#00378a",smaltLight:"#003b95",tarawera:"#0a3859",toryBlue:"#1259a6",toryBlueDark:"#144da3",dodgerBlueDark:"#2787f5",chambray:"#3b589e",chambrayDark:"#324b86",pomegranateDark:"#FC3F1D",azureRadiance2:"#0077ff",curiousBlue:"#229ed9",jungleGreen:"#2db05a",violetDeep:"#8950E6",stormGray:"#6E707C",zeus:"#2C2620",athensGray:"#F5F6F9",marinerLight:"#297DCB",royalBlue:"#5674DF",melrose:"#9CAFFD",zircon:"#F2F5FF",veniceBlue:"#05528E",solitude:"#EBF7FF",selago:"#E6EBFC",coconutCream:"#EDF8DE",cinderella:"#FEE8DE",royalBlueDark:"#5157ed",persianBlue:"#3a11db",ultramarine:"#2705ae",cornflowerBlueDark:"#6d73ff",jungleGreenDark:"#2faa73",mountainMeadow:"#17be73",dodgerBlueDim:"#1a96f6",zirconDark:"#ebefff",pizazz:"#FF8A00",madison:"#0A2E64",ebony:"#120F21",mediumRedViolet:"#CC2E8D",fruitSaladLight:"#63AB4F",shark:"#25262C",azureRadianceLight:"#0f90f4",carnation:"#F46868",limaGreen:"#72BC21",mysin:"#FFAB1F",studio:"#563FBA",athsSpecial:"#EAE2CA",thunderbird:"#cf3d17",denimDark:"#0b71bf",puertoRico:"#36c0b0",lochmara:"#087ad3",aliceBlue:"#eff7ff",perano:"#b4baef",portage:"#8785e6",royalBlueDim:"#3C75E5",sailDim:"#baddf8",solitaire:"#fef6e9",capeHoney:"#fee2b3",fairPink:"#ffeee6",romantic:"#ffd5c2",polar:"#dff5f7",cruise:"#b9eaee",selagoLight:"#f3f4fd",moonRaker:"#c4cef4",pippin:"#ffe0e0",yourPinkDark:"#ffbbbb",peppermintLight:"#e6f6e5",fringyFlower:"#c8ebc7",heliotropeDark:"#9C6DFF",pictonBlue:"#48A1E6",mediumPurpleRed:"#8C7AE8",scooter:"#3BC9DC",chambrayDim:"#393C9E",dodgerBlueLight:"#1C78FF",selectiveYellow:"#ffb800",scienceBlueDark:"#005dcf",dodgerBlueDeep:"#29A2FF",kashmirBlue:"#4C7191",turbo:"#ffe603",denimDim:"#0C71BF",orangeRoughy:"#CF4D17",selagoDim:"#EFF7FD",congressBlueNight:"#01488A",azureRadianceMedium:"#0988eb",honeyFlowerDim:"#501A6B",jaguar:"#160420",kournikova:"#fde57e",drover:"#FCEBA4",flamingo:"#EF5436",mineShaftDim:"#252525",periwinkle:"#d3ddff",colonialWhiteDim:"#feefbb",pattensBlueDeep:"#d7edff",solitudeDim:"#e8f5ff",periwinkleDim:"#ccdaff",rioGrande:"#afdb00",kournikovaDim:"#ffde7a"}),ic=Object.freeze({profession:Q.mintTulip,professionDark:Q.lima,camps:Q.chromeWhite,campsDark:Q.atlantis,courses:Q.onahau,coursesDark:Q.cornflowerBlue,openLesson:Q.colonialWhite,openLessonDark:Q.cherokee,externat:Q.paleRose,externatDark:Q.carnationPink,olympiad:Q.yourPink,olympiadDark:Q.bittersweet,textbook:Q.picasso,textbookDark:Q.supernova,tutors:Q.linkWater,tutorsDark:Q.bilobaFlower,training:Q.peppermint,trainingDark:Q.deYork,mathematics:Q.orangePeel,physics:Q.curious,informatics:Q.turquoise,chemistry:Q.shamrock,biology:Q.mantis,english:Q.bittersweet,russian:Q.dodgerBlue,history:Q.bahamaBlue,society:Q.primary,geography:Q.copperRose,developing:Q.olive,literature:Q.cyan,intersubject:Q.plum,primarySchool:Q.hokeyPokey,recommended:Q.monaLisa,astronomy:Q.mariner,ecology:Q.atlantisBrightly,technology:Q.turquoise,languages:Q.bittersweet,art:Q.heliotrope,physicalCulture:Q.olive,logic:Q.dandelion,businessLogic:Q.fruitSalad,rap:Q.fuchsiaBlue,ikt:Q.persianGreen,kids:Q.watermelon,fgos:Q.tropaz,blue:Q.accent,red:Q.pomegranate,green:Q.atlantis,grey:Q.silver,darkgrey:Q.mineShaft,lightgrey:Q.alto,superlightgrey:Q.mercury}),X5=Zi(["#react-floater-portal{position:relative;}:root{"," "," ","}"],Object.keys(Q).map(e=>R(["--",":",";"],e,Q[e])),Object.keys(nc).map(e=>R(["--",":",";"],e,nc[e])),Object.keys(ic).map(e=>R(["--",":",";"],e,ic[e])));function F5(e,t){if(!e)return;const o=[];return((r,n="")=>/^((http|https):\/\/)/.test(n)&&!new URL(n).hostname.endsWith(r))(window.location.hostname,e)&&(t==="_blank"&&o.push("noopener"),o.push("nofollow")),o.length!==0?o.join(" "):void 0}const U5={"content-onmain-primary":"#25262c","content-onmain-secondary":"#25262cb3","content-onmain-tertiary":"#25262c8c","content-onmain-inverse":"#FFFFFF","content-oncolor-primary":"#ffffff","content-oncolor-secondary":"#ecedf3cc","content-oncolor-tertiary":"#ecedf399","content-oncolor-inverse":"#25262c","content-oncolor-constant":"#25262c","content-disabled":"#05193380","content-oncolor-disabled":"#f5f6f999","content-oncolor-hover":"#00000029","content-onmain-hover":"#ffffff29","content-discount":"#db3339","content-link":"#376af6","border-onmain-default-large":"#05193329","border-onmain-default-small":"#05193347","border-onmain-contrast":"#25262c","border-disabled":"#0519331f","border-focus":"#8aafff","border-oncolor-disabled":"#ffffff66","border-oncolor-default":"#ffffff","border-oncolor-default-large":"#ffffff99","bg-onmain-main":"#f5f6f9","bg-onmain-primary":"#ffffff","bg-onmain-secondary":"#f5f6f9","bg-onmain-tertiary":"#ecedf3","bg-onmain-divider":"#d5d7e1","bg-onmain-contrast":"#25262c","bg-onmain-inverse":"#25262c","bg-oncolor-primary":"#ffffff","bg-oncolor-secondary":"#ffffff3d","bg-oncolor-tertiary":"#ffffff1f","bg-oncolor-hover":"#00000014","bg-disabled-large":"#ecedf3","bg-disabled-small":"#d5d7e1","bg-disabled-active":"#a6a8b5","bg-oncolor-disabled":"#ffffff1f","bg-contrast-active":"#25262c","bg-oncontrast-hover":"#ffffff14","alert-bg-success-100":"#ddf4cd","alert-bg-success-200":"#bce4aa","alert-bg-success-500":"#63ab4f","alert-bg-warning-100":"#ffebcc","alert-bg-warning-200":"#ffd294","alert-bg-warning-500":"#f16f04","alert-bg-error-100":"#ffe9e5","alert-bg-error-200":"#ffcbc7","alert-bg-error-500":"#e4494e","alert-success":"#488b32","alert-warning":"#db6300","alert-error":"#db3339","product-bg-course":"#e1f5fe","product-bg-tutor":"#eaf9ae","product-bg-group":"#feffbd","product-bg-complect":"#ffebcc","skeleton-onmain-primary":"rgba(0, 0, 0, 0.06)","skeleton-onmain-secondary":"rgba(0, 0, 0, 0.1)","skeleton-gradient-from-color-onmain":"rgba(0, 0, 0, 0)","skeleton-gradient-to-color-onmain":"rgba(0, 0, 0, 0.07)","skeleton-oncolor-primary":"rgba(255, 255, 255, 0.15)","skeleton-oncolor-secondary":"rgba(255, 255, 255, 0.2)","skeleton-gradient-from-color-oncolor":"rgba(255, 255, 255, 0)","skeleton-gradient-to-color-oncolor":"rgba(255, 255, 255, 0.2)","bg-other-badge":"#25262c33","bg-other-black":"#000000","alert-bg-info-100":"#f1e5ff","alert-bg-info-200":"#e1d4f7","alert-bg-info-500":"#8a51e6","alert-info":"#8a51e6","product-content-school":"#8a51e6","product-content-group":"#8a51e6","product-content-outclass":"#f16f04","product-content-course":"#376af6","product-content-tutor":"#63ab4f","product-high-school":"#8a51e6","product-high-group":"#8a51e6","product-high-outclass":"#f16f04","product-high-course":"#376af6","product-high-tutor":"#63ab4f","product-low-school":"#f1e5ff","product-low-group":"#f1e5ff","product-low-outclass":"#ffebcc","product-low-course":"#e5ecff","product-low-tutor":"#ddf4cd","bg-other-overlay":"#25262C8C","product-low-school-50":"#f8f1ffff","product-low-group-50":"#f8f1ffff","product-low-outclass-50":"#fff5e6ff","product-low-course-50":"#f0f4ffff","product-low-tutor-50":"#effae2ff"},V5={"content-brand-primary":"#8a51e6","content-brand-secondary":"#db6300","border-brand-primary":"#8a51e6","border-brand-secondary":"#db6300","border-brand-primary-hover":"#8a51e680","border-brand-primary-active":"#8a51e6","bg-brand-primary-basic":"#8a51e6","bg-brand-primary-100":"#f1e5ff","bg-brand-primary-200":"#e1d4f7","bg-brand-primary-400":"#c09eff","bg-brand-primary-500":"#8a51e6","bg-brand-secondary-basic":"#ff9900","bg-brand-secondary-100":"#ffebcc","bg-brand-secondary-200":"#ffd294","bg-brand-secondary-400":"#ff9900","bg-brand-secondary-500":"#f16f04","bg-brand-tertiary-100":"#feffbd","bg-brand-tertiary-200":"#fffb80","bg-brand-quaternary-100":"#e1f5fe","bg-brand-quaternary-200":"#bddcea","bg-brand-quaternary-400":"#89b8cd","bg-brand-quaternary-500":"#61a3bd","bg-brand-primary-basic-active":"#8a51e6","bg-brand-primary-100-active":"#f1e5ff","bg-brand-primary-100-hover":"#f1e5ff80","bg-brand-primary-50":"#f8f1ffff","bg-brand-secondary-50":"#fff5e6ff"},Jg={"alert-bg-error-100":"#ffe1de","alert-bg-error-200":"#ffd0cb","alert-bg-error-400":"#ff9991","alert-bg-error-500":"#e53238","alert-bg-info-100":"#eee7ff","alert-bg-info-200":"#e0d3ff","alert-bg-info-400":"#b199ff","alert-bg-info-500":"#6035e2","alert-bg-success-100":"#d2f8c5","alert-bg-success-200":"#b1f39e","alert-bg-success-400":"#6ddd65","alert-bg-success-500":"#1b9716","alert-bg-warning-100":"#ffe994","alert-bg-warning-200":"#fcda78","alert-bg-warning-400":"#f2a92c","alert-bg-warning-500":"#c95e00","alert-error":"#e53238","alert-info":"#6f46f1","alert-success":"#1b9716","alert-warning":"#c95e00","bg-brand-additional-1-100":"#fdfaa9","bg-brand-additional-1-200":"#fffa7d","bg-brand-additional-1-400":"#ffd500","bg-brand-additional-1-50":"#fffed6","bg-brand-additional-1-500":"#ad8600","bg-brand-additional-2-100":"#ceeefe","bg-brand-additional-2-200":"#aee4ff","bg-brand-additional-2-400":"#2fc4ff","bg-brand-additional-2-50":"#e9f8ff","bg-brand-additional-2-500":"#0089bb","bg-brand-additional-3-100":"#d2f8c5","bg-brand-additional-3-200":"#b1f39e","bg-brand-additional-3-400":"#6ddd65","bg-brand-additional-3-50":"#e8ffe6","bg-brand-additional-3-500":"#1b9716","bg-brand-additional-4-100":"#ffd9fb","bg-brand-additional-4-200":"#ffbdf2","bg-brand-additional-4-400":"#e57ab9","bg-brand-additional-4-50":"#fff5ff","bg-brand-additional-4-500":"#a00949","bg-brand-primary-100":"#eee7ff","bg-brand-primary-100-active":"#eee7ff","bg-brand-primary-100-hover":"#eee7ff80","bg-brand-primary-200":"#e0d3ff","bg-brand-primary-400":"#b199ff","bg-brand-primary-50":"#f6f3ff","bg-brand-primary-500":"#6035e2","bg-brand-primary-basic":"#6035e2","bg-brand-primary-basic-active":"#6035e2","bg-brand-quaternary-100":"#ffe7c7","bg-brand-quaternary-200":"#ffddb0","bg-brand-quaternary-400":"#ff9900","bg-brand-quaternary-50":"#fff2de","bg-brand-quaternary-500":"#fb6300","bg-brand-quaternary-basic":"#ff9900","bg-brand-secondary-100":"#ffe7c7","bg-brand-secondary-200":"#ffddb0","bg-brand-secondary-400":"#ff9900","bg-brand-secondary-50":"#fff2de","bg-brand-secondary-500":"#fb6300","bg-brand-secondary-basic":"#ff9900","bg-brand-tertiary-100":"#ffe7c7","bg-brand-tertiary-200":"#ffddb0","bg-brand-tertiary-400":"#ff9900","bg-brand-tertiary-50":"#fff2de","bg-brand-tertiary-500":"#fb6300","bg-brand-tertiary-basic":"#ff9900","bg-contrast-active":"#262830","bg-disabled-active":"#afb1bd","bg-disabled-large":"#e7e9f3","bg-disabled-small":"#d9dbe5","bg-oncolor-disabled":"#ffffff1f","bg-oncolor-hover":"#0000001a","bg-oncolor-primary":"#ffffff","bg-oncolor-secondary":"#ffffff3d","bg-oncolor-tertiary":"#ffffff1f","bg-oncontrast-hover":"#ffffff14","bg-onmain-contrast":"#262830","bg-onmain-divider":"#d9dbe5","bg-onmain-inverse":"#262830","bg-onmain-main":"#f5f6f9","bg-onmain-primary":"#ffffff","bg-onmain-secondary":"#f5f6f9","bg-onmain-tertiary":"#e7e9f3","bg-other-badge":"#26283033","bg-other-black":"#000000","bg-other-overlay":"#2628308c","bg-other-shade-oncolor":"#ffffff1f","bg-other-shade-onmain":"#9496a329","bg-other-surface":"#ffffff","border-brand-primary":"#6f46f1","border-brand-primary-active":"#6f46f1","border-brand-primary-hover":"#6035e280","border-brand-secondary":"#de5800","border-disabled":"#0519331f","border-focus":"#8aafff","border-focus-inner":"#ffffff","border-oncolor-default":"#ffffff","border-oncolor-default-large":"#ffffff99","border-oncolor-disabled":"#ffffff66","border-oncolor-soft-large":"#ffffff14","border-oncolor-soft-small":"#ffffff29","border-onmain-contrast":"#12131a","border-onmain-default-large":"#05193329","border-onmain-default-small":"#05193347","border-onmain-soft-large":"#05193314","border-onmain-soft-small":"#05193329","content-absolute":"#000000","content-brand-primary":"#6f46f1","content-brand-secondary":"#de5800","content-disabled":"#05193380","content-discount":"#e53238","content-link":"#376af6","content-oncolor-constant":"#12131a","content-oncolor-disabled":"#f5f6f999","content-oncolor-hover":"#00000029","content-oncolor-inverse":"#262830","content-oncolor-primary":"#ffffff","content-oncolor-quaternary":"#ffffff","content-oncolor-secondary":"#e7e9f3","content-oncolor-tertiary":"#e7e9f399","content-onmain-hover":"#ffffff29","content-onmain-inverse":"#ffffff","content-onmain-primary":"#262830","content-onmain-secondary":"#262830b2","content-onmain-tertiary":"#2628308c","effect-shadow-large":"#00000024","effect-shadow-medium":"#0000001a","effect-shadow-press":"#00000029","effect-shadow-small":"#00000014","external-mail":"#0077ff","external-sber":"#148f2b","external-tbank":"#ffdd2d","external-telegram":"#27a7e7","external-twenty-thirty-five":"#ea1d24","external-vk":"#0077ff","external-yandex":"#f8604a","material-black-regular":"#00000099","material-black-thick":"#000000cc","material-black-thin":"#00000066","material-black-ultra-thin":"#00000033","material-transfer-regular":"#ffffff99","material-transfer-thick":"#ffffffcc","material-transfer-thin":"#ffffff66","material-transfer-ultra-thin":"#ffffff33","material-white-regular":"#ffffff99","material-white-thick":"#ffffffcc","material-white-thin":"#ffffff66","material-white-ultra-thin":"#ffffff33","product-base-college":"#ff9900","product-base-complect":"#b199ff","product-base-course":"#aee4ff","product-base-group":"#b199ff","product-base-outclass":"#ff9900","product-base-school":"#b199ff","product-base-subscription":"#e57ab9","product-base-tutor":"#6ddd65","product-bg-complect":"#6035e2","product-bg-course":"#aee4ff","product-bg-group":"#ff9900","product-bg-tutor":"#b1f39e","product-content-college":"#de5800","product-content-complect":"#6f46f1","product-content-course":"#0089bb","product-content-group":"#6f46f1","product-content-outclass":"#de5800","product-content-school":"#6f46f1","product-content-subscription":"#b0265f","product-content-tutor":"#1b9716","product-high-college":"#fb6300","product-high-complect":"#6035e2","product-high-course":"#0089bb","product-high-group":"#6035e2","product-high-outclass":"#fb6300","product-high-school":"#6035e2","product-high-subscription":"#a00949","product-high-tutor":"#1b9716","product-low-college":"#ffe7c7","product-low-college-50":"#fff2de","product-low-complect":"#eee7ff","product-low-complect-50":"#f6f3ff","product-low-course":"#ceeefe","product-low-course-50":"#e9f8ff","product-low-group":"#eee7ff","product-low-group-50":"#f6f3ff","product-low-outclass":"#ffe7c7","product-low-outclass-50":"#fff2de","product-low-school":"#eee7ff","product-low-school-50":"#f6f3ff","product-low-subscription":"#ffd9fb","product-low-subscription-50":"#fff5ff","product-low-tutor":"#d2f8c5","product-low-tutor-50":"#e8ffe6","skeleton-gradient-from-color-oncolor":"#ffffff00","skeleton-gradient-from-color-onmain":"#00000000","skeleton-gradient-to-color-oncolor":"#ffffff33","skeleton-gradient-to-color-onmain":"#00000014","skeleton-oncolor-primary":"#ffffff26","skeleton-oncolor-secondary":"#ffffff33","skeleton-onmain-primary":"#0000000f","skeleton-onmain-secondary":"#0000001a","state-dark":"#0000001a","state-dark-strong":"#00000033","state-light":"#ffffff14","state-light-strong":"#ffffff29",transparent:"transparent"},Ve={breakpoints:Si,colors:{...Jg,...Q,...nc,...ic,...U5,...V5},borderRadius:"5px",textColor:"mineShaft",fallbackColor:"mineShaft",zIndex:{modal:9e3,tooltip:80},classNamePrefix:"fox",defaultInputControlsWidth:u5.l,utils:{relBuilder:F5,hexToRgbA:cv,hover:{light:wg,lightStrong:av,dark:kg,darkStrong:lv}},mixins:{focus:Zo},mode:"light",preset:"default",name:"mother",components:{Arrow:{size:"l"},Button:{size:"m"},Checkbox:{size:"m"},Tooltip:{preset:"default"}}};({...Ve});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});({...Ve,colors:{...Ve.colors}});const Wg={...Ve,colors:Jg,preset:"brand",name:"foxford"};({...Ve});({...Ve});({...Ve});({...Ve});({...Ve});function G5(e){const t=xo((o=Ve)=>{const r=e.theme;return typeof r=="function"?r(o):typeof r!="object"||Array.isArray(r)||r===null?o:cn(o,r)},[e.theme]);return u(yg,{theme:t,children:[u(X5,{}),e.children]})}const q5="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='32'%20width='32'%20height='32'%20rx='16'%20transform='rotate(-90%200%2032)'%20fill='%233B3A3D'/%3e%3cpath%20d='m10%2014%205.7879%205.7879c.1171.1171.3071.1171.4242%200L22%2014'%20stroke='%23fff'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Yg=k.div(["display:flex;align-items:center;justify-content:space-between;position:relative;width:100%;padding:18px 0 20px 0;font-size:16px;line-height:1.1;color:#909090;cursor:pointer;border-bottom:2px solid #454448;transition:color 0.4s ease;",""],ie()`
|
|
358
358
|
border-bottom: none;
|
|
359
359
|
padding: 0;
|
|
360
360
|
cursor: default;
|
|
@@ -474,7 +474,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
474
474
|
`),g6=k.div(["display:flex;flex-direction:row;flex-wrap:nowrap;"]),m6=k.div(["font-size:16px;line-height:20px;"]),Kg=R(["font-weight:700;color:",";text-decoration:none;&:hover{cursor:pointer;color:",";}"],({theme:e})=>e.colors["content-oncolor-secondary"],({theme:e})=>e.colors["content-oncolor-primary"]),b6=k.a(["",""],Kg),v6=k.a(["",""],Kg),$g=Rr(()=>{});function iu({area:e,children:t,layout:o="base",onInteraction:r}){const n=(i,s={})=>{try{r==null||r({...i,area:e,layout:o},s)}catch{}};return u($g.Provider,{value:n,children:t})}const re=()=>Ct($g);function Fe({id:e,sourceId:t,title:o,url:r}){return{id:e,sourceId:t,title:o,url:r}}function $(e){return{cause:e.type.startsWith("key")||e.detail===0?"keyboard":"pointer",element:e.currentTarget instanceof Element?e.currentTarget:void 0,event:e.nativeEvent}}const y6=/(?:(\d{1,}?))??(?:(\d{1,3}?))??(?:(\d{1,3}?))??(?:(\d{2}))??(\d{2})$/;function x6(e){return e.replace(y6,(t,o,r,n,i,s)=>[o?`${o} `:"",r?`${r} `:"",n?`${n}-`:"",i?`${i}-`:"",s].join(""))}const $p="border-oncolor-soft-small",w6={sales:["telegram","max"],social:["vk","ok","youtube","telegram"],support:["vkontakte","telegram","max"]};function Us({links:e,placement:t}){const o=re();return e.length===0?null:u(g6,{children:e.map(r=>u($5,{analyticsPath:w6[t].includes(r.id)?`${t}-${r.id}`:void 0,href:r.href,iconName:r.iconName,label:r.label,onClick:n=>o({item:{id:r.id,title:r.label,url:r.href},placement:t,type:t==="sales"?"footer.sales.activate":t==="social"?"footer.social.activate":"footer.contact.activate"},$(n))},r.id))})}function eh({number:e,id:t}){const o=re();return u(Lt,{bottom:12,top:4,children:u(b6,{"data-fxa-action":"open","data-fxa-path":t,href:`tel:${e}`,onClick:r=>o({item:{id:t,url:`tel:${e}`},type:"footer.contact.activate"},$(r)),children:x6(e)})})}function k6({contacts:e={},hideDataOnMirror:t=!1,salesLinks:o=[],socialLinks:r=[]}){const n=re(),i=[{href:e.vkontakte,iconName:"vkSocial",id:"vkontakte"},{href:e.telegram,iconName:"telegramSocial",id:"telegram"},{href:e.max,iconName:"maxSocial",id:"max"}].flatMap(l=>l.href?[{...l,href:l.href}]:[]),s=t?void 0:e.phone,a=t?void 0:e.salesPhone;return u(l6,{children:[u(c6,{children:u(hr,{color:$p,margin:"initial",weight:1})}),u(d6,{children:u(Lt,{bottomXL:24,children:[u(Jn,{"aria-level":2,role:"heading",children:["Подбор ",u("br",{}),"и покупка занятий"]}),a!==void 0&&u(eh,{id:"sales-phone",number:a}),u(Us,{links:o,placement:"sales"})]})}),i.length>0&&u(f6,{children:u(Lt,{bottomXL:24,children:[u(Jn,{"aria-level":2,role:"heading",children:["Поддержка учеников ",u("br",{}),"и родителей Фоксфорда"]}),s!==void 0&&u(eh,{id:"support-phone",number:s}),u(Us,{links:i,placement:"support"})]})}),e.email!==void 0&&e.email!==""&&u(p6,{children:u(Lt,{bottom:24,bottomL:12,bottomS:0,children:u(m6,{children:[u(Jn,{"aria-level":2,role:"heading",children:"Почта"}),u(v6,{"data-fxa-action":"open","data-fxa-path":"email",onClick:l=>n({item:{id:"email",url:`mailto:${e.email}`},type:"footer.contact.activate"},$(l)),href:`mailto:${e.email}`,rel:"noreferrer",target:"_blank",children:e.email})]})})}),u(u6,{children:u(hr,{color:$p,margin:"initial",weight:1})}),u(h6,{children:u(Lt,{topXL:24,children:[u(Jn,{"aria-level":2,role:"heading",children:"Социальные сети"}),u(Us,{links:r,placement:"social"})]})})]})}const A6=k("canvas")(["",""],({$size:e})=>`
|
|
475
475
|
width: ${e}px;
|
|
476
476
|
height: ${e}px;
|
|
477
|
-
`),th={logo:null,logoAspectRatio:1},su=200,S6="#000",C6="transparent",Jt=class Jt{constructor(t,o){this.ordinal=t,this.formatBits=o}};Jt.LOW=new Jt(0,1),Jt.MEDIUM=new Jt(1,0),Jt.QUARTILE=new Jt(2,3),Jt.HIGH=new Jt(3,2);let gr=Jt;const Mt=class Mt{constructor(t,o){this.modeBits=t,this.numBitsCharCount=o}numCharCountBits(t){const o=this.numBitsCharCount[Math.floor((t+7)/17)];if(o===void 0)throw new Error("Assertion Error");return o}};Mt.NUMERIC=new Mt(1,[10,12,14]),Mt.ALPHANUMERIC=new Mt(2,[9,11,13]),Mt.BYTE=new Mt(4,[8,16,16]),Mt.KANJI=new Mt(8,[8,10,12]),Mt.ECI=new Mt(7,[0,0,0]);let lr=Mt;function yt(e,t,o){if(t<0||t>31||e>>>t)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)o.push(e>>>r&1)}function eo(e,t){return(e>>>t&1)!=0}function Ot(e){if(!e)throw new Error("Assertion error")}const Ge=class Ge{constructor(t,o,r){if(this.mode=t,this.numChars=o,this.bitData=r,o<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(t){const o=[];for(const r of t)yt(r,8,o);return new Ge(lr.BYTE,t.length,o)}static makeNumeric(t){if(!Ge.isNumeric(t))throw new RangeError("String contains non-numeric characters");const o=[];for(let r=0;r<t.length;){const n=Math.min(t.length-r,3);yt(parseInt(t.substring(r,r+n),10),n*3+1,o),r+=n}return new Ge(lr.NUMERIC,t.length,o)}static makeAlphanumeric(t){if(!Ge.isAlphanumeric(t))throw new RangeError("String contains unencodable characters in alphanumeric mode");const o=[];let r;for(r=0;r+2<=t.length;r+=2){let n=Ge.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r))*45;n+=Ge.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),yt(n,11,o)}return r<t.length&&yt(Ge.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,o),new Ge(lr.ALPHANUMERIC,t.length,o)}static makeSegments(t){return t==""?[]:Ge.isNumeric(t)?[Ge.makeNumeric(t)]:Ge.isAlphanumeric(t)?[Ge.makeAlphanumeric(t)]:[Ge.makeBytes(Ge.toUtf8ByteArray(t))]}static makeEci(t){const o=[];if(t<0)throw new RangeError("ECI assignment value out of range");if(t<128)yt(t,8,o);else if(t<16384)yt(2,2,o),yt(t,14,o);else if(t<1e6)yt(6,3,o),yt(t,21,o);else throw new RangeError("ECI assignment value out of range");return new Ge(lr.ECI,0,o)}static isNumeric(t){return Ge.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return Ge.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(t,o){let r=0;for(const n of t){const i=n.mode.numCharCountBits(o);if(n.numChars>=1<<i)return 1/0;r+=4+i+n.bitData.length}return r}static toUtf8ByteArray(t){t=encodeURI(t);const o=[];for(let r=0;r<t.length;r++)t.charAt(r)!="%"?o.push(t.charCodeAt(r)):(o.push(parseInt(t.substring(r+1,r+3),16)),r+=2);return o}};Ge.NUMERIC_REGEX=/^[0-9]*$/,Ge.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+./:-]*$/,Ge.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let en=Ge;const ce=class ce{constructor(t,o,r,n){if(this.version=t,this.errorCorrectionLevel=o,this.modules=[],this.isFunction=[],t<ce.MIN_VERSION||t>ce.MAX_VERSION)throw new RangeError("Version value out of range");if(n<-1||n>7)throw new RangeError("Mask value out of range");this.size=t*4+17;const i=[];for(let a=0;a<this.size;a++)i.push(!1);for(let a=0;a<this.size;a++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(r);if(this.drawCodewords(s),n==-1){let a=1e9;for(let l=0;l<8;l++){this.applyMask(l),this.drawFormatBits(l);const c=this.getPenaltyScore();c<a&&(n=l,a=c),this.applyMask(l)}}Ot(0<=n&&n<=7),this.mask=n,this.applyMask(n),this.drawFormatBits(n),this.isFunction=[]}static encodeText(t,o){const r=en.makeSegments(t);return ce.encodeSegments(r,o)}static encodeBinary(t,o){const r=en.makeBytes(t);return ce.encodeSegments([r],o)}static encodeSegments(t,o,r=1,n=40,i=-1,s=!0){if(!(ce.MIN_VERSION<=r&&r<=n&&n<=ce.MAX_VERSION)||i<-1||i>7)throw new RangeError("Invalid value");let a,l;for(a=r;;a++){const f=ce.getNumDataCodewords(a,o)*8,b=en.getTotalBits(t,a);if(b<=f){l=b;break}if(a>=n)throw new RangeError("Data too long")}for(const f of[gr.MEDIUM,gr.QUARTILE,gr.HIGH])s&&l<=ce.getNumDataCodewords(a,f)*8&&(o=f);const c=[];for(const f of t){yt(f.mode.modeBits,4,c),yt(f.numChars,f.mode.numCharCountBits(a),c);for(const b of f.getData())c.push(b)}Ot(c.length==l);const d=ce.getNumDataCodewords(a,o)*8;Ot(c.length<=d),yt(0,Math.min(4,d-c.length),c),yt(0,(8-c.length%8)%8,c),Ot(c.length%8==0);for(let f=236;c.length<d;f^=253)yt(f,8,c);const h=[];for(;h.length*8<c.length;)h.push(0);return c.forEach((f,b)=>{var v;if(h[b>>>3]!==void 0){const g=b>>>3;h[g]=((v=h[g])!=null?v:0)|f<<7-(b&7)}}),new ce(a,o,h,i)}getModule(t,o){if(0<=t&&t<this.size&&0<=o&&o<this.size){const r=this.modules[o];if(r!==void 0){const n=r[t];if(n!==void 0)return n}}return!1}drawFunctionPatterns(){for(let r=0;r<this.size;r++)this.setFunctionModule(6,r,r%2==0),this.setFunctionModule(r,6,r%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const t=this.getAlignmentPatternPositions(),o=t.length;for(let r=0;r<o;r++)for(let n=0;n<o;n++){const i=t[r],s=t[n];!(r==0&&n==0||r==0&&n==o-1||r==o-1&&n==0)&&i!==void 0&&s!==void 0&&this.drawAlignmentPattern(i,s)}this.drawFormatBits(0),this.drawVersion()}drawFormatBits(t){const o=this.errorCorrectionLevel.formatBits<<3|t;let r=o;for(let i=0;i<10;i++)r=r<<1^(r>>>9)*1335;const n=(o<<10|r)^21522;Ot(n>>>15==0);for(let i=0;i<=5;i++)this.setFunctionModule(8,i,eo(n,i));this.setFunctionModule(8,7,eo(n,6)),this.setFunctionModule(8,8,eo(n,7)),this.setFunctionModule(7,8,eo(n,8));for(let i=9;i<15;i++)this.setFunctionModule(14-i,8,eo(n,i));for(let i=0;i<8;i++)this.setFunctionModule(this.size-1-i,8,eo(n,i));for(let i=8;i<15;i++)this.setFunctionModule(8,this.size-15+i,eo(n,i));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let t=this.version;for(let r=0;r<12;r++)t=t<<1^(t>>>11)*7973;const o=this.version<<12|t;Ot(o>>>18==0);for(let r=0;r<18;r++){const n=eo(o,r),i=this.size-11+r%3,s=Math.floor(r/3);this.setFunctionModule(i,s,n),this.setFunctionModule(s,i,n)}}drawFinderPattern(t,o){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const i=Math.max(Math.abs(n),Math.abs(r)),s=t+n,a=o+r;0<=s&&s<this.size&&0<=a&&a<this.size&&this.setFunctionModule(s,a,i!=2&&i!=4)}}drawAlignmentPattern(t,o){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(t+n,o+r,Math.max(Math.abs(n),Math.abs(r))!=1)}setFunctionModule(t,o,r){const n=this.modules[o],i=this.isFunction[o];n!==void 0&&i!==void 0&&(n[t]=r,i[t]=!0)}addEccAndInterleave(t){var b,v,g,p;const o=this.version,r=this.errorCorrectionLevel;if(t.length!=ce.getNumDataCodewords(o,r))throw new RangeError("Invalid argument");const n=(v=(b=ce.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal])==null?void 0:b[o])!=null?v:0,i=(p=(g=ce.ECC_CODEWORDS_PER_BLOCK[r.ordinal])==null?void 0:g[o])!=null?p:0,s=Math.floor(ce.getNumRawDataModules(o)/8),a=n-s%n,l=Math.floor(s/n),c=[],d=ce.reedSolomonComputeDivisor(i);for(let m=0,y=0;m<n;m++){const C=t.slice(y,y+l-i+(m<a?0:1));y+=C.length;const A=ce.reedSolomonComputeRemainder(C,d);m<a&&C.push(0),c.push(C.concat(A))}const h=[],f=c[0];if(f!==void 0)for(let m=0;m<f.length;m++)c.forEach((y,C)=>{const A=y[m];(m!=l-i||C>=a)&&A!==void 0&&h.push(A)});return Ot(h.length==s),h}drawCodewords(t){if(t.length!=Math.floor(ce.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let o=0;for(let r=this.size-1;r>=1;r-=2){r==6&&(r=5);for(let n=0;n<this.size;n++)for(let i=0;i<2;i++){const s=r-i,l=(r+1&2)==0?this.size-1-n:n,c=this.isFunction[l],d=t[o>>>3];if(c!==void 0&&!c[s]&&o<t.length*8&&d!==void 0){const h=this.modules[l];h!==void 0&&(h[s]=eo(d,7-(o&7)),o++)}}}Ot(o==t.length*8)}applyMask(t){if(t<0||t>7)throw new RangeError("Mask value out of range");for(let o=0;o<this.size;o++)for(let r=0;r<this.size;r++){let n;switch(t){case 0:n=(r+o)%2==0;break;case 1:n=o%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+o)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(o/2))%2==0;break;case 5:n=r*o%2+r*o%3==0;break;case 6:n=(r*o%2+r*o%3)%2==0;break;case 7:n=((r+o)%2+r*o%3)%2==0;break;default:throw new Error("Unreachable")}const i=this.isFunction[o];if(i!==void 0&&!i[r]&&n){const s=this.modules[o];if(s!==void 0){const a=s[r];a!==void 0&&(s[r]=!a)}}}}getPenaltyScore(){let t=0;for(let i=0;i<this.size;i++){let s=!1,a=0;const l=[0,0,0,0,0,0,0],c=this.modules[i];if(c!==void 0){for(let d=0;d<this.size;d++)if(c[d]==s)a++,a==5?t+=ce.PENALTY_N1:a>5&&t++;else{this.finderPenaltyAddHistory(a,l),s||(t+=this.finderPenaltyCountPatterns(l)*ce.PENALTY_N3);const h=c[d];h!==void 0&&(s=h,a=1)}t+=this.finderPenaltyTerminateAndCount(s,a,l)*ce.PENALTY_N3}}for(let i=0;i<this.size;i++){let s=!1,a=0;const l=[0,0,0,0,0,0,0];for(let c=0;c<this.size;c++){const d=this.modules[c];if(d!==void 0)if(d[i]==s)a++,a==5?t+=ce.PENALTY_N1:a>5&&t++;else{this.finderPenaltyAddHistory(a,l),s||(t+=this.finderPenaltyCountPatterns(l)*ce.PENALTY_N3);const h=d[i];h!==void 0&&(s=h,a=1)}}t+=this.finderPenaltyTerminateAndCount(s,a,l)*ce.PENALTY_N3}for(let i=0;i<this.size-1;i++){const s=this.modules[i],a=this.modules[i+1];if(!(s===void 0||a===void 0))for(let l=0;l<this.size-1;l++){const c=s[l];c!==void 0&&c==s[l+1]&&c==a[l]&&c==a[l+1]&&(t+=ce.PENALTY_N2)}}let o=0;for(const i of this.modules)o=i.reduce((s,a)=>s+(a?1:0),o);const r=this.size*this.size,n=Math.ceil(Math.abs(o*20-r*10)/r)-1;return Ot(0<=n&&n<=9),t+=n*ce.PENALTY_N4,Ot(0<=t&&t<=2568888),t}getAlignmentPatternPositions(){if(this.version==1)return[];{const t=Math.floor(this.version/7)+2,o=this.version==32?26:Math.ceil((this.size-13)/(t*2-2))*2,r=[6];for(let n=this.size-7;r.length<t;n-=o)r.splice(1,0,n);return r}}static getNumRawDataModules(t){if(t<ce.MIN_VERSION||t>ce.MAX_VERSION)throw new RangeError("Version number out of range");let o=(16*t+128)*t+64;if(t>=2){const r=Math.floor(t/7)+2;o-=(25*r-10)*r-55,t>=7&&(o-=36)}return Ot(208<=o&&o<=29648),o}static getNumDataCodewords(t,o){var i,s,a,l;const r=(s=(i=ce.ECC_CODEWORDS_PER_BLOCK[o.ordinal])==null?void 0:i[t])!=null?s:0,n=(l=(a=ce.NUM_ERROR_CORRECTION_BLOCKS[o.ordinal])==null?void 0:a[t])!=null?l:0;return Math.floor(ce.getNumRawDataModules(t)/8)-r*n}static reedSolomonComputeDivisor(t){var n;if(t<1||t>255)throw new RangeError("Degree out of range");const o=[];for(let i=0;i<t-1;i++)o.push(0);o.push(1);let r=1;for(let i=0;i<t;i++){for(let s=0;s<o.length;s++){const a=o[s];if(a!==void 0&&(o[s]=ce.reedSolomonMultiply(a,r),s+1<o.length)){const l=o[s+1];l!==void 0&&(o[s]=((n=o[s])!=null?n:0)^l)}}r=ce.reedSolomonMultiply(r,2)}return o}static reedSolomonComputeRemainder(t,o){var n;const r=o.map(i=>0);for(const i of t){const s=i^((n=r.shift())!=null?n:0);r.push(0),o.forEach((a,l)=>{const c=r[l];c!==void 0&&(r[l]=c^ce.reedSolomonMultiply(a,s))})}return r}static reedSolomonMultiply(t,o){if(t>>>8||o>>>8)throw new RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^(r>>>7)*285,r^=(o>>>n&1)*t;return Ot(r>>>8==0),r}finderPenaltyCountPatterns(t){var s,a;const o=t[1];if(o===void 0)return 0;Ot(o<=this.size*3);const r=o>0&&t[2]==o&&t[3]==o*3&&t[4]==o&&t[5]==o,n=(s=t[0])!=null?s:0,i=(a=t[6])!=null?a:0;return(r&&n>=o*4&&i>=o?1:0)+(r&&i>=o*4&&n>=o?1:0)}finderPenaltyTerminateAndCount(t,o,r){return t&&(this.finderPenaltyAddHistory(o,r),o=0),o+=this.size,this.finderPenaltyAddHistory(o,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(t,o){o[0]==0&&(t+=this.size),o.pop(),o.unshift(t)}};ce.MIN_VERSION=1,ce.MAX_VERSION=40,ce.PENALTY_N1=3,ce.PENALTY_N2=3,ce.PENALTY_N3=40,ce.PENALTY_N4=10,ce.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],ce.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];let sc=ce;const oh=(e,t)=>t?!(e.x>=t.x&&e.x+e.w<=t.x+t.w&&e.y>=t.y&&e.y+e.h<=t.y+t.h):!0,em=(e,t)=>{let o,r;return e>=1?(o=t-2,r=o/e,r>t-2&&(r=t-2,o=r*e)):(r=t-2,o=r*e,o>t-2&&(o=t-2,r=o/e)),{logoHeightModules:r,logoWidthModules:o}},O6=({text:e,logo:t,logoAspectRatio:o=1,logoSizePercent:r=30,size:n=320})=>{if(!e||!e.trim())return null;const i=sc.encodeText(e,gr.HIGH),s=i.size,a=n/s,l=n,c=0,h=(s-8)*a,b=Math.sqrt(l*l*.2),v=Math.min(h,b),g=r/100*l;let p=Math.round(g/a);p<3&&(p=3),p%2===0&&(p+=1),p=Math.min(p,Math.floor(v/a)),p%2===0&&(p-=1);const m=c+l/2,y=c+l/2;if(!t)return{cellCount:s,cellSize:a,logoRect:null,offset:c,padCenterX:m,padCenterY:y,padModules:p,qr:i,qrPixelSize:l};const{logoHeightModules:C,logoWidthModules:A}=em(o,p),S=(A+2)*a,M=(C+2)*a,H=m-S/2,I=y-M/2,W=A*a,K=C*a,V=H+a,te=I+a;return{aspectRatio:o,cellCount:s,cellSize:a,logoDrawHeight:K,logoDrawWidth:W,logoRect:{h:M,w:S,x:H,y:I},logoX:V,logoY:te,offset:c,padCenterX:m,padCenterY:y,padHeight:M,padModules:p,padWidth:S,qr:i,qrPixelSize:l}};function cr(e,t,o,r,n,i){e.beginPath(),e.moveTo(t+i,o),e.lineTo(t+r-i,o),e.arcTo(t+r,o,t+r,o+i,i),e.lineTo(t+r,o+n-i),e.arcTo(t+r,o+n,t+r-i,o+n,i),e.lineTo(t+i,o+n),e.arcTo(t,o+n,t,o+n-i,i),e.lineTo(t,o+i),e.arcTo(t,o,t+i,o,i),e.closePath()}function E6(e,t,o,r,n,i,s,a,l){e.beginPath(),e.moveTo(t+(i?n:0),o),e.lineTo(t+r-(s?n:0),o),s?e.quadraticCurveTo(t+r,o,t+r,o+n):e.lineTo(t+r,o),e.lineTo(t+r,o+r-(a?n:0)),a?e.quadraticCurveTo(t+r,o+r,t+r-n,o+r):e.lineTo(t+r,o+r),e.lineTo(t+(l?n:0),o+r),l?e.quadraticCurveTo(t,o+r,t,o+r-n):e.lineTo(t,o+r),e.lineTo(t,o+(i?n:0)),i?e.quadraticCurveTo(t,o,t+(i?n:0),o):e.lineTo(t,o),e.closePath()}function Vs(e,t,o,r,n,i,s){const a=i/100*(r*7/2),l=i/100*(r*5/2),c=i/100*(r*3/2);e.save(),e.fillStyle=n,cr(e,t,o,r*7,r*7,a),e.fill(),e.save(),e.globalCompositeOperation="destination-out",cr(e,t+r,o+r,r*5,r*5,l),e.fill(),e.restore(),s!=="transparent"&&(e.fillStyle=s,cr(e,t+r,o+r,r*5,r*5,l),e.fill()),e.fillStyle=n,cr(e,t+r*2,o+r*2,r*3,r*3,c),e.fill(),e.restore()}function rh(e,t,o){const{cellSize:r,padModules:n}=t,i=o.width/o.height||1,{logoHeightModules:s,logoWidthModules:a}=em(i,n),l=(a+2)*r,c=(s+2)*r,d=t.padCenterX-l/2,h=t.padCenterY-c/2,f=a*r,b=s*r,v=d+r,g=h+r;e.save(),e.fillStyle="transparent",e.fillRect(d,h,l,c),e.drawImage(o,v,g,f,b),e.restore()}function P6(e,t,o){if(!o||!t.logoRect||!t.cellSize)return;const r=new window.Image;r.onload=()=>rh(e,t,r),r.src=o,r.complete&&r.naturalWidth&&rh(e,t,r)}function T6(e,t,o){const{size:r=su,finderRadius:n=0,bgColor:i}=t;if(!i||i==="transparent")return;const{cellSize:s}=o,a=7*s,l=n/100*(a/2);e.save(),e.fillStyle=i,cr(e,0,0,r,r,l),e.fill(),e.restore()}function R6(e,t,o){const{qr:r,cellCount:n,cellSize:i,offset:s,logoRect:a}=t,{dotColor:l="#000",radius:c=0,smoothDots:d=!1}=o,h=c/100*(i/2);for(let f=0;f<n;f++)for(let b=0;b<n;b++)if(r.getModule(b,f)){if(f<7&&b<7||f<7&&b>=n-7||f>=n-7&&b<7)continue;const g=b*i+s,p=f*i+s;if(!oh({h:i,w:i,x:g,y:p},a))continue;if(e.fillStyle=l,d){const y=(V,te)=>{if(V<0||V>=n||te<0||te>=n||!r.getModule(V,te))return!1;if(a){const He=V*i+s,be=te*i+s;if(!oh({h:i,w:i,x:He,y:be},a))return!1}return!0},C=y(b-1,f),A=y(b+1,f),S=y(b,f-1),M=y(b,f+1);E6(e,g,p,i,h,!(S||C),!(S||A),!(M||A),!(M||C)),e.fill()}else h===0?e.fillRect(g,p,i,i):(cr(e,g,p,i,i,h),e.fill())}}const M6=({ctx:e,params:t})=>{const{text:o,dotColor:r=S6,finderRadius:n=0,logo:i,logoAspectRatio:s,logoSizePercent:a=30,size:l=su,bgColor:c=C6}=t;if(e.lineJoin="round",e.imageSmoothingEnabled=!1,e.clearRect(0,0,e.canvas.width,e.canvas.height),!o||!o.trim()){e.fillStyle="#888",e.font="bold 18px sans-serif",e.textAlign="center",e.textBaseline="middle",e.fillText("Нет данных",l/2,l/2);return}const d=O6({logo:i,logoAspectRatio:s,logoSizePercent:a,size:l,text:o});if(!d)return;T6(e,t,d),R6(e,d,t);const{cellSize:h,offset:f,cellCount:b}=d;Vs(e,f,f,h,r,n,c),Vs(e,f+(b-7)*h,f,h,r,n,c),Vs(e,f,f+(b-7)*h,h,r,n,c),i&&P6(e,d,i)},z6=e=>{const{size:t=su,logo:o}=e,r=Ke(null),[n,i]=ye(o?null:th);return Ie(()=>{if(o){const s=new window.Image;s.onload=()=>{i({logo:o,logoAspectRatio:s.naturalWidth/s.naturalHeight})},s.onerror=()=>{i({logo:null,logoAspectRatio:1})},s.src=o}else i(th)},[o]),Ie(()=>{const s=r.current;if(!s||!n)return;const a=s.getContext("2d");if(!a)return;const l=window.devicePixelRatio||1,c=t*l;s.width=c,s.height=c,a.scale(l,l),M6({ctx:a,params:{...e,...n}})},[e,n,t]),u(A6,{ref:r,$size:t})},H6="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='72'%20height='72'%20fill='none'%20viewBox='0%200%2072%2072'%3e%3cpath%20fill='url(%23pattern0_1772_6675)'%20d='M0-.003h72v72H0z'/%3e%3cdefs%3e%3cpattern%20id='pattern0_1772_6675'%20width='1'%20height='1'%20patternContentUnits='objectBoundingBox'%3e%3cuse%20xlink:href='%23image0_1772_6675'%20transform='scale(.00293)'/%3e%3c/pattern%3e%3cimage%20xlink:href='data:image/png;base64,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'%20id='image0_1772_6675'%20width='341'%20height='341'/%3e%3c/defs%3e%3c/svg%3e",B6=k.div(["position:relative;display:flex;flex-direction:column;background-color:",";padding:20px;border-radius:20px;overflow:hidden;"],({theme:e})=>e.colors["bg-oncolor-tertiary"]),D6=k.div(["font-size:20px;line-height:1.2;font-weight:700;color:",";"," ",""],({theme:e})=>e.colors["content-oncolor-primary"],ie()`
|
|
477
|
+
`),th={logo:null,logoAspectRatio:1},su=200,S6="#000",C6="transparent",Jt=class Jt{constructor(t,o){this.ordinal=t,this.formatBits=o}};Jt.LOW=new Jt(0,1),Jt.MEDIUM=new Jt(1,0),Jt.QUARTILE=new Jt(2,3),Jt.HIGH=new Jt(3,2);let gr=Jt;const Mt=class Mt{constructor(t,o){this.modeBits=t,this.numBitsCharCount=o}numCharCountBits(t){const o=this.numBitsCharCount[Math.floor((t+7)/17)];if(o===void 0)throw new Error("Assertion Error");return o}};Mt.NUMERIC=new Mt(1,[10,12,14]),Mt.ALPHANUMERIC=new Mt(2,[9,11,13]),Mt.BYTE=new Mt(4,[8,16,16]),Mt.KANJI=new Mt(8,[8,10,12]),Mt.ECI=new Mt(7,[0,0,0]);let lr=Mt;function yt(e,t,o){if(t<0||t>31||e>>>t)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)o.push(e>>>r&1)}function eo(e,t){return(e>>>t&1)!=0}function Ot(e){if(!e)throw new Error("Assertion error")}const Ge=class Ge{constructor(t,o,r){if(this.mode=t,this.numChars=o,this.bitData=r,o<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(t){const o=[];for(const r of t)yt(r,8,o);return new Ge(lr.BYTE,t.length,o)}static makeNumeric(t){if(!Ge.isNumeric(t))throw new RangeError("String contains non-numeric characters");const o=[];for(let r=0;r<t.length;){const n=Math.min(t.length-r,3);yt(parseInt(t.substring(r,r+n),10),n*3+1,o),r+=n}return new Ge(lr.NUMERIC,t.length,o)}static makeAlphanumeric(t){if(!Ge.isAlphanumeric(t))throw new RangeError("String contains unencodable characters in alphanumeric mode");const o=[];let r;for(r=0;r+2<=t.length;r+=2){let n=Ge.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r))*45;n+=Ge.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),yt(n,11,o)}return r<t.length&&yt(Ge.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,o),new Ge(lr.ALPHANUMERIC,t.length,o)}static makeSegments(t){return t==""?[]:Ge.isNumeric(t)?[Ge.makeNumeric(t)]:Ge.isAlphanumeric(t)?[Ge.makeAlphanumeric(t)]:[Ge.makeBytes(Ge.toUtf8ByteArray(t))]}static makeEci(t){const o=[];if(t<0)throw new RangeError("ECI assignment value out of range");if(t<128)yt(t,8,o);else if(t<16384)yt(2,2,o),yt(t,14,o);else if(t<1e6)yt(6,3,o),yt(t,21,o);else throw new RangeError("ECI assignment value out of range");return new Ge(lr.ECI,0,o)}static isNumeric(t){return Ge.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return Ge.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(t,o){let r=0;for(const n of t){const i=n.mode.numCharCountBits(o);if(n.numChars>=1<<i)return 1/0;r+=4+i+n.bitData.length}return r}static toUtf8ByteArray(t){t=encodeURI(t);const o=[];for(let r=0;r<t.length;r++)t.charAt(r)!="%"?o.push(t.charCodeAt(r)):(o.push(parseInt(t.substring(r+1,r+3),16)),r+=2);return o}};Ge.NUMERIC_REGEX=/^[0-9]*$/,Ge.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+./:-]*$/,Ge.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let en=Ge;const ce=class ce{constructor(t,o,r,n){if(this.version=t,this.errorCorrectionLevel=o,this.modules=[],this.isFunction=[],t<ce.MIN_VERSION||t>ce.MAX_VERSION)throw new RangeError("Version value out of range");if(n<-1||n>7)throw new RangeError("Mask value out of range");this.size=t*4+17;const i=[];for(let a=0;a<this.size;a++)i.push(!1);for(let a=0;a<this.size;a++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(r);if(this.drawCodewords(s),n==-1){let a=1e9;for(let l=0;l<8;l++){this.applyMask(l),this.drawFormatBits(l);const c=this.getPenaltyScore();c<a&&(n=l,a=c),this.applyMask(l)}}Ot(0<=n&&n<=7),this.mask=n,this.applyMask(n),this.drawFormatBits(n),this.isFunction=[]}static encodeText(t,o){const r=en.makeSegments(t);return ce.encodeSegments(r,o)}static encodeBinary(t,o){const r=en.makeBytes(t);return ce.encodeSegments([r],o)}static encodeSegments(t,o,r=1,n=40,i=-1,s=!0){if(!(ce.MIN_VERSION<=r&&r<=n&&n<=ce.MAX_VERSION)||i<-1||i>7)throw new RangeError("Invalid value");let a,l;for(a=r;;a++){const f=ce.getNumDataCodewords(a,o)*8,b=en.getTotalBits(t,a);if(b<=f){l=b;break}if(a>=n)throw new RangeError("Data too long")}for(const f of[gr.MEDIUM,gr.QUARTILE,gr.HIGH])s&&l<=ce.getNumDataCodewords(a,f)*8&&(o=f);const c=[];for(const f of t){yt(f.mode.modeBits,4,c),yt(f.numChars,f.mode.numCharCountBits(a),c);for(const b of f.getData())c.push(b)}Ot(c.length==l);const d=ce.getNumDataCodewords(a,o)*8;Ot(c.length<=d),yt(0,Math.min(4,d-c.length),c),yt(0,(8-c.length%8)%8,c),Ot(c.length%8==0);for(let f=236;c.length<d;f^=253)yt(f,8,c);const g=[];for(;g.length*8<c.length;)g.push(0);return c.forEach((f,b)=>{var v;if(g[b>>>3]!==void 0){const p=b>>>3;g[p]=((v=g[p])!=null?v:0)|f<<7-(b&7)}}),new ce(a,o,g,i)}getModule(t,o){if(0<=t&&t<this.size&&0<=o&&o<this.size){const r=this.modules[o];if(r!==void 0){const n=r[t];if(n!==void 0)return n}}return!1}drawFunctionPatterns(){for(let r=0;r<this.size;r++)this.setFunctionModule(6,r,r%2==0),this.setFunctionModule(r,6,r%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const t=this.getAlignmentPatternPositions(),o=t.length;for(let r=0;r<o;r++)for(let n=0;n<o;n++){const i=t[r],s=t[n];!(r==0&&n==0||r==0&&n==o-1||r==o-1&&n==0)&&i!==void 0&&s!==void 0&&this.drawAlignmentPattern(i,s)}this.drawFormatBits(0),this.drawVersion()}drawFormatBits(t){const o=this.errorCorrectionLevel.formatBits<<3|t;let r=o;for(let i=0;i<10;i++)r=r<<1^(r>>>9)*1335;const n=(o<<10|r)^21522;Ot(n>>>15==0);for(let i=0;i<=5;i++)this.setFunctionModule(8,i,eo(n,i));this.setFunctionModule(8,7,eo(n,6)),this.setFunctionModule(8,8,eo(n,7)),this.setFunctionModule(7,8,eo(n,8));for(let i=9;i<15;i++)this.setFunctionModule(14-i,8,eo(n,i));for(let i=0;i<8;i++)this.setFunctionModule(this.size-1-i,8,eo(n,i));for(let i=8;i<15;i++)this.setFunctionModule(8,this.size-15+i,eo(n,i));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let t=this.version;for(let r=0;r<12;r++)t=t<<1^(t>>>11)*7973;const o=this.version<<12|t;Ot(o>>>18==0);for(let r=0;r<18;r++){const n=eo(o,r),i=this.size-11+r%3,s=Math.floor(r/3);this.setFunctionModule(i,s,n),this.setFunctionModule(s,i,n)}}drawFinderPattern(t,o){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const i=Math.max(Math.abs(n),Math.abs(r)),s=t+n,a=o+r;0<=s&&s<this.size&&0<=a&&a<this.size&&this.setFunctionModule(s,a,i!=2&&i!=4)}}drawAlignmentPattern(t,o){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(t+n,o+r,Math.max(Math.abs(n),Math.abs(r))!=1)}setFunctionModule(t,o,r){const n=this.modules[o],i=this.isFunction[o];n!==void 0&&i!==void 0&&(n[t]=r,i[t]=!0)}addEccAndInterleave(t){var b,v,p,h;const o=this.version,r=this.errorCorrectionLevel;if(t.length!=ce.getNumDataCodewords(o,r))throw new RangeError("Invalid argument");const n=(v=(b=ce.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal])==null?void 0:b[o])!=null?v:0,i=(h=(p=ce.ECC_CODEWORDS_PER_BLOCK[r.ordinal])==null?void 0:p[o])!=null?h:0,s=Math.floor(ce.getNumRawDataModules(o)/8),a=n-s%n,l=Math.floor(s/n),c=[],d=ce.reedSolomonComputeDivisor(i);for(let m=0,y=0;m<n;m++){const C=t.slice(y,y+l-i+(m<a?0:1));y+=C.length;const A=ce.reedSolomonComputeRemainder(C,d);m<a&&C.push(0),c.push(C.concat(A))}const g=[],f=c[0];if(f!==void 0)for(let m=0;m<f.length;m++)c.forEach((y,C)=>{const A=y[m];(m!=l-i||C>=a)&&A!==void 0&&g.push(A)});return Ot(g.length==s),g}drawCodewords(t){if(t.length!=Math.floor(ce.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let o=0;for(let r=this.size-1;r>=1;r-=2){r==6&&(r=5);for(let n=0;n<this.size;n++)for(let i=0;i<2;i++){const s=r-i,l=(r+1&2)==0?this.size-1-n:n,c=this.isFunction[l],d=t[o>>>3];if(c!==void 0&&!c[s]&&o<t.length*8&&d!==void 0){const g=this.modules[l];g!==void 0&&(g[s]=eo(d,7-(o&7)),o++)}}}Ot(o==t.length*8)}applyMask(t){if(t<0||t>7)throw new RangeError("Mask value out of range");for(let o=0;o<this.size;o++)for(let r=0;r<this.size;r++){let n;switch(t){case 0:n=(r+o)%2==0;break;case 1:n=o%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+o)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(o/2))%2==0;break;case 5:n=r*o%2+r*o%3==0;break;case 6:n=(r*o%2+r*o%3)%2==0;break;case 7:n=((r+o)%2+r*o%3)%2==0;break;default:throw new Error("Unreachable")}const i=this.isFunction[o];if(i!==void 0&&!i[r]&&n){const s=this.modules[o];if(s!==void 0){const a=s[r];a!==void 0&&(s[r]=!a)}}}}getPenaltyScore(){let t=0;for(let i=0;i<this.size;i++){let s=!1,a=0;const l=[0,0,0,0,0,0,0],c=this.modules[i];if(c!==void 0){for(let d=0;d<this.size;d++)if(c[d]==s)a++,a==5?t+=ce.PENALTY_N1:a>5&&t++;else{this.finderPenaltyAddHistory(a,l),s||(t+=this.finderPenaltyCountPatterns(l)*ce.PENALTY_N3);const g=c[d];g!==void 0&&(s=g,a=1)}t+=this.finderPenaltyTerminateAndCount(s,a,l)*ce.PENALTY_N3}}for(let i=0;i<this.size;i++){let s=!1,a=0;const l=[0,0,0,0,0,0,0];for(let c=0;c<this.size;c++){const d=this.modules[c];if(d!==void 0)if(d[i]==s)a++,a==5?t+=ce.PENALTY_N1:a>5&&t++;else{this.finderPenaltyAddHistory(a,l),s||(t+=this.finderPenaltyCountPatterns(l)*ce.PENALTY_N3);const g=d[i];g!==void 0&&(s=g,a=1)}}t+=this.finderPenaltyTerminateAndCount(s,a,l)*ce.PENALTY_N3}for(let i=0;i<this.size-1;i++){const s=this.modules[i],a=this.modules[i+1];if(!(s===void 0||a===void 0))for(let l=0;l<this.size-1;l++){const c=s[l];c!==void 0&&c==s[l+1]&&c==a[l]&&c==a[l+1]&&(t+=ce.PENALTY_N2)}}let o=0;for(const i of this.modules)o=i.reduce((s,a)=>s+(a?1:0),o);const r=this.size*this.size,n=Math.ceil(Math.abs(o*20-r*10)/r)-1;return Ot(0<=n&&n<=9),t+=n*ce.PENALTY_N4,Ot(0<=t&&t<=2568888),t}getAlignmentPatternPositions(){if(this.version==1)return[];{const t=Math.floor(this.version/7)+2,o=this.version==32?26:Math.ceil((this.size-13)/(t*2-2))*2,r=[6];for(let n=this.size-7;r.length<t;n-=o)r.splice(1,0,n);return r}}static getNumRawDataModules(t){if(t<ce.MIN_VERSION||t>ce.MAX_VERSION)throw new RangeError("Version number out of range");let o=(16*t+128)*t+64;if(t>=2){const r=Math.floor(t/7)+2;o-=(25*r-10)*r-55,t>=7&&(o-=36)}return Ot(208<=o&&o<=29648),o}static getNumDataCodewords(t,o){var i,s,a,l;const r=(s=(i=ce.ECC_CODEWORDS_PER_BLOCK[o.ordinal])==null?void 0:i[t])!=null?s:0,n=(l=(a=ce.NUM_ERROR_CORRECTION_BLOCKS[o.ordinal])==null?void 0:a[t])!=null?l:0;return Math.floor(ce.getNumRawDataModules(t)/8)-r*n}static reedSolomonComputeDivisor(t){var n;if(t<1||t>255)throw new RangeError("Degree out of range");const o=[];for(let i=0;i<t-1;i++)o.push(0);o.push(1);let r=1;for(let i=0;i<t;i++){for(let s=0;s<o.length;s++){const a=o[s];if(a!==void 0&&(o[s]=ce.reedSolomonMultiply(a,r),s+1<o.length)){const l=o[s+1];l!==void 0&&(o[s]=((n=o[s])!=null?n:0)^l)}}r=ce.reedSolomonMultiply(r,2)}return o}static reedSolomonComputeRemainder(t,o){var n;const r=o.map(i=>0);for(const i of t){const s=i^((n=r.shift())!=null?n:0);r.push(0),o.forEach((a,l)=>{const c=r[l];c!==void 0&&(r[l]=c^ce.reedSolomonMultiply(a,s))})}return r}static reedSolomonMultiply(t,o){if(t>>>8||o>>>8)throw new RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^(r>>>7)*285,r^=(o>>>n&1)*t;return Ot(r>>>8==0),r}finderPenaltyCountPatterns(t){var s,a;const o=t[1];if(o===void 0)return 0;Ot(o<=this.size*3);const r=o>0&&t[2]==o&&t[3]==o*3&&t[4]==o&&t[5]==o,n=(s=t[0])!=null?s:0,i=(a=t[6])!=null?a:0;return(r&&n>=o*4&&i>=o?1:0)+(r&&i>=o*4&&n>=o?1:0)}finderPenaltyTerminateAndCount(t,o,r){return t&&(this.finderPenaltyAddHistory(o,r),o=0),o+=this.size,this.finderPenaltyAddHistory(o,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(t,o){o[0]==0&&(t+=this.size),o.pop(),o.unshift(t)}};ce.MIN_VERSION=1,ce.MAX_VERSION=40,ce.PENALTY_N1=3,ce.PENALTY_N2=3,ce.PENALTY_N3=40,ce.PENALTY_N4=10,ce.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],ce.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];let sc=ce;const oh=(e,t)=>t?!(e.x>=t.x&&e.x+e.w<=t.x+t.w&&e.y>=t.y&&e.y+e.h<=t.y+t.h):!0,em=(e,t)=>{let o,r;return e>=1?(o=t-2,r=o/e,r>t-2&&(r=t-2,o=r*e)):(r=t-2,o=r*e,o>t-2&&(o=t-2,r=o/e)),{logoHeightModules:r,logoWidthModules:o}},O6=({text:e,logo:t,logoAspectRatio:o=1,logoSizePercent:r=30,size:n=320})=>{if(!e||!e.trim())return null;const i=sc.encodeText(e,gr.HIGH),s=i.size,a=n/s,l=n,c=0,g=(s-8)*a,b=Math.sqrt(l*l*.2),v=Math.min(g,b),p=r/100*l;let h=Math.round(p/a);h<3&&(h=3),h%2===0&&(h+=1),h=Math.min(h,Math.floor(v/a)),h%2===0&&(h-=1);const m=c+l/2,y=c+l/2;if(!t)return{cellCount:s,cellSize:a,logoRect:null,offset:c,padCenterX:m,padCenterY:y,padModules:h,qr:i,qrPixelSize:l};const{logoHeightModules:C,logoWidthModules:A}=em(o,h),S=(A+2)*a,M=(C+2)*a,H=m-S/2,I=y-M/2,W=A*a,K=C*a,V=H+a,te=I+a;return{aspectRatio:o,cellCount:s,cellSize:a,logoDrawHeight:K,logoDrawWidth:W,logoRect:{h:M,w:S,x:H,y:I},logoX:V,logoY:te,offset:c,padCenterX:m,padCenterY:y,padHeight:M,padModules:h,padWidth:S,qr:i,qrPixelSize:l}};function cr(e,t,o,r,n,i){e.beginPath(),e.moveTo(t+i,o),e.lineTo(t+r-i,o),e.arcTo(t+r,o,t+r,o+i,i),e.lineTo(t+r,o+n-i),e.arcTo(t+r,o+n,t+r-i,o+n,i),e.lineTo(t+i,o+n),e.arcTo(t,o+n,t,o+n-i,i),e.lineTo(t,o+i),e.arcTo(t,o,t+i,o,i),e.closePath()}function E6(e,t,o,r,n,i,s,a,l){e.beginPath(),e.moveTo(t+(i?n:0),o),e.lineTo(t+r-(s?n:0),o),s?e.quadraticCurveTo(t+r,o,t+r,o+n):e.lineTo(t+r,o),e.lineTo(t+r,o+r-(a?n:0)),a?e.quadraticCurveTo(t+r,o+r,t+r-n,o+r):e.lineTo(t+r,o+r),e.lineTo(t+(l?n:0),o+r),l?e.quadraticCurveTo(t,o+r,t,o+r-n):e.lineTo(t,o+r),e.lineTo(t,o+(i?n:0)),i?e.quadraticCurveTo(t,o,t+(i?n:0),o):e.lineTo(t,o),e.closePath()}function Vs(e,t,o,r,n,i,s){const a=i/100*(r*7/2),l=i/100*(r*5/2),c=i/100*(r*3/2);e.save(),e.fillStyle=n,cr(e,t,o,r*7,r*7,a),e.fill(),e.save(),e.globalCompositeOperation="destination-out",cr(e,t+r,o+r,r*5,r*5,l),e.fill(),e.restore(),s!=="transparent"&&(e.fillStyle=s,cr(e,t+r,o+r,r*5,r*5,l),e.fill()),e.fillStyle=n,cr(e,t+r*2,o+r*2,r*3,r*3,c),e.fill(),e.restore()}function rh(e,t,o){const{cellSize:r,padModules:n}=t,i=o.width/o.height||1,{logoHeightModules:s,logoWidthModules:a}=em(i,n),l=(a+2)*r,c=(s+2)*r,d=t.padCenterX-l/2,g=t.padCenterY-c/2,f=a*r,b=s*r,v=d+r,p=g+r;e.save(),e.fillStyle="transparent",e.fillRect(d,g,l,c),e.drawImage(o,v,p,f,b),e.restore()}function P6(e,t,o){if(!o||!t.logoRect||!t.cellSize)return;const r=new window.Image;r.onload=()=>rh(e,t,r),r.src=o,r.complete&&r.naturalWidth&&rh(e,t,r)}function T6(e,t,o){const{size:r=su,finderRadius:n=0,bgColor:i}=t;if(!i||i==="transparent")return;const{cellSize:s}=o,a=7*s,l=n/100*(a/2);e.save(),e.fillStyle=i,cr(e,0,0,r,r,l),e.fill(),e.restore()}function R6(e,t,o){const{qr:r,cellCount:n,cellSize:i,offset:s,logoRect:a}=t,{dotColor:l="#000",radius:c=0,smoothDots:d=!1}=o,g=c/100*(i/2);for(let f=0;f<n;f++)for(let b=0;b<n;b++)if(r.getModule(b,f)){if(f<7&&b<7||f<7&&b>=n-7||f>=n-7&&b<7)continue;const p=b*i+s,h=f*i+s;if(!oh({h:i,w:i,x:p,y:h},a))continue;if(e.fillStyle=l,d){const y=(V,te)=>{if(V<0||V>=n||te<0||te>=n||!r.getModule(V,te))return!1;if(a){const He=V*i+s,be=te*i+s;if(!oh({h:i,w:i,x:He,y:be},a))return!1}return!0},C=y(b-1,f),A=y(b+1,f),S=y(b,f-1),M=y(b,f+1);E6(e,p,h,i,g,!(S||C),!(S||A),!(M||A),!(M||C)),e.fill()}else g===0?e.fillRect(p,h,i,i):(cr(e,p,h,i,i,g),e.fill())}}const M6=({ctx:e,params:t})=>{const{text:o,dotColor:r=S6,finderRadius:n=0,logo:i,logoAspectRatio:s,logoSizePercent:a=30,size:l=su,bgColor:c=C6}=t;if(e.lineJoin="round",e.imageSmoothingEnabled=!1,e.clearRect(0,0,e.canvas.width,e.canvas.height),!o||!o.trim()){e.fillStyle="#888",e.font="bold 18px sans-serif",e.textAlign="center",e.textBaseline="middle",e.fillText("Нет данных",l/2,l/2);return}const d=O6({logo:i,logoAspectRatio:s,logoSizePercent:a,size:l,text:o});if(!d)return;T6(e,t,d),R6(e,d,t);const{cellSize:g,offset:f,cellCount:b}=d;Vs(e,f,f,g,r,n,c),Vs(e,f+(b-7)*g,f,g,r,n,c),Vs(e,f,f+(b-7)*g,g,r,n,c),i&&P6(e,d,i)},z6=e=>{const{size:t=su,logo:o}=e,r=Ke(null),[n,i]=ye(o?null:th);return Ie(()=>{if(o){const s=new window.Image;s.onload=()=>{i({logo:o,logoAspectRatio:s.naturalWidth/s.naturalHeight})},s.onerror=()=>{i({logo:null,logoAspectRatio:1})},s.src=o}else i(th)},[o]),Ie(()=>{const s=r.current;if(!s||!n)return;const a=s.getContext("2d");if(!a)return;const l=window.devicePixelRatio||1,c=t*l;s.width=c,s.height=c,a.scale(l,l),M6({ctx:a,params:{...e,...n}})},[e,n,t]),u(A6,{ref:r,$size:t})},H6="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='72'%20height='72'%20fill='none'%20viewBox='0%200%2072%2072'%3e%3cpath%20fill='url(%23pattern0_1772_6675)'%20d='M0-.003h72v72H0z'/%3e%3cdefs%3e%3cpattern%20id='pattern0_1772_6675'%20width='1'%20height='1'%20patternContentUnits='objectBoundingBox'%3e%3cuse%20xlink:href='%23image0_1772_6675'%20transform='scale(.00293)'/%3e%3c/pattern%3e%3cimage%20xlink:href='data:image/png;base64,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'%20id='image0_1772_6675'%20width='341'%20height='341'/%3e%3c/defs%3e%3c/svg%3e",B6=k.div(["position:relative;display:flex;flex-direction:column;background-color:",";padding:20px;border-radius:20px;overflow:hidden;"],({theme:e})=>e.colors["bg-oncolor-tertiary"]),D6=k.div(["font-size:20px;line-height:1.2;font-weight:700;color:",";"," ",""],({theme:e})=>e.colors["content-oncolor-primary"],ie()`
|
|
478
478
|
font-size: 16px;
|
|
479
479
|
`,qe()`
|
|
480
480
|
br {
|
|
@@ -522,7 +522,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
522
522
|
height: 134px;
|
|
523
523
|
`),Y6=k(xe)(["max-width:260px;"," @media screen and (max-width:500px){max-width:260px;}"],me()`
|
|
524
524
|
max-width: none;
|
|
525
|
-
`),sh="/onboarding?chat=1";function Q6({onClick:e}){const t=cu(),o=re();return u(J6,{children:[u("div",{children:[u(xe,{appearance:"subheading-compact",color:"content-oncolor-primary",fontFamily:"TT Foxford, sans-serif",marginBottom:4,size:"s",sizeM:"m",children:"Ответьте на несколько вопросов"}),u(Y6,{color:"content-oncolor-primary",size:16,children:"Предложим варианты обучения именно для вас"}),u(Lt,{top:20,topL:28,topM:20,topXL:18,children:u(Vt,{"data-fxa-action":"open","data-fxa-path":"onboarding",href:lu(t,sh),onClick:r=>{o({item:{url:sh},type:"footer.onboarding.activate"},$(r)),e==null||e()},onColored:!0,preset:"brand",size:"s",textProps:{fontFamily:"TT Foxford, sans-serif",size:"xs"},children:"Начать опрос"})})]}),u(W6,{})]})}const om=k.div(["display:block;width:27px;height:40px;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAwCAMAAACosONjAAAC+lBMVEXs7O7L4ObJ3ePQ4ue+1+Dn1OChw9zm6ezh6evf5unX5Ojf09yavdfOztDX5uvo5+rO4efn6+3p6evE3OTh4ePe3N7a2dveztrl7O/q6e3c6Ovh5+rO4+nd5ejZ5ejk5Obt2Oa+2uXa4OPX19nT09Wau9PLy86Hr8zXxcp1qMjr7fDm5+nm4+jn5ufr3Ofb4+bp2eXM3uTP3uPl2OLf3+HX3eCTu9eSuNSPttLcyM7DwsTv2+rR4+ni5ejT4+jV4ufC2uTn1uLpzeDU3N7i0NzczNehwdeev9eWutKTttDZzc/RxMyLscvMu8eGq8aCqcbTv8PCwMHp7vDV5+zp5enL4uni4+bG3+bi4eXj3+Tk3OPL2+LF2uGlx96dwtzQ19qbwNrK1tjM1NeGtNekw9XWy9TfzNGGsdCKs87PycvKyMrTxcrNwsrHxcmErMl8qcjCtr/t4OrS4ObJ3+bU3+XH3uTo0OC5097mzN7d2dy0ztvS1NeOudeLtdLJzdCbuc7XyM29x8uPs8vEycrExcfUwsa+vL50ob5tnry0qa3u7/Hh6+3Y6O3t5e3R5erm4eXr0+XC2eDZ292+1d2Jt9fc0tbN0tTH0NKgvdHSx9DHy83PwMndxcjGv8R8psRpoMTKv8PGusPNvL/DvL+4vL67srexrq+xqKne6O3v1+fd4eXq1+TT0uDM2t+pyd7U2dzXydyqyNqBsNTS0NPYytPY0dJ0rdKmwM+Vtc97rM/Dy87Lv8jSu73Ft7q4t7jAtrfs6u/r6u7e4OLc0OHh2eDb3N6vytza0tq80Nqmxdnf0NWpxtXB0NTTz9DTysuUtMtloMuXs8efr8anrca+w8Vyo8XIw8TYv8PNv8Opnb28tri5r7RilbTLsbG/r7GonKPS5+zC3unS2+XX3+Lj0tzjyduXvtrNxtizydfCxtfXx9TgydDIuL98p76joLxTlLywtLhpmbjFrrS6qa2mpabDpKXf0+W7y9nVw8+pob+ttrm+oaGek5qXi5JjBua8AAAGVElEQVQ4yxWUc3TbcRTFv7HVqG3spGmTJm3aNLVtr7a5tlttzfZqzLZt27btnbPf/n6fcx/ueRfcKcsvMyoUjXn5peEhYYrwsLDw0pA+Y6kivFTRGB7e3QN6VP39qp15eaqyvkUv1+QQco5veP7yYkB3WXhZmeLOHdVH0LjtfY/qwrYLqheu9hNsV/v4+jg7eyZSvvf1X+1Xdb/vbwQNqqvdqm3bnuEwlP/E9a97UM6axJgpVsd2XtjZ8/FqGUATX9SdwK+IolklJEDEp993VzvbWtuYgSmVurrt28MCgENqkpbHMTfnmFEEEzSo11+VKKHnzBhgYRVljtW6B+YBNFon5uC0PCzGeoItCsX29XmCEmpiKGZRNAyO4+4YCIjoJB6Or21aYiopKV4cOnh7S2jooJ2UJJWsx5prq8IcgEO6zj1Dn2mol0hYOcWhS5eGfgr1XSydI5G3i6u0VY6OIB09G47Q47Guaop1hVA4y6umZrJQY2FGoWDwZAQ8NRU4GD3gcF0lnuOaYF2xUrjSa+VKoXC6hQUFw7GkUukNeVCXSfAknTuZtyrBOuf+3/L7vaN/yqdT1GYYLCQxV2GEdplUneziVqldpU60I/iwUTU+Pp4VMRYQYYngzm00gvz0OjrcBeHGd1UnJto5OwtrhJ62MykUM8xUMhVGV5QCtN+kidwza3/tGmEwagkEtq/vltGCzV1d+5o+VFJhSKMREFOR1TOoZLwljmHPhAg2m0CwS7Qx+z9H9ESkIh84EidVc13cyLg4BuPIEQLByccHZTfTBgDzFXgXrsjYCPxkyHjqDDe+Nk5OMi1fHvx5YHlBMUlOsolaMQ0RK0oNAMeyRbGxM/BYnKs9M2i+U+4yJ6dTufMFkLk0SMPj/Elw+qJoIhfPx+EYzPlB/+tOy66fCmLOhMzFRnMfZjeDi5AGorX1SlPXvsjIe3vv3f+8N2L42ug1EgBT8VzRxmbQkC6CuWUY1htIkcPniooiciNuDOzfe62wUIrB8V0e5peCLAeRzi3zSnvHmGnfra5b94aut7R0FpzbamOmxlhOE+VtAg3PRFS3kQ9LRrq+fBkOGoro7FRuKdoatJUhiPOuQnhs2gTmNSDhiIzWzHqTaWxstLd3vHf81vh+k4kkcJ3KpyKzIGIeHU7VZ64fGdk3Nta79/b+8d7b4/sjuzrqXbV42Ox5WaDB0QOerE/z9p5TWDiwtOjG0NDQmxsDBUxG3CHxWlh8VhbImoeshrnzeRxXJrM2qHPP3bt7lPNrWWpwkIadoZudlwWyIW+p+sfeBrHkLEu5rEWpVEa0tNQy7QVHeQgXZFsg2LgICUPoHxsMR+0LCooiIvZ0KpVBQWftBQz7tMoZExdlg9N1k2AwvbdYfGjO2XOniiKcOpW587cyBTbqOMNancf27WDRRiQc5o7jYDlx9hOe5OY6vV6GskuIOTgF0LAILrK5GaSnI2HwtIULVjWRpCXFwW9aigi+wSWFLNKc9gVnHtBTHUGKnwcM0Xpl4foFcklH8aDv4uUD7GFTpKSDtKS99QEdjQYB6Hg4eUF7u1TSERm5O3T37vLB3ctL5IWskiVLMrjxRAeQsi6eSk5La0qrP8qSEoqDg7fkFB+XbJay5ixYmEmlo2UgZWNsNHmht9icdsB6usbWE+Vpq6mAfg5YRWEt3aplgcD/5MRoMn8qzpx2UD19gsbTF6XRVBywABBhaTmtOsABnDwWOw2fkZlGq5fLC16xg8uDl6KOsBLkLKbBO5NMTyEC9Lr4aPeFu5o6pKSS4fKloeWD7PJROSsSTLEyt4yOTTUC/xT6NDx/qjlNnRAXA72lrTPKLkZgAwFREJGMJoJ16+JhSRm7dtVLSYXyzTns4FeLCaTNJhag8TjuMLq/HyCmIJPnJlnyobRk1KJmeU32msXOqRUIGId43hk6Dxl0U9ls+OxkPY8HbWs3edbkGq/JPxYfl9gwxYbWM8nJfn4gpC27DkqSpBUYC2tPrxqvp08hlYqZ1lbiKn3l3NNtCpC/szub7oE8cWLtozVrnm/4dvjwhg2H16wSP6pKcoHV9fX0gbBSVYifg78/0V9GXHTp3c2bN39ebg70JxL9Axxl+d094eBtW0hgQGAbMUQm29G849Lld5cvnd8ReD4gbEdbiMwxLOTtP+s8Kg7sYvtCAAAAAElFTkSuQmCC') center no-repeat;background-size:100% 100%;transition:all 0.2s ease-in-out;"]),Z6=k.div(["margin-left:12px;font-size:14px;display:block;line-height:1.2;color:rgba(255,255,255,0.7);"]),K6=k(ze)(["display:flex;align-items:flex-end;vertical-align:bottom;text-decoration:none;&:hover{","{opacity:0.8;}}"],om);function $6({href:e="/license",onClick:t}){const o=re();return u(K6,{"data-fxa-action":"open","data-fxa-path":"license",href:e,onClick:r=>{o({item:{id:"license"},type:"footer.legal.activate"},$(r)),t==null||t()},children:[u(om,{}),u(Z6,{children:["Государственная",u("br",{}),"лицензия"]})]})}const e4="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='109'%20height='32'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1067_3985)'%3e%3cpath%20fill='%23B1EC52'%20d='M7.972%200C3.568%200%200%203.58%200%208v16c0%204.42%203.568%208%207.972%208h15.943c4.404%200%207.972-3.58%207.972-8V0H7.972Z'/%3e%3cpath%20fill='%234D5759'%20d='M26.35%2011.996h-3.827L18.883%2016V8H15.93v1.936a7.885%207.885%200%200%200-.31-.37c-1.075-1.144-2.623-1.722-4.605-1.722-2.286%200-3.587%201.027-4.28%201.89-.855%201.073-1.237%202.535-.972%203.725.687%203.08%203.536%203.574%205.628%203.847%201.651.214%203.231.52%203.192%201.995-.045%201.534-1.768%201.91-2.9%201.91-2.947%200-3.044-2.183-3.044-2.183H5.472c.045.819.291%202.138%201.302%203.269%201.1%201.241%202.758%201.865%204.915%201.865%201.658%200%203.166-.54%204.241-1.501v1.32h2.953v-3.777l1.043-1.15%202.985%204.926h3.439l-4.345-7.207%204.345-4.777Zm-17.634.78c-.259-1.143.875-2.157%202.351-2.157%201.328%200%202.655.299%203.16%202.15h1.697v2.834c-2.118-1.748-6.715-.65-7.208-2.827Z'/%3e%3cpath%20fill='%23B1EC52'%20d='M39.405%2021.979c.2.065.427.098.693.098.33%200%20.596-.098.796-.3.201-.2.33-.467.395-.76l-4.202-8.93h2.797l2.694%206.409%202.364-6.408h2.661l-3.788%208.8c-.499%201.162-1.01%202.027-1.574%202.573-.563.565-1.172.845-1.852.845-.233%200-.414%200-.563-.033a2.566%202.566%200%200%201-.415-.084l-.317-.098a2.215%202.215%200%200%200-.246-.084v-2.255c.149.097.33.181.544.233l.013-.006ZM52.162%2020.654c-.168.052-.35.084-.544.13-.2.032-.414.065-.628.084-.214.033-.427.033-.628.033-.512%200-.946-.052-1.34-.13-.383-.098-.713-.234-.978-.43a1.773%201.773%200%200%201-.596-.799c-.13-.318-.2-.715-.2-1.176v-3.184h2.279v2.736c0%20.247.032.468.097.61a.766.766%200%200%200%20.278.397c.13.097.279.169.48.201.2.033.427.052.692.052.395%200%20.693-.032.926-.097.233-.085.415-.17.544-.247v-3.652h2.28v8.832h-2.28V20.53c-.097.033-.233.085-.395.13l.013-.006ZM63.676%2022.909c.02.169.065.318.117.396a.52.52%200%200%200%20.168.234.389.389%200%200%200%20.2.098V24H61.63l-.13-.416c-.065-.17-.084-.364-.084-.618l-.511.514c-.182.15-.363.28-.577.396a2.814%202.814%200%200%201-.725.28%204.446%204.446%200%200%201-.99.097c-.377%200-.759-.052-1.095-.169a2.738%202.738%200%200%201-.862-.513%202.468%202.468%200%200%201-.563-.865c-.13-.331-.2-.727-.2-1.176%200-.364.051-.695.168-1.014a2.59%202.59%200%200%201%20.479-.812c.214-.234.466-.429.758-.578a2.755%202.755%200%200%201%201.01-.319l2.234-.331c.084-.02.168-.02.265-.052a.606.606%200%200%200%20.266-.117.596.596%200%200%200%20.2-.202.755.755%200%200%200%20.085-.364c0-.15-.033-.28-.065-.396a.77.77%200%200%200-.233-.319%201.018%201.018%200%200%200-.428-.214c-.18-.052-.414-.065-.68-.065-.317%200-.543.032-.725.084-.2.065-.35.17-.446.267a.994.994%200%200%200-.247.383l-.097.481h-2.28c0-.097.02-.247.053-.448.032-.182.097-.397.2-.63.085-.215.234-.449.395-.683a2.62%202.62%200%200%201%20.68-.65c.266-.182.615-.35%201.01-.468.396-.117.862-.182%201.425-.201.777%200%201.425.084%201.917.234.48.169.861.383%201.14.63.265.267.447.546.544.864.084.319.13.63.13.95v4.678c0%20.267.019.481.051.65l-.026.02Zm-2.746-3.016c-.148.065-.33.13-.563.17l-.609.116c-.265.052-.498.098-.693.17-.2.064-.362.149-.498.246-.13.117-.233.247-.298.397-.065.15-.097.331-.097.565%200%20.182.032.351.084.481.065.15.149.247.265.35a.855.855%200%200%200%20.35.202c.15.052.298.065.466.065.085%200%20.201-.02.33-.032.13-.02.266-.052.428-.098a2.46%202.46%200%200%200%20.447-.234c.149-.084.278-.214.395-.364.13-.149.233-.33.298-.565.065-.214.116-.468.116-.76v-.897c-.13.084-.278.15-.414.201l-.007-.013ZM70.061%2017.683a1.285%201.285%200%200%200-.278-.448%201.237%201.237%200%200%200-.447-.28%202.339%202.339%200%200%200-.648-.084c-.382%200-.68.084-.906.266a1.698%201.698%200%200%200-.531.663c-.13.28-.201.579-.246.897-.033.318-.065.61-.065.897%200%20.286.02.598.052.91.032.331.097.61.233.877.116.266.278.5.53.663.234.182.545.266.946.266.266%200%20.499-.052.693-.169a1.73%201.73%200%200%200%20.48-.383c.129-.17.233-.331.297-.514.052-.168.084-.33.084-.48h2.384c0%20.15-.02.331-.065.565a4.95%204.95%200%200%201-.266.747%205.374%205.374%200%200%201-.466.78c-.214.267-.447.5-.745.696a3.69%203.69%200%200%201-1.023.513c-.395.13-.861.201-1.373.201-.66%200-1.256-.097-1.768-.298a3.421%203.421%200%200%201-1.288-.91c-.35-.397-.615-.878-.797-1.476a6.67%206.67%200%200%201-.278-1.988c0-.741.097-1.43.298-2.008.2-.566.479-1.06.842-1.462a3.468%203.468%200%200%201%201.308-.897c.498-.215%201.075-.319%201.69-.319.265%200%20.544.033.842.065.278.033.563.117.841.215.279.117.544.247.81.416.246.169.48.383.693.63.2.247.362.546.498.877.13.332.214.728.247%201.177h-2.383c-.052-.234-.098-.449-.182-.611l-.013.006ZM80.59%2015.175v1.858h-2.66v6.974h-2.28v-6.974h-2.662v-1.858h7.61-.007ZM86.937%2018.366v-3.184h2.28v8.832h-2.28V20.23h-3.354v3.782h-2.28v-8.831h2.28v3.184h3.354ZM93.063%2020.62l3.212-5.445h2.396v8.832h-2.28v-5.33h-.032l-3.108%205.33h-2.5v-8.832h2.28v5.446h.032ZM105.807%2015.175h3.044l-3.639%203.665L109%2024h-2.979l-2.577-3.737-.926.949V24h-2.28v-8.832h2.28v3.353l3.289-3.353v.007Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1067_3985'%3e%3cpath%20fill='%23fff'%20d='M0%200h109v32H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",rm=k.div(['display:block;width:109px;height:32px;background:url("','") center bottom no-repeat;background-size:100% 100%;transition:all 0.2s ease-in-out;'],e4),t4=k(ze)(["display:flex;align-items:flex-end;text-decoration:none;&:hover{","{opacity:0.8;}}"],rm);function o4({onClick:e}){const t=re();return u(t4,{"data-fxa-action":"open","data-fxa-path":"skolkovo","aria-label":"Сколково",href:"http://sk.ru",onClick:o=>{t({item:{id:"skolkovo"},type:"footer.legal.activate"},$(o)),e==null||e()},target:"_blank",children:u(rm,{})})}const r4=(function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"})(),n4=function(e){return"/"+e},ah={},as=function(t,o,r){let n=Promise.resolve();if(o&&o.length>0){let l=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));n=l(o.map(c=>{if(c=n4(c),c in ah)return;ah[c]=!0;const d=c.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${h}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":r4,d||(f.as="script"),f.crossOrigin="",f.href=c,a&&f.setAttribute("nonce",a),document.head.appendChild(f),d)return new Promise((b,v)=>{f.addEventListener("load",b),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return n.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},yT="modal-city-overlay",i4=k.div(["color:",";white-space:nowrap;display:flex;"],({theme:e})=>e.colors["content-oncolor-secondary"]),s4=k.button(["margin-left:2px;padding:0;border:none;background:none;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;color:",";&:hover{color:",";}"],({theme:e})=>e.colors["content-oncolor-secondary"],({theme:e})=>e.colors["content-oncolor-primary"]);function a4({cities:e,currentCityValue:t,onSelectCity:o}){var d;const r=re(),[n,i]=ye(null),[s,a]=ye(!1),l=(d=e.find(h=>h.value===t))!=null?d:e[0],c=h=>{s||r({type:"footer.city.open"},$(h)),a(!0),n===null&&as(()=>import("./city-dialog-b8mRH_bW.js"),[]).then(f=>i(()=>f.CityDialog))};return u(i4,{children:[u(_e,{name:"navigation",size:20}),u(s4,{"aria-haspopup":"dialog","data-fxa-action":"open","data-fxa-path":"city-dialog",onClick:c,type:"button",children:l==null?void 0:l.name}),n!==null&&u(n,{cities:e,currentValue:l==null?void 0:l.value,onClose:()=>a(!1),onSelect:o,open:s})]})}const li=k.div(["grid-area:registry;font-size:14px;line-height:1.2;color:",";& > br{display:none;}"," ",""],({theme:e})=>e.colors["content-oncolor-secondary"],et()`
|
|
525
|
+
`),sh="/onboarding?chat=1";function Q6({onClick:e}){const t=cu(),o=re();return u(J6,{children:[u("div",{children:[u(xe,{appearance:"subheading-compact",color:"content-oncolor-primary",fontFamily:"TT Foxford, sans-serif",marginBottom:4,size:"s",sizeM:"m",children:"Ответьте на несколько вопросов"}),u(Y6,{color:"content-oncolor-primary",size:16,children:"Предложим варианты обучения именно для вас"}),u(Lt,{top:20,topL:28,topM:20,topXL:18,children:u(Vt,{"data-fxa-action":"open","data-fxa-path":"onboarding",href:lu(t,sh),onClick:r=>{o({item:{url:sh},type:"footer.onboarding.activate"},$(r)),e==null||e()},onColored:!0,preset:"brand",size:"s",textProps:{fontFamily:"TT Foxford, sans-serif",size:"xs"},children:"Начать опрос"})})]}),u(W6,{})]})}const om=k.div(["display:block;width:27px;height:40px;background:url('data:image/png;base64,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') center no-repeat;background-size:100% 100%;transition:all 0.2s ease-in-out;"]),Z6=k.div(["margin-left:12px;font-size:14px;display:block;line-height:1.2;color:rgba(255,255,255,0.7);"]),K6=k(ze)(["display:flex;align-items:flex-end;vertical-align:bottom;text-decoration:none;&:hover{","{opacity:0.8;}}"],om);function $6({href:e="/license",onClick:t}){const o=re();return u(K6,{"data-fxa-action":"open","data-fxa-path":"license",href:e,onClick:r=>{o({item:{id:"license"},type:"footer.legal.activate"},$(r)),t==null||t()},children:[u(om,{}),u(Z6,{children:["Государственная",u("br",{}),"лицензия"]})]})}const e4="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='109'%20height='32'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1067_3985)'%3e%3cpath%20fill='%23B1EC52'%20d='M7.972%200C3.568%200%200%203.58%200%208v16c0%204.42%203.568%208%207.972%208h15.943c4.404%200%207.972-3.58%207.972-8V0H7.972Z'/%3e%3cpath%20fill='%234D5759'%20d='M26.35%2011.996h-3.827L18.883%2016V8H15.93v1.936a7.885%207.885%200%200%200-.31-.37c-1.075-1.144-2.623-1.722-4.605-1.722-2.286%200-3.587%201.027-4.28%201.89-.855%201.073-1.237%202.535-.972%203.725.687%203.08%203.536%203.574%205.628%203.847%201.651.214%203.231.52%203.192%201.995-.045%201.534-1.768%201.91-2.9%201.91-2.947%200-3.044-2.183-3.044-2.183H5.472c.045.819.291%202.138%201.302%203.269%201.1%201.241%202.758%201.865%204.915%201.865%201.658%200%203.166-.54%204.241-1.501v1.32h2.953v-3.777l1.043-1.15%202.985%204.926h3.439l-4.345-7.207%204.345-4.777Zm-17.634.78c-.259-1.143.875-2.157%202.351-2.157%201.328%200%202.655.299%203.16%202.15h1.697v2.834c-2.118-1.748-6.715-.65-7.208-2.827Z'/%3e%3cpath%20fill='%23B1EC52'%20d='M39.405%2021.979c.2.065.427.098.693.098.33%200%20.596-.098.796-.3.201-.2.33-.467.395-.76l-4.202-8.93h2.797l2.694%206.409%202.364-6.408h2.661l-3.788%208.8c-.499%201.162-1.01%202.027-1.574%202.573-.563.565-1.172.845-1.852.845-.233%200-.414%200-.563-.033a2.566%202.566%200%200%201-.415-.084l-.317-.098a2.215%202.215%200%200%200-.246-.084v-2.255c.149.097.33.181.544.233l.013-.006ZM52.162%2020.654c-.168.052-.35.084-.544.13-.2.032-.414.065-.628.084-.214.033-.427.033-.628.033-.512%200-.946-.052-1.34-.13-.383-.098-.713-.234-.978-.43a1.773%201.773%200%200%201-.596-.799c-.13-.318-.2-.715-.2-1.176v-3.184h2.279v2.736c0%20.247.032.468.097.61a.766.766%200%200%200%20.278.397c.13.097.279.169.48.201.2.033.427.052.692.052.395%200%20.693-.032.926-.097.233-.085.415-.17.544-.247v-3.652h2.28v8.832h-2.28V20.53c-.097.033-.233.085-.395.13l.013-.006ZM63.676%2022.909c.02.169.065.318.117.396a.52.52%200%200%200%20.168.234.389.389%200%200%200%20.2.098V24H61.63l-.13-.416c-.065-.17-.084-.364-.084-.618l-.511.514c-.182.15-.363.28-.577.396a2.814%202.814%200%200%201-.725.28%204.446%204.446%200%200%201-.99.097c-.377%200-.759-.052-1.095-.169a2.738%202.738%200%200%201-.862-.513%202.468%202.468%200%200%201-.563-.865c-.13-.331-.2-.727-.2-1.176%200-.364.051-.695.168-1.014a2.59%202.59%200%200%201%20.479-.812c.214-.234.466-.429.758-.578a2.755%202.755%200%200%201%201.01-.319l2.234-.331c.084-.02.168-.02.265-.052a.606.606%200%200%200%20.266-.117.596.596%200%200%200%20.2-.202.755.755%200%200%200%20.085-.364c0-.15-.033-.28-.065-.396a.77.77%200%200%200-.233-.319%201.018%201.018%200%200%200-.428-.214c-.18-.052-.414-.065-.68-.065-.317%200-.543.032-.725.084-.2.065-.35.17-.446.267a.994.994%200%200%200-.247.383l-.097.481h-2.28c0-.097.02-.247.053-.448.032-.182.097-.397.2-.63.085-.215.234-.449.395-.683a2.62%202.62%200%200%201%20.68-.65c.266-.182.615-.35%201.01-.468.396-.117.862-.182%201.425-.201.777%200%201.425.084%201.917.234.48.169.861.383%201.14.63.265.267.447.546.544.864.084.319.13.63.13.95v4.678c0%20.267.019.481.051.65l-.026.02Zm-2.746-3.016c-.148.065-.33.13-.563.17l-.609.116c-.265.052-.498.098-.693.17-.2.064-.362.149-.498.246-.13.117-.233.247-.298.397-.065.15-.097.331-.097.565%200%20.182.032.351.084.481.065.15.149.247.265.35a.855.855%200%200%200%20.35.202c.15.052.298.065.466.065.085%200%20.201-.02.33-.032.13-.02.266-.052.428-.098a2.46%202.46%200%200%200%20.447-.234c.149-.084.278-.214.395-.364.13-.149.233-.33.298-.565.065-.214.116-.468.116-.76v-.897c-.13.084-.278.15-.414.201l-.007-.013ZM70.061%2017.683a1.285%201.285%200%200%200-.278-.448%201.237%201.237%200%200%200-.447-.28%202.339%202.339%200%200%200-.648-.084c-.382%200-.68.084-.906.266a1.698%201.698%200%200%200-.531.663c-.13.28-.201.579-.246.897-.033.318-.065.61-.065.897%200%20.286.02.598.052.91.032.331.097.61.233.877.116.266.278.5.53.663.234.182.545.266.946.266.266%200%20.499-.052.693-.169a1.73%201.73%200%200%200%20.48-.383c.129-.17.233-.331.297-.514.052-.168.084-.33.084-.48h2.384c0%20.15-.02.331-.065.565a4.95%204.95%200%200%201-.266.747%205.374%205.374%200%200%201-.466.78c-.214.267-.447.5-.745.696a3.69%203.69%200%200%201-1.023.513c-.395.13-.861.201-1.373.201-.66%200-1.256-.097-1.768-.298a3.421%203.421%200%200%201-1.288-.91c-.35-.397-.615-.878-.797-1.476a6.67%206.67%200%200%201-.278-1.988c0-.741.097-1.43.298-2.008.2-.566.479-1.06.842-1.462a3.468%203.468%200%200%201%201.308-.897c.498-.215%201.075-.319%201.69-.319.265%200%20.544.033.842.065.278.033.563.117.841.215.279.117.544.247.81.416.246.169.48.383.693.63.2.247.362.546.498.877.13.332.214.728.247%201.177h-2.383c-.052-.234-.098-.449-.182-.611l-.013.006ZM80.59%2015.175v1.858h-2.66v6.974h-2.28v-6.974h-2.662v-1.858h7.61-.007ZM86.937%2018.366v-3.184h2.28v8.832h-2.28V20.23h-3.354v3.782h-2.28v-8.831h2.28v3.184h3.354ZM93.063%2020.62l3.212-5.445h2.396v8.832h-2.28v-5.33h-.032l-3.108%205.33h-2.5v-8.832h2.28v5.446h.032ZM105.807%2015.175h3.044l-3.639%203.665L109%2024h-2.979l-2.577-3.737-.926.949V24h-2.28v-8.832h2.28v3.353l3.289-3.353v.007Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1067_3985'%3e%3cpath%20fill='%23fff'%20d='M0%200h109v32H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",rm=k.div(['display:block;width:109px;height:32px;background:url("','") center bottom no-repeat;background-size:100% 100%;transition:all 0.2s ease-in-out;'],e4),t4=k(ze)(["display:flex;align-items:flex-end;text-decoration:none;&:hover{","{opacity:0.8;}}"],rm);function o4({onClick:e}){const t=re();return u(t4,{"data-fxa-action":"open","data-fxa-path":"skolkovo","aria-label":"Сколково",href:"http://sk.ru",onClick:o=>{t({item:{id:"skolkovo"},type:"footer.legal.activate"},$(o)),e==null||e()},target:"_blank",children:u(rm,{})})}const r4=(function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"})(),n4=function(e){return"/"+e},ah={},as=function(t,o,r){let n=Promise.resolve();if(o&&o.length>0){let l=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));n=l(o.map(c=>{if(c=n4(c),c in ah)return;ah[c]=!0;const d=c.endsWith(".css"),g=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${g}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":r4,d||(f.as="script"),f.crossOrigin="",f.href=c,a&&f.setAttribute("nonce",a),document.head.appendChild(f),d)return new Promise((b,v)=>{f.addEventListener("load",b),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return n.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},yT="modal-city-overlay",i4=k.div(["color:",";white-space:nowrap;display:flex;"],({theme:e})=>e.colors["content-oncolor-secondary"]),s4=k.button(["margin-left:2px;padding:0;border:none;background:none;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;color:",";&:hover{color:",";}"],({theme:e})=>e.colors["content-oncolor-secondary"],({theme:e})=>e.colors["content-oncolor-primary"]);function a4({cities:e,currentCityValue:t,onSelectCity:o}){var d;const r=re(),[n,i]=ye(null),[s,a]=ye(!1),l=(d=e.find(g=>g.value===t))!=null?d:e[0],c=g=>{s||r({type:"footer.city.open"},$(g)),a(!0),n===null&&as(()=>import("./city-dialog-b8mRH_bW.js"),[]).then(f=>i(()=>f.CityDialog))};return u(i4,{children:[u(_e,{name:"navigation",size:20}),u(s4,{"aria-haspopup":"dialog","data-fxa-action":"open","data-fxa-path":"city-dialog",onClick:c,type:"button",children:l==null?void 0:l.name}),n!==null&&u(n,{cities:e,currentValue:l==null?void 0:l.value,onClose:()=>a(!1),onSelect:o,open:s})]})}const li=k.div(["grid-area:registry;font-size:14px;line-height:1.2;color:",";& > br{display:none;}"," ",""],({theme:e})=>e.colors["content-oncolor-secondary"],et()`
|
|
526
526
|
& > br {
|
|
527
527
|
display: block;
|
|
528
528
|
}
|
|
@@ -646,7 +646,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
646
646
|
margin-top: 8px;
|
|
647
647
|
`,({$hideTextInMobile:e})=>e&&R(["",""],et()`
|
|
648
648
|
display: none;
|
|
649
|
-
`));function j4({icon:e,size:t}){return L4(e)?u("img",{alt:"",height:t,src:cm[e],width:t}):u(_e,{name:e,preset:"brand",size:t})}function X4(e,t,{hideTextInMobile:o,marker:r}){if(e!==void 0)return e;if(!(typeof t!="string"||t===""))return r?`${t}, есть новое`:o?t:void 0}function F4({active:e,avatar:t,className:o,hideTextInMobile:r,icon:n,iconSize:i=20,marker:s,text:a}){const l=a!==void 0&&a!=="";return u(_4,{$active:e,className:o,children:[(t!==void 0||n!==void 0)&&u(I4,{children:[t!=null?t:n&&u(j4,{icon:n,size:i}),s&&u(N4,{children:u(Ko,{pulse:!0,secondary:!0})})]}),l&&u(um,{$hideTextInMobile:r,children:a})]})}function Eo({active:e=!1,"aria-label":t,avatar:o,className:r,"data-fxa-action":n,"data-fxa-path":i,expanded:s,hideTextInMobile:a=!1,icon:l,iconSize:c,id:d,linkRef:
|
|
649
|
+
`));function j4({icon:e,size:t}){return L4(e)?u("img",{alt:"",height:t,src:cm[e],width:t}):u(_e,{name:e,preset:"brand",size:t})}function X4(e,t,{hideTextInMobile:o,marker:r}){if(e!==void 0)return e;if(!(typeof t!="string"||t===""))return r?`${t}, есть новое`:o?t:void 0}function F4({active:e,avatar:t,className:o,hideTextInMobile:r,icon:n,iconSize:i=20,marker:s,text:a}){const l=a!==void 0&&a!=="";return u(_4,{$active:e,className:o,children:[(t!==void 0||n!==void 0)&&u(I4,{children:[t!=null?t:n&&u(j4,{icon:n,size:i}),s&&u(N4,{children:u(Ko,{pulse:!0,secondary:!0})})]}),l&&u(um,{$hideTextInMobile:r,children:a})]})}function Eo({active:e=!1,"aria-label":t,avatar:o,className:r,"data-fxa-action":n,"data-fxa-path":i,expanded:s,hideTextInMobile:a=!1,icon:l,iconSize:c,id:d,linkRef:g,marker:f=!1,onClick:b,text:v,url:p}){const h=X4(t,v,{hideTextInMobile:a,marker:f}),m=F4({active:e,avatar:o,className:r,hideTextInMobile:a,icon:l,iconSize:c,marker:f,text:v});return p?u(ze,{"aria-current":e?"page":void 0,"aria-label":h,"data-fxa-action":n,"data-fxa-path":i,href:p,id:d,ref:g,onClick:b,children:m}):u("div",{"aria-expanded":s,"aria-label":h,"data-fxa-action":n,"data-fxa-path":i,id:d,onClick:b,onKeyDown:C=>{(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),b==null||b(C))},role:"button",tabIndex:0,children:m})}const U4=k.div(["border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:contain;overflow:hidden;",""],({$avatarUrl:e,$big:t,theme:o})=>R(["width:","px;height:",'px;background-image:url("','");border:1px solid ',";",""],t?60:20,t?60:20,e,o.colors.mercury,q()`
|
|
650
650
|
width: ${t?60:40}px;
|
|
651
651
|
height: ${t?60:40}px;
|
|
652
652
|
border: 2px solid ${o.colors.accent};
|
|
@@ -672,7 +672,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
672
672
|
font-size: 14px;
|
|
673
673
|
`,({active:e,theme:t})=>R(["color:",";"],e===!0?t.colors.accent:t.colors.silver),um),q4=k.div(["display:grid;grid-auto-flow:column;align-items:center;justify-content:start;column-gap:20px;",""],qe()`
|
|
674
674
|
column-gap: 8px;
|
|
675
|
-
`),hm=k(dm)(["width:32px;height:32px;border:none;"]);function En({breakpoint:e="M",children:t,placement:o}){if(t==null)return null;const r=u(ue,{children:t});return o==="mobile"?u(Bt,{max:e,children:r}):u(Bt,{min:e,children:r})}function gm(e,t,o){return t==null?e:{...e,bannerSlot:u(En,{placement:o,children:t})}}const J4=k(Eo)(["&&{display:flex;height:40px;min-width:40px;align-items:center;justify-content:center;border-radius:50%;","}"],({$filled:e,theme:t})=>e&&R(["background:",";"],t.colors["bg-onmain-main"])),Lo={title:"Корзина",url:"/checkout"};function mu(e,t){return t>0?`${e}, товаров: ${String(t)}`:e}function W4({active:e=!1,cartItemsCount:t=0,filled:o=!1,onClick:r,showText:n=!1}){const i=re();return u(J4,{active:e,$filled:o,"aria-label":mu(Lo.title,t),hideTextInMobile:!0,icon:"cart",id:D.TOP_MENU_CART,marker:t>0,"data-fxa-action":"open","data-fxa-path":"cart",onClick:s=>{i({item:{id:D.TOP_MENU_CART,...Lo},type:"user-panel.activate"},$(s)),r==null||r()},text:n?Lo.title:void 0,url:Lo.url})}const Y4=k.div(["position:relative;"]);function hh(e,t,o){lt(()=>{if(!o)return;const r=n=>{const i=e.current;i===null||i.getClientRects().length===0||i.contains(n.target)||t()};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[o,t,e])}const mm=20,bm=15,Q4=k.div(["position:absolute;top:calc(100% + 32px);right:0;border-radius:10px;box-shadow:0px 6px 20px rgba(0,0,0,0.1);width:290px;z-index:",";overflow:hidden;",""],tt.NAVIGATION+3,({$isOpen:e,theme:t})=>R(["padding:","px;background-color:",";pointer-events:",";opacity:",";transition:opacity ","ms linear ",";"],mm,t.colors.white,e?"auto":"none",e?1:0,Ue,e?`${Ue*2}ms`:"0s")),Z4=k.div([""]),K4=k.div(["display:flex;align-items:center;padding-top:6px;padding-bottom:6px;transition:color 0.3s;cursor:pointer;"," ",""],({$isSpacer:e})=>e===!0&&"margin-top: 24px;",({theme:e})=>R(["color:",";&:hover,&:hover div{color:",";}"],e.colors.mineShaft,e.colors.accent)),$4=k.span(["font-size:16px;line-height:1.5;color:inherit;"]),ew=k.div(["padding-left:16px;"]),tw=k.div(["display:inline-flex;position:relative;",""],({$isMarkerVisible:e,theme:t})=>e&&R(["&:after{content:'';position:absolute;top:-4px;right:-5px;background-color:",";box-shadow:0 0 4px ",";width:8px;height:8px;border-radius:50%;}"],t.colors.orangePeel,t.colors.orangePeel));function qs({additionalInfo:e,icon:t,id:o,isMarkerVisible:r,isSpacer:n,onClick:i,title:s,url:a}){const l=re(),c=f=>{const b=o===D.PROFILE_MENU_ONBOARDING?"profile.onboarding.activate":o===D.PROFILE_MENU_EXTERNAL_REVIEWS?"profile.reviews.activate":"profile.item.activate";l({item:{id:o,title:typeof s=="string"?s:void 0,url:a},type:b},$(f)),i==null||i()},d=u(K4,{$isSpacer:n,children:[t&&u(tw,{$isMarkerVisible:r,children:u(_e,{name:t,preset:"brand",size:20})}),u(ew,{children:[u($4,{children:s}),e]})]});return a!==void 0?u(ze,{"data-fxa-path":"profile-item",href:a,id:o,onClick:c,children:d}):u("div",{"data-fxa-path":"profile-item",id:o,onClick:c,onKeyDown:f=>{(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),c(f))},role:"button",tabIndex:0,children:d})}function ow({bannerSlot:e,bonusesSlot:t,cartItem:o,headItems:r=[],headSpacing:n=12,items:i,onBannerClick:s,open:a,profileInfoSlot:l,pupilSelectSlot:c}){const d=e!=null,
|
|
675
|
+
`),hm=k(dm)(["width:32px;height:32px;border:none;"]);function En({breakpoint:e="M",children:t,placement:o}){if(t==null)return null;const r=u(ue,{children:t});return o==="mobile"?u(Bt,{max:e,children:r}):u(Bt,{min:e,children:r})}function gm(e,t,o){return t==null?e:{...e,bannerSlot:u(En,{placement:o,children:t})}}const J4=k(Eo)(["&&{display:flex;height:40px;min-width:40px;align-items:center;justify-content:center;border-radius:50%;","}"],({$filled:e,theme:t})=>e&&R(["background:",";"],t.colors["bg-onmain-main"])),Lo={title:"Корзина",url:"/checkout"};function mu(e,t){return t>0?`${e}, товаров: ${String(t)}`:e}function W4({active:e=!1,cartItemsCount:t=0,filled:o=!1,onClick:r,showText:n=!1}){const i=re();return u(J4,{active:e,$filled:o,"aria-label":mu(Lo.title,t),hideTextInMobile:!0,icon:"cart",id:D.TOP_MENU_CART,marker:t>0,"data-fxa-action":"open","data-fxa-path":"cart",onClick:s=>{i({item:{id:D.TOP_MENU_CART,...Lo},type:"user-panel.activate"},$(s)),r==null||r()},text:n?Lo.title:void 0,url:Lo.url})}const Y4=k.div(["position:relative;"]);function hh(e,t,o){lt(()=>{if(!o)return;const r=n=>{const i=e.current;i===null||i.getClientRects().length===0||i.contains(n.target)||t()};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[o,t,e])}const mm=20,bm=15,Q4=k.div(["position:absolute;top:calc(100% + 32px);right:0;border-radius:10px;box-shadow:0px 6px 20px rgba(0,0,0,0.1);width:290px;z-index:",";overflow:hidden;",""],tt.NAVIGATION+3,({$isOpen:e,theme:t})=>R(["padding:","px;background-color:",";pointer-events:",";opacity:",";transition:opacity ","ms linear ",";"],mm,t.colors.white,e?"auto":"none",e?1:0,Ue,e?`${Ue*2}ms`:"0s")),Z4=k.div([""]),K4=k.div(["display:flex;align-items:center;padding-top:6px;padding-bottom:6px;transition:color 0.3s;cursor:pointer;"," ",""],({$isSpacer:e})=>e===!0&&"margin-top: 24px;",({theme:e})=>R(["color:",";&:hover,&:hover div{color:",";}"],e.colors.mineShaft,e.colors.accent)),$4=k.span(["font-size:16px;line-height:1.5;color:inherit;"]),ew=k.div(["padding-left:16px;"]),tw=k.div(["display:inline-flex;position:relative;",""],({$isMarkerVisible:e,theme:t})=>e&&R(["&:after{content:'';position:absolute;top:-4px;right:-5px;background-color:",";box-shadow:0 0 4px ",";width:8px;height:8px;border-radius:50%;}"],t.colors.orangePeel,t.colors.orangePeel));function qs({additionalInfo:e,icon:t,id:o,isMarkerVisible:r,isSpacer:n,onClick:i,title:s,url:a}){const l=re(),c=f=>{const b=o===D.PROFILE_MENU_ONBOARDING?"profile.onboarding.activate":o===D.PROFILE_MENU_EXTERNAL_REVIEWS?"profile.reviews.activate":"profile.item.activate";l({item:{id:o,title:typeof s=="string"?s:void 0,url:a},type:b},$(f)),i==null||i()},d=u(K4,{$isSpacer:n,children:[t&&u(tw,{$isMarkerVisible:r,children:u(_e,{name:t,preset:"brand",size:20})}),u(ew,{children:[u($4,{children:s}),e]})]});return a!==void 0?u(ze,{"data-fxa-path":"profile-item",href:a,id:o,onClick:c,children:d}):u("div",{"data-fxa-path":"profile-item",id:o,onClick:c,onKeyDown:f=>{(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),c(f))},role:"button",tabIndex:0,children:d})}function ow({bannerSlot:e,bonusesSlot:t,cartItem:o,headItems:r=[],headSpacing:n=12,items:i,onBannerClick:s,open:a,profileInfoSlot:l,pupilSelectSlot:c}){const d=e!=null,g=Ke(null),f=Ke(null),b=Ke(null),[v,p]=ye("100dvh");return Ie(()=>{const h=document.getElementById(D.NAVIGATION),m=[h,g.current,f.current,b.current].filter(S=>S!==null),y=S=>{var M;return(M=S==null?void 0:S.getBoundingClientRect().height)!=null?M:0},C=()=>{const S=y(h)+Ei+y(g.current)+y(f.current)+y(b.current)+mm*2+(bm-Ei);p(`calc(100dvh - ${String(S)}px)`)},A=new ResizeObserver(C);return m.forEach(S=>A.observe(S)),()=>A.disconnect()},[d]),u(Q4,{$isOpen:a,"aria-hidden":a?void 0:!0,"data-fxa-kind":"menu",id:D.PROFILE_MENU,inert:!a,children:[u("div",{ref:g,children:c}),d&&u(Z4,{onClick:s,ref:f,children:e}),u("div",{ref:b,children:l}),u(nu,{autoHeight:!0,autoHeightMax:v,autoHide:!0,universal:!0,children:[r.map(h=>u(qs,{...h},h.id)),u(Lt,{marginBottom:n}),o&&u(Bt,{max:"L",children:u(qs,{...o})}),i.map(h=>h.id===D.PROFILE_MENU_BONUSES&&t!==void 0?u(ue,{children:t},h.id):u(qs,{...h},h.id))]})]})}const rw="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='12'%20fill='none'%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M10.707%204.707a1%201%200%200%200-1.414%200L2%2012h16l-7.293-7.293Z'%20clip-rule='evenodd'/%3e%3c/svg%3e",nw=k.div(["",""],({$open:e,theme:t})=>R(["position:absolute;top:-12px;right:0;transform:translateY(-100%);padding:12px 16px;border-radius:5px;width:201px;font-size:16px;line-height:1.5;color:",";background-color:",";box-shadow:0px 4px 8px 0px rgba(0,0,0,0.08),0px -2px 8px 0px rgba(0,0,0,0.08);opacity:",";pointer-events:",";transition:opacity ","s;",` &:before{content:'';position:absolute;bottom:0;right:13px;transform:translateY(100%) rotate(180deg);width:20px;height:12px;background:url("`,'") no-repeat 0 0;',"}"],t.colors.mineShaft,t.colors.white,e?1:0,e?"auto":"none",e?.3:0,q()`
|
|
676
676
|
top: initial;
|
|
677
677
|
right: -15px;
|
|
678
678
|
bottom: -12px;
|
|
@@ -687,7 +687,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
687
687
|
bottom: ${aw}px;
|
|
688
688
|
right: 10px;
|
|
689
689
|
top: initial;
|
|
690
|
-
`),cw=k.button(["display:inline-grid;grid-auto-flow:column;align-items:center;column-gap:8px;margin-left:8px;margin-bottom:16px;padding:0;border:none;background:none;font:inherit;font-size:16px;cursor:pointer;color:",";"],({theme:e})=>e.colors["content-onmain-primary"]);function uw({onClose:e,onSelectPupil:t,open:o,pupils:r}){const n=re();return o?u(lw,{"data-fxa-kind":"menu","data-fxa-path":"pupil-menu",children:[u(cw,{"data-fxa-action":"back","data-fxa-path":"back",onClick:i=>{n({reason:"back",type:"pupil-menu.back"},$(i)),e()},type:"button",children:[u(_e,{name:"chevronUp",preset:"brand",rotate:"-90deg",size:20}),"Назад"]}),r.map(i=>u(ss,{addonLeft:u(ou,{size:"s",src:i.avatarUrl}),borderRadius:8,caption:s=>u(xe,{...s,color:"content-onmain-tertiary",children:i.grade}),"data-fxa-path":"pupil-account",onClick:s=>{n({item:{id:String(i.id),sourceId:i.id},type:"account.pupil.select"},$(s)),t(i.id)},text:`${i.firstName} ${i.lastName}`},i.id))]}):null}function bu({children:e,onProfileMenuClose:t,onPupilSelectMenuClose:o,onSelectPupil:r,profileMenu:n,profileMenuOpen:i,pupils:s=[],pupilSelectMenuOpen:a,tooltipText:l}){const c=re(),d=Ke(null);return hh(d,()=>{var
|
|
690
|
+
`),cw=k.button(["display:inline-grid;grid-auto-flow:column;align-items:center;column-gap:8px;margin-left:8px;margin-bottom:16px;padding:0;border:none;background:none;font:inherit;font-size:16px;cursor:pointer;color:",";"],({theme:e})=>e.colors["content-onmain-primary"]);function uw({onClose:e,onSelectPupil:t,open:o,pupils:r}){const n=re();return o?u(lw,{"data-fxa-kind":"menu","data-fxa-path":"pupil-menu",children:[u(cw,{"data-fxa-action":"back","data-fxa-path":"back",onClick:i=>{n({reason:"back",type:"pupil-menu.back"},$(i)),e()},type:"button",children:[u(_e,{name:"chevronUp",preset:"brand",rotate:"-90deg",size:20}),"Назад"]}),r.map(i=>u(ss,{addonLeft:u(ou,{size:"s",src:i.avatarUrl}),borderRadius:8,caption:s=>u(xe,{...s,color:"content-onmain-tertiary",children:i.grade}),"data-fxa-path":"pupil-account",onClick:s=>{n({item:{id:String(i.id),sourceId:i.id},type:"account.pupil.select"},$(s)),t(i.id)},text:`${i.firstName} ${i.lastName}`},i.id))]}):null}function bu({children:e,onProfileMenuClose:t,onPupilSelectMenuClose:o,onSelectPupil:r,profileMenu:n,profileMenuOpen:i,pupils:s=[],pupilSelectMenuOpen:a,tooltipText:l}){const c=re(),d=Ke(null);return hh(d,()=>{var g;c({reason:"outside",type:"profile.close"},{cause:"pointer",element:(g=d.current)!=null?g:void 0}),t()},i),hh(d,()=>{var g;c({reason:"outside",type:"pupil-menu.close"},{cause:"pointer",element:(g=d.current)!=null?g:void 0}),o()},a),lt(()=>{if(!i&&!a)return;const g=f=>{var b,v;f.key!=="Escape"&&f.key!=="Esc"||((b=d.current)==null?void 0:b.getClientRects().length)!==0&&(c({reason:"escape",type:"profile.close"},{cause:"keyboard",element:(v=d.current)!=null?v:void 0,event:f}),o(),t())};return document.addEventListener("keyup",g),()=>document.removeEventListener("keyup",g)},[c,t,o,i,a]),u(Y4,{"data-fxa-kind":"menu","data-fxa-path":"user-menu",ref:d,children:[e,u(iw,{text:l}),u(ow,{...n,onBannerClick:t,open:i}),u(uw,{onClose:o,onSelectPupil:r,open:a,pupils:s})]})}function Pn(e,t){const o=re();return r=>{o({reason:"toggle",type:e?"profile.close":"profile.open"},$(r)),t()}}const vm=1,dw=k.div(["display:flex;align-items:center;cursor:pointer;max-width:220px;user-select:none;overflow:hidden;"]),fw=k.div(["display:flex;height:40px;border-radius:0px 40px 40px 0px;background:",";padding:4px 16px;z-index:",";align-items:center;margin-left:-12px;overflow:hidden;"],({theme:e})=>e.colors["bg-onmain-secondary"],vm),pw=k.div(["display:flex;flex-direction:column;justify-content:center;overflow:hidden;position:relative;padding-right:10px;&::after{content:'';position:absolute;right:0;top:0;height:100%;width:10px;box-shadow:-10px 0px 5px -5px "," inset;}"],({theme:e})=>e.colors["bg-onmain-secondary"]),hw=k(_e)(["transition:transform 0.3s;"]),gw=k(ou)(["border:4px solid ",";z-index:",";"],({theme:e})=>e.colors["bg-onmain-secondary"],vm+1),mw=k(xe)(["overflow:hidden;text-overflow:ellipsis;position:relative;"]);function bw({active:e,avatarUrl:t,name:o,onClick:r,profileOpen:n=e,role:i}){const s=Pn(n,r);return u(dw,{"aria-expanded":e,"data-fxa-path":"profile-toggle",id:D.TOP_MENU_PROFILE,onClick:s,onKeyDown:a=>{(a.key==="Enter"||a.key===" "||a.key==="Spacebar")&&(a.preventDefault(),s(a))},role:"button",tabIndex:0,children:[u(gw,{preset:"brand",size:"l",src:t,text:o}),u(fw,{children:[u(pw,{children:[u(mw,{lineHeight:"s",size:14,weight:"bold",whiteSpace:"nowrap",children:o}),u(xe,{color:"content-onmain-secondary",lineHeight:"s",size:12,whiteSpace:"nowrap",children:i})]}),u(hw,{marginLeft:8,name:"chevronUp",rotate:e?"0deg":"-180deg",size:12})]})]})}function vw({onProfileMenuToggle:e,profileButtonMarker:t=!1,profileMenuOpen:o,pupilSelectMenuOpen:r,user:n,variant:i}){const s=o||r,a=Pn(o,e),l=u(bw,{active:s,profileOpen:o,avatarUrl:n.avatarUrl,name:n.name,onClick:e,role:n.role});return i!=="elementary"?l:u(ue,{children:[u(T4,{children:u(pm,{avatar:u(hm,{avatarUrl:n.avatarUrl}),expanded:s,iconSize:30,id:D.TOP_MENU_PROFILE,marker:t,"data-fxa-path":"profile-toggle",onClick:a,text:"Профиль"})}),u(P4,{children:l})]})}function yw({onProfileMenuClose:e,onProfileMenuToggle:t,onPupilSelectMenuClose:o,onSelectPupil:r,placement:n="desktop",profileButtonMarker:i=!1,profileMenu:s,profileMenuBannerSlot:a,profileMenuOpen:l,pupils:c=[],pupilSelectMenuOpen:d,tooltipText:g,user:f,variant:b}){const v=Pn(l,t);return u(bu,{onProfileMenuClose:e,onPupilSelectMenuClose:o,onSelectPupil:r,profileMenu:gm(s,a,n),profileMenuOpen:l,pupils:c,pupilSelectMenuOpen:d,tooltipText:g,children:[u(am,{children:u(Eo,{avatar:u(dm,{avatarUrl:f.avatarUrl}),expanded:l||d,id:D.TOP_MENU_PROFILE,marker:i,"data-fxa-path":"profile-toggle",onClick:v,text:"Профиль"})}),u(gu,{children:u(vw,{onProfileMenuToggle:t,profileButtonMarker:i,profileMenuOpen:l,pupilSelectMenuOpen:d,user:f,variant:b})})]})}function ym({cartItemsCount:e=0,chatSlot:t,highlightedTopMenuItemId:o,placement:r="desktop",topMenuItems:n=[],variant:i="base",...s}){const a=re(),l=i==="elementary",c=!(l&&r==="mobile"),d=l?G4:fm,g=l?pm:Eo;return u(hu,{placement:r,children:u(V4,{"data-fxa-path":"user-panel",id:D.USER_PANEL,children:u(d,{children:[n.map(f=>u(g,{active:o===f.id,"aria-label":f.id===D.TOP_MENU_CART?mu(f.title,e):void 0,icon:f.icon,iconSize:l?30:20,id:f.id,marker:f.id===D.TOP_MENU_CART?e>0:f.marker===!0,"data-fxa-path":"user-panel-item",onClick:b=>{var v;a({item:{id:f.id,title:f.title,url:f.url},placement:r,type:"user-panel.activate",variant:i},$(b)),(v=f.onClick)==null||v.call(f)},text:f.title,url:f.url},f.id)),u(En,{placement:r,children:t}),c&&u(q4,{children:[u(yw,{...s,cartItemsCount:e,placement:r,variant:i}),l&&u(gu,{children:u(W4,{cartItemsCount:e,filled:!0})})]})]})})})}const xw=k.div(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;& > :not(:last-child){margin-right:12px;}"]),ww=R([""," ",""],$e()`
|
|
691
691
|
margin-right: 0;
|
|
692
692
|
border-radius: 48px;
|
|
693
693
|
padding: 0 4px;
|
|
@@ -702,7 +702,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
702
702
|
}
|
|
703
703
|
`),kw=k.div(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;& > :not(:last-child){margin-right:12px;}",""],({$fill:e})=>e?ww:null),gh=k.div(["display:contents;",""],q()`
|
|
704
704
|
display: none;
|
|
705
|
-
`);function Aw(){const e=re();return u(Eo,{"data-fxa-action":"open","data-fxa-path":"referrals",onClick:t=>e({item:{url:"/referrals"},type:"referrals.activate"},$(t)),"aria-label":"Бонусы за друга",icon:"giftBox",id:D.TOP_MENU_REFERRALS,url:"/referrals"})}function Sw(){const e=re();return u(Eo,{"data-fxa-action":"open","data-fxa-path":"login",hideTextInMobile:!0,icon:"logIn",id:D.LOGIN_BUTTON,linkRef:t=>{if(!t)return;const{origin:o,pathname:r,search:n,href:i}=t.ownerDocument.location;t.search=`?redirect_url=${encodeURIComponent(t.origin===o?r+n:i)}`},onClick:t=>e({type:"auth.login"},$(t)),text:"Войти",url:"/user/login"})}function Cw({onClick:e}){const t=re();return u(Eo,{"aria-label":"Выйти из аккаунта","data-fxa-path":"logout",hideTextInMobile:!0,icon:"logOut",id:D.LOGOUT_BUTTON_MOBILE,onClick:o=>{t({type:"auth.logout"},$(o)),e()}})}const vu=k.div(["position:relative;"]),Ow=k(vu)(["display:flex;"]),Ew=k(Gg)(["box-sizing:content-box;"]),xm=k.div(["position:absolute;top:-5px;right:2px;"]),Pw=k.span(["position:absolute;top:4px;right:4px;display:inline-flex;pointer-events:none;"]);function Tw(e){const t=Wg;return{...e,...t,colors:{...e.colors,...t.colors},components:e.components}}function yu({children:e}){return u(yg,{theme:Tw(Oo()),children:e})}const Pi="Поддержка";function xu({contacts:e,onOpen:t,phone:o}){const r=re(),[n,i]=ye(null),[s,a]=ye(!1),l=d=>{r({type:"support.open"},$(d)),a(!0),t==null||t(),n===null&&as(()=>import("./modal-DCOotOLc.js"),[]).then(
|
|
705
|
+
`);function Aw(){const e=re();return u(Eo,{"data-fxa-action":"open","data-fxa-path":"referrals",onClick:t=>e({item:{url:"/referrals"},type:"referrals.activate"},$(t)),"aria-label":"Бонусы за друга",icon:"giftBox",id:D.TOP_MENU_REFERRALS,url:"/referrals"})}function Sw(){const e=re();return u(Eo,{"data-fxa-action":"open","data-fxa-path":"login",hideTextInMobile:!0,icon:"logIn",id:D.LOGIN_BUTTON,linkRef:t=>{if(!t)return;const{origin:o,pathname:r,search:n,href:i}=t.ownerDocument.location;t.search=`?redirect_url=${encodeURIComponent(t.origin===o?r+n:i)}`},onClick:t=>e({type:"auth.login"},$(t)),text:"Войти",url:"/user/login"})}function Cw({onClick:e}){const t=re();return u(Eo,{"aria-label":"Выйти из аккаунта","data-fxa-path":"logout",hideTextInMobile:!0,icon:"logOut",id:D.LOGOUT_BUTTON_MOBILE,onClick:o=>{t({type:"auth.logout"},$(o)),e()}})}const vu=k.div(["position:relative;"]),Ow=k(vu)(["display:flex;"]),Ew=k(Gg)(["box-sizing:content-box;"]),xm=k.div(["position:absolute;top:-5px;right:2px;"]),Pw=k.span(["position:absolute;top:4px;right:4px;display:inline-flex;pointer-events:none;"]);function Tw(e){const t=Wg;return{...e,...t,colors:{...e.colors,...t.colors},components:e.components}}function yu({children:e}){return u(yg,{theme:Tw(Oo()),children:e})}const Pi="Поддержка";function xu({contacts:e,onOpen:t,phone:o}){const r=re(),[n,i]=ye(null),[s,a]=ye(!1),l=d=>{r({type:"support.open"},$(d)),a(!0),t==null||t(),n===null&&as(()=>import("./modal-DCOotOLc.js"),[]).then(g=>i(()=>g.SupportModal))},c=n&&u(yu,{children:u(n,{contacts:e,onClose:()=>a(!1),open:s,phone:o})});return{handleClick:l,modal:c}}function Rw(e){const{handleClick:t,modal:o}=xu(e);return u(yu,{children:u(vu,{children:[u(Vt,{"data-fxa-path":"support","aria-haspopup":"dialog","aria-label":Pi,base:!0,icon:"messageCircleQuestion",iconProps:{color:"content-oncolor-inverse"},onClick:t,palette:{backgroundColor:"bg-onmain-main"},preset:"brand",round:!0,size:"s"}),e.showIndicator===!0&&u(xm,{children:u(Ko,{pulse:!0,secondary:!0})}),o]})})}function Mw(e){const{handleClick:t,modal:o}=xu(e);return u(yu,{children:u(Ow,{children:[u(Ew,{"data-fxa-path":"support","aria-haspopup":"dialog","aria-label":Pi,icon:u(ue,{children:[u(_e,{name:"messageCircleQuestion",size:20}),e.showIndicator===!0&&u(xm,{children:u(Ko,{pulse:!0,secondary:!0})})]}),onClick:t,palette:{backgroundColorActive:"transparent",backgroundColorHover:"transparent",color:"mineShaft",colorActive:"accent",colorHover:"accent"},size:"s"}),o]})})}function zw(e){const{handleClick:t,modal:o}=xu(e);return u(vu,{children:[u(Vt,{"data-fxa-path":"support","aria-haspopup":"dialog","aria-label":e.showIndicator===!0?`${Pi}, есть новое`:Pi,icon:"messageCircleLines",onClick:t,outline:!0,palette:{borderColor:"border-onmain-soft-large"},preset:"brand",round:!0,size:"s"}),e.showIndicator===!0&&u(Pw,{"aria-hidden":!0,children:u(Ko,{primary:!1,pulse:!0,secondary:!0})}),o]})}function fn({hasBonusButton:e=!1,isLoggedIn:t,onLogout:o,phone:r,profileButton:n,supportButton:i,variant:s="base"}){var a;return u(xw,{children:[u(kw,{$fill:t&&e,children:t?u(gh,{children:[e&&u(Aw,{}),i&&u(Mw,{...i,phone:(a=i.phone)!=null?a:r}),s!=="elementary"&&u(Cw,{onClick:o})]}):u(Sw,{})}),n&&u(gh,{children:n})]})}const wm=R(["box-sizing:border-box;height:24px;min-width:143px;padding-right:8px;padding-left:8px;border-radius:0px 0px 5px 5px;"," font-size:14px;line-height:24px;font-weight:bold;text-align:center;",""],({theme:e})=>R(["background-color:",";color:",";"],e.colors.orangePeel,e.colors.white),ie()`
|
|
706
706
|
height: 30px;
|
|
707
707
|
min-width: 183px;
|
|
708
708
|
font-size: 16px;
|
|
@@ -716,7 +716,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
716
716
|
min-width: 183px;
|
|
717
717
|
font-size: 16px;
|
|
718
718
|
line-height: 30px;
|
|
719
|
-
`),Xw=R(["display:block;box-sizing:border-box;height:40px;padding-right:15px;padding-left:15px;border:1px solid ",";border-radius:40px;background-color:",";color:",";font-size:14px;line-height:40px;font-weight:bold;text-align:center;text-decoration:none;transition:linear 0.3s;&:hover{background-color:",";color:",";}"],({theme:e})=>e.colors.orangePeel,({theme:e})=>e.colors.white,({theme:e})=>e.colors.mineShaft,({theme:e})=>e.colors.orangePeel,({theme:e})=>e.colors.white),Fw=k(ze)(["",""],jw),Uw=k(ze)(["",""],Xw),Js="/onboarding?chat=1";function Ri({mobile:e=!1,onClick:t}){const o=re(),r=n=>{o({item:{url:Js},type:"onboarding.activate"},$(n)),t==null||t()};return e?u(Fw,{"data-fxa-action":"open","data-fxa-path":"onboarding",href:Js,onClick:r,children:"Подобрать занятия"}):u(Uw,{"data-fxa-action":"open","data-fxa-path":"onboarding",href:Js,onClick:r,children:"Подобрать занятия"})}function Vw({beforeEntry:e,chatSlot:t,entryPanel:o,externatFreeAccessLink:r,isLoggedIn:n,onExternatCallbackClick:i,onExternatFreeAccessClick:s,onOnboardingClick:a,profileMenuBannerSlot:l,showExternatButtons:c,showOnboardingButton:d,supportButton:h,userPanel:f}){return u(gu,{children:[u(C4,{children:[c&&u(ph,{children:u(Ti,{freeAccessLink:r,onCallbackClick:i,onFreeAccessClick:s})}),d&&u(ph,{children:u(Ri,{onClick:a})}),n&&f&&u(ym,{...f,chatSlot:t,profileMenuBannerSlot:l}),u(En,{placement:"desktop",children:e&&u(sm,{children:e})}),u(fn,{...o})]}),n&&h&&u(Rw,{...h})]})}function Gw({onProfileMenuClose:e,onProfileMenuToggle:t,onPupilSelectMenuClose:o,onSelectPupil:r,profileButtonMarker:n=!1,profileMenu:i,profileMenuBannerSlot:s,profileMenuOpen:a,pupils:l=[],pupilSelectMenuOpen:c,tooltipText:d,user:h}){const f=Pn(a,t);return u(bu,{onProfileMenuClose:e,onPupilSelectMenuClose:o,onSelectPupil:r,profileMenu:gm(i,s,"mobile"),profileMenuOpen:a,pupils:l,pupilSelectMenuOpen:c,tooltipText:d,children:u(Eo,{"aria-label":"Профиль",avatar:u(hm,{avatarUrl:h.avatarUrl}),"data-fxa-path":"profile-toggle",expanded:a||c,id:D.TOP_MENU_PROFILE,marker:n,onClick:f})})}function qw({beforeEntry:e,entryPanel:t,externatFreeAccessLink:o,onExternatCallbackClick:r,onExternatFreeAccessClick:n,onOnboardingClick:i,profileMenuBannerSlot:s,showExternatButtons:a,showOnboardingMobileButton:l,userPanel:c}){const d=(c==null?void 0:c.variant)==="elementary";return u(am,{children:[u(O4,{children:[u(En,{placement:"mobile",children:e&&u(sm,{children:e})}),u(fn,{...t,profileButton:d&&c?u(Gw,{...c,profileMenuBannerSlot:s}):void 0,variant:d?"elementary":"base"})]}),l&&u(fh,{children:u(Ri,{mobile:!0,onClick:i})}),a&&u(fh,{children:u(Ti,{freeAccessLink:o,mobile:!0,onCallbackClick:r,onFreeAccessClick:n})})]})}const Rt={MAIN_MENU:"foxNavMainMenu",SECTIONS:"foxNavSections",SECTIONS_BUTTON:"foxNavSectionsButton",SECTIONS_TAB:"foxNavSectionsTab",TAB_BAR:"foxNavTabBar"},Wt={mobile:4,wide:6},mr=1,F={catalog:{bottomPaddingTop:24,bottomSpace:136,buttonGap:8,buttonHeight:48,columnGap:16,columnMinWidth:250,groupGap:24,itemGap:4,itemPaddingX:10,maxHeight:752,paddingDesktop:36,paddingTop:24,sidebarWidth:230,titleGapDesktop:32,titleLineHeight:{base:32,wide:36},titleToItemsGap:8},gap:8,headerHeight:{base:64,wide:80},icon:{base:24,wide:32},oneClickMenu:{paddingBottom:20,pullUp:8},profileWidth:240,radius:{card:16,tile:8},sectionsTab:48,sectionsWidth:{desktop:860,desktopMain:500,tablet:620},tabBarHeight:{base:56,wide:64},tile:{height:64,minWidth:60,paddingX:10}},pn=e=>`calc(${e+1}px + env(safe-area-inset-bottom))`,mt={reservedBottom:"--fox-nav-reserved-bottom",reservedTop:"--fox-nav-reserved-top",transition:"--fox-nav-transition",visibleBottom:"--fox-nav-visible-bottom",visibleTop:"--fox-nav-visible-top"},lc="fox-nav-layout-change",Am={reservedBottom:`var(${mt.reservedBottom}, 0px)`,reservedTop:`var(${mt.reservedTop}, 0px)`,transition:`var(${mt.transition}, ${dn*1e3}ms)`,visibleBottom:`var(${mt.visibleBottom}, 0px)`,visibleTop:`var(${mt.visibleTop}, 0px)`},xT={FOOTER:D.FOOTER,MAIN_MENU:Rt.MAIN_MENU,NAVIGATION:D.NAVIGATION,SEARCH_PANEL_WRAPPER:D.SEARCH_PANEL_WRAPPER,TOP_MENU_ROOM:D.TOP_MENU_ROOM,USER_PANEL_WRAPPER_MOBILE:D.USER_PANEL_WRAPPER_MOBILE};function Yn(e,t){const o=Number.parseFloat(e.getPropertyValue(t));return Number.isFinite(o)?o:0}function wT(){if(typeof document>"u")return{reservedBottom:0,reservedTop:0,visibleBottom:0,visibleTop:0};const e=getComputedStyle(document.documentElement);return{reservedBottom:Yn(e,mt.reservedBottom),reservedTop:Yn(e,mt.reservedTop),visibleBottom:Yn(e,mt.visibleBottom),visibleTop:Yn(e,mt.visibleTop)}}function kT(e){if(typeof document>"u")return()=>{};const t=()=>{e()};return document.addEventListener(lc,t),()=>{document.removeEventListener(lc,t)}}function tn(e){const{style:t}=document.documentElement;for(const[o,r]of Object.entries(e))r===null?t.removeProperty(mt[o]):t.setProperty(mt[o],`${r}px`);document.dispatchEvent(new Event(lc))}const Jw="data:image/svg+xml,%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%20137%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23a)'%20fill='%23000'%3e%3cpath%20d='M17.032%2027.535c0-2.995-1.78-5.155-6.248-5.667%200-.607%200-1.194.02-1.744H6.334c0%20.569.02%201.156.02%201.744-4.412.53-6.192%202.672-6.192%205.667%200%203.033%201.818%205.156%206.191%205.667%200%20.588-.019%201.157-.019%201.706h4.468c-.019-.53-.019-1.1-.038-1.687%204.468-.511%206.267-2.634%206.267-5.686Zm-6.267%201.915c0-.72%200-1.422.02-2.123%200-.55.018-1.119.018-1.668%201.23.303%201.742.947%201.742%201.876%200%20.967-.53%201.611-1.78%201.915ZM4.65%2027.535c0-.929.511-1.573%201.742-1.876v3.771c-1.23-.303-1.742-.947-1.742-1.895ZM59.253%2035.098c2.82%200%206.588-.72%207.99-4.113-1.401-.607-2.803-1.251-3.976-1.877-.587%201.498-1.742%202.18-3.863%202.18-2.65%200-3.786-1.422-3.88-3.203-.096-1.763.889-3.545%203.596-3.545%201.42%200%203.351.531%204.147%202.085%201.192-.606%202.48-1.232%203.994-1.762-1.495-3.033-4.506-4.113-8.008-4.113-5.964%200-8.33%203.051-8.33%207.335%200%204.34%202.442%207.013%208.33%207.013ZM84.731%2027.535c0-2.995-1.78-5.155-6.247-5.667%200-.607%200-1.194.019-1.744h-4.469c0%20.569.02%201.156.02%201.744-4.412.53-6.192%202.672-6.192%205.667%200%203.033%201.818%205.156%206.192%205.667%200%20.588-.02%201.157-.02%201.706h4.469c-.02-.53-.02-1.1-.038-1.687%204.468-.511%206.266-2.634%206.266-5.686Zm-6.266%201.915c0-.72%200-1.422.019-2.123%200-.55.019-1.119.019-1.668%201.23.303%201.742.947%201.742%201.876%200%20.967-.53%201.611-1.78%201.915Zm-6.115-1.915c0-.929.51-1.573%201.741-1.876v3.771c-1.23-.303-1.741-.947-1.741-1.895ZM94.234%2035.098c6.078%200%208.444-2.824%208.444-7.184%200-4.284-2.366-7.165-8.444-7.165-6.058%200-8.425%202.882-8.425%207.165%200%204.34%202.443%207.184%208.425%207.184Zm0-3.867c-2.82%200-3.938-1.118-3.938-3.317%200-2.16%201.099-3.298%203.938-3.298%202.86%200%203.957%201.137%203.957%203.298%200%202.218-1.098%203.317-3.957%203.317ZM108.577%2021.166v-.018h-4.658c.19%204.587.19%209.173%200%2013.76h4.658v-3.336h3.938c5.377%200%206.721-2.198%206.721-5.307%200-2.919-1.344-5.099-6.721-5.099h-3.938Zm0%206.748V24.92h2.613c3.124%200%203.767.266%203.767%201.479%200%201.232-.719%201.516-3.767%201.516h-2.613ZM135.219%2021.166l-13.324-.018c0%203.146.076%206.88-.151%208.093-.284%201.535-.834%202.085-1.894%202.293h-.946v6.559h4.487v-2.806h8.879v2.749h4.485v-6.502h-1.536V21.167Zm-9.064%209.553c.397-2.104.322-3.961.36-5.856h3.914v6.671h-4.482c.094-.265.151-.53.208-.815Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.207%2033.195c1.363%201.251%203.49%201.877%206.38%201.877%202.928%200%205.068-.626%206.418-1.877%201.351-1.25%202.026-3.02%202.026-5.307%200-2.25-.681-4.006-2.044-5.27-1.351-1.263-3.484-1.895-6.4-1.895-2.903%200-5.036.632-6.399%201.896-1.35%201.263-2.026%203.02-2.026%205.269%200%202.274.682%204.043%202.045%205.307Zm9.41-2.786c-.619.53-1.629.796-3.03.796-1.388%200-2.392-.272-3.01-.815-.619-.544-.928-1.378-.928-2.502%200-1.112.31-1.94.928-2.483.618-.543%201.622-.815%203.01-.815%201.401%200%202.411.272%203.03.815.618.543.927%201.37.927%202.483%200%201.137-.309%201.977-.928%202.52Zm11.533%204.473v-5.517h.994c1.49%201.908%202.431%203.357%203.736%205.552h5.81c-2.04-2.78-3.285-4.416-5.628-6.94v-.684l5.382-6.172h-5.708l-.279.4h-.001v.002c-.897%201.284-1.959%202.805-3.738%204.564-.253%200-.442-.006-.568-.019v-4.947h-4.715c.101%202.452.152%204.745.152%206.88%200%202.136-.05%204.43-.152%206.881h4.715Z'/%3e%3c/g%3e%3cg%20clip-path='url(%23b)'%3e%3cpath%20d='m79.427%203.594%2012.37%205.73L90.304%202l22.622%2016.228H82.618l-3.19-14.634Z'%20fill='%23F90'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M105.03%2018.228c.003-.431-.022-.876-.077-1.33-.409-3.35-2.321-5.872-4.27-5.635-1.95.238-3.199%203.146-2.79%206.495.024.159.051.316.081.47h7.056Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M101.205%2018.228c.017-.277.009-.57-.028-.87-.19-1.563-1.08-2.74-1.986-2.63-.907.11-1.487%201.467-1.296%203.03.016.162.04.32.07.47h3.24Z'%20fill='%23000'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M97.629%2018.228a10.715%2010.715%200%200%200-.047-.47c-.409-3.35-2.32-5.872-4.27-5.635-1.852.226-3.144%202.961-2.919%206.105h7.236Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M93.742%2018.228a4.852%204.852%200%200%200-.035-.67c-.19-1.563-1.08-2.741-1.987-2.63-.874.106-1.507%201.78-1.38%203.3h3.402Z'%20fill='%23000'/%3e%3cpath%20d='m116.483%2011.69-16.696%206.538h13.453l3.243-6.537Z'%20fill='%23F90'/%3e%3cpath%20d='m116.482%2011.69-4.161%201.631%202.554%201.622%201.607-3.252Z'%20fill='%23000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20transform='translate(0%2017.838)'%20d='M0%200h137v20.247H0z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20transform='translate(79.427%202)'%20d='M0%200h37.023v16.165H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ww="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='14'%20fill='none'%3e%3cpath%20fill='%23000'%20d='M12.432%205.651c0-2.246-1.299-3.866-4.56-4.25%200-.455%200-.896.014-1.308H4.624c0%20.427.014.867.014%201.308C1.418%201.799.119%203.405.119%205.65c0%202.275%201.327%203.867%204.519%204.25%200%20.441-.014.868-.014%201.28h3.262c-.014-.398-.014-.824-.028-1.265%203.261-.384%204.574-1.976%204.574-4.265ZM7.858%207.087c0-.54%200-1.066.014-1.592%200-.412.014-.839.014-1.251.898.227%201.271.71%201.271%201.407%200%20.725-.387%201.209-1.3%201.436ZM3.394%205.651c0-.696.373-1.18%201.272-1.407V7.073c-.899-.228-1.272-.71-1.272-1.422ZM43.25%2011.323c2.06%200%204.81-.54%205.832-3.084-1.023-.455-2.045-.939-2.902-1.408-.428%201.123-1.271%201.635-2.82%201.635-1.934%200-2.763-1.066-2.832-2.402-.07-1.322.65-2.659%202.626-2.659%201.036%200%202.446.398%203.026%201.564.87-.455%201.81-.924%202.916-1.322C48.004%201.372%2045.806.562%2043.25.562c-4.353%200-6.08%202.289-6.08%205.502%200%203.255%201.782%205.26%206.08%205.26ZM61.848%205.651c0-2.246-1.3-3.866-4.56-4.25%200-.455%200-.896.013-1.308H54.04c0%20.427.014.867.014%201.308-3.22.398-4.52%202.004-4.52%204.25%200%202.275%201.327%203.867%204.52%204.25%200%20.441-.014.868-.014%201.28H57.3c-.014-.398-.014-.824-.028-1.265%203.262-.384%204.575-1.976%204.575-4.265Zm-4.575%201.436c0-.54%200-1.066.014-1.592%200-.412.014-.839.014-1.251.898.227%201.272.71%201.272%201.407%200%20.725-.387%201.209-1.3%201.436ZM52.81%205.651c0-.696.373-1.18%201.271-1.407V7.073c-.898-.228-1.271-.71-1.271-1.422ZM68.784%2011.323c4.436%200%206.164-2.118%206.164-5.387%200-3.213-1.728-5.374-6.164-5.374-4.422%200-6.15%202.16-6.15%205.374%200%203.255%201.783%205.387%206.15%205.387Zm0-2.9c-2.059%200-2.874-.838-2.874-2.487%200-1.62.801-2.474%202.874-2.474%202.087%200%202.888.853%202.888%202.474%200%201.663-.801%202.487-2.888%202.487ZM79.253.875V.86h-3.4c.139%203.44.139%206.88%200%2010.32h3.4V8.68h2.875c3.924%200%204.906-1.649%204.906-3.98%200-2.19-.982-3.824-4.906-3.824h-2.875Zm0%205.06V3.69h1.907c2.28%200%202.75.199%202.75%201.108%200%20.924-.525%201.138-2.75%201.138h-1.907ZM98.7.875%2088.974.86c0%202.36.056%205.16-.11%206.07-.207%201.151-.608%201.563-1.382%201.72h-.691v4.918h3.275v-2.104h6.482v2.062h3.273V8.65h-1.12V.875ZM92.084%208.04c.29-1.578.235-2.971.262-4.393h2.858V8.65h-3.272c.069-.2.11-.398.152-.611Z'/%3e%3cpath%20fill='%23000'%20fill-rule='evenodd'%20d='M14.75%209.896c.995.939%202.547%201.408%204.657%201.408%202.137%200%203.699-.47%204.684-1.408.986-.938%201.48-2.265%201.48-3.98%200-1.687-.498-3.004-1.493-3.952-.986-.948-2.543-1.422-4.671-1.422-2.12%200-3.676.474-4.671%201.422-.986.948-1.479%202.265-1.479%203.952%200%201.706.498%203.033%201.492%203.98Zm6.868-2.09c-.452.399-1.189.598-2.211.598-1.014%200-1.746-.204-2.198-.612-.451-.407-.677-1.033-.677-1.876%200-.834.226-1.455.677-1.862.452-.408%201.184-.612%202.198-.612%201.022%200%201.76.204%202.21.612.452.407.678%201.028.678%201.862%200%20.853-.226%201.483-.677%201.89Zm8.418%203.356V7.024h.726c1.087%201.431%201.775%202.518%202.727%204.164h4.24c-1.488-2.085-2.397-3.312-4.107-5.205V5.47L37.551.84h-4.167l-.204.3c-.655.964-1.43%202.105-2.73%203.424-.183%200-.322-.004-.414-.014V.841h-3.44c.073%201.839.11%203.559.11%205.16%200%201.602-.037%203.322-.11%205.16h3.44Z'%20clip-rule='evenodd'/%3e%3c/svg%3e",Yw=k(ze)(["display:inline-flex;"," ",""],q()`
|
|
719
|
+
`),Xw=R(["display:block;box-sizing:border-box;height:40px;padding-right:15px;padding-left:15px;border:1px solid ",";border-radius:40px;background-color:",";color:",";font-size:14px;line-height:40px;font-weight:bold;text-align:center;text-decoration:none;transition:linear 0.3s;&:hover{background-color:",";color:",";}"],({theme:e})=>e.colors.orangePeel,({theme:e})=>e.colors.white,({theme:e})=>e.colors.mineShaft,({theme:e})=>e.colors.orangePeel,({theme:e})=>e.colors.white),Fw=k(ze)(["",""],jw),Uw=k(ze)(["",""],Xw),Js="/onboarding?chat=1";function Ri({mobile:e=!1,onClick:t}){const o=re(),r=n=>{o({item:{url:Js},type:"onboarding.activate"},$(n)),t==null||t()};return e?u(Fw,{"data-fxa-action":"open","data-fxa-path":"onboarding",href:Js,onClick:r,children:"Подобрать занятия"}):u(Uw,{"data-fxa-action":"open","data-fxa-path":"onboarding",href:Js,onClick:r,children:"Подобрать занятия"})}function Vw({beforeEntry:e,chatSlot:t,entryPanel:o,externatFreeAccessLink:r,isLoggedIn:n,onExternatCallbackClick:i,onExternatFreeAccessClick:s,onOnboardingClick:a,profileMenuBannerSlot:l,showExternatButtons:c,showOnboardingButton:d,supportButton:g,userPanel:f}){return u(gu,{children:[u(C4,{children:[c&&u(ph,{children:u(Ti,{freeAccessLink:r,onCallbackClick:i,onFreeAccessClick:s})}),d&&u(ph,{children:u(Ri,{onClick:a})}),n&&f&&u(ym,{...f,chatSlot:t,profileMenuBannerSlot:l}),u(En,{placement:"desktop",children:e&&u(sm,{children:e})}),u(fn,{...o})]}),n&&g&&u(Rw,{...g})]})}function Gw({onProfileMenuClose:e,onProfileMenuToggle:t,onPupilSelectMenuClose:o,onSelectPupil:r,profileButtonMarker:n=!1,profileMenu:i,profileMenuBannerSlot:s,profileMenuOpen:a,pupils:l=[],pupilSelectMenuOpen:c,tooltipText:d,user:g}){const f=Pn(a,t);return u(bu,{onProfileMenuClose:e,onPupilSelectMenuClose:o,onSelectPupil:r,profileMenu:gm(i,s,"mobile"),profileMenuOpen:a,pupils:l,pupilSelectMenuOpen:c,tooltipText:d,children:u(Eo,{"aria-label":"Профиль",avatar:u(hm,{avatarUrl:g.avatarUrl}),"data-fxa-path":"profile-toggle",expanded:a||c,id:D.TOP_MENU_PROFILE,marker:n,onClick:f})})}function qw({beforeEntry:e,entryPanel:t,externatFreeAccessLink:o,onExternatCallbackClick:r,onExternatFreeAccessClick:n,onOnboardingClick:i,profileMenuBannerSlot:s,showExternatButtons:a,showOnboardingMobileButton:l,userPanel:c}){const d=(c==null?void 0:c.variant)==="elementary";return u(am,{children:[u(O4,{children:[u(En,{placement:"mobile",children:e&&u(sm,{children:e})}),u(fn,{...t,profileButton:d&&c?u(Gw,{...c,profileMenuBannerSlot:s}):void 0,variant:d?"elementary":"base"})]}),l&&u(fh,{children:u(Ri,{mobile:!0,onClick:i})}),a&&u(fh,{children:u(Ti,{freeAccessLink:o,mobile:!0,onCallbackClick:r,onFreeAccessClick:n})})]})}const Rt={MAIN_MENU:"foxNavMainMenu",SECTIONS:"foxNavSections",SECTIONS_BUTTON:"foxNavSectionsButton",SECTIONS_TAB:"foxNavSectionsTab",TAB_BAR:"foxNavTabBar"},Wt={mobile:4,wide:6},mr=1,F={catalog:{bottomPaddingTop:24,bottomSpace:136,buttonGap:8,buttonHeight:48,columnGap:16,columnMinWidth:250,groupGap:24,itemGap:4,itemPaddingX:10,maxHeight:752,paddingDesktop:36,paddingTop:24,sidebarWidth:230,titleGapDesktop:32,titleLineHeight:{base:32,wide:36},titleToItemsGap:8},gap:8,headerHeight:{base:64,wide:80},icon:{base:24,wide:32},oneClickMenu:{paddingBottom:20,pullUp:8},profileWidth:240,radius:{card:16,tile:8},sectionsTab:48,sectionsWidth:{desktop:860,desktopMain:500,tablet:620},tabBarHeight:{base:56,wide:64},tile:{height:64,minWidth:60,paddingX:10}},pn=e=>`calc(${e+1}px + env(safe-area-inset-bottom))`,mt={reservedBottom:"--fox-nav-reserved-bottom",reservedTop:"--fox-nav-reserved-top",transition:"--fox-nav-transition",visibleBottom:"--fox-nav-visible-bottom",visibleTop:"--fox-nav-visible-top"},lc="fox-nav-layout-change",Am={reservedBottom:`var(${mt.reservedBottom}, 0px)`,reservedTop:`var(${mt.reservedTop}, 0px)`,transition:`var(${mt.transition}, ${dn*1e3}ms)`,visibleBottom:`var(${mt.visibleBottom}, 0px)`,visibleTop:`var(${mt.visibleTop}, 0px)`},xT={FOOTER:D.FOOTER,MAIN_MENU:Rt.MAIN_MENU,NAVIGATION:D.NAVIGATION,SEARCH_PANEL_WRAPPER:D.SEARCH_PANEL_WRAPPER,TOP_MENU_ROOM:D.TOP_MENU_ROOM,USER_PANEL_WRAPPER_MOBILE:D.USER_PANEL_WRAPPER_MOBILE};function Yn(e,t){const o=Number.parseFloat(e.getPropertyValue(t));return Number.isFinite(o)?o:0}function wT(){if(typeof document>"u")return{reservedBottom:0,reservedTop:0,visibleBottom:0,visibleTop:0};const e=getComputedStyle(document.documentElement);return{reservedBottom:Yn(e,mt.reservedBottom),reservedTop:Yn(e,mt.reservedTop),visibleBottom:Yn(e,mt.visibleBottom),visibleTop:Yn(e,mt.visibleTop)}}function kT(e){if(typeof document>"u")return()=>{};const t=()=>{e()};return document.addEventListener(lc,t),()=>{document.removeEventListener(lc,t)}}function tn(e){const{style:t}=document.documentElement;for(const[o,r]of Object.entries(e))r===null?t.removeProperty(mt[o]):t.setProperty(mt[o],`${r}px`);document.dispatchEvent(new Event(lc))}const Jw="data:image/svg+xml,%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%20137%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23a)'%20fill='%23000'%3e%3cpath%20d='M17.032%2027.535c0-2.995-1.78-5.155-6.248-5.667%200-.607%200-1.194.02-1.744H6.334c0%20.569.02%201.156.02%201.744-4.412.53-6.192%202.672-6.192%205.667%200%203.033%201.818%205.156%206.191%205.667%200%20.588-.019%201.157-.019%201.706h4.468c-.019-.53-.019-1.1-.038-1.687%204.468-.511%206.267-2.634%206.267-5.686Zm-6.267%201.915c0-.72%200-1.422.02-2.123%200-.55.018-1.119.018-1.668%201.23.303%201.742.947%201.742%201.876%200%20.967-.53%201.611-1.78%201.915ZM4.65%2027.535c0-.929.511-1.573%201.742-1.876v3.771c-1.23-.303-1.742-.947-1.742-1.895ZM59.253%2035.098c2.82%200%206.588-.72%207.99-4.113-1.401-.607-2.803-1.251-3.976-1.877-.587%201.498-1.742%202.18-3.863%202.18-2.65%200-3.786-1.422-3.88-3.203-.096-1.763.889-3.545%203.596-3.545%201.42%200%203.351.531%204.147%202.085%201.192-.606%202.48-1.232%203.994-1.762-1.495-3.033-4.506-4.113-8.008-4.113-5.964%200-8.33%203.051-8.33%207.335%200%204.34%202.442%207.013%208.33%207.013ZM84.731%2027.535c0-2.995-1.78-5.155-6.247-5.667%200-.607%200-1.194.019-1.744h-4.469c0%20.569.02%201.156.02%201.744-4.412.53-6.192%202.672-6.192%205.667%200%203.033%201.818%205.156%206.192%205.667%200%20.588-.02%201.157-.02%201.706h4.469c-.02-.53-.02-1.1-.038-1.687%204.468-.511%206.266-2.634%206.266-5.686Zm-6.266%201.915c0-.72%200-1.422.019-2.123%200-.55.019-1.119.019-1.668%201.23.303%201.742.947%201.742%201.876%200%20.967-.53%201.611-1.78%201.915Zm-6.115-1.915c0-.929.51-1.573%201.741-1.876v3.771c-1.23-.303-1.741-.947-1.741-1.895ZM94.234%2035.098c6.078%200%208.444-2.824%208.444-7.184%200-4.284-2.366-7.165-8.444-7.165-6.058%200-8.425%202.882-8.425%207.165%200%204.34%202.443%207.184%208.425%207.184Zm0-3.867c-2.82%200-3.938-1.118-3.938-3.317%200-2.16%201.099-3.298%203.938-3.298%202.86%200%203.957%201.137%203.957%203.298%200%202.218-1.098%203.317-3.957%203.317ZM108.577%2021.166v-.018h-4.658c.19%204.587.19%209.173%200%2013.76h4.658v-3.336h3.938c5.377%200%206.721-2.198%206.721-5.307%200-2.919-1.344-5.099-6.721-5.099h-3.938Zm0%206.748V24.92h2.613c3.124%200%203.767.266%203.767%201.479%200%201.232-.719%201.516-3.767%201.516h-2.613ZM135.219%2021.166l-13.324-.018c0%203.146.076%206.88-.151%208.093-.284%201.535-.834%202.085-1.894%202.293h-.946v6.559h4.487v-2.806h8.879v2.749h4.485v-6.502h-1.536V21.167Zm-9.064%209.553c.397-2.104.322-3.961.36-5.856h3.914v6.671h-4.482c.094-.265.151-.53.208-.815Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.207%2033.195c1.363%201.251%203.49%201.877%206.38%201.877%202.928%200%205.068-.626%206.418-1.877%201.351-1.25%202.026-3.02%202.026-5.307%200-2.25-.681-4.006-2.044-5.27-1.351-1.263-3.484-1.895-6.4-1.895-2.903%200-5.036.632-6.399%201.896-1.35%201.263-2.026%203.02-2.026%205.269%200%202.274.682%204.043%202.045%205.307Zm9.41-2.786c-.619.53-1.629.796-3.03.796-1.388%200-2.392-.272-3.01-.815-.619-.544-.928-1.378-.928-2.502%200-1.112.31-1.94.928-2.483.618-.543%201.622-.815%203.01-.815%201.401%200%202.411.272%203.03.815.618.543.927%201.37.927%202.483%200%201.137-.309%201.977-.928%202.52Zm11.533%204.473v-5.517h.994c1.49%201.908%202.431%203.357%203.736%205.552h5.81c-2.04-2.78-3.285-4.416-5.628-6.94v-.684l5.382-6.172h-5.708l-.279.4h-.001v.002c-.897%201.284-1.959%202.805-3.738%204.564-.253%200-.442-.006-.568-.019v-4.947h-4.715c.101%202.452.152%204.745.152%206.88%200%202.136-.05%204.43-.152%206.881h4.715Z'/%3e%3c/g%3e%3cg%20clip-path='url(%23b)'%3e%3cpath%20d='m79.427%203.594%2012.37%205.73L90.304%202l22.622%2016.228H82.618l-3.19-14.634Z'%20fill='%23F90'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M105.03%2018.228c.003-.431-.022-.876-.077-1.33-.409-3.35-2.321-5.872-4.27-5.635-1.95.238-3.199%203.146-2.79%206.495.024.159.051.316.081.47h7.056Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M101.205%2018.228c.017-.277.009-.57-.028-.87-.19-1.563-1.08-2.74-1.986-2.63-.907.11-1.487%201.467-1.296%203.03.016.162.04.32.07.47h3.24Z'%20fill='%23000'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M97.629%2018.228a10.715%2010.715%200%200%200-.047-.47c-.409-3.35-2.32-5.872-4.27-5.635-1.852.226-3.144%202.961-2.919%206.105h7.236Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M93.742%2018.228a4.852%204.852%200%200%200-.035-.67c-.19-1.563-1.08-2.741-1.987-2.63-.874.106-1.507%201.78-1.38%203.3h3.402Z'%20fill='%23000'/%3e%3cpath%20d='m116.483%2011.69-16.696%206.538h13.453l3.243-6.537Z'%20fill='%23F90'/%3e%3cpath%20d='m116.482%2011.69-4.161%201.631%202.554%201.622%201.607-3.252Z'%20fill='%23000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20transform='translate(0%2017.838)'%20d='M0%200h137v20.247H0z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20transform='translate(79.427%202)'%20d='M0%200h37.023v16.165H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ww="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='14'%20fill='none'%3e%3cpath%20fill='%23000'%20d='M12.432%205.651c0-2.246-1.299-3.866-4.56-4.25%200-.455%200-.896.014-1.308H4.624c0%20.427.014.867.014%201.308C1.418%201.799.119%203.405.119%205.65c0%202.275%201.327%203.867%204.519%204.25%200%20.441-.014.868-.014%201.28h3.262c-.014-.398-.014-.824-.028-1.265%203.261-.384%204.574-1.976%204.574-4.265ZM7.858%207.087c0-.54%200-1.066.014-1.592%200-.412.014-.839.014-1.251.898.227%201.271.71%201.271%201.407%200%20.725-.387%201.209-1.3%201.436ZM3.394%205.651c0-.696.373-1.18%201.272-1.407V7.073c-.899-.228-1.272-.71-1.272-1.422ZM43.25%2011.323c2.06%200%204.81-.54%205.832-3.084-1.023-.455-2.045-.939-2.902-1.408-.428%201.123-1.271%201.635-2.82%201.635-1.934%200-2.763-1.066-2.832-2.402-.07-1.322.65-2.659%202.626-2.659%201.036%200%202.446.398%203.026%201.564.87-.455%201.81-.924%202.916-1.322C48.004%201.372%2045.806.562%2043.25.562c-4.353%200-6.08%202.289-6.08%205.502%200%203.255%201.782%205.26%206.08%205.26ZM61.848%205.651c0-2.246-1.3-3.866-4.56-4.25%200-.455%200-.896.013-1.308H54.04c0%20.427.014.867.014%201.308-3.22.398-4.52%202.004-4.52%204.25%200%202.275%201.327%203.867%204.52%204.25%200%20.441-.014.868-.014%201.28H57.3c-.014-.398-.014-.824-.028-1.265%203.262-.384%204.575-1.976%204.575-4.265Zm-4.575%201.436c0-.54%200-1.066.014-1.592%200-.412.014-.839.014-1.251.898.227%201.272.71%201.272%201.407%200%20.725-.387%201.209-1.3%201.436ZM52.81%205.651c0-.696.373-1.18%201.271-1.407V7.073c-.898-.228-1.271-.71-1.271-1.422ZM68.784%2011.323c4.436%200%206.164-2.118%206.164-5.387%200-3.213-1.728-5.374-6.164-5.374-4.422%200-6.15%202.16-6.15%205.374%200%203.255%201.783%205.387%206.15%205.387Zm0-2.9c-2.059%200-2.874-.838-2.874-2.487%200-1.62.801-2.474%202.874-2.474%202.087%200%202.888.853%202.888%202.474%200%201.663-.801%202.487-2.888%202.487ZM79.253.875V.86h-3.4c.139%203.44.139%206.88%200%2010.32h3.4V8.68h2.875c3.924%200%204.906-1.649%204.906-3.98%200-2.19-.982-3.824-4.906-3.824h-2.875Zm0%205.06V3.69h1.907c2.28%200%202.75.199%202.75%201.108%200%20.924-.525%201.138-2.75%201.138h-1.907ZM98.7.875%2088.974.86c0%202.36.056%205.16-.11%206.07-.207%201.151-.608%201.563-1.382%201.72h-.691v4.918h3.275v-2.104h6.482v2.062h3.273V8.65h-1.12V.875ZM92.084%208.04c.29-1.578.235-2.971.262-4.393h2.858V8.65h-3.272c.069-.2.11-.398.152-.611Z'/%3e%3cpath%20fill='%23000'%20fill-rule='evenodd'%20d='M14.75%209.896c.995.939%202.547%201.408%204.657%201.408%202.137%200%203.699-.47%204.684-1.408.986-.938%201.48-2.265%201.48-3.98%200-1.687-.498-3.004-1.493-3.952-.986-.948-2.543-1.422-4.671-1.422-2.12%200-3.676.474-4.671%201.422-.986.948-1.479%202.265-1.479%203.952%200%201.706.498%203.033%201.492%203.98Zm6.868-2.09c-.452.399-1.189.598-2.211.598-1.014%200-1.746-.204-2.198-.612-.451-.407-.677-1.033-.677-1.876%200-.834.226-1.455.677-1.862.452-.408%201.184-.612%202.198-.612%201.022%200%201.76.204%202.21.612.452.407.678%201.028.678%201.862%200%20.853-.226%201.483-.677%201.89Zm8.418%203.356V7.024h.726c1.087%201.431%201.775%202.518%202.727%204.164h4.24c-1.488-2.085-2.397-3.312-4.107-5.205V5.47L37.551.84h-4.167l-.204.3c-.655.964-1.43%202.105-2.73%203.424-.183%200-.322-.004-.414-.014V.841h-3.44c.073%201.839.11%203.559.11%205.16%200%201.602-.037%203.322-.11%205.16h3.44Z'%20clip-rule='evenodd'/%3e%3c/svg%3e",Yw=k(ze)(["display:inline-flex;"," ",""],q()`
|
|
720
720
|
margin-right: 16px;
|
|
721
721
|
`,qe()`
|
|
722
722
|
margin-right: 24px;
|
|
@@ -856,13 +856,13 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
856
856
|
margin-top: 28px;
|
|
857
857
|
`),Y8=k.img.attrs({src:J8})(["position:absolute;bottom:0;left:12px;width:62px;height:62px;",""],ie()`
|
|
858
858
|
left: 0;
|
|
859
|
-
`),Q8=k(_e)(["position:absolute;bottom:11px;right:12px;"]),vh="/promos?block=campaigns";function Z8(){const e=re();return u(W8,{"data-fxa-action":"open","data-fxa-path":"promo",href:vh,onClick:t=>{e({item:{url:vh},type:"catalog.promo.activate"},$(t))},children:[u(Y8,{alt:"Скидки"}),u(xe,{appearance:"body",color:"content-onmain-inverse",size:"xs",weight:"bold",children:["За"," ","скидками"," ","— сюда"]}),u(Q8,{color:"content-onmain-inverse",name:"chevronUp",preset:"brand",rotate:"90deg",size:"s"})]})}function cc({isOnboardingButtonShown:e,isPromoButtonShown:t,onOnboardingClick:o}){return e?u(V8,{onClick:o}):t?u(Z8,{}):null}function K8(){return"_"+Math.random().toString(36).substr(2,9)}const $8=function(e){let t={x:0,y:0};return e.pageX||e.pageY?t={x:e.pageX,y:e.pageY}:(e.clientX||e.clientY)&&(t={x:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,y:e.clientY+document.body.scrollTop+document.documentElement.scrollTop}),t},ek=function(e){const t=e.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{topLeft:{x:t.left+o,y:t.top+r},topRight:{x:t.left+o+t.width,y:t.top+r},bottomLeft:{x:t.left+o,y:t.top+r+t.height},bottomRight:{x:t.left+o+t.width,y:t.top+r+t.height}}},tk=function(e,t,o="right"){if(o==="right"){const r=e.bottomRight.y-e.topRight.y;return{A:{x:t.x,y:t.y},B:{x:e.topRight.x,y:Math.min(0,e.topRight.y-r)},C:{x:e.bottomRight.x,y:Math.max(window.innerHeight+r,e.bottomRight.y+r)}}}else if(o==="down")return{A:t,B:e.topRight,C:e.bottomRight}},ok=function(e,t){const{A:o,B:r,C:n}=e;return Ys(Qs(o,r),n,t)&&Ys(Qs(o,n),r,t)&&Ys(Qs(r,n),o,t)},Ys=function(e,t,o){return yh(e,t)===yh(e,o)},yh=function(e,t){const o=xh(e.v1,e.v2),r=xh(e.v1,t);return o.x*r.y-o.y*r.x>=0?1:-1},Qs=function(e,t){return{v1:{...e},v2:{...t}}},xh=function(e,t){return{x:t.x-e.x,y:t.y-e.y}};function wh(e,t){e&&(typeof e=="function"?e(t):e&&(e.current=t))}function rk(e,t){return Ut(()=>e==null&&t==null?null:o=>{wh(e,o),wh(t,o)},[e,t])}const it={pendingExpand:{item:null,timeoutId:null},mouseHistory:[]};function Zs(){it.pendingExpand&&it.pendingExpand.timeoutId&&clearTimeout(it.pendingExpand.timeoutId),it.pendingExpand=null}function nk(e){if(it.mouseHistory.length<2)return!1;const t=it.mouseHistory[it.mouseHistory.length-1],o=it.mouseHistory[0],r=ek(e),n=tk(r,o);return ok(n,t)}const ik={},sk=450,ak=3,Hm=Rr(ik),lk=vt(function({hoverDelay:t=sk,...o},r){const n=Ke(null),i=rk(r,n),[s,a]=ye(null);function l(){!it.pendingExpand||s===it.pendingExpand.item||(a(it.pendingExpand.item),it.mouseHistory=[],Zs())}function c(b){if(Zs(),it.pendingExpand={item:b},!s||!nk(n.current))return l();it.pendingExpand.timeoutId=setTimeout(()=>l(),t)}function d(){it.pendingExpand={item:null,timeoutId:setTimeout(()=>l(),t+100)}}function
|
|
859
|
+
`),Q8=k(_e)(["position:absolute;bottom:11px;right:12px;"]),vh="/promos?block=campaigns";function Z8(){const e=re();return u(W8,{"data-fxa-action":"open","data-fxa-path":"promo",href:vh,onClick:t=>{e({item:{url:vh},type:"catalog.promo.activate"},$(t))},children:[u(Y8,{alt:"Скидки"}),u(xe,{appearance:"body",color:"content-onmain-inverse",size:"xs",weight:"bold",children:["За"," ","скидками"," ","— сюда"]}),u(Q8,{color:"content-onmain-inverse",name:"chevronUp",preset:"brand",rotate:"90deg",size:"s"})]})}function cc({isOnboardingButtonShown:e,isPromoButtonShown:t,onOnboardingClick:o}){return e?u(V8,{onClick:o}):t?u(Z8,{}):null}function K8(){return"_"+Math.random().toString(36).substr(2,9)}const $8=function(e){let t={x:0,y:0};return e.pageX||e.pageY?t={x:e.pageX,y:e.pageY}:(e.clientX||e.clientY)&&(t={x:e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,y:e.clientY+document.body.scrollTop+document.documentElement.scrollTop}),t},ek=function(e){const t=e.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{topLeft:{x:t.left+o,y:t.top+r},topRight:{x:t.left+o+t.width,y:t.top+r},bottomLeft:{x:t.left+o,y:t.top+r+t.height},bottomRight:{x:t.left+o+t.width,y:t.top+r+t.height}}},tk=function(e,t,o="right"){if(o==="right"){const r=e.bottomRight.y-e.topRight.y;return{A:{x:t.x,y:t.y},B:{x:e.topRight.x,y:Math.min(0,e.topRight.y-r)},C:{x:e.bottomRight.x,y:Math.max(window.innerHeight+r,e.bottomRight.y+r)}}}else if(o==="down")return{A:t,B:e.topRight,C:e.bottomRight}},ok=function(e,t){const{A:o,B:r,C:n}=e;return Ys(Qs(o,r),n,t)&&Ys(Qs(o,n),r,t)&&Ys(Qs(r,n),o,t)},Ys=function(e,t,o){return yh(e,t)===yh(e,o)},yh=function(e,t){const o=xh(e.v1,e.v2),r=xh(e.v1,t);return o.x*r.y-o.y*r.x>=0?1:-1},Qs=function(e,t){return{v1:{...e},v2:{...t}}},xh=function(e,t){return{x:t.x-e.x,y:t.y-e.y}};function wh(e,t){e&&(typeof e=="function"?e(t):e&&(e.current=t))}function rk(e,t){return Ut(()=>e==null&&t==null?null:o=>{wh(e,o),wh(t,o)},[e,t])}const it={pendingExpand:{item:null,timeoutId:null},mouseHistory:[]};function Zs(){it.pendingExpand&&it.pendingExpand.timeoutId&&clearTimeout(it.pendingExpand.timeoutId),it.pendingExpand=null}function nk(e){if(it.mouseHistory.length<2)return!1;const t=it.mouseHistory[it.mouseHistory.length-1],o=it.mouseHistory[0],r=ek(e),n=tk(r,o);return ok(n,t)}const ik={},sk=450,ak=3,Hm=Rr(ik),lk=vt(function({hoverDelay:t=sk,...o},r){const n=Ke(null),i=rk(r,n),[s,a]=ye(null);function l(){!it.pendingExpand||s===it.pendingExpand.item||(a(it.pendingExpand.item),it.mouseHistory=[],Zs())}function c(b){if(Zs(),it.pendingExpand={item:b},!s||!nk(n.current))return l();it.pendingExpand.timeoutId=setTimeout(()=>l(),t)}function d(){it.pendingExpand={item:null,timeoutId:setTimeout(()=>l(),t+100)}}function g(b){o.onMouseMove&&o.onMouseMove(b),it.mouseHistory.push($8(b.nativeEvent)),it.mouseHistory.length>ak&&it.mouseHistory.shift()}function f(b){o.onMouseLeave&&o.onMouseLeave(b),Zs(),a(null)}return u(Hm.Provider,{value:{onItemEnter:c,onItemLeave:d,expandedItem:s},children:u("div",{...o,ref:i,onMouseLeave:f,onMouseMove:g,children:o.children})})});var ck=lk;const uk=Me.forwardRef(function({onHover:t,onLeave:o,...r},n){const[i,s]=ye(null),[a,l]=ye(!1),c=Ct(Hm);Ie(()=>{s(K8())},[]),Ie(()=>{c.expandedItem&&c.expandedItem===i&&!a&&(l(!0),t&&t()),c.expandedItem!==i&&a&&(l(!1),o&&o())},[c.expandedItem]);function d(f){c.onItemEnter(i),r.onMouseEnter&&r.onMouseEnter(f)}function g(f){c.onItemLeave(),r.onMouseLeave&&r.onMouseLeave(f)}return u("div",{...r,ref:n,onMouseEnter:d,onMouseLeave:g,children:r.children})});var Bm=uk;function Dm({Item:e,Label:t,onSelect:o,segments:r,selectedSegmentId:n}){return u(ck,{id:D.SEGMENT_LIST,children:r.map(({bottomSpace:i,id:s,title:a,url:l})=>{const c=ku(s),d=`${c}-trigger`,g=l?fu:ue,f=n===s,b=p=>o(s,$(p)),v=u(t,{$active:f,children:a});return u(e,{$spacer:i,"data-fxa-path":"segment",id:d,onHover:()=>{var p;return o(s,{cause:"hover",element:(p=document.getElementById(d))!=null?p:void 0})},children:[u(g,{children:u("div",{"aria-controls":c,"aria-expanded":f,onClick:b,onKeyDown:Tm(b),role:"button",tabIndex:0,children:v})}),l&&u(pu,{children:u(ze,{"aria-controls":c,"aria-expanded":f,href:l,onFocus:p=>o(s,{cause:"keyboard",element:p.currentTarget}),children:v})})]},s)})})}function Lm(e,t){const[o,r]=ye(!1),[n,i]=ye(void 0),[s,a]=ye(!1),l=Ke({contentOpen:!1});e!==s&&(a(e),r(!1),i(e?t:void 0)),lt(()=>{l.current={contentOpen:o,id:n}},[o,n]);const c=xo(g=>l.current.id===g&&l.current.contentOpen?!1:(l.current={contentOpen:!0,id:g},i(g),r(!0),!0),[]);return{back:xo(()=>{l.current={contentOpen:!1},i(void 0),r(!1)},[]),contentOpen:o,select:c,selectedSegmentId:n}}const dk=k.span(["display:inline-flex;align-items:center;font-size:16px;line-height:1;font-weight:bold;"," cursor:pointer;"],({theme:e})=>R(["color:",";"],e.colors.accent));function fk({onClick:e}){return u(dk,{"data-fxa-path":"back",onClick:e,onKeyDown:t=>Tm(()=>e(t))(t),role:"button",tabIndex:0,children:[u(_e,{name:"arrowUp",preset:"brand",rotate:"-90deg",size:20})," Назад"]})}const pk=k.button(["position:relative;width:100%;padding:10px;font-size:16px;line-height:1.3;font-weight:700;border:none;border-radius:100px;cursor:pointer;",""],({theme:e})=>R(["color:",";background-color:",";"],e.colors.white,e.colors.black));function hk({onClick:e}){return u(pk,{"data-fxa-path":"close",onClick:e,type:"button",children:"Закрыть меню"})}const gk=k.div(["font-size:16px;line-height:1.3;font-weight:700;color:",";transition:color 0.3s;cursor:pointer;"," ",""],({$active:e,theme:t})=>e?t.colors.accent:t.colors.mineShaft,({theme:e})=>R(["@media (hover:hover) and (pointer:fine){&:hover{color:",";}}"],e.colors.accent),ie()`
|
|
860
860
|
font-size: 18px;
|
|
861
861
|
`),mk=k(Bm)(["cursor:pointer;&:not(:last-child){margin-bottom:",";"," ","}"],({$spacer:e})=>e?"20px":"12px",ie()`
|
|
862
862
|
margin-bottom: ${({$spacer:e})=>e?"23px":"6px"};
|
|
863
863
|
`,qe()`
|
|
864
864
|
margin-bottom: ${({$spacer:e})=>e?"20px":"8px"};
|
|
865
|
-
`);function bk({activeSegmentId:e,entryPanel:t,isOnboardingButtonShown:o=!1,isPromoButtonShown:r=!1,loading:n=!1,onClose:i,onOnboardingClick:s,onSegmentItemClick:a,open:l,origin:c,segments:d,topOffset:
|
|
865
|
+
`);function bk({activeSegmentId:e,entryPanel:t,isOnboardingButtonShown:o=!1,isPromoButtonShown:r=!1,loading:n=!1,onClose:i,onOnboardingClick:s,onSegmentItemClick:a,open:l,origin:c,segments:d,topOffset:g=null}){const f=re(),{back:b,contentOpen:v,select:p,selectedSegmentId:h}=Lm(l,e),m={isOnboardingButtonShown:o,isPromoButtonShown:r,onOnboardingClick:s},[y,C]=ye(null);return Mm(l,D.MENU,D.MENU_BUTTON),zm(l,D.MENU_BUTTON,Rm),Ie(()=>{if(!l)return;const A=document.getElementById(D.HEADER_TOP);if(A===null)return;const S=new ResizeObserver(()=>C(A.getBoundingClientRect().bottom));return S.observe(A),()=>S.disconnect()},[l]),lt(()=>{if(!l)return;const A=S=>{var M,H;(S.key==="Escape"||S.key==="Esc")&&(f({reason:"escape",type:"catalog.close"},{cause:"keyboard",element:(H=(M=document.getElementById(D.MENU))==null?void 0:M.querySelector('[data-fxa-path="catalog"]'))!=null?H:void 0,event:S}),i())};return document.addEventListener("keydown",A),()=>document.removeEventListener("keydown",A)},[l,i,f]),u(o8,{$isMenuOpen:l,$isOnboardingButtonShown:o,$top:g!=null?g:y,"aria-label":"Меню","data-fxa-path":"site-header",id:D.MENU,role:"navigation",children:u(r8,{$isMenuOpen:l,"data-fxa-path":"catalog","data-fxa-kind":"menu",children:[u(Bt,{max:"S",children:u(ue,{children:l&&u(ue,{children:[u(_8,{}),u(n8,{children:[u(i8,{origin:c}),u(fn,{...t})]})]})})}),n?u(L8,{$isMenuOpen:l,"aria-label":"Меню загружается",role:"status",children:u(un,{size:"l"})}):u(ue,{children:[u(s8,{$isMenuOpen:l,$showSeparator:v||h!==void 0,children:u(Cm,{children:[u(Dm,{Item:mk,Label:gk,onSelect:(A,S)=>{var M;p(A)&&f({segment:Fe((M=d.find(H=>H.id===A))!=null?M:{id:A}),type:"catalog.segment.select"},S)},segments:d,selectedSegmentId:h}),u(Bt,{min:"M",children:u(cc,{...m})})]})}),u(z8,{$isOpen:v,children:[u(Bt,{max:"M",children:u(B8,{children:[u(fk,{onClick:A=>{f({reason:"back",type:"catalog.back"},$(A)),b()}}),u(Bt,{max:"S",children:u(fn,{...t})})]})}),d.map(A=>u(H8,{$hidden:A.id!==h,"aria-label":A.title,id:ku(A.id),role:"region",children:u(M8,{onItemClick:a,segment:A})},A.id))]})]}),u(Bt,{max:"M",children:u(D8,{children:[u(cc,{...m}),u(hk,{onClick:A=>{f({reason:"button",type:"catalog.close"},$(A)),i()}})]})})]})})}const vk=k.button(["display:inline-flex;justify-content:center;align-items:center;border-radius:40px;height:40px;margin:0;padding:0 24px;outline:none;overflow:visible;font:inherit;font-size:14px;font-weight:700;line-height:normal;transition:background-color linear 0.3s;cursor:pointer;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;"," "," &::-moz-focus-inner{border:0;padding:0;}",""],me()`
|
|
866
866
|
height: 32px;
|
|
867
867
|
padding: 0 6px;
|
|
868
868
|
`,Ki()`
|
|
@@ -887,7 +887,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
887
887
|
${Ks(e.tablet)}
|
|
888
888
|
`,({$hasOneClickMenu:e,$heights:t})=>q()`
|
|
889
889
|
${Ks(t.desktop+(e?t.oneClickMenu:0))}
|
|
890
|
-
`);function Ks(e){return`${mt.reservedTop}: ${e}px; ${mt.visibleTop}: ${e}px;`}function jm({aboveMenu:e,belowMenu:t,children:o,hasOneClickMenu:r=!1,heights:n=ac,landmark:i=!1,onBackgroundClick:s,oneClickMenuHidden:a=!1,showBackground:l}){const c=Ke(null),[d,
|
|
890
|
+
`);function Ks(e){return`${mt.reservedTop}: ${e}px; ${mt.visibleTop}: ${e}px;`}function jm({aboveMenu:e,belowMenu:t,children:o,hasOneClickMenu:r=!1,heights:n=ac,landmark:i=!1,onBackgroundClick:s,oneClickMenuHidden:a=!1,showBackground:l}){const c=Ke(null),[d,g]=ye(null),f=Ke(a),b=Ke();return lt(()=>{if(a){f.current=!0;return}if(!f.current)return;const v=setTimeout(()=>{var p;f.current=!1,(p=b.current)==null||p.call(b)},du+50);return()=>clearTimeout(v)},[a]),Ie(()=>{const v=c.current;if(v===null)return;const p=()=>{const m=Math.ceil(v.getBoundingClientRect().height);if(f.current){tn({visibleTop:m});return}g(m),tn({reservedTop:m,visibleTop:m})},h=new ResizeObserver(p);return b.current=p,h.observe(v),()=>{b.current=void 0,h.disconnect(),tn({reservedTop:null,visibleTop:null})}},[]),u(Mk,{$showBackground:l,$underlayHeight:d,id:D.NAVIGATION,role:i?"banner":void 0,onClick:v=>{l&&v.target===v.currentTarget&&(s==null||s())},children:[u(Hk,{$hasOneClickMenu:r,$heights:n}),u(zk,{ref:c,children:[e,o,t]})]})}const Xm=R(["font-size:16px;line-height:1;"]),Bk=k.div(["position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-top:",";margin-bottom:6px;opacity:",";transition:margin linear ","ms,opacity linear ","ms ",";z-index:",";"],({$hide:e})=>e?"-22px":"30px",({$isMenuOpen:e})=>e?0:1,du,Ue,({$isMenuOpen:e})=>e?"0s":`${Ue*2+100}ms`,tt.NAVIGATION+1),Dk=k(ze)([""," transition:color 0.3s;",""],Xm,({theme:e})=>R(["color:",";&:hover{color:",";}"],e.colors.mineShaft,e.colors.accent)),Lk=k.span([""," position:relative;"," &:before{content:'';position:absolute;bottom:-26px;left:0;width:100%;height:4px;"," opacity:",";transition:opacity 0.3s;}"],Xm,({theme:e})=>R(["color:",";"],e.colors.accent),({theme:e})=>R(["background-color:",";"],e.colors.accent),({$hide:e})=>e?"0":"1");function Fm({hide:e=!1,isMenuOpen:t,items:o,onItemClick:r,selectedItemId:n}){const i=re();return o.length===0?null:u(Bk,{$hide:e,$isMenuOpen:t,"aria-label":"Меню в один клик","data-fxa-path":"one-click","data-fxa-kind":"menu",role:"navigation",children:o.map(s=>s.id===n?u(Lk,{$hide:e,"aria-current":"page",children:s.title},s.id):u(Dk,{"data-fxa-path":"item",href:s.url,onClick:a=>{i({item:Fe(s),type:"one-click.activate"},$(a)),r==null||r(s.id)},children:s.title},s.id))})}function _k(e,t){return t===void 0||e.supportButton!==void 0?e:{...e,supportButton:t}}function Ik({actionsButton:e,top:t,userPanel:o}){const r=(o==null?void 0:o.variant)==="elementary";return u(ue,{children:[e&&u(Pk,{$elementary:r,children:e}),!r&&u(Ek,{children:t})]})}function Nk({hasOneClickMenu:e,hide:t,menuOpen:o,oneClickMenuItems:r=[],onSegmentItemClick:n,selectedOneClickMenuItemId:i}){return e!==!0?null:u(pu,{children:u(Fm,{hide:t,isMenuOpen:o,items:r,onItemClick:n,selectedItemId:i})})}function jk(e){return u(iu,{area:"header",onInteraction:e.onInteraction,children:u(Xk,{...e})})}function Xk(e){var H,I;const t=re(),{entryPanel:o,isLoggedIn:r,landmarks:n,menu:i,menuOpen:s,offsetTop:a,onMenuToggle:l,origin:c,userPanel:d}=e,{aboveMenu:g,actionsButton:f,background:b,beforeEntry:v,belowMenu:p,searchPanel:h,top:m}=(H=e.slots)!=null?H:{},{platformChatButton:y,profileMenuBanner:C}=(I=e.slots)!=null?I:{},A=s||(d==null?void 0:d.profileMenuOpen)===!0||(d==null?void 0:d.pupilSelectMenuOpen)===!0,S=_k(o,e.supportButton),M=Nm(e.hasOneClickMenu,e.oneClickMenuItems);return u(ls,{children:u(au,{origin:c,children:[b,h&&u(Tk,{id:D.SEARCH_PANEL_WRAPPER,children:h}),u(jm,{aboveMenu:g,belowMenu:p,hasOneClickMenu:e.hasOneClickMenu,landmark:n,onBackgroundClick:s?()=>{var W;t({reason:"outside",type:"catalog.close"},{cause:"pointer",element:(W=document.getElementById(D.MENU_BUTTON))!=null?W:void 0}),l()}:void 0,oneClickMenuHidden:M,showBackground:A,children:[u(x4,{"data-fxa-path":"site-header",id:"header",children:u(w4,{children:[u(S4,{id:D.HEADER_TOP,children:[u(wu,{cobranding:e.cobranding,origin:c}),u(E4,{children:[u(Ak,{active:s,onClick:l}),u(Ik,{actionsButton:f,top:m,userPanel:d})]}),u(qw,{...e,beforeEntry:v,entryPanel:S,profileMenuBannerSlot:C}),u(Vw,{...e,beforeEntry:v,chatSlot:y,entryPanel:S,profileMenuBannerSlot:C})]}),u(Nk,{...e,hide:M})]})}),u(bk,{...i,entryPanel:S,onClose:l,open:s,origin:c,topOffset:a!=null?a:null})]}),r&&d&&u(fu,{"data-fxa-path":"site-header",children:u(Ok,{...d,chatSlot:y,profileMenuBannerSlot:C})})]})})}const Fk=k.span(["position:relative;display:inline-flex;"]),Uk=k.span(["position:absolute;top:-4px;right:-4px;display:inline-flex;pointer-events:none;"]),Vk=e=>{const{count:t}=e,o=re(),r=cu();return u(Fk,{children:[u(Vt,{"aria-label":mu(Lo.title,t),"data-fxa-action":"open","data-fxa-path":"cart",onClick:n=>o({item:{id:D.TOP_MENU_CART,...Lo},type:"user-panel.activate"},$(n)),href:lu(r,Lo.url),icon:"cart",id:D.TOP_MENU_CART,outline:!0,palette:{borderColor:"border-onmain-soft-large"},preset:"brand",round:!0,size:"s"}),t>0&&u(Uk,{"aria-hidden":!0,children:u(Ko,{primary:!1,secondary:!0,size:"s",children:t})})]})},Gk=24,Ah=k.div(["display:none;margin-right:","px;",""],Gk-F.gap,q()`
|
|
891
891
|
display: block;
|
|
892
892
|
`),Sh=k.div(["position:absolute;top:calc(100% + ","px);right:0;display:flex;z-index:",";",""],mr,tt.NAVIGATION+3,q()`
|
|
893
893
|
display: none;
|
|
@@ -955,7 +955,7 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
955
955
|
body {
|
|
956
956
|
overflow: hidden;
|
|
957
957
|
}
|
|
958
|
-
`),M7=k(Bm)(["cursor:pointer;&:not(:last-child){margin-bottom:","px;}"],({$spacer:e})=>e?Ye.groupGap:Ye.itemGap),z7=k.div(["padding:2px 0;font-size:18px;line-height:24px;font-weight:700;transition:color 0.3s;",""],({$active:e,theme:t})=>R(["color:",";@media (hover:hover) and (pointer:fine){&:hover{color:",";}}"],t.colors[e?"content-brand-primary":"content-onmain-primary"],t.colors["content-brand-primary"]));function H7({activeSegmentId:e,onClose:t,open:o}){const r=re(),n=Lm(o,e),[i,s]=ye(null);return Mm(o,D.MENU,D.MENU_BUTTON),zm(o,D.MENU_BUTTON,Rm),Ie(()=>{if(!o)return;const a=document.getElementById(D.HEADER_TOP);if(!a)return;const l=new ResizeObserver(()=>s(a.getBoundingClientRect().bottom));return l.observe(a),()=>l.disconnect()},[o]),lt(()=>{if(!o)return;const a=l=>{var c,d;(l.key==="Escape"||l.key==="Esc")&&(r({reason:"escape",type:"catalog.close"},{cause:"keyboard",element:(d=(c=document.getElementById(D.MENU))==null?void 0:c.querySelector('[data-fxa-path="catalog"]'))!=null?d:void 0,event:l}),t())};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[o,t,r]),{...n,measuredTop:i}}const B7=e=>{const t=re(),{activeSegmentId:o,hasTabBar:r,isOnboardingButtonShown:n,isPromoButtonShown:i,loading:s,onClose:a,onOnboardingClick:l,onSegmentItemClick:c,open:d,segments:
|
|
958
|
+
`),M7=k(Bm)(["cursor:pointer;&:not(:last-child){margin-bottom:","px;}"],({$spacer:e})=>e?Ye.groupGap:Ye.itemGap),z7=k.div(["padding:2px 0;font-size:18px;line-height:24px;font-weight:700;transition:color 0.3s;",""],({$active:e,theme:t})=>R(["color:",";@media (hover:hover) and (pointer:fine){&:hover{color:",";}}"],t.colors[e?"content-brand-primary":"content-onmain-primary"],t.colors["content-brand-primary"]));function H7({activeSegmentId:e,onClose:t,open:o}){const r=re(),n=Lm(o,e),[i,s]=ye(null);return Mm(o,D.MENU,D.MENU_BUTTON),zm(o,D.MENU_BUTTON,Rm),Ie(()=>{if(!o)return;const a=document.getElementById(D.HEADER_TOP);if(!a)return;const l=new ResizeObserver(()=>s(a.getBoundingClientRect().bottom));return l.observe(a),()=>l.disconnect()},[o]),lt(()=>{if(!o)return;const a=l=>{var c,d;(l.key==="Escape"||l.key==="Esc")&&(r({reason:"escape",type:"catalog.close"},{cause:"keyboard",element:(d=(c=document.getElementById(D.MENU))==null?void 0:c.querySelector('[data-fxa-path="catalog"]'))!=null?d:void 0,event:l}),t())};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[o,t,r]),{...n,measuredTop:i}}const B7=e=>{const t=re(),{activeSegmentId:o,hasTabBar:r,isOnboardingButtonShown:n,isPromoButtonShown:i,loading:s,onClose:a,onOnboardingClick:l,onSegmentItemClick:c,open:d,segments:g,topOffset:f}=e,{back:b,contentOpen:v,measuredTop:p,select:h,selectedSegmentId:m}=H7({activeSegmentId:o,onClose:a,open:d});return u(k7,{$open:d,$tabBar:r,$top:f!=null?f:p,"aria-label":"Меню","data-fxa-path":"site-header",id:D.MENU,role:"navigation",children:[d&&u(R7,{}),u(A7,{"data-fxa-path":"catalog","data-fxa-kind":"menu",children:[s?u(T7,{"aria-label":"Меню загружается",role:"status",children:u(un,{size:"l"})}):u(ue,{children:[u(S7,{children:u(Dm,{Item:M7,Label:z7,onSelect:(y,C)=>{var A;h(y)&&t({segment:Fe((A=g.find(S=>S.id===y))!=null?A:{id:y}),type:"catalog.segment.select"},C)},segments:g,selectedSegmentId:m})}),u(C7,{$open:v,$selected:m!==void 0,children:g.map(y=>u(P7,{$hidden:y.id!==m,"aria-label":y.title,id:ku(y.id),role:"region","data-fxa-path":"segment-content",children:u(w7,{onItemClick:c,segment:y})},y.id))})]}),u(O7,{children:[u(cc,{isOnboardingButtonShown:n,isPromoButtonShown:i,onOnboardingClick:l}),u(E7,{$withBack:v,children:[v&&u(Vt,{"aria-label":"Назад",icon:"undo","data-fxa-path":"back",onClick:y=>{t({reason:"back",type:"catalog.back"},$(y)),b()},palette:{backgroundColor:"bg-onmain-tertiary",color:"content-onmain-primary"},preset:"brand",round:!0,size:"l",type:"button"}),u(Vt,{fluid:!0,icon:"close","data-fxa-path":"close",onClick:y=>{t({reason:"button",type:"catalog.close"},$(y)),a()},outline:!0,palette:{borderColor:"border-onmain-default-large",color:"content-onmain-primary"},preset:"brand",size:"l",textProps:{weight:400},type:"button",children:"Закрыть"})]})]})]})]})},Ch=k.div(["",""],({$only:e})=>cs(e,"block")),D7={backgroundColorActive:"transparent",backgroundColorHover:"transparent",color:"content-brand-primary",colorActive:"content-brand-primary",colorHover:"content-brand-primary"},L7=e=>{const t=re(),{active:o,onClick:r}=e,{minS:n}=Sg(),i={"aria-controls":D.MENU,"aria-expanded":o,"data-fxa-path":"catalog-toggle",onClick:s=>{t({reason:"toggle",type:o?"catalog.close":"catalog.open"},$(s)),r()}};return u(ue,{children:[u(Ch,{$only:"wide",children:u(Vt,{...i,icon:o?"close":"menu",id:n?D.MENU_BUTTON:void 0,outline:!o,palette:{borderColor:"border-onmain-soft-large"},preset:"brand",size:"s",textProps:{weight:400},type:"button",children:"Меню"})}),u(Ch,{$only:"mobile",children:u(Gg,{...i,icon:o?"close":"menuFill","aria-label":"Меню",id:n?void 0:D.MENU_BUTTON,palette:D7,size:"xl"})})]})},Oh=R(["width:auto;padding:0;border-color:transparent;background-color:transparent;& > :not(:first-child){display:none;}"]),_7=k(ss)(["&&{box-sizing:border-box;width:","px;min-width:0;font:inherit;text-align:start;background-color:",";& > :last-child{min-width:0;}"," ","}"],F.profileWidth,({theme:e})=>e.colors["bg-onmain-secondary"],me()`${Oh}`,an()`${Oh}`),I7=k.span(["position:relative;display:inline-flex;flex-shrink:0;padding:2px;border-radius:50%;border:2px solid ",";pointer-events:none;"],({$parent:e,theme:t})=>t.colors[e?"border-brand-secondary":"border-brand-primary"]),N7=k.span(["position:absolute;top:0;right:0;display:inline-flex;"]),j7=e=>{const{expanded:t,marker:o=!1,onClick:r,profileOpen:n=t,user:i}=e,s=Pn(n,r);return u(_7,{addonLeft:u(I7,{$parent:i.parent===!0,children:[u(ou,{preset:"brand",size:"s",src:i.avatarUrl,text:i.name}),o&&u(N7,{"aria-hidden":!0,children:u(Ko,{primary:!1,secondary:!0})})]}),"aria-expanded":t,"aria-label":`Профиль: ${i.name}${o?", есть новое":""}`,borderRadius:999,caption:u(xe,{as:"span",color:"content-onmain-tertiary",display:"block",size:"s",children:i.role}),component:"button","data-fxa-path":"profile-toggle",id:D.TOP_MENU_PROFILE,onClick:s,palette:{backgroundColor:"bg-onmain-primary",backgroundColorHover:"bg-onmain-secondary"},size:"m",text:u(xe,{as:"span",display:"block",ellipsis:!0,size:"m",weight:700,children:i.name})})},X7=k.div(["display:none;"," ",""],({$open:e})=>ie()`
|
|
959
959
|
display: ${e?"block":"none"};
|
|
960
960
|
position: fixed;
|
|
961
961
|
top: var(${mt.visibleTop}, ${F.headerHeight.wide}px);
|
|
@@ -1029,15 +1029,15 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
1029
1029
|
& > * {
|
|
1030
1030
|
direction: ltr;
|
|
1031
1031
|
}
|
|
1032
|
-
`);function l9({children:e}){return e?u(t9,{id:D.SEARCH_PANEL_WRAPPER,children:e}):null}const c9={...ac,base:F.headerHeight.base,desktop:F.headerHeight.wide,oneClickMenu:ac.oneClickMenu-F.oneClickMenu.pullUp+F.oneClickMenu.paddingBottom,tablet:F.headerHeight.wide},u9=e=>{var s;const{entryPanel:t,isLoggedIn:o,slots:r,supportButton:n,userPanel:i}=e;return!o||!i?u(ue,{children:[r==null?void 0:r.beforeEntry,u(fn,{...t})]}):u(a9,{children:[n&&u(zw,{...n}),u(Vk,{count:(s=i.cartItemsCount)!=null?s:0}),r==null?void 0:r.platformChatButton,u(bu,{...i,profileMenu:{...i.profileMenu,bannerSlot:r==null?void 0:r.profileMenuBanner,cartItem:void 0},children:u(j7,{expanded:i.profileMenuOpen||i.pupilSelectMenuOpen,profileOpen:i.profileMenuOpen,marker:i.profileButtonMarker,onClick:i.onProfileMenuToggle,user:i.user})})]})},d9=e=>{const{hasOneClickMenu:t,hide:o,menuOpen:r,oneClickMenuItems:n=[],onSegmentItemClick:i,selectedOneClickMenuItemId:s}=e;return!t||n.length===0?null:u(r9,{$hide:o,children:u(Fm,{hide:o,isMenuOpen:r,items:n,onItemClick:i,selectedItemId:s})})},f9=e=>u(iu,{area:"header",layout:"v2",onInteraction:e.onInteraction,children:u(p9,{...e})}),p9=e=>{const t=re(),{activeMainMenuItemId:o,cobranding:r,hasOneClickMenu:n,isLoggedIn:i,landmarks:s,mainMenu:a=[],menu:l,menuOpen:c,offsetTop:d,onMenuToggle:h,onSectionsClose:f,onSectionsToggle:b,origin:v,sectionsOpen:g,slots:p,userPanel:m}=e,y={activeId:o,items:i?a:[],onItemClick:H=>{g&&H&&t({reason:"link",type:"sections.close"},H),f()},onSectionsToggle:b,open:g};Q7(g,f);const{searchPanel:C,sectionsBannerSide:A,sectionsBannerTop:S}=p!=null?p:{},M=Nm(n,e.oneClickMenuItems);return u(ls,{newBrand:!0,children:u(au,{origin:v,children:[p==null?void 0:p.background,u(l9,{children:C}),u(jm,{aboveMenu:p==null?void 0:p.aboveMenu,belowMenu:p==null?void 0:p.belowMenu,hasOneClickMenu:n,heights:c9,landmark:s,onBackgroundClick:c?()=>{var H;t({reason:"outside",type:"catalog.close"},{cause:"pointer",element:(H=document.getElementById(D.MENU_BUTTON))!=null?H:void 0}),h()}:void 0,oneClickMenuHidden:M,showBackground:!!(c||m!=null&&m.profileMenuOpen||m!=null&&m.pupilSelectMenuOpen),children:[u(e9,{"data-fxa-path":"site-header",id:"header",children:[u(o9,{id:D.HEADER_TOP,children:[u(n9,{children:[u(wu,{cobranding:r,origin:v}),u(i9,{children:u(L7,{active:c,onClick:h})})]}),u(s7,{...y}),u(s9,{children:[u(qk,{...e}),u(u9,{...e})]})]}),u(d9,{...e,hide:M}),u(W7,{...y,bannerSide:A,bannerTop:S})]}),u(B7,{...l,hasTabBar:y.items.length>0,onClose:h,open:c,topOffset:d})]}),u($7,{...y})]})})},AT=k.div(["position:fixed;inset:0;z-index:",";display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,0.4);"],tt.MODAL),ST=k.div(["position:relative;box-sizing:border-box;width:560px;max-width:100%;padding:24px;border-radius:12px;overflow:hidden;background:",";color:",";font-family:",";outline:none;"],({theme:e})=>e.colors["bg-onmain-primary"],({theme:e})=>e.colors["content-onmain-primary"],({theme:e})=>e.fonts.primary),h9=Qo(["from{transform:translateX(-100%);}to{transform:translateX(250%);}"]),CT=k.div(["position:absolute;top:0;left:0;height:4px;width:40%;background:",";animation:"," 1.5s ease-in-out infinite;@media (prefers-reduced-motion:reduce){left:30%;animation:none;}"],({theme:e})=>e.colors["bg-brand-primary-basic"],h9),OT=k.div(["margin-bottom:20px;text-align:center;font-family:",";font-size:18px;font-weight:700;line-height:1.4;"],({theme:e})=>e.fonts.heading),ET=k.div(["display:flex;align-items:center;gap:12px;@media (max-width:479px){flex-direction:column;}"]),PT=k.div(["display:flex;align-items:center;gap:12px;box-sizing:border-box;flex:1;min-width:0;padding:12px;border-radius:8px;background:",";@media (max-width:479px){width:100%;}"],({$active:e,theme:t})=>t.colors[e?"bg-onmain-secondary":"bg-oncolor-hover"]),TT=k.div(["min-width:0;font-size:16px;line-height:1.4;"]),RT=k.div(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),MT=k.div(["color:",";font-size:14px;"],({theme:e})=>e.colors["content-onmain-tertiary"]),zT=k.span(["display:flex;flex:none;@media (max-width:479px){transform:rotate(90deg);}"]),g9=k.div(["position:fixed;z-index:",";top:24px;left:50%;transform:translateX(-50%);box-sizing:border-box;display:flex;align-items:center;gap:16px;width:560px;max-width:calc(100% - 32px);padding:16px;border:1px solid ",";border-radius:12px;background:",";color:",";font-family:",";font-size:16px;line-height:1.4;"],tt.MODAL,({theme:e})=>e.colors["border-onmain-default-small"],({theme:e})=>e.colors["bg-onmain-primary"],({theme:e})=>e.colors["content-onmain-primary"],({theme:e})=>e.fonts.primary),m9=k.button(["flex:none;margin-left:auto;padding:8px;border:none;border-radius:8px;background:",";color:inherit;font:inherit;cursor:pointer;"],({theme:e})=>e.colors["bg-onmain-secondary"]);function HT({message:e,onClose:t}){return u(ls,{children:u(g9,{children:[u("span",{role:"alert",children:e}),u(m9,{"aria-label":"Закрыть сообщение об ошибке",onClick:t,type:"button",children:"Закрыть"})]})})}const Km=k.div(["display:inline-flex;position:relative;",""],({$isMarkerVisible:e,theme:t})=>e&&R(["&:after{content:'';position:absolute;top:-4px;right:-5px;background-color:",";box-shadow:0 0 4px ",";width:8px;height:8px;border-radius:50%;}"],t.colors.orangePeel,t.colors.orangePeel)),$m=k.span(["display:inline-block;padding-left:16px;font-size:16px;line-height:1.5;color:",";"],({theme:e})=>e.colors.mineShaft),b9=k(ze)(["display:flex;padding-top:6px;padding-bottom:6px;&:hover{"," > *,","{color:",";}}"],Km,$m,({theme:e})=>e.colors.accent);function v9({onClick:e,showMarker:t=!1,url:o="/referrals"}){const r=re();return u(b9,{"data-fxa-action":"open","data-fxa-path":"bonuses",href:o,onClick:n=>{r({item:{id:"bonuses",url:o},type:"profile.item.activate"},$(n)),e==null||e()},target:"_blank",children:[u(Km,{$isMarkerVisible:t,children:u(_e,{color:"mineShaft",name:"giftBox",size:20})}),u($m,{children:"Бонусы за друга"}),u(Yx,{borderRadius:4,cursor:"pointer",icon:[null,"foxCoins"],iconProps:{size:12},marginLeft:"auto",size:"s",textProps:{marginTop:2},children:"+5 000"})]})}const y9=k.div(["margin-bottom:16px;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;"]),x9=k(ze)(["position:relative;padding:4px 8px;border-radius:8px;background:",";:hover{[class*='Amount']{transition:color 0.3s;color:",";}}"],({theme:e})=>e.colors["bg-onmain-secondary"],({theme:e})=>e.colors.accent),w9=k(Ko)(["position:absolute;top:0;right:0;"]);function Th({currency:e,hasIndicator:t=!1,isRealMoney:o=!1,name:r,onClick:n,url:i,value:s}){const a=re(),l=o?"real-money":"bonuses";return u(x9,{"data-fxa-action":"open","data-fxa-path":l,href:i,onClick:c=>{a({item:{id:l,url:i},type:"profile.item.activate"},$(c)),n==null||n()},children:[u(xe,{color:"content-onmain-secondary",size:12,children:r}),u(ai,{currency:o?e:void 0,size:14,value:s,weight:"bold"}),!o&&u(_e,{marginLeft:4,name:"foxCoins",vAlign:"middle"}),t&&u(w9,{secondary:!0,size:"m"})]})}function k9({giftAmount:e=0,hasPaymentsInfoIndicator:t=!1,hasReferralsIndicator:o=!1,realCurrency:r,realMoneyAmount:n=0}){return e<=0&&n<=0?null:u(y9,{children:[e>0&&u(Th,{hasIndicator:o,name:"Фоксики",url:"/referrals",value:e}),n>0&&u(Th,{currency:r,hasIndicator:t,isRealMoney:!0,name:"Внутренний счёт",url:"/account/payments_info",value:n})]})}function A9({isViewingAsPupil:e=!1,onOpenPupilList:t,onSignOutFromPupil:o,pupilCount:r=0}){const n=re();return r>0&&r<7?u("div",{children:[u(Vt,{base:!0,black:!0,fluid:!0,icon:"switchVertical",id:"pupil-select-button","data-fxa-path":"pupil-menu",onClick:i=>{n({type:"pupil-menu.open"},$(i)),t==null||t()},preset:"brand",size:"s",textProps:{size:14,weight:"normal"},children:"Войти как ученик"}),u(Lt,{bottom:20})]}):e?u("div",{children:[u(Vt,{base:!0,black:!0,fluid:!0,icon:"switchVertical","data-fxa-path":"parent-account",onClick:i=>{n({type:"account.parent.select"},$(i)),o==null||o()},preset:"brand",size:"s",textProps:{size:14,weight:"normal"},children:"Войти как родитель"}),u(Lt,{bottom:20})]}):null}function S9(e){const t=e.replace(/\D/g,"");return t.length===11&&(t.startsWith("8")||t.startsWith("7"))?`+7${t.slice(1)}`:t.length===10?`+7${t}`:e}function Rh(e,t){return e===void 0||e===""?[]:[{"@type":"ContactPoint",areaServed:"RU",availableLanguage:"Russian",contactType:t,telephone:S9(e)}]}function C9(e,t,o){const r=[...Rh(t.salesPhone,"sales"),...Rh(t.phone,"customer support")],n=o.map(i=>i.href);return{"@context":"https://schema.org","@type":"Organization",logo:e.logo,name:e.name,url:e.url,...t.email===void 0||t.email===""?{}:{email:t.email},...r.length===0?{}:{contactPoint:r},...n.length===0?{}:{sameAs:n}}}const O9="/home-school";function E9(e,{content:t,structuredData:o},r){if(!(o!==!0||r||t.organization===void 0))return C9(t.organization,e.contacts,t.socialLinks)}function P9(e,t,o){var l;const{content:r}=o,n=(l=o.origin)!=null?l:typeof window>"u"?"":window.location.origin,i=o.forceGeoposition===!0||r.geoUrls.includes(n)||e.pathname===O9,s=r.mirrorDomains.some(c=>n.includes(c)),a=E9(e,o,s);return{...o.onInteraction===void 0?{}:{onInteraction:o.onInteraction},aboutItems:r.aboutItems,appLinks:r.getAppLinks(n),cities:i?r.cities:[],cobranding:o.cobranding,contacts:s?{}:e.contacts,currentCityValue:n,currentYear:t,freeItems:r.freeItems,...a===void 0?{}:{jsonLd:a},...o.landmarks===void 0?{}:{landmarks:o.landmarks},onSelectCity:i?c=>window.location.assign(c):void 0,origin:n,salesLinks:r.getSalesLinks(e.user.id),slots:o.slots,socialLinks:r.socialLinks,studyItems:r.studyItems}}const T9=[{id:"about",text:"О Фоксфорде",url:"/about"},{id:"contacts",text:"Контакты",url:"/contacts"},{id:"teachers",text:"Наши преподаватели",url:"/teachers"},{id:"reviews",text:"Отзывы о Фоксфорде",url:"/reviews"},{id:"partner",text:"Партнерская программа",url:"https://partner.foxford.ru/webmaster"},{id:"legal",text:"Правовая информация",url:"/legal/general"},{id:"official-info",text:"Сведения об образовательной организации",url:"/official_info"},{id:"jobs",isSpacer:!0,text:"Вакансии",url:"https://jobs.foxford.ru"},{id:"tutor",text:"Стать репетитором",url:"https://team.foxford.ru/"}],R9=[{id:"ege",text:"ЕГЭ",url:"https://foxford.ru/ege"},{id:"oge",text:"ОГЭ",url:"https://foxford.ru/oge"},{id:"coach-courses",text:"Занятия с репетитором",url:"/catalog/coach_courses"},{id:"coach-catalog",text:"Каталог репетиторов",url:"/repetitory"},{id:"mini-groups",text:"Занятия в группах",url:"/catalog/mini_groups"},{id:"product-packs",text:"Комплекты занятий",url:"/catalog/product_packs"},{id:"languages",text:"Английский язык",url:"/levels/languages"},{id:"programming",text:"Школа программирования",url:"/programming"},{id:"home-school",text:"Домашняя школа",url:"/home-school"},{id:"teacher-courses",isSpacer:!0,text:"Курсы для учителей",url:"https://teacher.foxford.ru/"}],M9=[{id:"wiki",text:"Учебник",url:"/wiki"},{id:"prof",text:"Профориентация",url:"https://prof.foxford.ru/"},{id:"events",text:"Вебинары",url:"/catalog/events/buduschie"},{id:"media",text:'Журнал "Сила Лиса"',url:"https://media.foxford.ru/"},{id:"externat",text:'Журнал "Дневник Лиса"',url:"https://externat.foxford.ru/"}],e1=[{name:"Москва",value:"https://foxford.ru/home-school"},{name:"Ростов-на-Дону",value:"https://rostov.foxford.ru"},{name:"Краснодар",value:"https://krasnodar.foxford.ru"},{name:"Челябинск",value:"https://chelyabinsk.foxford.ru"},{name:"Пермь",value:"https://perm.foxford.ru"},{name:"Самара",value:"https://samara.foxford.ru"},{name:"Екатеринбург",value:"https://ekb.foxford.ru"},{name:"Казань",value:"https://kazan.foxford.ru"},{name:"Нижний Новгород",value:"https://nn.foxford.ru"},{name:"Санкт-Петербург",value:"https://spb.foxford.ru"},{name:"Красноярск",value:"https://spb.foxford.ru"},{name:"Новосибирск",value:"https://nsk.foxford.ru"},{name:"Кемерово",value:"https://kemerovo.foxford.ru"},{name:"Тюмень",value:"https://tyumen.foxford.ru"},{name:"Барнаул",value:"https://barnaul.foxford.ru"},{name:"Омск",value:"https://omsk.foxford.ru"},{name:"Ижевск",value:"https://izhevsk.foxford.ru"},{name:"Ставрополь",value:"https://stavropol.foxford.ru"}],z9=[...e1.map(e=>e.value),"/home-school"],H9=["foxford-school.com"],B9=[{href:"https://vk.ru/foxford_edu",iconName:"vkSocial",id:"vk"},{href:"https://ok.ru/foxfordege",iconName:"okSocial",id:"ok"},{href:"https://www.youtube.com/foxfordru",iconName:"youtubeAltSocial",id:"youtube"},{href:"https://telegram.me/foxford_edu",iconName:"telegramSocial",id:"telegram"}];function D9(e){const t=e===null?"hello":`id${e}`;return[{href:`https://telegram.me/foxford_ege_bot?start=fox${t}`,iconName:"telegramSocial",id:"telegram"},{href:`https://max.ru/foxford_bot?start=fox${t}`,iconName:"maxSocial",id:"max"}]}function L9(e){const t=o=>`${e}/mobileapp-redirect?${new URLSearchParams({utm_campaign:o,utm_content:"footer",utm_medium:"website",utm_source:"foxford_ru"}).toString()}`;return{desktop:t("desktop-web"),mobile:t("mobile-web")}}const _9={logo:"https://assets-foxford-ru.ngcdn.ru/assets/webpack/images/foxford.65b4d7fe.svg",name:"Фоксфорд",url:"https://foxford.ru"},hn=e=>!e.isParent,dc=e=>e.isParent,Mi={icon:"filter",id:D.PROFILE_MENU_SETTINGS,title:"Настройки профиля",url:"/account"},t1={icon:"users",id:D.PROFILE_MENU_FAMILY,isHidden:hn,title:"Семья",url:"/dashboard/family"},o1={icon:"books",id:D.PROFILE_MENU_EXTERNSHIP_ELEMENTARY,title:"Домашняя школа",url:"/dashboard/externship"},gn={icon:"wallet",id:D.PROFILE_MENU_PAYMENTS,title:"Баланс и платежи",url:"/dashboard/payments"},I9=[{...Mi,isHidden:dc},t1,{...gn,isHidden:hn},{...Mi,isHidden:hn},{icon:"student",id:D.PROFILE_MENU_ATTESTATION,isHidden:e=>!e.purchaseAnyExternshipContracts&&!e.hasExternshipAttestationAccess,title:"Аттестация",url:"/dashboard/attestation"},{icon:"presentation",id:D.PROFILE_MENU_PROGRESS,title:"Успеваемость",url:"/dashboard/progress"},{...gn,isHidden:dc},o1,{icon:"fileTick",id:D.PROFILE_MENU_MY_TRIAL_EXAMS,isHidden:e=>!e.hasAttemptsSolveExamRehearsals,title:"Мои пробники",url:"/trial-exams/my"},{id:D.PROFILE_MENU_BONUSES,title:"Фоксики"},{icon:"rocket",id:D.PROFILE_MENU_ACHIEVEMENTS,title:"Достижения"},{icon:"logOut",id:D.PROFILE_MENU_LOGOUT,title:"Выйти из аккаунта"}],N9=[t1,{...gn,isHidden:hn},Mi,{icon:"textNote",id:D.PROFILE_MENU_ELEMENTARY_PLAN,title:"План на сегодня",url:"/elementary/dashboard/daily-plan"},{icon:"bookOpen",id:D.PROFILE_MENU_OBJECTIVES,title:"Задания",url:"/dashboard/objectives"},{icon:"student",id:D.PROFILE_MENU_ATTESTATION,isHidden:e=>!e.purchaseAnyExternshipContracts&&!e.hasExternshipAttestationAccess,title:"Аттестация",url:"/dashboard/attestation"},{icon:"presentation",id:D.PROFILE_MENU_PROGRESS,title:"Успеваемость",url:"/dashboard/progress"},{icon:"code",id:D.PROFILE_MENU_LABORATORY,isHidden:e=>e.isLabsEnabled!==!0,title:"Лаборатория",url:"/elementary/dashboard/laboratory"},{...gn,isHidden:dc},{icon:"percentage",id:D.PROFILE_MENU_PROMOS_ELEMENTARY,title:"Скидки и рекомендации",url:"/elementary/dashboard/promos"},o1,{icon:"people",id:D.PROFILE_MENU_SOCIALIZATION,isHidden:e=>{var t;return e.isParent||e.isAgent||!e.hasPurchasedExternshipContracts||((t=e.socializationProfile)==null?void 0:t.state)!=="active"},title:"Найти друзей",url:"/elementary/dashboard/socialization"},{icon:"people",id:D.SOCIALIZATION_LANDING,isHidden:e=>e.isParent||e.isAgent||!e.hasPurchasedExternshipContracts||e.socializationProfile!==void 0&&e.socializationProfile!==null&&e.socializationProfile.state!=="draft",title:"Найти друзей",url:"/elementary/dashboard/socialization-landing"},{id:D.PROFILE_MENU_BONUSES,title:"Фоксики"},{icon:"rocket",id:D.PROFILE_MENU_ACHIEVEMENTS,title:"Достижения"},{icon:"files",id:D.PROFILE_MENU_DIGITAL_PORTFOLIO,title:"Документы",url:"/elementary/dashboard/digital-portfolio"},{icon:"logOut",id:D.PROFILE_MENU_LOGOUT,title:"Выйти из аккаунта"}],j9=[{...gn,isHidden:hn},Mi,{icon:"rocket",id:D.PROFILE_MENU_ACHIEVEMENTS,title:"Достижения"},{icon:"logOut",id:D.PROFILE_MENU_LOGOUT,title:"Выйти из аккаунта"}],X9={icon:"squareCheck",id:D.PROFILE_MENU_ONBOARDING,title:"Подобрать занятия",url:"/onboarding?chat=1"},F9={icon:"gift",id:D.PROFILE_MENU_EXTERNAL_REVIEWS,title:"Подарок за отзыв",url:"/reviews/external"};function U9(e,t){return(e.isElementaryPupil?N9:e.isAgent?j9:I9).filter(r=>{var n;return((n=r.isHidden)==null?void 0:n.call(r,e))!==!0}).map(({isHidden:r,...n})=>({...n,onClick:n.id===D.PROFILE_MENU_LOGOUT?t.onLogout:t.onItemClick,url:n.id===D.PROFILE_MENU_ACHIEVEMENTS?G9(e):n.url}))}function V9(e,t,o){const r=[];return e.isCoach||r.push(X9),t&&r.push(F9),r.map(n=>({...n,onClick:o}))}function G9(e){return typeof e.id=="number"?`/users/${e.id}`:"/"}const q9=[{icon:"textNote",id:D.TOP_MENU_PLAN,title:"Главная",url:"/dashboard/daily-plan"},{icon:"calendar",id:D.TOP_MENU_CALENDAR,title:"Расписание",url:"/dashboard/calendar"},{icon:"cart",id:D.TOP_MENU_CART,title:"Корзина",url:"/checkout"},{icon:"giftBox",id:D.TOP_MENU_REFERRALS,title:"Бонусы за друга",url:"/referrals"}],J9=[{icon:"elementaryMain",id:D.TOP_MENU_DASHBOARD,title:"Главная",url:"/elementary/dashboard"},{icon:"elementaryLessons",id:D.TOP_MENU_ELEMENTARY_COURSES,title:"Занятия",url:"/elementary/courses"},{icon:"elementaryCalendar",id:D.TOP_MENU_CALENDAR,title:"Расписание",url:"/elementary/dashboard/calendar"},{icon:"elementaryRoom",id:D.TOP_MENU_ROOM,title:"Комната",url:"/elementary/room"},{icon:"elementaryExternship",id:D.TOP_MENU_EXTERNSHIP,title:"Школа",url:"/dashboard/externship"},{icon:"elementaryCatalog",id:D.TOP_MENU_CATALOG,title:"Каталог",url:"/catalog"}],W9=[{exact:!0,icon:"houseEmpty",id:D.TOP_MENU_DASHBOARD,title:"Кабинет",url:"/teacher-dashboard"},{icon:"cart",id:D.TOP_MENU_CART,title:"Корзина",url:"/checkout"}],Y9=[{exact:!0,icon:"houseEmpty",id:D.TOP_MENU_DASHBOARD,title:"Главная",url:"/teacher-dashboard"},{icon:"cart",id:D.TOP_MENU_CART,title:"Корзина",url:"/checkout"}];function Q9(e){return e.isElementaryPupil?J9:e.isAgent?e.isCoach||e.isMiniGroupTeacher?W9:Y9:q9}const Z9={icon:"cart",id:D.PROFILE_MENU_CART,title:"Корзина",url:"/checkout"};function K9(e,t){return e.isElementaryPupil?{...Z9,onClick:t}:void 0}const r1={footer:{aboutItems:T9,cities:e1,freeItems:M9,geoUrls:z9,getAppLinks:L9,getSalesLinks:D9,mirrorDomains:H9,organization:_9,socialLinks:B9,studyItems:R9},header:{getProfileMenuCartItem:K9,getProfileMenuHeadItems:V9,getProfileMenuItems:U9,getTopMenuItems:Q9}};function $9({cobranding:e,currentYear:t,forceGeoposition:o,landmarks:r,origin:n,onInteraction:i,slots:s,structuredData:a,vm:l}){const c=l.state.use();return u(y4,{...P9(c,t,{cobranding:e,content:r1.footer,forceGeoposition:o,landmarks:r,onInteraction:i,origin:n,slots:s,structuredData:a})})}const eA=180,tA=1e3*3600*24;function oA(e,t){return{isOnboardingButtonShown:e.isLoggedIn()&&aA(e),isPromoButtonShown:!e.isAgent&&!t.includes("/home-school")}}function rA(e,t){var o;return{showExternatButtons:(o=t.showExternatButtons)!=null?o:e===ci.EXTERNAT,showOnboardingButton:t.hideOnboardingButton!==!0&&e!==ci.EXTERNAT&&e!==ci.MEDIA}}function n1(e,t){var r;return(r=e.filter(({exact:n,url:i})=>i!=="/"&&Su(i,t,n===!0)).sort((n,i)=>i.url.length-n.url.length)[0])==null?void 0:r.id}const Mh=e=>e.toLowerCase().replace(/\/+$/,"");function Su(e,t,o=!1){const r=Mh(e).replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/:\w+/g,"[^/]+");return new RegExp(`^${r}${o?"$":"(?:/|$)"}`).test(Mh(t))}function nA(e,t){var o;return(o=e.filter(({exact:r,url:n})=>Su(n,t,r===!0)).pop())==null?void 0:o.id}function iA(e,t){var r;const o=(r=e.filter(({highlightMasks:n=[],url:i})=>[i,...n].some(s=>Su(s,t))).pop())==null?void 0:r.id;return o===void 0?{}:{activeSegmentId:o}}function sA(e,t,o){const r=e.filter(i=>i.contextOfUse===void 0||i.contextOfUse===o),n=nA(r,t);return{oneClickMenuItems:r.map(i=>({id:i.id,title:i.title,url:i.url})),...n===void 0?{}:{selectedOneClickMenuItemId:n}}}function aA(e){const t=e.onboardingFinishedAt;return t===null?!0:Math.ceil((Date.now()-new Date(t).getTime())/tA)>eA}const zh={agent:24,base:12},lA="/elementary/room";function i1(e,t,o){var a,l,c,d;const r=Tt.fromApi(t.user),n={hasBonusButton:r.type==="pupil",isLoggedIn:r.isLoggedIn(),onLogout:()=>{e.logout()},phone:t.contacts.phone},i=(a=o.contextOfUse)!=null?a:ci.PORTAL,s={contacts:t.contacts,onOpen:()=>{e.hideSupportButtonIndicator()},phone:(l=o.supportPhone)!=null?l:t.contacts.phone,showIndicator:((c=r.settings)==null?void 0:c.supportButtonIndicatorHidden)!==!0};return{...o.onInteraction===void 0?{}:{onInteraction:o.onInteraction},cobranding:o.cobranding,entryPanel:n,...o.externatFreeAccessLink===void 0?{}:{externatFreeAccessLink:o.externatFreeAccessLink},hasOneClickMenu:(d=o.hasOneClickMenu)!=null?d:!0,isLoggedIn:r.isLoggedIn(),...o.landmarks===void 0?{}:{landmarks:o.landmarks},menu:{...iA(t.segments,t.pathname),...oA(r,t.pathname),loading:t.loading,segments:t.segments.map(({highlightMasks:h,...f})=>f)},menuOpen:t.menuOpen,onMenuToggle:()=>e.toggleMenu(),...sA(t.oneClickItems,t.pathname,i),origin:o.origin,...r.isLoggedIn()?{showExternatButtons:!1,showOnboardingButton:!1}:rA(i,o),slots:o.slots,supportButton:s,userPanel:r.isLoggedIn()?dA(e,t,o.content):void 0}}function cA(e,{paymentsMarker:t,user:o}){const r=new Set;if((o.isParent||o.type==="pupil")&&r.add(D.PROFILE_MENU_LOGOUT),o.isParent){const n=e[e.findIndex(i=>i.id===D.PROFILE_MENU_SETTINGS)+1];n!==void 0&&r.add(n.id)}return e.map(n=>{const i=n.id===D.PROFILE_MENU_PAYMENTS&&t,s=r.has(n.id);return!i&&!s?n:{...n,...i?{isMarkerVisible:!0}:{},...s?{isSpacer:!0}:{}}})}const uA=e=>e===void 0?{}:{cartItem:e};function dA(e,t,o){var h,f,b,v,g;const r=Tt.fromApi(t.user),n=o.getTopMenuItems(r),i=(f=(h=r.settings)==null?void 0:h.pageBonusesVisited)!=null?f:!1,s=(v=(b=r.settings)==null?void 0:b.pageDashboardPaymentsVisited)!=null?v:!1,a=u(k9,{giftAmount:r.bonus.giftAmount,hasPaymentsInfoIndicator:!s,hasReferralsIndicator:!i,realMoneyAmount:r.bonus.realMoneyAmount}),l=u(A9,{isViewingAsPupil:t.viewingAsPupil,onOpenPupilList:()=>e.openPupilSelectMenu(),onSignOutFromPupil:()=>{e.signOutFromPupil()},pupilCount:t.pupils.length}),c=()=>e.closeProfileMenu(),d=r.isAgent?void 0:u(v9,{onClick:c,showMarker:!i});return{cartItemsCount:r.cartItemsCount,highlightedTopMenuItemId:n1(n,t.pathname),onProfileMenuClose:c,onProfileMenuToggle:()=>e.toggleProfileMenu(),onPupilSelectMenuClose:()=>e.closePupilSelectMenu(),onSelectPupil:p=>{e.selectPupil(p)},profileButtonMarker:r.bonus.giftAmount>0&&!i||r.bonus.realMoneyAmount>0&&!s,profileMenu:{bonusesSlot:d,...uA((g=o.getProfileMenuCartItem)==null?void 0:g.call(o,r,c)),headItems:o.getProfileMenuHeadItems(r,t.externalReviewsPageAvailable,c),headSpacing:r.isAgent?zh.agent:zh.base,items:cA(o.getProfileMenuItems(r,{onItemClick:c,onLogout:()=>{c(),e.logout()}}),{paymentsMarker:!s,user:r}),profileInfoSlot:a,pupilSelectSlot:l},profileMenuOpen:t.profileMenuOpen,pupilSelectMenuOpen:t.pupilSelectMenuOpen,pupils:t.pupils,topMenuItems:n.map(({exact:p,...m})=>m.id===D.TOP_MENU_ROOM?{...m,marker:r.hasUnseenRoomFeatures===!0&&t.pathname!==lA}:m),user:{avatarUrl:r.avatarUrl,name:r.firstName,parent:r.isParent,role:r.getRole()},variant:r.isElementaryPupil?"elementary":"base"}}function fA(e,t,o){return{...i1(e,t,o),activeMainMenuItemId:n1(t.mainMenu,t.pathname),mainMenu:t.mainMenu,onSectionsClose:()=>e.closeSections(),onSectionsToggle:()=>e.toggleSections(),sectionsOpen:t.sectionsOpen}}function pA({cobranding:e,contextOfUse:t,externatFreeAccessLink:o,hasOneClickMenu:r,hideOnboardingButton:n,landmarks:i,layout:s="base",onInteraction:a,origin:l,showExternatButtons:c,slots:d,supportPhone:h,vm:f}){const b=f.state.use(),v={cobranding:e,content:r1.header,contextOfUse:t,externatFreeAccessLink:o,hasOneClickMenu:r,hideOnboardingButton:n,landmarks:i,onInteraction:a,origin:l,showExternatButtons:c,slots:d,supportPhone:h};return s==="v2"?u(f9,{...fA(f,b,v)}):u(jk,{...i1(f,b,v)})}function s1(e,t){return function(){return e.apply(t,arguments)}}const{toString:hA}=Object.prototype,{getPrototypeOf:Or}=Object,{iterator:Tn,toStringTag:a1}=Symbol,zi=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),mn=(e,t)=>{let o=e;const r=[];for(;o!=null&&o!==Object.prototype;){if(r.indexOf(o)!==-1)return!1;if(r.push(o),zi(o,t))return!0;o=Or(o)}return!1},gA=(e,t)=>e!=null&&mn(e,t)?e[t]:void 0,Cu=(e=>t=>{const o=hA.call(t);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),qt=e=>(e=e.toLowerCase(),t=>Cu(t)===e),us=e=>t=>typeof t===e,{isArray:Jo}=Array,Er=us("undefined");function Br(e){return e!==null&&!Er(e)&&e.constructor!==null&&!Er(e.constructor)&&St(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const l1=qt("ArrayBuffer");function mA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&l1(e.buffer),t}const bA=us("string"),St=us("function"),c1=us("number"),Dr=e=>e!==null&&typeof e=="object",vA=e=>e===!0||e===!1,ui=e=>{if(!Dr(e))return!1;const t=Or(e);return(t===null||t===Object.prototype||Or(t)===null)&&!mn(e,a1)&&!mn(e,Tn)},yA=e=>{if(!Dr(e)||Br(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},xA=qt("Date"),wA=qt("File"),kA=e=>!!(e&&typeof e.uri<"u"),AA=e=>e&&typeof e.getParts<"u",SA=qt("Blob"),CA=qt("FileList"),OA=e=>Dr(e)&&St(e.pipe);function EA(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Hh=EA(),Bh=typeof Hh.FormData<"u"?Hh.FormData:void 0,PA=e=>{if(!e)return!1;if(Bh&&e instanceof Bh)return!0;const t=Or(e);if(!t||t===Object.prototype||!St(e.append))return!1;const o=Cu(e);return o==="formdata"||o==="object"&&St(e.toString)&&e.toString()==="[object FormData]"},TA=qt("URLSearchParams"),[RA,MA,zA,HA]=["ReadableStream","Request","Response","Headers"].map(qt),BA=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rn(e,t,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let r,n;if(typeof e!="object"&&(e=[e]),Jo(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(Br(e))return;const i=o?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(r=0;r<s;r++)a=i[r],t.call(null,e[a],a,e)}}function u1(e,t){if(Br(e))return null;t=t.toLowerCase();const o=Object.keys(e);let r=o.length,n;for(;r-- >0;)if(n=o[r],t===n.toLowerCase())return n;return null}const _o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d1=e=>!Er(e)&&e!==_o;function fc(...e){const{caseless:t,skipUndefined:o}=d1(this)&&this||{},r={},n=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=t&&typeof s=="string"&&u1(r,s)||s,l=zi(r,a)?r[a]:void 0;ui(l)&&ui(i)?r[a]=fc(l,i):ui(i)?r[a]=fc({},i):Jo(i)?r[a]=i.slice():(!o||!Er(i))&&(r[a]=i)};for(let i=0,s=e.length;i<s;i++){const a=e[i];if(!a||Br(a)||(Rn(a,n),typeof a!="object"||Jo(a)))continue;const l=Object.getOwnPropertySymbols(a);for(let c=0;c<l.length;c++){const d=l[c];qA.call(a,d)&&n(a[d],d)}}return r}const DA=(e,t,o,{allOwnKeys:r}={})=>(Rn(t,(n,i)=>{o&&St(n)?Object.defineProperty(e,i,{__proto__:null,value:s1(n,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),LA=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),_A=(e,t,o,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),o&&Object.assign(e.prototype,o)},IA=(e,t,o,r)=>{let n,i,s;const a={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)s=n[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=o!==!1&&Or(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},NA=(e,t,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=t.length;const r=e.indexOf(t,o);return r!==-1&&r===o},jA=e=>{if(!e)return null;if(Jo(e))return e;let t=e.length;if(!c1(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},XA=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Or(Uint8Array)),FA=(e,t)=>{const r=(e&&e[Tn]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},UA=(e,t)=>{let o;const r=[];for(;(o=e.exec(t))!==null;)r.push(o);return r},VA=qt("HTMLFormElement"),GA=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,r,n){return r.toUpperCase()+n}),{propertyIsEnumerable:qA}=Object.prototype,JA=qt("RegExp"),f1=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),r={};Rn(o,(n,i)=>{let s;(s=t(n,i,e))!==!1&&(r[i]=s||n)}),Object.defineProperties(e,r)},WA=e=>{f1(e,(t,o)=>{if(St(e)&&["arguments","caller","callee"].includes(o))return!1;const r=e[o];if(St(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},YA=(e,t)=>{const o={},r=n=>{n.forEach(i=>{o[i]=!0})};return Jo(e)?r(e):r(String(e).split(t)),o},QA=()=>{},ZA=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function KA(e){return!!(e&&St(e.append)&&e[a1]==="FormData"&&e[Tn])}const $A=e=>{const t=new WeakSet,o=r=>{if(Dr(r)){if(t.has(r))return;if(Br(r))return r;if(!("toJSON"in r)){t.add(r);const n=Jo(r)?[]:{};return Rn(r,(i,s)=>{const a=o(i);!Er(a)&&(n[s]=a)}),t.delete(r),n}}return r};return o(e)},eS=qt("AsyncFunction"),tS=e=>e&&(Dr(e)||St(e))&&St(e.then)&&St(e.catch),p1=((e,t)=>e?setImmediate:t?((o,r)=>(_o.addEventListener("message",({source:n,data:i})=>{n===_o&&i===o&&r.length&&r.shift()()},!1),n=>{r.push(n),_o.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",St(_o.postMessage)),oS=typeof queueMicrotask<"u"?queueMicrotask.bind(_o):typeof process<"u"&&process.nextTick||p1,h1=e=>e!=null&&St(e[Tn]),rS=e=>e!=null&&mn(e,Tn)&&h1(e),E={isArray:Jo,isArrayBuffer:l1,isBuffer:Br,isFormData:PA,isArrayBufferView:mA,isString:bA,isNumber:c1,isBoolean:vA,isObject:Dr,isPlainObject:ui,isEmptyObject:yA,isReadableStream:RA,isRequest:MA,isResponse:zA,isHeaders:HA,isUndefined:Er,isDate:xA,isFile:wA,isReactNativeBlob:kA,isReactNative:AA,isBlob:SA,isRegExp:JA,isFunction:St,isStream:OA,isURLSearchParams:TA,isTypedArray:XA,isFileList:CA,forEach:Rn,merge:fc,extend:DA,trim:BA,stripBOM:LA,inherits:_A,toFlatObject:IA,kindOf:Cu,kindOfTest:qt,endsWith:NA,toArray:jA,forEachEntry:FA,matchAll:UA,isHTMLForm:VA,hasOwnProperty:zi,hasOwnProp:zi,hasOwnInPrototypeChain:mn,getSafeProp:gA,reduceDescriptors:f1,freezeMethods:WA,toObjectSet:YA,toCamelCase:GA,noop:QA,toFiniteNumber:ZA,findKey:u1,global:_o,isContextDefined:d1,isSpecCompliantForm:KA,toJSONObject:$A,isAsyncFn:eS,isThenable:tS,setImmediate:p1,asap:oS,isIterable:h1,isSafeIterable:rS},nS=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),iS=e=>{const t={};let o,r,n;return e&&e.split(`
|
|
1033
|
-
`).forEach(function(s){n=s.indexOf(":"),o=s.substring(0,n).trim().toLowerCase(),r=s.substring(n+1).trim(),!(!o||t[o]&&nS[o])&&(o==="set-cookie"?t[o]?t[o].push(r):t[o]=[r]:t[o]=t[o]?t[o]+", "+r:r)}),t};function sS(e){let t=0,o=e.length;for(;t<o;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;o>t;){const r=e.charCodeAt(o-1);if(r!==9&&r!==32)break;o-=1}return t===0&&o===e.length?e:e.slice(t,o)}const aS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),lS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ou(e,t){return E.isArray(e)?e.map(o=>Ou(o,t)):sS(String(e).replace(t,""))}const cS=e=>Ou(e,aS),uS=e=>Ou(e,lS);function g1(e){const t=Object.create(null);return E.forEach(e.toJSON(),(o,r)=>{t[r]=uS(o)}),t}const Dh=Symbol("internals");function Xr(e){return e&&String(e).trim().toLowerCase()}function di(e){return e===!1||e==null?e:E.isArray(e)?e.map(di):cS(String(e))}function dS(e){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(e);)t[r[1]]=r[2];return t}const fS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $s(e,t,o,r,n){if(E.isFunction(r))return r.call(this,t,o);if(n&&(t=o),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function pS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,o,r)=>o.toUpperCase()+r)}function hS(e,t){const o=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+o,{__proto__:null,value:function(n,i,s){return this[r].call(this,t,n,i,s)},configurable:!0})})}let pt=class{constructor(t){t&&this.set(t)}set(t,o,r){const n=this;function i(a,l,c){const d=Xr(l);if(!d)return;const
|
|
1034
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...o){const r=new this(t);return o.forEach(n=>r.set(n)),r}static accessor(t){const r=(this[Dh]=this[Dh]={accessors:{}}).accessors,n=this.prototype;function i(s){const a=Xr(s);r[a]||(hS(n,s),r[a]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}};pt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(pt.prototype,({value:e},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[o]=r}}});E.freezeMethods(pt);const gS="[REDACTED ****]";function mS(e){if(E.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(E.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function bS(e,t){const o=new Set(t.map(i=>String(i).toLowerCase())),r=[],n=i=>{if(i===null||typeof i!="object"||E.isBuffer(i))return i;if(r.indexOf(i)!==-1)return;i instanceof pt&&(i=i.toJSON()),r.push(i);let s;if(E.isArray(i))s=[],i.forEach((a,l)=>{const c=n(a);E.isUndefined(c)||(s[l]=c)});else{if(!E.isPlainObject(i)&&mS(i))return r.pop(),i;s=Object.create(null);for(const[a,l]of Object.entries(i)){const c=o.has(a.toLowerCase())?gS:n(l);E.isUndefined(c)||(s[a]=c)}}return r.pop(),s};return n(e)}let X=class m1 extends Error{static from(t,o,r,n,i,s){const a=new m1(t.message,o||t.code,r,n,i);return Object.defineProperty(a,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),s&&Object.assign(a,s),a}constructor(t,o,r,n,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,o&&(this.code=o),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){const t=this.config,o=t&&E.hasOwnProp(t,"redact")?t.redact:void 0,r=E.isArray(o)&&o.length>0?bS(t,o):E.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};X.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";X.ERR_BAD_OPTION="ERR_BAD_OPTION";X.ECONNABORTED="ECONNABORTED";X.ETIMEDOUT="ETIMEDOUT";X.ECONNREFUSED="ECONNREFUSED";X.ERR_NETWORK="ERR_NETWORK";X.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";X.ERR_DEPRECATED="ERR_DEPRECATED";X.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";X.ERR_BAD_REQUEST="ERR_BAD_REQUEST";X.ERR_CANCELED="ERR_CANCELED";X.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";X.ERR_INVALID_URL="ERR_INVALID_URL";X.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const vS=null,b1=100;function pc(e){return E.isPlainObject(e)||E.isArray(e)}function v1(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function ea(e,t,o){return e?e.concat(t).map(function(n,i){return n=v1(n),!o&&i?"["+n+"]":n}).join(o?".":""):t}function yS(e){return E.isArray(e)&&!e.some(pc)}const xS=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function ds(e,t,o){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,o=E.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,C){return!E.isUndefined(C[y])});const r=o.metaTokens,n=o.visitor||v,i=o.dots,s=o.indexes,a=o.Blob||typeof Blob<"u"&&Blob,l=o.maxDepth===void 0?b1:o.maxDepth,c=a&&E.isSpecCompliantForm(t),d=[];if(!E.isFunction(n))throw new TypeError("visitor must be a function");function h(m){if(m===null)return"";if(E.isDate(m))return m.toISOString();if(E.isBoolean(m))return m.toString();if(!c&&E.isBlob(m))throw new X("Blob is not supported. Use a Buffer instead.");if(E.isArrayBuffer(m)||E.isTypedArray(m)){if(c&&typeof a=="function")return new a([m]);if(typeof Buffer<"u")return Buffer.from(m);throw new X("Blob is not supported. Use a Buffer instead.",X.ERR_NOT_SUPPORT)}return m}function f(m){if(m>l)throw new X("Object is too deeply nested ("+m+" levels). Max depth: "+l,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function b(m,y){if(l===1/0)return JSON.stringify(m);const C=[];return JSON.stringify(m,function(S,M){if(!E.isObject(M))return M;for(;C.length&&C[C.length-1]!==this;)C.pop();return C.push(M),f(y+C.length-1),M})}function v(m,y,C){let A=m;if(E.isReactNative(t)&&E.isReactNativeBlob(m))return t.append(ea(C,y,i),h(m)),!1;if(m&&!C&&typeof m=="object"){if(E.endsWith(y,"{}"))y=r?y:y.slice(0,-2),m=b(m,1);else if(E.isArray(m)&&yS(m)||(E.isFileList(m)||E.endsWith(y,"[]"))&&(A=E.toArray(m)))return y=v1(y),A.forEach(function(M,H){!(E.isUndefined(M)||M===null)&&t.append(s===!0?ea([y],H,i):s===null?y:y+"[]",h(M))}),!1}return pc(m)?!0:(t.append(ea(C,y,i),h(m)),!1)}const g=Object.assign(xS,{defaultVisitor:v,convertValue:h,isVisitable:pc});function p(m,y,C=0){if(!E.isUndefined(m)){if(f(C),d.indexOf(m)!==-1)throw new Error("Circular reference detected in "+y.join("."));d.push(m),E.forEach(m,function(S,M){(!(E.isUndefined(S)||S===null)&&n.call(t,S,E.isString(M)?M.trim():M,y,g))===!0&&p(S,y?y.concat(M):[M],C+1)}),d.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Lh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Eu(e,t){this._pairs=[],e&&ds(e,this,t)}const y1=Eu.prototype;y1.append=function(t,o){this._pairs.push([t,o])};y1.toString=function(t){const o=t?r=>t.call(this,r,Lh):Lh;return this._pairs.map(function(n){return o(n[0])+"="+o(n[1])},"").join("&")};function wS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function x1(e,t,o){if(!t)return e;e=e||"";const r=E.isFunction(o)?{serialize:o}:o,n=E.getSafeProp(r,"encode")||wS,i=E.getSafeProp(r,"serialize");let s;if(i?s=i(t,r):s=E.isURLSearchParams(t)?t.toString():new Eu(t,r).toString(n),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class _h{constructor(){this.handlers=[]}use(t,o,r){return this.handlers.push({fulfilled:t,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Pu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},kS=typeof URLSearchParams<"u"?URLSearchParams:Eu,AS=typeof FormData<"u"?FormData:null,SS=typeof Blob<"u"?Blob:null,CS={isBrowser:!0,classes:{URLSearchParams:kS,FormData:AS,Blob:SS},protocols:["http","https","file","blob","url","data"]},Tu=typeof window<"u"&&typeof document<"u",hc=typeof navigator=="object"&&navigator||void 0,OS=Tu&&(!hc||["ReactNative","NativeScript","NS"].indexOf(hc.product)<0),ES=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PS=Tu&&window.location.href||"http://localhost",TS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tu,hasStandardBrowserEnv:OS,hasStandardBrowserWebWorkerEnv:ES,navigator:hc,origin:PS},Symbol.toStringTag,{value:"Module"})),at={...TS,...CS};function RS(e,t){return ds(e,new at.classes.URLSearchParams,{visitor:function(o,r,n,i){return at.isNode&&E.isBuffer(o)?(this.append(r,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}const Ih=b1;function w1(e){if(e>Ih)throw new X("FormData field is too deeply nested ("+e+" levels). Max depth: "+Ih,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function MS(e){const t=[],o=/\w+|\[(\w*)]/g;let r;for(;(r=o.exec(e))!==null;)w1(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function zS(e){const t={},o=Object.keys(e);let r;const n=o.length;let i;for(r=0;r<n;r++)i=o[r],t[i]=e[i];return t}function k1(e){function t(o,r,n,i){w1(i);let s=o[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=i>=o.length;return s=!s&&E.isArray(n)?n.length:s,l?(E.hasOwnProp(n,s)?n[s]=E.isArray(n[s])?n[s].concat(r):[n[s],r]:n[s]=r,!a):((!E.hasOwnProp(n,s)||!E.isObject(n[s]))&&(n[s]=[]),t(o,r,n[s],i)&&E.isArray(n[s])&&(n[s]=zS(n[s])),!a)}if(E.isFormData(e)&&E.isFunction(e.entries)){const o={};return E.forEachEntry(e,(r,n)=>{t(MS(r),n,o,0)}),o}return null}const rr=(e,t)=>e!=null&&E.hasOwnProp(e,t)?e[t]:void 0;function HS(e,t,o){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(o||JSON.stringify)(e)}const Mn={transitional:Pu,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const r=o.getContentType()||"",n=r.indexOf("application/json")>-1,i=E.isObject(t);if(i&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return n?JSON.stringify(k1(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){const l=rr(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return RS(t,l).toString();if((a=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=rr(this,"env"),d=c&&c.FormData;return ds(a?{"files[]":t}:t,d&&new d,l)}}return i||n?(o.setContentType("application/json",!1),HS(t)):t}],transformResponse:[function(t){const o=rr(this,"transitional")||Mn.transitional,r=o&&o.forcedJSONParsing,n=rr(this,"responseType"),i=n==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(r&&!n||i)){const a=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(t,rr(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?X.from(l,X.ERR_BAD_RESPONSE,this,null,rr(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:at.classes.FormData,Blob:at.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch","query"],e=>{Mn.headers[e]={}});function ta(e,t){const o=this||Mn,r=t||o,n=pt.from(r.headers);let i=r.data;return E.forEach(e,function(a){i=a.call(o,i,n.normalize(),t?t.status:void 0)}),n.normalize(),i}function A1(e){return!!(e&&e.__CANCEL__)}let zn=class extends X{constructor(t,o,r){super(t==null?"canceled":t,X.ERR_CANCELED,o,r),this.name="CanceledError",this.__CANCEL__=!0}};function S1(e,t,o){const r=o.config.validateStatus;!o.status||!r||r(o.status)?e(o):t(new X("Request failed with status code "+o.status,o.status>=400&&o.status<500?X.ERR_BAD_REQUEST:X.ERR_BAD_RESPONSE,o.config,o.request,o))}function BS(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function DS(e,t){e=e||10;const o=new Array(e),r=new Array(e);let n=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[i];s||(s=c),o[n]=l,r[n]=c;let h=i,f=0;for(;h!==n;)f+=o[h++],h=h%e;if(n=(n+1)%e,n===i&&(i=(i+1)%e),c-s<t)return;const b=d&&c-d;return b?Math.round(f*1e3/b):void 0}}function LS(e,t){let o=0,r=1e3/t,n,i;const s=(c,d=Date.now())=>{o=d,n=null,i&&(clearTimeout(i),i=null),e(...c)};return[(...c)=>{const d=Date.now(),h=d-o;h>=r?s(c,d):(n=c,i||(i=setTimeout(()=>{i=null,s(n)},r-h)))},()=>n&&s(n)]}const Hi=(e,t,o=3)=>{let r=0;const n=DS(50,250);return LS(i=>{if(!i||typeof i.loaded!="number")return;const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=a!=null?Math.min(s,a):s,c=Math.max(0,l-r),d=n(c);r=Math.max(r,l);const h={loaded:l,total:a,progress:a?l/a:void 0,bytes:c,rate:d||void 0,estimated:d&&a?(a-l)/d:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},o)},Nh=(e,t)=>{const o=e!=null;return[r=>t[0]({lengthComputable:o,total:e,loaded:r}),t[1]]},jh=e=>(...t)=>E.asap(()=>e(...t)),_S=at.hasStandardBrowserEnv?((e,t)=>o=>(o=new URL(o,at.origin),e.protocol===o.protocol&&e.host===o.host&&(t||e.port===o.port)))(new URL(at.origin),at.navigator&&/(msie|trident)/i.test(at.navigator.userAgent)):()=>!0,IS=at.hasStandardBrowserEnv?{write(e,t,o,r,n,i,s){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];E.isNumber(o)&&a.push(`expires=${new Date(o).toUTCString()}`),E.isString(r)&&a.push(`path=${r}`),E.isString(n)&&a.push(`domain=${n}`),i===!0&&a.push("secure"),E.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let o=0;o<t.length;o++){const r=t[o].replace(/^\s+/,""),n=r.indexOf("=");if(n!==-1&&r.slice(0,n)===e)try{return decodeURIComponent(r.slice(n+1))}catch{return r.slice(n+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function NS(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function jS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const XS=/^https?:(?!\/\/)/i,FS=/[\t\n\r]/g;function US(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function VS(e){return US(e).replace(FS,"")}function Xh(e,t){if(typeof e=="string"&&XS.test(VS(e)))throw new X('Invalid URL: missing "//" after protocol',X.ERR_INVALID_URL,t)}function C1(e,t,o,r){Xh(t,r);let n=!NS(t);return e&&(n||o===!1)?(Xh(e,r),jS(e,t)):t}const Fh=e=>e instanceof pt?{...e}:e;function Wo(e,t){e=e||{},t=t||{};const o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(d,h,f,b){return E.isPlainObject(d)&&E.isPlainObject(h)?E.merge.call({caseless:b},d,h):E.isPlainObject(h)?E.merge({},h):E.isArray(h)?h.slice():h}function n(d,h,f,b){if(E.isUndefined(h)){if(!E.isUndefined(d))return r(void 0,d,f,b)}else return r(d,h,f,b)}function i(d,h){if(!E.isUndefined(h))return r(void 0,h)}function s(d,h){if(E.isUndefined(h)){if(!E.isUndefined(d))return r(void 0,d)}else return r(void 0,h)}function a(d){const h=E.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!E.isUndefined(h))if(E.isPlainObject(h)){if(E.hasOwnProp(h,d))return h[d]}else return;const f=E.hasOwnProp(e,"transitional")?e.transitional:void 0;if(E.isPlainObject(f)&&E.hasOwnProp(f,d))return f[d]}function l(d,h,f){if(E.hasOwnProp(t,f))return r(d,h);if(E.hasOwnProp(e,f))return r(void 0,d)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:l,headers:(d,h,f)=>n(Fh(d),Fh(h),f,!0)};return E.forEach(Object.keys({...e,...t}),function(h){if(h==="__proto__"||h==="constructor"||h==="prototype")return;const f=E.hasOwnProp(c,h)?c[h]:n,b=E.hasOwnProp(e,h)?e[h]:void 0,v=E.hasOwnProp(t,h)?t[h]:void 0,g=f(b,v,h);E.isUndefined(g)&&f!==l||(o[h]=g)}),E.hasOwnProp(t,"validateStatus")&&E.isUndefined(t.validateStatus)&&a("validateStatusUndefinedResolves")===!1&&(E.hasOwnProp(e,"validateStatus")?o.validateStatus=r(void 0,e.validateStatus):delete o.validateStatus),o}const GS=["content-type","content-length"];function qS(e,t,o){if(o!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,n])=>{GS.includes(r.toLowerCase())&&e.set(r,n)})}const JS=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,o)=>String.fromCharCode(parseInt(o,16)));function O1(e){const t=Wo({},e),o=f=>E.hasOwnProp(t,f)?t[f]:void 0,r=o("data");let n=o("withXSRFToken");const i=o("xsrfHeaderName"),s=o("xsrfCookieName");let a=o("headers");const l=o("auth"),c=o("baseURL"),d=o("allowAbsoluteUrls"),h=o("url");if(t.headers=a=pt.from(a),t.url=x1(C1(c,h,d,t),o("params"),o("paramsSerializer")),l){const f=E.getSafeProp(l,"username")||"",b=E.getSafeProp(l,"password")||"";try{a.set("Authorization","Basic "+btoa(f+":"+(b?JS(b):"")))}catch(v){throw X.from(v,X.ERR_BAD_OPTION_VALUE,e)}}if(E.isFormData(r)&&(at.hasStandardBrowserEnv||at.hasStandardBrowserWebWorkerEnv||E.isReactNative(r)?a.setContentType(void 0):E.isFunction(r.getHeaders)&&qS(a,r.getHeaders(),o("formDataHeaderPolicy"))),at.hasStandardBrowserEnv&&(E.isFunction(n)&&(n=n(t)),n===!0||n==null&&_S(t.url))){const b=i&&s&&IS.read(s);b&&a.set(i,b)}return t}const WS=typeof XMLHttpRequest<"u",YS=WS&&function(e){return new Promise(function(o,r){const n=O1(e);let i=n.data;const s=pt.from(n.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=n,d,h,f,b,v;function g(){b&&b(),v&&v(),n.cancelToken&&n.cancelToken.unsubscribe(d),n.signal&&n.signal.removeEventListener("abort",d)}let p=new XMLHttpRequest;p.open(n.method.toUpperCase(),n.url,!0),p.timeout=n.timeout;function m(){if(!p)return;const C=pt.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:C,config:e,request:p};S1(function(H){o(H),g()},function(H){r(H),g()},S),p=null}"onloadend"in p?p.onloadend=m:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.startsWith("file:"))||setTimeout(m)},p.onabort=function(){p&&(r(new X("Request aborted",X.ECONNABORTED,e,p)),g(),p=null)},p.onerror=function(A){const S=A&&A.message?A.message:"Network Error",M=new X(S,X.ERR_NETWORK,e,p);M.event=A||null,r(M),g(),p=null},p.ontimeout=function(){let A=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const S=n.transitional||Pu;n.timeoutErrorMessage&&(A=n.timeoutErrorMessage),r(new X(A,S.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,p)),g(),p=null},i===void 0&&s.setContentType(null),"setRequestHeader"in p&&E.forEach(g1(s),function(A,S){p.setRequestHeader(S,A)}),E.isUndefined(n.withCredentials)||(p.withCredentials=!!n.withCredentials),a&&a!=="json"&&(p.responseType=n.responseType),c&&([f,v]=Hi(c,!0),p.addEventListener("progress",f)),l&&p.upload&&([h,b]=Hi(l),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",b)),(n.cancelToken||n.signal)&&(d=C=>{p&&(r(!C||C.type?new zn(null,e,p):C),p.abort(),g(),p=null)},n.cancelToken&&n.cancelToken.subscribe(d),n.signal&&(n.signal.aborted?d():n.signal.addEventListener("abort",d)));const y=BS(n.url);if(y&&!at.protocols.includes(y)){r(new X("Unsupported protocol "+y+":",X.ERR_BAD_REQUEST,e)),g();return}p.send(i||null)})},QS=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const o=new AbortController;let r=!1;const n=function(l){if(!r){r=!0,s();const c=l instanceof Error?l:this.reason;o.abort(c instanceof X?c:new zn(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,n(new X(`timeout of ${t}ms exceeded`,X.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(n):l.removeEventListener("abort",n)}),e=null)};e.forEach(l=>l.addEventListener("abort",n,{once:!0}));const{signal:a}=o;return a.unsubscribe=()=>E.asap(s),a},ZS=function*(e,t){let o=e.byteLength;if(o<t){yield e;return}let r=0,n;for(;r<o;)n=r+t,yield e.slice(r,n),r=n},KS=async function*(e,t){for await(const o of $S(e))yield*ZS(o,t)},$S=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:o,value:r}=await t.read();if(o)break;yield r}}finally{await t.cancel()}},Uh=(e,t,o,r)=>{const n=KS(e,t);let i=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await n.next();if(c){a(),l.close();return}let h=d.byteLength;if(o){let f=i+=h;o(f)}l.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(l){return a(l),n.return()}},{highWaterMark:2})},Bi=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,eC=(e,t,o)=>t+2<o&&Bi(e.charCodeAt(t+1))&&Bi(e.charCodeAt(t+2));function tC(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const o=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(o)){let s=r.length;const a=r.length;for(let b=0;b<a;b++)if(r.charCodeAt(b)===37&&b+2<a){const v=r.charCodeAt(b+1),g=r.charCodeAt(b+2);Bi(v)&&Bi(g)&&(s-=2,b+=2)}let l=0,c=a-1;const d=b=>b>=2&&r.charCodeAt(b-2)===37&&r.charCodeAt(b-1)===51&&(r.charCodeAt(b)===68||r.charCodeAt(b)===100);c>=0&&(r.charCodeAt(c)===61?(l++,c--):d(c)&&(l++,c-=3)),l===1&&c>=0&&(r.charCodeAt(c)===61||d(c))&&l++;const f=Math.floor(s/4)*3-(l||0);return f>0?f:0}let i=0;for(let s=0,a=r.length;s<a;s++){const l=r.charCodeAt(s);if(l===37&&eC(r,s,a))i+=1,s+=2;else if(l<128)i+=1;else if(l<2048)i+=2;else if(l>=55296&&l<=56319&&s+1<a){const c=r.charCodeAt(s+1);c>=56320&&c<=57343?(i+=4,s++):i+=3}else i+=3}return i}const Ru="1.18.1",Vh=64*1024,{isFunction:Qn}=E,oC=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,o)=>String.fromCharCode(parseInt(o,16))),Gh=e=>{if(!E.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},qh=(e,...t)=>{try{return!!e(...t)}catch{return!1}},rC=e=>{const t=e.indexOf("://");let o=e;return t!==-1&&(o=o.slice(t+3)),o.includes("@")||o.includes(":")},nC=e=>{const t=E.global!==void 0&&E.global!==null?E.global:globalThis,{ReadableStream:o,TextEncoder:r}=t;e=E.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:n,Request:i,Response:s}=e,a=n?Qn(n):typeof fetch=="function",l=Qn(i),c=Qn(s);if(!a)return!1;const d=a&&Qn(o),h=a&&(typeof r=="function"?(m=>y=>m.encode(y))(new r):async m=>new Uint8Array(await new i(m).arrayBuffer())),f=l&&d&&qh(()=>{let m=!1;const y=new i(at.origin,{body:new o,method:"POST",get duplex(){return m=!0,"half"}}),C=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),m&&!C}),b=c&&d&&qh(()=>E.isReadableStream(new s("").body)),v={stream:b&&(m=>m.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!v[m]&&(v[m]=(y,C)=>{let A=y&&y[m];if(A)return A.call(y);throw new X(`Response type '${m}' is not supported`,X.ERR_NOT_SUPPORT,C)})});const g=async m=>{if(m==null)return 0;if(E.isBlob(m))return m.size;if(E.isSpecCompliantForm(m))return(await new i(at.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(E.isArrayBufferView(m)||E.isArrayBuffer(m))return m.byteLength;if(E.isURLSearchParams(m)&&(m=m+""),E.isString(m))return(await h(m)).byteLength},p=async(m,y)=>{const C=E.toFiniteNumber(m.getContentLength());return C==null?g(y):C};return async m=>{let{url:y,method:C,data:A,signal:S,cancelToken:M,timeout:H,onDownloadProgress:I,onUploadProgress:W,responseType:K,headers:V,withCredentials:te="same-origin",fetchOptions:He,maxContentLength:be,maxBodyLength:we}=O1(m);const Je=E.isNumber(be)&&be>-1,Se=E.isNumber(we)&&we>-1,ke=T=>E.hasOwnProp(m,T)?m[T]:void 0;let ot=n||fetch;K=K?(K+"").toLowerCase():"text";let Z=QS([S,M&&M.toAbortSignal()],H),fe=null;const N=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let j,U=null;const G=()=>new X("Request body larger than maxBodyLength limit",X.ERR_BAD_REQUEST,m,fe);try{let T;const oe=ke("auth");if(oe){const z=E.getSafeProp(oe,"username")||"",B=E.getSafeProp(oe,"password")||"";T={username:z,password:B}}if(rC(y)){const z=new URL(y,at.origin);if(!T&&(z.username||z.password)){const B=Gh(z.username),L=Gh(z.password);T={username:B,password:L}}(z.username||z.password)&&(z.username="",z.password="",y=z.href)}if(T&&(V.delete("authorization"),V.set("Authorization","Basic "+btoa(oC((T.username||"")+":"+(T.password||""))))),Je&&typeof y=="string"&&y.startsWith("data:")&&tC(y)>be)throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe);if(Se&&C!=="get"&&C!=="head"){const z=await g(A);if(typeof z=="number"&&isFinite(z)&&(j=z,z>we))throw G()}const _=Se&&(E.isReadableStream(A)||E.isStream(A)),de=(z,B,L)=>Uh(z,Vh,ne=>{if(Se&&ne>we)throw U=G();B&&B(ne)},L);if(f&&C!=="get"&&C!=="head"&&(W||_)){if(j=j==null?await p(V,A):j,j!==0||_){let z=new i(y,{method:"POST",body:A,duplex:"half"}),B;if(E.isFormData(A)&&(B=z.headers.get("content-type"))&&V.setContentType(B),z.body){const[L,ne]=W&&Nh(j,Hi(jh(W)))||[];A=de(z.body,L,ne)}}}else if(_&&!l&&d&&C!=="get"&&C!=="head")A=de(A);else if(_&&l&&!f&&C!=="get"&&C!=="head")throw new X("Stream request bodies are not supported by the current fetch implementation",X.ERR_NOT_SUPPORT,m,fe);E.isString(te)||(te=te?"include":"omit");const se=l&&"credentials"in i.prototype;if(E.isFormData(A)){const z=V.getContentType();z&&/^multipart\/form-data/i.test(z)&&!/boundary=/i.test(z)&&V.delete("content-type")}V.set("User-Agent","axios/"+Ru,!1);const ge={...He,signal:Z,method:C.toUpperCase(),headers:g1(V.normalize()),body:A,duplex:"half",credentials:se?te:void 0};fe=l&&new i(y,ge);let Y=await(l?ot(fe,He):ot(y,ge));const w=pt.from(Y.headers);if(Je){const z=E.toFiniteNumber(w.getContentLength());if(z!=null&&z>be)throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe)}const O=b&&(K==="stream"||K==="response");if(b&&Y.body&&(I||Je||O&&N)){const z={};["status","statusText","headers"].forEach(De=>{z[De]=Y[De]});const B=E.toFiniteNumber(w.getContentLength()),[L,ne]=I&&Nh(B,Hi(jh(I),!0))||[];let ae=0;const Ce=De=>{if(Je&&(ae=De,ae>be))throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe);L&&L(De)};Y=new s(Uh(Y.body,Vh,Ce,()=>{ne&&ne(),N&&N()}),z)}K=K||"text";let x=await v[E.findKey(v,K)||"text"](Y,m);if(Je&&!b&&!O){let z;if(x!=null&&(typeof x.byteLength=="number"?z=x.byteLength:typeof x.size=="number"?z=x.size:typeof x=="string"&&(z=typeof r=="function"?new r().encode(x).byteLength:x.length)),typeof z=="number"&&z>be)throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe)}return!O&&N&&N(),await new Promise((z,B)=>{S1(z,B,{data:x,headers:pt.from(Y.headers),status:Y.status,statusText:Y.statusText,config:m,request:fe})})}catch(T){if(N&&N(),Z&&Z.aborted&&Z.reason instanceof X){const oe=Z.reason;throw oe.config=m,fe&&(oe.request=fe),T!==oe&&Object.defineProperty(oe,"cause",{__proto__:null,value:T,writable:!0,enumerable:!1,configurable:!0}),oe}if(U)throw fe&&!U.request&&(U.request=fe),U;if(T instanceof X)throw fe&&!T.request&&(T.request=fe),T;if(T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)){const oe=new X("Network Error",X.ERR_NETWORK,m,fe,T&&T.response);throw Object.defineProperty(oe,"cause",{__proto__:null,value:T.cause||T,writable:!0,enumerable:!1,configurable:!0}),oe}throw X.from(T,T&&T.code,m,fe,T&&T.response)}}},iC=new Map,E1=e=>{let t=e&&e.env||{};const{fetch:o,Request:r,Response:n}=t,i=[r,n,o];let s=i.length,a=s,l,c,d=iC;for(;a--;)l=i[a],c=d.get(l),c===void 0&&d.set(l,c=a?new Map:nC(t)),d=c;return c};E1();const Mu={http:vS,xhr:YS,fetch:{get:E1}};E.forEach(Mu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Jh=e=>`- ${e}`,sC=e=>E.isFunction(e)||e===null||e===!1;function aC(e,t){e=E.isArray(e)?e:[e];const{length:o}=e;let r,n;const i={};for(let s=0;s<o;s++){r=e[s];let a;if(n=r,!sC(r)&&(n=Mu[(a=String(r)).toLowerCase()],n===void 0))throw new X(`Unknown adapter '${a}'`);if(n&&(E.isFunction(n)||(n=n.get(t))))break;i[a||"#"+s]=n}if(!n){const s=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=o?s.length>1?`since :
|
|
1032
|
+
`);function l9({children:e}){return e?u(t9,{id:D.SEARCH_PANEL_WRAPPER,children:e}):null}const c9={...ac,base:F.headerHeight.base,desktop:F.headerHeight.wide,oneClickMenu:ac.oneClickMenu-F.oneClickMenu.pullUp+F.oneClickMenu.paddingBottom,tablet:F.headerHeight.wide},u9=e=>{var s;const{entryPanel:t,isLoggedIn:o,slots:r,supportButton:n,userPanel:i}=e;return!o||!i?u(ue,{children:[r==null?void 0:r.beforeEntry,u(fn,{...t})]}):u(a9,{children:[n&&u(zw,{...n}),u(Vk,{count:(s=i.cartItemsCount)!=null?s:0}),r==null?void 0:r.platformChatButton,u(bu,{...i,profileMenu:{...i.profileMenu,bannerSlot:r==null?void 0:r.profileMenuBanner,cartItem:void 0},children:u(j7,{expanded:i.profileMenuOpen||i.pupilSelectMenuOpen,profileOpen:i.profileMenuOpen,marker:i.profileButtonMarker,onClick:i.onProfileMenuToggle,user:i.user})})]})},d9=e=>{const{hasOneClickMenu:t,hide:o,menuOpen:r,oneClickMenuItems:n=[],onSegmentItemClick:i,selectedOneClickMenuItemId:s}=e;return!t||n.length===0?null:u(r9,{$hide:o,children:u(Fm,{hide:o,isMenuOpen:r,items:n,onItemClick:i,selectedItemId:s})})},f9=e=>u(iu,{area:"header",layout:"v2",onInteraction:e.onInteraction,children:u(p9,{...e})}),p9=e=>{const t=re(),{activeMainMenuItemId:o,cobranding:r,hasOneClickMenu:n,isLoggedIn:i,landmarks:s,mainMenu:a=[],menu:l,menuOpen:c,offsetTop:d,onMenuToggle:g,onSectionsClose:f,onSectionsToggle:b,origin:v,sectionsOpen:p,slots:h,userPanel:m}=e,y={activeId:o,items:i?a:[],onItemClick:H=>{p&&H&&t({reason:"link",type:"sections.close"},H),f()},onSectionsToggle:b,open:p};Q7(p,f);const{searchPanel:C,sectionsBannerSide:A,sectionsBannerTop:S}=h!=null?h:{},M=Nm(n,e.oneClickMenuItems);return u(ls,{newBrand:!0,children:u(au,{origin:v,children:[h==null?void 0:h.background,u(l9,{children:C}),u(jm,{aboveMenu:h==null?void 0:h.aboveMenu,belowMenu:h==null?void 0:h.belowMenu,hasOneClickMenu:n,heights:c9,landmark:s,onBackgroundClick:c?()=>{var H;t({reason:"outside",type:"catalog.close"},{cause:"pointer",element:(H=document.getElementById(D.MENU_BUTTON))!=null?H:void 0}),g()}:void 0,oneClickMenuHidden:M,showBackground:!!(c||m!=null&&m.profileMenuOpen||m!=null&&m.pupilSelectMenuOpen),children:[u(e9,{"data-fxa-path":"site-header",id:"header",children:[u(o9,{id:D.HEADER_TOP,children:[u(n9,{children:[u(wu,{cobranding:r,origin:v}),u(i9,{children:u(L7,{active:c,onClick:g})})]}),u(s7,{...y}),u(s9,{children:[u(qk,{...e}),u(u9,{...e})]})]}),u(d9,{...e,hide:M}),u(W7,{...y,bannerSide:A,bannerTop:S})]}),u(B7,{...l,hasTabBar:y.items.length>0,onClose:g,open:c,topOffset:d})]}),u($7,{...y})]})})},AT=k.div(["position:fixed;inset:0;z-index:",";display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,0.4);"],tt.MODAL),ST=k.div(["position:relative;box-sizing:border-box;width:560px;max-width:100%;padding:24px;border-radius:12px;overflow:hidden;background:",";color:",";font-family:",";outline:none;"],({theme:e})=>e.colors["bg-onmain-primary"],({theme:e})=>e.colors["content-onmain-primary"],({theme:e})=>e.fonts.primary),h9=Qo(["from{transform:translateX(-100%);}to{transform:translateX(250%);}"]),CT=k.div(["position:absolute;top:0;left:0;height:4px;width:40%;background:",";animation:"," 1.5s ease-in-out infinite;@media (prefers-reduced-motion:reduce){left:30%;animation:none;}"],({theme:e})=>e.colors["bg-brand-primary-basic"],h9),OT=k.div(["margin-bottom:20px;text-align:center;font-family:",";font-size:18px;font-weight:700;line-height:1.4;"],({theme:e})=>e.fonts.heading),ET=k.div(["display:flex;align-items:center;gap:12px;@media (max-width:479px){flex-direction:column;}"]),PT=k.div(["display:flex;align-items:center;gap:12px;box-sizing:border-box;flex:1;min-width:0;padding:12px;border-radius:8px;background:",";@media (max-width:479px){width:100%;}"],({$active:e,theme:t})=>t.colors[e?"bg-onmain-secondary":"bg-oncolor-hover"]),TT=k.div(["min-width:0;font-size:16px;line-height:1.4;"]),RT=k.div(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),MT=k.div(["color:",";font-size:14px;"],({theme:e})=>e.colors["content-onmain-tertiary"]),zT=k.span(["display:flex;flex:none;@media (max-width:479px){transform:rotate(90deg);}"]),g9=k.div(["position:fixed;z-index:",";top:24px;left:50%;transform:translateX(-50%);box-sizing:border-box;display:flex;align-items:center;gap:16px;width:560px;max-width:calc(100% - 32px);padding:16px;border:1px solid ",";border-radius:12px;background:",";color:",";font-family:",";font-size:16px;line-height:1.4;"],tt.MODAL,({theme:e})=>e.colors["border-onmain-default-small"],({theme:e})=>e.colors["bg-onmain-primary"],({theme:e})=>e.colors["content-onmain-primary"],({theme:e})=>e.fonts.primary),m9=k.button(["flex:none;margin-left:auto;padding:8px;border:none;border-radius:8px;background:",";color:inherit;font:inherit;cursor:pointer;"],({theme:e})=>e.colors["bg-onmain-secondary"]);function HT({message:e,onClose:t}){return u(ls,{children:u(g9,{children:[u("span",{role:"alert",children:e}),u(m9,{"aria-label":"Закрыть сообщение об ошибке",onClick:t,type:"button",children:"Закрыть"})]})})}const Km=k.div(["display:inline-flex;position:relative;",""],({$isMarkerVisible:e,theme:t})=>e&&R(["&:after{content:'';position:absolute;top:-4px;right:-5px;background-color:",";box-shadow:0 0 4px ",";width:8px;height:8px;border-radius:50%;}"],t.colors.orangePeel,t.colors.orangePeel)),$m=k.span(["display:inline-block;padding-left:16px;font-size:16px;line-height:1.5;color:",";"],({theme:e})=>e.colors.mineShaft),b9=k(ze)(["display:flex;padding-top:6px;padding-bottom:6px;&:hover{"," > *,","{color:",";}}"],Km,$m,({theme:e})=>e.colors.accent);function v9({onClick:e,showMarker:t=!1,url:o="/referrals"}){const r=re();return u(b9,{"data-fxa-action":"open","data-fxa-path":"bonuses",href:o,onClick:n=>{r({item:{id:"bonuses",url:o},type:"profile.item.activate"},$(n)),e==null||e()},target:"_blank",children:[u(Km,{$isMarkerVisible:t,children:u(_e,{color:"mineShaft",name:"giftBox",size:20})}),u($m,{children:"Бонусы за друга"}),u(Yx,{borderRadius:4,cursor:"pointer",icon:[null,"foxCoins"],iconProps:{size:12},marginLeft:"auto",size:"s",textProps:{marginTop:2},children:"+5 000"})]})}const y9=k.div(["margin-bottom:16px;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;"]),x9=k(ze)(["position:relative;padding:4px 8px;border-radius:8px;background:",";:hover{[class*='Amount']{transition:color 0.3s;color:",";}}"],({theme:e})=>e.colors["bg-onmain-secondary"],({theme:e})=>e.colors.accent),w9=k(Ko)(["position:absolute;top:0;right:0;"]);function Th({currency:e,hasIndicator:t=!1,isRealMoney:o=!1,name:r,onClick:n,url:i,value:s}){const a=re(),l=o?"real-money":"bonuses";return u(x9,{"data-fxa-action":"open","data-fxa-path":l,href:i,onClick:c=>{a({item:{id:l,url:i},type:"profile.item.activate"},$(c)),n==null||n()},children:[u(xe,{color:"content-onmain-secondary",size:12,children:r}),u(ai,{currency:o?e:void 0,size:14,value:s,weight:"bold"}),!o&&u(_e,{marginLeft:4,name:"foxCoins",vAlign:"middle"}),t&&u(w9,{secondary:!0,size:"m"})]})}function k9({giftAmount:e=0,hasPaymentsInfoIndicator:t=!1,hasReferralsIndicator:o=!1,realCurrency:r,realMoneyAmount:n=0}){return e<=0&&n<=0?null:u(y9,{children:[e>0&&u(Th,{hasIndicator:o,name:"Фоксики",url:"/referrals",value:e}),n>0&&u(Th,{currency:r,hasIndicator:t,isRealMoney:!0,name:"Внутренний счёт",url:"/account/payments_info",value:n})]})}function A9({isViewingAsPupil:e=!1,onOpenPupilList:t,onSignOutFromPupil:o,pupilCount:r=0}){const n=re();return r>0&&r<7?u("div",{children:[u(Vt,{base:!0,black:!0,fluid:!0,icon:"switchVertical",id:"pupil-select-button","data-fxa-path":"pupil-menu",onClick:i=>{n({type:"pupil-menu.open"},$(i)),t==null||t()},preset:"brand",size:"s",textProps:{size:14,weight:"normal"},children:"Войти как ученик"}),u(Lt,{bottom:20})]}):e?u("div",{children:[u(Vt,{base:!0,black:!0,fluid:!0,icon:"switchVertical","data-fxa-path":"parent-account",onClick:i=>{n({type:"account.parent.select"},$(i)),o==null||o()},preset:"brand",size:"s",textProps:{size:14,weight:"normal"},children:"Войти как родитель"}),u(Lt,{bottom:20})]}):null}function S9(e){const t=e.replace(/\D/g,"");return t.length===11&&(t.startsWith("8")||t.startsWith("7"))?`+7${t.slice(1)}`:t.length===10?`+7${t}`:e}function Rh(e,t){return e===void 0||e===""?[]:[{"@type":"ContactPoint",areaServed:"RU",availableLanguage:"Russian",contactType:t,telephone:S9(e)}]}function C9(e,t,o){const r=[...Rh(t.salesPhone,"sales"),...Rh(t.phone,"customer support")],n=o.map(i=>i.href);return{"@context":"https://schema.org","@type":"Organization",logo:e.logo,name:e.name,url:e.url,...t.email===void 0||t.email===""?{}:{email:t.email},...r.length===0?{}:{contactPoint:r},...n.length===0?{}:{sameAs:n}}}const O9="/home-school";function E9(e,{content:t,structuredData:o},r){if(!(o!==!0||r||t.organization===void 0))return C9(t.organization,e.contacts,t.socialLinks)}function P9(e,t,o){var l;const{content:r}=o,n=(l=o.origin)!=null?l:typeof window>"u"?"":window.location.origin,i=o.forceGeoposition===!0||r.geoUrls.includes(n)||e.pathname===O9,s=r.mirrorDomains.some(c=>n.includes(c)),a=E9(e,o,s);return{...o.onInteraction===void 0?{}:{onInteraction:o.onInteraction},aboutItems:r.aboutItems,appLinks:r.getAppLinks(n),cities:i?r.cities:[],cobranding:o.cobranding,contacts:s?{}:e.contacts,currentCityValue:n,currentYear:t,freeItems:r.freeItems,...a===void 0?{}:{jsonLd:a},...o.landmarks===void 0?{}:{landmarks:o.landmarks},onSelectCity:i?c=>window.location.assign(c):void 0,origin:n,salesLinks:r.getSalesLinks(e.user.id),slots:o.slots,socialLinks:r.socialLinks,studyItems:r.studyItems}}const T9=[{id:"about",text:"О Фоксфорде",url:"/about"},{id:"contacts",text:"Контакты",url:"/contacts"},{id:"teachers",text:"Наши преподаватели",url:"/teachers"},{id:"reviews",text:"Отзывы о Фоксфорде",url:"/reviews"},{id:"partner",text:"Партнерская программа",url:"https://partner.foxford.ru/webmaster"},{id:"legal",text:"Правовая информация",url:"/legal/general"},{id:"official-info",text:"Сведения об образовательной организации",url:"/official_info"},{id:"jobs",isSpacer:!0,text:"Вакансии",url:"https://jobs.foxford.ru"},{id:"tutor",text:"Стать репетитором",url:"https://team.foxford.ru/"}],R9=[{id:"ege",text:"ЕГЭ",url:"https://foxford.ru/ege"},{id:"oge",text:"ОГЭ",url:"https://foxford.ru/oge"},{id:"coach-courses",text:"Занятия с репетитором",url:"/catalog/coach_courses"},{id:"coach-catalog",text:"Каталог репетиторов",url:"/repetitory"},{id:"mini-groups",text:"Занятия в группах",url:"/catalog/mini_groups"},{id:"product-packs",text:"Комплекты занятий",url:"/catalog/product_packs"},{id:"languages",text:"Английский язык",url:"/levels/languages"},{id:"programming",text:"Школа программирования",url:"/programming"},{id:"home-school",text:"Домашняя школа",url:"/home-school"},{id:"teacher-courses",isSpacer:!0,text:"Курсы для учителей",url:"https://teacher.foxford.ru/"}],M9=[{id:"wiki",text:"Учебник",url:"/wiki"},{id:"prof",text:"Профориентация",url:"https://prof.foxford.ru/"},{id:"events",text:"Вебинары",url:"/catalog/events/buduschie"},{id:"media",text:'Журнал "Сила Лиса"',url:"https://media.foxford.ru/"},{id:"externat",text:'Журнал "Дневник Лиса"',url:"https://externat.foxford.ru/"}],e1=[{name:"Москва",value:"https://foxford.ru/home-school"},{name:"Ростов-на-Дону",value:"https://rostov.foxford.ru"},{name:"Краснодар",value:"https://krasnodar.foxford.ru"},{name:"Челябинск",value:"https://chelyabinsk.foxford.ru"},{name:"Пермь",value:"https://perm.foxford.ru"},{name:"Самара",value:"https://samara.foxford.ru"},{name:"Екатеринбург",value:"https://ekb.foxford.ru"},{name:"Казань",value:"https://kazan.foxford.ru"},{name:"Нижний Новгород",value:"https://nn.foxford.ru"},{name:"Санкт-Петербург",value:"https://spb.foxford.ru"},{name:"Красноярск",value:"https://spb.foxford.ru"},{name:"Новосибирск",value:"https://nsk.foxford.ru"},{name:"Кемерово",value:"https://kemerovo.foxford.ru"},{name:"Тюмень",value:"https://tyumen.foxford.ru"},{name:"Барнаул",value:"https://barnaul.foxford.ru"},{name:"Омск",value:"https://omsk.foxford.ru"},{name:"Ижевск",value:"https://izhevsk.foxford.ru"},{name:"Ставрополь",value:"https://stavropol.foxford.ru"}],z9=[...e1.map(e=>e.value),"/home-school"],H9=["foxford-school.com"],B9=[{href:"https://vk.ru/foxford_edu",iconName:"vkSocial",id:"vk"},{href:"https://ok.ru/foxfordege",iconName:"okSocial",id:"ok"},{href:"https://www.youtube.com/foxfordru",iconName:"youtubeAltSocial",id:"youtube"},{href:"https://telegram.me/foxford_edu",iconName:"telegramSocial",id:"telegram"}];function D9(e){const t=e===null?"hello":`id${e}`;return[{href:`https://telegram.me/foxford_ege_bot?start=fox${t}`,iconName:"telegramSocial",id:"telegram"},{href:`https://max.ru/foxford_bot?start=fox${t}`,iconName:"maxSocial",id:"max"}]}function L9(e){const t=o=>`${e}/mobileapp-redirect?${new URLSearchParams({utm_campaign:o,utm_content:"footer",utm_medium:"website",utm_source:"foxford_ru"}).toString()}`;return{desktop:t("desktop-web"),mobile:t("mobile-web")}}const _9={logo:"https://assets-foxford-ru.ngcdn.ru/assets/webpack/images/foxford.65b4d7fe.svg",name:"Фоксфорд",url:"https://foxford.ru"},hn=e=>!e.isParent,dc=e=>e.isParent,Mi={icon:"filter",id:D.PROFILE_MENU_SETTINGS,title:"Настройки профиля",url:"/account"},t1={icon:"users",id:D.PROFILE_MENU_FAMILY,isHidden:hn,title:"Семья",url:"/dashboard/family"},o1={icon:"books",id:D.PROFILE_MENU_EXTERNSHIP_ELEMENTARY,title:"Домашняя школа",url:"/dashboard/externship"},gn={icon:"wallet",id:D.PROFILE_MENU_PAYMENTS,title:"Баланс и платежи",url:"/dashboard/payments"},I9=[{...Mi,isHidden:dc},t1,{...gn,isHidden:hn},{...Mi,isHidden:hn},{icon:"student",id:D.PROFILE_MENU_ATTESTATION,isHidden:e=>!e.purchaseAnyExternshipContracts&&!e.hasExternshipAttestationAccess,title:"Аттестация",url:"/dashboard/attestation"},{icon:"presentation",id:D.PROFILE_MENU_PROGRESS,title:"Успеваемость",url:"/dashboard/progress"},{...gn,isHidden:dc},o1,{icon:"fileTick",id:D.PROFILE_MENU_MY_TRIAL_EXAMS,isHidden:e=>!e.hasAttemptsSolveExamRehearsals,title:"Мои пробники",url:"/trial-exams/my"},{id:D.PROFILE_MENU_BONUSES,title:"Фоксики"},{icon:"rocket",id:D.PROFILE_MENU_ACHIEVEMENTS,title:"Достижения"},{icon:"logOut",id:D.PROFILE_MENU_LOGOUT,title:"Выйти из аккаунта"}],N9=[t1,{...gn,isHidden:hn},Mi,{icon:"textNote",id:D.PROFILE_MENU_ELEMENTARY_PLAN,title:"План на сегодня",url:"/elementary/dashboard/daily-plan"},{icon:"bookOpen",id:D.PROFILE_MENU_OBJECTIVES,title:"Задания",url:"/dashboard/objectives"},{icon:"student",id:D.PROFILE_MENU_ATTESTATION,isHidden:e=>!e.purchaseAnyExternshipContracts&&!e.hasExternshipAttestationAccess,title:"Аттестация",url:"/dashboard/attestation"},{icon:"presentation",id:D.PROFILE_MENU_PROGRESS,title:"Успеваемость",url:"/dashboard/progress"},{icon:"code",id:D.PROFILE_MENU_LABORATORY,isHidden:e=>e.isLabsEnabled!==!0,title:"Лаборатория",url:"/elementary/dashboard/laboratory"},{...gn,isHidden:dc},{icon:"percentage",id:D.PROFILE_MENU_PROMOS_ELEMENTARY,title:"Скидки и рекомендации",url:"/elementary/dashboard/promos"},o1,{icon:"people",id:D.PROFILE_MENU_SOCIALIZATION,isHidden:e=>{var t;return e.isParent||e.isAgent||!e.hasPurchasedExternshipContracts||((t=e.socializationProfile)==null?void 0:t.state)!=="active"},title:"Найти друзей",url:"/elementary/dashboard/socialization"},{icon:"people",id:D.SOCIALIZATION_LANDING,isHidden:e=>e.isParent||e.isAgent||!e.hasPurchasedExternshipContracts||e.socializationProfile!==void 0&&e.socializationProfile!==null&&e.socializationProfile.state!=="draft",title:"Найти друзей",url:"/elementary/dashboard/socialization-landing"},{id:D.PROFILE_MENU_BONUSES,title:"Фоксики"},{icon:"rocket",id:D.PROFILE_MENU_ACHIEVEMENTS,title:"Достижения"},{icon:"files",id:D.PROFILE_MENU_DIGITAL_PORTFOLIO,title:"Документы",url:"/elementary/dashboard/digital-portfolio"},{icon:"logOut",id:D.PROFILE_MENU_LOGOUT,title:"Выйти из аккаунта"}],j9=[{...gn,isHidden:hn},Mi,{icon:"rocket",id:D.PROFILE_MENU_ACHIEVEMENTS,title:"Достижения"},{icon:"logOut",id:D.PROFILE_MENU_LOGOUT,title:"Выйти из аккаунта"}],X9={icon:"squareCheck",id:D.PROFILE_MENU_ONBOARDING,title:"Подобрать занятия",url:"/onboarding?chat=1"},F9={icon:"gift",id:D.PROFILE_MENU_EXTERNAL_REVIEWS,title:"Подарок за отзыв",url:"/reviews/external"};function U9(e,t){return(e.isElementaryPupil?N9:e.isAgent?j9:I9).filter(r=>{var n;return((n=r.isHidden)==null?void 0:n.call(r,e))!==!0}).map(({isHidden:r,...n})=>({...n,onClick:n.id===D.PROFILE_MENU_LOGOUT?t.onLogout:t.onItemClick,url:n.id===D.PROFILE_MENU_ACHIEVEMENTS?G9(e):n.url}))}function V9(e,t,o){const r=[];return e.isCoach||r.push(X9),t&&r.push(F9),r.map(n=>({...n,onClick:o}))}function G9(e){return typeof e.id=="number"?`/users/${e.id}`:"/"}const q9=[{icon:"textNote",id:D.TOP_MENU_PLAN,title:"Главная",url:"/dashboard/daily-plan"},{icon:"calendar",id:D.TOP_MENU_CALENDAR,title:"Расписание",url:"/dashboard/calendar"},{icon:"cart",id:D.TOP_MENU_CART,title:"Корзина",url:"/checkout"},{icon:"giftBox",id:D.TOP_MENU_REFERRALS,title:"Бонусы за друга",url:"/referrals"}],J9=[{icon:"elementaryMain",id:D.TOP_MENU_DASHBOARD,title:"Главная",url:"/elementary/dashboard"},{icon:"elementaryLessons",id:D.TOP_MENU_ELEMENTARY_COURSES,title:"Занятия",url:"/elementary/courses"},{icon:"elementaryCalendar",id:D.TOP_MENU_CALENDAR,title:"Расписание",url:"/elementary/dashboard/calendar"},{icon:"elementaryRoom",id:D.TOP_MENU_ROOM,title:"Комната",url:"/elementary/room"},{icon:"elementaryExternship",id:D.TOP_MENU_EXTERNSHIP,title:"Школа",url:"/dashboard/externship"},{icon:"elementaryCatalog",id:D.TOP_MENU_CATALOG,title:"Каталог",url:"/catalog"}],W9=[{exact:!0,icon:"houseEmpty",id:D.TOP_MENU_DASHBOARD,title:"Кабинет",url:"/teacher-dashboard"},{icon:"cart",id:D.TOP_MENU_CART,title:"Корзина",url:"/checkout"}],Y9=[{exact:!0,icon:"houseEmpty",id:D.TOP_MENU_DASHBOARD,title:"Главная",url:"/teacher-dashboard"},{icon:"cart",id:D.TOP_MENU_CART,title:"Корзина",url:"/checkout"}];function Q9(e){return e.isElementaryPupil?J9:e.isAgent?e.isCoach||e.isMiniGroupTeacher?W9:Y9:q9}const Z9={icon:"cart",id:D.PROFILE_MENU_CART,title:"Корзина",url:"/checkout"};function K9(e,t){return e.isElementaryPupil?{...Z9,onClick:t}:void 0}const r1={footer:{aboutItems:T9,cities:e1,freeItems:M9,geoUrls:z9,getAppLinks:L9,getSalesLinks:D9,mirrorDomains:H9,organization:_9,socialLinks:B9,studyItems:R9},header:{getProfileMenuCartItem:K9,getProfileMenuHeadItems:V9,getProfileMenuItems:U9,getTopMenuItems:Q9}};function $9({cobranding:e,currentYear:t,forceGeoposition:o,landmarks:r,origin:n,onInteraction:i,slots:s,structuredData:a,vm:l}){const c=l.state.use();return u(y4,{...P9(c,t,{cobranding:e,content:r1.footer,forceGeoposition:o,landmarks:r,onInteraction:i,origin:n,slots:s,structuredData:a})})}const eA=180,tA=1e3*3600*24;function oA(e,t){return{isOnboardingButtonShown:e.isLoggedIn()&&aA(e),isPromoButtonShown:!e.isAgent&&!t.includes("/home-school")}}function rA(e,t){var o;return{showExternatButtons:(o=t.showExternatButtons)!=null?o:e===ci.EXTERNAT,showOnboardingButton:t.hideOnboardingButton!==!0&&e!==ci.EXTERNAT&&e!==ci.MEDIA}}function n1(e,t){var r;return(r=e.filter(({exact:n,url:i})=>i!=="/"&&Su(i,t,n===!0)).sort((n,i)=>i.url.length-n.url.length)[0])==null?void 0:r.id}const Mh=e=>e.toLowerCase().replace(/\/+$/,"");function Su(e,t,o=!1){const r=Mh(e).replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/:\w+/g,"[^/]+");return new RegExp(`^${r}${o?"$":"(?:/|$)"}`).test(Mh(t))}function nA(e,t){var o;return(o=e.filter(({exact:r,url:n})=>Su(n,t,r===!0)).pop())==null?void 0:o.id}function iA(e,t){var r;const o=(r=e.filter(({highlightMasks:n=[],url:i})=>[i,...n].some(s=>Su(s,t))).pop())==null?void 0:r.id;return o===void 0?{}:{activeSegmentId:o}}function sA(e,t,o){const r=e.filter(i=>i.contextOfUse===void 0||i.contextOfUse===o),n=nA(r,t);return{oneClickMenuItems:r.map(i=>({id:i.id,title:i.title,url:i.url})),...n===void 0?{}:{selectedOneClickMenuItemId:n}}}function aA(e){const t=e.onboardingFinishedAt;return t===null?!0:Math.ceil((Date.now()-new Date(t).getTime())/tA)>eA}const zh={agent:24,base:12},lA="/elementary/room";function i1(e,t,o){var a,l,c,d;const r=Tt.fromApi(t.user),n={hasBonusButton:r.type==="pupil",isLoggedIn:r.isLoggedIn(),onLogout:()=>{e.logout()},phone:t.contacts.phone},i=(a=o.contextOfUse)!=null?a:ci.PORTAL,s={contacts:t.contacts,onOpen:()=>{e.hideSupportButtonIndicator()},phone:(l=o.supportPhone)!=null?l:t.contacts.phone,showIndicator:((c=r.settings)==null?void 0:c.supportButtonIndicatorHidden)!==!0};return{...o.onInteraction===void 0?{}:{onInteraction:o.onInteraction},cobranding:o.cobranding,entryPanel:n,...o.externatFreeAccessLink===void 0?{}:{externatFreeAccessLink:o.externatFreeAccessLink},hasOneClickMenu:(d=o.hasOneClickMenu)!=null?d:!0,isLoggedIn:r.isLoggedIn(),...o.landmarks===void 0?{}:{landmarks:o.landmarks},menu:{...iA(t.segments,t.pathname),...oA(r,t.pathname),loading:t.loading,segments:t.segments.map(({highlightMasks:g,...f})=>f)},menuOpen:t.menuOpen,onMenuToggle:()=>e.toggleMenu(),...sA(t.oneClickItems,t.pathname,i),origin:o.origin,...r.isLoggedIn()?{showExternatButtons:!1,showOnboardingButton:!1}:rA(i,o),slots:o.slots,supportButton:s,userPanel:r.isLoggedIn()?dA(e,t,o.content):void 0}}function cA(e,{paymentsMarker:t,user:o}){const r=new Set;if((o.isParent||o.type==="pupil")&&r.add(D.PROFILE_MENU_LOGOUT),o.isParent){const n=e[e.findIndex(i=>i.id===D.PROFILE_MENU_SETTINGS)+1];n!==void 0&&r.add(n.id)}return e.map(n=>{const i=n.id===D.PROFILE_MENU_PAYMENTS&&t,s=r.has(n.id);return!i&&!s?n:{...n,...i?{isMarkerVisible:!0}:{},...s?{isSpacer:!0}:{}}})}const uA=e=>e===void 0?{}:{cartItem:e};function dA(e,t,o){var g,f,b,v,p;const r=Tt.fromApi(t.user),n=o.getTopMenuItems(r),i=(f=(g=r.settings)==null?void 0:g.pageBonusesVisited)!=null?f:!1,s=(v=(b=r.settings)==null?void 0:b.pageDashboardPaymentsVisited)!=null?v:!1,a=u(k9,{giftAmount:r.bonus.giftAmount,hasPaymentsInfoIndicator:!s,hasReferralsIndicator:!i,realMoneyAmount:r.bonus.realMoneyAmount}),l=u(A9,{isViewingAsPupil:t.viewingAsPupil,onOpenPupilList:()=>e.openPupilSelectMenu(),onSignOutFromPupil:()=>{e.signOutFromPupil()},pupilCount:t.pupils.length}),c=()=>e.closeProfileMenu(),d=r.isAgent?void 0:u(v9,{onClick:c,showMarker:!i});return{cartItemsCount:r.cartItemsCount,highlightedTopMenuItemId:n1(n,t.pathname),onProfileMenuClose:c,onProfileMenuToggle:()=>e.toggleProfileMenu(),onPupilSelectMenuClose:()=>e.closePupilSelectMenu(),onSelectPupil:h=>{e.selectPupil(h)},profileButtonMarker:r.bonus.giftAmount>0&&!i||r.bonus.realMoneyAmount>0&&!s,profileMenu:{bonusesSlot:d,...uA((p=o.getProfileMenuCartItem)==null?void 0:p.call(o,r,c)),headItems:o.getProfileMenuHeadItems(r,t.externalReviewsPageAvailable,c),headSpacing:r.isAgent?zh.agent:zh.base,items:cA(o.getProfileMenuItems(r,{onItemClick:c,onLogout:()=>{c(),e.logout()}}),{paymentsMarker:!s,user:r}),profileInfoSlot:a,pupilSelectSlot:l},profileMenuOpen:t.profileMenuOpen,pupilSelectMenuOpen:t.pupilSelectMenuOpen,pupils:t.pupils,topMenuItems:n.map(({exact:h,...m})=>m.id===D.TOP_MENU_ROOM?{...m,marker:r.hasUnseenRoomFeatures===!0&&t.pathname!==lA}:m),user:{avatarUrl:r.avatarUrl,name:r.firstName,parent:r.isParent,role:r.getRole()},variant:r.isElementaryPupil?"elementary":"base"}}function fA(e,t,o){return{...i1(e,t,o),activeMainMenuItemId:n1(t.mainMenu,t.pathname),mainMenu:t.mainMenu,onSectionsClose:()=>e.closeSections(),onSectionsToggle:()=>e.toggleSections(),sectionsOpen:t.sectionsOpen}}function pA({cobranding:e,contextOfUse:t,externatFreeAccessLink:o,hasOneClickMenu:r,hideOnboardingButton:n,landmarks:i,layout:s="base",onInteraction:a,origin:l,showExternatButtons:c,slots:d,supportPhone:g,vm:f}){const b=f.state.use(),v={cobranding:e,content:r1.header,contextOfUse:t,externatFreeAccessLink:o,hasOneClickMenu:r,hideOnboardingButton:n,landmarks:i,onInteraction:a,origin:l,showExternatButtons:c,slots:d,supportPhone:g};return s==="v2"?u(f9,{...fA(f,b,v)}):u(jk,{...i1(f,b,v)})}function s1(e,t){return function(){return e.apply(t,arguments)}}const{toString:hA}=Object.prototype,{getPrototypeOf:Or}=Object,{iterator:Tn,toStringTag:a1}=Symbol,zi=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),mn=(e,t)=>{let o=e;const r=[];for(;o!=null&&o!==Object.prototype;){if(r.indexOf(o)!==-1)return!1;if(r.push(o),zi(o,t))return!0;o=Or(o)}return!1},gA=(e,t)=>e!=null&&mn(e,t)?e[t]:void 0,Cu=(e=>t=>{const o=hA.call(t);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),qt=e=>(e=e.toLowerCase(),t=>Cu(t)===e),us=e=>t=>typeof t===e,{isArray:Jo}=Array,Er=us("undefined");function Br(e){return e!==null&&!Er(e)&&e.constructor!==null&&!Er(e.constructor)&&St(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const l1=qt("ArrayBuffer");function mA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&l1(e.buffer),t}const bA=us("string"),St=us("function"),c1=us("number"),Dr=e=>e!==null&&typeof e=="object",vA=e=>e===!0||e===!1,ui=e=>{if(!Dr(e))return!1;const t=Or(e);return(t===null||t===Object.prototype||Or(t)===null)&&!mn(e,a1)&&!mn(e,Tn)},yA=e=>{if(!Dr(e)||Br(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},xA=qt("Date"),wA=qt("File"),kA=e=>!!(e&&typeof e.uri<"u"),AA=e=>e&&typeof e.getParts<"u",SA=qt("Blob"),CA=qt("FileList"),OA=e=>Dr(e)&&St(e.pipe);function EA(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Hh=EA(),Bh=typeof Hh.FormData<"u"?Hh.FormData:void 0,PA=e=>{if(!e)return!1;if(Bh&&e instanceof Bh)return!0;const t=Or(e);if(!t||t===Object.prototype||!St(e.append))return!1;const o=Cu(e);return o==="formdata"||o==="object"&&St(e.toString)&&e.toString()==="[object FormData]"},TA=qt("URLSearchParams"),[RA,MA,zA,HA]=["ReadableStream","Request","Response","Headers"].map(qt),BA=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rn(e,t,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let r,n;if(typeof e!="object"&&(e=[e]),Jo(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(Br(e))return;const i=o?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(r=0;r<s;r++)a=i[r],t.call(null,e[a],a,e)}}function u1(e,t){if(Br(e))return null;t=t.toLowerCase();const o=Object.keys(e);let r=o.length,n;for(;r-- >0;)if(n=o[r],t===n.toLowerCase())return n;return null}const _o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d1=e=>!Er(e)&&e!==_o;function fc(...e){const{caseless:t,skipUndefined:o}=d1(this)&&this||{},r={},n=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=t&&typeof s=="string"&&u1(r,s)||s,l=zi(r,a)?r[a]:void 0;ui(l)&&ui(i)?r[a]=fc(l,i):ui(i)?r[a]=fc({},i):Jo(i)?r[a]=i.slice():(!o||!Er(i))&&(r[a]=i)};for(let i=0,s=e.length;i<s;i++){const a=e[i];if(!a||Br(a)||(Rn(a,n),typeof a!="object"||Jo(a)))continue;const l=Object.getOwnPropertySymbols(a);for(let c=0;c<l.length;c++){const d=l[c];qA.call(a,d)&&n(a[d],d)}}return r}const DA=(e,t,o,{allOwnKeys:r}={})=>(Rn(t,(n,i)=>{o&&St(n)?Object.defineProperty(e,i,{__proto__:null,value:s1(n,o),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),LA=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),_A=(e,t,o,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),o&&Object.assign(e.prototype,o)},IA=(e,t,o,r)=>{let n,i,s;const a={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)s=n[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=o!==!1&&Or(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},NA=(e,t,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=t.length;const r=e.indexOf(t,o);return r!==-1&&r===o},jA=e=>{if(!e)return null;if(Jo(e))return e;let t=e.length;if(!c1(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},XA=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Or(Uint8Array)),FA=(e,t)=>{const r=(e&&e[Tn]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},UA=(e,t)=>{let o;const r=[];for(;(o=e.exec(t))!==null;)r.push(o);return r},VA=qt("HTMLFormElement"),GA=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,r,n){return r.toUpperCase()+n}),{propertyIsEnumerable:qA}=Object.prototype,JA=qt("RegExp"),f1=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),r={};Rn(o,(n,i)=>{let s;(s=t(n,i,e))!==!1&&(r[i]=s||n)}),Object.defineProperties(e,r)},WA=e=>{f1(e,(t,o)=>{if(St(e)&&["arguments","caller","callee"].includes(o))return!1;const r=e[o];if(St(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},YA=(e,t)=>{const o={},r=n=>{n.forEach(i=>{o[i]=!0})};return Jo(e)?r(e):r(String(e).split(t)),o},QA=()=>{},ZA=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function KA(e){return!!(e&&St(e.append)&&e[a1]==="FormData"&&e[Tn])}const $A=e=>{const t=new WeakSet,o=r=>{if(Dr(r)){if(t.has(r))return;if(Br(r))return r;if(!("toJSON"in r)){t.add(r);const n=Jo(r)?[]:{};return Rn(r,(i,s)=>{const a=o(i);!Er(a)&&(n[s]=a)}),t.delete(r),n}}return r};return o(e)},eS=qt("AsyncFunction"),tS=e=>e&&(Dr(e)||St(e))&&St(e.then)&&St(e.catch),p1=((e,t)=>e?setImmediate:t?((o,r)=>(_o.addEventListener("message",({source:n,data:i})=>{n===_o&&i===o&&r.length&&r.shift()()},!1),n=>{r.push(n),_o.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",St(_o.postMessage)),oS=typeof queueMicrotask<"u"?queueMicrotask.bind(_o):typeof process<"u"&&process.nextTick||p1,h1=e=>e!=null&&St(e[Tn]),rS=e=>e!=null&&mn(e,Tn)&&h1(e),E={isArray:Jo,isArrayBuffer:l1,isBuffer:Br,isFormData:PA,isArrayBufferView:mA,isString:bA,isNumber:c1,isBoolean:vA,isObject:Dr,isPlainObject:ui,isEmptyObject:yA,isReadableStream:RA,isRequest:MA,isResponse:zA,isHeaders:HA,isUndefined:Er,isDate:xA,isFile:wA,isReactNativeBlob:kA,isReactNative:AA,isBlob:SA,isRegExp:JA,isFunction:St,isStream:OA,isURLSearchParams:TA,isTypedArray:XA,isFileList:CA,forEach:Rn,merge:fc,extend:DA,trim:BA,stripBOM:LA,inherits:_A,toFlatObject:IA,kindOf:Cu,kindOfTest:qt,endsWith:NA,toArray:jA,forEachEntry:FA,matchAll:UA,isHTMLForm:VA,hasOwnProperty:zi,hasOwnProp:zi,hasOwnInPrototypeChain:mn,getSafeProp:gA,reduceDescriptors:f1,freezeMethods:WA,toObjectSet:YA,toCamelCase:GA,noop:QA,toFiniteNumber:ZA,findKey:u1,global:_o,isContextDefined:d1,isSpecCompliantForm:KA,toJSONObject:$A,isAsyncFn:eS,isThenable:tS,setImmediate:p1,asap:oS,isIterable:h1,isSafeIterable:rS},nS=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),iS=e=>{const t={};let o,r,n;return e&&e.split(`
|
|
1033
|
+
`).forEach(function(s){n=s.indexOf(":"),o=s.substring(0,n).trim().toLowerCase(),r=s.substring(n+1).trim(),!(!o||t[o]&&nS[o])&&(o==="set-cookie"?t[o]?t[o].push(r):t[o]=[r]:t[o]=t[o]?t[o]+", "+r:r)}),t};function sS(e){let t=0,o=e.length;for(;t<o;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;o>t;){const r=e.charCodeAt(o-1);if(r!==9&&r!==32)break;o-=1}return t===0&&o===e.length?e:e.slice(t,o)}const aS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),lS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ou(e,t){return E.isArray(e)?e.map(o=>Ou(o,t)):sS(String(e).replace(t,""))}const cS=e=>Ou(e,aS),uS=e=>Ou(e,lS);function g1(e){const t=Object.create(null);return E.forEach(e.toJSON(),(o,r)=>{t[r]=uS(o)}),t}const Dh=Symbol("internals");function Xr(e){return e&&String(e).trim().toLowerCase()}function di(e){return e===!1||e==null?e:E.isArray(e)?e.map(di):cS(String(e))}function dS(e){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(e);)t[r[1]]=r[2];return t}const fS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $s(e,t,o,r,n){if(E.isFunction(r))return r.call(this,t,o);if(n&&(t=o),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function pS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,o,r)=>o.toUpperCase()+r)}function hS(e,t){const o=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+o,{__proto__:null,value:function(n,i,s){return this[r].call(this,t,n,i,s)},configurable:!0})})}let pt=class{constructor(t){t&&this.set(t)}set(t,o,r){const n=this;function i(a,l,c){const d=Xr(l);if(!d)return;const g=E.findKey(n,d);(!g||n[g]===void 0||c===!0||c===void 0&&n[g]!==!1)&&(n[g||l]=di(a))}const s=(a,l)=>E.forEach(a,(c,d)=>i(c,d,l));if(E.isPlainObject(t)||t instanceof this.constructor)s(t,o);else if(E.isString(t)&&(t=t.trim())&&!fS(t))s(iS(t),o);else if(E.isObject(t)&&E.isSafeIterable(t)){let a=Object.create(null),l,c;for(const d of t){if(!E.isArray(d))throw new TypeError("Object iterator must return a key-value pair");c=d[0],E.hasOwnProp(a,c)?(l=a[c],a[c]=E.isArray(l)?[...l,d[1]]:[l,d[1]]):a[c]=d[1]}s(a,o)}else t!=null&&i(o,t,r);return this}get(t,o){if(t=Xr(t),t){const r=E.findKey(this,t);if(r){const n=this[r];if(!o)return n;if(o===!0)return dS(n);if(E.isFunction(o))return o.call(this,n,r);if(E.isRegExp(o))return o.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,o){if(t=Xr(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!o||$s(this,this[r],r,o)))}return!1}delete(t,o){const r=this;let n=!1;function i(s){if(s=Xr(s),s){const a=E.findKey(r,s);a&&(!o||$s(r,r[a],a,o))&&(delete r[a],n=!0)}}return E.isArray(t)?t.forEach(i):i(t),n}clear(t){const o=Object.keys(this);let r=o.length,n=!1;for(;r--;){const i=o[r];(!t||$s(this,this[i],i,t,!0))&&(delete this[i],n=!0)}return n}normalize(t){const o=this,r={};return E.forEach(this,(n,i)=>{const s=E.findKey(r,i);if(s){o[s]=di(n),delete o[i];return}const a=t?pS(i):String(i).trim();a!==i&&delete o[i],o[a]=di(n),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const o=Object.create(null);return E.forEach(this,(r,n)=>{r!=null&&r!==!1&&(o[n]=t&&E.isArray(r)?r.join(", "):r)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,o])=>t+": "+o).join(`
|
|
1034
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...o){const r=new this(t);return o.forEach(n=>r.set(n)),r}static accessor(t){const r=(this[Dh]=this[Dh]={accessors:{}}).accessors,n=this.prototype;function i(s){const a=Xr(s);r[a]||(hS(n,s),r[a]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}};pt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(pt.prototype,({value:e},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[o]=r}}});E.freezeMethods(pt);const gS="[REDACTED ****]";function mS(e){if(E.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(E.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function bS(e,t){const o=new Set(t.map(i=>String(i).toLowerCase())),r=[],n=i=>{if(i===null||typeof i!="object"||E.isBuffer(i))return i;if(r.indexOf(i)!==-1)return;i instanceof pt&&(i=i.toJSON()),r.push(i);let s;if(E.isArray(i))s=[],i.forEach((a,l)=>{const c=n(a);E.isUndefined(c)||(s[l]=c)});else{if(!E.isPlainObject(i)&&mS(i))return r.pop(),i;s=Object.create(null);for(const[a,l]of Object.entries(i)){const c=o.has(a.toLowerCase())?gS:n(l);E.isUndefined(c)||(s[a]=c)}}return r.pop(),s};return n(e)}let X=class m1 extends Error{static from(t,o,r,n,i,s){const a=new m1(t.message,o||t.code,r,n,i);return Object.defineProperty(a,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),s&&Object.assign(a,s),a}constructor(t,o,r,n,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,o&&(this.code=o),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){const t=this.config,o=t&&E.hasOwnProp(t,"redact")?t.redact:void 0,r=E.isArray(o)&&o.length>0?bS(t,o):E.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};X.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";X.ERR_BAD_OPTION="ERR_BAD_OPTION";X.ECONNABORTED="ECONNABORTED";X.ETIMEDOUT="ETIMEDOUT";X.ECONNREFUSED="ECONNREFUSED";X.ERR_NETWORK="ERR_NETWORK";X.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";X.ERR_DEPRECATED="ERR_DEPRECATED";X.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";X.ERR_BAD_REQUEST="ERR_BAD_REQUEST";X.ERR_CANCELED="ERR_CANCELED";X.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";X.ERR_INVALID_URL="ERR_INVALID_URL";X.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const vS=null,b1=100;function pc(e){return E.isPlainObject(e)||E.isArray(e)}function v1(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function ea(e,t,o){return e?e.concat(t).map(function(n,i){return n=v1(n),!o&&i?"["+n+"]":n}).join(o?".":""):t}function yS(e){return E.isArray(e)&&!e.some(pc)}const xS=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function ds(e,t,o){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,o=E.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,C){return!E.isUndefined(C[y])});const r=o.metaTokens,n=o.visitor||v,i=o.dots,s=o.indexes,a=o.Blob||typeof Blob<"u"&&Blob,l=o.maxDepth===void 0?b1:o.maxDepth,c=a&&E.isSpecCompliantForm(t),d=[];if(!E.isFunction(n))throw new TypeError("visitor must be a function");function g(m){if(m===null)return"";if(E.isDate(m))return m.toISOString();if(E.isBoolean(m))return m.toString();if(!c&&E.isBlob(m))throw new X("Blob is not supported. Use a Buffer instead.");if(E.isArrayBuffer(m)||E.isTypedArray(m)){if(c&&typeof a=="function")return new a([m]);if(typeof Buffer<"u")return Buffer.from(m);throw new X("Blob is not supported. Use a Buffer instead.",X.ERR_NOT_SUPPORT)}return m}function f(m){if(m>l)throw new X("Object is too deeply nested ("+m+" levels). Max depth: "+l,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function b(m,y){if(l===1/0)return JSON.stringify(m);const C=[];return JSON.stringify(m,function(S,M){if(!E.isObject(M))return M;for(;C.length&&C[C.length-1]!==this;)C.pop();return C.push(M),f(y+C.length-1),M})}function v(m,y,C){let A=m;if(E.isReactNative(t)&&E.isReactNativeBlob(m))return t.append(ea(C,y,i),g(m)),!1;if(m&&!C&&typeof m=="object"){if(E.endsWith(y,"{}"))y=r?y:y.slice(0,-2),m=b(m,1);else if(E.isArray(m)&&yS(m)||(E.isFileList(m)||E.endsWith(y,"[]"))&&(A=E.toArray(m)))return y=v1(y),A.forEach(function(M,H){!(E.isUndefined(M)||M===null)&&t.append(s===!0?ea([y],H,i):s===null?y:y+"[]",g(M))}),!1}return pc(m)?!0:(t.append(ea(C,y,i),g(m)),!1)}const p=Object.assign(xS,{defaultVisitor:v,convertValue:g,isVisitable:pc});function h(m,y,C=0){if(!E.isUndefined(m)){if(f(C),d.indexOf(m)!==-1)throw new Error("Circular reference detected in "+y.join("."));d.push(m),E.forEach(m,function(S,M){(!(E.isUndefined(S)||S===null)&&n.call(t,S,E.isString(M)?M.trim():M,y,p))===!0&&h(S,y?y.concat(M):[M],C+1)}),d.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Lh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Eu(e,t){this._pairs=[],e&&ds(e,this,t)}const y1=Eu.prototype;y1.append=function(t,o){this._pairs.push([t,o])};y1.toString=function(t){const o=t?r=>t.call(this,r,Lh):Lh;return this._pairs.map(function(n){return o(n[0])+"="+o(n[1])},"").join("&")};function wS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function x1(e,t,o){if(!t)return e;e=e||"";const r=E.isFunction(o)?{serialize:o}:o,n=E.getSafeProp(r,"encode")||wS,i=E.getSafeProp(r,"serialize");let s;if(i?s=i(t,r):s=E.isURLSearchParams(t)?t.toString():new Eu(t,r).toString(n),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class _h{constructor(){this.handlers=[]}use(t,o,r){return this.handlers.push({fulfilled:t,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Pu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},kS=typeof URLSearchParams<"u"?URLSearchParams:Eu,AS=typeof FormData<"u"?FormData:null,SS=typeof Blob<"u"?Blob:null,CS={isBrowser:!0,classes:{URLSearchParams:kS,FormData:AS,Blob:SS},protocols:["http","https","file","blob","url","data"]},Tu=typeof window<"u"&&typeof document<"u",hc=typeof navigator=="object"&&navigator||void 0,OS=Tu&&(!hc||["ReactNative","NativeScript","NS"].indexOf(hc.product)<0),ES=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PS=Tu&&window.location.href||"http://localhost",TS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tu,hasStandardBrowserEnv:OS,hasStandardBrowserWebWorkerEnv:ES,navigator:hc,origin:PS},Symbol.toStringTag,{value:"Module"})),at={...TS,...CS};function RS(e,t){return ds(e,new at.classes.URLSearchParams,{visitor:function(o,r,n,i){return at.isNode&&E.isBuffer(o)?(this.append(r,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}const Ih=b1;function w1(e){if(e>Ih)throw new X("FormData field is too deeply nested ("+e+" levels). Max depth: "+Ih,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function MS(e){const t=[],o=/\w+|\[(\w*)]/g;let r;for(;(r=o.exec(e))!==null;)w1(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function zS(e){const t={},o=Object.keys(e);let r;const n=o.length;let i;for(r=0;r<n;r++)i=o[r],t[i]=e[i];return t}function k1(e){function t(o,r,n,i){w1(i);let s=o[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=i>=o.length;return s=!s&&E.isArray(n)?n.length:s,l?(E.hasOwnProp(n,s)?n[s]=E.isArray(n[s])?n[s].concat(r):[n[s],r]:n[s]=r,!a):((!E.hasOwnProp(n,s)||!E.isObject(n[s]))&&(n[s]=[]),t(o,r,n[s],i)&&E.isArray(n[s])&&(n[s]=zS(n[s])),!a)}if(E.isFormData(e)&&E.isFunction(e.entries)){const o={};return E.forEachEntry(e,(r,n)=>{t(MS(r),n,o,0)}),o}return null}const rr=(e,t)=>e!=null&&E.hasOwnProp(e,t)?e[t]:void 0;function HS(e,t,o){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(o||JSON.stringify)(e)}const Mn={transitional:Pu,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const r=o.getContentType()||"",n=r.indexOf("application/json")>-1,i=E.isObject(t);if(i&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return n?JSON.stringify(k1(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){const l=rr(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return RS(t,l).toString();if((a=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=rr(this,"env"),d=c&&c.FormData;return ds(a?{"files[]":t}:t,d&&new d,l)}}return i||n?(o.setContentType("application/json",!1),HS(t)):t}],transformResponse:[function(t){const o=rr(this,"transitional")||Mn.transitional,r=o&&o.forcedJSONParsing,n=rr(this,"responseType"),i=n==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(r&&!n||i)){const a=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(t,rr(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?X.from(l,X.ERR_BAD_RESPONSE,this,null,rr(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:at.classes.FormData,Blob:at.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch","query"],e=>{Mn.headers[e]={}});function ta(e,t){const o=this||Mn,r=t||o,n=pt.from(r.headers);let i=r.data;return E.forEach(e,function(a){i=a.call(o,i,n.normalize(),t?t.status:void 0)}),n.normalize(),i}function A1(e){return!!(e&&e.__CANCEL__)}let zn=class extends X{constructor(t,o,r){super(t==null?"canceled":t,X.ERR_CANCELED,o,r),this.name="CanceledError",this.__CANCEL__=!0}};function S1(e,t,o){const r=o.config.validateStatus;!o.status||!r||r(o.status)?e(o):t(new X("Request failed with status code "+o.status,o.status>=400&&o.status<500?X.ERR_BAD_REQUEST:X.ERR_BAD_RESPONSE,o.config,o.request,o))}function BS(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function DS(e,t){e=e||10;const o=new Array(e),r=new Array(e);let n=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[i];s||(s=c),o[n]=l,r[n]=c;let g=i,f=0;for(;g!==n;)f+=o[g++],g=g%e;if(n=(n+1)%e,n===i&&(i=(i+1)%e),c-s<t)return;const b=d&&c-d;return b?Math.round(f*1e3/b):void 0}}function LS(e,t){let o=0,r=1e3/t,n,i;const s=(c,d=Date.now())=>{o=d,n=null,i&&(clearTimeout(i),i=null),e(...c)};return[(...c)=>{const d=Date.now(),g=d-o;g>=r?s(c,d):(n=c,i||(i=setTimeout(()=>{i=null,s(n)},r-g)))},()=>n&&s(n)]}const Hi=(e,t,o=3)=>{let r=0;const n=DS(50,250);return LS(i=>{if(!i||typeof i.loaded!="number")return;const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=a!=null?Math.min(s,a):s,c=Math.max(0,l-r),d=n(c);r=Math.max(r,l);const g={loaded:l,total:a,progress:a?l/a:void 0,bytes:c,rate:d||void 0,estimated:d&&a?(a-l)/d:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(g)},o)},Nh=(e,t)=>{const o=e!=null;return[r=>t[0]({lengthComputable:o,total:e,loaded:r}),t[1]]},jh=e=>(...t)=>E.asap(()=>e(...t)),_S=at.hasStandardBrowserEnv?((e,t)=>o=>(o=new URL(o,at.origin),e.protocol===o.protocol&&e.host===o.host&&(t||e.port===o.port)))(new URL(at.origin),at.navigator&&/(msie|trident)/i.test(at.navigator.userAgent)):()=>!0,IS=at.hasStandardBrowserEnv?{write(e,t,o,r,n,i,s){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];E.isNumber(o)&&a.push(`expires=${new Date(o).toUTCString()}`),E.isString(r)&&a.push(`path=${r}`),E.isString(n)&&a.push(`domain=${n}`),i===!0&&a.push("secure"),E.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let o=0;o<t.length;o++){const r=t[o].replace(/^\s+/,""),n=r.indexOf("=");if(n!==-1&&r.slice(0,n)===e)try{return decodeURIComponent(r.slice(n+1))}catch{return r.slice(n+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function NS(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function jS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const XS=/^https?:(?!\/\/)/i,FS=/[\t\n\r]/g;function US(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function VS(e){return US(e).replace(FS,"")}function Xh(e,t){if(typeof e=="string"&&XS.test(VS(e)))throw new X('Invalid URL: missing "//" after protocol',X.ERR_INVALID_URL,t)}function C1(e,t,o,r){Xh(t,r);let n=!NS(t);return e&&(n||o===!1)?(Xh(e,r),jS(e,t)):t}const Fh=e=>e instanceof pt?{...e}:e;function Wo(e,t){e=e||{},t=t||{};const o=Object.create(null);Object.defineProperty(o,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(d,g,f,b){return E.isPlainObject(d)&&E.isPlainObject(g)?E.merge.call({caseless:b},d,g):E.isPlainObject(g)?E.merge({},g):E.isArray(g)?g.slice():g}function n(d,g,f,b){if(E.isUndefined(g)){if(!E.isUndefined(d))return r(void 0,d,f,b)}else return r(d,g,f,b)}function i(d,g){if(!E.isUndefined(g))return r(void 0,g)}function s(d,g){if(E.isUndefined(g)){if(!E.isUndefined(d))return r(void 0,d)}else return r(void 0,g)}function a(d){const g=E.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!E.isUndefined(g))if(E.isPlainObject(g)){if(E.hasOwnProp(g,d))return g[d]}else return;const f=E.hasOwnProp(e,"transitional")?e.transitional:void 0;if(E.isPlainObject(f)&&E.hasOwnProp(f,d))return f[d]}function l(d,g,f){if(E.hasOwnProp(t,f))return r(d,g);if(E.hasOwnProp(e,f))return r(void 0,d)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:l,headers:(d,g,f)=>n(Fh(d),Fh(g),f,!0)};return E.forEach(Object.keys({...e,...t}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const f=E.hasOwnProp(c,g)?c[g]:n,b=E.hasOwnProp(e,g)?e[g]:void 0,v=E.hasOwnProp(t,g)?t[g]:void 0,p=f(b,v,g);E.isUndefined(p)&&f!==l||(o[g]=p)}),E.hasOwnProp(t,"validateStatus")&&E.isUndefined(t.validateStatus)&&a("validateStatusUndefinedResolves")===!1&&(E.hasOwnProp(e,"validateStatus")?o.validateStatus=r(void 0,e.validateStatus):delete o.validateStatus),o}const GS=["content-type","content-length"];function qS(e,t,o){if(o!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,n])=>{GS.includes(r.toLowerCase())&&e.set(r,n)})}const JS=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,o)=>String.fromCharCode(parseInt(o,16)));function O1(e){const t=Wo({},e),o=f=>E.hasOwnProp(t,f)?t[f]:void 0,r=o("data");let n=o("withXSRFToken");const i=o("xsrfHeaderName"),s=o("xsrfCookieName");let a=o("headers");const l=o("auth"),c=o("baseURL"),d=o("allowAbsoluteUrls"),g=o("url");if(t.headers=a=pt.from(a),t.url=x1(C1(c,g,d,t),o("params"),o("paramsSerializer")),l){const f=E.getSafeProp(l,"username")||"",b=E.getSafeProp(l,"password")||"";try{a.set("Authorization","Basic "+btoa(f+":"+(b?JS(b):"")))}catch(v){throw X.from(v,X.ERR_BAD_OPTION_VALUE,e)}}if(E.isFormData(r)&&(at.hasStandardBrowserEnv||at.hasStandardBrowserWebWorkerEnv||E.isReactNative(r)?a.setContentType(void 0):E.isFunction(r.getHeaders)&&qS(a,r.getHeaders(),o("formDataHeaderPolicy"))),at.hasStandardBrowserEnv&&(E.isFunction(n)&&(n=n(t)),n===!0||n==null&&_S(t.url))){const b=i&&s&&IS.read(s);b&&a.set(i,b)}return t}const WS=typeof XMLHttpRequest<"u",YS=WS&&function(e){return new Promise(function(o,r){const n=O1(e);let i=n.data;const s=pt.from(n.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=n,d,g,f,b,v;function p(){b&&b(),v&&v(),n.cancelToken&&n.cancelToken.unsubscribe(d),n.signal&&n.signal.removeEventListener("abort",d)}let h=new XMLHttpRequest;h.open(n.method.toUpperCase(),n.url,!0),h.timeout=n.timeout;function m(){if(!h)return;const C=pt.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:C,config:e,request:h};S1(function(H){o(H),p()},function(H){r(H),p()},S),h=null}"onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith("file:"))||setTimeout(m)},h.onabort=function(){h&&(r(new X("Request aborted",X.ECONNABORTED,e,h)),p(),h=null)},h.onerror=function(A){const S=A&&A.message?A.message:"Network Error",M=new X(S,X.ERR_NETWORK,e,h);M.event=A||null,r(M),p(),h=null},h.ontimeout=function(){let A=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const S=n.transitional||Pu;n.timeoutErrorMessage&&(A=n.timeoutErrorMessage),r(new X(A,S.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,h)),p(),h=null},i===void 0&&s.setContentType(null),"setRequestHeader"in h&&E.forEach(g1(s),function(A,S){h.setRequestHeader(S,A)}),E.isUndefined(n.withCredentials)||(h.withCredentials=!!n.withCredentials),a&&a!=="json"&&(h.responseType=n.responseType),c&&([f,v]=Hi(c,!0),h.addEventListener("progress",f)),l&&h.upload&&([g,b]=Hi(l),h.upload.addEventListener("progress",g),h.upload.addEventListener("loadend",b)),(n.cancelToken||n.signal)&&(d=C=>{h&&(r(!C||C.type?new zn(null,e,h):C),h.abort(),p(),h=null)},n.cancelToken&&n.cancelToken.subscribe(d),n.signal&&(n.signal.aborted?d():n.signal.addEventListener("abort",d)));const y=BS(n.url);if(y&&!at.protocols.includes(y)){r(new X("Unsupported protocol "+y+":",X.ERR_BAD_REQUEST,e)),p();return}h.send(i||null)})},QS=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const o=new AbortController;let r=!1;const n=function(l){if(!r){r=!0,s();const c=l instanceof Error?l:this.reason;o.abort(c instanceof X?c:new zn(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,n(new X(`timeout of ${t}ms exceeded`,X.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(n):l.removeEventListener("abort",n)}),e=null)};e.forEach(l=>l.addEventListener("abort",n,{once:!0}));const{signal:a}=o;return a.unsubscribe=()=>E.asap(s),a},ZS=function*(e,t){let o=e.byteLength;if(o<t){yield e;return}let r=0,n;for(;r<o;)n=r+t,yield e.slice(r,n),r=n},KS=async function*(e,t){for await(const o of $S(e))yield*ZS(o,t)},$S=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:o,value:r}=await t.read();if(o)break;yield r}}finally{await t.cancel()}},Uh=(e,t,o,r)=>{const n=KS(e,t);let i=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await n.next();if(c){a(),l.close();return}let g=d.byteLength;if(o){let f=i+=g;o(f)}l.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(l){return a(l),n.return()}},{highWaterMark:2})},Bi=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,eC=(e,t,o)=>t+2<o&&Bi(e.charCodeAt(t+1))&&Bi(e.charCodeAt(t+2));function tC(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const o=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(o)){let s=r.length;const a=r.length;for(let b=0;b<a;b++)if(r.charCodeAt(b)===37&&b+2<a){const v=r.charCodeAt(b+1),p=r.charCodeAt(b+2);Bi(v)&&Bi(p)&&(s-=2,b+=2)}let l=0,c=a-1;const d=b=>b>=2&&r.charCodeAt(b-2)===37&&r.charCodeAt(b-1)===51&&(r.charCodeAt(b)===68||r.charCodeAt(b)===100);c>=0&&(r.charCodeAt(c)===61?(l++,c--):d(c)&&(l++,c-=3)),l===1&&c>=0&&(r.charCodeAt(c)===61||d(c))&&l++;const f=Math.floor(s/4)*3-(l||0);return f>0?f:0}let i=0;for(let s=0,a=r.length;s<a;s++){const l=r.charCodeAt(s);if(l===37&&eC(r,s,a))i+=1,s+=2;else if(l<128)i+=1;else if(l<2048)i+=2;else if(l>=55296&&l<=56319&&s+1<a){const c=r.charCodeAt(s+1);c>=56320&&c<=57343?(i+=4,s++):i+=3}else i+=3}return i}const Ru="1.18.1",Vh=64*1024,{isFunction:Qn}=E,oC=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,o)=>String.fromCharCode(parseInt(o,16))),Gh=e=>{if(!E.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},qh=(e,...t)=>{try{return!!e(...t)}catch{return!1}},rC=e=>{const t=e.indexOf("://");let o=e;return t!==-1&&(o=o.slice(t+3)),o.includes("@")||o.includes(":")},nC=e=>{const t=E.global!==void 0&&E.global!==null?E.global:globalThis,{ReadableStream:o,TextEncoder:r}=t;e=E.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:n,Request:i,Response:s}=e,a=n?Qn(n):typeof fetch=="function",l=Qn(i),c=Qn(s);if(!a)return!1;const d=a&&Qn(o),g=a&&(typeof r=="function"?(m=>y=>m.encode(y))(new r):async m=>new Uint8Array(await new i(m).arrayBuffer())),f=l&&d&&qh(()=>{let m=!1;const y=new i(at.origin,{body:new o,method:"POST",get duplex(){return m=!0,"half"}}),C=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),m&&!C}),b=c&&d&&qh(()=>E.isReadableStream(new s("").body)),v={stream:b&&(m=>m.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!v[m]&&(v[m]=(y,C)=>{let A=y&&y[m];if(A)return A.call(y);throw new X(`Response type '${m}' is not supported`,X.ERR_NOT_SUPPORT,C)})});const p=async m=>{if(m==null)return 0;if(E.isBlob(m))return m.size;if(E.isSpecCompliantForm(m))return(await new i(at.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(E.isArrayBufferView(m)||E.isArrayBuffer(m))return m.byteLength;if(E.isURLSearchParams(m)&&(m=m+""),E.isString(m))return(await g(m)).byteLength},h=async(m,y)=>{const C=E.toFiniteNumber(m.getContentLength());return C==null?p(y):C};return async m=>{let{url:y,method:C,data:A,signal:S,cancelToken:M,timeout:H,onDownloadProgress:I,onUploadProgress:W,responseType:K,headers:V,withCredentials:te="same-origin",fetchOptions:He,maxContentLength:be,maxBodyLength:we}=O1(m);const Je=E.isNumber(be)&&be>-1,Se=E.isNumber(we)&&we>-1,ke=T=>E.hasOwnProp(m,T)?m[T]:void 0;let ot=n||fetch;K=K?(K+"").toLowerCase():"text";let Z=QS([S,M&&M.toAbortSignal()],H),fe=null;const N=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let j,U=null;const G=()=>new X("Request body larger than maxBodyLength limit",X.ERR_BAD_REQUEST,m,fe);try{let T;const oe=ke("auth");if(oe){const z=E.getSafeProp(oe,"username")||"",B=E.getSafeProp(oe,"password")||"";T={username:z,password:B}}if(rC(y)){const z=new URL(y,at.origin);if(!T&&(z.username||z.password)){const B=Gh(z.username),L=Gh(z.password);T={username:B,password:L}}(z.username||z.password)&&(z.username="",z.password="",y=z.href)}if(T&&(V.delete("authorization"),V.set("Authorization","Basic "+btoa(oC((T.username||"")+":"+(T.password||""))))),Je&&typeof y=="string"&&y.startsWith("data:")&&tC(y)>be)throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe);if(Se&&C!=="get"&&C!=="head"){const z=await p(A);if(typeof z=="number"&&isFinite(z)&&(j=z,z>we))throw G()}const _=Se&&(E.isReadableStream(A)||E.isStream(A)),de=(z,B,L)=>Uh(z,Vh,ne=>{if(Se&&ne>we)throw U=G();B&&B(ne)},L);if(f&&C!=="get"&&C!=="head"&&(W||_)){if(j=j==null?await h(V,A):j,j!==0||_){let z=new i(y,{method:"POST",body:A,duplex:"half"}),B;if(E.isFormData(A)&&(B=z.headers.get("content-type"))&&V.setContentType(B),z.body){const[L,ne]=W&&Nh(j,Hi(jh(W)))||[];A=de(z.body,L,ne)}}}else if(_&&!l&&d&&C!=="get"&&C!=="head")A=de(A);else if(_&&l&&!f&&C!=="get"&&C!=="head")throw new X("Stream request bodies are not supported by the current fetch implementation",X.ERR_NOT_SUPPORT,m,fe);E.isString(te)||(te=te?"include":"omit");const se=l&&"credentials"in i.prototype;if(E.isFormData(A)){const z=V.getContentType();z&&/^multipart\/form-data/i.test(z)&&!/boundary=/i.test(z)&&V.delete("content-type")}V.set("User-Agent","axios/"+Ru,!1);const ge={...He,signal:Z,method:C.toUpperCase(),headers:g1(V.normalize()),body:A,duplex:"half",credentials:se?te:void 0};fe=l&&new i(y,ge);let Y=await(l?ot(fe,He):ot(y,ge));const w=pt.from(Y.headers);if(Je){const z=E.toFiniteNumber(w.getContentLength());if(z!=null&&z>be)throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe)}const O=b&&(K==="stream"||K==="response");if(b&&Y.body&&(I||Je||O&&N)){const z={};["status","statusText","headers"].forEach(De=>{z[De]=Y[De]});const B=E.toFiniteNumber(w.getContentLength()),[L,ne]=I&&Nh(B,Hi(jh(I),!0))||[];let ae=0;const Ce=De=>{if(Je&&(ae=De,ae>be))throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe);L&&L(De)};Y=new s(Uh(Y.body,Vh,Ce,()=>{ne&&ne(),N&&N()}),z)}K=K||"text";let x=await v[E.findKey(v,K)||"text"](Y,m);if(Je&&!b&&!O){let z;if(x!=null&&(typeof x.byteLength=="number"?z=x.byteLength:typeof x.size=="number"?z=x.size:typeof x=="string"&&(z=typeof r=="function"?new r().encode(x).byteLength:x.length)),typeof z=="number"&&z>be)throw new X("maxContentLength size of "+be+" exceeded",X.ERR_BAD_RESPONSE,m,fe)}return!O&&N&&N(),await new Promise((z,B)=>{S1(z,B,{data:x,headers:pt.from(Y.headers),status:Y.status,statusText:Y.statusText,config:m,request:fe})})}catch(T){if(N&&N(),Z&&Z.aborted&&Z.reason instanceof X){const oe=Z.reason;throw oe.config=m,fe&&(oe.request=fe),T!==oe&&Object.defineProperty(oe,"cause",{__proto__:null,value:T,writable:!0,enumerable:!1,configurable:!0}),oe}if(U)throw fe&&!U.request&&(U.request=fe),U;if(T instanceof X)throw fe&&!T.request&&(T.request=fe),T;if(T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)){const oe=new X("Network Error",X.ERR_NETWORK,m,fe,T&&T.response);throw Object.defineProperty(oe,"cause",{__proto__:null,value:T.cause||T,writable:!0,enumerable:!1,configurable:!0}),oe}throw X.from(T,T&&T.code,m,fe,T&&T.response)}}},iC=new Map,E1=e=>{let t=e&&e.env||{};const{fetch:o,Request:r,Response:n}=t,i=[r,n,o];let s=i.length,a=s,l,c,d=iC;for(;a--;)l=i[a],c=d.get(l),c===void 0&&d.set(l,c=a?new Map:nC(t)),d=c;return c};E1();const Mu={http:vS,xhr:YS,fetch:{get:E1}};E.forEach(Mu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Jh=e=>`- ${e}`,sC=e=>E.isFunction(e)||e===null||e===!1;function aC(e,t){e=E.isArray(e)?e:[e];const{length:o}=e;let r,n;const i={};for(let s=0;s<o;s++){r=e[s];let a;if(n=r,!sC(r)&&(n=Mu[(a=String(r)).toLowerCase()],n===void 0))throw new X(`Unknown adapter '${a}'`);if(n&&(E.isFunction(n)||(n=n.get(t))))break;i[a||"#"+s]=n}if(!n){const s=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=o?s.length>1?`since :
|
|
1035
1035
|
`+s.map(Jh).join(`
|
|
1036
1036
|
`):" "+Jh(s[0]):"as no adapter specified";throw new X("There is no suitable adapter to dispatch the request "+a,X.ERR_NOT_SUPPORT)}return n}const P1={getAdapter:aC,adapters:Mu};function oa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zn(null,e)}function Wh(e){return oa(e),e.headers=pt.from(e.headers),e.data=ta.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),P1.getAdapter(e.adapter||Mn.adapter,e)(e).then(function(r){oa(e),e.response=r;try{r.data=ta.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=pt.from(r.headers),r},function(r){if(!A1(r)&&(oa(e),r&&r.response)){e.response=r.response;try{r.response.data=ta.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=pt.from(r.response.headers)}return Promise.reject(r)})}const fs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{fs[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Yh={};fs.transitional=function(t,o,r){function n(i,s){return"[Axios v"+Ru+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new X(n(s," has been removed"+(o?" in "+o:"")),X.ERR_DEPRECATED);return o&&!Yh[s]&&(Yh[s]=!0,console.warn(n(s," has been deprecated since v"+o+" and will be removed in the near future"))),t?t(i,s,a):!0}};fs.spelling=function(t){return(o,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function lC(e,t,o){if(typeof e!="object"||e===null)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let n=r.length;for(;n-- >0;){const i=r[n],s=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new X("option "+i+" must be "+l,X.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new X("Unknown option "+i,X.ERR_BAD_OPTION)}}const fi={assertOptions:lC,validators:fs},dt=fi.validators;let No=class{constructor(t){this.defaults=t||{},this.interceptors={request:new _h,response:new _h}}async request(t,o){try{return await this._request(t,o)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const i=(()=>{if(!n.stack)return"";const s=n.stack.indexOf(`
|
|
1037
1037
|
`);return s===-1?"":n.stack.slice(s+1)})();try{if(!r.stack)r.stack=i;else if(i){const s=i.indexOf(`
|
|
1038
1038
|
`),a=s===-1?-1:i.indexOf(`
|
|
1039
1039
|
`,s+1),l=a===-1?"":i.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=`
|
|
1040
|
-
`+i)}}catch{}}throw r}}_request(t,o){typeof t=="string"?(o=o||{},o.url=t):o=t||{},o=Wo(this.defaults,o);const{transitional:r,paramsSerializer:n,headers:i}=o;r!==void 0&&fi.assertOptions(r,{silentJSONParsing:dt.transitional(dt.boolean),forcedJSONParsing:dt.transitional(dt.boolean),clarifyTimeoutError:dt.transitional(dt.boolean),legacyInterceptorReqResOrdering:dt.transitional(dt.boolean),advertiseZstdAcceptEncoding:dt.transitional(dt.boolean),validateStatusUndefinedResolves:dt.transitional(dt.boolean)},!1),n!=null&&(E.isFunction(n)?o.paramsSerializer={serialize:n}:fi.assertOptions(n,{encode:dt.function,serialize:dt.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),fi.assertOptions(o,{baseUrl:dt.spelling("baseURL"),withXsrfToken:dt.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=i&&E.merge(i.common,i[o.method]);i&&E.forEach(["delete","get","head","post","put","patch","query","common"],v=>{delete i[v]}),o.headers=pt.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(o)===!1)return;l=l&&g.synchronous;const p=o.transitional||Pu;p&&p.legacyInterceptorReqResOrdering?a.unshift(g.fulfilled,g.rejected):a.push(g.fulfilled,g.rejected)});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,h=0,f;if(!l){const v=[Wh.bind(this),void 0];for(v.unshift(...a),v.push(...c),f=v.length,d=Promise.resolve(o);h<f;)d=d.then(v[h++],v[h++]);return d}f=a.length;let b=o;for(;h<f;){const v=a[h++],g=a[h++];try{b=v(b)}catch(p){g.call(this,p);break}}try{d=Wh.call(this,b)}catch(v){return Promise.reject(v)}for(h=0,f=c.length;h<f;)d=d.then(c[h++],c[h++]);return d}getUri(t){t=Wo(this.defaults,t);const o=C1(t.baseURL,t.url,t.allowAbsoluteUrls,t);return x1(o,t.params,t.paramsSerializer)}};E.forEach(["delete","get","head","options"],function(t){No.prototype[t]=function(o,r){return this.request(Wo(r||{},{method:t,url:o,data:r&&E.hasOwnProp(r,"data")?r.data:void 0}))}});E.forEach(["post","put","patch","query"],function(t){function o(r){return function(i,s,a){return this.request(Wo(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}No.prototype[t]=o(),t!=="query"&&(No.prototype[t+"Form"]=o(!0))});let cC=class T1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(i){o=i});const r=this;this.promise.then(n=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](n);r._listeners=null}),this.promise.then=n=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(n);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new zn(i,s,a),o(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const o=this._listeners.indexOf(t);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const t=new AbortController,o=r=>{t.abort(r)};return this.subscribe(o),t.signal.unsubscribe=()=>this.unsubscribe(o),t.signal}static source(){let t;return{token:new T1(function(n){t=n}),cancel:t}}};function uC(e){return function(o){return e.apply(null,o)}}function dC(e){return E.isObject(e)&&e.isAxiosError===!0}const gc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(gc).forEach(([e,t])=>{gc[t]=e});function R1(e){const t=new No(e),o=s1(No.prototype.request,t);return E.extend(o,No.prototype,t,{allOwnKeys:!0}),E.extend(o,t,null,{allOwnKeys:!0}),o.create=function(n){return R1(Wo(e,n))},o}const Ne=R1(Mn);Ne.Axios=No;Ne.CanceledError=zn;Ne.CancelToken=cC;Ne.isCancel=A1;Ne.VERSION=Ru;Ne.toFormData=ds;Ne.AxiosError=X;Ne.Cancel=Ne.CanceledError;Ne.all=function(t){return Promise.all(t)};Ne.spread=uC;Ne.isAxiosError=dC;Ne.mergeConfig=Wo;Ne.AxiosHeaders=pt;Ne.formToJSON=e=>k1(E.isHTMLForm(e)?new FormData(e):e);Ne.getAdapter=P1.getAdapter;Ne.HttpStatusCode=gc;Ne.default=Ne;const{Axios:_T,AxiosError:IT,CanceledError:NT,isCancel:fC,CancelToken:jT,VERSION:XT,all:FT,Cancel:UT,isAxiosError:pC,spread:VT,toFormData:GT,AxiosHeaders:qT,HttpStatusCode:JT,formToJSON:WT,getAdapter:YT,mergeConfig:QT,create:ZT}=Ne;var ra,Qh;function hC(){if(Qh)return ra;Qh=1;const e=new Set(["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED","HOSTNAME_MISMATCH"]);return ra=t=>!e.has(t&&t.code),ra}var gC=hC();const mC=Mr(gC),zu="axios-retry";function M1(e){const t=["ERR_CANCELED","ECONNABORTED"];return e.response||!e.code||t.includes(e.code)?!1:mC(e)}const z1=["get","head","options"],bC=z1.concat(["put","delete"]);function Hu(e){return e.code!=="ECONNABORTED"&&(!e.response||e.response.status===429||e.response.status>=500&&e.response.status<=599)}function vC(e){var t;return(t=e.config)!=null&&t.method?Hu(e)&&z1.indexOf(e.config.method)!==-1:!1}function H1(e){var t;return(t=e.config)!=null&&t.method?Hu(e)&&bC.indexOf(e.config.method)!==-1:!1}function B1(e){return M1(e)||H1(e)}function Bu(e=void 0){var r;const t=(r=e==null?void 0:e.response)==null?void 0:r.headers["retry-after"];if(!t)return 0;let o=(Number(t)||0)*1e3;return o===0&&(o=(new Date(t).valueOf()||0)-Date.now()),Math.max(0,o)}function yC(e=0,t=void 0){return Math.max(0,Bu(t))}function mc(e=0,t=void 0,o=100){const r=2**e*o,n=Math.max(r,Bu(t)),i=n*.2*Math.random();return n+i}function xC(e=100){return(t=0,o=void 0)=>{const r=t*e;return Math.max(r,Bu(o))}}const wC={retries:3,retryCondition:B1,retryDelay:yC,shouldResetTimeout:!1,onRetry:()=>{},onMaxRetryTimesExceeded:()=>{},validateResponse:null};function kC(e,t){return{...wC,...t,...e[zu]}}function Zh(e,t,o=!1){const r=kC(e,t||{});return r.retryCount=r.retryCount||0,(!r.lastRequestTime||o)&&(r.lastRequestTime=Date.now()),e[zu]=r,r}function AC(e,t){e.defaults.agent===t.agent&&delete t.agent,e.defaults.httpAgent===t.httpAgent&&delete t.httpAgent,e.defaults.httpsAgent===t.httpsAgent&&delete t.httpsAgent}async function SC(e,t){const{retries:o,retryCondition:r}=e,n=(e.retryCount||0)<o&&r(t);if(typeof n=="object")try{return await n!==!1}catch{return!1}return n}async function CC(e,t,o,r){var l;t.retryCount+=1;const{retryDelay:n,shouldResetTimeout:i,onRetry:s}=t,a=n(t.retryCount,o);if(AC(e,r),!i&&r.timeout&&t.lastRequestTime){const c=Date.now()-t.lastRequestTime,d=r.timeout-c-a;if(d<=0)return Promise.reject(o);r.timeout=d}return r.transformRequest=[c=>c],await s(t.retryCount,o,r),(l=r.signal)!=null&&l.aborted?Promise.resolve(e(r)):new Promise(c=>{var f;const d=()=>{clearTimeout(h),c(e(r))},h=setTimeout(()=>{var b;c(e(r)),(b=r.signal)!=null&&b.removeEventListener&&r.signal.removeEventListener("abort",d)},a);(f=r.signal)!=null&&f.addEventListener&&r.signal.addEventListener("abort",d,{once:!0})})}async function OC(e,t){e.retryCount>=e.retries&&await e.onMaxRetryTimesExceeded(t,e.retryCount)}const Po=(e,t)=>{const o=e.interceptors.request.use(n=>{var i;return Zh(n,t,!0),(i=n[zu])!=null&&i.validateResponse&&(n.validateStatus=()=>!1),n}),r=e.interceptors.response.use(null,async n=>{var a;const{config:i}=n;if(!i)return Promise.reject(n);const s=Zh(i,t);return n.response&&((a=s.validateResponse)!=null&&a.call(s,n.response))?n.response:await SC(s,n)?CC(e,s,n,i):(await OC(s,n),Promise.reject(n))});return{requestInterceptorId:o,responseInterceptorId:r}};Po.isNetworkError=M1;Po.isSafeRequestError=vC;Po.isIdempotentRequestError=H1;Po.isNetworkOrIdempotentRequestError=B1;Po.exponentialDelay=mc;Po.linearDelay=xC;Po.isRetryableError=Hu;function Kh(e){return Ne.create(e)}const EC=3;function PC(e,t={}){const{delayMs:o,retries:r=EC}=t;Po(e,{retries:r,retryDelay:o===void 0?mc:(n,i)=>mc(n,i,o)})}function TC(e){return pC(e)}const RC=Ne.Cancel,MC=Ne.CancelToken,zC=fC,HC=e=>Ne.create(e),BC=e=>Promise.all(e),DC=e=>t=>e(...t);async function LC(e,t,o){for(const r of o)r.isApplicable(e)&&(e=await r.execute(e,t));return e}function _C(e,t,o){var r;return e.headers={"Content-Type":"application/json",...e.headers},typeof window<"u"&&((r=window.location)!=null&&r.pathname)&&window.location.origin&&(e.headers={...e.headers,"X-Referer":window.location.origin+window.location.pathname}),o.length>0?LC(e,t,o):e}async function IC(e,t,o){for(const r of o)r.isApplicable(e)&&(e=await r.execute(e,t));return e}function NC(e,t,o){return o.length>0?IC(e,t,o):e}const jC=[422,401];function D1(e){return typeof e=="object"&&e!==null&&"url"in e}function XC(e){return typeof e=="object"&&e!==null&&"response"in e&&"config"in e&&e.config!==null&&e.response!==null}function FC(e){const{response:t,config:o}=e;return jC.includes(t.status)&&(o._retry=!0),{errorText:e.toString(),headers:t.headers,status:t.status,statusText:t.statusText,...typeof t.data=="object"?t.data:{data:t.data}}}async function UC(e,t,o){let r=e;for(const n of o)if(n.isApplicable(e)&&(r=await n.execute(e,t),D1(r)))return r;return r}async function VC(e,t,o){if(!XC(e))return Promise.reject(e);const r=await UC(e,t,o);if(D1(r))return t.request(r);const n=FC(e);return Promise.reject(n)}class GC{createFoxApiInstance({config:t,plugins:o=[],retry:r}){const n=Kh(t),i=this.filterPlugins(o,"request"),s=this.filterPlugins(o,"responseSuccess"),a=this.filterPlugins(o,"responseFail");return n.interceptors.request.use(l=>_C(l,n,[...i])),n.interceptors.response.use(l=>NC(l,n,[...s]),l=>VC(l,n,[...a])),PC(n,r),n}createApiInstance({config:t}){return Kh(t)}createStaticApiInstance(){return{Cancel:RC,CancelToken:MC,all:BC,create:HC,isApiError:t=>TC(t),isCancel:zC,spread:DC}}filterPlugins(t,o){return t?t.filter(r=>r.pluginType===o):[]}}const qC=new GC,bc="turnstile-container",L1="turnstile-widget",JC=`
|
|
1040
|
+
`+i)}}catch{}}throw r}}_request(t,o){typeof t=="string"?(o=o||{},o.url=t):o=t||{},o=Wo(this.defaults,o);const{transitional:r,paramsSerializer:n,headers:i}=o;r!==void 0&&fi.assertOptions(r,{silentJSONParsing:dt.transitional(dt.boolean),forcedJSONParsing:dt.transitional(dt.boolean),clarifyTimeoutError:dt.transitional(dt.boolean),legacyInterceptorReqResOrdering:dt.transitional(dt.boolean),advertiseZstdAcceptEncoding:dt.transitional(dt.boolean),validateStatusUndefinedResolves:dt.transitional(dt.boolean)},!1),n!=null&&(E.isFunction(n)?o.paramsSerializer={serialize:n}:fi.assertOptions(n,{encode:dt.function,serialize:dt.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),fi.assertOptions(o,{baseUrl:dt.spelling("baseURL"),withXsrfToken:dt.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=i&&E.merge(i.common,i[o.method]);i&&E.forEach(["delete","get","head","post","put","patch","query","common"],v=>{delete i[v]}),o.headers=pt.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(p){if(typeof p.runWhen=="function"&&p.runWhen(o)===!1)return;l=l&&p.synchronous;const h=o.transitional||Pu;h&&h.legacyInterceptorReqResOrdering?a.unshift(p.fulfilled,p.rejected):a.push(p.fulfilled,p.rejected)});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let d,g=0,f;if(!l){const v=[Wh.bind(this),void 0];for(v.unshift(...a),v.push(...c),f=v.length,d=Promise.resolve(o);g<f;)d=d.then(v[g++],v[g++]);return d}f=a.length;let b=o;for(;g<f;){const v=a[g++],p=a[g++];try{b=v(b)}catch(h){p.call(this,h);break}}try{d=Wh.call(this,b)}catch(v){return Promise.reject(v)}for(g=0,f=c.length;g<f;)d=d.then(c[g++],c[g++]);return d}getUri(t){t=Wo(this.defaults,t);const o=C1(t.baseURL,t.url,t.allowAbsoluteUrls,t);return x1(o,t.params,t.paramsSerializer)}};E.forEach(["delete","get","head","options"],function(t){No.prototype[t]=function(o,r){return this.request(Wo(r||{},{method:t,url:o,data:r&&E.hasOwnProp(r,"data")?r.data:void 0}))}});E.forEach(["post","put","patch","query"],function(t){function o(r){return function(i,s,a){return this.request(Wo(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}No.prototype[t]=o(),t!=="query"&&(No.prototype[t+"Form"]=o(!0))});let cC=class T1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(i){o=i});const r=this;this.promise.then(n=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](n);r._listeners=null}),this.promise.then=n=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(n);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new zn(i,s,a),o(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const o=this._listeners.indexOf(t);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const t=new AbortController,o=r=>{t.abort(r)};return this.subscribe(o),t.signal.unsubscribe=()=>this.unsubscribe(o),t.signal}static source(){let t;return{token:new T1(function(n){t=n}),cancel:t}}};function uC(e){return function(o){return e.apply(null,o)}}function dC(e){return E.isObject(e)&&e.isAxiosError===!0}const gc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(gc).forEach(([e,t])=>{gc[t]=e});function R1(e){const t=new No(e),o=s1(No.prototype.request,t);return E.extend(o,No.prototype,t,{allOwnKeys:!0}),E.extend(o,t,null,{allOwnKeys:!0}),o.create=function(n){return R1(Wo(e,n))},o}const Ne=R1(Mn);Ne.Axios=No;Ne.CanceledError=zn;Ne.CancelToken=cC;Ne.isCancel=A1;Ne.VERSION=Ru;Ne.toFormData=ds;Ne.AxiosError=X;Ne.Cancel=Ne.CanceledError;Ne.all=function(t){return Promise.all(t)};Ne.spread=uC;Ne.isAxiosError=dC;Ne.mergeConfig=Wo;Ne.AxiosHeaders=pt;Ne.formToJSON=e=>k1(E.isHTMLForm(e)?new FormData(e):e);Ne.getAdapter=P1.getAdapter;Ne.HttpStatusCode=gc;Ne.default=Ne;const{Axios:_T,AxiosError:IT,CanceledError:NT,isCancel:fC,CancelToken:jT,VERSION:XT,all:FT,Cancel:UT,isAxiosError:pC,spread:VT,toFormData:GT,AxiosHeaders:qT,HttpStatusCode:JT,formToJSON:WT,getAdapter:YT,mergeConfig:QT,create:ZT}=Ne;var ra,Qh;function hC(){if(Qh)return ra;Qh=1;const e=new Set(["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED","HOSTNAME_MISMATCH"]);return ra=t=>!e.has(t&&t.code),ra}var gC=hC();const mC=Mr(gC),zu="axios-retry";function M1(e){const t=["ERR_CANCELED","ECONNABORTED"];return e.response||!e.code||t.includes(e.code)?!1:mC(e)}const z1=["get","head","options"],bC=z1.concat(["put","delete"]);function Hu(e){return e.code!=="ECONNABORTED"&&(!e.response||e.response.status===429||e.response.status>=500&&e.response.status<=599)}function vC(e){var t;return(t=e.config)!=null&&t.method?Hu(e)&&z1.indexOf(e.config.method)!==-1:!1}function H1(e){var t;return(t=e.config)!=null&&t.method?Hu(e)&&bC.indexOf(e.config.method)!==-1:!1}function B1(e){return M1(e)||H1(e)}function Bu(e=void 0){var r;const t=(r=e==null?void 0:e.response)==null?void 0:r.headers["retry-after"];if(!t)return 0;let o=(Number(t)||0)*1e3;return o===0&&(o=(new Date(t).valueOf()||0)-Date.now()),Math.max(0,o)}function yC(e=0,t=void 0){return Math.max(0,Bu(t))}function mc(e=0,t=void 0,o=100){const r=2**e*o,n=Math.max(r,Bu(t)),i=n*.2*Math.random();return n+i}function xC(e=100){return(t=0,o=void 0)=>{const r=t*e;return Math.max(r,Bu(o))}}const wC={retries:3,retryCondition:B1,retryDelay:yC,shouldResetTimeout:!1,onRetry:()=>{},onMaxRetryTimesExceeded:()=>{},validateResponse:null};function kC(e,t){return{...wC,...t,...e[zu]}}function Zh(e,t,o=!1){const r=kC(e,t||{});return r.retryCount=r.retryCount||0,(!r.lastRequestTime||o)&&(r.lastRequestTime=Date.now()),e[zu]=r,r}function AC(e,t){e.defaults.agent===t.agent&&delete t.agent,e.defaults.httpAgent===t.httpAgent&&delete t.httpAgent,e.defaults.httpsAgent===t.httpsAgent&&delete t.httpsAgent}async function SC(e,t){const{retries:o,retryCondition:r}=e,n=(e.retryCount||0)<o&&r(t);if(typeof n=="object")try{return await n!==!1}catch{return!1}return n}async function CC(e,t,o,r){var l;t.retryCount+=1;const{retryDelay:n,shouldResetTimeout:i,onRetry:s}=t,a=n(t.retryCount,o);if(AC(e,r),!i&&r.timeout&&t.lastRequestTime){const c=Date.now()-t.lastRequestTime,d=r.timeout-c-a;if(d<=0)return Promise.reject(o);r.timeout=d}return r.transformRequest=[c=>c],await s(t.retryCount,o,r),(l=r.signal)!=null&&l.aborted?Promise.resolve(e(r)):new Promise(c=>{var f;const d=()=>{clearTimeout(g),c(e(r))},g=setTimeout(()=>{var b;c(e(r)),(b=r.signal)!=null&&b.removeEventListener&&r.signal.removeEventListener("abort",d)},a);(f=r.signal)!=null&&f.addEventListener&&r.signal.addEventListener("abort",d,{once:!0})})}async function OC(e,t){e.retryCount>=e.retries&&await e.onMaxRetryTimesExceeded(t,e.retryCount)}const Po=(e,t)=>{const o=e.interceptors.request.use(n=>{var i;return Zh(n,t,!0),(i=n[zu])!=null&&i.validateResponse&&(n.validateStatus=()=>!1),n}),r=e.interceptors.response.use(null,async n=>{var a;const{config:i}=n;if(!i)return Promise.reject(n);const s=Zh(i,t);return n.response&&((a=s.validateResponse)!=null&&a.call(s,n.response))?n.response:await SC(s,n)?CC(e,s,n,i):(await OC(s,n),Promise.reject(n))});return{requestInterceptorId:o,responseInterceptorId:r}};Po.isNetworkError=M1;Po.isSafeRequestError=vC;Po.isIdempotentRequestError=H1;Po.isNetworkOrIdempotentRequestError=B1;Po.exponentialDelay=mc;Po.linearDelay=xC;Po.isRetryableError=Hu;function Kh(e){return Ne.create(e)}const EC=3;function PC(e,t={}){const{delayMs:o,retries:r=EC}=t;Po(e,{retries:r,retryDelay:o===void 0?mc:(n,i)=>mc(n,i,o)})}function TC(e){return pC(e)}const RC=Ne.Cancel,MC=Ne.CancelToken,zC=fC,HC=e=>Ne.create(e),BC=e=>Promise.all(e),DC=e=>t=>e(...t);async function LC(e,t,o){for(const r of o)r.isApplicable(e)&&(e=await r.execute(e,t));return e}function _C(e,t,o){var r;return e.headers={"Content-Type":"application/json",...e.headers},typeof window<"u"&&((r=window.location)!=null&&r.pathname)&&window.location.origin&&(e.headers={...e.headers,"X-Referer":window.location.origin+window.location.pathname}),o.length>0?LC(e,t,o):e}async function IC(e,t,o){for(const r of o)r.isApplicable(e)&&(e=await r.execute(e,t));return e}function NC(e,t,o){return o.length>0?IC(e,t,o):e}const jC=[422,401];function D1(e){return typeof e=="object"&&e!==null&&"url"in e}function XC(e){return typeof e=="object"&&e!==null&&"response"in e&&"config"in e&&e.config!==null&&e.response!==null}function FC(e){const{response:t,config:o}=e;return jC.includes(t.status)&&(o._retry=!0),{errorText:e.toString(),headers:t.headers,status:t.status,statusText:t.statusText,...typeof t.data=="object"?t.data:{data:t.data}}}async function UC(e,t,o){let r=e;for(const n of o)if(n.isApplicable(e)&&(r=await n.execute(e,t),D1(r)))return r;return r}async function VC(e,t,o){if(!XC(e))return Promise.reject(e);const r=await UC(e,t,o);if(D1(r))return t.request(r);const n=FC(e);return Promise.reject(n)}class GC{createFoxApiInstance({config:t,plugins:o=[],retry:r}){const n=Kh(t),i=this.filterPlugins(o,"request"),s=this.filterPlugins(o,"responseSuccess"),a=this.filterPlugins(o,"responseFail");return n.interceptors.request.use(l=>_C(l,n,[...i])),n.interceptors.response.use(l=>NC(l,n,[...s]),l=>VC(l,n,[...a])),PC(n,r),n}createApiInstance({config:t}){return Kh(t)}createStaticApiInstance(){return{Cancel:RC,CancelToken:MC,all:BC,create:HC,isApiError:t=>TC(t),isCancel:zC,spread:DC}}filterPlugins(t,o){return t?t.filter(r=>r.pluginType===o):[]}}const qC=new GC,bc="turnstile-container",L1="turnstile-widget",JC=`
|
|
1041
1041
|
.fox-cf-turnstile {
|
|
1042
1042
|
position: fixed;
|
|
1043
1043
|
top: 0;
|
|
@@ -1188,10 +1188,10 @@ var z2=Object.defineProperty;var H2=(e,t,o)=>t in e?z2(e,t,{enumerable:!0,config
|
|
|
1188
1188
|
</div>
|
|
1189
1189
|
</div>
|
|
1190
1190
|
</div>
|
|
1191
|
-
`;class Te extends Error{constructor(t,o="error"){super(t),this.level="error",this.name="CaptchaError",this.message=t,this.level=o}}function ft(...e){const t=["[CaptchaService] ",...e];console.debug.apply(console,t)}const Ro=(...e)=>{},Nt=class Nt{constructor({sitekey:t,locale:o,notify:r,onRenderCaptcha:n,onSuccessChallenge:i,onErrorChallenge:s,onWarnChallenge:a,onBeforeInteractiveChallenge:l,onAfterInteractiveChallenge:c}){this.sitekey=null,this.locale="ru",this.provider="cloudflare_turnstile",this.container=null,this.notifyHandler=r!=null?r:Ro,this.sitekey=t!=null?t:null,this.onRenderCaptcha=n!=null?n:Ro,this.onSuccessChallenge=i!=null?i:Ro,this.onErrorChallenge=s!=null?s:Ro,this.onWarnChallenge=a!=null?a:Ro,this.onBeforeInteractiveChallenge=l!=null?l:Ro,this.onAfterInteractiveChallenge=c!=null?c:Ro,o&&(this.locale=o),this.addDomElements(),Nt.DEBUG&&(window.cf=this)}notify(...t){this.notifyHandler&&this.notifyHandler(...t)}addDomElements(){this.container||document.getElementById(bc)||(document.body.insertAdjacentHTML("beforeend",WC),document.body.insertAdjacentHTML("beforeend",`<style>${JC}</style>`),this.container=document.getElementById(bc))}static async appendScript(t){if(typeof t!="string"||t==="")throw new TypeError("src script is not defined");const o=document.createElement("script");return o.src=t,document.body&&document.body.appendChild(o),new Promise((r,n)=>{o.addEventListener("load",()=>{r(!0)}),o.addEventListener("error",()=>{n()})})}show(){var t;(t=this.container)==null||t.classList.add("fox-cf-turnstile--showing"),Nt.bodyScrollLock()}hide(){var t,o;(t=this.container)==null||t.classList.remove("fox-cf-turnstile--show"),(o=this.container)==null||o.classList.remove("fox-cf-turnstile--showing"),Nt.bodyScrollUnlock()}async loadScript(){if(window.turnstile)return Promise.resolve(window.turnstile);const t=async()=>await Nt.appendScript("https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=onloadTurnstileCallback");return new Promise((o,r)=>{window.onloadTurnstileCallback=()=>{this.turnstileReady(),window.turnstile?o(window.turnstile):r(new Te("Cloudflare Turnstile is not available"))},t().catch(()=>r(new Te("Could not load Cloudflare Turnstile")))})}turnstileReady(){var t,o;ft("Cloudflare Turnstile is ready",window.turnstile),(o=(t=this.container)==null?void 0:t.querySelector(".fox-cf-turnstile__loader"))==null||o.remove()}static normalizeLocation(t=""){return t.substring(0,31).replace(/\//g,"_")}static bodyScrollLock(){const t=document.body;t.style.setProperty("--st",`-${document.documentElement.scrollTop}px`),t.classList.add("fox-cf-turnstile__noscroll")}static bodyScrollUnlock(){document.body.classList.remove("fox-cf-turnstile__noscroll")}async renderWidget(t){return new Promise((o,r)=>{var s;let n="";function i(){var a;(a=window.turnstile)==null||a.reset(n),setTimeout(()=>{var l;(l=window.turnstile)==null||l.remove(n)},500)}n=(s=window.turnstile)==null?void 0:s.render(`#${L1}`,{action:Nt.normalizeLocation(t==null?void 0:t.location),"after-interactive-callback":()=>{ft("after-interactive-callback"),this.onAfterInteractiveChallenge(this.provider)},"before-interactive-callback":()=>{ft("before-interactive-callback"),this.onBeforeInteractiveChallenge(this.provider),this.show()},callback:a=>{ft("Challenge Success"),this.hide(),o(a),i()},"error-callback":a=>{r(a),i()},"expired-callback":()=>{this.hide(),r("expired"),i()},language:this.locale,sitekey:this.sitekey,theme:"light","timeout-callback":()=>{this.hide(),r("timeout"),i()},"unsupported-callback":()=>{r("110500"),i()}})})}errorHandler(t){ft("Captcha error with code:",t);let o=[...Nt.NO_RETRY_ERROR_CODES];if(typeof t!="string"){this.notify("Что-то пошло не так. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");return}const r=t;switch(!0){case r.startsWith("110500"):o=o.filter(n=>!n.startsWith("110500")),this.notify("Ваш браузер устарел. Попробуйте ещё раз, используя другой браузер или устройство.");break;case r.startsWith("110600"):o=o.filter(n=>!n.startsWith("110600")),this.notify("Прошло слишком много времени с момента начала проверки. Попробуйте еще раз.");break;case r.startsWith("110510"):o=o.filter(n=>!n.startsWith("110510")),this.notify("Что-то пошло не так — возможно, вы используете технологию подмены User agent. Попробуйте ещё раз или обратитесь в поддержку");break;case r.startsWith("200010"):this.notify('Что-то пошло не так. Попробуйте <a href="https://yandex.ru/support/common/browsers-settings/cache.html" target="_blank" rel="nofollow noopener">очистить кеш браузера</a>. Если не помогает, обратитесь в поддержку.');break;case r.startsWith("200100"):o=o.filter(n=>!n.startsWith("200100")),this.notify("Кажется, часы на вашем компьютере показывают неправильное время. Настройте часы и попробуйте ещё раз.");break;case r.startsWith("300"):case r.startsWith("600"):o=o.filter(n=>!n.startsWith("300")||!n.startsWith("600")),this.notify("Потвердите еще раз что вы человек");break}if(o.some(n=>r.startsWith(n))){this.notify(`Что-то пошло не так, код ошибки — ${r}. Мы уже знаем о проблеме и скоро всё поправим. Попробуйте ещё раз через некоторое время.`);return}}async execute(t){if(this.sitekey){ft("Load cloudflare script");try{await this.loadScript()}catch(o){const r=o instanceof Te?o:new Te("Could not load captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(!window.turnstile){const o=new Te("Cloudflare Turnstile is not available in window");throw this.onErrorChallenge(this.provider,o),o}try{ft("Render turnstile widget"),this.onRenderCaptcha(this.provider);const o=await this.renderWidget(t);return this.onSuccessChallenge(this.provider),o}catch(o){if(this.errorHandler(o),typeof o!="string"){const r=new Te("Could not execute captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(["110200","110100","110110"].some(r=>o.startsWith(r))){const r=new Te("Invalid sitekey or domain is not allowed");throw r.code=o,this.onErrorChallenge(this.provider,r),r}if(Nt.NO_RETRY_ERROR_CODES.some(r=>o.startsWith(r))){const r=new Te("Captcha challenge is failed");r.code=o,this.onErrorChallenge(this.provider,r)}else{const r=new Te("Captcha challenge has error");r.reason=["timeout","expired"].includes(o)?o:void 0,r.code=o,this.onWarnChallenge(this.provider,r)}return}}}};Nt.DEBUG=!1,Nt.NO_RETRY_ERROR_CODES=["100","105","106","110100","110110","110200","110420","110430","110500","110510","120","200010","200100"];let vc=Nt;const Fr="recaptcha-widget";function _1(){let e=new Date().getTime(),t=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxx-xxxx-4xxx-yxxx".replace(/[xy]/g,function(o){let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),(o==="x"?r:r&3|8).toString(16)})}const Ur=(...e)=>{},Et=class Et{constructor({sitekey:t,locale:o,notify:r,onRenderCaptcha:n,onSuccessChallenge:i,onWarnChallenge:s,onErrorChallenge:a}){this.sitekey=null,this.locale="ru",this.container=null,this.provider="recaptcha",this.sitekey=t!=null?t:null,this.notifyHandler=r!=null?r:Ur,this.onRenderCaptcha=n!=null?n:Ur,this.onSuccessChallenge=i!=null?i:Ur,this.onWarnChallenge=s!=null?s:Ur,this.onErrorChallenge=a!=null?a:Ur,o&&(this.locale=o),this.addDomElements(),Et.DEBUG&&(window.gr=this)}recaptchaReady(){ft("Google recaptcha is ready",window.grecaptcha,this)}addDomElements(){if(this.container||document.getElementById(Fr))return;document.body.insertAdjacentHTML("beforeend",`<div id="${Fr}"></div>`);const t=document.getElementById(Fr);t.style.display="none",this.container=t}static getGrecaptchaCallbackNames(){return{error:`${Et.ERROR_FUNC_NAME}`,expired:`${Et.EXPIRED_FUNC_NAME}`,resolve:`${Et.RESOLVE_FUNC_NAME}`}}static async appendScript(t){if(typeof t!="string"||t==="")throw new TypeError("src script is not defined");const o=document.createElement("script");return o.src=t,document.body&&document.body.appendChild(o),new Promise((r,n)=>{o.addEventListener("load",()=>{r(!0)}),o.addEventListener("error",()=>{n()})})}async loadScript(){if(window.grecaptcha)return Promise.resolve(window.grecaptcha);const t=async()=>await Et.appendScript(`https://www.google.com/recaptcha/api.js?hl=${this.locale}&onload=onloadRecaptchaCallback`);return new Promise((o,r)=>{window.onloadRecaptchaCallback=()=>{this.recaptchaReady(),window.grecaptcha?o(window.grecaptcha):r(new Te("Recaptcha is not available"))},t().catch(()=>r(new Te("Could not load Recaptcha")))})}notify(...t){this.notifyHandler&&this.notifyHandler(...t)}errorHandler(t){switch(ft("Recaptcha error:",t),t){case"expired":this.notify("Прошло слишком много времени с момента начала проверки. Попробуйте еще раз.");break;case"closed":this.notify("Вы не завершили прохождение проверки. Попробуйте еще раз.");break;case"timeout":this.notify("Возможно произшла ошибка с сетевым подключением. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break;default:this.notify("Что-то пошло не так. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break}}static detectCaptchaChallengeIsShown(){return new Promise(function(t){const o=document.body,r={attributeOldValue:!1,attributes:!1,characterData:!1,characterDataOldValue:!1,childList:!0,subtree:!1};function n(s){s.forEach(a=>{if(a.addedNodes.length){const l=a.addedNodes[0];if(!l)return;if(l.querySelectorAll('iframe[src^="https://www.google.com/recaptcha"][src*="bframe"]').length){const d=l.firstChild;d&&(i.disconnect(),t(d))}}})}const i=new MutationObserver(n);i.observe(o,r)})}renderWidget(t){return new Promise((o,r)=>{var d,h,f;const n=document.createElement("div"),i=`${Fr}_${_1()}`;n.id=i,(d=document.getElementById(Fr))==null||d.appendChild(n);const s=Et.getGrecaptchaCallbackNames();let a=NaN;Et.detectCaptchaChallengeIsShown().then(b=>{if(!b.parentElement)return;const v=new MutationObserver(function(){var g,p;((g=b.parentElement)==null?void 0:g.style.visibility)==="hidden"&&!((p=window.grecaptcha)!=null&&p.getResponse(a))&&(v.disconnect(),r("closed"),l())});v.observe(b.parentElement,{attributeFilter:["style"],attributes:!0})});function l(){var b;(b=window.grecaptcha)==null||b.reset(),setTimeout(()=>{n.remove()},1e3)}window[s.resolve]=()=>{var v;const b=(v=window.grecaptcha)==null?void 0:v.getResponse(a);o(b!=null?b:""),l()},window[s.error]=()=>{r("error"),l()},window[s.expired]=()=>{r("expired"),l()},a=(h=window.grecaptcha)==null?void 0:h.render(i,{callback:s.resolve,"error-callback":s.error,"expired-callback":s.expired,sitekey:this.sitekey,size:"invisible"});const c=(f=window.grecaptcha)==null?void 0:f.execute(a);if(!c){r(new Error("cannot call method execute from grecaptcha")),l();return}c.catch(b=>{r(b instanceof Error?b:new Error(b.toString())),l()})})}async execute(t){if(this.sitekey){ft("Load recaptcha script");try{await this.loadScript()}catch(o){const r=o instanceof Te?o:new Te("Could not load captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(!window.grecaptcha){const o=new Te("Recaptcha is not available in window");throw this.onErrorChallenge(this.provider,o),o}try{ft("Render Recaptcha widget"),this.onRenderCaptcha(this.provider);const o=await this.renderWidget(t);return this.onSuccessChallenge(this.provider),o}catch(o){if(this.errorHandler(o),typeof o!="string"){const r=new Te("Could not execute captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(o==="expired"){const r=new Te("Challenge or token expired");r.reason="expired",this.onWarnChallenge(this.provider,r)}if(o==="error"){const r=new Te("Error during captcha execution");this.onErrorChallenge(this.provider,r)}return}}}};Et.RESOLVE_FUNC_NAME="grecaptcha_resolved",Et.ERROR_FUNC_NAME="grecaptcha_error",Et.EXPIRED_FUNC_NAME="grecaptcha_expired",Et.DEBUG=!1;let yc=Et;typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e,t;return{promise:new Promise((r,n)=>{e=r,t=n}),reject:t,resolve:e}});const Vr="smartcaptcha-container",Mo=(...e)=>{},pr=class pr{constructor({sitekey:t,locale:o,notify:r,onRenderCaptcha:n,onSuccessChallenge:i,onWarnChallenge:s,onErrorChallenge:a,onBeforeInteractiveChallenge:l,onAfterInteractiveChallenge:c}){this.sitekey=null,this.container=null,this.provider="yandex_smart_captcha",this.locale=o!=null?o:"ru",this.sitekey=t!=null?t:null,this.notifyHandler=r!=null?r:Mo,this.onRenderCaptcha=n!=null?n:Mo,this.onSuccessChallenge=i!=null?i:Mo,this.onWarnChallenge=s!=null?s:Mo,this.onErrorChallenge=a!=null?a:Mo,this.onBeforeInteractiveChallenge=l!=null?l:Mo,this.onAfterInteractiveChallenge=c!=null?c:Mo,this.addDomElements()}smartCaptchaReady(){ft("Smart captcha is ready",window.smartCaptcha,this)}addDomElements(){if(this.container||document.getElementById(Vr))return;document.body.insertAdjacentHTML("beforeend",`<div id="${Vr}"></div>`);const t=document.getElementById(Vr);t.style.display="none",this.container=t}static async appendScript(t){if(typeof t!="string"||t==="")throw new TypeError("src script is not defined");const o=document.createElement("script");return o.src=t,document.body&&document.body.appendChild(o),new Promise((r,n)=>{o.addEventListener("load",()=>{r(!0)}),o.addEventListener("error",()=>{n()})})}async loadScript(){if(window.smartCaptcha)return Promise.resolve(window.smartCaptcha);const t=async()=>await pr.appendScript("https://smartcaptcha.yandexcloud.net/captcha.js?render=onload&onload=onloadSmartCaptchaCallback");return new Promise((o,r)=>{window.onloadSmartCaptchaCallback=()=>{this.smartCaptchaReady(),window.smartCaptcha?o(window.smartCaptcha):r(new Te("SmartCaptcha is not available"))},t().catch(()=>r(new Te("Could not load SmartCaptcha")))})}notify(...t){this.notifyHandler&&this.notifyHandler(...t)}errorHandler(t){switch(ft("SmartCaptcha error:",t),t){case"closed":this.notify("Вы не завершили прохождение проверки. Попробуйте еще раз.");break;case"timeout":this.notify("Возможно произшла ошибка с сетевым подключением. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break;default:this.notify("Что-то пошло не так. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break}}static getDebugValue(){try{if(localStorage.getItem(pr.LOCALE_STORAGE_DEBUG_KEY)==="true")return!0}catch{}return!1}renderWidget(t){var c,d,h,f,b,v,g,p;const{promise:o,resolve:r,reject:n}=Promise.withResolvers(),i=document.createElement("div"),s=`${Vr}_${_1()}`;i.id=s,(c=document.getElementById(Vr))==null||c.appendChild(i),this.onRenderCaptcha(this.provider);const a=window.smartCaptcha.render(s,{callback:m=>{r(m),l()},hideShield:!0,hl:this.locale,invisible:!0,sitekey:this.sitekey,test:pr.getDebugValue()});(d=window.smartCaptcha)==null||d.subscribe(a,"challenge-visible",()=>{this.onBeforeInteractiveChallenge(this.provider)}),(h=window.smartCaptcha)==null||h.subscribe(a,"challenge-hidden",()=>{this.onAfterInteractiveChallenge(this.provider),n()}),(f=window.smartCaptcha)==null||f.subscribe(a,"token-expired",()=>{const m=new Te("Token expired");m.reason="expired",n(m)}),(b=window.smartCaptcha)==null||b.subscribe(a,"success",()=>{this.onSuccessChallenge(this.provider)}),(v=window.smartCaptcha)==null||v.subscribe(a,"network-error",()=>{const m=new Te("Network error");m.reason="timeout",n(m)}),(g=window.smartCaptcha)==null||g.subscribe(a,"javascript-error",m=>{const y=new Te("Javascript error","fatal");y.cause=m,n("javascript-error")});function l(){var m;(m=window.smartCaptcha)==null||m.destroy(a),setTimeout(()=>{i.remove()},100)}return(p=window.smartCaptcha)==null||p.execute(a),o}async execute(t){if(this.sitekey){ft("Load smartCaptcha script");try{await this.loadScript()}catch(o){const r=o instanceof Te?o:new Te("Could not load captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(!window.smartCaptcha){const o=new Te("SmartCaptcha is not available in window");throw this.onErrorChallenge(this.provider,o),o}try{return ft("Render SmartCaptcha widget"),await this.renderWidget(t)}catch(o){if(!o)return;if(o instanceof Te)if(this.errorHandler(o),o.level==="fatal")this.notify("Произошла непредвиденная ошибка. Мы уже делаем все возможное чтобы устранить её."),this.onErrorChallenge(this.provider,o);else switch(o.reason){case"expired":this.notify("Прошло слишком много времени с момента начала проверки. Попробуйте еще раз."),this.onWarnChallenge(this.provider,o);break;case"timeout":this.notify("Вероятно у вас проблемы с подключением к сети. Попробуйте еще раз."),this.onErrorChallenge(this.provider,o);break}else{const r=new Te("Could not render captcha with error","fatal");r.cause=o,this.onErrorChallenge(this.provider,r)}return}}}};pr.LOCALE_STORAGE_DEBUG_KEY="captcha:smart-captcha:debug";let xc=pr;class YC{constructor(t){var o,r;switch(this.sitekey=null,this.provider=null,this.captcha=null,this.sitekey=(o=t.sitekey)!=null?o:null,this.provider=(r=t.provider)!=null?r:null,t.provider){case"yandex_smart_captcha":this.captcha=new xc(t);break;case"cloudflare_turnstile":this.captcha=new vc(t);break;case"recaptcha":this.captcha=new yc(t);break}}isEnabled(){return typeof this.sitekey=="string"&&this.sitekey!==""}async execute(t){if(this.isEnabled()===!1||!this.provider||!this.captcha)return;const o=await this.captcha.execute(t);return ft("Receive answer from captcha provider"),{captcha_provider:this.provider,captcha_token:o||""}}}function QC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Du={exports:{}},br=typeof Reflect=="object"?Reflect:null,$h=br&&typeof br.apply=="function"?br.apply:function(t,o,r){return Function.prototype.apply.call(t,o,r)},pi;br&&typeof br.ownKeys=="function"?pi=br.ownKeys:Object.getOwnPropertySymbols?pi=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:pi=function(t){return Object.getOwnPropertyNames(t)};function ZC(e){console&&console.warn&&console.warn(e)}var I1=Number.isNaN||function(t){return t!==t};function Pe(){Pe.init.call(this)}Du.exports=Pe;Du.exports.once=tO;Pe.EventEmitter=Pe;Pe.prototype._events=void 0;Pe.prototype._eventsCount=0;Pe.prototype._maxListeners=void 0;var e0=10;function ps(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Pe,"defaultMaxListeners",{enumerable:!0,get:function(){return e0},set:function(e){if(typeof e!="number"||e<0||I1(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");e0=e}});Pe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Pe.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||I1(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function N1(e){return e._maxListeners===void 0?Pe.defaultMaxListeners:e._maxListeners}Pe.prototype.getMaxListeners=function(){return N1(this)};Pe.prototype.emit=function(t){for(var o=[],r=1;r<arguments.length;r++)o.push(arguments[r]);var n=t==="error",i=this._events;if(i!==void 0)n=n&&i.error===void 0;else if(!n)return!1;if(n){var s;if(o.length>0&&(s=o[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[t];if(l===void 0)return!1;if(typeof l=="function")$h(l,this,o);else for(var c=l.length,d=V1(l,c),r=0;r<c;++r)$h(d[r],this,o);return!0};function j1(e,t,o,r){var n,i,s;if(ps(o),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,o.listener?o.listener:o),i=e._events),s=i[t]),s===void 0)s=i[t]=o,++e._eventsCount;else if(typeof s=="function"?s=i[t]=r?[o,s]:[s,o]:r?s.unshift(o):s.push(o),n=N1(e),n>0&&s.length>n&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,ZC(a)}return e}Pe.prototype.addListener=function(t,o){return j1(this,t,o,!1)};Pe.prototype.on=Pe.prototype.addListener;Pe.prototype.prependListener=function(t,o){return j1(this,t,o,!0)};function KC(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function X1(e,t,o){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:o},n=KC.bind(r);return n.listener=o,r.wrapFn=n,n}Pe.prototype.once=function(t,o){return ps(o),this.on(t,X1(this,t,o)),this};Pe.prototype.prependOnceListener=function(t,o){return ps(o),this.prependListener(t,X1(this,t,o)),this};Pe.prototype.removeListener=function(t,o){var r,n,i,s,a;if(ps(o),n=this._events,n===void 0)return this;if(r=n[t],r===void 0)return this;if(r===o||r.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||o));else if(typeof r!="function"){for(i=-1,s=r.length-1;s>=0;s--)if(r[s]===o||r[s].listener===o){a=r[s].listener,i=s;break}if(i<0)return this;i===0?r.shift():$C(r,i),r.length===1&&(n[t]=r[0]),n.removeListener!==void 0&&this.emit("removeListener",t,a||o)}return this};Pe.prototype.off=Pe.prototype.removeListener;Pe.prototype.removeAllListeners=function(t){var o,r,n;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[t]),this;if(arguments.length===0){var i=Object.keys(r),s;for(n=0;n<i.length;++n)s=i[n],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(o=r[t],typeof o=="function")this.removeListener(t,o);else if(o!==void 0)for(n=o.length-1;n>=0;n--)this.removeListener(t,o[n]);return this};function F1(e,t,o){var r=e._events;if(r===void 0)return[];var n=r[t];return n===void 0?[]:typeof n=="function"?o?[n.listener||n]:[n]:o?eO(n):V1(n,n.length)}Pe.prototype.listeners=function(t){return F1(this,t,!0)};Pe.prototype.rawListeners=function(t){return F1(this,t,!1)};Pe.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):U1.call(e,t)};Pe.prototype.listenerCount=U1;function U1(e){var t=this._events;if(t!==void 0){var o=t[e];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}Pe.prototype.eventNames=function(){return this._eventsCount>0?pi(this._events):[]};function V1(e,t){for(var o=new Array(t),r=0;r<t;++r)o[r]=e[r];return o}function $C(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function eO(e){for(var t=new Array(e.length),o=0;o<t.length;++o)t[o]=e[o].listener||e[o];return t}function tO(e,t){return new Promise(function(o,r){function n(s){e.removeListener(t,i),r(s)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",n),o([].slice.call(arguments))}G1(e,t,i,{once:!0}),t!=="error"&&oO(e,n,{once:!0})})}function oO(e,t,o){typeof e.on=="function"&&G1(e,"error",t,o)}function G1(e,t,o,r){if(typeof e.on=="function")r.once?e.once(t,o):e.on(t,o);else if(typeof e.addEventListener=="function")e.addEventListener(t,function n(i){r.once&&e.removeEventListener(t,n),o(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var rO=Du.exports,q1=QC(rO),je;(function(e){e[e.timeout=1]="timeout",e[e.transportClosed=2]="transportClosed",e[e.clientDisconnected=3]="clientDisconnected",e[e.clientClosed=4]="clientClosed",e[e.clientConnectToken=5]="clientConnectToken",e[e.clientRefreshToken=6]="clientRefreshToken",e[e.subscriptionUnsubscribed=7]="subscriptionUnsubscribed",e[e.subscriptionSubscribeToken=8]="subscriptionSubscribeToken",e[e.subscriptionRefreshToken=9]="subscriptionRefreshToken",e[e.transportWriteError=10]="transportWriteError",e[e.connectionClosed=11]="connectionClosed",e[e.badConfiguration=12]="badConfiguration"})(je||(je={}));var bo;(function(e){e[e.connectCalled=0]="connectCalled",e[e.transportClosed=1]="transportClosed",e[e.noPing=2]="noPing",e[e.subscribeTimeout=3]="subscribeTimeout",e[e.unsubscribeError=4]="unsubscribeError"})(bo||(bo={}));var on;(function(e){e[e.disconnectCalled=0]="disconnectCalled",e[e.unauthorized=1]="unauthorized",e[e.badProtocol=2]="badProtocol",e[e.messageSizeLimit=3]="messageSizeLimit"})(on||(on={}));var Di;(function(e){e[e.subscribeCalled=0]="subscribeCalled",e[e.transportClosed=1]="transportClosed"})(Di||(Di={}));var Li;(function(e){e[e.unsubscribeCalled=0]="unsubscribeCalled",e[e.unauthorized=1]="unauthorized",e[e.clientClosed=2]="clientClosed"})(Li||(Li={}));var Qe;(function(e){e.Disconnected="disconnected",e.Connecting="connecting",e.Connected="connected"})(Qe||(Qe={}));var ht;(function(e){e.Unsubscribed="unsubscribed",e.Subscribing="subscribing",e.Subscribed="subscribed"})(ht||(ht={}));function nO(e,t){return e.lastIndexOf(t,0)===0}function J1(e){return e==null?!1:typeof e=="function"}function iO(e,t){if(globalThis.console){const o=globalThis.console[e];J1(o)&&o.apply(globalThis.console,t)}}function sO(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function _i(e,t,o){e>31&&(e=31);const r=sO(0,Math.min(o,t*Math.pow(2,e)));return Math.min(o,t+r)}function aO(e){return"error"in e&&e.error!==null}function Ii(e){return Math.min(e*1e3,2147483647)}class lO extends q1{constructor(t,o,r){super(),this._resubscribeTimeout=null,this._refreshTimeout=null,this.channel=o,this.state=ht.Unsubscribed,this._centrifuge=t,this._token="",this._getToken=null,this._data=null,this._getData=null,this._recover=!1,this._offset=null,this._epoch=null,this._recoverable=!1,this._positioned=!1,this._joinLeave=!1,this._minResubscribeDelay=500,this._maxResubscribeDelay=2e4,this._resubscribeTimeout=null,this._resubscribeAttempts=0,this._promises={},this._promiseId=0,this._inflight=!1,this._refreshTimeout=null,this._setOptions(r),this._centrifuge._debugEnabled?(this.on("state",n=>{this._centrifuge._debug("subscription state",o,n.oldState,"->",n.newState)}),this.on("error",n=>{this._centrifuge._debug("subscription error",o,n)})):this.on("error",function(){Function.prototype()})}ready(t){return this.state===ht.Unsubscribed?Promise.reject({code:je.subscriptionUnsubscribed,message:this.state}):this.state===ht.Subscribed?Promise.resolve():new Promise((o,r)=>{const n={resolve:o,reject:r};t&&(n.timeout=setTimeout(function(){r({code:je.timeout,message:"timeout"})},t)),this._promises[this._nextPromiseId()]=n})}subscribe(){this._isSubscribed()||(this._resubscribeAttempts=0,this._setSubscribing(Di.subscribeCalled,"subscribe called"))}unsubscribe(){this._setUnsubscribed(Li.unsubscribeCalled,"unsubscribe called",!0)}publish(t){const o=this;return this._methodCall().then(function(){return o._centrifuge.publish(o.channel,t)})}presence(){const t=this;return this._methodCall().then(function(){return t._centrifuge.presence(t.channel)})}presenceStats(){const t=this;return this._methodCall().then(function(){return t._centrifuge.presenceStats(t.channel)})}history(t){const o=this;return this._methodCall().then(function(){return o._centrifuge.history(o.channel,t)})}_methodCall(){return this._isSubscribed()?Promise.resolve():this._isUnsubscribed()?Promise.reject({code:je.subscriptionUnsubscribed,message:this.state}):new Promise((t,o)=>{const r=setTimeout(function(){o({code:je.timeout,message:"timeout"})},this._centrifuge._config.timeout);this._promises[this._nextPromiseId()]={timeout:r,resolve:t,reject:o}})}_nextPromiseId(){return++this._promiseId}_needRecover(){return this._recover===!0}_isUnsubscribed(){return this.state===ht.Unsubscribed}_isSubscribing(){return this.state===ht.Subscribing}_isSubscribed(){return this.state===ht.Subscribed}_setState(t){if(this.state!==t){const o=this.state;return this.state=t,this.emit("state",{newState:t,oldState:o,channel:this.channel}),!0}return!1}_usesToken(){return this._token!==""||this._getToken!==null}_clearSubscribingState(){this._resubscribeAttempts=0,this._clearResubscribeTimeout()}_clearSubscribedState(){this._clearRefreshTimeout()}_setSubscribed(t){if(!this._isSubscribing())return;this._clearSubscribingState(),t.recoverable&&(this._recover=!0,this._offset=t.offset||0,this._epoch=t.epoch||""),this._setState(ht.Subscribed);const o=this._centrifuge._getSubscribeContext(this.channel,t);this.emit("subscribed",o),this._resolvePromises();const r=t.publications;if(r&&r.length>0)for(const n in r)r.hasOwnProperty(n)&&this._handlePublication(r[n]);t.expires===!0&&(this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl)))}_setSubscribing(t,o){this._isSubscribing()||(this._isSubscribed()&&this._clearSubscribedState(),this._setState(ht.Subscribing)&&this.emit("subscribing",{channel:this.channel,code:t,reason:o}),this._subscribe())}_subscribe(){if(this._centrifuge._debug("subscribing on",this.channel),!this._centrifuge._transportIsOpen)return this._centrifuge._debug("delay subscribe on",this.channel,"till connected"),null;const t=this,o={channel:t.channel};return!this._usesToken()||this._token?t._getData?(t._getData(o).then(function(r){t._isSubscribing()&&(t._data=r,t._sendSubscribe(t._token))}),null):t._sendSubscribe(t._token):(this._getSubscriptionToken().then(function(r){if(t._isSubscribing()){if(!r){t._failUnauthorized();return}t._token=r,t._getData?t._getData(o).then(function(n){t._isSubscribing()&&(t._data=n,t._sendSubscribe(r))}):t._sendSubscribe(r)}}).catch(function(r){if(t._isSubscribing()){if(r instanceof jo){t._failUnauthorized();return}t.emit("error",{type:"subscribeToken",channel:t.channel,error:{code:je.subscriptionSubscribeToken,message:r!==void 0?r.toString():""}}),t._scheduleResubscribe()}}),null)}_sendSubscribe(t){if(!this._centrifuge._transportIsOpen)return null;const r={channel:this.channel};if(t&&(r.token=t),this._data&&(r.data=this._data),this._positioned&&(r.positioned=!0),this._recoverable&&(r.recoverable=!0),this._joinLeave&&(r.join_leave=!0),this._needRecover()){r.recover=!0;const i=this._getOffset();i&&(r.offset=i);const s=this._getEpoch();s&&(r.epoch=s)}const n={subscribe:r};return this._inflight=!0,this._centrifuge._call(n).then(i=>{this._inflight=!1;const s=i.reply.subscribe;this._handleSubscribeResponse(s),i.next&&i.next()},i=>{this._inflight=!1,this._handleSubscribeError(i.error),i.next&&i.next()}),n}_handleSubscribeError(t){if(this._isSubscribing()){if(t.code===je.timeout){this._centrifuge._disconnect(bo.subscribeTimeout,"subscribe timeout",!0);return}this._subscribeError(t)}}_handleSubscribeResponse(t){this._isSubscribing()&&this._setSubscribed(t)}_setUnsubscribed(t,o,r){this._isUnsubscribed()||(this._isSubscribed()&&(r&&this._centrifuge._unsubscribe(this),this._clearSubscribedState()),this._isSubscribing()&&(this._inflight&&r&&this._centrifuge._unsubscribe(this),this._clearSubscribingState()),this._setState(ht.Unsubscribed)&&this.emit("unsubscribed",{channel:this.channel,code:t,reason:o}),this._rejectPromises({code:je.subscriptionUnsubscribed,message:this.state}))}_handlePublication(t){const o=this._centrifuge._getPublicationContext(this.channel,t);this.emit("publication",o),t.offset&&(this._offset=t.offset)}_handleJoin(t){const o=this._centrifuge._getJoinLeaveContext(t.info);this.emit("join",{channel:this.channel,info:o})}_handleLeave(t){const o=this._centrifuge._getJoinLeaveContext(t.info);this.emit("leave",{channel:this.channel,info:o})}_resolvePromises(){for(const t in this._promises)this._promises.hasOwnProperty(t)&&(this._promises[t].timeout&&clearTimeout(this._promises[t].timeout),this._promises[t].resolve(),delete this._promises[t])}_rejectPromises(t){for(const o in this._promises)this._promises.hasOwnProperty(o)&&(this._promises[o].timeout&&clearTimeout(this._promises[o].timeout),this._promises[o].reject(t),delete this._promises[o])}_scheduleResubscribe(){const t=this,o=this._getResubscribeDelay();this._resubscribeTimeout=setTimeout(function(){t._isSubscribing()&&t._subscribe()},o)}_subscribeError(t){if(this._isSubscribing())if(t.code<100||t.code===109||t.temporary===!0){t.code===109&&(this._token="");const o={channel:this.channel,type:"subscribe",error:t};this._centrifuge.state===Qe.Connected&&this.emit("error",o),this._scheduleResubscribe()}else this._setUnsubscribed(t.code,t.message,!1)}_getResubscribeDelay(){const t=_i(this._resubscribeAttempts,this._minResubscribeDelay,this._maxResubscribeDelay);return this._resubscribeAttempts++,t}_setOptions(t){t&&(t.since&&(this._offset=t.since.offset,this._epoch=t.since.epoch,this._recover=!0),t.data&&(this._data=t.data),t.getData&&(this._getData=t.getData),t.minResubscribeDelay!==void 0&&(this._minResubscribeDelay=t.minResubscribeDelay),t.maxResubscribeDelay!==void 0&&(this._maxResubscribeDelay=t.maxResubscribeDelay),t.token&&(this._token=t.token),t.getToken&&(this._getToken=t.getToken),t.positioned===!0&&(this._positioned=!0),t.recoverable===!0&&(this._recoverable=!0),t.joinLeave===!0&&(this._joinLeave=!0))}_getOffset(){const t=this._offset;return t!==null?t:0}_getEpoch(){const t=this._epoch;return t!==null?t:""}_clearRefreshTimeout(){this._refreshTimeout!==null&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null)}_clearResubscribeTimeout(){this._resubscribeTimeout!==null&&(clearTimeout(this._resubscribeTimeout),this._resubscribeTimeout=null)}_getSubscriptionToken(){this._centrifuge._debug("get subscription token for channel",this.channel);const t={channel:this.channel},o=this._getToken;if(o===null)throw this.emit("error",{type:"configuration",channel:this.channel,error:{code:je.badConfiguration,message:"provide a function to get channel subscription token"}}),new jo("");return o(t)}_refresh(){this._clearRefreshTimeout();const t=this;this._getSubscriptionToken().then(function(o){if(!t._isSubscribed())return;if(!o){t._failUnauthorized();return}t._token=o;const n={sub_refresh:{channel:t.channel,token:o}};t._centrifuge._call(n).then(i=>{const s=i.reply.sub_refresh;t._refreshResponse(s),i.next&&i.next()},i=>{t._refreshError(i.error),i.next&&i.next()})}).catch(function(o){if(o instanceof jo){t._failUnauthorized();return}t.emit("error",{type:"refreshToken",channel:t.channel,error:{code:je.subscriptionRefreshToken,message:o!==void 0?o.toString():""}}),t._refreshTimeout=setTimeout(()=>t._refresh(),t._getRefreshRetryDelay())})}_refreshResponse(t){this._isSubscribed()&&(this._centrifuge._debug("subscription token refreshed, channel",this.channel),this._clearRefreshTimeout(),t.expires===!0&&(this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl))))}_refreshError(t){this._isSubscribed()&&(t.code<100||t.temporary===!0?(this.emit("error",{type:"refresh",channel:this.channel,error:t}),this._refreshTimeout=setTimeout(()=>this._refresh(),this._getRefreshRetryDelay())):this._setUnsubscribed(t.code,t.message,!0))}_getRefreshRetryDelay(){return _i(0,1e4,2e4)}_failUnauthorized(){this._setUnsubscribed(Li.unauthorized,"unauthorized",!0)}}class cO{constructor(t,o){this.endpoint=t,this.options=o,this._transport=null}name(){return"sockjs"}subName(){return"sockjs-"+this._transport.transport}emulation(){return!1}supported(){return this.options.sockjs!==null}initialize(t,o){this._transport=new this.options.sockjs(this.endpoint,null,this.options.sockjsOptions),this._transport.onopen=()=>{o.onOpen()},this._transport.onerror=r=>{o.onError(r)},this._transport.onclose=r=>{o.onClose(r)},this._transport.onmessage=r=>{o.onMessage(r.data)}}close(){this._transport.close()}send(t){this._transport.send(t)}}class t0{constructor(t,o){this.endpoint=t,this.options=o,this._transport=null}name(){return"websocket"}subName(){return"websocket"}emulation(){return!1}supported(){return this.options.websocket!==void 0&&this.options.websocket!==null}initialize(t,o){let r="";t==="protobuf"&&(r="centrifuge-protobuf"),r!==""?this._transport=new this.options.websocket(this.endpoint,r):this._transport=new this.options.websocket(this.endpoint),t==="protobuf"&&(this._transport.binaryType="arraybuffer"),this._transport.onopen=()=>{o.onOpen()},this._transport.onerror=n=>{o.onError(n)},this._transport.onclose=n=>{o.onClose(n)},this._transport.onmessage=n=>{o.onMessage(n.data)}}close(){this._transport.close()}send(t){this._transport.send(t)}}class uO{constructor(t,o){this.endpoint=t,this.options=o,this._abortController=null,this._utf8decoder=new TextDecoder,this._protocol="json"}name(){return"http_stream"}subName(){return"http_stream"}emulation(){return!0}_handleErrors(t){if(!t.ok)throw new Error(t.status);return t}_fetchEventTarget(t,o,r){const n=new EventTarget,i=t.options.fetch;return i(o,r).then(t._handleErrors).then(s=>{n.dispatchEvent(new Event("open"));let a="",l=0,c=new Uint8Array;const d=s.body.getReader();return new t.options.readableStream({start(h){function f(){return d.read().then(({done:b,value:v})=>{if(b){n.dispatchEvent(new Event("close")),h.close();return}try{if(t._protocol==="json")for(a+=t._utf8decoder.decode(v);l<a.length;)if(a[l]===`
|
|
1192
|
-
`){const
|
|
1191
|
+
`;class Te extends Error{constructor(t,o="error"){super(t),this.level="error",this.name="CaptchaError",this.message=t,this.level=o}}function ft(...e){const t=["[CaptchaService] ",...e];console.debug.apply(console,t)}const Ro=(...e)=>{},Nt=class Nt{constructor({sitekey:t,locale:o,notify:r,onRenderCaptcha:n,onSuccessChallenge:i,onErrorChallenge:s,onWarnChallenge:a,onBeforeInteractiveChallenge:l,onAfterInteractiveChallenge:c}){this.sitekey=null,this.locale="ru",this.provider="cloudflare_turnstile",this.container=null,this.notifyHandler=r!=null?r:Ro,this.sitekey=t!=null?t:null,this.onRenderCaptcha=n!=null?n:Ro,this.onSuccessChallenge=i!=null?i:Ro,this.onErrorChallenge=s!=null?s:Ro,this.onWarnChallenge=a!=null?a:Ro,this.onBeforeInteractiveChallenge=l!=null?l:Ro,this.onAfterInteractiveChallenge=c!=null?c:Ro,o&&(this.locale=o),this.addDomElements(),Nt.DEBUG&&(window.cf=this)}notify(...t){this.notifyHandler&&this.notifyHandler(...t)}addDomElements(){this.container||document.getElementById(bc)||(document.body.insertAdjacentHTML("beforeend",WC),document.body.insertAdjacentHTML("beforeend",`<style>${JC}</style>`),this.container=document.getElementById(bc))}static async appendScript(t){if(typeof t!="string"||t==="")throw new TypeError("src script is not defined");const o=document.createElement("script");return o.src=t,document.body&&document.body.appendChild(o),new Promise((r,n)=>{o.addEventListener("load",()=>{r(!0)}),o.addEventListener("error",()=>{n()})})}show(){var t;(t=this.container)==null||t.classList.add("fox-cf-turnstile--showing"),Nt.bodyScrollLock()}hide(){var t,o;(t=this.container)==null||t.classList.remove("fox-cf-turnstile--show"),(o=this.container)==null||o.classList.remove("fox-cf-turnstile--showing"),Nt.bodyScrollUnlock()}async loadScript(){if(window.turnstile)return Promise.resolve(window.turnstile);const t=async()=>await Nt.appendScript("https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=onloadTurnstileCallback");return new Promise((o,r)=>{window.onloadTurnstileCallback=()=>{this.turnstileReady(),window.turnstile?o(window.turnstile):r(new Te("Cloudflare Turnstile is not available"))},t().catch(()=>r(new Te("Could not load Cloudflare Turnstile")))})}turnstileReady(){var t,o;ft("Cloudflare Turnstile is ready",window.turnstile),(o=(t=this.container)==null?void 0:t.querySelector(".fox-cf-turnstile__loader"))==null||o.remove()}static normalizeLocation(t=""){return t.substring(0,31).replace(/\//g,"_")}static bodyScrollLock(){const t=document.body;t.style.setProperty("--st",`-${document.documentElement.scrollTop}px`),t.classList.add("fox-cf-turnstile__noscroll")}static bodyScrollUnlock(){document.body.classList.remove("fox-cf-turnstile__noscroll")}async renderWidget(t){return new Promise((o,r)=>{var s;let n="";function i(){var a;(a=window.turnstile)==null||a.reset(n),setTimeout(()=>{var l;(l=window.turnstile)==null||l.remove(n)},500)}n=(s=window.turnstile)==null?void 0:s.render(`#${L1}`,{action:Nt.normalizeLocation(t==null?void 0:t.location),"after-interactive-callback":()=>{ft("after-interactive-callback"),this.onAfterInteractiveChallenge(this.provider)},"before-interactive-callback":()=>{ft("before-interactive-callback"),this.onBeforeInteractiveChallenge(this.provider),this.show()},callback:a=>{ft("Challenge Success"),this.hide(),o(a),i()},"error-callback":a=>{r(a),i()},"expired-callback":()=>{this.hide(),r("expired"),i()},language:this.locale,sitekey:this.sitekey,theme:"light","timeout-callback":()=>{this.hide(),r("timeout"),i()},"unsupported-callback":()=>{r("110500"),i()}})})}errorHandler(t){ft("Captcha error with code:",t);let o=[...Nt.NO_RETRY_ERROR_CODES];if(typeof t!="string"){this.notify("Что-то пошло не так. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");return}const r=t;switch(!0){case r.startsWith("110500"):o=o.filter(n=>!n.startsWith("110500")),this.notify("Ваш браузер устарел. Попробуйте ещё раз, используя другой браузер или устройство.");break;case r.startsWith("110600"):o=o.filter(n=>!n.startsWith("110600")),this.notify("Прошло слишком много времени с момента начала проверки. Попробуйте еще раз.");break;case r.startsWith("110510"):o=o.filter(n=>!n.startsWith("110510")),this.notify("Что-то пошло не так — возможно, вы используете технологию подмены User agent. Попробуйте ещё раз или обратитесь в поддержку");break;case r.startsWith("200010"):this.notify('Что-то пошло не так. Попробуйте <a href="https://yandex.ru/support/common/browsers-settings/cache.html" target="_blank" rel="nofollow noopener">очистить кеш браузера</a>. Если не помогает, обратитесь в поддержку.');break;case r.startsWith("200100"):o=o.filter(n=>!n.startsWith("200100")),this.notify("Кажется, часы на вашем компьютере показывают неправильное время. Настройте часы и попробуйте ещё раз.");break;case r.startsWith("300"):case r.startsWith("600"):o=o.filter(n=>!n.startsWith("300")||!n.startsWith("600")),this.notify("Потвердите еще раз что вы человек");break}if(o.some(n=>r.startsWith(n))){this.notify(`Что-то пошло не так, код ошибки — ${r}. Мы уже знаем о проблеме и скоро всё поправим. Попробуйте ещё раз через некоторое время.`);return}}async execute(t){if(this.sitekey){ft("Load cloudflare script");try{await this.loadScript()}catch(o){const r=o instanceof Te?o:new Te("Could not load captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(!window.turnstile){const o=new Te("Cloudflare Turnstile is not available in window");throw this.onErrorChallenge(this.provider,o),o}try{ft("Render turnstile widget"),this.onRenderCaptcha(this.provider);const o=await this.renderWidget(t);return this.onSuccessChallenge(this.provider),o}catch(o){if(this.errorHandler(o),typeof o!="string"){const r=new Te("Could not execute captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(["110200","110100","110110"].some(r=>o.startsWith(r))){const r=new Te("Invalid sitekey or domain is not allowed");throw r.code=o,this.onErrorChallenge(this.provider,r),r}if(Nt.NO_RETRY_ERROR_CODES.some(r=>o.startsWith(r))){const r=new Te("Captcha challenge is failed");r.code=o,this.onErrorChallenge(this.provider,r)}else{const r=new Te("Captcha challenge has error");r.reason=["timeout","expired"].includes(o)?o:void 0,r.code=o,this.onWarnChallenge(this.provider,r)}return}}}};Nt.DEBUG=!1,Nt.NO_RETRY_ERROR_CODES=["100","105","106","110100","110110","110200","110420","110430","110500","110510","120","200010","200100"];let vc=Nt;const Fr="recaptcha-widget";function _1(){let e=new Date().getTime(),t=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxx-xxxx-4xxx-yxxx".replace(/[xy]/g,function(o){let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),(o==="x"?r:r&3|8).toString(16)})}const Ur=(...e)=>{},Et=class Et{constructor({sitekey:t,locale:o,notify:r,onRenderCaptcha:n,onSuccessChallenge:i,onWarnChallenge:s,onErrorChallenge:a}){this.sitekey=null,this.locale="ru",this.container=null,this.provider="recaptcha",this.sitekey=t!=null?t:null,this.notifyHandler=r!=null?r:Ur,this.onRenderCaptcha=n!=null?n:Ur,this.onSuccessChallenge=i!=null?i:Ur,this.onWarnChallenge=s!=null?s:Ur,this.onErrorChallenge=a!=null?a:Ur,o&&(this.locale=o),this.addDomElements(),Et.DEBUG&&(window.gr=this)}recaptchaReady(){ft("Google recaptcha is ready",window.grecaptcha,this)}addDomElements(){if(this.container||document.getElementById(Fr))return;document.body.insertAdjacentHTML("beforeend",`<div id="${Fr}"></div>`);const t=document.getElementById(Fr);t.style.display="none",this.container=t}static getGrecaptchaCallbackNames(){return{error:`${Et.ERROR_FUNC_NAME}`,expired:`${Et.EXPIRED_FUNC_NAME}`,resolve:`${Et.RESOLVE_FUNC_NAME}`}}static async appendScript(t){if(typeof t!="string"||t==="")throw new TypeError("src script is not defined");const o=document.createElement("script");return o.src=t,document.body&&document.body.appendChild(o),new Promise((r,n)=>{o.addEventListener("load",()=>{r(!0)}),o.addEventListener("error",()=>{n()})})}async loadScript(){if(window.grecaptcha)return Promise.resolve(window.grecaptcha);const t=async()=>await Et.appendScript(`https://www.google.com/recaptcha/api.js?hl=${this.locale}&onload=onloadRecaptchaCallback`);return new Promise((o,r)=>{window.onloadRecaptchaCallback=()=>{this.recaptchaReady(),window.grecaptcha?o(window.grecaptcha):r(new Te("Recaptcha is not available"))},t().catch(()=>r(new Te("Could not load Recaptcha")))})}notify(...t){this.notifyHandler&&this.notifyHandler(...t)}errorHandler(t){switch(ft("Recaptcha error:",t),t){case"expired":this.notify("Прошло слишком много времени с момента начала проверки. Попробуйте еще раз.");break;case"closed":this.notify("Вы не завершили прохождение проверки. Попробуйте еще раз.");break;case"timeout":this.notify("Возможно произшла ошибка с сетевым подключением. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break;default:this.notify("Что-то пошло не так. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break}}static detectCaptchaChallengeIsShown(){return new Promise(function(t){const o=document.body,r={attributeOldValue:!1,attributes:!1,characterData:!1,characterDataOldValue:!1,childList:!0,subtree:!1};function n(s){s.forEach(a=>{if(a.addedNodes.length){const l=a.addedNodes[0];if(!l)return;if(l.querySelectorAll('iframe[src^="https://www.google.com/recaptcha"][src*="bframe"]').length){const d=l.firstChild;d&&(i.disconnect(),t(d))}}})}const i=new MutationObserver(n);i.observe(o,r)})}renderWidget(t){return new Promise((o,r)=>{var d,g,f;const n=document.createElement("div"),i=`${Fr}_${_1()}`;n.id=i,(d=document.getElementById(Fr))==null||d.appendChild(n);const s=Et.getGrecaptchaCallbackNames();let a=NaN;Et.detectCaptchaChallengeIsShown().then(b=>{if(!b.parentElement)return;const v=new MutationObserver(function(){var p,h;((p=b.parentElement)==null?void 0:p.style.visibility)==="hidden"&&!((h=window.grecaptcha)!=null&&h.getResponse(a))&&(v.disconnect(),r("closed"),l())});v.observe(b.parentElement,{attributeFilter:["style"],attributes:!0})});function l(){var b;(b=window.grecaptcha)==null||b.reset(),setTimeout(()=>{n.remove()},1e3)}window[s.resolve]=()=>{var v;const b=(v=window.grecaptcha)==null?void 0:v.getResponse(a);o(b!=null?b:""),l()},window[s.error]=()=>{r("error"),l()},window[s.expired]=()=>{r("expired"),l()},a=(g=window.grecaptcha)==null?void 0:g.render(i,{callback:s.resolve,"error-callback":s.error,"expired-callback":s.expired,sitekey:this.sitekey,size:"invisible"});const c=(f=window.grecaptcha)==null?void 0:f.execute(a);if(!c){r(new Error("cannot call method execute from grecaptcha")),l();return}c.catch(b=>{r(b instanceof Error?b:new Error(b.toString())),l()})})}async execute(t){if(this.sitekey){ft("Load recaptcha script");try{await this.loadScript()}catch(o){const r=o instanceof Te?o:new Te("Could not load captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(!window.grecaptcha){const o=new Te("Recaptcha is not available in window");throw this.onErrorChallenge(this.provider,o),o}try{ft("Render Recaptcha widget"),this.onRenderCaptcha(this.provider);const o=await this.renderWidget(t);return this.onSuccessChallenge(this.provider),o}catch(o){if(this.errorHandler(o),typeof o!="string"){const r=new Te("Could not execute captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(o==="expired"){const r=new Te("Challenge or token expired");r.reason="expired",this.onWarnChallenge(this.provider,r)}if(o==="error"){const r=new Te("Error during captcha execution");this.onErrorChallenge(this.provider,r)}return}}}};Et.RESOLVE_FUNC_NAME="grecaptcha_resolved",Et.ERROR_FUNC_NAME="grecaptcha_error",Et.EXPIRED_FUNC_NAME="grecaptcha_expired",Et.DEBUG=!1;let yc=Et;typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e,t;return{promise:new Promise((r,n)=>{e=r,t=n}),reject:t,resolve:e}});const Vr="smartcaptcha-container",Mo=(...e)=>{},pr=class pr{constructor({sitekey:t,locale:o,notify:r,onRenderCaptcha:n,onSuccessChallenge:i,onWarnChallenge:s,onErrorChallenge:a,onBeforeInteractiveChallenge:l,onAfterInteractiveChallenge:c}){this.sitekey=null,this.container=null,this.provider="yandex_smart_captcha",this.locale=o!=null?o:"ru",this.sitekey=t!=null?t:null,this.notifyHandler=r!=null?r:Mo,this.onRenderCaptcha=n!=null?n:Mo,this.onSuccessChallenge=i!=null?i:Mo,this.onWarnChallenge=s!=null?s:Mo,this.onErrorChallenge=a!=null?a:Mo,this.onBeforeInteractiveChallenge=l!=null?l:Mo,this.onAfterInteractiveChallenge=c!=null?c:Mo,this.addDomElements()}smartCaptchaReady(){ft("Smart captcha is ready",window.smartCaptcha,this)}addDomElements(){if(this.container||document.getElementById(Vr))return;document.body.insertAdjacentHTML("beforeend",`<div id="${Vr}"></div>`);const t=document.getElementById(Vr);t.style.display="none",this.container=t}static async appendScript(t){if(typeof t!="string"||t==="")throw new TypeError("src script is not defined");const o=document.createElement("script");return o.src=t,document.body&&document.body.appendChild(o),new Promise((r,n)=>{o.addEventListener("load",()=>{r(!0)}),o.addEventListener("error",()=>{n()})})}async loadScript(){if(window.smartCaptcha)return Promise.resolve(window.smartCaptcha);const t=async()=>await pr.appendScript("https://smartcaptcha.yandexcloud.net/captcha.js?render=onload&onload=onloadSmartCaptchaCallback");return new Promise((o,r)=>{window.onloadSmartCaptchaCallback=()=>{this.smartCaptchaReady(),window.smartCaptcha?o(window.smartCaptcha):r(new Te("SmartCaptcha is not available"))},t().catch(()=>r(new Te("Could not load SmartCaptcha")))})}notify(...t){this.notifyHandler&&this.notifyHandler(...t)}errorHandler(t){switch(ft("SmartCaptcha error:",t),t){case"closed":this.notify("Вы не завершили прохождение проверки. Попробуйте еще раз.");break;case"timeout":this.notify("Возможно произшла ошибка с сетевым подключением. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break;default:this.notify("Что-то пошло не так. Попробуйте ещё раз. Если не помогает, обратитесь в поддержку.");break}}static getDebugValue(){try{if(localStorage.getItem(pr.LOCALE_STORAGE_DEBUG_KEY)==="true")return!0}catch{}return!1}renderWidget(t){var c,d,g,f,b,v,p,h;const{promise:o,resolve:r,reject:n}=Promise.withResolvers(),i=document.createElement("div"),s=`${Vr}_${_1()}`;i.id=s,(c=document.getElementById(Vr))==null||c.appendChild(i),this.onRenderCaptcha(this.provider);const a=window.smartCaptcha.render(s,{callback:m=>{r(m),l()},hideShield:!0,hl:this.locale,invisible:!0,sitekey:this.sitekey,test:pr.getDebugValue()});(d=window.smartCaptcha)==null||d.subscribe(a,"challenge-visible",()=>{this.onBeforeInteractiveChallenge(this.provider)}),(g=window.smartCaptcha)==null||g.subscribe(a,"challenge-hidden",()=>{this.onAfterInteractiveChallenge(this.provider),n()}),(f=window.smartCaptcha)==null||f.subscribe(a,"token-expired",()=>{const m=new Te("Token expired");m.reason="expired",n(m)}),(b=window.smartCaptcha)==null||b.subscribe(a,"success",()=>{this.onSuccessChallenge(this.provider)}),(v=window.smartCaptcha)==null||v.subscribe(a,"network-error",()=>{const m=new Te("Network error");m.reason="timeout",n(m)}),(p=window.smartCaptcha)==null||p.subscribe(a,"javascript-error",m=>{const y=new Te("Javascript error","fatal");y.cause=m,n("javascript-error")});function l(){var m;(m=window.smartCaptcha)==null||m.destroy(a),setTimeout(()=>{i.remove()},100)}return(h=window.smartCaptcha)==null||h.execute(a),o}async execute(t){if(this.sitekey){ft("Load smartCaptcha script");try{await this.loadScript()}catch(o){const r=o instanceof Te?o:new Te("Could not load captcha with error: "+o.toString());throw this.onErrorChallenge(this.provider,r),r}if(!window.smartCaptcha){const o=new Te("SmartCaptcha is not available in window");throw this.onErrorChallenge(this.provider,o),o}try{return ft("Render SmartCaptcha widget"),await this.renderWidget(t)}catch(o){if(!o)return;if(o instanceof Te)if(this.errorHandler(o),o.level==="fatal")this.notify("Произошла непредвиденная ошибка. Мы уже делаем все возможное чтобы устранить её."),this.onErrorChallenge(this.provider,o);else switch(o.reason){case"expired":this.notify("Прошло слишком много времени с момента начала проверки. Попробуйте еще раз."),this.onWarnChallenge(this.provider,o);break;case"timeout":this.notify("Вероятно у вас проблемы с подключением к сети. Попробуйте еще раз."),this.onErrorChallenge(this.provider,o);break}else{const r=new Te("Could not render captcha with error","fatal");r.cause=o,this.onErrorChallenge(this.provider,r)}return}}}};pr.LOCALE_STORAGE_DEBUG_KEY="captcha:smart-captcha:debug";let xc=pr;class YC{constructor(t){var o,r;switch(this.sitekey=null,this.provider=null,this.captcha=null,this.sitekey=(o=t.sitekey)!=null?o:null,this.provider=(r=t.provider)!=null?r:null,t.provider){case"yandex_smart_captcha":this.captcha=new xc(t);break;case"cloudflare_turnstile":this.captcha=new vc(t);break;case"recaptcha":this.captcha=new yc(t);break}}isEnabled(){return typeof this.sitekey=="string"&&this.sitekey!==""}async execute(t){if(this.isEnabled()===!1||!this.provider||!this.captcha)return;const o=await this.captcha.execute(t);return ft("Receive answer from captcha provider"),{captcha_provider:this.provider,captcha_token:o||""}}}function QC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Du={exports:{}},br=typeof Reflect=="object"?Reflect:null,$h=br&&typeof br.apply=="function"?br.apply:function(t,o,r){return Function.prototype.apply.call(t,o,r)},pi;br&&typeof br.ownKeys=="function"?pi=br.ownKeys:Object.getOwnPropertySymbols?pi=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:pi=function(t){return Object.getOwnPropertyNames(t)};function ZC(e){console&&console.warn&&console.warn(e)}var I1=Number.isNaN||function(t){return t!==t};function Pe(){Pe.init.call(this)}Du.exports=Pe;Du.exports.once=tO;Pe.EventEmitter=Pe;Pe.prototype._events=void 0;Pe.prototype._eventsCount=0;Pe.prototype._maxListeners=void 0;var e0=10;function ps(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Pe,"defaultMaxListeners",{enumerable:!0,get:function(){return e0},set:function(e){if(typeof e!="number"||e<0||I1(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");e0=e}});Pe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Pe.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||I1(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function N1(e){return e._maxListeners===void 0?Pe.defaultMaxListeners:e._maxListeners}Pe.prototype.getMaxListeners=function(){return N1(this)};Pe.prototype.emit=function(t){for(var o=[],r=1;r<arguments.length;r++)o.push(arguments[r]);var n=t==="error",i=this._events;if(i!==void 0)n=n&&i.error===void 0;else if(!n)return!1;if(n){var s;if(o.length>0&&(s=o[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[t];if(l===void 0)return!1;if(typeof l=="function")$h(l,this,o);else for(var c=l.length,d=V1(l,c),r=0;r<c;++r)$h(d[r],this,o);return!0};function j1(e,t,o,r){var n,i,s;if(ps(o),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,o.listener?o.listener:o),i=e._events),s=i[t]),s===void 0)s=i[t]=o,++e._eventsCount;else if(typeof s=="function"?s=i[t]=r?[o,s]:[s,o]:r?s.unshift(o):s.push(o),n=N1(e),n>0&&s.length>n&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,ZC(a)}return e}Pe.prototype.addListener=function(t,o){return j1(this,t,o,!1)};Pe.prototype.on=Pe.prototype.addListener;Pe.prototype.prependListener=function(t,o){return j1(this,t,o,!0)};function KC(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function X1(e,t,o){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:o},n=KC.bind(r);return n.listener=o,r.wrapFn=n,n}Pe.prototype.once=function(t,o){return ps(o),this.on(t,X1(this,t,o)),this};Pe.prototype.prependOnceListener=function(t,o){return ps(o),this.prependListener(t,X1(this,t,o)),this};Pe.prototype.removeListener=function(t,o){var r,n,i,s,a;if(ps(o),n=this._events,n===void 0)return this;if(r=n[t],r===void 0)return this;if(r===o||r.listener===o)--this._eventsCount===0?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||o));else if(typeof r!="function"){for(i=-1,s=r.length-1;s>=0;s--)if(r[s]===o||r[s].listener===o){a=r[s].listener,i=s;break}if(i<0)return this;i===0?r.shift():$C(r,i),r.length===1&&(n[t]=r[0]),n.removeListener!==void 0&&this.emit("removeListener",t,a||o)}return this};Pe.prototype.off=Pe.prototype.removeListener;Pe.prototype.removeAllListeners=function(t){var o,r,n;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[t]),this;if(arguments.length===0){var i=Object.keys(r),s;for(n=0;n<i.length;++n)s=i[n],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(o=r[t],typeof o=="function")this.removeListener(t,o);else if(o!==void 0)for(n=o.length-1;n>=0;n--)this.removeListener(t,o[n]);return this};function F1(e,t,o){var r=e._events;if(r===void 0)return[];var n=r[t];return n===void 0?[]:typeof n=="function"?o?[n.listener||n]:[n]:o?eO(n):V1(n,n.length)}Pe.prototype.listeners=function(t){return F1(this,t,!0)};Pe.prototype.rawListeners=function(t){return F1(this,t,!1)};Pe.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):U1.call(e,t)};Pe.prototype.listenerCount=U1;function U1(e){var t=this._events;if(t!==void 0){var o=t[e];if(typeof o=="function")return 1;if(o!==void 0)return o.length}return 0}Pe.prototype.eventNames=function(){return this._eventsCount>0?pi(this._events):[]};function V1(e,t){for(var o=new Array(t),r=0;r<t;++r)o[r]=e[r];return o}function $C(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function eO(e){for(var t=new Array(e.length),o=0;o<t.length;++o)t[o]=e[o].listener||e[o];return t}function tO(e,t){return new Promise(function(o,r){function n(s){e.removeListener(t,i),r(s)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",n),o([].slice.call(arguments))}G1(e,t,i,{once:!0}),t!=="error"&&oO(e,n,{once:!0})})}function oO(e,t,o){typeof e.on=="function"&&G1(e,"error",t,o)}function G1(e,t,o,r){if(typeof e.on=="function")r.once?e.once(t,o):e.on(t,o);else if(typeof e.addEventListener=="function")e.addEventListener(t,function n(i){r.once&&e.removeEventListener(t,n),o(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var rO=Du.exports,q1=QC(rO),je;(function(e){e[e.timeout=1]="timeout",e[e.transportClosed=2]="transportClosed",e[e.clientDisconnected=3]="clientDisconnected",e[e.clientClosed=4]="clientClosed",e[e.clientConnectToken=5]="clientConnectToken",e[e.clientRefreshToken=6]="clientRefreshToken",e[e.subscriptionUnsubscribed=7]="subscriptionUnsubscribed",e[e.subscriptionSubscribeToken=8]="subscriptionSubscribeToken",e[e.subscriptionRefreshToken=9]="subscriptionRefreshToken",e[e.transportWriteError=10]="transportWriteError",e[e.connectionClosed=11]="connectionClosed",e[e.badConfiguration=12]="badConfiguration"})(je||(je={}));var bo;(function(e){e[e.connectCalled=0]="connectCalled",e[e.transportClosed=1]="transportClosed",e[e.noPing=2]="noPing",e[e.subscribeTimeout=3]="subscribeTimeout",e[e.unsubscribeError=4]="unsubscribeError"})(bo||(bo={}));var on;(function(e){e[e.disconnectCalled=0]="disconnectCalled",e[e.unauthorized=1]="unauthorized",e[e.badProtocol=2]="badProtocol",e[e.messageSizeLimit=3]="messageSizeLimit"})(on||(on={}));var Di;(function(e){e[e.subscribeCalled=0]="subscribeCalled",e[e.transportClosed=1]="transportClosed"})(Di||(Di={}));var Li;(function(e){e[e.unsubscribeCalled=0]="unsubscribeCalled",e[e.unauthorized=1]="unauthorized",e[e.clientClosed=2]="clientClosed"})(Li||(Li={}));var Qe;(function(e){e.Disconnected="disconnected",e.Connecting="connecting",e.Connected="connected"})(Qe||(Qe={}));var ht;(function(e){e.Unsubscribed="unsubscribed",e.Subscribing="subscribing",e.Subscribed="subscribed"})(ht||(ht={}));function nO(e,t){return e.lastIndexOf(t,0)===0}function J1(e){return e==null?!1:typeof e=="function"}function iO(e,t){if(globalThis.console){const o=globalThis.console[e];J1(o)&&o.apply(globalThis.console,t)}}function sO(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function _i(e,t,o){e>31&&(e=31);const r=sO(0,Math.min(o,t*Math.pow(2,e)));return Math.min(o,t+r)}function aO(e){return"error"in e&&e.error!==null}function Ii(e){return Math.min(e*1e3,2147483647)}class lO extends q1{constructor(t,o,r){super(),this._resubscribeTimeout=null,this._refreshTimeout=null,this.channel=o,this.state=ht.Unsubscribed,this._centrifuge=t,this._token="",this._getToken=null,this._data=null,this._getData=null,this._recover=!1,this._offset=null,this._epoch=null,this._recoverable=!1,this._positioned=!1,this._joinLeave=!1,this._minResubscribeDelay=500,this._maxResubscribeDelay=2e4,this._resubscribeTimeout=null,this._resubscribeAttempts=0,this._promises={},this._promiseId=0,this._inflight=!1,this._refreshTimeout=null,this._setOptions(r),this._centrifuge._debugEnabled?(this.on("state",n=>{this._centrifuge._debug("subscription state",o,n.oldState,"->",n.newState)}),this.on("error",n=>{this._centrifuge._debug("subscription error",o,n)})):this.on("error",function(){Function.prototype()})}ready(t){return this.state===ht.Unsubscribed?Promise.reject({code:je.subscriptionUnsubscribed,message:this.state}):this.state===ht.Subscribed?Promise.resolve():new Promise((o,r)=>{const n={resolve:o,reject:r};t&&(n.timeout=setTimeout(function(){r({code:je.timeout,message:"timeout"})},t)),this._promises[this._nextPromiseId()]=n})}subscribe(){this._isSubscribed()||(this._resubscribeAttempts=0,this._setSubscribing(Di.subscribeCalled,"subscribe called"))}unsubscribe(){this._setUnsubscribed(Li.unsubscribeCalled,"unsubscribe called",!0)}publish(t){const o=this;return this._methodCall().then(function(){return o._centrifuge.publish(o.channel,t)})}presence(){const t=this;return this._methodCall().then(function(){return t._centrifuge.presence(t.channel)})}presenceStats(){const t=this;return this._methodCall().then(function(){return t._centrifuge.presenceStats(t.channel)})}history(t){const o=this;return this._methodCall().then(function(){return o._centrifuge.history(o.channel,t)})}_methodCall(){return this._isSubscribed()?Promise.resolve():this._isUnsubscribed()?Promise.reject({code:je.subscriptionUnsubscribed,message:this.state}):new Promise((t,o)=>{const r=setTimeout(function(){o({code:je.timeout,message:"timeout"})},this._centrifuge._config.timeout);this._promises[this._nextPromiseId()]={timeout:r,resolve:t,reject:o}})}_nextPromiseId(){return++this._promiseId}_needRecover(){return this._recover===!0}_isUnsubscribed(){return this.state===ht.Unsubscribed}_isSubscribing(){return this.state===ht.Subscribing}_isSubscribed(){return this.state===ht.Subscribed}_setState(t){if(this.state!==t){const o=this.state;return this.state=t,this.emit("state",{newState:t,oldState:o,channel:this.channel}),!0}return!1}_usesToken(){return this._token!==""||this._getToken!==null}_clearSubscribingState(){this._resubscribeAttempts=0,this._clearResubscribeTimeout()}_clearSubscribedState(){this._clearRefreshTimeout()}_setSubscribed(t){if(!this._isSubscribing())return;this._clearSubscribingState(),t.recoverable&&(this._recover=!0,this._offset=t.offset||0,this._epoch=t.epoch||""),this._setState(ht.Subscribed);const o=this._centrifuge._getSubscribeContext(this.channel,t);this.emit("subscribed",o),this._resolvePromises();const r=t.publications;if(r&&r.length>0)for(const n in r)r.hasOwnProperty(n)&&this._handlePublication(r[n]);t.expires===!0&&(this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl)))}_setSubscribing(t,o){this._isSubscribing()||(this._isSubscribed()&&this._clearSubscribedState(),this._setState(ht.Subscribing)&&this.emit("subscribing",{channel:this.channel,code:t,reason:o}),this._subscribe())}_subscribe(){if(this._centrifuge._debug("subscribing on",this.channel),!this._centrifuge._transportIsOpen)return this._centrifuge._debug("delay subscribe on",this.channel,"till connected"),null;const t=this,o={channel:t.channel};return!this._usesToken()||this._token?t._getData?(t._getData(o).then(function(r){t._isSubscribing()&&(t._data=r,t._sendSubscribe(t._token))}),null):t._sendSubscribe(t._token):(this._getSubscriptionToken().then(function(r){if(t._isSubscribing()){if(!r){t._failUnauthorized();return}t._token=r,t._getData?t._getData(o).then(function(n){t._isSubscribing()&&(t._data=n,t._sendSubscribe(r))}):t._sendSubscribe(r)}}).catch(function(r){if(t._isSubscribing()){if(r instanceof jo){t._failUnauthorized();return}t.emit("error",{type:"subscribeToken",channel:t.channel,error:{code:je.subscriptionSubscribeToken,message:r!==void 0?r.toString():""}}),t._scheduleResubscribe()}}),null)}_sendSubscribe(t){if(!this._centrifuge._transportIsOpen)return null;const r={channel:this.channel};if(t&&(r.token=t),this._data&&(r.data=this._data),this._positioned&&(r.positioned=!0),this._recoverable&&(r.recoverable=!0),this._joinLeave&&(r.join_leave=!0),this._needRecover()){r.recover=!0;const i=this._getOffset();i&&(r.offset=i);const s=this._getEpoch();s&&(r.epoch=s)}const n={subscribe:r};return this._inflight=!0,this._centrifuge._call(n).then(i=>{this._inflight=!1;const s=i.reply.subscribe;this._handleSubscribeResponse(s),i.next&&i.next()},i=>{this._inflight=!1,this._handleSubscribeError(i.error),i.next&&i.next()}),n}_handleSubscribeError(t){if(this._isSubscribing()){if(t.code===je.timeout){this._centrifuge._disconnect(bo.subscribeTimeout,"subscribe timeout",!0);return}this._subscribeError(t)}}_handleSubscribeResponse(t){this._isSubscribing()&&this._setSubscribed(t)}_setUnsubscribed(t,o,r){this._isUnsubscribed()||(this._isSubscribed()&&(r&&this._centrifuge._unsubscribe(this),this._clearSubscribedState()),this._isSubscribing()&&(this._inflight&&r&&this._centrifuge._unsubscribe(this),this._clearSubscribingState()),this._setState(ht.Unsubscribed)&&this.emit("unsubscribed",{channel:this.channel,code:t,reason:o}),this._rejectPromises({code:je.subscriptionUnsubscribed,message:this.state}))}_handlePublication(t){const o=this._centrifuge._getPublicationContext(this.channel,t);this.emit("publication",o),t.offset&&(this._offset=t.offset)}_handleJoin(t){const o=this._centrifuge._getJoinLeaveContext(t.info);this.emit("join",{channel:this.channel,info:o})}_handleLeave(t){const o=this._centrifuge._getJoinLeaveContext(t.info);this.emit("leave",{channel:this.channel,info:o})}_resolvePromises(){for(const t in this._promises)this._promises.hasOwnProperty(t)&&(this._promises[t].timeout&&clearTimeout(this._promises[t].timeout),this._promises[t].resolve(),delete this._promises[t])}_rejectPromises(t){for(const o in this._promises)this._promises.hasOwnProperty(o)&&(this._promises[o].timeout&&clearTimeout(this._promises[o].timeout),this._promises[o].reject(t),delete this._promises[o])}_scheduleResubscribe(){const t=this,o=this._getResubscribeDelay();this._resubscribeTimeout=setTimeout(function(){t._isSubscribing()&&t._subscribe()},o)}_subscribeError(t){if(this._isSubscribing())if(t.code<100||t.code===109||t.temporary===!0){t.code===109&&(this._token="");const o={channel:this.channel,type:"subscribe",error:t};this._centrifuge.state===Qe.Connected&&this.emit("error",o),this._scheduleResubscribe()}else this._setUnsubscribed(t.code,t.message,!1)}_getResubscribeDelay(){const t=_i(this._resubscribeAttempts,this._minResubscribeDelay,this._maxResubscribeDelay);return this._resubscribeAttempts++,t}_setOptions(t){t&&(t.since&&(this._offset=t.since.offset,this._epoch=t.since.epoch,this._recover=!0),t.data&&(this._data=t.data),t.getData&&(this._getData=t.getData),t.minResubscribeDelay!==void 0&&(this._minResubscribeDelay=t.minResubscribeDelay),t.maxResubscribeDelay!==void 0&&(this._maxResubscribeDelay=t.maxResubscribeDelay),t.token&&(this._token=t.token),t.getToken&&(this._getToken=t.getToken),t.positioned===!0&&(this._positioned=!0),t.recoverable===!0&&(this._recoverable=!0),t.joinLeave===!0&&(this._joinLeave=!0))}_getOffset(){const t=this._offset;return t!==null?t:0}_getEpoch(){const t=this._epoch;return t!==null?t:""}_clearRefreshTimeout(){this._refreshTimeout!==null&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null)}_clearResubscribeTimeout(){this._resubscribeTimeout!==null&&(clearTimeout(this._resubscribeTimeout),this._resubscribeTimeout=null)}_getSubscriptionToken(){this._centrifuge._debug("get subscription token for channel",this.channel);const t={channel:this.channel},o=this._getToken;if(o===null)throw this.emit("error",{type:"configuration",channel:this.channel,error:{code:je.badConfiguration,message:"provide a function to get channel subscription token"}}),new jo("");return o(t)}_refresh(){this._clearRefreshTimeout();const t=this;this._getSubscriptionToken().then(function(o){if(!t._isSubscribed())return;if(!o){t._failUnauthorized();return}t._token=o;const n={sub_refresh:{channel:t.channel,token:o}};t._centrifuge._call(n).then(i=>{const s=i.reply.sub_refresh;t._refreshResponse(s),i.next&&i.next()},i=>{t._refreshError(i.error),i.next&&i.next()})}).catch(function(o){if(o instanceof jo){t._failUnauthorized();return}t.emit("error",{type:"refreshToken",channel:t.channel,error:{code:je.subscriptionRefreshToken,message:o!==void 0?o.toString():""}}),t._refreshTimeout=setTimeout(()=>t._refresh(),t._getRefreshRetryDelay())})}_refreshResponse(t){this._isSubscribed()&&(this._centrifuge._debug("subscription token refreshed, channel",this.channel),this._clearRefreshTimeout(),t.expires===!0&&(this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl))))}_refreshError(t){this._isSubscribed()&&(t.code<100||t.temporary===!0?(this.emit("error",{type:"refresh",channel:this.channel,error:t}),this._refreshTimeout=setTimeout(()=>this._refresh(),this._getRefreshRetryDelay())):this._setUnsubscribed(t.code,t.message,!0))}_getRefreshRetryDelay(){return _i(0,1e4,2e4)}_failUnauthorized(){this._setUnsubscribed(Li.unauthorized,"unauthorized",!0)}}class cO{constructor(t,o){this.endpoint=t,this.options=o,this._transport=null}name(){return"sockjs"}subName(){return"sockjs-"+this._transport.transport}emulation(){return!1}supported(){return this.options.sockjs!==null}initialize(t,o){this._transport=new this.options.sockjs(this.endpoint,null,this.options.sockjsOptions),this._transport.onopen=()=>{o.onOpen()},this._transport.onerror=r=>{o.onError(r)},this._transport.onclose=r=>{o.onClose(r)},this._transport.onmessage=r=>{o.onMessage(r.data)}}close(){this._transport.close()}send(t){this._transport.send(t)}}class t0{constructor(t,o){this.endpoint=t,this.options=o,this._transport=null}name(){return"websocket"}subName(){return"websocket"}emulation(){return!1}supported(){return this.options.websocket!==void 0&&this.options.websocket!==null}initialize(t,o){let r="";t==="protobuf"&&(r="centrifuge-protobuf"),r!==""?this._transport=new this.options.websocket(this.endpoint,r):this._transport=new this.options.websocket(this.endpoint),t==="protobuf"&&(this._transport.binaryType="arraybuffer"),this._transport.onopen=()=>{o.onOpen()},this._transport.onerror=n=>{o.onError(n)},this._transport.onclose=n=>{o.onClose(n)},this._transport.onmessage=n=>{o.onMessage(n.data)}}close(){this._transport.close()}send(t){this._transport.send(t)}}class uO{constructor(t,o){this.endpoint=t,this.options=o,this._abortController=null,this._utf8decoder=new TextDecoder,this._protocol="json"}name(){return"http_stream"}subName(){return"http_stream"}emulation(){return!0}_handleErrors(t){if(!t.ok)throw new Error(t.status);return t}_fetchEventTarget(t,o,r){const n=new EventTarget,i=t.options.fetch;return i(o,r).then(t._handleErrors).then(s=>{n.dispatchEvent(new Event("open"));let a="",l=0,c=new Uint8Array;const d=s.body.getReader();return new t.options.readableStream({start(g){function f(){return d.read().then(({done:b,value:v})=>{if(b){n.dispatchEvent(new Event("close")),g.close();return}try{if(t._protocol==="json")for(a+=t._utf8decoder.decode(v);l<a.length;)if(a[l]===`
|
|
1192
|
+
`){const p=a.substring(0,l);n.dispatchEvent(new MessageEvent("message",{data:p})),a=a.substring(l+1),l=0}else++l;else{const p=new Uint8Array(c.length+v.length);for(p.set(c),p.set(v,c.length),c=p;;){const h=t.options.decoder.decodeReply(c);if(h.ok){const m=c.slice(0,h.pos);n.dispatchEvent(new MessageEvent("message",{data:m})),c=c.slice(h.pos);continue}break}}}catch(p){n.dispatchEvent(new Event("error",{detail:p})),n.dispatchEvent(new Event("close")),g.close();return}f()}).catch(function(b){n.dispatchEvent(new Event("error",{detail:b})),n.dispatchEvent(new Event("close")),g.close()})}return f()}})}).catch(s=>{n.dispatchEvent(new Event("error",{detail:s})),n.dispatchEvent(new Event("close"))}),n}supported(){return this.options.fetch!==null&&this.options.readableStream!==null&&typeof TextDecoder<"u"&&typeof AbortController<"u"&&typeof EventTarget<"u"&&typeof Event<"u"&&typeof MessageEvent<"u"&&typeof Error<"u"}initialize(t,o,r){this._protocol=t,this._abortController=new AbortController;let n,i;t==="json"?(n={Accept:"application/json","Content-Type":"application/json"},i=r):(n={Accept:"application/octet-stream","Content-Type":"application/octet-stream"},i=r);const s={method:"POST",headers:n,body:i,mode:"cors",credentials:"same-origin",cache:"no-cache",signal:this._abortController.signal},a=this._fetchEventTarget(this,this.endpoint,s);a.addEventListener("open",()=>{o.onOpen()}),a.addEventListener("error",l=>{this._abortController.abort(),o.onError(l)}),a.addEventListener("close",()=>{this._abortController.abort(),o.onClose({code:4,reason:"connection closed"})}),a.addEventListener("message",l=>{o.onMessage(l.data)})}close(){this._abortController.abort()}send(t,o,r){let n,i;const s={session:o,node:r,data:t};this._protocol==="json"?(n={"Content-Type":"application/json"},i=JSON.stringify(s)):(n={"Content-Type":"application/octet-stream"},i=this.options.encoder.encodeEmulationRequest(s));const a=this.options.fetch,l={method:"POST",headers:n,body:i,mode:"cors",credentials:"same-origin",cache:"no-cache"};a(this.options.emulationEndpoint,l)}}class dO{constructor(t,o){this.endpoint=t,this.options=o,this._protocol="json",this._transport=null,this._onClose=null}name(){return"sse"}subName(){return"sse"}emulation(){return!0}supported(){return this.options.eventsource!==null&&this.options.fetch!==null}initialize(t,o,r){let n;globalThis&&globalThis.document&&globalThis.document.baseURI?n=new URL(this.endpoint,globalThis.document.baseURI):n=new URL(this.endpoint),n.searchParams.append("cf_connect",r);const i={},s=new this.options.eventsource(n.toString(),i);this._transport=s;const a=this;s.onopen=function(){o.onOpen()},s.onerror=function(l){s.close(),o.onError(l),o.onClose({code:4,reason:"connection closed"})},s.onmessage=function(l){o.onMessage(l.data)},a._onClose=function(){o.onClose({code:4,reason:"connection closed"})}}close(){this._transport.close(),this._onClose!==null&&this._onClose()}send(t,o,r){const n={session:o,node:r,data:t},i={"Content-Type":"application/json"},s=JSON.stringify(n),a=this.options.fetch,l={method:"POST",headers:i,body:s,mode:"cors",credentials:"same-origin",cache:"no-cache"};a(this.options.emulationEndpoint,l)}}function Zn(e,t,o,r){function n(i){return i instanceof o?i:new o(function(s){s(i)})}return new(o||(o=Promise))(function(i,s){function a(d){try{c(r.next(d))}catch(g){s(g)}}function l(d){try{c(r.throw(d))}catch(g){s(g)}}function c(d){d.done?i(d.value):n(d.value).then(a,l)}c((r=r.apply(e,[])).next())})}class fO{constructor(t,o){this.endpoint=t,this.options=o,this._transport=null,this._stream=null,this._writer=null,this._utf8decoder=new TextDecoder,this._protocol="json"}name(){return"webtransport"}subName(){return"webtransport"}emulation(){return!1}supported(){return this.options.webtransport!==void 0&&this.options.webtransport!==null}initialize(t,o){return Zn(this,void 0,void 0,function*(){let r;globalThis&&globalThis.document&&globalThis.document.baseURI?r=new URL(this.endpoint,globalThis.document.baseURI):r=new URL(this.endpoint),t==="protobuf"&&r.searchParams.append("cf_protocol","protobuf"),this._protocol=t;const n=new EventTarget;this._transport=new this.options.webtransport(r.toString()),this._transport.closed.then(()=>{o.onClose({code:4,reason:"connection closed"})}).catch(()=>{o.onClose({code:4,reason:"connection closed"})});try{yield this._transport.ready}catch{this.close();return}let i;try{i=yield this._transport.createBidirectionalStream()}catch{this.close();return}this._stream=i,this._writer=this._stream.writable.getWriter(),n.addEventListener("close",()=>{o.onClose({code:4,reason:"connection closed"})}),n.addEventListener("message",s=>{o.onMessage(s.data)}),this._startReading(n),o.onOpen()})}_startReading(t){return Zn(this,void 0,void 0,function*(){const o=this._stream.readable.getReader();let r="",n=0,i=new Uint8Array;try{for(;;){const{done:s,value:a}=yield o.read();if(a.length>0)if(this._protocol==="json")for(r+=this._utf8decoder.decode(a);n<r.length;)if(r[n]===`
|
|
1193
1193
|
`){const l=r.substring(0,n);t.dispatchEvent(new MessageEvent("message",{data:l})),r=r.substring(n+1),n=0}else++n;else{const l=new Uint8Array(i.length+a.length);for(l.set(i),l.set(a,i.length),i=l;;){const c=this.options.decoder.decodeReply(i);if(c.ok){const d=i.slice(0,c.pos);t.dispatchEvent(new MessageEvent("message",{data:d})),i=i.slice(c.pos);continue}break}}if(s)break}}catch{t.dispatchEvent(new Event("close"))}})}close(){return Zn(this,void 0,void 0,function*(){try{this._writer&&(yield this._writer.close()),this._transport.close()}catch{}})}send(t){return Zn(this,void 0,void 0,function*(){let o;this._protocol==="json"?o=new TextEncoder().encode(t+`
|
|
1194
1194
|
`):o=t;try{yield this._writer.write(o)}catch{this.close()}})}}class o0{name(){return"json"}encodeCommands(t){return t.map(o=>JSON.stringify(o)).join(`
|
|
1195
1195
|
`)}decodeReplies(t){return t.trim().split(`
|
|
1196
|
-
`).map(o=>JSON.parse(o))}}const pO={token:"",getToken:null,data:null,getData:null,debug:!1,name:"js",version:"",fetch:null,readableStream:null,websocket:null,eventsource:null,sockjs:null,sockjsOptions:{},emulationEndpoint:"/emulation",minReconnectDelay:500,maxReconnectDelay:2e4,timeout:5e3,maxServerPingDelay:1e4,networkEventTarget:null};class jo extends Error{constructor(t){super(t),this.name=this.constructor.name}}class Lu extends q1{constructor(t,o){super(),this._reconnectTimeout=null,this._refreshTimeout=null,this._serverPingTimeout=null,this.state=Qe.Disconnected,this._transportIsOpen=!1,this._endpoint=t,this._emulation=!1,this._transports=[],this._currentTransportIndex=0,this._triedAllTransports=!1,this._transportWasOpen=!1,this._transport=null,this._transportId=0,this._deviceWentOffline=!1,this._transportClosed=!0,this._codec=new o0,this._reconnecting=!1,this._reconnectTimeout=null,this._reconnectAttempts=0,this._client=null,this._session="",this._node="",this._subs={},this._serverSubs={},this._commandId=0,this._commands=[],this._batching=!1,this._refreshRequired=!1,this._refreshTimeout=null,this._callbacks={},this._token="",this._data=null,this._dispatchPromise=Promise.resolve(),this._serverPing=0,this._serverPingTimeout=null,this._sendPong=!1,this._promises={},this._promiseId=0,this._debugEnabled=!1,this._networkEventsSet=!1,this._config=Object.assign(Object.assign({},pO),o),this._configure(),this._debugEnabled?(this.on("state",r=>{this._debug("client state",r.oldState,"->",r.newState)}),this.on("error",r=>{this._debug("client error",r)})):this.on("error",function(){Function.prototype()})}newSubscription(t,o){if(this.getSubscription(t)!==null)throw new Error("Subscription to the channel "+t+" already exists");const r=new lO(this,t,o);return this._subs[t]=r,r}getSubscription(t){return this._getSub(t)}removeSubscription(t){t&&(t.state!==ht.Unsubscribed&&t.unsubscribe(),this._removeSubscription(t))}subscriptions(){return this._subs}ready(t){return this.state===Qe.Disconnected?Promise.reject({code:je.clientDisconnected,message:"client disconnected"}):this.state===Qe.Connected?Promise.resolve():new Promise((o,r)=>{const n={resolve:o,reject:r};t&&(n.timeout=setTimeout(function(){r({code:je.timeout,message:"timeout"})},t)),this._promises[this._nextPromiseId()]=n})}connect(){if(this._isConnected()){this._debug("connect called when already connected");return}if(this._isConnecting()){this._debug("connect called when already connecting");return}this._debug("connect called"),this._reconnectAttempts=0,this._startConnecting()}disconnect(){this._disconnect(on.disconnectCalled,"disconnect called",!1)}setToken(t){this._token=t}send(t){const o={send:{data:t}},r=this;return this._methodCall().then(function(){return r._transportSendCommands([o])?Promise.resolve():Promise.reject(r._createErrorObject(je.transportWriteError,"transport write error"))})}rpc(t,o){const r={rpc:{method:t,data:o}},n=this;return this._methodCall().then(function(){return n._callPromise(r,function(i){return{data:i.rpc.data}})})}publish(t,o){const r={publish:{channel:t,data:o}},n=this;return this._methodCall().then(function(){return n._callPromise(r,function(){return{}})})}history(t,o){const r={history:this._getHistoryRequest(t,o)},n=this;return this._methodCall().then(function(){return n._callPromise(r,function(i){const s=i.history,a=[];if(s.publications)for(let l=0;l<s.publications.length;l++)a.push(n._getPublicationContext(t,s.publications[l]));return{publications:a,epoch:s.epoch||"",offset:s.offset||0}})})}presence(t){const o={presence:{channel:t}},r=this;return this._methodCall().then(function(){return r._callPromise(o,function(n){const i=n.presence.presence;for(const s in i)if(i.hasOwnProperty(s)){const a=i[s].conn_info,l=i[s].chan_info;a&&(i[s].connInfo=a),l&&(i[s].chanInfo=l)}return{clients:i}})})}presenceStats(t){const o={presence_stats:{channel:t}},r=this;return this._methodCall().then(function(){return r._callPromise(o,function(n){const i=n.presence_stats;return{numUsers:i.num_users,numClients:i.num_clients}})})}startBatching(){this._batching=!0}stopBatching(){const t=this;Promise.resolve().then(function(){Promise.resolve().then(function(){t._batching=!1,t._flush()})})}_debug(...t){this._debugEnabled&&iO("debug",t)}_formatOverride(){}_configure(){if(!("Promise"in globalThis))throw new Error("Promise polyfill required");if(!this._endpoint)throw new Error("endpoint configuration required");if(this._config.token!==null&&(this._token=this._config.token),this._config.data!==null&&(this._data=this._config.data),this._codec=new o0,this._formatOverride(),(this._config.debug===!0||typeof localStorage<"u"&&localStorage.getItem("centrifuge.debug"))&&(this._debugEnabled=!0),this._debug("config",this._config),typeof this._endpoint!="string")if(typeof this._endpoint=="object"&&this._endpoint instanceof Array){this._transports=this._endpoint,this._emulation=!0;for(const t in this._transports)if(this._transports.hasOwnProperty(t)){const o=this._transports[t];if(!o.endpoint||!o.transport)throw new Error("malformed transport configuration");const r=o.transport;if(["websocket","http_stream","sse","sockjs","webtransport"].indexOf(r)<0)throw new Error("unsupported transport name: "+r)}}else throw new Error("unsupported url configuration type: only string or array of objects are supported")}_setState(t){if(this.state!==t){this._reconnecting=!1;const o=this.state;return this.state=t,this.emit("state",{newState:t,oldState:o}),!0}return!1}_isDisconnected(){return this.state===Qe.Disconnected}_isConnecting(){return this.state===Qe.Connecting}_isConnected(){return this.state===Qe.Connected}_nextCommandId(){return++this._commandId}_setNetworkEvents(){if(this._networkEventsSet)return;let t=null;this._config.networkEventTarget!==null?t=this._config.networkEventTarget:typeof globalThis.addEventListener<"u"&&(t=globalThis),t&&(t.addEventListener("offline",()=>{this._debug("offline event triggered"),(this.state===Qe.Connected||this.state===Qe.Connecting)&&(this._disconnect(bo.transportClosed,"transport closed",!0),this._deviceWentOffline=!0)}),t.addEventListener("online",()=>{this._debug("online event triggered"),this.state===Qe.Connecting&&(this._deviceWentOffline&&!this._transportClosed&&(this._deviceWentOffline=!1,this._transportClosed=!0),this._clearReconnectTimeout(),this._startReconnecting())}),this._networkEventsSet=!0)}_getReconnectDelay(){const t=_i(this._reconnectAttempts,this._config.minReconnectDelay,this._config.maxReconnectDelay);return this._reconnectAttempts+=1,t}_clearOutgoingRequests(){for(const t in this._callbacks)if(this._callbacks.hasOwnProperty(t)){const o=this._callbacks[t];clearTimeout(o.timeout);const r=o.errback;if(!r)continue;r({error:this._createErrorObject(je.connectionClosed,"connection closed")})}this._callbacks={}}_clearConnectedState(){this._client=null,this._clearServerPingTimeout(),this._clearRefreshTimeout();for(const t in this._subs){if(!this._subs.hasOwnProperty(t))continue;const o=this._subs[t];o.state===ht.Subscribed&&o._setSubscribing(Di.transportClosed,"transport closed")}for(const t in this._serverSubs)this._serverSubs.hasOwnProperty(t)&&this.emit("subscribing",{channel:t})}_handleWriteError(t){for(const o of t){const r=o.id;if(!(r in this._callbacks))continue;const n=this._callbacks[r];clearTimeout(this._callbacks[r].timeout),delete this._callbacks[r];const i=n.errback;i({error:this._createErrorObject(je.transportWriteError,"transport write error")})}}_transportSendCommands(t){if(!t.length)return!0;if(!this._transport)return!1;try{this._transport.send(this._codec.encodeCommands(t),this._session,this._node)}catch(o){return this._debug("error writing commands",o),this._handleWriteError(t),!1}return!0}_initializeTransport(){let t;this._config.websocket!==null?t=this._config.websocket:typeof globalThis.WebSocket!="function"&&typeof globalThis.WebSocket!="object"||(t=globalThis.WebSocket);let o=null;this._config.sockjs!==null?o=this._config.sockjs:typeof globalThis.SockJS<"u"&&(o=globalThis.SockJS);let r=null;this._config.eventsource!==null?r=this._config.eventsource:typeof globalThis.EventSource<"u"&&(r=globalThis.EventSource);let n=null;this._config.fetch!==null?n=this._config.fetch:typeof globalThis.fetch<"u"&&(n=globalThis.fetch);let i=null;if(this._config.readableStream!==null?i=this._config.readableStream:typeof globalThis.ReadableStream<"u"&&(i=globalThis.ReadableStream),this._emulation){this._currentTransportIndex>=this._transports.length&&(this._triedAllTransports=!0,this._currentTransportIndex=0);let b=0;for(;;){if(b>=this._transports.length)throw new Error("no supported transport found");const v=this._transports[this._currentTransportIndex],g=v.transport,p=v.endpoint;if(g==="websocket"){if(this._debug("trying websocket transport"),this._transport=new t0(p,{websocket:t}),!this._transport.supported()){this._debug("websocket transport not available"),this._currentTransportIndex++,b++;continue}}else if(g==="webtransport"){if(this._debug("trying webtransport transport"),this._transport=new fO(p,{webtransport:globalThis.WebTransport,decoder:this._codec,encoder:this._codec}),!this._transport.supported()){this._debug("webtransport transport not available"),this._currentTransportIndex++,b++;continue}}else if(g==="http_stream"){if(this._debug("trying http_stream transport"),this._transport=new uO(p,{fetch:n,readableStream:i,emulationEndpoint:this._config.emulationEndpoint,decoder:this._codec,encoder:this._codec}),!this._transport.supported()){this._debug("http_stream transport not available"),this._currentTransportIndex++,b++;continue}}else if(g==="sse"){if(this._debug("trying sse transport"),this._transport=new dO(p,{eventsource:r,fetch:n,emulationEndpoint:this._config.emulationEndpoint}),!this._transport.supported()){this._debug("sse transport not available"),this._currentTransportIndex++,b++;continue}}else if(g==="sockjs"){if(this._debug("trying sockjs"),this._transport=new cO(p,{sockjs:o,sockjsOptions:this._config.sockjsOptions}),!this._transport.supported()){this._debug("sockjs transport not available"),this._currentTransportIndex++,b++;continue}}else throw new Error("unknown transport "+g);break}}else{if(nO(this._endpoint,"http"))throw new Error("Provide explicit transport endpoints configuration in case of using HTTP (i.e. using array of TransportEndpoint instead of a single string), or use ws(s):// scheme in an endpoint if you aimed using WebSocket transport");if(this._debug("client will use websocket"),this._transport=new t0(this._endpoint,{websocket:t}),!this._transport.supported())throw new Error("WebSocket not available")}const s=this,a=this._transport,l=this._nextTransportId();s._debug("id of transport",l);let c=!1;const d=[];if(this._transport.emulation()){const b=s._sendConnect(!0);d.push(b)}this._setNetworkEvents();const h=this._codec.encodeCommands(d);this._transportClosed=!1;let f;f=setTimeout(function(){a.close()},this._config.timeout),this._transport.initialize(this._codec.name(),{onOpen:function(){if(f&&(clearTimeout(f),f=null),s._transportId!=l){s._debug("open callback from non-actual transport"),a.close();return}c=!0,s._debug(a.subName(),"transport open"),!a.emulation()&&(s._transportIsOpen=!0,s._transportWasOpen=!0,s.startBatching(),s._sendConnect(!1),s._sendSubscribeCommands(),s.stopBatching(),s.emit("__centrifuge_debug:connect_frame_sent",{}))},onError:function(b){if(s._transportId!=l){s._debug("error callback from non-actual transport");return}s._debug("transport level error",b)},onClose:function(b){if(f&&(clearTimeout(f),f=null),s._transportId!=l){s._debug("close callback from non-actual transport");return}s._debug(a.subName(),"transport closed"),s._transportClosed=!0,s._transportIsOpen=!1;let v="connection closed",g=!0,p=0;if(b&&"code"in b&&b.code&&(p=b.code),b&&b.reason)try{const m=JSON.parse(b.reason);v=m.reason,g=m.reconnect}catch{v=b.reason,(p>=3500&&p<4e3||p>=4500&&p<5e3)&&(g=!1)}p<3e3?(p===1009?(p=on.messageSizeLimit,v="message size limit exceeded",g=!1):(p=bo.transportClosed,v="transport closed"),s._emulation&&!s._transportWasOpen&&(s._currentTransportIndex++,s._currentTransportIndex>=s._transports.length&&(s._triedAllTransports=!0,s._currentTransportIndex=0))):s._transportWasOpen=!0,s._isConnecting()&&!c&&s.emit("error",{type:"transport",error:{code:je.transportClosed,message:"transport closed"},transport:a.name()}),s._reconnecting=!1,s._disconnect(p,v,g)},onMessage:function(b){s._dataReceived(b)}},h),s.emit("__centrifuge_debug:transport_initialized",{})}_sendConnect(t){const o=this._constructConnectCommand(),r=this;return this._call(o,t).then(n=>{const i=n.reply.connect;r._connectResponse(i),n.next&&n.next()},n=>{r._connectError(n.error),n.next&&n.next()}),o}_startReconnecting(){if(this._debug("start reconnecting"),!this._isConnecting()){this._debug("stop reconnecting: client not in connecting state");return}if(this._reconnecting){this._debug("reconnect already in progress, return from reconnect routine");return}if(this._transportClosed===!1){this._debug("waiting for transport close");return}this._reconnecting=!0;const t=this,o=this._token==="";if(!(this._refreshRequired||o&&this._config.getToken!==null)){this._config.getData?this._config.getData().then(function(n){t._isConnecting()&&(t._data=n,t._initializeTransport())}):this._initializeTransport();return}this._getToken().then(function(n){if(t._isConnecting()){if(n==null||n==null){t._failUnauthorized();return}t._token=n,t._debug("connection token refreshed"),t._config.getData?t._config.getData().then(function(i){t._isConnecting()&&(t._data=i,t._initializeTransport())}):t._initializeTransport()}}).catch(function(n){if(!t._isConnecting())return;if(n instanceof jo){t._failUnauthorized();return}t.emit("error",{type:"connectToken",error:{code:je.clientConnectToken,message:n!==void 0?n.toString():""}});const i=t._getReconnectDelay();t._debug("error on connection token refresh, reconnect after "+i+" milliseconds",n),t._reconnecting=!1,t._reconnectTimeout=setTimeout(()=>{t._startReconnecting()},i)})}_connectError(t){this.state===Qe.Connecting&&(t.code===109&&(this._refreshRequired=!0),t.code<100||t.temporary===!0||t.code===109?(this.emit("error",{type:"connect",error:t}),this._debug("closing transport due to connect error"),this._disconnect(t.code,t.message,!0)):this._disconnect(t.code,t.message,!1))}_scheduleReconnect(){if(!this._isConnecting())return;let t=!1;this._emulation&&!this._transportWasOpen&&!this._triedAllTransports&&(t=!0);let o=this._getReconnectDelay();t&&(o=0),this._debug("reconnect after "+o+" milliseconds"),this._clearReconnectTimeout(),this._reconnectTimeout=setTimeout(()=>{this._startReconnecting()},o)}_constructConnectCommand(){const t={};this._token&&(t.token=this._token),this._data&&(t.data=this._data),this._config.name&&(t.name=this._config.name),this._config.version&&(t.version=this._config.version);const o={};let r=!1;for(const n in this._serverSubs)if(this._serverSubs.hasOwnProperty(n)&&this._serverSubs[n].recoverable){r=!0;const i={recover:!0};this._serverSubs[n].offset&&(i.offset=this._serverSubs[n].offset),this._serverSubs[n].epoch&&(i.epoch=this._serverSubs[n].epoch),o[n]=i}return r&&(t.subs=o),{connect:t}}_getHistoryRequest(t,o){const r={channel:t};return o!==void 0&&(o.since&&(r.since={offset:o.since.offset},o.since.epoch&&(r.since.epoch=o.since.epoch)),o.limit!==void 0&&(r.limit=o.limit),o.reverse===!0&&(r.reverse=!0)),r}_methodCall(){return this._isConnected()?Promise.resolve():new Promise((t,o)=>{const r=setTimeout(function(){o({code:je.timeout,message:"timeout"})},this._config.timeout);this._promises[this._nextPromiseId()]={timeout:r,resolve:t,reject:o}})}_callPromise(t,o){return new Promise((r,n)=>{this._call(t,!1).then(i=>{r(o(i.reply)),i.next&&i.next()},i=>{n(i.error),i.next&&i.next()})})}_dataReceived(t){this._serverPing>0&&this._waitServerPing();const o=this._codec.decodeReplies(t);this._dispatchPromise=this._dispatchPromise.then(()=>{let r;this._dispatchPromise=new Promise(n=>{r=n}),this._dispatchSynchronized(o,r)})}_dispatchSynchronized(t,o){let r=Promise.resolve();for(const n in t)t.hasOwnProperty(n)&&(r=r.then(()=>this._dispatchReply(t[n])));r=r.then(()=>{o()})}_dispatchReply(t){let o;const r=new Promise(i=>{o=i});if(t==null)return this._debug("dispatch: got undefined or null reply"),o(),r;const n=t.id;return n&&n>0?this._handleReply(t,o):t.push?this._handlePush(t.push,o):this._handleServerPing(o),r}_call(t,o){return new Promise((r,n)=>{t.id=this._nextCommandId(),this._registerCall(t.id,r,n),o||this._addCommand(t)})}_startConnecting(){this._debug("start connecting"),this._setState(Qe.Connecting)&&this.emit("connecting",{code:bo.connectCalled,reason:"connect called"}),this._client=null,this._startReconnecting()}_disconnect(t,o,r){if(this._isDisconnected())return;this._transportIsOpen=!1;const n=this.state;this._reconnecting=!1;const i={code:t,reason:o};let s=!1;if(r?s=this._setState(Qe.Connecting):(s=this._setState(Qe.Disconnected),this._rejectPromises({code:je.clientDisconnected,message:"disconnected"})),this._clearOutgoingRequests(),n===Qe.Connecting&&this._clearReconnectTimeout(),n===Qe.Connected&&this._clearConnectedState(),s&&(this._isConnecting()?this.emit("connecting",i):this.emit("disconnected",i)),this._transport){this._debug("closing existing transport");const a=this._transport;this._transport=null,a.close(),this._transportClosed=!0,this._nextTransportId()}else this._debug("no transport to close");this._scheduleReconnect()}_failUnauthorized(){this._disconnect(on.unauthorized,"unauthorized",!1)}_getToken(){if(this._debug("get connection token"),!this._config.getToken)throw this.emit("error",{type:"configuration",error:{code:je.badConfiguration,message:"token expired but no getToken function set in the configuration"}}),new jo("");return this._config.getToken({})}_refresh(){const t=this._client,o=this;this._getToken().then(function(r){if(t!==o._client)return;if(!r){o._failUnauthorized();return}if(o._token=r,o._debug("connection token refreshed"),!o._isConnected())return;const n={refresh:{token:o._token}};o._call(n,!1).then(i=>{const s=i.reply.refresh;o._refreshResponse(s),i.next&&i.next()},i=>{o._refreshError(i.error),i.next&&i.next()})}).catch(function(r){if(o._isConnected()){if(r instanceof jo){o._failUnauthorized();return}o.emit("error",{type:"refreshToken",error:{code:je.clientRefreshToken,message:r!==void 0?r.toString():""}}),o._refreshTimeout=setTimeout(()=>o._refresh(),o._getRefreshRetryDelay())}})}_refreshError(t){t.code<100||t.temporary===!0?(this.emit("error",{type:"refresh",error:t}),this._refreshTimeout=setTimeout(()=>this._refresh(),this._getRefreshRetryDelay())):this._disconnect(t.code,t.message,!1)}_getRefreshRetryDelay(){return _i(0,5e3,1e4)}_refreshResponse(t){this._refreshTimeout&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null),t.expires&&(this._client=t.client,this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl)))}_removeSubscription(t){t!==null&&delete this._subs[t.channel]}_unsubscribe(t){if(!this._transportIsOpen)return;const r={unsubscribe:{channel:t.channel}},n=this;this._call(r,!1).then(i=>{i.next&&i.next()},i=>{i.next&&i.next(),n._disconnect(bo.unsubscribeError,"unsubscribe error",!0)})}_getSub(t){const o=this._subs[t];return o||null}_isServerSub(t){return this._serverSubs[t]!==void 0}_sendSubscribeCommands(){const t=[];for(const o in this._subs){if(!this._subs.hasOwnProperty(o))continue;const r=this._subs[o];if(r._inflight!==!0&&r.state===ht.Subscribing){const n=r._subscribe();n&&t.push(n)}}return t}_connectResponse(t){if(this._transportIsOpen=!0,this._transportWasOpen=!0,this._reconnectAttempts=0,this._refreshRequired=!1,this._isConnected())return;this._client=t.client,this._setState(Qe.Connected),this._refreshTimeout&&clearTimeout(this._refreshTimeout),t.expires&&(this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl))),this._session=t.session,this._node=t.node,this.startBatching(),this._sendSubscribeCommands(),this.stopBatching();const o={client:t.client,transport:this._transport.subName()};t.data&&(o.data=t.data),this.emit("connected",o),this._resolvePromises(),this._processServerSubs(t.subs||{}),t.ping&&t.ping>0?(this._serverPing=t.ping*1e3,this._sendPong=t.pong===!0,this._waitServerPing()):this._serverPing=0}_processServerSubs(t){for(const o in t){if(!t.hasOwnProperty(o))continue;const r=t[o];this._serverSubs[o]={offset:r.offset,epoch:r.epoch,recoverable:r.recoverable||!1};const n=this._getSubscribeContext(o,r);this.emit("subscribed",n)}for(const o in t){if(!t.hasOwnProperty(o))continue;const r=t[o];if(r.recovered){const n=r.publications;if(n&&n.length>0)for(const i in n)n.hasOwnProperty(i)&&this._handlePublication(o,n[i])}}for(const o in this._serverSubs)this._serverSubs.hasOwnProperty(o)&&(t[o]||(this.emit("unsubscribed",{channel:o}),delete this._serverSubs[o]))}_clearRefreshTimeout(){this._refreshTimeout!==null&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null)}_clearReconnectTimeout(){this._reconnectTimeout!==null&&(clearTimeout(this._reconnectTimeout),this._reconnectTimeout=null)}_clearServerPingTimeout(){this._serverPingTimeout!==null&&(clearTimeout(this._serverPingTimeout),this._serverPingTimeout=null)}_waitServerPing(){this._config.maxServerPingDelay!==0&&this._isConnected()&&(this._clearServerPingTimeout(),this._serverPingTimeout=setTimeout(()=>{this._isConnected()&&this._disconnect(bo.noPing,"no ping",!0)},this._serverPing+this._config.maxServerPingDelay))}_getSubscribeContext(t,o){const r={channel:t,positioned:!1,recoverable:!1,wasRecovering:!1,recovered:!1};o.recovered&&(r.recovered=!0),o.positioned&&(r.positioned=!0),o.recoverable&&(r.recoverable=!0),o.was_recovering&&(r.wasRecovering=!0);let n="";"epoch"in o&&(n=o.epoch);let i=0;return"offset"in o&&(i=o.offset),(r.positioned||r.recoverable)&&(r.streamPosition={offset:i,epoch:n}),o.data&&(r.data=o.data),r}_handleReply(t,o){const r=t.id;if(!(r in this._callbacks)){o();return}const n=this._callbacks[r];if(clearTimeout(this._callbacks[r].timeout),delete this._callbacks[r],aO(t)){const i=n.errback;if(!i){o();return}const s=t.error;i({error:s,next:o})}else{const i=n.callback;if(!i)return;i({reply:t,next:o})}}_handleJoin(t,o){const r=this._getSub(t);if(!r){if(this._isServerSub(t)){const n={channel:t,info:this._getJoinLeaveContext(o.info)};this.emit("join",n)}return}r._handleJoin(o)}_handleLeave(t,o){const r=this._getSub(t);if(!r){if(this._isServerSub(t)){const n={channel:t,info:this._getJoinLeaveContext(o.info)};this.emit("leave",n)}return}r._handleLeave(o)}_handleUnsubscribe(t,o){const r=this._getSub(t);if(!r){this._isServerSub(t)&&(delete this._serverSubs[t],this.emit("unsubscribed",{channel:t}));return}o.code<2500?r._setUnsubscribed(o.code,o.reason,!1):r._setSubscribing(o.code,o.reason)}_handleSubscribe(t,o){this._serverSubs[t]={offset:o.offset,epoch:o.epoch,recoverable:o.recoverable||!1},this.emit("subscribed",this._getSubscribeContext(t,o))}_handleDisconnect(t){const o=t.code;let r=!0;(o>=3500&&o<4e3||o>=4500&&o<5e3)&&(r=!1),this._disconnect(o,t.reason,r)}_getPublicationContext(t,o){const r={channel:t,data:o.data};return o.offset&&(r.offset=o.offset),o.info&&(r.info=this._getJoinLeaveContext(o.info)),o.tags&&(r.tags=o.tags),r}_getJoinLeaveContext(t){const o={client:t.client,user:t.user};return t.conn_info&&(o.connInfo=t.conn_info),t.chan_info&&(o.chanInfo=t.chan_info),o}_handlePublication(t,o){const r=this._getSub(t);if(!r){if(this._isServerSub(t)){const n=this._getPublicationContext(t,o);this.emit("publication",n),o.offset!==void 0&&(this._serverSubs[t].offset=o.offset)}return}r._handlePublication(o)}_handleMessage(t){this.emit("message",{data:t.data})}_handleServerPing(t){if(this._sendPong){const o={};this._transportSendCommands([o])}t()}_handlePush(t,o){const r=t.channel;t.pub?this._handlePublication(r,t.pub):t.message?this._handleMessage(t.message):t.join?this._handleJoin(r,t.join):t.leave?this._handleLeave(r,t.leave):t.unsubscribe?this._handleUnsubscribe(r,t.unsubscribe):t.subscribe?this._handleSubscribe(r,t.subscribe):t.disconnect&&this._handleDisconnect(t.disconnect),o()}_flush(){const t=this._commands.slice(0);this._commands=[],this._transportSendCommands(t)}_createErrorObject(t,o,r){const n={code:t,message:o};return r&&(n.temporary=!0),n}_registerCall(t,o,r){this._callbacks[t]={callback:o,errback:r,timeout:null},this._callbacks[t].timeout=setTimeout(()=>{delete this._callbacks[t],J1(r)&&r({error:this._createErrorObject(je.timeout,"timeout")})},this._config.timeout)}_addCommand(t){this._batching?this._commands.push(t):this._transportSendCommands([t])}_nextPromiseId(){return++this._promiseId}_nextTransportId(){return++this._transportId}_resolvePromises(){for(const t in this._promises)this._promises.hasOwnProperty(t)&&(this._promises[t].timeout&&clearTimeout(this._promises[t].timeout),this._promises[t].resolve(),delete this._promises[t])}_rejectPromises(t){for(const o in this._promises)this._promises.hasOwnProperty(o)&&(this._promises[o].timeout&&clearTimeout(this._promises[o].timeout),this._promises[o].reject(t),delete this._promises[o])}}Lu.SubscriptionState=ht;Lu.State=Qe;Lu.UnauthorizedError=jo;function hO(e){return e&&typeof e.then=="function"}Promise.resolve(!1);Promise.resolve(!0);var Xo=Promise.resolve();function W1(e,t){return e||(e=0),new Promise(function(o){return setTimeout(function(){return o(t)},e)})}function gO(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function _u(){return Math.random().toString(36).substring(2)}var na=0;function Hn(){var e=Date.now()*1e3;return e<=na&&(e=na+1),na=e,e}var mO=Hn,bO="native";function vO(e){var t={time:Hn(),messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(o){t.messagesCallback&&t.messagesCallback(o.data)},t}function yO(e){e.bc.close(),e.subFns=[]}function xO(e,t){try{return e.bc.postMessage(t,!1),Xo}catch(o){return Promise.reject(o)}}function wO(e,t){e.messagesCallback=t}function kO(){if(typeof globalThis<"u"&&globalThis.Deno&&globalThis.Deno.args)return!0;if((typeof window<"u"||typeof self<"u")&&typeof BroadcastChannel=="function"){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}else return!1}function AO(){return 150}var SO={create:vO,close:yO,onMessage:wO,postMessage:xO,canBeUsed:kO,type:bO,averageResponseTime:AO,microSeconds:mO};class Y1{constructor(t){Ae(this,"ttl");Ae(this,"map",new Map);Ae(this,"_to",!1);this.ttl=t}has(t){const o=this.map.get(t);return typeof o>"u"?!1:o<wc()-this.ttl?(this.map.delete(t),!1):!0}add(t){this.map.delete(t),this.map.set(t,wc()),this._to||(this._to=!0,setTimeout(()=>{this._to=!1,CO(this)},0))}clear(){this.map.clear()}}function CO(e){const t=wc()-e.ttl,o=e.map[Symbol.iterator]();for(;;){const r=o.next().value;if(!r)break;const n=r[0];if(r[1]<t)e.map.delete(n);else break}}function wc(){return Date.now()}function Iu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return typeof t.webWorkerSupport>"u"&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=1e3*45),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&typeof e.idb.onclose=="function"&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=1e3*60),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=1e3*60*2),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),typeof t.node.useFastPath>"u"&&(t.node.useFastPath=!0),t}var OO=Hn,EO="pubkey.broadcast-channel-0-",ao="messages",hs={durability:"relaxed"},PO="idb";function Q1(){if(typeof indexedDB<"u")return indexedDB;if(typeof window<"u"){if(typeof window.mozIndexedDB<"u")return window.mozIndexedDB;if(typeof window.webkitIndexedDB<"u")return window.webkitIndexedDB;if(typeof window.msIndexedDB<"u")return window.msIndexedDB}return!1}function Nu(e){e.commit&&e.commit()}function TO(e){var t=Q1(),o=EO+e,r=t.open(o);return r.onupgradeneeded=function(n){var i=n.target.result;i.createObjectStore(ao,{keyPath:"id",autoIncrement:!0})},new Promise(function(n,i){r.onerror=function(s){return i(s)},r.onsuccess=function(){n(r.result)}})}function RO(e,t,o){var r=Date.now(),n={uuid:t,time:r,data:o},i=e.transaction([ao],"readwrite",hs);return new Promise(function(s,a){i.oncomplete=function(){return s()},i.onerror=function(c){return a(c)};var l=i.objectStore(ao);l.add(n),Nu(i)})}function MO(e,t){var o=e.transaction(ao,"readonly",hs),r=o.objectStore(ao),n=[],i=IDBKeyRange.bound(t+1,1/0);if(r.getAll){var s=r.getAll(i);return new Promise(function(l,c){s.onerror=function(d){return c(d)},s.onsuccess=function(d){l(d.target.result)}})}function a(){try{return i=IDBKeyRange.bound(t+1,1/0),r.openCursor(i)}catch{return r.openCursor()}}return new Promise(function(l,c){var d=a();d.onerror=function(h){return c(h)},d.onsuccess=function(h){var f=h.target.result;f?f.value.id<t+1?f.continue(t+1):(n.push(f.value),f.continue()):(Nu(o),l(n))}})}function zO(e,t){if(e.closed)return Promise.resolve([]);var o=e.db.transaction(ao,"readwrite",hs),r=o.objectStore(ao);return Promise.all(t.map(function(n){var i=r.delete(n);return new Promise(function(s){i.onsuccess=function(){return s()}})}))}function HO(e,t){var o=Date.now()-t,r=e.transaction(ao,"readonly",hs),n=r.objectStore(ao),i=[];return new Promise(function(s){n.openCursor().onsuccess=function(a){var l=a.target.result;if(l){var c=l.value;c.time<o?(i.push(c),l.continue()):(Nu(r),s(i))}else s(i)}})}function BO(e){return HO(e.db,e.options.idb.ttl).then(function(t){return zO(e,t.map(function(o){return o.id}))})}function DO(e,t){return t=Iu(t),TO(e).then(function(o){var r={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:_u(),eMIs:new Y1(t.idb.ttl*2),writeBlockPromise:Xo,messagesCallback:null,readQueuePromises:[],db:o};return o.onclose=function(){r.closed=!0,t.idb.onclose&&t.idb.onclose()},Z1(r),r})}function Z1(e){e.closed||K1(e).then(function(){return W1(e.options.idb.fallbackInterval)}).then(function(){return Z1(e)})}function LO(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}function K1(e){return e.closed||!e.messagesCallback?Xo:MO(e.db,e.lastCursorId).then(function(t){var o=t.filter(function(r){return!!r}).map(function(r){return r.id>e.lastCursorId&&(e.lastCursorId=r.id),r}).filter(function(r){return LO(r,e)}).sort(function(r,n){return r.time-n.time});return o.forEach(function(r){e.messagesCallback&&(e.eMIs.add(r.id),e.messagesCallback(r.data))}),Xo})}function _O(e){e.closed=!0,e.db.close()}function IO(e,t){return e.writeBlockPromise=e.writeBlockPromise.then(function(){return RO(e.db,e.uuid,t)}).then(function(){gO(0,10)===0&&BO(e)}),e.writeBlockPromise}function NO(e,t,o){e.messagesCallbackTime=o,e.messagesCallback=t,K1(e)}function jO(){return!!Q1()}function XO(e){return e.idb.fallbackInterval*2}var FO={create:DO,close:_O,onMessage:NO,postMessage:IO,canBeUsed:jO,type:PO,averageResponseTime:XO,microSeconds:OO},UO=Hn,VO="pubkey.broadcastChannel-",GO="localstorage";function $1(){var e;if(typeof window>"u")return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch{}return e}function e2(e){return VO+e}function qO(e,t){return new Promise(function(o){W1().then(function(){var r=e2(e.channelName),n={token:_u(),time:Date.now(),data:t,uuid:e.uuid},i=JSON.stringify(n);$1().setItem(r,i);var s=document.createEvent("Event");s.initEvent("storage",!0,!0),s.key=r,s.newValue=i,window.dispatchEvent(s),o()})})}function JO(e,t){var o=e2(e),r=function(i){i.key===o&&t(JSON.parse(i.newValue))};return window.addEventListener("storage",r),r}function WO(e){window.removeEventListener("storage",e)}function YO(e,t){if(t=Iu(t),!t2())throw new Error("BroadcastChannel: localstorage cannot be used");var o=_u(),r=new Y1(t.localstorage.removeTimeout),n={channelName:e,uuid:o,eMIs:r};return n.listener=JO(e,function(i){n.messagesCallback&&i.uuid!==o&&(!i.token||r.has(i.token)||i.data.time&&i.data.time<n.messagesCallbackTime||(r.add(i.token),n.messagesCallback(i.data)))}),n}function QO(e){WO(e.listener)}function ZO(e,t,o){e.messagesCallbackTime=o,e.messagesCallback=t}function t2(){var e=$1();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch{return!1}return!0}function KO(){var e=120,t=navigator.userAgent.toLowerCase();return t.includes("safari")&&!t.includes("chrome")?e*2:e}var $O={create:YO,close:QO,onMessage:ZO,postMessage:qO,canBeUsed:t2,type:GO,averageResponseTime:KO,microSeconds:UO},o2=Hn,eE="simulate",ju=new Set;function tE(e){var t={time:o2(),name:e,messagesCallback:null};return ju.add(t),t}function oE(e){ju.delete(e)}var r2=5;function rE(e,t){return new Promise(function(o){return setTimeout(function(){var r=Array.from(ju);r.forEach(function(n){n.name===e.name&&n!==e&&n.messagesCallback&&n.time<t.time&&n.messagesCallback(t)}),o()},r2)})}function nE(e,t){e.messagesCallback=t}function iE(){return!0}function sE(){return r2}var aE={create:tE,close:oE,onMessage:nE,postMessage:rE,canBeUsed:iE,type:eE,averageResponseTime:sE,microSeconds:o2},r0=[SO,FO,$O];function lE(e){var t=[].concat(e.methods,r0).filter(Boolean);if(e.type){if(e.type==="simulate")return aE;var o=t.find(function(n){return n.type===e.type});if(o)return o;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter(function(n){return n.type!=="idb"}));var r=t.find(function(n){return n.canBeUsed()});if(r)return r;throw new Error("No usable method found in "+JSON.stringify(r0.map(function(n){return n.type})))}var n2=new Set,cE=0,Xu=function(t,o){this.id=cE++,n2.add(this),this.name=t,this.options=Iu(o),this.method=lE(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,uE(this)};Xu._pubkey=!0;Xu.prototype={postMessage:function(t){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(t));return n0(this,"message",t)},postInternal:function(t){return n0(this,"internal",t)},set onmessage(e){var t=this.method.microSeconds(),o={time:t,fn:e};s0(this,"message",this._onML),e&&typeof e=="function"?(this._onML=o,i0(this,"message",o)):this._onML=null},addEventListener:function(t,o){var r=this.method.microSeconds(),n={time:r,fn:o};i0(this,t,n)},removeEventListener:function(t,o){var r=this._addEL[t].find(function(n){return n.fn===o});s0(this,t,r)},close:function(){var t=this;if(!this.closed){n2.delete(this),this.closed=!0;var o=this._prepP?this._prepP:Xo;return this._onML=null,this._addEL.message=[],o.then(function(){return Promise.all(Array.from(t._uMP))}).then(function(){return Promise.all(t._befC.map(function(r){return r()}))}).then(function(){return t.method.close(t._state)})}},get type(){return this.method.type},get isClosed(){return this.closed}};function n0(e,t,o){var r=e.method.microSeconds(),n={time:r,type:t,data:o},i=e._prepP?e._prepP:Xo;return i.then(function(){var s=e.method.postMessage(e._state,n);return e._uMP.add(s),s.catch().then(function(){return e._uMP.delete(s)}),s})}function uE(e){var t=e.method.create(e.name,e.options);hO(t)?(e._prepP=t,t.then(function(o){e._state=o})):e._state=t}function i2(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function i0(e,t,o){e._addEL[t].push(o),dE(e)}function s0(e,t,o){e._addEL[t]=e._addEL[t].filter(function(r){return r!==o}),fE(e)}function dE(e){if(!e._iL&&i2(e)){var t=function(n){e._addEL[n.type].forEach(function(i){n.time>=i.time&&i.fn(n.data)})},o=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,o)}):(e._iL=!0,e.method.onMessage(e._state,t,o))}}function fE(e){if(e._iL&&!i2(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}const pE=()=>/iP(ad|od|hone)/i.test(window.navigator.userAgent);function hE(e,t){return new Xu(e,{...t,type:pE()?"localstorage":void 0})}const Pt=class Pt{constructor(t=Pt.DEFAULT_CONFIG){if(this.createAntibotFrame=o=>{if(window.location.hostname.endsWith("foxford.ru")||window.location.hostname.endsWith("netology-group.services")||window.location.hostname.endsWith("foxford-school.com")||window.location.hostname.endsWith("foxford-home-school.ru")||window.location.hostname.endsWith("smartlearning.ru")||this.config.debug){const r=Pt.createFrame(o.src,o==null?void 0:o.onload,o==null?void 0:o.onerror);document.body.appendChild(r),window.antibotInitialized=!0}},this.config={...Pt.DEFAULT_CONFIG,...t},window.antibotInitialized===void 0&&(window.antibotInitialized=!1),!document.body)throw new Error("Body element not found");if(window.onCaptureReady!==void 0){console.debug("Seo4Ajax crawler injects own callback. FoxfordAntibot initialization will be ignored.");return}if(Pt.antibotIsInitialized()){console.debug("FoxfordAntibot is already mounted");return}this.createAntibotFrame({onerror:this.config.antibotOnerror,onload:this.config.antibotOnload,src:this.config.antibotFrameSrc})}static antibotIsInitialized(){if(window.antibotInitialized||document.querySelectorAll(`iframe.${Pt.FRAME_CLASSNAME}`).length>0)return!0;try{return window.top?window.self!==window.top&&!!window.top.antibotInitialized:!1}catch{return!1}}};Pt.FOXFORD_ANTIBOT_URL="https://foxford.ru/antibot/ping",Pt.DEFAULT_CONFIG={antibotFrameSrc:Pt.FOXFORD_ANTIBOT_URL},Pt.FRAME_CLASSNAME="antibot",Pt.createFrame=(t,o,r)=>{const n=document.createElement("iframe");return n.classList.add(Pt.FRAME_CLASSNAME),n.style.width="1px",n.style.height="1px",n.style.position="fixed",n.style.zIndex="-1",n.style.top="0",n.style.left="0",n.style.border="0",n.referrerPolicy="origin",n.src=t,n.onload=i=>{typeof o=="function"&&o(i)},n.onerror=()=>{typeof r=="function"&&r()},n};let kc=Pt;const gE="_csrf_token",mE="https://foxford.ru",bE={headers:{"X-Requested-With":"XMLHttpRequest"},withXSRFToken:!0,xsrfCookieName:gE,xsrfHeaderName:"X-CSRF-Token"},vE={...bE,withCredentials:!0};var ia,a0;function yE(){if(a0)return ia;a0=1;function e(t){for(var o=!1,r=0;r<t.length;r++){var n=t.charAt(r);o&&/[a-zA-Z]/.test(n)&&n.toUpperCase()===n?(t=t.substr(0,r)+"-"+t.substr(r),o=!1,r++):o=n.toLowerCase()===n}return t}return ia=function(){var t=[].map.call(arguments,function(o){return o.trim()}).filter(function(o){return o.length}).join("-");return t.length?t.length===1?t:/[_.\- ]+/.test(t)?(t=e(t),t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(o,r){return r.toUpperCase()})):t===t.toUpperCase()?t.toLowerCase():t[0]!==t[0].toLowerCase()?t[0].toLowerCase()+t.slice(1):t:""},ia}var sa,l0;function s2(){return l0||(l0=1,sa=function(e,t){for(var o={},r=Object.keys(e),n=0;n<r.length;n++){var i=r[n],s=t(i,e[i],e);o[s[0]]=s[1]}return o}),sa}var aa,c0;function xE(){if(c0)return aa;c0=1;var e=yE(),t=s2();return aa=function o(r){return!r||r instanceof Date?r:Array.isArray(r)?r.map(function(n){return o(n)}):typeof r=="object"?t(r,function(n,i){var s=e(n);if(n!==s&&s in r)throw new Error("Camelcased key `"+s+"` would overwrite existing key of the given JSON object");return[s,o(i)]}):r},aa}var wE=xE();const kE=Mr(wE);var la,u0;function AE(){return u0||(u0=1,la=function(e,t){if(typeof e!="string")throw new TypeError("Expected a string");return t=typeof t>"u"?"_":t,e.replace(/([a-z\d])([A-Z])/g,"$1"+t+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t+"$2").toLowerCase()}),la}var ca,d0;function SE(){if(d0)return ca;d0=1;var e=AE(),t=s2();return ca=function o(r,n){return!r||r instanceof Date?r:Array.isArray(r)?r.map(function(i){return o(i,n)}):typeof r=="object"?t(r,function(i,s){var a=e(i,n);if(i!==a&&a in r)throw new Error("Decamelized key `"+a+"` would overwrite existing key of the given JSON object");return[a,o(s,n)]}):r},ca}var CE=SE();const OE=Mr(CE),EE=e=>kE(e),f0=e=>OE(e);class PE{constructor(){this.pluginType="request",this.pluginName="camelizeRequestPlugin"}execute(t,o){return new Promise(r=>{if(typeof t.camelize=="boolean"?t.camelize:!0){const i=o.defaults.transformResponse,s=a=>EE(a);i&&(t.transformResponse=Array.isArray(i)?[...i,s]:[i,s])}r(t)})}isApplicable(t){return typeof t.camelize=="boolean"?t.camelize:!0}}class TE{constructor(t){this.pluginType="responseFail",this.pluginName="captchaPlugin",this.captchaConfig=t}async execute(t){var o,r;try{const n=typeof this.captchaConfig=="function"?this.captchaConfig():this.captchaConfig;if(!n)return t;const{settings:i={}}=(r=(o=t.response)==null?void 0:o.data)!=null?r:{},{provider:s}=i,a=i.siteKey||i.site_key||void 0;if(!i||!s||!a)return t;this.captcha=new YC({...n,provider:s,sitekey:a});const{config:l}=t,c=await this.captcha.execute({location:l.url,method:l.method});if(c==null||typeof(c==null?void 0:c.captcha_token)!="string")return l;const d={verification:{settings:{token:c.captcha_token},type:"captcha"}};if(l.method==="get"&&(l.params={...l.params,...d}),typeof l.data=="string")try{let h=JSON.parse(l.data);h={...h,...d},l.data=JSON.stringify(h)}catch(h){console.error(h)}else if(l.data instanceof FormData){const h=l.data;h.append("verification[settings][token]",d.verification.settings.token),h.append("verification[type]",d.verification.type),l.data=h}else typeof l.data=="object"&&(l.data={...l.data,...d});return l}catch(n){return n}}isApplicable(t){var o;return((o=t.response)==null?void 0:o.status)===449}}class RE{constructor(){this.pluginType="responseSuccess",this.pluginName="dataLayerEventDispatcherPlugin"}execute(t){return new Promise(o=>{try{const r=JSON.parse(t.request.response);Array.isArray(r.data_layer_events)&&(Array.isArray(window.dataLayer)||(window.dataLayer=[]),window.dataLayer.push(...r.data_layer_events))}catch{}o(t)})}isApplicable(){return!0}}function ME(e){const t=[];let o=0;for(;o<e.length;){const r=e[o];if(r==="*"||r==="+"||r==="?"){t.push({index:o,type:"MODIFIER",value:e[o++]});continue}if(r==="\\"){t.push({index:o++,type:"ESCAPED_CHAR",value:e[o++]});continue}if(r==="{"){t.push({index:o,type:"OPEN",value:e[o++]});continue}if(r==="}"){t.push({index:o,type:"CLOSE",value:e[o++]});continue}if(r===":"){let n="",i=o+1;for(;i<e.length;){const s=e.charCodeAt(i);if(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===95){n+=e[i++];continue}break}if(!n)throw new TypeError(`Missing parameter name at ${o}`);t.push({index:o,type:"NAME",value:n}),o=i;continue}if(r==="("){let n=1,i="",s=o+1;if(e[s]==="?")throw new TypeError(`Pattern cannot start with "?" at ${s}`);for(;s<e.length;){if(e[s]==="\\"){i+=e[s++]+e[s++];continue}if(e[s]===")"){if(n--,n===0){s++;break}}else if(e[s]==="("&&(n++,e[s+1]!=="?"))throw new TypeError(`Capturing groups are not allowed at ${s}`);i+=e[s++]}if(n)throw new TypeError(`Unbalanced pattern at ${o}`);if(!i)throw new TypeError(`Missing pattern at ${o}`);t.push({index:o,type:"PATTERN",value:i}),o=s;continue}t.push({index:o,type:"CHAR",value:e[o++]})}return t.push({index:o,type:"END",value:""}),t}function zE(e,t={}){const o=ME(e),{prefixes:r="./"}=t,n=`[^${ir(t.delimiter||"/#?")}]+?`,i=[];let s=0,a=0,l="";const c=f=>{var b,v;if(a<o.length&&((b=o[a])==null?void 0:b.type)===f)return(v=o[a++])==null?void 0:v.value},d=f=>{var v,g;const b=c(f);if(b!==void 0)return b;throw new TypeError(`Unexpected ${(v=o[a])==null?void 0:v.type} at ${(g=o[a])==null?void 0:g.index}, expected ${f}`)},h=()=>{let f="",b;for(;b=c("CHAR")||c("ESCAPED_CHAR");)f+=b;return f};for(;a<o.length;){const f=c("CHAR"),b=c("NAME"),v=c("PATTERN");if(b||v){let m=f||"";r.indexOf(m)===-1&&(l+=m,m=""),l&&(i.push(l),l=""),i.push({modifier:c("MODIFIER")||"",name:b||s++,pattern:v||n,prefix:m,suffix:""});continue}const g=f||c("ESCAPED_CHAR");if(g){l+=g;continue}if(l&&(i.push(l),l=""),c("OPEN")){const m=h(),y=c("NAME")||"",C=c("PATTERN")||"",A=h();d("CLOSE"),i.push({modifier:c("MODIFIER")||"",name:y||(C?s++:""),pattern:y&&!C?n:C,prefix:m,suffix:A});continue}d("END")}return i}function ir(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a2(e){return e&&e.sensitive?"":"i"}function HE(e,t){if(!t)return e;const o=/\((?:\?<(.*?)>)?(?!\?)/g;let r=0,n=o.exec(e.source);for(;n;)t.push({modifier:"",name:n[1]||r++,pattern:"",prefix:"",suffix:""}),n=o.exec(e.source);return e}function BE(e,t,o){const r=e.map(n=>l2(n,t,o).source);return new RegExp(`(?:${r.join("|")})`,a2(o))}function DE(e,t,o){return LE(zE(e,o),t,o)}function LE(e,t,o={}){const{strict:r=!1,start:n=!0,end:i=!0,encode:s=f=>f,delimiter:a="/#?",endsWith:l=""}=o,c=`[${ir(l)}]|$`,d=`[${ir(a)}]`;let h=n?"^":"";for(const f of e)if(typeof f=="string")h+=ir(s(f));else{const b=ir(s(f.prefix)),v=ir(s(f.suffix));if(f.pattern)if(t&&t.push(f),b||v)if(f.modifier==="+"||f.modifier==="*"){const g=f.modifier==="*"?"?":"";h+=`(?:${b}((?:${f.pattern})(?:${v}${b}(?:${f.pattern}))*)${v})${g}`}else h+=`(?:${b}(${f.pattern})${v})${f.modifier}`;else f.modifier==="+"||f.modifier==="*"?h+=`((?:${f.pattern})${f.modifier})`:h+=`(${f.pattern})${f.modifier}`;else h+=`(?:${b}${v})${f.modifier}`}if(i)r||(h+=`${d}?`),h+=o.endsWith?`(?=${c})`:"$";else{const f=e[e.length-1],b=typeof f=="string"?d.indexOf(f[f.length-1])>-1:f===void 0;r||(h+=`(?:${d}(?=${c}))?`),b||(h+=`(?=${d}|${c})`)}return new RegExp(h,a2(o))}function l2(e,t,o){return e instanceof RegExp?HE(e,t):Array.isArray(e)?BE(e,t,o):DE(e,t,o)}const p0={},_E=1e4;let h0=0;function IE(e,t){const{end:o=!1,strict:r=!1,sensitive:n=!1}=t,i=`${e}/${o.toString()}/${r.toString()}/${n.toString()}`,s=p0[i]||(p0[i]={});if(s[e])return s[e];const a=[],l=l2(e,a,t),c={keys:a,regexp:l};return h0<_E&&(s[e]=c,h0+=1),c}const NE=(e,t)=>{t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});const o=t,r=o.path,n=o.exact,i=n===void 0?!1:n,s=o.strict,a=s===void 0?!1:s,l=o.sensitive,c=l===void 0?!1:l;return[].concat(r).reduce(function(h,f){if(!f&&f!=="")return null;if(h)return h;const b=IE(f,{end:i,sensitive:c,strict:a}),v=b.regexp,g=b.keys,p=v.exec(e);if(!p)return null;const m=p[0],y=p.slice(1),C=e===m;return i&&!C?null:{isExact:C,params:g.reduce(function(A,S,M){return A[S.name]=y[M],A},{}),path:f,url:f==="/"&&m===""?"/":m}},null)},jE="referrer",XE={delete:[],get:[],patch:[],post:["/api/email_registration","/api/phone_registration","/api/auth/registration"],put:[]};class FE{constructor(){this.pluginType="request",this.pluginName="referrerRequestPlugin"}execute(t){return new Promise(o=>{const r=String(window.__fox_referrer__);r||o(t),t.params={...t.params,[jE]:r},o(t)})}getEndpoints(){return XE}isApplicable(t){var a;const{method:o,url:r=""}=t,n=o||"post";return((a=this.getEndpoints()[n])!=null?a:[]).some(l=>l===r||r&&NE(r,{exact:!0,path:l}))||t.withReferrer===!0}}const UE=new FE,VE=new PE,GE=new RE,qE=[VE,UE,GE];class JE{constructor(t,o){this.appOptions=null,this.api=t,this.eventName=o}async getCurrentAppOptions(){return this.appOptions?this.appOptions:await this.getAppOptions()}async getAppOptions(){const t=await this.api.get("/api/app_options");return this.appOptions=t.data,window&&window.dispatchEvent(new CustomEvent(this.eventName,{detail:t.data})),t.data}}class g0 extends Error{constructor(t,o){super(t),this.name="LogginError",this.cause=o==null?void 0:o.cause}}class WE extends Error{constructor(t,o){super(t),this.name="ConfirmationCodeRequestError",this.cause=o==null?void 0:o.cause}}class YE{constructor(t,o){this.api=t,this.appOptionsService=o}static createUser(t){return Tt.fromApi(t)}static createDefaultUser(){return Tt.createDefault()}async getUser(){try{const t=await this.api.get("/api/user/me").then(({data:r})=>r);return Tt.fromApi(t)}catch{return Tt.createDefault()}}async loginByEmail(t,o){const r=await this.api.post("/api/email_registration",{email:t,password:o}).then(({data:i})=>i),n=await this.getUser();return{result:r,user:n}}async getConfirmationCode(t){const o=await this.appOptionsService.getCurrentAppOptions();try{const r={phone:t,type:o.phoneConfirmationType};return await this.api.post("/api/phone_confirmation_codes",r)}catch(r){throw new WE("Ошибка получения кода подтверждения",{cause:r})}}async loginByPhone(t,o){const r=await this.appOptionsService.getCurrentAppOptions(),n=await this.api.post("/api/phone_check",{phone:t});if(n.data.state==="not_confirmed"&&n.data.fakeEmail===!1){let d="email";const h=await o.onEmailRequest(n.data);try{await this.api.post("/api/phone_check/verification",{check_method:d,email:h,phone:t,type:r.phoneConfirmationType})}catch{d="name"}try{if(d==="name"){const{first_name:f,last_name:b}=await o.onNameRequest();await this.api.post("/api/phone_check/verification",{check_method:"name",first_name:f,last_name:b,phone:t,type:r.phoneConfirmationType})}}catch(f){throw new g0("Ошибка авторизации",{cause:f})}}let i;try{i=await this.getConfirmationCode(t),o.onConfirmationCodeResponse(i.data)}catch(d){throw new g0("Ошибка авторизации",{cause:d})}if(!i)return;const s=await o.onCodeRequest();let a;try{a=(await this.api.post("/api/phone_confirmations",{code:s,phone:t})).data.verificationToken}catch(d){o.onConfirmationCodeError(d)}const l=await this.api.post("/api/phone_registration",{phone:t,phone_verification_token:a}).then(({data:d})=>d),c=await this.getUser();return{result:l,user:c}}async purchases({resourceId:t,resourceType:o}){if(t&&typeof t!="number")throw new Error("resourceId must be a number");if(o&&typeof o!="string")throw new Error("resourceType must be a string");const r=[];t&&r.push(`resource_id=${encodeURIComponent(t)}`),o&&r.push(`resource_type=${encodeURIComponent(o)}`);const n=r.length?`?${r.join("&")}`:"",{data:i}=await this.api.get(`/api/user/purchases${n}`);return i}signIn({redirectUrl:t=void 0}){if(t&&typeof t!="string")throw new Error("redirectUrl must be a string");let o=`${mE}/user/registration?redirect_url=`;t&&(o+=encodeURIComponent(document.location.href)),document.location.href=o}async signOut(t=!0){const o=await this.api.delete("/user/log_out");return t&&window.location.reload(),o}async signInAsPupil(t){const{data:o}=await this.api.post(`/family/pupils/${t}/sign_in`);return o}async signOutFromPupil(){const{data:t}=await this.api.delete("/family/pupils/sign_out");return t}async pushEvent(t){await this.api.post("/api/user/event",{event:t})}async setSubscriptions(t){await this.api.put("/api/user/communication_subscriptions",{communication_subscriptions:t})}async getUserInterests(){const{data:t}=await this.api.get("/api/user/user_interest");return t}async updateUserInterests(t){await this.api.put("/api/user/user_interest",{user_interest:f0(t)})}async updateMultipleUserInterests(t){await this.api.put("/api/user/user_interest",{user_interests:t.map(o=>f0(o))})}}let ua=null;function QE(){ua!=null||(ua=new kc)}function ZE(e){const t=qC.createFoxApiInstance({config:vE,plugins:[...qE,new TE(()=>({locale:"ru",notify:(...o)=>{console.warn("[navigation] капча:",...o)}}))]});return e&&(t.defaults.baseURL=e),t}const wt=(e,t={})=>({event:"analytics/TRACK_ANALYTICS_DATA",payload:{properties:t,trigger:`app.navigation.${e}`}}),to=(e,t={})=>({event:"analytics/TRACK_ANALYTICS_DATA",payload:{properties:t,trigger:`app.footer.${e}`}});function rn(e,t){return t!==void 0&&Object.hasOwn(e,t)?e[t]:void 0}const KE={ok:"Одноклассники",telegram:"Telegram",vk:"ВКонтакте",youtube:"YouTube"},$E={max:"Max",telegram:"Telegram"},eP={"digital-registry":"footer_digital_registry_clicked",license:"footer_license_clicked",policy:"footer_personal_processing_policy_clicked",skolkovo:"footer_skolkovo_link_clicked"},tP={"footer.city.close":({reason:e})=>e==="button"?wt("footer_geoposition_modal_close_clicked"):void 0,"footer.city.select":({item:e})=>wt("footer_geoposition_modal_city_clicked",{url:e==null?void 0:e.url}),"footer.contact.activate":({item:e,placement:t})=>{var o;if((e==null?void 0:e.id)==="sales-phone")return to("footer_new_phone_clicked");if((e==null?void 0:e.id)==="support-phone")return to("footer_phone_clicked");if((e==null?void 0:e.id)==="email")return to("footer_email_clicked");if(t==="support"&&["vkontakte","telegram","max"].includes((o=e==null?void 0:e.id)!=null?o:""))return to("footer_social_network_support_chat_clicked",{name:e==null?void 0:e.id})},"footer.download.activate":()=>to("download_app_clicked"),"footer.legal.activate":({item:e})=>{const t=rn(eP,e==null?void 0:e.id);return t===void 0?void 0:to(t)},"footer.menu.activate":({item:e})=>wt("footer_menu_item_clicked",{title:e==null?void 0:e.title,url:e==null?void 0:e.url}),"footer.onboarding.activate":()=>to("onboarding_button_clicked"),"footer.sales.activate":({item:e})=>{const t=rn($E,e==null?void 0:e.id);return t===void 0?void 0:to("footer_sales_link_clicked",{name:t})},"footer.social.activate":({item:e})=>{const t=rn(KE,e==null?void 0:e.id);return t===void 0?void 0:to("footer_social_network_clicked",{name:t})}},oP={bonuses:"bonuses",foxNavProfileMenuAchievements:"achievements",foxNavProfileMenuAttestation:"attestation",foxNavProfileMenuBonuses:"bonuses",foxNavProfileMenuCart:"cart",foxNavProfileMenuDigitalPortfolio:"digital_portfolio",foxNavProfileMenuElementaryPlan:"elementary_plan",foxNavProfileMenuExternshipElementary:"externship_elementary",foxNavProfileMenuFamily:"family",foxNavProfileMenuLaboratory:"laboratory",foxNavProfileMenuLogout:"logout",foxNavProfileMenuMyTrialExams:"my_trial_exams",foxNavProfileMenuObjectives:"objectives",foxNavProfileMenuPayments:"payments",foxNavProfileMenuProgress:"progress",foxNavProfileMenuPromosElementary:"promos_elementary",foxNavProfileMenuSettings:"settings",foxNavProfileMenuSocialization:"socialization",foxNavProfileMenuSocializationLanding:"socialization_landing","real-money":"real-money"},rP={cart:"cart",foxNavUserPanelCart:"cart",foxNavUserPanelCatalog:"catalog",foxNavUserPanelCourses:"elementary_courses",foxNavUserPanelExternship:"externship_elementary",foxNavUserPanelPlan:"plan",foxNavUserPanelReferrals:"referrals",foxNavUserPanelRoom:"elementary_room"},nP={"account.parent.select":"switch_to_parent_account_from_profile_menu","account.pupil.select":"switch_to_pupil_account_from_profile_menu","auth.login":"login_button_clicked","auth.logout":"logout_button_clicked","catalog.onboarding.activate":"menu_segment_list_onboarding_item_clicked","catalog.open":"menu_opened","catalog.promo.activate":"menu_segment_list_promo_item_clicked","externat.callback":"externat_callback_button_clicked","externat.free-access":"externat_free_access_button_clicked","footer.city.open":"footer_geoposition_clicked","logo.activate":"logo_clicked","onboarding.activate":"profile_menu_onboarding_button_clicked","profile.onboarding.activate":"profile_menu_item_onboarding_clicked","profile.open":"profile_menu_opened","profile.reviews.activate":"profile_menu_external_reviews_button_clicked"};function da({reason:e,type:t}){if(e==="escape")return wt("menu_closed_by_esc_button_clicked");if(t==="pupil-menu.close")return e==="outside"?wt("pupil_select_menu_closed"):void 0;if(!(e!=="toggle"&&e!=="button"&&e!=="outside"))return wt(t==="catalog.close"?"menu_closed":"profile_menu_closed")}const iP={"catalog.close":da,"catalog.item.activate":({item:e,list:t,segment:o})=>wt("menu_segment_list_item_clicked",{itemName:e==null?void 0:e.title,itemUrl:e==null?void 0:e.url,listName:t==null?void 0:t.title,segmentName:o==null?void 0:o.title}),"catalog.list-title.activate":({list:e,segment:t})=>wt("menu_segment_list_title_clicked",{listName:e==null?void 0:e.title,listTitleUrl:e==null?void 0:e.url,segmentName:t==null?void 0:t.title}),"catalog.segment.select":({segment:e})=>{if(!(typeof(e==null?void 0:e.sourceId)!="number"||!Number.isFinite(e.sourceId)))return wt("menu_segment_selected",{id:e.sourceId,title:e.title,url:e.url})},"catalog.segment-title.activate":({item:e,segment:t})=>wt("menu_segment_title_clicked",{segmentContentTitle:e==null?void 0:e.title,segmentContentTitleUrl:e==null?void 0:e.url,segmentName:t==null?void 0:t.title}),"one-click.activate":({item:e})=>wt("oneclick_menu_item_clicked",{title:e==null?void 0:e.title,url:e==null?void 0:e.url}),"profile.close":da,"profile.item.activate":({item:e})=>{const t=rn(oP,e==null?void 0:e.id);return t===void 0?void 0:wt("profile_menu_item_clicked",{name:t})},"pupil-menu.close":da,"support.open":()=>({event:"analytics/TRACK_ANALYTICS_DATA_V2",payload:{eventCategory:"page",eventDataObject:void 0,eventLabel:"header-support-button",eventType:"click",eventValue:"open-modal"}}),"user-panel.activate":({item:e},t)=>{let o=rn(rP,e==null?void 0:e.id);return(e==null?void 0:e.id)==="foxNavUserPanelCalendar"&&(o=t.elementary?"elementary_calendar":"calendar"),(e==null?void 0:e.id)==="foxNavUserPanelDashboard"&&(o=t.elementary?"elementary_dashboard":t.teacher?"teacher_dashboard":void 0),o===void 0?void 0:wt("user_panel_item_clicked",{pageId:o,url:e==null?void 0:e.url})}};function sP(e,t={}){var n;const o=nP[e.type];if(o!==void 0)return wt(o);const r=(n=iP[e.type])!=null?n:tP[e.type];return r==null?void 0:r(e,t)}function aP(e){var t,o;if(!(typeof window>"u"))try{const r=window;if(((t=r.app_options)==null?void 0:t.prerender)===!0)return;const n=(o=r.dataLayer)!=null?o:r.dataLayer=[];n.push({event:null,payload:null}),n.push(e)}catch{}}function lP(e,t){try{const o=t===void 0?void 0:Tt.fromApi(t),r={elementary:o==null?void 0:o.isElementaryPupil,teacher:o==null?void 0:o.isAgent},n=sP(e,r);n!==void 0&&aP(n)}catch{}}class cP{constructor(){this.length=0,this.data={}}key(t){var r;const o=Object.keys(this.data);return t>=0&&t<o.length&&(r=o[t])!=null?r:null}getItem(t){return this.data.hasOwnProperty(t)?this.data[t]:null}setItem(t,o){return this.length++,this.data[t]=String(o)}removeItem(t){return this.length--,delete this.data[t]}clear(){return this.data={}}}const m0="__test";function b0(e){try{const t=window[e];return t.setItem(m0,"1"),t.removeItem(m0),!0}catch{return!1}}function v0(e="localStorage"){const t=String(e).replace(/storage$/i,"").toLowerCase();if(t==="local")return b0("localStorage");if(t==="session")return b0("sessionStorage");if(t==="memory")return!0;throw new Error(`Storage method \`${e}\` is not available.
|
|
1197
|
-
Please use one of the following: localStorage, sessionStorage, cookieStorage, memoryStorage.`)}const zt=class zt{constructor(t){var o;t!=null&&t.storage?this.storage=t.storage:v0("localStorage")?this.storage=window.localStorage:v0("sessionStorage")?this.storage=window.sessionStorage:this.storage=new cP,this.logger=(o=t==null?void 0:t.logger)!=null?o:console}getJson(t){const o=this.getItem(t);if(o==null)return null;try{return JSON.parse(o)}catch(r){return this.logger.error(r,{key:t}),this.removeItem(t),{}}}setJson(t,o,r){if(o===void 0)throw new Error("Cannot set undefined value as JSON!");return this.setItem(t,JSON.stringify(o),r||0)}setItem(t,o,r){this.storage.setItem(t,o),r!=null&&r>0&&this.updateExpiration(t,r)}getItem(t){return this.isExpired(t)?(this.removeItem(t),null):this.storage.getItem(t)}peek(t){const o={isExpired:!1,timeLeft:this.getTimeLeft(t),value:this.storage.getItem(t)};return o.isExpired=o.timeLeft!==null&&o.timeLeft<=0,o}getTimeLeft(t){const o=this.storage.getItem(zt.EXP_KEY_PREFIX+t),r=o?parseInt(o):NaN;return r>0&&!isNaN(r)?r-zt.getTimestamp():null}isExpired(t){const o=this.getTimeLeft(t);return o!==null&&o<=0}updateExpiration(t,o){this.storage.setItem(zt.EXP_KEY_PREFIX+t,`${zt.getTimestamp()+o}`)}removeItem(t){this.storage.removeItem(t),this.storage.removeItem(zt.EXP_KEY_PREFIX+t)}keys(t){const o=[],r=this;return this.iterKeys(n=>{n!=null&&n.indexOf(zt.EXP_KEY_PREFIX)!==0&&(t||!r.isExpired(n))&&o.push(n)}),o}iterKeys(t){if(typeof Object=="function"&&Object.keys){const o=Object.keys(this.storage);for(let r=0;r<o.length;++r)t(o[r])}else if(this.storage.length!==void 0&&typeof this.storage.key=="function"){const o=[];for(let r=0,n=Number(this.storage.length);r<n;++r){const i=this.storage.key(r);i&&o.push(i)}for(let r=0;r<o.length;++r)t(o[r])}else Object.keys(this.storage).forEach(o=>t(o))}clear(){this.storage.clear()}clearExpired(){const t=[],o=this;return this.iterKeys(r=>{if(r!=null&&r.indexOf(zt.EXP_KEY_PREFIX)===0){const n=r.substr(zt.EXP_KEY_PREFIX.length);o.isExpired(n)&&(o.removeItem(n),t.push(n))}}),t}};zt.EXP_KEY_PREFIX="__expired_storage_ts__",zt.getTimestamp=()=>Math.floor(new Date().getTime()/1e3);let Ac=zt;const fa=Symbol.for("foxford.navigation.session-storage.v1");function Fu(){var t;if(typeof window>"u")return;const e=window;return(t=e[fa])!=null?t:e[fa]=new Ac}const pa=Symbol.for("foxford.navigation.logout-channel.v1"),uP="service.logout-service";function Uu(){var t;if(typeof window>"u")return;const e=window;return(t=e[pa])!=null?t:e[pa]={listeners:new Set,refs:0}}function Ni(e){console.error("[navigation] logout channel:",e)}function dP(e){if(!e.channel)try{const t=hE(uP);t.addEventListener("message",o=>{if(o==="refresh"){for(const r of e.listeners)try{r(o)}catch(n){Ni(n)}window.location.reload()}}),e.channel=t}catch(t){Ni(t)}}async function c2(e){var o,r;const t=Vu();try{await((r=(o=Uu())==null?void 0:o.channel)==null?void 0:r.postMessage(e))}catch(n){Ni(n)}finally{t()}}function Sc(e){var t;try{(t=Fu())==null||t.setItem("userId",e===null?"":String(e))}catch{}}function u2(e){var t,o;if(!(typeof window>"u"))try{const r=Number.parseInt((o=(t=Fu())==null?void 0:t.getItem("userId"))!=null?o:"",10)||null;if(r===e)return;Sc(e),r!==null&&c2("refresh")}catch{}}function Vu(e){const t=Uu();if(!t)return()=>{};t.refs+=1,dP(t),e!==void 0&&u2(e);let o=!1;return()=>{if(!o&&(o=!0,t.refs-=1,t.refs===0)){const r=t.channel;t.channel=void 0,r==null||r.close().catch(Ni)}}}function fP(e){const t=Uu(),o=Vu();return t==null||t.listeners.add(e),()=>{t==null||t.listeners.delete(e),o()}}const Gr={connect:Vu,postMessage:c2,subscribe:fP,syncUser:u2},d2="__identifier__",ji=Symbol("ReactiveState");function vr(e){if(!Array.isArray(e))throw new Error("Path must be an array");if(e.some(t=>typeof t!="string"||t.length===0))throw new Error("Path segments must be non-empty strings")}function pP(e,t){return vr(t),t.length===0?e:t.reduce((o,r)=>{if(!(o===null||typeof o>"u"))return o[r]},e)}function hP(e,t,o){if(vr(t),t.length===0)return o;const r=Array.isArray(e)?[...e]:{...e};let n=r;for(let s=0;s<t.length-1;s++){const a=t[s],l=t[s+1];if(typeof a>"u"||typeof l>"u")throw new Error("Path segments should not be undefined");const c=!isNaN(parseInt(l,10));n[a]=gP(n[a],c),n=n[a]}const i=t[t.length-1];return typeof i<"u"&&(n[i]=o),r}function gP(e,t){return Array.isArray(e)?[...e]:typeof e=="object"&&e!==null?{...e}:t?[]:{}}function Xi(e,t){for(let o in e)t(e[o],o)}function _t(e,t){e.forEach(t)}function lo(e,t){if(!e)throw Error(t)}function co({node:e=[],from:t,source:o,parent:r=t||o,to:n,target:i,child:s=n||i,scope:a={},meta:l={},family:c={type:"regular"},regional:d}={}){let h=Kn(r),f=Kn(c.links),b=Kn(c.owners),v=[];_t(e,(p=>p&&Xt(v,p)));let g={id:SP(),seq:v,next:Kn(s),meta:l,scope:a,family:{type:c.type||"crosslink",links:f,owners:b}};return _t(f,(p=>Xt(gs(p),g))),_t(b,(p=>Xt(ms(p),g))),_t(h,(p=>Xt(p.next,g))),g}function ko(e,t,o){let r,n=no,i=null,s=Be;if(e.target&&(t=e.params,o=e.defer,r=e.meta,n="page"in e?e.page:n,e.stack&&(i=e.stack),s=Io(e)||s,e=e.target),s&&Be&&s!==Be&&(Be=null),Array.isArray(e))for(let v=0;v<e.length;v++)zo("pure",n,Gt(e[v]),i,t[v],s,r);else zo("pure",n,Gt(e),i,t,s,r);if(o&&!$n)return;let a,l,c,d,h,f,b={isRoot:$n,currentPage:no,scope:Be,isWatch:mi,isPure:bi};$n=0;e:for(;d=LP();){let{idx:v,stack:g,type:p}=d;c=g.node,no=h=g.page,Be=Io(g),h?f=h.reg:Be&&(f=Be.reg);let m=!!h,y=!!Be,C={fail:0,scope:c.scope};a=l=0;for(let A=v;A<c.seq.length&&!a;A++){let S=c.seq[A];if(S.order){let{priority:M,barrierID:H}=S.order,I=H?h?`${h.fullID}_${H}`:H:0;if(A!==v||p!==M){H?ha.has(I)||(ha.add(I),Cc(A,g,M,H)):Cc(A,g,M);continue e}H&&ha.delete(I)}switch(S.type){case"mov":{let H,I=S.data;switch(I.from){case Fi:H=hi(g);break;case"a":case"b":H=g[I.from];break;case"value":H=I.store;break;case"store":if(f&&!f[I.store.id])if(m){let W=w2(h,I.store.id);g.page=h=W,W?f=W.reg:y?(Tr(Be,I.store,0,1,I.softRead),f=Be.reg):f=void 0}else y&&Tr(Be,I.store,0,1,I.softRead);H=x2(f&&f[I.store.id]||I.store)}switch(I.to){case Fi:g.value=H;break;case"a":case"b":g[I.to]=H;break;case"store":IP(h,Be,c,I.target).current=H}break}case"compute":let M=S.data;if(M.fn){mi=kt(c,"op")==="watch",bi=M.pure;let H=M.safe?(0,M.fn)(hi(g),C.scope,g):jP(C,M.fn,g);M.filter?l=!H:g.value=H,mi=b.isWatch,bi=b.isPure}}a=C.fail||l}if(!a){let A=hi(g),S=Io(g);if(_t(c.next,(M=>{zo("child",h,M,g,A,S)})),S){kt(c,"needFxCounter")&&zo("child",h,S.fxCount,g,A,S),kt(c,"storeChange")&&zo("child",h,S.storeChange,g,A,S),kt(c,"warnSerialize")&&zo("child",h,S.warnSerializeNode,g,A,S);let M=S.additionalLinks[c.id];M&&_t(M,(H=>{zo("child",h,H,g,A,S)}))}}}$n=b.isRoot,no=b.currentPage,Be=Io(b)}function mP(e,t){let o,r,n=e;if(t){let i=wP(t);e.length===0?(o=i.path,r=i.fullName):(o=i.path.concat([e]),r=i.fullName.length===0?e:i.fullName+"/"+e)}else o=e.length===0?[]:[e],r=e;return{shortName:n,fullName:r,path:o}}function nn(e,...t){}function Ao(e,t){let o=So({or:t,and:typeof e=="string"?{name:e}:e}),r=(s,...a)=>(Pr(!kt(r,"derived"),"call of derived event","createEvent"),Pr(!bi,"unit call from pure function","operators like sample"),no?((l,c,d,h)=>{let f=no;A0(null);let v=l.create(d,h);return A0(f),v})(r,n,s,a):r.create(s,a)),n=EP(),i=Object.assign(r,{graphite:co({meta:Qu(o.actualOp||"event",r,o),regional:1}),create:s=>(ko({target:r,params:s,scope:Be}),s),watch:s=>A2(r,s),map:s=>ga(r,vn,s,[dr()]),filter:s=>ga(r,"filter",s.fn?s:s.fn,[dr(qu,1)]),filterMap:s=>ga(r,"filterMap",s,[dr(),Fo((a=>!ur(a)),1)]),prepend(s){let a=Ao("* → "+r.shortName,{parent:uo(r)});return nn("eventPrepend",Gt(a)),Dn(a,r,[dr()],"prepend",s),XP(r,a),a}});return o!=null&&o.domain&&o.domain.hooks.event(i),vo(i,"id",i.graphite.id),b2(i.graphite),i}function y0(e,t,o,r){return RP(o,t,"first argument"),lo(Ft(r),"second argument should be a function"),Pr(!kt(e,"derived"),`${t} in derived store`,`${t} in store created via createStore`),_t(Array.isArray(o)?o:[o],(n=>{e.off(n),Vi(e).set(n,k2(S2(n,e,"on",MP,r)))})),e}function bn(e,t){let o=So(t),r=BP(e),n=Ao({named:"updates",derived:1});nn("storeBase",r);let i=r.id,s={subscribers:new Map,updates:n,defaultState:e,stateRef:r,getState(){let b,v=r;if(no){let g=no;for(;g&&!g.reg[i];)g=uo(g);g&&(b=g)}return!b&&Be&&(Tr(Be,r,1),b=Be),b&&(v=b.reg[i]),x2(v)},setState:b=>ko({target:s,params:b,defer:1,scope:Be}),reset:(...b)=>(_t(b,(v=>y0(s,".reset",v,(()=>s.defaultState)))),s),on:(b,v)=>y0(s,".on",b,v),off(b){let v=Vi(s).get(b);return v&&(v(),Vi(s).delete(b)),s},map(b,v){let g,p;$o(b)&&(g=b,b=b.fn),Pr(ur(v),"second argument of store.map","updateFilter");let m=s.getState();ur(m)||(p=b(m,v));let y=bn(p,{name:`${s.shortName} → *`,derived:1,and:g}),C=S2(s,y,vn,w0,b);return DP(Ui(y),{type:vn,fn:b,from:r}),Ui(y).noInit=1,nn("storeMap",r,C),y},watch(b,v){if(!v||!Gu(b)){let g=A2(s,b);return nn("storeWatch",r,b)||b(s.getState()),g}return lo(Ft(v),"second argument should be a function"),b.watch((g=>v(s.getState(),g)))}},a=Qu("store",s,o),l=s.defaultConfig.updateFilter;s.graphite=co({scope:{state:r,fn:l},node:[Fo(((b,v,g)=>(g.scope&&!g.scope.reg[r.id]&&(g.b=1),b))),HP(r),Fo(((b,v,{a:g,b:p})=>!ur(b)&&(b!==g||p)),1),l&&dr(w0,1),vs({from:Fi,target:r})],child:n,meta:{...a,defaultState:e},regional:1}),vo(s,"id",s.graphite.id),vo(s,"rootStateRefId",i);let c=kt(s,"serialize"),d=kt(s,"derived"),h=c==="ignore",f=kt(s,"sid");return f&&(vo(s,"storeChange",1),r.sid=f),f||h||d||vo(s,"warnSerialize",1),lo(d||!ur(e),"current state can't be undefined, use null instead"),Gi(s,[n]),o!=null&&o.domain&&o.domain.hooks.store(s),d||(s.reinit=Ao({named:"reinit"}),s.reset(s.reinit)),r.meta=s.graphite.meta,b2(s.graphite),s}function f2(){let e={};return e.req=new Promise(((t,o)=>{e.rs=t,e.rj=o})),e.req.catch((()=>{})),e}function bP(e,t={}){let o=So(Ft(e)?{handler:e}:e,t),r=Ao(Ft(e)?{handler:e}:e,{...t,actualOp:"effect"}),n=Gt(r);vo(n,"op",r.kind="effect"),r.use=b=>(lo(Ft(b),".use argument should be a function"),d.scope.handler=b,r),r.use.getCurrent=()=>d.scope.handler;let i=r.finally=Ao({named:"finally",derived:1}),s=r.done=i.filterMap({named:"done",fn({status:b,params:v,result:g}){if(b==="done")return{params:v,result:g}}}),a=r.fail=i.filterMap({named:"fail",fn({status:b,params:v,error:g}){if(b==="fail")return{params:v,error:g}}}),l=r.doneData=s.map({named:"doneData",fn:({result:b})=>b}),c=r.failData=a.map({named:"failData",fn:({error:b})=>b}),d=co({scope:{handler:r.defaultConfig.handler||(()=>lo(0,`no handler used in ${r.getType()}`))},node:[Fo(((b,v,g)=>{let p=v.handler,m=Io(g);if(m){let y=m.handlers.unitMap.get(r)||m.handlers.sidMap[r.sid];y&&(p=y)}return b.handler=p,b}),0,1),Fo((({params:b,req:v,handler:g,args:p=[b]},m,y)=>{let C=UP(y),A=C0(b,v,1,i,y,C),S=C0(b,v,0,i,y,C),[M,H]=FP(g,S,p);M&&($o(H)&&Ft(H.then)?H.then(A,S):A(H))}),0,1)],meta:{op:"fx",fx:"runner"}});n.scope.runner=d,Xt(n.seq,Fo(((b,{runner:v},g)=>{let p=uo(g)?{params:b,req:{rs(m){},rj(m){}}}:b;return g.meta||(g.meta={fxID:CP()}),ko({target:v,params:p,defer:1,scope:Io(g),meta:g.meta}),p.params}),0,1)),r.create=b=>{let v=f2(),g={params:b,req:v};if(Be&&!mi){let p=Be;v.req.finally((()=>{_P(p)})).catch((()=>{}))}return ko({target:r,params:g,scope:Be}),v.req};let h=r.inFlight=bn(0,{serialize:"ignore",named:(kt(r,"name")||r.graphite.id)+".inFlight"}).on(r,(b=>b+1)).on(i,(b=>b-1)).map({fn:b=>b,named:"inFlight"});vo(i,"needFxCounter","dec"),vo(r,"needFxCounter",1);let f=r.pending=h.map({fn:b=>b>0,named:"pending"});return Gi(r,[i,s,a,l,c,f,h]),o!=null&&o.domain&&o.domain.hooks.effect(r),r}function p2(e,t){let o=So({or:t,and:typeof e=="string"?{name:e}:e}),r=co({family:{type:"domain"},regional:1,parent:(o==null?void 0:o.domain)||(o==null?void 0:o.parent)}),n={history:{},graphite:r,hooks:{}};r.meta=Qu("domain",n,{parent:(o==null?void 0:o.domain)||(o==null?void 0:o.parent),or:o}),Xi({Event:Ao,Effect:bP,Store:bn,Domain:p2},((s,a)=>{let l=a.toLowerCase(),c=Ao({named:`on${a}`});n.hooks[l]=c;let d=new Set;n.history[`${l}s`]=d,c.create=h=>(ko(c,h),h),Xt(Gt(c).seq,Fo(((h,f,b)=>(b.scope=null,h)))),c.watch((h=>{Gi(n,[h]),d.add(h),h.ownerSet||(h.ownerSet=d),uo(h)||(h.parent=n)})),Gi(n,[c]),n[`onCreate${a}`]=h=>(_t(d,h),c.watch(h)),n[`create${a}`]=n[l]=(h,f)=>{let b=So({and:f,or:h});return b!=null&&b.domain?s(h,f):c(s(h,{parent:n,or:b}))}}));let i=uo(n);return i&&Xi(n.hooks,((s,a)=>Dn(s,i.hooks[a]))),o!=null&&o.domain&&o.domain.hooks.domain(n),n}function vP(e,t,o){if(yn(e))return Pr(0,"restore($store)"),e;if(h2(e)||xn(e)){let n=uo(e),i=bn(t,{parent:n,name:e.shortName,and:o});return Dn(xn(e)?e.doneData:e,i),n&&n.hooks.store(i),i}let r=Array.isArray(e)?[]:{};return Xi(e,((n,i)=>r[i]=yn(n)?n:bn(n,{name:i}))),r}function yP(e,{scope:t,safe:o}={}){lo(t||Be||o,"scopeBind cannot be called outside of forked .watch");let r=t||Be;return xn(e)?n=>{let i=f2();return ko({target:e,params:{params:n,req:i},scope:r}),i.req}:n=>(ko({target:e,params:n,scope:r}),n)}let xP=typeof Symbol<"u"&&Symbol.observable||"@@observable",vn="map",Fi="stack",Gt=e=>e.graphite||e,gs=e=>e.family.owners,ms=e=>e.family.links,Ui=e=>e.stateRef,hi=e=>e.value,Vi=e=>e.subscribers,uo=e=>e.parent,Io=e=>e.scope,kt=(e,t)=>Gt(e).meta[t],vo=(e,t,o)=>Gt(e).meta[t]=o,wP=e=>e.compositeName,Gu=e=>(Ft(e)||$o(e))&&"kind"in e;const Bn=e=>t=>Gu(t)&&t.kind===e;let yn=Bn("store"),h2=Bn("event"),xn=Bn("effect"),g2=Bn("domain"),kP=Bn("scope");var Jr={__proto__:null,unit:Gu,store:yn,event:h2,effect:xn,domain:g2,scope:kP,attached:e=>xn(e)&&kt(e,"attached")==1};let gi=(e,t)=>{let o=e.indexOf(t);o!==-1&&e.splice(o,1)},Xt=(e,t)=>e.push(t),Pr=(e,t,o)=>!e&&console.error(`${t} is deprecated${o?`, use ${o} instead`:""}`);const bs=()=>{let e=0;return()=>""+ ++e};let AP=bs(),m2=bs(),SP=bs(),CP=bs(),OP=null,b2=e=>{},EP=()=>OP,PP=e=>e,Gi=(e,t)=>{let o=Gt(e);_t(t,(r=>{let n=Gt(r);o.family.type!=="domain"&&(n.family.type="crosslink"),Xt(gs(n),o),Xt(ms(o),n)}))},Kn=(e=[])=>(Array.isArray(e)?e:[e]).flat().map(Gt),$o=e=>typeof e=="object"&&e!==null,Ft=e=>typeof e=="function",ur=e=>e===void 0,TP=e=>lo($o(e)||Ft(e),"expect first argument be an object");const x0=(e,t,o,r)=>lo(!(!$o(e)&&!Ft(e)||!("family"in e)&&!("graphite"in e)),`${t}: expect ${o} to be a unit (store, event or effect)${r}`);let RP=(e,t,o)=>{Array.isArray(e)?_t(e,((r,n)=>x0(r,t,`${n} item of ${o}`,""))):x0(e,t,o," or array of units")},w0=(e,{fn:t},{a:o})=>t(e,o),MP=(e,{fn:t},{a:o})=>t(o,e),qu=(e,{fn:t})=>t(e);const v2=(e,t,o,r)=>{let n={id:m2(),type:e,data:t};return o&&(n.order={priority:o},r&&(n.order.barrierID=++zP)),n};let zP=0,vs=({from:e="store",store:t,target:o,to:r=o?"store":Fi,batch:n,priority:i})=>v2("mov",{from:e,store:t,to:r,target:o},i,n),wn=({fn:e,batch:t,priority:o,safe:r=0,filter:n=0,pure:i=0})=>v2("compute",{fn:e,safe:r,filter:n,pure:i},o,t),Ju=({fn:e})=>wn({fn:e,priority:"effect"}),Fo=(e,t,o)=>wn({fn:e,safe:1,filter:t,priority:o&&"effect"}),HP=(e,t,o)=>vs({store:e,to:"a",priority:o,batch:1}),dr=(e=qu,t)=>wn({fn:e,pure:1,filter:t}),y2={mov:vs,compute:wn,filter:({fn:e,pure:t})=>wn({fn:e,filter:1,pure:t}),run:Ju},BP=e=>({id:m2(),current:e}),x2=({current:e})=>e,DP=(e,t)=>{e.before||(e.before=[]),Xt(e.before,t)},fr=null;const Wu=(e,t)=>{if(!e)return t;if(!t)return e;let o;return(e.v.type===t.v.type&&e.v.id>t.v.id||Oc(e.v.type)>Oc(t.v.type))&&(o=e,e=t,t=o),o=Wu(e.r,t),e.r=e.l,e.l=o,e},Yu=[];let k0=0;for(;k0<6;)Xt(Yu,{first:null,last:null,size:0}),k0+=1;const LP=()=>{for(let e=0;e<6;e++){let t=Yu[e];if(t.size>0){if(e===3||e===4){t.size-=1;let r=fr.v;return fr=Wu(fr.l,fr.r),r}t.size===1&&(t.last=null);let o=t.first;return t.first=o.r,t.size-=1,o.v}}},zo=(e,t,o,r,n,i,s)=>Cc(0,{a:null,b:null,node:o,parent:r,value:n,page:t,scope:i,meta:s},e),Cc=(e,t,o,r=0)=>{let n=Oc(o),i=Yu[n],s={v:{idx:e,stack:t,type:o,id:r},l:null,r:null};n===3||n===4?fr=Wu(fr,s):(i.size===0?i.first=s:i.last.r=s,i.last=s),i.size+=1},Oc=e=>{switch(e){case"child":return 0;case"pure":return 1;case"read":return 2;case"barrier":return 3;case"sampler":return 4;case"effect":return 5;default:return-1}},ha=new Set;let Be,$n=1,mi=0,bi=0,no=null,_P=e=>{Be=e},A0=e=>{no=e};const w2=(e,t)=>{if(e){for(;e&&!e.reg[t];)e=uo(e);if(e)return e}return null};let IP=(e,t,o,r,n)=>{let i=w2(e,r.id);return i?i.reg[r.id]:t?(Tr(t,r,n),t.reg[r.id]):r};const NP=e=>e;let Tr=(e,t,o,r,n)=>{var i;let s=e.reg,a=t.sid,l=t==null||(i=t.meta)===null||i===void 0?void 0:i.serialize,c=e.fromSerialize&&l!=="ignore"&&(l==null?void 0:l.read)||NP;if(s[t.id])return;let d={id:t.id,current:t.current,meta:t.meta};if(d.id in e.values.idMap)d.current=e.values.idMap[d.id];else if(a&&a in e.values.sidMap&&!(a in e.sidIdMap))d.current=c(e.values.sidMap[a]);else if(t.before&&!n){let h=0,f=o||!t.noInit||r;_t(t.before,(b=>{switch(b.type){case vn:{let v=b.from;if(v||b.fn){v&&Tr(e,v,o,r);let g=v&&s[v.id].current;f&&(d.current=b.fn?b.fn(g):g)}break}case"field":h||(h=1,d.current=Array.isArray(d.current)?[...d.current]:{...d.current}),Tr(e,b.from,o,r),f&&(d.current[b.field]=s[s[b.from.id].id].current)}}))}a&&(e.sidIdMap[a]=t.id),s[t.id]=d};const jP=(e,t,o)=>{try{return t(hi(o),e.scope,o)}catch(r){console.error(r),e.fail=1,e.failReason=r}};let So=(e,t={})=>($o(e)&&(So(e.or,t),Xi(e,((o,r)=>{ur(o)||r==="or"||r==="and"||(t[r]=o)})),So(e.and,t)),t);const S0=(e,t)=>{gi(e.next,t),gi(gs(e),t),gi(ms(e),t)},Ec=(e,t,o)=>{let r;e.next.length=0,e.seq.length=0,e.scope=null;let n=ms(e);for(;r=n.pop();)S0(r,e),(t||o&&kt(e,"op")!=="sample"||r.family.type==="crosslink")&&Ec(r,t,kt(r,"op")!=="on"&&o);for(n=gs(e);r=n.pop();)S0(r,e),o&&r.family.type==="crosslink"&&Ec(r,t,kt(r,"op")!=="on"&&o)},qr=e=>e.clear();let qi=(e,{deep:t}={})=>{let o=0;if(e.ownerSet&&e.ownerSet.delete(e),yn(e))qr(Vi(e));else if(g2(e)){o=1;let r=e.history;qr(r.events),qr(r.effects),qr(r.stores),qr(r.domains)}Ec(Gt(e),!!t,o)},k2=e=>{let t=()=>qi(e);return t.unsubscribe=t,t},Dn=(e,t,o,r,n)=>co({node:o,parent:e,child:t,scope:{fn:n},meta:{op:r},family:{owners:[e,t],links:t},regional:1}),A2=(e,t)=>(lo(Ft(t),".watch argument should be a function"),k2(co({scope:{fn:t},node:[Ju({fn:qu})],parent:e,meta:{op:"watch"},family:{owners:e},regional:1}))),XP=(e,t,o="event")=>{uo(e)&&uo(e).hooks[o](t)},Qu=(e,t,o)=>{let r=So(o),n=e==="domain",i=AP(),{sid:s=null,named:a=null,domain:l=null,parent:c=l}=r,d=a||r.name||(n?"":i),h=mP(d,c),f={op:t.kind=e,name:t.shortName=d,sid:t.sid=PP(s),named:a,unitId:t.id=i,serialize:r.serialize,derived:r.derived,config:r};return t.parent=c,t.compositeName=h,t.defaultConfig=r,t.thru=b=>(Pr(0,"thru","js pipe"),b(t)),t.getType=()=>h.fullName,!n&&(t.subscribe=b=>(TP(b),t.watch(Ft(b)?b:v=>b.next&&b.next(v))),t[xP]=()=>t),f};const ga=(e,t,o,r)=>{let n;$o(o)&&(n=o,o=o.fn);let i=Ao({name:`${e.shortName} → *`,derived:1,and:n});return Dn(e,i,r,t,o),i},S2=(e,t,o,r,n)=>{let i=Ui(t),s=vs({store:i,to:"a",priority:"read"});o===vn&&(s.data.softRead=1);let a=[s,dr(r)];return nn("storeOnMap",i,a,yn(e)&&Ui(e)),Dn(e,t,a,o,n)};let FP=(e,t,o)=>{try{return[1,e(...o)]}catch(r){return t(r),[0,null]}},UP=e=>{let t=Io(e),o={ref:t};return t&&Xt(t.activeEffects,o),o},C0=(e,t,o,r,n,i)=>s=>{i.ref&&gi(i.ref.activeEffects,i),ko({target:[r,VP],params:[o?{status:"done",params:e,result:s}:{status:"fail",params:e,error:s},{value:s,fn:o?t.rs:t.rj}],defer:1,page:n.page,scope:i.ref,meta:n.meta})};const VP=co({node:[Ju({fn:({fn:e,value:t})=>e(t)})],meta:{op:"fx",fx:"sidechain"}});class Ji{constructor(t){this.effectorStore=t}getState(){return this.effectorStore.getState()}watch(t){return this.effectorStore.watch(t)}map(t){const o=this.effectorStore.map(t);return new Ji(o)}getOriginalStore(){return this.effectorStore}}class GP{constructor(t){this.mappedStoreByPath=new Map,this.subscriptionsRegistry=new Set,this.rootStoreAdapter=null,this.createdEffectorStores=new Set,this.isDestroyed=!1;const o=p2();this.put=o.createEvent(),this.store=vP(this.put,t)}assertNotDestroyed(){if(this.isDestroyed)throw new Error("EffectorValue instance has been destroyed and cannot be used")}getRootStoreAdapter(){return this.assertNotDestroyed(),this.rootStoreAdapter||(this.rootStoreAdapter=new Ji(this.store)),this.rootStoreAdapter}createMappedStore(t,o){this.assertNotDestroyed();const n=(o?o.getOriginalStore():this.store).map(t);return this.createdEffectorStores.add(n),new Ji(n)}getNestedValue(t){return this.assertNotDestroyed(),pP(this.store.getState(),t)}setNestedValue(t,o){if(this.assertNotDestroyed(),vr(t),t.length===0){this.put(o);return}const r=this.store.getState();if(typeof r!="object"||r===null)throw new Error("Cannot set nested value: current state is not an object");const n=hP(r,t,o);this.put(n)}subscribe(t,o){this.assertNotDestroyed();let r;o?Array.isArray(o)?(vr(o),r=this.getStore(o)):r=o:r=this.getRootStoreAdapter();const n=r.watch(t);return this.subscriptionsRegistry.add(n),()=>{n(),this.subscriptionsRegistry.delete(n)}}get(){return this.assertNotDestroyed(),this.store.getState()}set(t){return this.assertNotDestroyed(),this.put(t),this.get()}getStore(t=[]){if(this.assertNotDestroyed(),vr(t),t.length===0)return this.getRootStoreAdapter();const o=t.join("."),r=this.mappedStoreByPath.get(o);if(r)return r;const n=this.createMappedStore(i=>{let s=i;for(const a of t){if(s==null||typeof s!="object")return;s=s[a]}return s});return this.mappedStoreByPath.set(o,n),n}destroy(){this.isDestroyed||(this.subscriptionsRegistry.forEach(t=>t()),this.subscriptionsRegistry.clear(),this.createdEffectorStores.forEach(t=>{try{qi(t)}catch(o){console.warn("Failed to clear Effector store:",o)}}),this.createdEffectorStores.clear(),this.mappedStoreByPath.clear(),this.rootStoreAdapter=null,this.isDestroyed=!0)}isDisposed(){return this.isDestroyed}}const Wi={builtIn(e){if(e==null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null)return!1;const o=t.constructor.name;return!!(["Error","Date","RegExp","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","WeakMap","WeakSet","ArrayBuffer","DataView","Date","RegExp","Map","Set","Function","Promise"].includes(o)||typeof e=="function"||e instanceof Error||e instanceof Date||e instanceof RegExp)},object(e){return typeof e=="object"&&e!==null},primitive(e){return e!==Object(e)},reactiveValue(e){return!e||typeof e!="object"||this.builtIn(e)?!1:e[d2]===ji}};function qP(e,t,o,r){const{propertyProxyCache:n}=r;let i=n.get(e);if(i||(i=new Map,n.set(e,i)),i.has(t))return i.get(t);const{isMapped:s}=o,a=s?JP(t,o,r):WP(t,o,r);return i.set(t,a),a}function JP(e,t,o){const{mappedStoreById:r,providerValue:n,createNestedValue:i}=o,{mapperId:s}=t,a=r.get(s);if(!a)throw new Error(`Source mapped store with id ${s} not found for key "${e}"`);const l=h=>Wi.object(h)&&Object.prototype.hasOwnProperty.call(h,e)?h[e]:void 0,c=n.createMappedStore(l,a),d=`${s}_prop_${e}`;return r.set(d,c),i({getStore:()=>c,isMapped:!0,mapperId:d,path:[]})}function WP(e,t,o){const{providerValue:r,createNestedValue:n}=o,i=[...t.path,e];return n({getStore:()=>r.getStore(i),isMapped:!1,path:i})}let YP=0;function QP(){return`__mapped_${Date.now()}_${++YP}_${Math.random().toString(36).substring(2,9)}`}function Pc(e){if(e===void 0)throw new Error("Initial value cannot be undefined");const t=new GP(e),o=new Map,r=new WeakMap;let n=!1;function i(){if(n)throw new Error("ReactiveValue has been destroyed and cannot be used")}function s(l){i();const c=new WeakMap,{path:d,isMapped:h,mapperId:f}=l;h||vr(d);const b={[ji]:{getContext:()=>l},[d2]:ji,destroy(){},get:()=>{i();try{if(h){const g=o.get(f);if(!g)throw new Error(`Mapped store with id ${f} not found`);return g.getState()}return t.getNestedValue(d)}catch(g){const p=h?`mapped store ${f}`:`path [${d.join(".")}]`;throw new Error(`Failed to get value from ${p}: ${g instanceof Error?g.message:String(g)}`)}},map:g=>{if(i(),typeof g!="function")throw new Error("Mapper must be a function");if(c.has(g))return c.get(g);try{const p=QP(),m=h?o.get(f):t.getStore(d);if(!m){const A=h?`mapped store ${f}`:`path [${d.join(".")}]`;throw new Error(`Source store not found for ${A}`)}const y=t.createMappedStore(g,m);o.set(p,y);const C=s({getStore:()=>{const A=o.get(p);if(!A)throw new Error(`Mapped store with id ${p} not found`);return A},isMapped:!0,mapperId:p,path:[]});return c.set(g,C),C}catch(p){throw new Error(`Failed to create mapped value: ${p instanceof Error?p.message:String(p)}`)}},set:g=>{if(i(),h)throw new Error("Cannot set value on mapped reactive value");try{return t.setNestedValue(d,g),t.getNestedValue(d)}catch(p){throw new Error(`Failed to set value at path [${d.join(".")}]: ${p instanceof Error?p.message:String(p)}`)}},subscribe:g=>{if(i(),typeof g!="function")throw new Error("Callback must be a function");try{if(h){const p=o.get(f);if(!p)throw new Error(`Mapped store with id ${f} not found`);return t.subscribe(g,p)}return t.subscribe(g,d)}catch(p){const m=h?`mapped store ${f}`:`path [${d.join(".")}]`;throw new Error(`Failed to subscribe to ${m}: ${p instanceof Error?p.message:String(p)}`)}}};let v;try{v=b.get()}catch(g){return console.warn("Failed to get current value for creating dynamic properties:",g),b}return Wi.object(v)&&Object.keys(v).forEach(g=>{Object.defineProperty(b,g,{configurable:!0,enumerable:!0,get:()=>{i();const p=r.get(v);return p!=null&&p.has(g)?p.get(g):qP(v,g,l,{createNestedValue:s,mappedStoreById:o,propertyProxyCache:r,providerValue:t})}})}),b}const a=s({getStore:l=>{i();const c=l!==void 0?l:[];return t.getStore(c)},isMapped:!1,path:[]});return Object.defineProperty(a,"destroy",{configurable:!1,enumerable:!1,value:()=>{n||(n=!0,o.clear(),t.destroy())},writable:!1}),a}function ZP(e,t,o,r,n){const i=Ke({hasValue:!1}),s=Ut(()=>{let l=null;function c(d){if(l!==null&&Object.is(l.snapshot,d))return l.selection;const h=r(d),f=l===null?i.current:{hasValue:!0,value:l.selection},b=n!==void 0&&f.hasValue&&n(f.value,h)?f.value:h;return l={selection:b,snapshot:d},b}return()=>c(t())},[t,n,r]),a=Sn(e,s);return Ie(()=>{i.current={hasValue:!0,value:a}},[a]),Qi(a),a}const C2={useSyncExternalStore:Sn,useSyncExternalStoreWithSelector:ZP};function O2(e,t,o,r){let n=[y2.run({fn:i=>t(i)})];if(r&&n.unshift(r),o){let i=co({node:n}),s=e.graphite.id,a=o.additionalLinks,l=a[s]||[];return a[s]=l,l.push(i),()=>{let c=l.indexOf(i);c!==-1&&l.splice(c,1),qi(i)}}{let i=co({node:n,parent:[e],family:{owners:e}});return()=>{qi(i)}}}function KP(e,t){let o=Jr.unit(e),r={};o?r={unit:e}:"@@unitShape"in e?typeof e["@@unitShape"]=="function"?r=e["@@unitShape"]():yr("expect @@unitShape to be a function"):r=e;let n=Array.isArray(r),i=Me.useRef({stale:1,justSubscribed:0,scope:t}),[s,a,l]=Me.useMemo((()=>{i.current.stale=1;let f=Array.isArray(r)?[]:{},b=[],v=[];for(let g in r){let p=r[g];Jr.unit(p)||yr("expect useUnit argument to be a unit"),Jr.event(p)||Jr.effect(p)?f[g]=t?yP(p,{scope:t}):p:(f[g]=null,b.push(g),v.push(p))}return[f,b,v]}),[i,t,...Object.keys(r),...Object.values(r)]),c=Me.useRef({value:s,storeKeys:a}),d=Me.useCallback((f=>{let b=i.current;b.justSubscribed=1;let v=()=>{b.stale||(b.stale=1,f())},g=y2.compute({priority:"sampler",batch:1}),p=l.map((m=>O2(m,v,t,g)));return()=>{p.forEach((m=>m()))}}),[l,t,c,i]),h=Me.useCallback((()=>{let f,b=c.current,v=i.current,g=0,p=b.value,m=b.storeKeys,y=t!==v.scope;if(v.stale||v.justSubscribed||y){g=!v.justSubscribed||y,f=n?[...s]:{...s},m.length!==a.length&&(g=1);for(let C=0;C<a.length;C++){let A=P2(l[C],t),S=a[C];g||(g=m.includes(S)?p[S]!==A:1),f[S]=A}}return g&&(b.value=f),b.storeKeys=a,v.stale=0,v.justSubscribed=!g,v.scope=t,o?b.value.unit:b.value}),[d,l,t,c,i]);return oT(d,h,h)}function $P([e,t],o){let r,n,i,s,a=O0;t?(r=t,i=e,s=[]):{fn:r,store:i,keys:s,defaultValue:n,updateFilter:a=O0}=e,Jr.store(i)||yr("useStoreMap expects a store"),Array.isArray(s)||yr("useStoreMap expects an array as keys"),typeof r!="function"&&yr("useStoreMap expects a function");let l=Me.useCallback((b=>O2(i,b,o)),[i,o]),c=Me.useCallback((()=>P2(i,o)),[i,o]),d=Me.useRef(),h=Me.useRef(),f=Me.useRef(s);return rT(l,c,c,(b=>{if(d.current!==b||!((v,g)=>{if(!v||!g||v.length!==g.length)return 0;let p=1;for(let m=0;m<v.length;m++)if(v[m]!==g[m]){p=0;break}return p})(f.current,s)){let v=r(b,s);v===void 0&&n!==void 0&&(v=n),d.current=b,f.current=s,v!==void 0&&(h.current=v)}return h.current}),((b,v)=>!a(v,b)))}function E2(e){let t=Me.useContext(T2);return e&&!t&&yr("No scope found, consider adding <Provider> to app root"),t}function eT(e,t){return KP(e,E2(void 0))}function tT(e,t){return $P([e,t],E2(e==null?void 0:e.forceScope))}let yr=e=>{throw Error(e)};typeof window<"u"?Me.useLayoutEffect:Me.useEffect;const{useSyncExternalStore:oT}=C2,{useSyncExternalStoreWithSelector:rT}=C2,P2=(e,t)=>t?t.getState(e):e.getState(),O0=(e,t)=>e!==t,T2=Me.createContext(null);let{Provider:KT}=T2;class Bo{constructor(t,o){if(this.params=o,this.autoDestroyEnabled=!1,this.isDestroyed=!1,this.reject=Promise.reject,this.resolve=Promise.resolve,!Wi.reactiveValue(t))throw new Error("Invalid state provided to ViewModel. Use createReactiveValue helper.");this.state=Bo.extendReactiveValue(t),this.deferred=Bo.extendReactiveValue(Pc({reject:this.reject,resolve:this.resolve})),this.use=this.deferred.use}wait(){const{resolve:t,reject:o,promise:r}=Promise.withResolvers();return this.deferred.set({reject:o,resolve:t}),this.reject=o,this.resolve=t,r}static effect(t){const o=new Bo(Pc({pending:!1}));async function r(n){return o.state.pending.set(!0),t(n).finally(()=>o.state.pending.set(!1))}return r.pending=o.state.pending,r}enableAutoDestroy(){this.autoDestroyEnabled=!0}disableAutoDestroy(){this.autoDestroyEnabled=!1}useAutoDestroy(){Ie(()=>()=>{this.autoDestroyEnabled&&this.destroy()},[this,this.autoDestroyEnabled])}toJSON(){return this.state.get()}destroy(){this.isDestroyed||(this.params&&this.params.onDestroy&&typeof this.params.onDestroy=="function"&&this.params.onDestroy(),this.state.destroy(),this.deferred.destroy(),this.isDestroyed=!0)}static extendReactiveValue(t,o=[]){return new Proxy(t,{get(r,n,i){if(n==="use")return a=>{const d=r[ji].getContext().getStore(o).getOriginalStore();return Array.isArray(a)?tT({fn:h=>h,keys:a,store:d}):eT(d)};if(n==="signal"){const a=()=>{const l=i.use(),d=(h=>h===null||typeof h!="object"&&typeof h!="function")(l)?l:String(l);return P(ue,null,d)};return a.displayName=`ViewModel.signal(${o.join(".")||"root"})`,P(a)}if(n==="map")return a=>{const l=r.map(a);return Bo.extendReactiveValue(l,[])};const s=r[n];if(Wi.reactiveValue(s))return Bo.extendReactiveValue(s,[...o,n]);if(typeof s=="function"){const a=Object.getOwnPropertyDescriptor(r,n);return a&&!a.configurable?s:s.bind(r)}return s}})}}function nT(){return Pc({contacts:{},externalReviewsPageAvailable:!1,loading:!0,mainMenu:[],menuOpen:!1,oneClickItems:[],pathname:"",profileMenuOpen:!1,pupilSelectMenuOpen:!1,pupils:[],sectionsOpen:!1,segments:[],user:Cn,viewingAsPupil:!1})}const ei={menuOpen:!1,profileMenuOpen:!1,pupilSelectMenuOpen:!1,sectionsOpen:!1};class iT extends Bo{constructor(t,o){super(nT()),this.dataSource=t,this.onSessionError=o,this.userRevision=0,this.pupilsRequested=!1}setUser(t){this.userRevision+=1,this.state.user.set(t)}loadedUser(t,o){return t===this.userRevision?o:this.state.user.get()}setPathname(t){t!==this.state.pathname.get()&&this.state.set({...this.state.get(),...ei,pathname:t})}async load(){var i,s,a;const t=this.userRevision,[o,r,n]=await Promise.all([this.dataSource.getUser(),this.dataSource.getMenuStructure(),this.dataSource.getAppOptions()]);this.state.set({...this.state.get(),contacts:n.contacts,externalReviewsPageAvailable:n.externalReviewsPageAvailable,loading:!1,mainMenu:r.mainMenu,oneClickItems:r.oneClickItems,segments:r.segments,user:this.loadedUser(t,o),viewingAsPupil:(a=(s=(i=this.dataSource).isViewingAsPupil)==null?void 0:s.call(i))!=null?a:!1})}async loadWithoutMenu(){const t=this.userRevision,[o,r]=await Promise.all([this.dataSource.getUser(),this.dataSource.getAppOptions()]);this.state.set({...this.state.get(),contacts:r.contacts,externalReviewsPageAvailable:r.externalReviewsPageAvailable,loading:!1,user:this.loadedUser(t,o)})}toggleMenu(){this.state.set({...this.state.get(),...ei,menuOpen:!this.state.menuOpen.get()})}toggleProfileMenu(){if(this.state.profileMenuOpen.get()){this.closeProfileMenu();return}this.openProfileMenu()}openProfileMenu(){this.state.set({...this.state.get(),...ei,profileMenuOpen:!0}),this.state.user.get().isParent&&this.loadPupils()}loadPupils(){this.pupilsRequested||this.state.user.get().id===null||(this.pupilsRequested=!0,this.dataSource.getPupils().then(t=>this.state.pupils.set(t)))}toggleSections(){if(this.state.sectionsOpen.get()){this.closeSections();return}this.state.set({...this.state.get(),...ei,sectionsOpen:!0})}closeSections(){this.state.sectionsOpen.set(!1)}closeProfileMenu(){this.state.set({...this.state.get(),profileMenuOpen:!1,pupilSelectMenuOpen:!1})}openPupilSelectMenu(){this.state.set({...this.state.get(),menuOpen:!1,profileMenuOpen:!1,pupilSelectMenuOpen:!0,sectionsOpen:!1}),this.loadPupils()}closePupilSelectMenu(){this.state.set({...this.state.get(),profileMenuOpen:!0,pupilSelectMenuOpen:!1})}async selectPupil(t){await this.performSessionAction(()=>this.dataSource.signInAsPupil(t))}async signOutFromPupil(){await this.performSessionAction(async()=>{var t,o;return(o=(t=this.dataSource).signOutFromPupil)==null?void 0:o.call(t)})}async logout(){await this.performSessionAction(()=>this.dataSource.logout())&&!this.isDestroyed&&(this.setUser(Cn),this.pupilsRequested=!1,this.state.pupils.set([]),this.state.viewingAsPupil.set(!1))}async performSessionAction(t){try{return await t(),!0}catch(o){if(!this.onSessionError)throw o;return this.onSessionError(o),!1}}async hideSupportButtonIndicator(){const t=this.state.user.get();this.state.user.set({...t,settings:{...t.settings,supportButtonIndicatorHidden:!0}});try{await this.dataSource.hideSupportButtonIndicator()}catch{}}}const ma=Symbol.for("foxford.navigation.session.v1");function Zu(){var t;if(typeof window>"u")return;const e=window;return(t=e[ma])!=null?t:e[ma]={busy:!1,listeners:new Set}}function $T(e){const t=Zu();return t==null||t.listeners.add(e),()=>t==null?void 0:t.listeners.delete(e)}function ba(e){var t,o;for(const r of(o=(t=Zu())==null?void 0:t.listeners)!=null?o:[])try{r(e)}catch(n){console.error("[navigation] session listener:",n)}}function sT(){const e=Zu();if(!(!e||e.busy))return e.busy=!0,()=>{e.busy=!1}}function R2(e){return new YE(e,new JE(e,"foxford:navigation:app-options"))}async function E0(e,t,o){try{const{data:r}=await e.get(t);return r!=null?r:o}catch{return o}}function aT(e,t,o){const r=R2(e);return{async getAppOptions(){var i;const n=await(t==null?void 0:t());return(i=n==null?void 0:n.appOptions)!=null?i:{contacts:{},externalReviewsPageAvailable:!1}},async getMenuStructure(){var i,s,a;const n=await E0(e,"/api/menu/items",{});return{mainMenu:((i=n.mainMenu)!=null?i:[]).map(ab),oneClickItems:((s=n.oneClickMenuItems)!=null?s:[]).map(l=>({contextOfUse:l.contextOfUse,exact:l.exact,id:String(l.id),title:l.title,url:l.url})),segments:((a=n.menu)!=null?a:[]).map(lb)}},async getPupils(){return(await E0(e,"/api/parent/pupils",[])).map(i=>{var s,a,l,c;return{avatarUrl:(s=i.avatarUrl)!=null?s:"",firstName:(a=i.firstName)!=null?a:"",grade:(l=i.grade)!=null?l:"",id:i.id,lastName:(c=i.lastName)!=null?c:""}})},async getUser(){const n=await(t==null?void 0:t());if(n!==void 0)return o==null||o(!0),n.user.toDto();try{const i=Vc((await e.get("/api/user/me")).data);return o==null||o(!0),i}catch{return o==null||o(!1),Cn}},async hideSupportButtonIndicator(){await e.patch("/api/user/settings",{settings:{support_button_indicator_hidden:!0}})},isViewingAsPupil(){return typeof document<"u"&&/(?:^|;\s*)parent_id=/.test(document.cookie)},async logout(){await r.signOut(!1)},async signInAsPupil(n){await r.signInAsPupil(n)},async signOutFromPupil(){await r.signOutFromPupil()}}}function lT(e,t){let o;return aT(e,()=>{const r=globalThis.app_options;return r!==void 0?cg(r):o!=null?o:o=cT(e)},t)}async function cT(e){try{const{data:t}=await e.get("/api/app_options",{camelize:!1});return t==null?void 0:cg(t)}catch{return}}class ti extends Error{}const uT={logout:"Не удалось выйти из учётной записи. Попробуйте ещё раз.",signInAsPupil:"Не удалось войти в аккаунт ученика. Попробуйте ещё раз.",signOutFromPupil:"Не удалось вернуться в аккаунт родителя. Попробуйте ещё раз."};function dT(e,t){let o=!1,r;return as(async()=>{const{showAccountSwitchProgress:n}=await import("./account-switch-progress-GiIaevTd.js");return{showAccountSwitchProgress:n}},[]).then(({showAccountSwitchProgress:n})=>{o||(r=n(e,t))}).catch(n=>console.error("[navigation] account switch progress:",n)),()=>{o||(o=!0,r==null||r())}}function fT(e,t=()=>({})){const o=ZE(e);let r=!1;const n=lT(o,m=>{r=m}),i=R2(o);let s=!1,a,l,c,d,h="logout",f=0;const b=m=>{if(s||m instanceof ti)return;const y=++f,C=uT[h],A=t().onError;try{A?A(m):console.error("[navigation] session:",m)}catch(S){console.error("[navigation] session error handler:",S)}as(async()=>{const{showSessionError:S}=await import("./session-error-CRJlOjG2.js");return{showSessionError:S}},[]).then(({showSessionError:S})=>{!s&&y===f&&(d==null||d(),d=S(C))}).catch(S=>console.error("[navigation] session notice:",S))};async function v(m,y){if(s)throw new ti;const C=sT();if(!C)throw new ti;h=m,f+=1,d==null||d(),ba({action:m,phase:"start"});try{const A=await y();ba({action:m,phase:"success"}),A()}catch(A){throw A instanceof ti||ba({action:m,error:A,phase:"error"}),A}finally{c==null||c(),c=void 0,C()}}function g(m){window.location.assign(new URL(m,e||window.location.origin).href)}const p=new iT({...n,logout:()=>v("logout",async()=>{var C,A;await i.signOut(!1);try{(C=Fu())==null||C.removeItem("foxfordSessionId")}catch{}Sc(null),await Gr.postMessage("refresh");const m=new URL(e||window.location.origin,window.location.href).origin,y=(A=t().logoutBehavior)!=null?A:m===window.location.origin?"login":"reload";return()=>{y==="reload"?window.location.reload():g(`/user/login?redirect_url=${encodeURIComponent(window.location.pathname+window.location.search)}`)}}),signInAsPupil:m=>v("signInAsPupil",async()=>{const y=p.state.get(),C=y.pupils.find(S=>S.id===m);C&&(c=dT({...y.user,role:Tt.fromApi(y.user).getRole()},{...C,role:C.grade}));const A=await i.signInAsPupil(m);return Sc(m),await Gr.postMessage("refresh"),()=>g(A.redirectUrl)}),signOutFromPupil:()=>v("signOutFromPupil",async()=>{const m=await i.signOutFromPupil();return()=>g(m.redirectUrl)})},b);return{connect(m){if(s||typeof window>"u")return;if(a){m!==void 0&&Gr.syncUser(m);return}a=Gr.connect(m);let y;const C=()=>{const A=p.state.get();r&&!A.loading&&y!==A.user.id&&(y=A.user.id,Gr.syncUser(y))};l=p.state.subscribe(C),C()},destroy(){s=!0,c==null||c(),d==null||d(),l==null||l(),a==null||a(),p.destroy()},vm:p}}const M2="data-fox-nav-slot";function pT(e,t){const o=r=>{r&&r.firstChild!==t&&(r.textContent="",r.append(t))};return P("div",{[M2]:"",key:e,ref:o,style:{display:"contents"}})}function P0(e){const o=Object.entries(e!=null?e:{}).flatMap(([r,n])=>n?[[r,pT(r,n)]]:[]);return e&&Object.fromEntries(o)}function eR(e){e={...e},e.fonts!==!1&&db(),QE();const t=fT(e.apiOrigin,()=>e),{vm:o}=t;t.connect();let r=!1;const n=v=>{r||(e.onError?e.onError(v):console.error("[navigation]",v))};o.setPathname(window.location.pathname),o.load().catch(n);const i=(v,g)=>{var p;r||(lP(v,o.state.get().user),(p=e.onInteraction)==null||p.call(e,v,g))},s=new Date().getFullYear(),a=[],l=[];if(e.header){const v=bd(e.header),g=()=>{var p,m;return v.render(u(pA,{cobranding:e.cobranding,contextOfUse:e.contextOfUse,externatFreeAccessLink:e.externatFreeAccessLink,hasOneClickMenu:e.hasOneClickMenu,hideOnboardingButton:e.hideOnboardingButton,landmarks:e.landmarks,layout:e.layout,onInteraction:i,origin:(p=e.origin)!=null?p:e.apiOrigin,showExternatButtons:e.showExternatButtons,slots:P0((m=e.slots)==null?void 0:m.header),supportPhone:e.supportPhone,vm:o}))};a.push(v),l.push(g)}if(e.footer){const v=bd(e.footer),g=()=>{var p,m;return v.render(u($9,{cobranding:e.cobranding,currentYear:s,forceGeoposition:e.forceGeoposition,landmarks:e.landmarks,origin:(p=e.origin)!=null?p:e.apiOrigin,onInteraction:i,slots:P0((m=e.slots)==null?void 0:m.footer),structuredData:e.structuredData,vm:o}))};a.push(v),l.push(g)}const c=()=>{for(const v of l)try{v()}catch(g){n(g)}};c();const d=v=>{const g=v.target instanceof Element?v.target.closest("a[href]"):null;e.onNavigate&&g instanceof HTMLAnchorElement&&g.closest(`[${M2}]`)===null&&e.onNavigate(g.href,v)},h=[e.header,e.footer];for(const v of h)v==null||v.addEventListener("click",d);let f={menuOpen:!1,profileMenuOpen:!1};const b=o.state.subscribe(({menuOpen:v,profileMenuOpen:g})=>{var p;(v!==f.menuOpen||g!==f.profileMenuOpen)&&(f={menuOpen:v,profileMenuOpen:g},(p=e.onStateChange)==null||p.call(e,f))});return{fontsReady:fb,setPathname:v=>o.setPathname(v),setUser:v=>o.setUser({...Cn,...Vc(v)}),unmount(){r=!0,b();for(const v of h)v==null||v.removeEventListener("click",d);for(const v of a)v.unmount();t.destroy()},update(v){Object.assign(e,v),c()}}}export{K0 as $,ou as A,tt as B,MT as C,TT as D,Co as E,Fc as F,vt as G,Hc as H,_e as I,gT as J,xt as K,J0 as L,Gr as LogoutChannel,fo as M,RT as N,Am as NAV_LAYOUT,xT as NAV_SELECTOR_IDS,AT as O,ST as P,Kt as Q,R,HT as S,OT as T,is as U,jt as V,ro as W,On as X,Oo as Y,ye as Z,lt as _,PT as a,g3 as a0,cn as a1,$t as a2,ee as a3,wo as a4,Yx as a5,rs as a6,mT as a7,me as a8,Sr as a9,zg as aa,Zi as ab,yT as ac,q as ad,zp as ae,hb as af,Mr as ag,Hg as ah,Lt as ai,Zo as aj,Bg as ak,CT as b,ET as c,zT as d,ls as e,bd as f,cu as g,wT as getNavigationInsets,re as h,Ke as i,Vt as j,$ as k,xe as l,ue as m,eR as mount,x6 as n,Gg as o,Ie as p,k as q,pv as r,xo as s,kT as subscribeNavigationInsets,$T as subscribeSessionEvents,Ut as t,u,P as v,lu as w,bT as x,Yi as y,q0 as z};
|
|
1196
|
+
`).map(o=>JSON.parse(o))}}const pO={token:"",getToken:null,data:null,getData:null,debug:!1,name:"js",version:"",fetch:null,readableStream:null,websocket:null,eventsource:null,sockjs:null,sockjsOptions:{},emulationEndpoint:"/emulation",minReconnectDelay:500,maxReconnectDelay:2e4,timeout:5e3,maxServerPingDelay:1e4,networkEventTarget:null};class jo extends Error{constructor(t){super(t),this.name=this.constructor.name}}class Lu extends q1{constructor(t,o){super(),this._reconnectTimeout=null,this._refreshTimeout=null,this._serverPingTimeout=null,this.state=Qe.Disconnected,this._transportIsOpen=!1,this._endpoint=t,this._emulation=!1,this._transports=[],this._currentTransportIndex=0,this._triedAllTransports=!1,this._transportWasOpen=!1,this._transport=null,this._transportId=0,this._deviceWentOffline=!1,this._transportClosed=!0,this._codec=new o0,this._reconnecting=!1,this._reconnectTimeout=null,this._reconnectAttempts=0,this._client=null,this._session="",this._node="",this._subs={},this._serverSubs={},this._commandId=0,this._commands=[],this._batching=!1,this._refreshRequired=!1,this._refreshTimeout=null,this._callbacks={},this._token="",this._data=null,this._dispatchPromise=Promise.resolve(),this._serverPing=0,this._serverPingTimeout=null,this._sendPong=!1,this._promises={},this._promiseId=0,this._debugEnabled=!1,this._networkEventsSet=!1,this._config=Object.assign(Object.assign({},pO),o),this._configure(),this._debugEnabled?(this.on("state",r=>{this._debug("client state",r.oldState,"->",r.newState)}),this.on("error",r=>{this._debug("client error",r)})):this.on("error",function(){Function.prototype()})}newSubscription(t,o){if(this.getSubscription(t)!==null)throw new Error("Subscription to the channel "+t+" already exists");const r=new lO(this,t,o);return this._subs[t]=r,r}getSubscription(t){return this._getSub(t)}removeSubscription(t){t&&(t.state!==ht.Unsubscribed&&t.unsubscribe(),this._removeSubscription(t))}subscriptions(){return this._subs}ready(t){return this.state===Qe.Disconnected?Promise.reject({code:je.clientDisconnected,message:"client disconnected"}):this.state===Qe.Connected?Promise.resolve():new Promise((o,r)=>{const n={resolve:o,reject:r};t&&(n.timeout=setTimeout(function(){r({code:je.timeout,message:"timeout"})},t)),this._promises[this._nextPromiseId()]=n})}connect(){if(this._isConnected()){this._debug("connect called when already connected");return}if(this._isConnecting()){this._debug("connect called when already connecting");return}this._debug("connect called"),this._reconnectAttempts=0,this._startConnecting()}disconnect(){this._disconnect(on.disconnectCalled,"disconnect called",!1)}setToken(t){this._token=t}send(t){const o={send:{data:t}},r=this;return this._methodCall().then(function(){return r._transportSendCommands([o])?Promise.resolve():Promise.reject(r._createErrorObject(je.transportWriteError,"transport write error"))})}rpc(t,o){const r={rpc:{method:t,data:o}},n=this;return this._methodCall().then(function(){return n._callPromise(r,function(i){return{data:i.rpc.data}})})}publish(t,o){const r={publish:{channel:t,data:o}},n=this;return this._methodCall().then(function(){return n._callPromise(r,function(){return{}})})}history(t,o){const r={history:this._getHistoryRequest(t,o)},n=this;return this._methodCall().then(function(){return n._callPromise(r,function(i){const s=i.history,a=[];if(s.publications)for(let l=0;l<s.publications.length;l++)a.push(n._getPublicationContext(t,s.publications[l]));return{publications:a,epoch:s.epoch||"",offset:s.offset||0}})})}presence(t){const o={presence:{channel:t}},r=this;return this._methodCall().then(function(){return r._callPromise(o,function(n){const i=n.presence.presence;for(const s in i)if(i.hasOwnProperty(s)){const a=i[s].conn_info,l=i[s].chan_info;a&&(i[s].connInfo=a),l&&(i[s].chanInfo=l)}return{clients:i}})})}presenceStats(t){const o={presence_stats:{channel:t}},r=this;return this._methodCall().then(function(){return r._callPromise(o,function(n){const i=n.presence_stats;return{numUsers:i.num_users,numClients:i.num_clients}})})}startBatching(){this._batching=!0}stopBatching(){const t=this;Promise.resolve().then(function(){Promise.resolve().then(function(){t._batching=!1,t._flush()})})}_debug(...t){this._debugEnabled&&iO("debug",t)}_formatOverride(){}_configure(){if(!("Promise"in globalThis))throw new Error("Promise polyfill required");if(!this._endpoint)throw new Error("endpoint configuration required");if(this._config.token!==null&&(this._token=this._config.token),this._config.data!==null&&(this._data=this._config.data),this._codec=new o0,this._formatOverride(),(this._config.debug===!0||typeof localStorage<"u"&&localStorage.getItem("centrifuge.debug"))&&(this._debugEnabled=!0),this._debug("config",this._config),typeof this._endpoint!="string")if(typeof this._endpoint=="object"&&this._endpoint instanceof Array){this._transports=this._endpoint,this._emulation=!0;for(const t in this._transports)if(this._transports.hasOwnProperty(t)){const o=this._transports[t];if(!o.endpoint||!o.transport)throw new Error("malformed transport configuration");const r=o.transport;if(["websocket","http_stream","sse","sockjs","webtransport"].indexOf(r)<0)throw new Error("unsupported transport name: "+r)}}else throw new Error("unsupported url configuration type: only string or array of objects are supported")}_setState(t){if(this.state!==t){this._reconnecting=!1;const o=this.state;return this.state=t,this.emit("state",{newState:t,oldState:o}),!0}return!1}_isDisconnected(){return this.state===Qe.Disconnected}_isConnecting(){return this.state===Qe.Connecting}_isConnected(){return this.state===Qe.Connected}_nextCommandId(){return++this._commandId}_setNetworkEvents(){if(this._networkEventsSet)return;let t=null;this._config.networkEventTarget!==null?t=this._config.networkEventTarget:typeof globalThis.addEventListener<"u"&&(t=globalThis),t&&(t.addEventListener("offline",()=>{this._debug("offline event triggered"),(this.state===Qe.Connected||this.state===Qe.Connecting)&&(this._disconnect(bo.transportClosed,"transport closed",!0),this._deviceWentOffline=!0)}),t.addEventListener("online",()=>{this._debug("online event triggered"),this.state===Qe.Connecting&&(this._deviceWentOffline&&!this._transportClosed&&(this._deviceWentOffline=!1,this._transportClosed=!0),this._clearReconnectTimeout(),this._startReconnecting())}),this._networkEventsSet=!0)}_getReconnectDelay(){const t=_i(this._reconnectAttempts,this._config.minReconnectDelay,this._config.maxReconnectDelay);return this._reconnectAttempts+=1,t}_clearOutgoingRequests(){for(const t in this._callbacks)if(this._callbacks.hasOwnProperty(t)){const o=this._callbacks[t];clearTimeout(o.timeout);const r=o.errback;if(!r)continue;r({error:this._createErrorObject(je.connectionClosed,"connection closed")})}this._callbacks={}}_clearConnectedState(){this._client=null,this._clearServerPingTimeout(),this._clearRefreshTimeout();for(const t in this._subs){if(!this._subs.hasOwnProperty(t))continue;const o=this._subs[t];o.state===ht.Subscribed&&o._setSubscribing(Di.transportClosed,"transport closed")}for(const t in this._serverSubs)this._serverSubs.hasOwnProperty(t)&&this.emit("subscribing",{channel:t})}_handleWriteError(t){for(const o of t){const r=o.id;if(!(r in this._callbacks))continue;const n=this._callbacks[r];clearTimeout(this._callbacks[r].timeout),delete this._callbacks[r];const i=n.errback;i({error:this._createErrorObject(je.transportWriteError,"transport write error")})}}_transportSendCommands(t){if(!t.length)return!0;if(!this._transport)return!1;try{this._transport.send(this._codec.encodeCommands(t),this._session,this._node)}catch(o){return this._debug("error writing commands",o),this._handleWriteError(t),!1}return!0}_initializeTransport(){let t;this._config.websocket!==null?t=this._config.websocket:typeof globalThis.WebSocket!="function"&&typeof globalThis.WebSocket!="object"||(t=globalThis.WebSocket);let o=null;this._config.sockjs!==null?o=this._config.sockjs:typeof globalThis.SockJS<"u"&&(o=globalThis.SockJS);let r=null;this._config.eventsource!==null?r=this._config.eventsource:typeof globalThis.EventSource<"u"&&(r=globalThis.EventSource);let n=null;this._config.fetch!==null?n=this._config.fetch:typeof globalThis.fetch<"u"&&(n=globalThis.fetch);let i=null;if(this._config.readableStream!==null?i=this._config.readableStream:typeof globalThis.ReadableStream<"u"&&(i=globalThis.ReadableStream),this._emulation){this._currentTransportIndex>=this._transports.length&&(this._triedAllTransports=!0,this._currentTransportIndex=0);let b=0;for(;;){if(b>=this._transports.length)throw new Error("no supported transport found");const v=this._transports[this._currentTransportIndex],p=v.transport,h=v.endpoint;if(p==="websocket"){if(this._debug("trying websocket transport"),this._transport=new t0(h,{websocket:t}),!this._transport.supported()){this._debug("websocket transport not available"),this._currentTransportIndex++,b++;continue}}else if(p==="webtransport"){if(this._debug("trying webtransport transport"),this._transport=new fO(h,{webtransport:globalThis.WebTransport,decoder:this._codec,encoder:this._codec}),!this._transport.supported()){this._debug("webtransport transport not available"),this._currentTransportIndex++,b++;continue}}else if(p==="http_stream"){if(this._debug("trying http_stream transport"),this._transport=new uO(h,{fetch:n,readableStream:i,emulationEndpoint:this._config.emulationEndpoint,decoder:this._codec,encoder:this._codec}),!this._transport.supported()){this._debug("http_stream transport not available"),this._currentTransportIndex++,b++;continue}}else if(p==="sse"){if(this._debug("trying sse transport"),this._transport=new dO(h,{eventsource:r,fetch:n,emulationEndpoint:this._config.emulationEndpoint}),!this._transport.supported()){this._debug("sse transport not available"),this._currentTransportIndex++,b++;continue}}else if(p==="sockjs"){if(this._debug("trying sockjs"),this._transport=new cO(h,{sockjs:o,sockjsOptions:this._config.sockjsOptions}),!this._transport.supported()){this._debug("sockjs transport not available"),this._currentTransportIndex++,b++;continue}}else throw new Error("unknown transport "+p);break}}else{if(nO(this._endpoint,"http"))throw new Error("Provide explicit transport endpoints configuration in case of using HTTP (i.e. using array of TransportEndpoint instead of a single string), or use ws(s):// scheme in an endpoint if you aimed using WebSocket transport");if(this._debug("client will use websocket"),this._transport=new t0(this._endpoint,{websocket:t}),!this._transport.supported())throw new Error("WebSocket not available")}const s=this,a=this._transport,l=this._nextTransportId();s._debug("id of transport",l);let c=!1;const d=[];if(this._transport.emulation()){const b=s._sendConnect(!0);d.push(b)}this._setNetworkEvents();const g=this._codec.encodeCommands(d);this._transportClosed=!1;let f;f=setTimeout(function(){a.close()},this._config.timeout),this._transport.initialize(this._codec.name(),{onOpen:function(){if(f&&(clearTimeout(f),f=null),s._transportId!=l){s._debug("open callback from non-actual transport"),a.close();return}c=!0,s._debug(a.subName(),"transport open"),!a.emulation()&&(s._transportIsOpen=!0,s._transportWasOpen=!0,s.startBatching(),s._sendConnect(!1),s._sendSubscribeCommands(),s.stopBatching(),s.emit("__centrifuge_debug:connect_frame_sent",{}))},onError:function(b){if(s._transportId!=l){s._debug("error callback from non-actual transport");return}s._debug("transport level error",b)},onClose:function(b){if(f&&(clearTimeout(f),f=null),s._transportId!=l){s._debug("close callback from non-actual transport");return}s._debug(a.subName(),"transport closed"),s._transportClosed=!0,s._transportIsOpen=!1;let v="connection closed",p=!0,h=0;if(b&&"code"in b&&b.code&&(h=b.code),b&&b.reason)try{const m=JSON.parse(b.reason);v=m.reason,p=m.reconnect}catch{v=b.reason,(h>=3500&&h<4e3||h>=4500&&h<5e3)&&(p=!1)}h<3e3?(h===1009?(h=on.messageSizeLimit,v="message size limit exceeded",p=!1):(h=bo.transportClosed,v="transport closed"),s._emulation&&!s._transportWasOpen&&(s._currentTransportIndex++,s._currentTransportIndex>=s._transports.length&&(s._triedAllTransports=!0,s._currentTransportIndex=0))):s._transportWasOpen=!0,s._isConnecting()&&!c&&s.emit("error",{type:"transport",error:{code:je.transportClosed,message:"transport closed"},transport:a.name()}),s._reconnecting=!1,s._disconnect(h,v,p)},onMessage:function(b){s._dataReceived(b)}},g),s.emit("__centrifuge_debug:transport_initialized",{})}_sendConnect(t){const o=this._constructConnectCommand(),r=this;return this._call(o,t).then(n=>{const i=n.reply.connect;r._connectResponse(i),n.next&&n.next()},n=>{r._connectError(n.error),n.next&&n.next()}),o}_startReconnecting(){if(this._debug("start reconnecting"),!this._isConnecting()){this._debug("stop reconnecting: client not in connecting state");return}if(this._reconnecting){this._debug("reconnect already in progress, return from reconnect routine");return}if(this._transportClosed===!1){this._debug("waiting for transport close");return}this._reconnecting=!0;const t=this,o=this._token==="";if(!(this._refreshRequired||o&&this._config.getToken!==null)){this._config.getData?this._config.getData().then(function(n){t._isConnecting()&&(t._data=n,t._initializeTransport())}):this._initializeTransport();return}this._getToken().then(function(n){if(t._isConnecting()){if(n==null||n==null){t._failUnauthorized();return}t._token=n,t._debug("connection token refreshed"),t._config.getData?t._config.getData().then(function(i){t._isConnecting()&&(t._data=i,t._initializeTransport())}):t._initializeTransport()}}).catch(function(n){if(!t._isConnecting())return;if(n instanceof jo){t._failUnauthorized();return}t.emit("error",{type:"connectToken",error:{code:je.clientConnectToken,message:n!==void 0?n.toString():""}});const i=t._getReconnectDelay();t._debug("error on connection token refresh, reconnect after "+i+" milliseconds",n),t._reconnecting=!1,t._reconnectTimeout=setTimeout(()=>{t._startReconnecting()},i)})}_connectError(t){this.state===Qe.Connecting&&(t.code===109&&(this._refreshRequired=!0),t.code<100||t.temporary===!0||t.code===109?(this.emit("error",{type:"connect",error:t}),this._debug("closing transport due to connect error"),this._disconnect(t.code,t.message,!0)):this._disconnect(t.code,t.message,!1))}_scheduleReconnect(){if(!this._isConnecting())return;let t=!1;this._emulation&&!this._transportWasOpen&&!this._triedAllTransports&&(t=!0);let o=this._getReconnectDelay();t&&(o=0),this._debug("reconnect after "+o+" milliseconds"),this._clearReconnectTimeout(),this._reconnectTimeout=setTimeout(()=>{this._startReconnecting()},o)}_constructConnectCommand(){const t={};this._token&&(t.token=this._token),this._data&&(t.data=this._data),this._config.name&&(t.name=this._config.name),this._config.version&&(t.version=this._config.version);const o={};let r=!1;for(const n in this._serverSubs)if(this._serverSubs.hasOwnProperty(n)&&this._serverSubs[n].recoverable){r=!0;const i={recover:!0};this._serverSubs[n].offset&&(i.offset=this._serverSubs[n].offset),this._serverSubs[n].epoch&&(i.epoch=this._serverSubs[n].epoch),o[n]=i}return r&&(t.subs=o),{connect:t}}_getHistoryRequest(t,o){const r={channel:t};return o!==void 0&&(o.since&&(r.since={offset:o.since.offset},o.since.epoch&&(r.since.epoch=o.since.epoch)),o.limit!==void 0&&(r.limit=o.limit),o.reverse===!0&&(r.reverse=!0)),r}_methodCall(){return this._isConnected()?Promise.resolve():new Promise((t,o)=>{const r=setTimeout(function(){o({code:je.timeout,message:"timeout"})},this._config.timeout);this._promises[this._nextPromiseId()]={timeout:r,resolve:t,reject:o}})}_callPromise(t,o){return new Promise((r,n)=>{this._call(t,!1).then(i=>{r(o(i.reply)),i.next&&i.next()},i=>{n(i.error),i.next&&i.next()})})}_dataReceived(t){this._serverPing>0&&this._waitServerPing();const o=this._codec.decodeReplies(t);this._dispatchPromise=this._dispatchPromise.then(()=>{let r;this._dispatchPromise=new Promise(n=>{r=n}),this._dispatchSynchronized(o,r)})}_dispatchSynchronized(t,o){let r=Promise.resolve();for(const n in t)t.hasOwnProperty(n)&&(r=r.then(()=>this._dispatchReply(t[n])));r=r.then(()=>{o()})}_dispatchReply(t){let o;const r=new Promise(i=>{o=i});if(t==null)return this._debug("dispatch: got undefined or null reply"),o(),r;const n=t.id;return n&&n>0?this._handleReply(t,o):t.push?this._handlePush(t.push,o):this._handleServerPing(o),r}_call(t,o){return new Promise((r,n)=>{t.id=this._nextCommandId(),this._registerCall(t.id,r,n),o||this._addCommand(t)})}_startConnecting(){this._debug("start connecting"),this._setState(Qe.Connecting)&&this.emit("connecting",{code:bo.connectCalled,reason:"connect called"}),this._client=null,this._startReconnecting()}_disconnect(t,o,r){if(this._isDisconnected())return;this._transportIsOpen=!1;const n=this.state;this._reconnecting=!1;const i={code:t,reason:o};let s=!1;if(r?s=this._setState(Qe.Connecting):(s=this._setState(Qe.Disconnected),this._rejectPromises({code:je.clientDisconnected,message:"disconnected"})),this._clearOutgoingRequests(),n===Qe.Connecting&&this._clearReconnectTimeout(),n===Qe.Connected&&this._clearConnectedState(),s&&(this._isConnecting()?this.emit("connecting",i):this.emit("disconnected",i)),this._transport){this._debug("closing existing transport");const a=this._transport;this._transport=null,a.close(),this._transportClosed=!0,this._nextTransportId()}else this._debug("no transport to close");this._scheduleReconnect()}_failUnauthorized(){this._disconnect(on.unauthorized,"unauthorized",!1)}_getToken(){if(this._debug("get connection token"),!this._config.getToken)throw this.emit("error",{type:"configuration",error:{code:je.badConfiguration,message:"token expired but no getToken function set in the configuration"}}),new jo("");return this._config.getToken({})}_refresh(){const t=this._client,o=this;this._getToken().then(function(r){if(t!==o._client)return;if(!r){o._failUnauthorized();return}if(o._token=r,o._debug("connection token refreshed"),!o._isConnected())return;const n={refresh:{token:o._token}};o._call(n,!1).then(i=>{const s=i.reply.refresh;o._refreshResponse(s),i.next&&i.next()},i=>{o._refreshError(i.error),i.next&&i.next()})}).catch(function(r){if(o._isConnected()){if(r instanceof jo){o._failUnauthorized();return}o.emit("error",{type:"refreshToken",error:{code:je.clientRefreshToken,message:r!==void 0?r.toString():""}}),o._refreshTimeout=setTimeout(()=>o._refresh(),o._getRefreshRetryDelay())}})}_refreshError(t){t.code<100||t.temporary===!0?(this.emit("error",{type:"refresh",error:t}),this._refreshTimeout=setTimeout(()=>this._refresh(),this._getRefreshRetryDelay())):this._disconnect(t.code,t.message,!1)}_getRefreshRetryDelay(){return _i(0,5e3,1e4)}_refreshResponse(t){this._refreshTimeout&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null),t.expires&&(this._client=t.client,this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl)))}_removeSubscription(t){t!==null&&delete this._subs[t.channel]}_unsubscribe(t){if(!this._transportIsOpen)return;const r={unsubscribe:{channel:t.channel}},n=this;this._call(r,!1).then(i=>{i.next&&i.next()},i=>{i.next&&i.next(),n._disconnect(bo.unsubscribeError,"unsubscribe error",!0)})}_getSub(t){const o=this._subs[t];return o||null}_isServerSub(t){return this._serverSubs[t]!==void 0}_sendSubscribeCommands(){const t=[];for(const o in this._subs){if(!this._subs.hasOwnProperty(o))continue;const r=this._subs[o];if(r._inflight!==!0&&r.state===ht.Subscribing){const n=r._subscribe();n&&t.push(n)}}return t}_connectResponse(t){if(this._transportIsOpen=!0,this._transportWasOpen=!0,this._reconnectAttempts=0,this._refreshRequired=!1,this._isConnected())return;this._client=t.client,this._setState(Qe.Connected),this._refreshTimeout&&clearTimeout(this._refreshTimeout),t.expires&&(this._refreshTimeout=setTimeout(()=>this._refresh(),Ii(t.ttl))),this._session=t.session,this._node=t.node,this.startBatching(),this._sendSubscribeCommands(),this.stopBatching();const o={client:t.client,transport:this._transport.subName()};t.data&&(o.data=t.data),this.emit("connected",o),this._resolvePromises(),this._processServerSubs(t.subs||{}),t.ping&&t.ping>0?(this._serverPing=t.ping*1e3,this._sendPong=t.pong===!0,this._waitServerPing()):this._serverPing=0}_processServerSubs(t){for(const o in t){if(!t.hasOwnProperty(o))continue;const r=t[o];this._serverSubs[o]={offset:r.offset,epoch:r.epoch,recoverable:r.recoverable||!1};const n=this._getSubscribeContext(o,r);this.emit("subscribed",n)}for(const o in t){if(!t.hasOwnProperty(o))continue;const r=t[o];if(r.recovered){const n=r.publications;if(n&&n.length>0)for(const i in n)n.hasOwnProperty(i)&&this._handlePublication(o,n[i])}}for(const o in this._serverSubs)this._serverSubs.hasOwnProperty(o)&&(t[o]||(this.emit("unsubscribed",{channel:o}),delete this._serverSubs[o]))}_clearRefreshTimeout(){this._refreshTimeout!==null&&(clearTimeout(this._refreshTimeout),this._refreshTimeout=null)}_clearReconnectTimeout(){this._reconnectTimeout!==null&&(clearTimeout(this._reconnectTimeout),this._reconnectTimeout=null)}_clearServerPingTimeout(){this._serverPingTimeout!==null&&(clearTimeout(this._serverPingTimeout),this._serverPingTimeout=null)}_waitServerPing(){this._config.maxServerPingDelay!==0&&this._isConnected()&&(this._clearServerPingTimeout(),this._serverPingTimeout=setTimeout(()=>{this._isConnected()&&this._disconnect(bo.noPing,"no ping",!0)},this._serverPing+this._config.maxServerPingDelay))}_getSubscribeContext(t,o){const r={channel:t,positioned:!1,recoverable:!1,wasRecovering:!1,recovered:!1};o.recovered&&(r.recovered=!0),o.positioned&&(r.positioned=!0),o.recoverable&&(r.recoverable=!0),o.was_recovering&&(r.wasRecovering=!0);let n="";"epoch"in o&&(n=o.epoch);let i=0;return"offset"in o&&(i=o.offset),(r.positioned||r.recoverable)&&(r.streamPosition={offset:i,epoch:n}),o.data&&(r.data=o.data),r}_handleReply(t,o){const r=t.id;if(!(r in this._callbacks)){o();return}const n=this._callbacks[r];if(clearTimeout(this._callbacks[r].timeout),delete this._callbacks[r],aO(t)){const i=n.errback;if(!i){o();return}const s=t.error;i({error:s,next:o})}else{const i=n.callback;if(!i)return;i({reply:t,next:o})}}_handleJoin(t,o){const r=this._getSub(t);if(!r){if(this._isServerSub(t)){const n={channel:t,info:this._getJoinLeaveContext(o.info)};this.emit("join",n)}return}r._handleJoin(o)}_handleLeave(t,o){const r=this._getSub(t);if(!r){if(this._isServerSub(t)){const n={channel:t,info:this._getJoinLeaveContext(o.info)};this.emit("leave",n)}return}r._handleLeave(o)}_handleUnsubscribe(t,o){const r=this._getSub(t);if(!r){this._isServerSub(t)&&(delete this._serverSubs[t],this.emit("unsubscribed",{channel:t}));return}o.code<2500?r._setUnsubscribed(o.code,o.reason,!1):r._setSubscribing(o.code,o.reason)}_handleSubscribe(t,o){this._serverSubs[t]={offset:o.offset,epoch:o.epoch,recoverable:o.recoverable||!1},this.emit("subscribed",this._getSubscribeContext(t,o))}_handleDisconnect(t){const o=t.code;let r=!0;(o>=3500&&o<4e3||o>=4500&&o<5e3)&&(r=!1),this._disconnect(o,t.reason,r)}_getPublicationContext(t,o){const r={channel:t,data:o.data};return o.offset&&(r.offset=o.offset),o.info&&(r.info=this._getJoinLeaveContext(o.info)),o.tags&&(r.tags=o.tags),r}_getJoinLeaveContext(t){const o={client:t.client,user:t.user};return t.conn_info&&(o.connInfo=t.conn_info),t.chan_info&&(o.chanInfo=t.chan_info),o}_handlePublication(t,o){const r=this._getSub(t);if(!r){if(this._isServerSub(t)){const n=this._getPublicationContext(t,o);this.emit("publication",n),o.offset!==void 0&&(this._serverSubs[t].offset=o.offset)}return}r._handlePublication(o)}_handleMessage(t){this.emit("message",{data:t.data})}_handleServerPing(t){if(this._sendPong){const o={};this._transportSendCommands([o])}t()}_handlePush(t,o){const r=t.channel;t.pub?this._handlePublication(r,t.pub):t.message?this._handleMessage(t.message):t.join?this._handleJoin(r,t.join):t.leave?this._handleLeave(r,t.leave):t.unsubscribe?this._handleUnsubscribe(r,t.unsubscribe):t.subscribe?this._handleSubscribe(r,t.subscribe):t.disconnect&&this._handleDisconnect(t.disconnect),o()}_flush(){const t=this._commands.slice(0);this._commands=[],this._transportSendCommands(t)}_createErrorObject(t,o,r){const n={code:t,message:o};return r&&(n.temporary=!0),n}_registerCall(t,o,r){this._callbacks[t]={callback:o,errback:r,timeout:null},this._callbacks[t].timeout=setTimeout(()=>{delete this._callbacks[t],J1(r)&&r({error:this._createErrorObject(je.timeout,"timeout")})},this._config.timeout)}_addCommand(t){this._batching?this._commands.push(t):this._transportSendCommands([t])}_nextPromiseId(){return++this._promiseId}_nextTransportId(){return++this._transportId}_resolvePromises(){for(const t in this._promises)this._promises.hasOwnProperty(t)&&(this._promises[t].timeout&&clearTimeout(this._promises[t].timeout),this._promises[t].resolve(),delete this._promises[t])}_rejectPromises(t){for(const o in this._promises)this._promises.hasOwnProperty(o)&&(this._promises[o].timeout&&clearTimeout(this._promises[o].timeout),this._promises[o].reject(t),delete this._promises[o])}}Lu.SubscriptionState=ht;Lu.State=Qe;Lu.UnauthorizedError=jo;function hO(e){return e&&typeof e.then=="function"}Promise.resolve(!1);Promise.resolve(!0);var Xo=Promise.resolve();function W1(e,t){return e||(e=0),new Promise(function(o){return setTimeout(function(){return o(t)},e)})}function gO(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function _u(){return Math.random().toString(36).substring(2)}var na=0;function Hn(){var e=Date.now()*1e3;return e<=na&&(e=na+1),na=e,e}var mO=Hn,bO="native";function vO(e){var t={time:Hn(),messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(o){t.messagesCallback&&t.messagesCallback(o.data)},t}function yO(e){e.bc.close(),e.subFns=[]}function xO(e,t){try{return e.bc.postMessage(t,!1),Xo}catch(o){return Promise.reject(o)}}function wO(e,t){e.messagesCallback=t}function kO(){if(typeof globalThis<"u"&&globalThis.Deno&&globalThis.Deno.args)return!0;if((typeof window<"u"||typeof self<"u")&&typeof BroadcastChannel=="function"){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}else return!1}function AO(){return 150}var SO={create:vO,close:yO,onMessage:wO,postMessage:xO,canBeUsed:kO,type:bO,averageResponseTime:AO,microSeconds:mO};class Y1{constructor(t){Ae(this,"ttl");Ae(this,"map",new Map);Ae(this,"_to",!1);this.ttl=t}has(t){const o=this.map.get(t);return typeof o>"u"?!1:o<wc()-this.ttl?(this.map.delete(t),!1):!0}add(t){this.map.delete(t),this.map.set(t,wc()),this._to||(this._to=!0,setTimeout(()=>{this._to=!1,CO(this)},0))}clear(){this.map.clear()}}function CO(e){const t=wc()-e.ttl,o=e.map[Symbol.iterator]();for(;;){const r=o.next().value;if(!r)break;const n=r[0];if(r[1]<t)e.map.delete(n);else break}}function wc(){return Date.now()}function Iu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return typeof t.webWorkerSupport>"u"&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=1e3*45),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&typeof e.idb.onclose=="function"&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=1e3*60),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=1e3*60*2),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),typeof t.node.useFastPath>"u"&&(t.node.useFastPath=!0),t}var OO=Hn,EO="pubkey.broadcast-channel-0-",ao="messages",hs={durability:"relaxed"},PO="idb";function Q1(){if(typeof indexedDB<"u")return indexedDB;if(typeof window<"u"){if(typeof window.mozIndexedDB<"u")return window.mozIndexedDB;if(typeof window.webkitIndexedDB<"u")return window.webkitIndexedDB;if(typeof window.msIndexedDB<"u")return window.msIndexedDB}return!1}function Nu(e){e.commit&&e.commit()}function TO(e){var t=Q1(),o=EO+e,r=t.open(o);return r.onupgradeneeded=function(n){var i=n.target.result;i.createObjectStore(ao,{keyPath:"id",autoIncrement:!0})},new Promise(function(n,i){r.onerror=function(s){return i(s)},r.onsuccess=function(){n(r.result)}})}function RO(e,t,o){var r=Date.now(),n={uuid:t,time:r,data:o},i=e.transaction([ao],"readwrite",hs);return new Promise(function(s,a){i.oncomplete=function(){return s()},i.onerror=function(c){return a(c)};var l=i.objectStore(ao);l.add(n),Nu(i)})}function MO(e,t){var o=e.transaction(ao,"readonly",hs),r=o.objectStore(ao),n=[],i=IDBKeyRange.bound(t+1,1/0);if(r.getAll){var s=r.getAll(i);return new Promise(function(l,c){s.onerror=function(d){return c(d)},s.onsuccess=function(d){l(d.target.result)}})}function a(){try{return i=IDBKeyRange.bound(t+1,1/0),r.openCursor(i)}catch{return r.openCursor()}}return new Promise(function(l,c){var d=a();d.onerror=function(g){return c(g)},d.onsuccess=function(g){var f=g.target.result;f?f.value.id<t+1?f.continue(t+1):(n.push(f.value),f.continue()):(Nu(o),l(n))}})}function zO(e,t){if(e.closed)return Promise.resolve([]);var o=e.db.transaction(ao,"readwrite",hs),r=o.objectStore(ao);return Promise.all(t.map(function(n){var i=r.delete(n);return new Promise(function(s){i.onsuccess=function(){return s()}})}))}function HO(e,t){var o=Date.now()-t,r=e.transaction(ao,"readonly",hs),n=r.objectStore(ao),i=[];return new Promise(function(s){n.openCursor().onsuccess=function(a){var l=a.target.result;if(l){var c=l.value;c.time<o?(i.push(c),l.continue()):(Nu(r),s(i))}else s(i)}})}function BO(e){return HO(e.db,e.options.idb.ttl).then(function(t){return zO(e,t.map(function(o){return o.id}))})}function DO(e,t){return t=Iu(t),TO(e).then(function(o){var r={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:_u(),eMIs:new Y1(t.idb.ttl*2),writeBlockPromise:Xo,messagesCallback:null,readQueuePromises:[],db:o};return o.onclose=function(){r.closed=!0,t.idb.onclose&&t.idb.onclose()},Z1(r),r})}function Z1(e){e.closed||K1(e).then(function(){return W1(e.options.idb.fallbackInterval)}).then(function(){return Z1(e)})}function LO(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}function K1(e){return e.closed||!e.messagesCallback?Xo:MO(e.db,e.lastCursorId).then(function(t){var o=t.filter(function(r){return!!r}).map(function(r){return r.id>e.lastCursorId&&(e.lastCursorId=r.id),r}).filter(function(r){return LO(r,e)}).sort(function(r,n){return r.time-n.time});return o.forEach(function(r){e.messagesCallback&&(e.eMIs.add(r.id),e.messagesCallback(r.data))}),Xo})}function _O(e){e.closed=!0,e.db.close()}function IO(e,t){return e.writeBlockPromise=e.writeBlockPromise.then(function(){return RO(e.db,e.uuid,t)}).then(function(){gO(0,10)===0&&BO(e)}),e.writeBlockPromise}function NO(e,t,o){e.messagesCallbackTime=o,e.messagesCallback=t,K1(e)}function jO(){return!!Q1()}function XO(e){return e.idb.fallbackInterval*2}var FO={create:DO,close:_O,onMessage:NO,postMessage:IO,canBeUsed:jO,type:PO,averageResponseTime:XO,microSeconds:OO},UO=Hn,VO="pubkey.broadcastChannel-",GO="localstorage";function $1(){var e;if(typeof window>"u")return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch{}return e}function e2(e){return VO+e}function qO(e,t){return new Promise(function(o){W1().then(function(){var r=e2(e.channelName),n={token:_u(),time:Date.now(),data:t,uuid:e.uuid},i=JSON.stringify(n);$1().setItem(r,i);var s=document.createEvent("Event");s.initEvent("storage",!0,!0),s.key=r,s.newValue=i,window.dispatchEvent(s),o()})})}function JO(e,t){var o=e2(e),r=function(i){i.key===o&&t(JSON.parse(i.newValue))};return window.addEventListener("storage",r),r}function WO(e){window.removeEventListener("storage",e)}function YO(e,t){if(t=Iu(t),!t2())throw new Error("BroadcastChannel: localstorage cannot be used");var o=_u(),r=new Y1(t.localstorage.removeTimeout),n={channelName:e,uuid:o,eMIs:r};return n.listener=JO(e,function(i){n.messagesCallback&&i.uuid!==o&&(!i.token||r.has(i.token)||i.data.time&&i.data.time<n.messagesCallbackTime||(r.add(i.token),n.messagesCallback(i.data)))}),n}function QO(e){WO(e.listener)}function ZO(e,t,o){e.messagesCallbackTime=o,e.messagesCallback=t}function t2(){var e=$1();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch{return!1}return!0}function KO(){var e=120,t=navigator.userAgent.toLowerCase();return t.includes("safari")&&!t.includes("chrome")?e*2:e}var $O={create:YO,close:QO,onMessage:ZO,postMessage:qO,canBeUsed:t2,type:GO,averageResponseTime:KO,microSeconds:UO},o2=Hn,eE="simulate",ju=new Set;function tE(e){var t={time:o2(),name:e,messagesCallback:null};return ju.add(t),t}function oE(e){ju.delete(e)}var r2=5;function rE(e,t){return new Promise(function(o){return setTimeout(function(){var r=Array.from(ju);r.forEach(function(n){n.name===e.name&&n!==e&&n.messagesCallback&&n.time<t.time&&n.messagesCallback(t)}),o()},r2)})}function nE(e,t){e.messagesCallback=t}function iE(){return!0}function sE(){return r2}var aE={create:tE,close:oE,onMessage:nE,postMessage:rE,canBeUsed:iE,type:eE,averageResponseTime:sE,microSeconds:o2},r0=[SO,FO,$O];function lE(e){var t=[].concat(e.methods,r0).filter(Boolean);if(e.type){if(e.type==="simulate")return aE;var o=t.find(function(n){return n.type===e.type});if(o)return o;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter(function(n){return n.type!=="idb"}));var r=t.find(function(n){return n.canBeUsed()});if(r)return r;throw new Error("No usable method found in "+JSON.stringify(r0.map(function(n){return n.type})))}var n2=new Set,cE=0,Xu=function(t,o){this.id=cE++,n2.add(this),this.name=t,this.options=Iu(o),this.method=lE(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,uE(this)};Xu._pubkey=!0;Xu.prototype={postMessage:function(t){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(t));return n0(this,"message",t)},postInternal:function(t){return n0(this,"internal",t)},set onmessage(e){var t=this.method.microSeconds(),o={time:t,fn:e};s0(this,"message",this._onML),e&&typeof e=="function"?(this._onML=o,i0(this,"message",o)):this._onML=null},addEventListener:function(t,o){var r=this.method.microSeconds(),n={time:r,fn:o};i0(this,t,n)},removeEventListener:function(t,o){var r=this._addEL[t].find(function(n){return n.fn===o});s0(this,t,r)},close:function(){var t=this;if(!this.closed){n2.delete(this),this.closed=!0;var o=this._prepP?this._prepP:Xo;return this._onML=null,this._addEL.message=[],o.then(function(){return Promise.all(Array.from(t._uMP))}).then(function(){return Promise.all(t._befC.map(function(r){return r()}))}).then(function(){return t.method.close(t._state)})}},get type(){return this.method.type},get isClosed(){return this.closed}};function n0(e,t,o){var r=e.method.microSeconds(),n={time:r,type:t,data:o},i=e._prepP?e._prepP:Xo;return i.then(function(){var s=e.method.postMessage(e._state,n);return e._uMP.add(s),s.catch().then(function(){return e._uMP.delete(s)}),s})}function uE(e){var t=e.method.create(e.name,e.options);hO(t)?(e._prepP=t,t.then(function(o){e._state=o})):e._state=t}function i2(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function i0(e,t,o){e._addEL[t].push(o),dE(e)}function s0(e,t,o){e._addEL[t]=e._addEL[t].filter(function(r){return r!==o}),fE(e)}function dE(e){if(!e._iL&&i2(e)){var t=function(n){e._addEL[n.type].forEach(function(i){n.time>=i.time&&i.fn(n.data)})},o=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,o)}):(e._iL=!0,e.method.onMessage(e._state,t,o))}}function fE(e){if(e._iL&&!i2(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}const pE=()=>/iP(ad|od|hone)/i.test(window.navigator.userAgent);function hE(e,t){return new Xu(e,{...t,type:pE()?"localstorage":void 0})}const Pt=class Pt{constructor(t=Pt.DEFAULT_CONFIG){if(this.createAntibotFrame=o=>{if(window.location.hostname.endsWith("foxford.ru")||window.location.hostname.endsWith("netology-group.services")||window.location.hostname.endsWith("foxford-school.com")||window.location.hostname.endsWith("foxford-home-school.ru")||window.location.hostname.endsWith("smartlearning.ru")||this.config.debug){const r=Pt.createFrame(o.src,o==null?void 0:o.onload,o==null?void 0:o.onerror);document.body.appendChild(r),window.antibotInitialized=!0}},this.config={...Pt.DEFAULT_CONFIG,...t},window.antibotInitialized===void 0&&(window.antibotInitialized=!1),!document.body)throw new Error("Body element not found");if(window.onCaptureReady!==void 0){console.debug("Seo4Ajax crawler injects own callback. FoxfordAntibot initialization will be ignored.");return}if(Pt.antibotIsInitialized()){console.debug("FoxfordAntibot is already mounted");return}this.createAntibotFrame({onerror:this.config.antibotOnerror,onload:this.config.antibotOnload,src:this.config.antibotFrameSrc})}static antibotIsInitialized(){if(window.antibotInitialized||document.querySelectorAll(`iframe.${Pt.FRAME_CLASSNAME}`).length>0)return!0;try{return window.top?window.self!==window.top&&!!window.top.antibotInitialized:!1}catch{return!1}}};Pt.FOXFORD_ANTIBOT_URL="https://foxford.ru/antibot/ping",Pt.DEFAULT_CONFIG={antibotFrameSrc:Pt.FOXFORD_ANTIBOT_URL},Pt.FRAME_CLASSNAME="antibot",Pt.createFrame=(t,o,r)=>{const n=document.createElement("iframe");return n.classList.add(Pt.FRAME_CLASSNAME),n.style.width="1px",n.style.height="1px",n.style.position="fixed",n.style.zIndex="-1",n.style.top="0",n.style.left="0",n.style.border="0",n.referrerPolicy="origin",n.src=t,n.onload=i=>{typeof o=="function"&&o(i)},n.onerror=()=>{typeof r=="function"&&r()},n};let kc=Pt;const gE="_csrf_token",mE="https://foxford.ru",bE={headers:{"X-Requested-With":"XMLHttpRequest"},withXSRFToken:!0,xsrfCookieName:gE,xsrfHeaderName:"X-CSRF-Token"},vE={...bE,withCredentials:!0};var ia,a0;function yE(){if(a0)return ia;a0=1;function e(t){for(var o=!1,r=0;r<t.length;r++){var n=t.charAt(r);o&&/[a-zA-Z]/.test(n)&&n.toUpperCase()===n?(t=t.substr(0,r)+"-"+t.substr(r),o=!1,r++):o=n.toLowerCase()===n}return t}return ia=function(){var t=[].map.call(arguments,function(o){return o.trim()}).filter(function(o){return o.length}).join("-");return t.length?t.length===1?t:/[_.\- ]+/.test(t)?(t=e(t),t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(o,r){return r.toUpperCase()})):t===t.toUpperCase()?t.toLowerCase():t[0]!==t[0].toLowerCase()?t[0].toLowerCase()+t.slice(1):t:""},ia}var sa,l0;function s2(){return l0||(l0=1,sa=function(e,t){for(var o={},r=Object.keys(e),n=0;n<r.length;n++){var i=r[n],s=t(i,e[i],e);o[s[0]]=s[1]}return o}),sa}var aa,c0;function xE(){if(c0)return aa;c0=1;var e=yE(),t=s2();return aa=function o(r){return!r||r instanceof Date?r:Array.isArray(r)?r.map(function(n){return o(n)}):typeof r=="object"?t(r,function(n,i){var s=e(n);if(n!==s&&s in r)throw new Error("Camelcased key `"+s+"` would overwrite existing key of the given JSON object");return[s,o(i)]}):r},aa}var wE=xE();const kE=Mr(wE);var la,u0;function AE(){return u0||(u0=1,la=function(e,t){if(typeof e!="string")throw new TypeError("Expected a string");return t=typeof t>"u"?"_":t,e.replace(/([a-z\d])([A-Z])/g,"$1"+t+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t+"$2").toLowerCase()}),la}var ca,d0;function SE(){if(d0)return ca;d0=1;var e=AE(),t=s2();return ca=function o(r,n){return!r||r instanceof Date?r:Array.isArray(r)?r.map(function(i){return o(i,n)}):typeof r=="object"?t(r,function(i,s){var a=e(i,n);if(i!==a&&a in r)throw new Error("Decamelized key `"+a+"` would overwrite existing key of the given JSON object");return[a,o(s,n)]}):r},ca}var CE=SE();const OE=Mr(CE),EE=e=>kE(e),f0=e=>OE(e);class PE{constructor(){this.pluginType="request",this.pluginName="camelizeRequestPlugin"}execute(t,o){return new Promise(r=>{if(typeof t.camelize=="boolean"?t.camelize:!0){const i=o.defaults.transformResponse,s=a=>EE(a);i&&(t.transformResponse=Array.isArray(i)?[...i,s]:[i,s])}r(t)})}isApplicable(t){return typeof t.camelize=="boolean"?t.camelize:!0}}class TE{constructor(t){this.pluginType="responseFail",this.pluginName="captchaPlugin",this.captchaConfig=t}async execute(t){var o,r;try{const n=typeof this.captchaConfig=="function"?this.captchaConfig():this.captchaConfig;if(!n)return t;const{settings:i={}}=(r=(o=t.response)==null?void 0:o.data)!=null?r:{},{provider:s}=i,a=i.siteKey||i.site_key||void 0;if(!i||!s||!a)return t;this.captcha=new YC({...n,provider:s,sitekey:a});const{config:l}=t,c=await this.captcha.execute({location:l.url,method:l.method});if(c==null||typeof(c==null?void 0:c.captcha_token)!="string")return l;const d={verification:{settings:{token:c.captcha_token},type:"captcha"}};if(l.method==="get"&&(l.params={...l.params,...d}),typeof l.data=="string")try{let g=JSON.parse(l.data);g={...g,...d},l.data=JSON.stringify(g)}catch(g){console.error(g)}else if(l.data instanceof FormData){const g=l.data;g.append("verification[settings][token]",d.verification.settings.token),g.append("verification[type]",d.verification.type),l.data=g}else typeof l.data=="object"&&(l.data={...l.data,...d});return l}catch(n){return n}}isApplicable(t){var o;return((o=t.response)==null?void 0:o.status)===449}}class RE{constructor(){this.pluginType="responseSuccess",this.pluginName="dataLayerEventDispatcherPlugin"}execute(t){return new Promise(o=>{try{const r=JSON.parse(t.request.response);Array.isArray(r.data_layer_events)&&(Array.isArray(window.dataLayer)||(window.dataLayer=[]),window.dataLayer.push(...r.data_layer_events))}catch{}o(t)})}isApplicable(){return!0}}function ME(e){const t=[];let o=0;for(;o<e.length;){const r=e[o];if(r==="*"||r==="+"||r==="?"){t.push({index:o,type:"MODIFIER",value:e[o++]});continue}if(r==="\\"){t.push({index:o++,type:"ESCAPED_CHAR",value:e[o++]});continue}if(r==="{"){t.push({index:o,type:"OPEN",value:e[o++]});continue}if(r==="}"){t.push({index:o,type:"CLOSE",value:e[o++]});continue}if(r===":"){let n="",i=o+1;for(;i<e.length;){const s=e.charCodeAt(i);if(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===95){n+=e[i++];continue}break}if(!n)throw new TypeError(`Missing parameter name at ${o}`);t.push({index:o,type:"NAME",value:n}),o=i;continue}if(r==="("){let n=1,i="",s=o+1;if(e[s]==="?")throw new TypeError(`Pattern cannot start with "?" at ${s}`);for(;s<e.length;){if(e[s]==="\\"){i+=e[s++]+e[s++];continue}if(e[s]===")"){if(n--,n===0){s++;break}}else if(e[s]==="("&&(n++,e[s+1]!=="?"))throw new TypeError(`Capturing groups are not allowed at ${s}`);i+=e[s++]}if(n)throw new TypeError(`Unbalanced pattern at ${o}`);if(!i)throw new TypeError(`Missing pattern at ${o}`);t.push({index:o,type:"PATTERN",value:i}),o=s;continue}t.push({index:o,type:"CHAR",value:e[o++]})}return t.push({index:o,type:"END",value:""}),t}function zE(e,t={}){const o=ME(e),{prefixes:r="./"}=t,n=`[^${ir(t.delimiter||"/#?")}]+?`,i=[];let s=0,a=0,l="";const c=f=>{var b,v;if(a<o.length&&((b=o[a])==null?void 0:b.type)===f)return(v=o[a++])==null?void 0:v.value},d=f=>{var v,p;const b=c(f);if(b!==void 0)return b;throw new TypeError(`Unexpected ${(v=o[a])==null?void 0:v.type} at ${(p=o[a])==null?void 0:p.index}, expected ${f}`)},g=()=>{let f="",b;for(;b=c("CHAR")||c("ESCAPED_CHAR");)f+=b;return f};for(;a<o.length;){const f=c("CHAR"),b=c("NAME"),v=c("PATTERN");if(b||v){let m=f||"";r.indexOf(m)===-1&&(l+=m,m=""),l&&(i.push(l),l=""),i.push({modifier:c("MODIFIER")||"",name:b||s++,pattern:v||n,prefix:m,suffix:""});continue}const p=f||c("ESCAPED_CHAR");if(p){l+=p;continue}if(l&&(i.push(l),l=""),c("OPEN")){const m=g(),y=c("NAME")||"",C=c("PATTERN")||"",A=g();d("CLOSE"),i.push({modifier:c("MODIFIER")||"",name:y||(C?s++:""),pattern:y&&!C?n:C,prefix:m,suffix:A});continue}d("END")}return i}function ir(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a2(e){return e&&e.sensitive?"":"i"}function HE(e,t){if(!t)return e;const o=/\((?:\?<(.*?)>)?(?!\?)/g;let r=0,n=o.exec(e.source);for(;n;)t.push({modifier:"",name:n[1]||r++,pattern:"",prefix:"",suffix:""}),n=o.exec(e.source);return e}function BE(e,t,o){const r=e.map(n=>l2(n,t,o).source);return new RegExp(`(?:${r.join("|")})`,a2(o))}function DE(e,t,o){return LE(zE(e,o),t,o)}function LE(e,t,o={}){const{strict:r=!1,start:n=!0,end:i=!0,encode:s=f=>f,delimiter:a="/#?",endsWith:l=""}=o,c=`[${ir(l)}]|$`,d=`[${ir(a)}]`;let g=n?"^":"";for(const f of e)if(typeof f=="string")g+=ir(s(f));else{const b=ir(s(f.prefix)),v=ir(s(f.suffix));if(f.pattern)if(t&&t.push(f),b||v)if(f.modifier==="+"||f.modifier==="*"){const p=f.modifier==="*"?"?":"";g+=`(?:${b}((?:${f.pattern})(?:${v}${b}(?:${f.pattern}))*)${v})${p}`}else g+=`(?:${b}(${f.pattern})${v})${f.modifier}`;else f.modifier==="+"||f.modifier==="*"?g+=`((?:${f.pattern})${f.modifier})`:g+=`(${f.pattern})${f.modifier}`;else g+=`(?:${b}${v})${f.modifier}`}if(i)r||(g+=`${d}?`),g+=o.endsWith?`(?=${c})`:"$";else{const f=e[e.length-1],b=typeof f=="string"?d.indexOf(f[f.length-1])>-1:f===void 0;r||(g+=`(?:${d}(?=${c}))?`),b||(g+=`(?=${d}|${c})`)}return new RegExp(g,a2(o))}function l2(e,t,o){return e instanceof RegExp?HE(e,t):Array.isArray(e)?BE(e,t,o):DE(e,t,o)}const p0={},_E=1e4;let h0=0;function IE(e,t){const{end:o=!1,strict:r=!1,sensitive:n=!1}=t,i=`${e}/${o.toString()}/${r.toString()}/${n.toString()}`,s=p0[i]||(p0[i]={});if(s[e])return s[e];const a=[],l=l2(e,a,t),c={keys:a,regexp:l};return h0<_E&&(s[e]=c,h0+=1),c}const NE=(e,t)=>{t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});const o=t,r=o.path,n=o.exact,i=n===void 0?!1:n,s=o.strict,a=s===void 0?!1:s,l=o.sensitive,c=l===void 0?!1:l;return[].concat(r).reduce(function(g,f){if(!f&&f!=="")return null;if(g)return g;const b=IE(f,{end:i,sensitive:c,strict:a}),v=b.regexp,p=b.keys,h=v.exec(e);if(!h)return null;const m=h[0],y=h.slice(1),C=e===m;return i&&!C?null:{isExact:C,params:p.reduce(function(A,S,M){return A[S.name]=y[M],A},{}),path:f,url:f==="/"&&m===""?"/":m}},null)},jE="referrer",XE={delete:[],get:[],patch:[],post:["/api/email_registration","/api/phone_registration","/api/auth/registration"],put:[]};class FE{constructor(){this.pluginType="request",this.pluginName="referrerRequestPlugin"}execute(t){return new Promise(o=>{const r=String(window.__fox_referrer__);r||o(t),t.params={...t.params,[jE]:r},o(t)})}getEndpoints(){return XE}isApplicable(t){var a;const{method:o,url:r=""}=t,n=o||"post";return((a=this.getEndpoints()[n])!=null?a:[]).some(l=>l===r||r&&NE(r,{exact:!0,path:l}))||t.withReferrer===!0}}const UE=new FE,VE=new PE,GE=new RE,qE=[VE,UE,GE];class JE{constructor(t,o){this.appOptions=null,this.api=t,this.eventName=o}async getCurrentAppOptions(){return this.appOptions?this.appOptions:await this.getAppOptions()}async getAppOptions(){const t=await this.api.get("/api/app_options");return this.appOptions=t.data,window&&window.dispatchEvent(new CustomEvent(this.eventName,{detail:t.data})),t.data}}class g0 extends Error{constructor(t,o){super(t),this.name="LogginError",this.cause=o==null?void 0:o.cause}}class WE extends Error{constructor(t,o){super(t),this.name="ConfirmationCodeRequestError",this.cause=o==null?void 0:o.cause}}class YE{constructor(t,o){this.api=t,this.appOptionsService=o}static createUser(t){return Tt.fromApi(t)}static createDefaultUser(){return Tt.createDefault()}async getUser(){try{const t=await this.api.get("/api/user/me").then(({data:r})=>r);return Tt.fromApi(t)}catch{return Tt.createDefault()}}async loginByEmail(t,o){const r=await this.api.post("/api/email_registration",{email:t,password:o}).then(({data:i})=>i),n=await this.getUser();return{result:r,user:n}}async getConfirmationCode(t){const o=await this.appOptionsService.getCurrentAppOptions();try{const r={phone:t,type:o.phoneConfirmationType};return await this.api.post("/api/phone_confirmation_codes",r)}catch(r){throw new WE("Ошибка получения кода подтверждения",{cause:r})}}async loginByPhone(t,o){const r=await this.appOptionsService.getCurrentAppOptions(),n=await this.api.post("/api/phone_check",{phone:t});if(n.data.state==="not_confirmed"&&n.data.fakeEmail===!1){let d="email";const g=await o.onEmailRequest(n.data);try{await this.api.post("/api/phone_check/verification",{check_method:d,email:g,phone:t,type:r.phoneConfirmationType})}catch{d="name"}try{if(d==="name"){const{first_name:f,last_name:b}=await o.onNameRequest();await this.api.post("/api/phone_check/verification",{check_method:"name",first_name:f,last_name:b,phone:t,type:r.phoneConfirmationType})}}catch(f){throw new g0("Ошибка авторизации",{cause:f})}}let i;try{i=await this.getConfirmationCode(t),o.onConfirmationCodeResponse(i.data)}catch(d){throw new g0("Ошибка авторизации",{cause:d})}if(!i)return;const s=await o.onCodeRequest();let a;try{a=(await this.api.post("/api/phone_confirmations",{code:s,phone:t})).data.verificationToken}catch(d){o.onConfirmationCodeError(d)}const l=await this.api.post("/api/phone_registration",{phone:t,phone_verification_token:a}).then(({data:d})=>d),c=await this.getUser();return{result:l,user:c}}async purchases({resourceId:t,resourceType:o}){if(t&&typeof t!="number")throw new Error("resourceId must be a number");if(o&&typeof o!="string")throw new Error("resourceType must be a string");const r=[];t&&r.push(`resource_id=${encodeURIComponent(t)}`),o&&r.push(`resource_type=${encodeURIComponent(o)}`);const n=r.length?`?${r.join("&")}`:"",{data:i}=await this.api.get(`/api/user/purchases${n}`);return i}signIn({redirectUrl:t=void 0}){if(t&&typeof t!="string")throw new Error("redirectUrl must be a string");let o=`${mE}/user/registration?redirect_url=`;t&&(o+=encodeURIComponent(document.location.href)),document.location.href=o}async signOut(t=!0){const o=await this.api.delete("/user/log_out");return t&&window.location.reload(),o}async signInAsPupil(t){const{data:o}=await this.api.post(`/family/pupils/${t}/sign_in`);return o}async signOutFromPupil(){const{data:t}=await this.api.delete("/family/pupils/sign_out");return t}async pushEvent(t){await this.api.post("/api/user/event",{event:t})}async setSubscriptions(t){await this.api.put("/api/user/communication_subscriptions",{communication_subscriptions:t})}async getUserInterests(){const{data:t}=await this.api.get("/api/user/user_interest");return t}async updateUserInterests(t){await this.api.put("/api/user/user_interest",{user_interest:f0(t)})}async updateMultipleUserInterests(t){await this.api.put("/api/user/user_interest",{user_interests:t.map(o=>f0(o))})}}let ua=null;function QE(){ua!=null||(ua=new kc)}function ZE(e){const t=qC.createFoxApiInstance({config:vE,plugins:[...qE,new TE(()=>({locale:"ru",notify:(...o)=>{console.warn("[navigation] капча:",...o)}}))]});return e&&(t.defaults.baseURL=e),t}const wt=(e,t={})=>({event:"analytics/TRACK_ANALYTICS_DATA",payload:{properties:t,trigger:`app.navigation.${e}`}}),to=(e,t={})=>({event:"analytics/TRACK_ANALYTICS_DATA",payload:{properties:t,trigger:`app.footer.${e}`}});function rn(e,t){return t!==void 0&&Object.hasOwn(e,t)?e[t]:void 0}const KE={ok:"Одноклассники",telegram:"Telegram",vk:"ВКонтакте",youtube:"YouTube"},$E={max:"Max",telegram:"Telegram"},eP={"digital-registry":"footer_digital_registry_clicked",license:"footer_license_clicked",policy:"footer_personal_processing_policy_clicked",skolkovo:"footer_skolkovo_link_clicked"},tP={"footer.city.close":({reason:e})=>e==="button"?wt("footer_geoposition_modal_close_clicked"):void 0,"footer.city.select":({item:e})=>wt("footer_geoposition_modal_city_clicked",{url:e==null?void 0:e.url}),"footer.contact.activate":({item:e,placement:t})=>{var o;if((e==null?void 0:e.id)==="sales-phone")return to("footer_new_phone_clicked");if((e==null?void 0:e.id)==="support-phone")return to("footer_phone_clicked");if((e==null?void 0:e.id)==="email")return to("footer_email_clicked");if(t==="support"&&["vkontakte","telegram","max"].includes((o=e==null?void 0:e.id)!=null?o:""))return to("footer_social_network_support_chat_clicked",{name:e==null?void 0:e.id})},"footer.download.activate":()=>to("download_app_clicked"),"footer.legal.activate":({item:e})=>{const t=rn(eP,e==null?void 0:e.id);return t===void 0?void 0:to(t)},"footer.menu.activate":({item:e})=>wt("footer_menu_item_clicked",{title:e==null?void 0:e.title,url:e==null?void 0:e.url}),"footer.onboarding.activate":()=>to("onboarding_button_clicked"),"footer.sales.activate":({item:e})=>{const t=rn($E,e==null?void 0:e.id);return t===void 0?void 0:to("footer_sales_link_clicked",{name:t})},"footer.social.activate":({item:e})=>{const t=rn(KE,e==null?void 0:e.id);return t===void 0?void 0:to("footer_social_network_clicked",{name:t})}},oP={bonuses:"bonuses",foxNavProfileMenuAchievements:"achievements",foxNavProfileMenuAttestation:"attestation",foxNavProfileMenuBonuses:"bonuses",foxNavProfileMenuCart:"cart",foxNavProfileMenuDigitalPortfolio:"digital_portfolio",foxNavProfileMenuElementaryPlan:"elementary_plan",foxNavProfileMenuExternshipElementary:"externship_elementary",foxNavProfileMenuFamily:"family",foxNavProfileMenuLaboratory:"laboratory",foxNavProfileMenuLogout:"logout",foxNavProfileMenuMyTrialExams:"my_trial_exams",foxNavProfileMenuObjectives:"objectives",foxNavProfileMenuPayments:"payments",foxNavProfileMenuProgress:"progress",foxNavProfileMenuPromosElementary:"promos_elementary",foxNavProfileMenuSettings:"settings",foxNavProfileMenuSocialization:"socialization",foxNavProfileMenuSocializationLanding:"socialization_landing","real-money":"real-money"},rP={cart:"cart",foxNavUserPanelCart:"cart",foxNavUserPanelCatalog:"catalog",foxNavUserPanelCourses:"elementary_courses",foxNavUserPanelExternship:"externship_elementary",foxNavUserPanelPlan:"plan",foxNavUserPanelReferrals:"referrals",foxNavUserPanelRoom:"elementary_room"},nP={"account.parent.select":"switch_to_parent_account_from_profile_menu","account.pupil.select":"switch_to_pupil_account_from_profile_menu","auth.login":"login_button_clicked","auth.logout":"logout_button_clicked","catalog.onboarding.activate":"menu_segment_list_onboarding_item_clicked","catalog.open":"menu_opened","catalog.promo.activate":"menu_segment_list_promo_item_clicked","externat.callback":"externat_callback_button_clicked","externat.free-access":"externat_free_access_button_clicked","footer.city.open":"footer_geoposition_clicked","logo.activate":"logo_clicked","onboarding.activate":"profile_menu_onboarding_button_clicked","profile.onboarding.activate":"profile_menu_item_onboarding_clicked","profile.open":"profile_menu_opened","profile.reviews.activate":"profile_menu_external_reviews_button_clicked"};function da({reason:e,type:t}){if(e==="escape")return wt("menu_closed_by_esc_button_clicked");if(t==="pupil-menu.close")return e==="outside"?wt("pupil_select_menu_closed"):void 0;if(!(e!=="toggle"&&e!=="button"&&e!=="outside"))return wt(t==="catalog.close"?"menu_closed":"profile_menu_closed")}const iP={"catalog.close":da,"catalog.item.activate":({item:e,list:t,segment:o})=>wt("menu_segment_list_item_clicked",{itemName:e==null?void 0:e.title,itemUrl:e==null?void 0:e.url,listName:t==null?void 0:t.title,segmentName:o==null?void 0:o.title}),"catalog.list-title.activate":({list:e,segment:t})=>wt("menu_segment_list_title_clicked",{listName:e==null?void 0:e.title,listTitleUrl:e==null?void 0:e.url,segmentName:t==null?void 0:t.title}),"catalog.segment.select":({segment:e})=>{if(!(typeof(e==null?void 0:e.sourceId)!="number"||!Number.isFinite(e.sourceId)))return wt("menu_segment_selected",{id:e.sourceId,title:e.title,url:e.url})},"catalog.segment-title.activate":({item:e,segment:t})=>wt("menu_segment_title_clicked",{segmentContentTitle:e==null?void 0:e.title,segmentContentTitleUrl:e==null?void 0:e.url,segmentName:t==null?void 0:t.title}),"one-click.activate":({item:e})=>wt("oneclick_menu_item_clicked",{title:e==null?void 0:e.title,url:e==null?void 0:e.url}),"profile.close":da,"profile.item.activate":({item:e})=>{const t=rn(oP,e==null?void 0:e.id);return t===void 0?void 0:wt("profile_menu_item_clicked",{name:t})},"pupil-menu.close":da,"support.open":()=>({event:"analytics/TRACK_ANALYTICS_DATA_V2",payload:{eventCategory:"page",eventDataObject:void 0,eventLabel:"header-support-button",eventType:"click",eventValue:"open-modal"}}),"user-panel.activate":({item:e},t)=>{let o=rn(rP,e==null?void 0:e.id);return(e==null?void 0:e.id)==="foxNavUserPanelCalendar"&&(o=t.elementary?"elementary_calendar":"calendar"),(e==null?void 0:e.id)==="foxNavUserPanelDashboard"&&(o=t.elementary?"elementary_dashboard":t.teacher?"teacher_dashboard":void 0),o===void 0?void 0:wt("user_panel_item_clicked",{pageId:o,url:e==null?void 0:e.url})}};function sP(e,t={}){var n;const o=nP[e.type];if(o!==void 0)return wt(o);const r=(n=iP[e.type])!=null?n:tP[e.type];return r==null?void 0:r(e,t)}function aP(e){var t,o;if(!(typeof window>"u"))try{const r=window;if(((t=r.app_options)==null?void 0:t.prerender)===!0)return;const n=(o=r.dataLayer)!=null?o:r.dataLayer=[];n.push({event:null,payload:null}),n.push(e)}catch{}}function lP(e,t){try{const o=t===void 0?void 0:Tt.fromApi(t),r={elementary:o==null?void 0:o.isElementaryPupil,teacher:o==null?void 0:o.isAgent},n=sP(e,r);n!==void 0&&aP(n)}catch{}}class cP{constructor(){this.length=0,this.data={}}key(t){var r;const o=Object.keys(this.data);return t>=0&&t<o.length&&(r=o[t])!=null?r:null}getItem(t){return this.data.hasOwnProperty(t)?this.data[t]:null}setItem(t,o){return this.length++,this.data[t]=String(o)}removeItem(t){return this.length--,delete this.data[t]}clear(){return this.data={}}}const m0="__test";function b0(e){try{const t=window[e];return t.setItem(m0,"1"),t.removeItem(m0),!0}catch{return!1}}function v0(e="localStorage"){const t=String(e).replace(/storage$/i,"").toLowerCase();if(t==="local")return b0("localStorage");if(t==="session")return b0("sessionStorage");if(t==="memory")return!0;throw new Error(`Storage method \`${e}\` is not available.
|
|
1197
|
+
Please use one of the following: localStorage, sessionStorage, cookieStorage, memoryStorage.`)}const zt=class zt{constructor(t){var o;t!=null&&t.storage?this.storage=t.storage:v0("localStorage")?this.storage=window.localStorage:v0("sessionStorage")?this.storage=window.sessionStorage:this.storage=new cP,this.logger=(o=t==null?void 0:t.logger)!=null?o:console}getJson(t){const o=this.getItem(t);if(o==null)return null;try{return JSON.parse(o)}catch(r){return this.logger.error(r,{key:t}),this.removeItem(t),{}}}setJson(t,o,r){if(o===void 0)throw new Error("Cannot set undefined value as JSON!");return this.setItem(t,JSON.stringify(o),r||0)}setItem(t,o,r){this.storage.setItem(t,o),r!=null&&r>0&&this.updateExpiration(t,r)}getItem(t){return this.isExpired(t)?(this.removeItem(t),null):this.storage.getItem(t)}peek(t){const o={isExpired:!1,timeLeft:this.getTimeLeft(t),value:this.storage.getItem(t)};return o.isExpired=o.timeLeft!==null&&o.timeLeft<=0,o}getTimeLeft(t){const o=this.storage.getItem(zt.EXP_KEY_PREFIX+t),r=o?parseInt(o):NaN;return r>0&&!isNaN(r)?r-zt.getTimestamp():null}isExpired(t){const o=this.getTimeLeft(t);return o!==null&&o<=0}updateExpiration(t,o){this.storage.setItem(zt.EXP_KEY_PREFIX+t,`${zt.getTimestamp()+o}`)}removeItem(t){this.storage.removeItem(t),this.storage.removeItem(zt.EXP_KEY_PREFIX+t)}keys(t){const o=[],r=this;return this.iterKeys(n=>{n!=null&&n.indexOf(zt.EXP_KEY_PREFIX)!==0&&(t||!r.isExpired(n))&&o.push(n)}),o}iterKeys(t){if(typeof Object=="function"&&Object.keys){const o=Object.keys(this.storage);for(let r=0;r<o.length;++r)t(o[r])}else if(this.storage.length!==void 0&&typeof this.storage.key=="function"){const o=[];for(let r=0,n=Number(this.storage.length);r<n;++r){const i=this.storage.key(r);i&&o.push(i)}for(let r=0;r<o.length;++r)t(o[r])}else Object.keys(this.storage).forEach(o=>t(o))}clear(){this.storage.clear()}clearExpired(){const t=[],o=this;return this.iterKeys(r=>{if(r!=null&&r.indexOf(zt.EXP_KEY_PREFIX)===0){const n=r.substr(zt.EXP_KEY_PREFIX.length);o.isExpired(n)&&(o.removeItem(n),t.push(n))}}),t}};zt.EXP_KEY_PREFIX="__expired_storage_ts__",zt.getTimestamp=()=>Math.floor(new Date().getTime()/1e3);let Ac=zt;const fa=Symbol.for("foxford.navigation.session-storage.v1");function Fu(){var t;if(typeof window>"u")return;const e=window;return(t=e[fa])!=null?t:e[fa]=new Ac}const pa=Symbol.for("foxford.navigation.logout-channel.v1"),uP="service.logout-service";function Uu(){var t;if(typeof window>"u")return;const e=window;return(t=e[pa])!=null?t:e[pa]={listeners:new Set,refs:0}}function Ni(e){console.error("[navigation] logout channel:",e)}function dP(e){if(!e.channel)try{const t=hE(uP);t.addEventListener("message",o=>{if(o==="refresh"){for(const r of e.listeners)try{r(o)}catch(n){Ni(n)}window.location.reload()}}),e.channel=t}catch(t){Ni(t)}}async function c2(e){var o,r;const t=Vu();try{await((r=(o=Uu())==null?void 0:o.channel)==null?void 0:r.postMessage(e))}catch(n){Ni(n)}finally{t()}}function Sc(e){var t;try{(t=Fu())==null||t.setItem("userId",e===null?"":String(e))}catch{}}function u2(e){var t,o;if(!(typeof window>"u"))try{const r=Number.parseInt((o=(t=Fu())==null?void 0:t.getItem("userId"))!=null?o:"",10)||null;if(r===e)return;Sc(e),r!==null&&c2("refresh")}catch{}}function Vu(e){const t=Uu();if(!t)return()=>{};t.refs+=1,dP(t),e!==void 0&&u2(e);let o=!1;return()=>{if(!o&&(o=!0,t.refs-=1,t.refs===0)){const r=t.channel;t.channel=void 0,r==null||r.close().catch(Ni)}}}function fP(e){const t=Uu(),o=Vu();return t==null||t.listeners.add(e),()=>{t==null||t.listeners.delete(e),o()}}const Gr={connect:Vu,postMessage:c2,subscribe:fP,syncUser:u2},d2="__identifier__",ji=Symbol("ReactiveState");function vr(e){if(!Array.isArray(e))throw new Error("Path must be an array");if(e.some(t=>typeof t!="string"||t.length===0))throw new Error("Path segments must be non-empty strings")}function pP(e,t){return vr(t),t.length===0?e:t.reduce((o,r)=>{if(!(o===null||typeof o>"u"))return o[r]},e)}function hP(e,t,o){if(vr(t),t.length===0)return o;const r=Array.isArray(e)?[...e]:{...e};let n=r;for(let s=0;s<t.length-1;s++){const a=t[s],l=t[s+1];if(typeof a>"u"||typeof l>"u")throw new Error("Path segments should not be undefined");const c=!isNaN(parseInt(l,10));n[a]=gP(n[a],c),n=n[a]}const i=t[t.length-1];return typeof i<"u"&&(n[i]=o),r}function gP(e,t){return Array.isArray(e)?[...e]:typeof e=="object"&&e!==null?{...e}:t?[]:{}}function Xi(e,t){for(let o in e)t(e[o],o)}function _t(e,t){e.forEach(t)}function lo(e,t){if(!e)throw Error(t)}function co({node:e=[],from:t,source:o,parent:r=t||o,to:n,target:i,child:s=n||i,scope:a={},meta:l={},family:c={type:"regular"},regional:d}={}){let g=Kn(r),f=Kn(c.links),b=Kn(c.owners),v=[];_t(e,(h=>h&&Xt(v,h)));let p={id:SP(),seq:v,next:Kn(s),meta:l,scope:a,family:{type:c.type||"crosslink",links:f,owners:b}};return _t(f,(h=>Xt(gs(h),p))),_t(b,(h=>Xt(ms(h),p))),_t(g,(h=>Xt(h.next,p))),p}function ko(e,t,o){let r,n=no,i=null,s=Be;if(e.target&&(t=e.params,o=e.defer,r=e.meta,n="page"in e?e.page:n,e.stack&&(i=e.stack),s=Io(e)||s,e=e.target),s&&Be&&s!==Be&&(Be=null),Array.isArray(e))for(let v=0;v<e.length;v++)zo("pure",n,Gt(e[v]),i,t[v],s,r);else zo("pure",n,Gt(e),i,t,s,r);if(o&&!$n)return;let a,l,c,d,g,f,b={isRoot:$n,currentPage:no,scope:Be,isWatch:mi,isPure:bi};$n=0;e:for(;d=LP();){let{idx:v,stack:p,type:h}=d;c=p.node,no=g=p.page,Be=Io(p),g?f=g.reg:Be&&(f=Be.reg);let m=!!g,y=!!Be,C={fail:0,scope:c.scope};a=l=0;for(let A=v;A<c.seq.length&&!a;A++){let S=c.seq[A];if(S.order){let{priority:M,barrierID:H}=S.order,I=H?g?`${g.fullID}_${H}`:H:0;if(A!==v||h!==M){H?ha.has(I)||(ha.add(I),Cc(A,p,M,H)):Cc(A,p,M);continue e}H&&ha.delete(I)}switch(S.type){case"mov":{let H,I=S.data;switch(I.from){case Fi:H=hi(p);break;case"a":case"b":H=p[I.from];break;case"value":H=I.store;break;case"store":if(f&&!f[I.store.id])if(m){let W=w2(g,I.store.id);p.page=g=W,W?f=W.reg:y?(Tr(Be,I.store,0,1,I.softRead),f=Be.reg):f=void 0}else y&&Tr(Be,I.store,0,1,I.softRead);H=x2(f&&f[I.store.id]||I.store)}switch(I.to){case Fi:p.value=H;break;case"a":case"b":p[I.to]=H;break;case"store":IP(g,Be,c,I.target).current=H}break}case"compute":let M=S.data;if(M.fn){mi=kt(c,"op")==="watch",bi=M.pure;let H=M.safe?(0,M.fn)(hi(p),C.scope,p):jP(C,M.fn,p);M.filter?l=!H:p.value=H,mi=b.isWatch,bi=b.isPure}}a=C.fail||l}if(!a){let A=hi(p),S=Io(p);if(_t(c.next,(M=>{zo("child",g,M,p,A,S)})),S){kt(c,"needFxCounter")&&zo("child",g,S.fxCount,p,A,S),kt(c,"storeChange")&&zo("child",g,S.storeChange,p,A,S),kt(c,"warnSerialize")&&zo("child",g,S.warnSerializeNode,p,A,S);let M=S.additionalLinks[c.id];M&&_t(M,(H=>{zo("child",g,H,p,A,S)}))}}}$n=b.isRoot,no=b.currentPage,Be=Io(b)}function mP(e,t){let o,r,n=e;if(t){let i=wP(t);e.length===0?(o=i.path,r=i.fullName):(o=i.path.concat([e]),r=i.fullName.length===0?e:i.fullName+"/"+e)}else o=e.length===0?[]:[e],r=e;return{shortName:n,fullName:r,path:o}}function nn(e,...t){}function Ao(e,t){let o=So({or:t,and:typeof e=="string"?{name:e}:e}),r=(s,...a)=>(Pr(!kt(r,"derived"),"call of derived event","createEvent"),Pr(!bi,"unit call from pure function","operators like sample"),no?((l,c,d,g)=>{let f=no;A0(null);let v=l.create(d,g);return A0(f),v})(r,n,s,a):r.create(s,a)),n=EP(),i=Object.assign(r,{graphite:co({meta:Qu(o.actualOp||"event",r,o),regional:1}),create:s=>(ko({target:r,params:s,scope:Be}),s),watch:s=>A2(r,s),map:s=>ga(r,vn,s,[dr()]),filter:s=>ga(r,"filter",s.fn?s:s.fn,[dr(qu,1)]),filterMap:s=>ga(r,"filterMap",s,[dr(),Fo((a=>!ur(a)),1)]),prepend(s){let a=Ao("* → "+r.shortName,{parent:uo(r)});return nn("eventPrepend",Gt(a)),Dn(a,r,[dr()],"prepend",s),XP(r,a),a}});return o!=null&&o.domain&&o.domain.hooks.event(i),vo(i,"id",i.graphite.id),b2(i.graphite),i}function y0(e,t,o,r){return RP(o,t,"first argument"),lo(Ft(r),"second argument should be a function"),Pr(!kt(e,"derived"),`${t} in derived store`,`${t} in store created via createStore`),_t(Array.isArray(o)?o:[o],(n=>{e.off(n),Vi(e).set(n,k2(S2(n,e,"on",MP,r)))})),e}function bn(e,t){let o=So(t),r=BP(e),n=Ao({named:"updates",derived:1});nn("storeBase",r);let i=r.id,s={subscribers:new Map,updates:n,defaultState:e,stateRef:r,getState(){let b,v=r;if(no){let p=no;for(;p&&!p.reg[i];)p=uo(p);p&&(b=p)}return!b&&Be&&(Tr(Be,r,1),b=Be),b&&(v=b.reg[i]),x2(v)},setState:b=>ko({target:s,params:b,defer:1,scope:Be}),reset:(...b)=>(_t(b,(v=>y0(s,".reset",v,(()=>s.defaultState)))),s),on:(b,v)=>y0(s,".on",b,v),off(b){let v=Vi(s).get(b);return v&&(v(),Vi(s).delete(b)),s},map(b,v){let p,h;$o(b)&&(p=b,b=b.fn),Pr(ur(v),"second argument of store.map","updateFilter");let m=s.getState();ur(m)||(h=b(m,v));let y=bn(h,{name:`${s.shortName} → *`,derived:1,and:p}),C=S2(s,y,vn,w0,b);return DP(Ui(y),{type:vn,fn:b,from:r}),Ui(y).noInit=1,nn("storeMap",r,C),y},watch(b,v){if(!v||!Gu(b)){let p=A2(s,b);return nn("storeWatch",r,b)||b(s.getState()),p}return lo(Ft(v),"second argument should be a function"),b.watch((p=>v(s.getState(),p)))}},a=Qu("store",s,o),l=s.defaultConfig.updateFilter;s.graphite=co({scope:{state:r,fn:l},node:[Fo(((b,v,p)=>(p.scope&&!p.scope.reg[r.id]&&(p.b=1),b))),HP(r),Fo(((b,v,{a:p,b:h})=>!ur(b)&&(b!==p||h)),1),l&&dr(w0,1),vs({from:Fi,target:r})],child:n,meta:{...a,defaultState:e},regional:1}),vo(s,"id",s.graphite.id),vo(s,"rootStateRefId",i);let c=kt(s,"serialize"),d=kt(s,"derived"),g=c==="ignore",f=kt(s,"sid");return f&&(vo(s,"storeChange",1),r.sid=f),f||g||d||vo(s,"warnSerialize",1),lo(d||!ur(e),"current state can't be undefined, use null instead"),Gi(s,[n]),o!=null&&o.domain&&o.domain.hooks.store(s),d||(s.reinit=Ao({named:"reinit"}),s.reset(s.reinit)),r.meta=s.graphite.meta,b2(s.graphite),s}function f2(){let e={};return e.req=new Promise(((t,o)=>{e.rs=t,e.rj=o})),e.req.catch((()=>{})),e}function bP(e,t={}){let o=So(Ft(e)?{handler:e}:e,t),r=Ao(Ft(e)?{handler:e}:e,{...t,actualOp:"effect"}),n=Gt(r);vo(n,"op",r.kind="effect"),r.use=b=>(lo(Ft(b),".use argument should be a function"),d.scope.handler=b,r),r.use.getCurrent=()=>d.scope.handler;let i=r.finally=Ao({named:"finally",derived:1}),s=r.done=i.filterMap({named:"done",fn({status:b,params:v,result:p}){if(b==="done")return{params:v,result:p}}}),a=r.fail=i.filterMap({named:"fail",fn({status:b,params:v,error:p}){if(b==="fail")return{params:v,error:p}}}),l=r.doneData=s.map({named:"doneData",fn:({result:b})=>b}),c=r.failData=a.map({named:"failData",fn:({error:b})=>b}),d=co({scope:{handler:r.defaultConfig.handler||(()=>lo(0,`no handler used in ${r.getType()}`))},node:[Fo(((b,v,p)=>{let h=v.handler,m=Io(p);if(m){let y=m.handlers.unitMap.get(r)||m.handlers.sidMap[r.sid];y&&(h=y)}return b.handler=h,b}),0,1),Fo((({params:b,req:v,handler:p,args:h=[b]},m,y)=>{let C=UP(y),A=C0(b,v,1,i,y,C),S=C0(b,v,0,i,y,C),[M,H]=FP(p,S,h);M&&($o(H)&&Ft(H.then)?H.then(A,S):A(H))}),0,1)],meta:{op:"fx",fx:"runner"}});n.scope.runner=d,Xt(n.seq,Fo(((b,{runner:v},p)=>{let h=uo(p)?{params:b,req:{rs(m){},rj(m){}}}:b;return p.meta||(p.meta={fxID:CP()}),ko({target:v,params:h,defer:1,scope:Io(p),meta:p.meta}),h.params}),0,1)),r.create=b=>{let v=f2(),p={params:b,req:v};if(Be&&!mi){let h=Be;v.req.finally((()=>{_P(h)})).catch((()=>{}))}return ko({target:r,params:p,scope:Be}),v.req};let g=r.inFlight=bn(0,{serialize:"ignore",named:(kt(r,"name")||r.graphite.id)+".inFlight"}).on(r,(b=>b+1)).on(i,(b=>b-1)).map({fn:b=>b,named:"inFlight"});vo(i,"needFxCounter","dec"),vo(r,"needFxCounter",1);let f=r.pending=g.map({fn:b=>b>0,named:"pending"});return Gi(r,[i,s,a,l,c,f,g]),o!=null&&o.domain&&o.domain.hooks.effect(r),r}function p2(e,t){let o=So({or:t,and:typeof e=="string"?{name:e}:e}),r=co({family:{type:"domain"},regional:1,parent:(o==null?void 0:o.domain)||(o==null?void 0:o.parent)}),n={history:{},graphite:r,hooks:{}};r.meta=Qu("domain",n,{parent:(o==null?void 0:o.domain)||(o==null?void 0:o.parent),or:o}),Xi({Event:Ao,Effect:bP,Store:bn,Domain:p2},((s,a)=>{let l=a.toLowerCase(),c=Ao({named:`on${a}`});n.hooks[l]=c;let d=new Set;n.history[`${l}s`]=d,c.create=g=>(ko(c,g),g),Xt(Gt(c).seq,Fo(((g,f,b)=>(b.scope=null,g)))),c.watch((g=>{Gi(n,[g]),d.add(g),g.ownerSet||(g.ownerSet=d),uo(g)||(g.parent=n)})),Gi(n,[c]),n[`onCreate${a}`]=g=>(_t(d,g),c.watch(g)),n[`create${a}`]=n[l]=(g,f)=>{let b=So({and:f,or:g});return b!=null&&b.domain?s(g,f):c(s(g,{parent:n,or:b}))}}));let i=uo(n);return i&&Xi(n.hooks,((s,a)=>Dn(s,i.hooks[a]))),o!=null&&o.domain&&o.domain.hooks.domain(n),n}function vP(e,t,o){if(yn(e))return Pr(0,"restore($store)"),e;if(h2(e)||xn(e)){let n=uo(e),i=bn(t,{parent:n,name:e.shortName,and:o});return Dn(xn(e)?e.doneData:e,i),n&&n.hooks.store(i),i}let r=Array.isArray(e)?[]:{};return Xi(e,((n,i)=>r[i]=yn(n)?n:bn(n,{name:i}))),r}function yP(e,{scope:t,safe:o}={}){lo(t||Be||o,"scopeBind cannot be called outside of forked .watch");let r=t||Be;return xn(e)?n=>{let i=f2();return ko({target:e,params:{params:n,req:i},scope:r}),i.req}:n=>(ko({target:e,params:n,scope:r}),n)}let xP=typeof Symbol<"u"&&Symbol.observable||"@@observable",vn="map",Fi="stack",Gt=e=>e.graphite||e,gs=e=>e.family.owners,ms=e=>e.family.links,Ui=e=>e.stateRef,hi=e=>e.value,Vi=e=>e.subscribers,uo=e=>e.parent,Io=e=>e.scope,kt=(e,t)=>Gt(e).meta[t],vo=(e,t,o)=>Gt(e).meta[t]=o,wP=e=>e.compositeName,Gu=e=>(Ft(e)||$o(e))&&"kind"in e;const Bn=e=>t=>Gu(t)&&t.kind===e;let yn=Bn("store"),h2=Bn("event"),xn=Bn("effect"),g2=Bn("domain"),kP=Bn("scope");var Jr={__proto__:null,unit:Gu,store:yn,event:h2,effect:xn,domain:g2,scope:kP,attached:e=>xn(e)&&kt(e,"attached")==1};let gi=(e,t)=>{let o=e.indexOf(t);o!==-1&&e.splice(o,1)},Xt=(e,t)=>e.push(t),Pr=(e,t,o)=>!e&&console.error(`${t} is deprecated${o?`, use ${o} instead`:""}`);const bs=()=>{let e=0;return()=>""+ ++e};let AP=bs(),m2=bs(),SP=bs(),CP=bs(),OP=null,b2=e=>{},EP=()=>OP,PP=e=>e,Gi=(e,t)=>{let o=Gt(e);_t(t,(r=>{let n=Gt(r);o.family.type!=="domain"&&(n.family.type="crosslink"),Xt(gs(n),o),Xt(ms(o),n)}))},Kn=(e=[])=>(Array.isArray(e)?e:[e]).flat().map(Gt),$o=e=>typeof e=="object"&&e!==null,Ft=e=>typeof e=="function",ur=e=>e===void 0,TP=e=>lo($o(e)||Ft(e),"expect first argument be an object");const x0=(e,t,o,r)=>lo(!(!$o(e)&&!Ft(e)||!("family"in e)&&!("graphite"in e)),`${t}: expect ${o} to be a unit (store, event or effect)${r}`);let RP=(e,t,o)=>{Array.isArray(e)?_t(e,((r,n)=>x0(r,t,`${n} item of ${o}`,""))):x0(e,t,o," or array of units")},w0=(e,{fn:t},{a:o})=>t(e,o),MP=(e,{fn:t},{a:o})=>t(o,e),qu=(e,{fn:t})=>t(e);const v2=(e,t,o,r)=>{let n={id:m2(),type:e,data:t};return o&&(n.order={priority:o},r&&(n.order.barrierID=++zP)),n};let zP=0,vs=({from:e="store",store:t,target:o,to:r=o?"store":Fi,batch:n,priority:i})=>v2("mov",{from:e,store:t,to:r,target:o},i,n),wn=({fn:e,batch:t,priority:o,safe:r=0,filter:n=0,pure:i=0})=>v2("compute",{fn:e,safe:r,filter:n,pure:i},o,t),Ju=({fn:e})=>wn({fn:e,priority:"effect"}),Fo=(e,t,o)=>wn({fn:e,safe:1,filter:t,priority:o&&"effect"}),HP=(e,t,o)=>vs({store:e,to:"a",priority:o,batch:1}),dr=(e=qu,t)=>wn({fn:e,pure:1,filter:t}),y2={mov:vs,compute:wn,filter:({fn:e,pure:t})=>wn({fn:e,filter:1,pure:t}),run:Ju},BP=e=>({id:m2(),current:e}),x2=({current:e})=>e,DP=(e,t)=>{e.before||(e.before=[]),Xt(e.before,t)},fr=null;const Wu=(e,t)=>{if(!e)return t;if(!t)return e;let o;return(e.v.type===t.v.type&&e.v.id>t.v.id||Oc(e.v.type)>Oc(t.v.type))&&(o=e,e=t,t=o),o=Wu(e.r,t),e.r=e.l,e.l=o,e},Yu=[];let k0=0;for(;k0<6;)Xt(Yu,{first:null,last:null,size:0}),k0+=1;const LP=()=>{for(let e=0;e<6;e++){let t=Yu[e];if(t.size>0){if(e===3||e===4){t.size-=1;let r=fr.v;return fr=Wu(fr.l,fr.r),r}t.size===1&&(t.last=null);let o=t.first;return t.first=o.r,t.size-=1,o.v}}},zo=(e,t,o,r,n,i,s)=>Cc(0,{a:null,b:null,node:o,parent:r,value:n,page:t,scope:i,meta:s},e),Cc=(e,t,o,r=0)=>{let n=Oc(o),i=Yu[n],s={v:{idx:e,stack:t,type:o,id:r},l:null,r:null};n===3||n===4?fr=Wu(fr,s):(i.size===0?i.first=s:i.last.r=s,i.last=s),i.size+=1},Oc=e=>{switch(e){case"child":return 0;case"pure":return 1;case"read":return 2;case"barrier":return 3;case"sampler":return 4;case"effect":return 5;default:return-1}},ha=new Set;let Be,$n=1,mi=0,bi=0,no=null,_P=e=>{Be=e},A0=e=>{no=e};const w2=(e,t)=>{if(e){for(;e&&!e.reg[t];)e=uo(e);if(e)return e}return null};let IP=(e,t,o,r,n)=>{let i=w2(e,r.id);return i?i.reg[r.id]:t?(Tr(t,r,n),t.reg[r.id]):r};const NP=e=>e;let Tr=(e,t,o,r,n)=>{var i;let s=e.reg,a=t.sid,l=t==null||(i=t.meta)===null||i===void 0?void 0:i.serialize,c=e.fromSerialize&&l!=="ignore"&&(l==null?void 0:l.read)||NP;if(s[t.id])return;let d={id:t.id,current:t.current,meta:t.meta};if(d.id in e.values.idMap)d.current=e.values.idMap[d.id];else if(a&&a in e.values.sidMap&&!(a in e.sidIdMap))d.current=c(e.values.sidMap[a]);else if(t.before&&!n){let g=0,f=o||!t.noInit||r;_t(t.before,(b=>{switch(b.type){case vn:{let v=b.from;if(v||b.fn){v&&Tr(e,v,o,r);let p=v&&s[v.id].current;f&&(d.current=b.fn?b.fn(p):p)}break}case"field":g||(g=1,d.current=Array.isArray(d.current)?[...d.current]:{...d.current}),Tr(e,b.from,o,r),f&&(d.current[b.field]=s[s[b.from.id].id].current)}}))}a&&(e.sidIdMap[a]=t.id),s[t.id]=d};const jP=(e,t,o)=>{try{return t(hi(o),e.scope,o)}catch(r){console.error(r),e.fail=1,e.failReason=r}};let So=(e,t={})=>($o(e)&&(So(e.or,t),Xi(e,((o,r)=>{ur(o)||r==="or"||r==="and"||(t[r]=o)})),So(e.and,t)),t);const S0=(e,t)=>{gi(e.next,t),gi(gs(e),t),gi(ms(e),t)},Ec=(e,t,o)=>{let r;e.next.length=0,e.seq.length=0,e.scope=null;let n=ms(e);for(;r=n.pop();)S0(r,e),(t||o&&kt(e,"op")!=="sample"||r.family.type==="crosslink")&&Ec(r,t,kt(r,"op")!=="on"&&o);for(n=gs(e);r=n.pop();)S0(r,e),o&&r.family.type==="crosslink"&&Ec(r,t,kt(r,"op")!=="on"&&o)},qr=e=>e.clear();let qi=(e,{deep:t}={})=>{let o=0;if(e.ownerSet&&e.ownerSet.delete(e),yn(e))qr(Vi(e));else if(g2(e)){o=1;let r=e.history;qr(r.events),qr(r.effects),qr(r.stores),qr(r.domains)}Ec(Gt(e),!!t,o)},k2=e=>{let t=()=>qi(e);return t.unsubscribe=t,t},Dn=(e,t,o,r,n)=>co({node:o,parent:e,child:t,scope:{fn:n},meta:{op:r},family:{owners:[e,t],links:t},regional:1}),A2=(e,t)=>(lo(Ft(t),".watch argument should be a function"),k2(co({scope:{fn:t},node:[Ju({fn:qu})],parent:e,meta:{op:"watch"},family:{owners:e},regional:1}))),XP=(e,t,o="event")=>{uo(e)&&uo(e).hooks[o](t)},Qu=(e,t,o)=>{let r=So(o),n=e==="domain",i=AP(),{sid:s=null,named:a=null,domain:l=null,parent:c=l}=r,d=a||r.name||(n?"":i),g=mP(d,c),f={op:t.kind=e,name:t.shortName=d,sid:t.sid=PP(s),named:a,unitId:t.id=i,serialize:r.serialize,derived:r.derived,config:r};return t.parent=c,t.compositeName=g,t.defaultConfig=r,t.thru=b=>(Pr(0,"thru","js pipe"),b(t)),t.getType=()=>g.fullName,!n&&(t.subscribe=b=>(TP(b),t.watch(Ft(b)?b:v=>b.next&&b.next(v))),t[xP]=()=>t),f};const ga=(e,t,o,r)=>{let n;$o(o)&&(n=o,o=o.fn);let i=Ao({name:`${e.shortName} → *`,derived:1,and:n});return Dn(e,i,r,t,o),i},S2=(e,t,o,r,n)=>{let i=Ui(t),s=vs({store:i,to:"a",priority:"read"});o===vn&&(s.data.softRead=1);let a=[s,dr(r)];return nn("storeOnMap",i,a,yn(e)&&Ui(e)),Dn(e,t,a,o,n)};let FP=(e,t,o)=>{try{return[1,e(...o)]}catch(r){return t(r),[0,null]}},UP=e=>{let t=Io(e),o={ref:t};return t&&Xt(t.activeEffects,o),o},C0=(e,t,o,r,n,i)=>s=>{i.ref&&gi(i.ref.activeEffects,i),ko({target:[r,VP],params:[o?{status:"done",params:e,result:s}:{status:"fail",params:e,error:s},{value:s,fn:o?t.rs:t.rj}],defer:1,page:n.page,scope:i.ref,meta:n.meta})};const VP=co({node:[Ju({fn:({fn:e,value:t})=>e(t)})],meta:{op:"fx",fx:"sidechain"}});class Ji{constructor(t){this.effectorStore=t}getState(){return this.effectorStore.getState()}watch(t){return this.effectorStore.watch(t)}map(t){const o=this.effectorStore.map(t);return new Ji(o)}getOriginalStore(){return this.effectorStore}}class GP{constructor(t){this.mappedStoreByPath=new Map,this.subscriptionsRegistry=new Set,this.rootStoreAdapter=null,this.createdEffectorStores=new Set,this.isDestroyed=!1;const o=p2();this.put=o.createEvent(),this.store=vP(this.put,t)}assertNotDestroyed(){if(this.isDestroyed)throw new Error("EffectorValue instance has been destroyed and cannot be used")}getRootStoreAdapter(){return this.assertNotDestroyed(),this.rootStoreAdapter||(this.rootStoreAdapter=new Ji(this.store)),this.rootStoreAdapter}createMappedStore(t,o){this.assertNotDestroyed();const n=(o?o.getOriginalStore():this.store).map(t);return this.createdEffectorStores.add(n),new Ji(n)}getNestedValue(t){return this.assertNotDestroyed(),pP(this.store.getState(),t)}setNestedValue(t,o){if(this.assertNotDestroyed(),vr(t),t.length===0){this.put(o);return}const r=this.store.getState();if(typeof r!="object"||r===null)throw new Error("Cannot set nested value: current state is not an object");const n=hP(r,t,o);this.put(n)}subscribe(t,o){this.assertNotDestroyed();let r;o?Array.isArray(o)?(vr(o),r=this.getStore(o)):r=o:r=this.getRootStoreAdapter();const n=r.watch(t);return this.subscriptionsRegistry.add(n),()=>{n(),this.subscriptionsRegistry.delete(n)}}get(){return this.assertNotDestroyed(),this.store.getState()}set(t){return this.assertNotDestroyed(),this.put(t),this.get()}getStore(t=[]){if(this.assertNotDestroyed(),vr(t),t.length===0)return this.getRootStoreAdapter();const o=t.join("."),r=this.mappedStoreByPath.get(o);if(r)return r;const n=this.createMappedStore(i=>{let s=i;for(const a of t){if(s==null||typeof s!="object")return;s=s[a]}return s});return this.mappedStoreByPath.set(o,n),n}destroy(){this.isDestroyed||(this.subscriptionsRegistry.forEach(t=>t()),this.subscriptionsRegistry.clear(),this.createdEffectorStores.forEach(t=>{try{qi(t)}catch(o){console.warn("Failed to clear Effector store:",o)}}),this.createdEffectorStores.clear(),this.mappedStoreByPath.clear(),this.rootStoreAdapter=null,this.isDestroyed=!0)}isDisposed(){return this.isDestroyed}}const Wi={builtIn(e){if(e==null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null)return!1;const o=t.constructor.name;return!!(["Error","Date","RegExp","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","WeakMap","WeakSet","ArrayBuffer","DataView","Date","RegExp","Map","Set","Function","Promise"].includes(o)||typeof e=="function"||e instanceof Error||e instanceof Date||e instanceof RegExp)},object(e){return typeof e=="object"&&e!==null},primitive(e){return e!==Object(e)},reactiveValue(e){return!e||typeof e!="object"||this.builtIn(e)?!1:e[d2]===ji}};function qP(e,t,o,r){const{propertyProxyCache:n}=r;let i=n.get(e);if(i||(i=new Map,n.set(e,i)),i.has(t))return i.get(t);const{isMapped:s}=o,a=s?JP(t,o,r):WP(t,o,r);return i.set(t,a),a}function JP(e,t,o){const{mappedStoreById:r,providerValue:n,createNestedValue:i}=o,{mapperId:s}=t,a=r.get(s);if(!a)throw new Error(`Source mapped store with id ${s} not found for key "${e}"`);const l=g=>Wi.object(g)&&Object.prototype.hasOwnProperty.call(g,e)?g[e]:void 0,c=n.createMappedStore(l,a),d=`${s}_prop_${e}`;return r.set(d,c),i({getStore:()=>c,isMapped:!0,mapperId:d,path:[]})}function WP(e,t,o){const{providerValue:r,createNestedValue:n}=o,i=[...t.path,e];return n({getStore:()=>r.getStore(i),isMapped:!1,path:i})}let YP=0;function QP(){return`__mapped_${Date.now()}_${++YP}_${Math.random().toString(36).substring(2,9)}`}function Pc(e){if(e===void 0)throw new Error("Initial value cannot be undefined");const t=new GP(e),o=new Map,r=new WeakMap;let n=!1;function i(){if(n)throw new Error("ReactiveValue has been destroyed and cannot be used")}function s(l){i();const c=new WeakMap,{path:d,isMapped:g,mapperId:f}=l;g||vr(d);const b={[ji]:{getContext:()=>l},[d2]:ji,destroy(){},get:()=>{i();try{if(g){const p=o.get(f);if(!p)throw new Error(`Mapped store with id ${f} not found`);return p.getState()}return t.getNestedValue(d)}catch(p){const h=g?`mapped store ${f}`:`path [${d.join(".")}]`;throw new Error(`Failed to get value from ${h}: ${p instanceof Error?p.message:String(p)}`)}},map:p=>{if(i(),typeof p!="function")throw new Error("Mapper must be a function");if(c.has(p))return c.get(p);try{const h=QP(),m=g?o.get(f):t.getStore(d);if(!m){const A=g?`mapped store ${f}`:`path [${d.join(".")}]`;throw new Error(`Source store not found for ${A}`)}const y=t.createMappedStore(p,m);o.set(h,y);const C=s({getStore:()=>{const A=o.get(h);if(!A)throw new Error(`Mapped store with id ${h} not found`);return A},isMapped:!0,mapperId:h,path:[]});return c.set(p,C),C}catch(h){throw new Error(`Failed to create mapped value: ${h instanceof Error?h.message:String(h)}`)}},set:p=>{if(i(),g)throw new Error("Cannot set value on mapped reactive value");try{return t.setNestedValue(d,p),t.getNestedValue(d)}catch(h){throw new Error(`Failed to set value at path [${d.join(".")}]: ${h instanceof Error?h.message:String(h)}`)}},subscribe:p=>{if(i(),typeof p!="function")throw new Error("Callback must be a function");try{if(g){const h=o.get(f);if(!h)throw new Error(`Mapped store with id ${f} not found`);return t.subscribe(p,h)}return t.subscribe(p,d)}catch(h){const m=g?`mapped store ${f}`:`path [${d.join(".")}]`;throw new Error(`Failed to subscribe to ${m}: ${h instanceof Error?h.message:String(h)}`)}}};let v;try{v=b.get()}catch(p){return console.warn("Failed to get current value for creating dynamic properties:",p),b}return Wi.object(v)&&Object.keys(v).forEach(p=>{Object.defineProperty(b,p,{configurable:!0,enumerable:!0,get:()=>{i();const h=r.get(v);return h!=null&&h.has(p)?h.get(p):qP(v,p,l,{createNestedValue:s,mappedStoreById:o,propertyProxyCache:r,providerValue:t})}})}),b}const a=s({getStore:l=>{i();const c=l!==void 0?l:[];return t.getStore(c)},isMapped:!1,path:[]});return Object.defineProperty(a,"destroy",{configurable:!1,enumerable:!1,value:()=>{n||(n=!0,o.clear(),t.destroy())},writable:!1}),a}function ZP(e,t,o,r,n){const i=Ke({hasValue:!1}),s=Ut(()=>{let l=null;function c(d){if(l!==null&&Object.is(l.snapshot,d))return l.selection;const g=r(d),f=l===null?i.current:{hasValue:!0,value:l.selection},b=n!==void 0&&f.hasValue&&n(f.value,g)?f.value:g;return l={selection:b,snapshot:d},b}return()=>c(t())},[t,n,r]),a=Sn(e,s);return Ie(()=>{i.current={hasValue:!0,value:a}},[a]),Qi(a),a}const C2={useSyncExternalStore:Sn,useSyncExternalStoreWithSelector:ZP};function O2(e,t,o,r){let n=[y2.run({fn:i=>t(i)})];if(r&&n.unshift(r),o){let i=co({node:n}),s=e.graphite.id,a=o.additionalLinks,l=a[s]||[];return a[s]=l,l.push(i),()=>{let c=l.indexOf(i);c!==-1&&l.splice(c,1),qi(i)}}{let i=co({node:n,parent:[e],family:{owners:e}});return()=>{qi(i)}}}function KP(e,t){let o=Jr.unit(e),r={};o?r={unit:e}:"@@unitShape"in e?typeof e["@@unitShape"]=="function"?r=e["@@unitShape"]():yr("expect @@unitShape to be a function"):r=e;let n=Array.isArray(r),i=Me.useRef({stale:1,justSubscribed:0,scope:t}),[s,a,l]=Me.useMemo((()=>{i.current.stale=1;let f=Array.isArray(r)?[]:{},b=[],v=[];for(let p in r){let h=r[p];Jr.unit(h)||yr("expect useUnit argument to be a unit"),Jr.event(h)||Jr.effect(h)?f[p]=t?yP(h,{scope:t}):h:(f[p]=null,b.push(p),v.push(h))}return[f,b,v]}),[i,t,...Object.keys(r),...Object.values(r)]),c=Me.useRef({value:s,storeKeys:a}),d=Me.useCallback((f=>{let b=i.current;b.justSubscribed=1;let v=()=>{b.stale||(b.stale=1,f())},p=y2.compute({priority:"sampler",batch:1}),h=l.map((m=>O2(m,v,t,p)));return()=>{h.forEach((m=>m()))}}),[l,t,c,i]),g=Me.useCallback((()=>{let f,b=c.current,v=i.current,p=0,h=b.value,m=b.storeKeys,y=t!==v.scope;if(v.stale||v.justSubscribed||y){p=!v.justSubscribed||y,f=n?[...s]:{...s},m.length!==a.length&&(p=1);for(let C=0;C<a.length;C++){let A=P2(l[C],t),S=a[C];p||(p=m.includes(S)?h[S]!==A:1),f[S]=A}}return p&&(b.value=f),b.storeKeys=a,v.stale=0,v.justSubscribed=!p,v.scope=t,o?b.value.unit:b.value}),[d,l,t,c,i]);return oT(d,g,g)}function $P([e,t],o){let r,n,i,s,a=O0;t?(r=t,i=e,s=[]):{fn:r,store:i,keys:s,defaultValue:n,updateFilter:a=O0}=e,Jr.store(i)||yr("useStoreMap expects a store"),Array.isArray(s)||yr("useStoreMap expects an array as keys"),typeof r!="function"&&yr("useStoreMap expects a function");let l=Me.useCallback((b=>O2(i,b,o)),[i,o]),c=Me.useCallback((()=>P2(i,o)),[i,o]),d=Me.useRef(),g=Me.useRef(),f=Me.useRef(s);return rT(l,c,c,(b=>{if(d.current!==b||!((v,p)=>{if(!v||!p||v.length!==p.length)return 0;let h=1;for(let m=0;m<v.length;m++)if(v[m]!==p[m]){h=0;break}return h})(f.current,s)){let v=r(b,s);v===void 0&&n!==void 0&&(v=n),d.current=b,f.current=s,v!==void 0&&(g.current=v)}return g.current}),((b,v)=>!a(v,b)))}function E2(e){let t=Me.useContext(T2);return e&&!t&&yr("No scope found, consider adding <Provider> to app root"),t}function eT(e,t){return KP(e,E2(void 0))}function tT(e,t){return $P([e,t],E2(e==null?void 0:e.forceScope))}let yr=e=>{throw Error(e)};typeof window<"u"?Me.useLayoutEffect:Me.useEffect;const{useSyncExternalStore:oT}=C2,{useSyncExternalStoreWithSelector:rT}=C2,P2=(e,t)=>t?t.getState(e):e.getState(),O0=(e,t)=>e!==t,T2=Me.createContext(null);let{Provider:KT}=T2;class Bo{constructor(t,o){if(this.params=o,this.autoDestroyEnabled=!1,this.isDestroyed=!1,this.reject=Promise.reject,this.resolve=Promise.resolve,!Wi.reactiveValue(t))throw new Error("Invalid state provided to ViewModel. Use createReactiveValue helper.");this.state=Bo.extendReactiveValue(t),this.deferred=Bo.extendReactiveValue(Pc({reject:this.reject,resolve:this.resolve})),this.use=this.deferred.use}wait(){const{resolve:t,reject:o,promise:r}=Promise.withResolvers();return this.deferred.set({reject:o,resolve:t}),this.reject=o,this.resolve=t,r}static effect(t){const o=new Bo(Pc({pending:!1}));async function r(n){return o.state.pending.set(!0),t(n).finally(()=>o.state.pending.set(!1))}return r.pending=o.state.pending,r}enableAutoDestroy(){this.autoDestroyEnabled=!0}disableAutoDestroy(){this.autoDestroyEnabled=!1}useAutoDestroy(){Ie(()=>()=>{this.autoDestroyEnabled&&this.destroy()},[this,this.autoDestroyEnabled])}toJSON(){return this.state.get()}destroy(){this.isDestroyed||(this.params&&this.params.onDestroy&&typeof this.params.onDestroy=="function"&&this.params.onDestroy(),this.state.destroy(),this.deferred.destroy(),this.isDestroyed=!0)}static extendReactiveValue(t,o=[]){return new Proxy(t,{get(r,n,i){if(n==="use")return a=>{const d=r[ji].getContext().getStore(o).getOriginalStore();return Array.isArray(a)?tT({fn:g=>g,keys:a,store:d}):eT(d)};if(n==="signal"){const a=()=>{const l=i.use(),d=(g=>g===null||typeof g!="object"&&typeof g!="function")(l)?l:String(l);return P(ue,null,d)};return a.displayName=`ViewModel.signal(${o.join(".")||"root"})`,P(a)}if(n==="map")return a=>{const l=r.map(a);return Bo.extendReactiveValue(l,[])};const s=r[n];if(Wi.reactiveValue(s))return Bo.extendReactiveValue(s,[...o,n]);if(typeof s=="function"){const a=Object.getOwnPropertyDescriptor(r,n);return a&&!a.configurable?s:s.bind(r)}return s}})}}function nT(){return Pc({contacts:{},externalReviewsPageAvailable:!1,loading:!0,mainMenu:[],menuOpen:!1,oneClickItems:[],pathname:"",profileMenuOpen:!1,pupilSelectMenuOpen:!1,pupils:[],sectionsOpen:!1,segments:[],user:Cn,viewingAsPupil:!1})}const ei={menuOpen:!1,profileMenuOpen:!1,pupilSelectMenuOpen:!1,sectionsOpen:!1};class iT extends Bo{constructor(t,o){super(nT()),this.dataSource=t,this.onSessionError=o,this.userRevision=0,this.pupilsRequested=!1}setUser(t){this.userRevision+=1,this.state.user.set(t)}loadedUser(t,o){return t===this.userRevision?o:this.state.user.get()}setPathname(t){t!==this.state.pathname.get()&&this.state.set({...this.state.get(),...ei,pathname:t})}async load(){var i,s,a;const t=this.userRevision,[o,r,n]=await Promise.all([this.dataSource.getUser(),this.dataSource.getMenuStructure(),this.dataSource.getAppOptions()]);this.state.set({...this.state.get(),contacts:n.contacts,externalReviewsPageAvailable:n.externalReviewsPageAvailable,loading:!1,mainMenu:r.mainMenu,oneClickItems:r.oneClickItems,segments:r.segments,user:this.loadedUser(t,o),viewingAsPupil:(a=(s=(i=this.dataSource).isViewingAsPupil)==null?void 0:s.call(i))!=null?a:!1})}async loadWithoutMenu(){const t=this.userRevision,[o,r]=await Promise.all([this.dataSource.getUser(),this.dataSource.getAppOptions()]);this.state.set({...this.state.get(),contacts:r.contacts,externalReviewsPageAvailable:r.externalReviewsPageAvailable,loading:!1,user:this.loadedUser(t,o)})}toggleMenu(){this.state.set({...this.state.get(),...ei,menuOpen:!this.state.menuOpen.get()})}toggleProfileMenu(){if(this.state.profileMenuOpen.get()){this.closeProfileMenu();return}this.openProfileMenu()}openProfileMenu(){this.state.set({...this.state.get(),...ei,profileMenuOpen:!0}),this.state.user.get().isParent&&this.loadPupils()}loadPupils(){this.pupilsRequested||this.state.user.get().id===null||(this.pupilsRequested=!0,this.dataSource.getPupils().then(t=>this.state.pupils.set(t)))}toggleSections(){if(this.state.sectionsOpen.get()){this.closeSections();return}this.state.set({...this.state.get(),...ei,sectionsOpen:!0})}closeSections(){this.state.sectionsOpen.set(!1)}closeProfileMenu(){this.state.set({...this.state.get(),profileMenuOpen:!1,pupilSelectMenuOpen:!1})}openPupilSelectMenu(){this.state.set({...this.state.get(),menuOpen:!1,profileMenuOpen:!1,pupilSelectMenuOpen:!0,sectionsOpen:!1}),this.loadPupils()}closePupilSelectMenu(){this.state.set({...this.state.get(),profileMenuOpen:!0,pupilSelectMenuOpen:!1})}async selectPupil(t){await this.performSessionAction(()=>this.dataSource.signInAsPupil(t))}async signOutFromPupil(){await this.performSessionAction(async()=>{var t,o;return(o=(t=this.dataSource).signOutFromPupil)==null?void 0:o.call(t)})}async logout(){await this.performSessionAction(()=>this.dataSource.logout())&&!this.isDestroyed&&(this.setUser(Cn),this.pupilsRequested=!1,this.state.pupils.set([]),this.state.viewingAsPupil.set(!1))}async performSessionAction(t){try{return await t(),!0}catch(o){if(!this.onSessionError)throw o;return this.onSessionError(o),!1}}async hideSupportButtonIndicator(){const t=this.state.user.get();this.state.user.set({...t,settings:{...t.settings,supportButtonIndicatorHidden:!0}});try{await this.dataSource.hideSupportButtonIndicator()}catch{}}}const ma=Symbol.for("foxford.navigation.session.v1");function Zu(){var t;if(typeof window>"u")return;const e=window;return(t=e[ma])!=null?t:e[ma]={busy:!1,listeners:new Set}}function $T(e){const t=Zu();return t==null||t.listeners.add(e),()=>t==null?void 0:t.listeners.delete(e)}function ba(e){var t,o;for(const r of(o=(t=Zu())==null?void 0:t.listeners)!=null?o:[])try{r(e)}catch(n){console.error("[navigation] session listener:",n)}}function sT(){const e=Zu();if(!(!e||e.busy))return e.busy=!0,()=>{e.busy=!1}}function R2(e){return new YE(e,new JE(e,"foxford:navigation:app-options"))}async function E0(e,t,o){try{const{data:r}=await e.get(t);return r!=null?r:o}catch{return o}}function aT(e,t,o){const r=R2(e);return{async getAppOptions(){var i;const n=await(t==null?void 0:t());return(i=n==null?void 0:n.appOptions)!=null?i:{contacts:{},externalReviewsPageAvailable:!1}},async getMenuStructure(){var i,s,a;const n=await E0(e,"/api/menu/items",{});return{mainMenu:((i=n.mainMenu)!=null?i:[]).map(ab),oneClickItems:((s=n.oneClickMenuItems)!=null?s:[]).map(l=>({contextOfUse:l.contextOfUse,exact:l.exact,id:String(l.id),title:l.title,url:l.url})),segments:((a=n.menu)!=null?a:[]).map(lb)}},async getPupils(){return(await E0(e,"/api/parent/pupils",[])).map(i=>{var s,a,l,c;return{avatarUrl:(s=i.avatarUrl)!=null?s:"",firstName:(a=i.firstName)!=null?a:"",grade:(l=i.grade)!=null?l:"",id:i.id,lastName:(c=i.lastName)!=null?c:""}})},async getUser(){const n=await(t==null?void 0:t());if(n!==void 0)return o==null||o(!0),n.user.toDto();try{const i=Vc((await e.get("/api/user/me")).data);return o==null||o(!0),i}catch{return o==null||o(!1),Cn}},async hideSupportButtonIndicator(){await e.patch("/api/user/settings",{settings:{support_button_indicator_hidden:!0}})},isViewingAsPupil(){return typeof document<"u"&&/(?:^|;\s*)parent_id=/.test(document.cookie)},async logout(){await r.signOut(!1)},async signInAsPupil(n){await r.signInAsPupil(n)},async signOutFromPupil(){await r.signOutFromPupil()}}}function lT(e,t){let o;return aT(e,()=>{const r=globalThis.app_options;return r!==void 0?cg(r):o!=null?o:o=cT(e)},t)}async function cT(e){try{const{data:t}=await e.get("/api/app_options",{camelize:!1});return t==null?void 0:cg(t)}catch{return}}class ti extends Error{}const uT={logout:"Не удалось выйти из учётной записи. Попробуйте ещё раз.",signInAsPupil:"Не удалось войти в аккаунт ученика. Попробуйте ещё раз.",signOutFromPupil:"Не удалось вернуться в аккаунт родителя. Попробуйте ещё раз."};function dT(e,t){let o=!1,r;return as(async()=>{const{showAccountSwitchProgress:n}=await import("./account-switch-progress-GiIaevTd.js");return{showAccountSwitchProgress:n}},[]).then(({showAccountSwitchProgress:n})=>{o||(r=n(e,t))}).catch(n=>console.error("[navigation] account switch progress:",n)),()=>{o||(o=!0,r==null||r())}}function fT(e,t=()=>({})){const o=ZE(e);let r=!1;const n=lT(o,m=>{r=m}),i=R2(o);let s=!1,a,l,c,d,g="logout",f=0;const b=m=>{if(s||m instanceof ti)return;const y=++f,C=uT[g],A=t().onError;try{A?A(m):console.error("[navigation] session:",m)}catch(S){console.error("[navigation] session error handler:",S)}as(async()=>{const{showSessionError:S}=await import("./session-error-CRJlOjG2.js");return{showSessionError:S}},[]).then(({showSessionError:S})=>{!s&&y===f&&(d==null||d(),d=S(C))}).catch(S=>console.error("[navigation] session notice:",S))};async function v(m,y){if(s)throw new ti;const C=sT();if(!C)throw new ti;g=m,f+=1,d==null||d(),ba({action:m,phase:"start"});try{const A=await y();ba({action:m,phase:"success"}),A()}catch(A){throw A instanceof ti||ba({action:m,error:A,phase:"error"}),A}finally{c==null||c(),c=void 0,C()}}function p(m){window.location.assign(new URL(m,e||window.location.origin).href)}const h=new iT({...n,logout:()=>v("logout",async()=>{var C,A;await i.signOut(!1);try{(C=Fu())==null||C.removeItem("foxfordSessionId")}catch{}Sc(null),await Gr.postMessage("refresh");const m=new URL(e||window.location.origin,window.location.href).origin,y=(A=t().logoutBehavior)!=null?A:m===window.location.origin?"login":"reload";return()=>{y==="reload"?window.location.reload():p(`/user/login?redirect_url=${encodeURIComponent(window.location.pathname+window.location.search)}`)}}),signInAsPupil:m=>v("signInAsPupil",async()=>{const y=h.state.get(),C=y.pupils.find(S=>S.id===m);C&&(c=dT({...y.user,role:Tt.fromApi(y.user).getRole()},{...C,role:C.grade}));const A=await i.signInAsPupil(m);return Sc(m),await Gr.postMessage("refresh"),()=>p(A.redirectUrl)}),signOutFromPupil:()=>v("signOutFromPupil",async()=>{const m=await i.signOutFromPupil();return()=>p(m.redirectUrl)})},b);return{connect(m){if(s||typeof window>"u")return;if(a){m!==void 0&&Gr.syncUser(m);return}a=Gr.connect(m);let y;const C=()=>{const A=h.state.get();r&&!A.loading&&y!==A.user.id&&(y=A.user.id,Gr.syncUser(y))};l=h.state.subscribe(C),C()},destroy(){s=!0,c==null||c(),d==null||d(),l==null||l(),a==null||a(),h.destroy()},vm:h}}const M2="data-fox-nav-slot";function pT(e,t){const o=r=>{r&&r.firstChild!==t&&(r.textContent="",r.append(t))};return P("div",{[M2]:"",key:e,ref:o,style:{display:"contents"}})}function P0(e){const o=Object.entries(e!=null?e:{}).flatMap(([r,n])=>n?[[r,pT(r,n)]]:[]);return e&&Object.fromEntries(o)}function eR(e){var v;e={...e},e.fonts!==!1&&db(),QE();const t=fT((v=e.apiOrigin)!=null?v:"",()=>e),{vm:o}=t;t.connect();let r=!1;const n=p=>{r||(e.onError?e.onError(p):console.error("[navigation]",p))};o.setPathname(window.location.pathname),o.load().catch(n);const i=(p,h)=>{var m;r||(lP(p,o.state.get().user),(m=e.onInteraction)==null||m.call(e,p,h))},s=new Date().getFullYear(),a=[],l=[];if(e.header){const p=bd(e.header),h=()=>{var m,y;return p.render(u(pA,{cobranding:e.cobranding,contextOfUse:e.contextOfUse,externatFreeAccessLink:e.externatFreeAccessLink,hasOneClickMenu:e.hasOneClickMenu,hideOnboardingButton:e.hideOnboardingButton,landmarks:e.landmarks,layout:e.layout,onInteraction:i,origin:(m=e.origin)!=null?m:e.apiOrigin,showExternatButtons:e.showExternatButtons,slots:P0((y=e.slots)==null?void 0:y.header),supportPhone:e.supportPhone,vm:o}))};a.push(p),l.push(h)}if(e.footer){const p=bd(e.footer),h=()=>{var m,y;return p.render(u($9,{cobranding:e.cobranding,currentYear:s,forceGeoposition:e.forceGeoposition,landmarks:e.landmarks,origin:(m=e.origin)!=null?m:e.apiOrigin,onInteraction:i,slots:P0((y=e.slots)==null?void 0:y.footer),structuredData:e.structuredData,vm:o}))};a.push(p),l.push(h)}const c=()=>{for(const p of l)try{p()}catch(h){n(h)}};c();const d=p=>{const h=p.target instanceof Element?p.target.closest("a[href]"):null;e.onNavigate&&h instanceof HTMLAnchorElement&&h.closest(`[${M2}]`)===null&&e.onNavigate(h.href,p)},g=[e.header,e.footer];for(const p of g)p==null||p.addEventListener("click",d);let f={menuOpen:!1,profileMenuOpen:!1};const b=o.state.subscribe(({menuOpen:p,profileMenuOpen:h})=>{var m;(p!==f.menuOpen||h!==f.profileMenuOpen)&&(f={menuOpen:p,profileMenuOpen:h},(m=e.onStateChange)==null||m.call(e,f))});return{fontsReady:fb,setPathname:p=>o.setPathname(p),setUser:p=>o.setUser({...Cn,...Vc(p)}),unmount(){r=!0,b();for(const p of g)p==null||p.removeEventListener("click",d);for(const p of a)p.unmount();t.destroy()},update(p){Object.assign(e,p),c()}}}export{K0 as $,ou as A,tt as B,MT as C,TT as D,Co as E,Fc as F,vt as G,Hc as H,_e as I,gT as J,xt as K,J0 as L,Gr as LogoutChannel,fo as M,RT as N,Am as NAV_LAYOUT,xT as NAV_SELECTOR_IDS,AT as O,ST as P,Kt as Q,R,HT as S,OT as T,is as U,jt as V,ro as W,On as X,Oo as Y,ye as Z,lt as _,PT as a,g3 as a0,cn as a1,$t as a2,ee as a3,wo as a4,Yx as a5,rs as a6,mT as a7,me as a8,Sr as a9,zg as aa,Zi as ab,yT as ac,q as ad,zp as ae,hb as af,Mr as ag,Hg as ah,Lt as ai,Zo as aj,Bg as ak,CT as b,ET as c,zT as d,ls as e,bd as f,cu as g,wT as getNavigationInsets,re as h,Ke as i,Vt as j,$ as k,xe as l,ue as m,eR as mount,x6 as n,Gg as o,Ie as p,k as q,pv as r,xo as s,kT as subscribeNavigationInsets,$T as subscribeSessionEvents,Ut as t,u,P as v,lu as w,bT as x,Yi as y,q0 as z};
|